/* StillSet site — values inlined from the app design tokens
   (design/proposals/2026-10-10/tokens/*.css). This file must stay self-contained. */
:root{
  color-scheme: light dark;
  --bg:#F7F8FC; --surface:#FFFFFF; --surface-2:#EEF0F6;
  --ink:#16192A; --ink-muted:#4A5063; --ink-faint:#6B7186;
  --border:#E6E9F2; --hairline:rgba(22,25,42,.1);
  --accent:#2F6BD6; --accent-hover:#2457B3; --accent-soft:#EEF4FE; --accent-ink:#FFFFFF;
  --env:radial-gradient(ellipse 50% 40% at 20% 30%,rgba(95,148,234,.22),rgba(95,148,234,0) 70%),radial-gradient(ellipse 45% 40% at 85% 85%,rgba(237,171,94,.22),rgba(237,171,94,0) 70%);
  --sh-card:0 1px 2px rgba(22,25,42,.04), 0 10px 30px rgba(22,25,42,.06);
  --sh-icon:0 12px 28px rgba(22,25,42,.18);
  --font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --font-display:'Iowan Old Style','New York','Palatino Linotype',Georgia,"Songti SC",serif;
  --font-mono:ui-monospace,"SF Mono",Menlo,monospace;
  --r-card:12px; --r-button:10px; --r-pill:999px;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0E1018; --surface:#151823; --surface-2:#1D2130;
    --ink:#F3F5FA; --ink-muted:rgba(243,245,250,.74); --ink-faint:rgba(243,245,250,.55);
    --border:#262B3B; --hairline:rgba(255,255,255,.08);
    --accent:#5F94EA; --accent-hover:#93B8F3; --accent-soft:rgba(95,148,234,.14); --accent-ink:#0E1018;
    --env:radial-gradient(ellipse 50% 40% at 20% 30%,rgba(95,148,234,.28),rgba(95,148,234,0) 70%),radial-gradient(ellipse 45% 40% at 85% 85%,rgba(232,116,143,.22),rgba(232,116,143,0) 70%);
    --sh-card:0 0 0 1px rgba(255,255,255,.04);
    --sh-icon:0 12px 28px rgba(0,0,0,.45);
  }
}

/* Language: every language lives in the page; <html lang> (set by lang.js) picks one.
   No JS = <html lang="en"> as written = English. */
html:not([lang="zh-Hans"]) [lang="zh-Hans"],
html:not([lang="zh-Hant"]) [lang="zh-Hant"],
html:not([lang="ja"]) [lang="ja"],
html:not([lang="ko"]) [lang="ko"],
html:not([lang="de"]) [lang="de"],
html:not([lang="fr"]) [lang="fr"],
html:not([lang="es"]) [lang="es"],
html:is([lang="zh-Hans"],[lang="zh-Hant"],[lang="ja"],[lang="ko"],[lang="de"],[lang="fr"],[lang="es"]) [lang="en"]{display:none !important}

/* Per-language type: the CJK fallbacks the base stack would otherwise pick from Simplified Chinese fonts. */
html[lang="zh-Hant"]{
  --font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI","PingFang TC","Microsoft JhengHei",sans-serif;
  --font-display:'Iowan Old Style','New York','Palatino Linotype',Georgia,"Songti TC",serif;
}
html[lang="ja"]{
  --font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  --font-display:'Iowan Old Style','New York','Palatino Linotype',Georgia,"Hiragino Mincho ProN","Yu Mincho",serif;
}
html[lang="ko"]{
  --font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --font-display:'Iowan Old Style','New York','Palatino Linotype',Georgia,"AppleMyungjo",serif;
}
html[lang="ko"] body{word-break:keep-all}            /* Korean breaks between words, not inside them */
html[lang="ja"] body{line-break:strict}               /* no ー or small kana at line start */
html[lang="ja"] :is(h1,h2,h3){word-break:auto-phrase} /* phrase-level breaks where supported (Chromium) */
html:is([lang="de"],[lang="fr"],[lang="es"]) :is(h1,h2,h3){-webkit-hyphens:auto; hyphens:auto}
h1,h2,h3{overflow-wrap:break-word}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing:antialiased;
}
body::before{ /* ambient wash, never behind body text at full strength */
  content:""; position:fixed; inset:0 0 auto 0; height:520px; z-index:-1;
  background:var(--env); filter:blur(40px); opacity:.6; pointer-events:none;
}
a{color:var(--accent); text-decoration:none}
a:hover{color:var(--accent-hover); text-decoration:underline}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:6px}

.wrap{max-width:760px; margin:0 auto; padding:0 24px}

/* Top bar */
.top{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 0}
.brand{display:flex; align-items:center; gap:10px; color:var(--ink); font-weight:600; font-size:15px}
.brand:hover{color:var(--ink); text-decoration:none}
.brand img{width:28px; height:28px; border-radius:22.5%}
/* Language menu: a native <select>, so keyboard and screen readers work as on any form control.
   Hidden without JS (lang.js adds .js to <html>), where it could not do anything. */
