/* LP-04-R4: system fonts avoid a new font dependency. Account styles remain isolated. */
:root { --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
html:lang(ja) { --sans:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic UI",Meiryo,sans-serif; }
html:lang(ko) { --sans:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif; }
body { font-size:17px; line-height:1.65; }
h1,h2,h3 { font-weight:500; }
h1 { font-size:clamp(44px,5vw,76px); letter-spacing:-.055em; }
h2 { font-size:clamp(35px,3.9vw,60px); line-height:1.12; }
:lang(ja) :is(h1,h2,h3,p,li,a,button,summary,dd,dt,span) { word-break:normal; overflow-wrap:break-word; line-break:strict; }
:lang(ja) :is(h1,h2,h3),:lang(ko) :is(h1,h2,h3) { letter-spacing:-.025em; line-height:1.35; }
:lang(ja) p,:lang(ko) p { line-height:1.8; }
:lang(ko) :is(h1,h2,h3,p,li,a,button,summary) { word-break:keep-all; overflow-wrap:anywhere; }
.token-facts code { overflow-wrap:anywhere; word-break:break-all; }
.allocation-table,.schedule-facts,.filter-status { font-variant-numeric:tabular-nums; }
.section-heading>p,.section-top p { max-width:58ch; }
.site-header { position:sticky; top:0; z-index:20; background:var(--paper); border-bottom:1px solid var(--line); }
.header { min-height:88px; }
html { scroll-padding-top:112px; scroll-behavior:auto; }
.desktop-nav { gap:clamp(12px,1.5vw,24px); }
.desktop-nav a { font-size:13px; line-height:1.45; }
.header-actions { gap:18px; }
.header-demo { font-size:13px; gap:12px; }
.languages summary { min-width:44px; min-height:44px; }
.desktop-nav [aria-current="location"],.mobile-menu [aria-current="location"] { color:var(--teal); text-decoration:underline; text-underline-offset:7px; text-decoration-thickness:2px; }
.mobile-menu { max-height:calc(100vh - 83px); max-height:calc(100dvh - 83px); overflow-y:auto; overscroll-behavior:contain; }
.mobile-menu:not([hidden]) { display:grid; grid-template-columns:1fr 1fr; gap:12px 30px; }
.mobile-menu p { font-size:11px; color:var(--muted); padding:12px 0; }
.mobile-menu a { font-size:15px; min-height:44px; line-height:1.45; }
.menu-entry { grid-column:1/-1; border-top:1px solid var(--line); display:flex; gap:24px; flex-wrap:wrap; }
.availability { display:flex; flex-wrap:wrap; gap:10px 16px; margin-top:28px; font-size:11px; color:var(--muted); }
.availability>span { display:inline-flex; align-items:center; gap:7px; }
.availability>span:before { content:''; width:6px; height:6px; flex-shrink:0; border:1px solid currentColor; border-radius:50%; }
.availability-demo { color:var(--teal); }
.availability-demo:before { background:currentColor; }
.wallet-language { padding-left:14px; border-left:2px solid var(--teal); color:var(--ink); margin-top:25px; font-size:13px; }
.hero-visual figcaption { font-size:11px; bottom:5px; }
.footer-directory { display:grid; grid-template-columns:1.5fr 1fr 1fr .7fr; gap:36px; }
.footer-directory>div>p { margin-top:22px; border:0; padding:0; font-size:12px; max-width:37ch; }
.footer-brand { font-size:32px; }
.footer-brand span { font-size:13px; }
.footer-directory nav { display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.footer-directory h2 { font-size:12px; color:var(--muted); letter-spacing:0; margin-bottom:12px; }
.footer-directory nav a { font-size:13px; padding:10px 0; min-height:44px; line-height:1.65; }
.footer-directory [aria-current="page"] { text-decoration:underline; text-underline-offset:5px; }
.back-to-top { margin-top:12px; }
button:disabled { cursor:default; }
:focus-visible { scroll-margin-block:120px 40px; }
@media(max-width:1100px) {
  .desktop-nav,.header-demo { display:none; }
  .menu-toggle:not([hidden]) { display:block; }
  .header { min-height:82px; }
  .footer-directory { grid-template-columns:1.2fr 1fr; gap:32px; }
}
@media(max-width:520px) {
  body { font-size:16px; }
  h1 { font-size:clamp(40px,10vw,50px); }
  .hero-visual figcaption { font-size:9px; }
  .footer-directory { grid-template-columns:1fr 1fr; gap:28px 18px; }
  .footer-directory>div:first-child { grid-column:1/-1; }
  .footer-directory nav a { font-size:12px; }
  .mobile-menu:not([hidden]) { column-gap:18px; }
  .mobile-menu a { font-size:13px; }
  .menu-entry { gap:12px; }
  .section-heading h2,.section-top h2,.product-copy h2,.join h2,.project-intro h2 { font-size:34px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
/* Native Japanese glyphs are wider than the previous Latin webfont fallback. */
@media(max-width:520px) {
  :lang(ja) .section h2,:lang(ja) .section-top h2,:lang(ja) .product-copy h2 { font-size:30px; }
}