.lang-select{
  -webkit-appearance:none; appearance:none; margin:0; cursor:pointer; max-width:9.5em;
  font:500 13px/1.2 var(--font-sans); color:var(--ink);
  padding:6px 26px 6px 12px; border-radius:var(--r-pill);
  background:var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238A90A3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 10px 6px;
  border:1px solid var(--border);
}
.lang-select:hover{border-color:var(--ink-faint)}
.lang-select:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
html:not(.js) .lang-select{display:none}
.top-right{display:flex; align-items:center; gap:18px}
.top-nav{display:flex; gap:16px; font-size:14px; font-weight:500}
.top-nav a{color:var(--ink-muted); white-space:nowrap}
.top-nav a:hover,.top-nav a[aria-current="page"]{color:var(--ink); text-decoration:none}

/* Hero */
.hero{padding:40px 0 32px}
.hero .icon{width:112px; height:112px; border-radius:22.5%; box-shadow:var(--sh-icon); display:block}
h1{
  font-family:var(--font-display); font-weight:700; letter-spacing:-.02em; line-height:1.1;
  font-size:40px; margin:28px 0 12px;
}
.lead{font-size:18px; line-height:1.5; color:var(--ink-muted); margin:0; max-width:600px}
.meta{font-size:13px; color:var(--ink-faint); margin:14px 0 0}

/* Sections */
section{margin:0 0 20px}
.card{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-card); box-shadow:var(--sh-card); padding:28px}
h2{font:600 22px/1.25 var(--font-sans); letter-spacing:-.015em; margin:0 0 16px}
h3{font:600 16px/1.35 var(--font-sans); margin:0 0 6px}
p{margin:0 0 12px}
p:last-child{margin-bottom:0}
.muted{color:var(--ink-muted)}
.kicker{font:600 11px/1 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-faint); margin:0 0 10px}
html:is([lang^="zh"],[lang="ja"],[lang="ko"]) .kicker{letter-spacing:.06em}
code,.mono{font-family:var(--font-mono); font-size:.9em; background:var(--surface-2); padding:1px 6px; border-radius:5px}

/* Steps */
.steps{list-style:none; margin:0; padding:0; display:grid; gap:18px}
.steps li{display:grid; grid-template-columns:32px 1fr; gap:14px; align-items:start}
.num{
  width:32px; height:32px; border-radius:50%; background:var(--accent-soft); color:var(--accent);
  font:600 14px/32px var(--font-sans); text-align:center;
}
.steps p{color:var(--ink-muted); margin:0}

/* Facts list (privacy summary) */
.facts{list-style:none; margin:0; padding:0; display:grid; gap:10px}
.facts li{position:relative; padding-left:22px; color:var(--ink-muted)}
.facts li::before{content:""; position:absolute; left:4px; top:.62em; width:7px; height:7px; border-radius:50%; background:var(--accent)}
.facts strong{color:var(--ink); font-weight:600}

/* FAQ */
.faq details{border-top:1px solid var(--border)}
.faq details:last-of-type{border-bottom:1px solid var(--border)}
.faq summary{
  list-style:none; cursor:pointer; padding:16px 32px 16px 0; position:relative;
  font-weight:600; font-size:16px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:""; position:absolute; right:6px; top:50%; width:8px; height:8px; margin-top:-6px;
  border-right:1.5px solid var(--ink-faint); border-bottom:1.5px solid var(--ink-faint); transform:rotate(45deg);
  transition:transform .15s ease;
}
.faq details[open] summary::after{transform:rotate(-135deg); margin-top:-2px}
.faq .a{padding:0 0 18px; color:var(--ink-muted)}

/* Privacy policy body */
.policy h2{font-size:19px; margin:28px 0 10px}
.policy h2:first-child{margin-top:0}
.policy p,.policy li{color:var(--ink-muted)}
.policy ul{margin:0 0 12px; padding-left:20px}
.policy li{margin:0 0 6px}
.summary{border-left:3px solid var(--accent); padding:4px 0 4px 16px; margin:0; font-size:17px; color:var(--ink)}

/* Contact */
.contact{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px}
.btn{
  display:inline-flex; align-items:center; height:38px; padding:0 16px; border-radius:var(--r-button);
  background:linear-gradient(180deg,#3F7CE3,#2F6BD6); color:#fff; font:500 14px/1 var(--font-sans);
  box-shadow:0 1px 2px rgba(22,25,42,.18), 0 4px 12px rgba(47,107,214,.28), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn:hover{color:#fff; text-decoration:none; background:linear-gradient(180deg,#2F6BD6,#2457B3)}

/* Footer */
footer{padding:28px 0 48px; color:var(--ink-faint); font-size:13px}
footer .row{display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between}
footer nav{display:flex; gap:20px}
.note{font-size:12.5px; color:var(--ink-faint); margin-top:10px; overflow-wrap:anywhere}

@media (max-width:600px){
  .wrap{padding:0 16px}
  .hero{padding:24px 0 24px}
  .hero .icon{width:88px; height:88px}
  h1{font-size:32px; margin-top:22px}
  .lead{font-size:16.5px}
  .card{padding:20px}
  h2{font-size:20px}
  .contact .btn{width:100%; justify-content:center}
  .top{gap:10px}
  .top-right{gap:12px}
  .top-nav{gap:12px}
}
/* Phone width: longer nav labels (e.g. French) plus the language menu do not fit next to the
   brand name, so the name is hidden visually (still read out; the icon still links home).
   Below ~330px the right-hand group wraps under the icon instead of overflowing. */
@media (max-width:420px){
  .top{flex-wrap:wrap; row-gap:10px}
  .top-right{margin-left:auto}
  .brand span{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
}
