/* site2.css — Deskify info and policy pages, PREVIEW of the new design (local only, not published).
   Tokens, bar, footer and type scale follow the front page (home.css). System fonts; motion is transform/opacity. */

/* 1. Tokens (home.css reference) */
:root {
  --bg: #fbfbfd;
  --bg2: #f2f2f5;
  --card: #ffffff;
  --fg: #1d1d1f;
  --muted: #595960;
  --line: rgba(0, 0, 0, .09);
  --accent: #167a50;
  --accent-2: #2563d0;
  --accent-ink: #ffffff;
  --chip: rgba(0, 0, 0, .05);
  --frame: #1d1d1f;
  --frame-hi: #3a3a3e;
  --shadow: 0 40px 80px -30px rgba(15, 30, 60, .35), 0 18px 36px -24px rgba(15, 30, 60, .3);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Hiragino Sans", "Yu Gothic UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: max(16px, env(safe-area-inset-left));
  --err: #c4262e;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* a tinted near-black instead of #000: easier on long reading */
    --bg: #0b0b0d;
    --bg2: #111114;
    --card: #161619;
    --err: #ff7b7f;
    --fg: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, .1);
    --accent: #34c27f;
    --accent-2: #5b95ff;
    --accent-ink: #04140c;
    --chip: rgba(255, 255, 255, .08);
    --frame: #2a2a2e;
    --frame-hi: #4a4a50;
    --shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04);
  }
}

/* 2. Base & Accessibility */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  word-break: keep-all;
  overflow-wrap: break-word;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 50;
  background: var(--card);
  color: var(--fg);
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 12px; }

/* 3. Language Rules (home.css & style.css koen) */
[lang-en], [lang-ja], [lang-zh] { display: none; }
:root[data-lang="en"] [lang-ko], :root[data-lang="ja"] [lang-ko], :root[data-lang="zh"] [lang-ko] { display: none; }
:root[data-lang="en"] [lang-en], :root[data-lang="ja"] [lang-ja], :root[data-lang="zh"] [lang-zh] { display: revert; }

/* policy pages (Korean + English): ja / zh read the English text under a one-line note; the bar and footer keep their 4 languages */
:root.koen[data-lang="ja"] main [lang-en], :root.koen[data-lang="zh"] main [lang-en] { display: revert; }
:root.koen[data-lang="ja"] .ko-part, :root.koen[data-lang="zh"] .ko-part { display: none; }

:root[data-lang="ko"] h1, :root[data-lang="ko"] h2 { line-height: 1.22; letter-spacing: -.025em; }
:root[data-lang="ja"] body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif; word-break: normal; line-break: strict; }
:root[data-lang="ja"] h1, :root[data-lang="ja"] h2 { line-height: 1.25; letter-spacing: -.01em; }
:root[data-lang="zh"] body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif; word-break: normal; }
:root[data-lang="zh"] h1, :root[data-lang="zh"] h2 { line-height: 1.25; letter-spacing: -.01em; }

/* 4. Nav Bar */
.nav { position: sticky; top: 0; z-index: 20; transition: background-color .3s, box-shadow .3s; }
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-in {
  max-width: 1120px;
  margin: 0 auto;
  height: 52px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--fg);
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; flex: none; }
.links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: .84rem;
}
.links a { color: var(--muted); transition: color .2s; }
.links a:hover { color: var(--fg); text-decoration: none; }
.lang-menu {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: .8rem;
  color: var(--fg);
  background: var(--chip);
  border: 0;
  border-radius: 999px;
  padding: 5px 24px 5px 11px;
  cursor: pointer;
  max-width: 8.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}
.nav-cta {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 13px;
  white-space: nowrap;
}
.nav-cta:hover { text-decoration: none; filter: brightness(1.06); }
@media (max-width: 760px) {
  .links { display: none; }
  .lang-menu { margin-left: auto; }
  .nav-in { gap: 10px; }
}

/* 5. Footer */
.foot {
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
  margin-top: auto;
}
.foot-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--fg); }
.foot .mail { margin-left: auto; }
@media (max-width: 620px) { .foot .mail { margin-left: 0; } }

/* 6. Page Head Block */
.page-head {
  padding: clamp(32px, 5vw, 56px) 0 clamp(16px, 3vw, 28px);
}
.page-head h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 750;
  color: var(--fg);
}
.page-head .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  margin-top: 12px;
  max-width: 42em;
  font-weight: 450;
}

/* 7. Document Typography (main.doc ~68ch) */
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
main.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) var(--gutter) clamp(60px, 8vw, 96px);
  width: 100%;
}
main.doc h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  font-weight: 750;
  color: var(--fg);
  margin: 0 0 16px;
}
main.doc h2 {
  font-size: clamp(1.22rem, 2.4vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--fg);
  margin: 38px 0 12px;
}
main.doc h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 650;
  color: var(--fg);
  margin: 26px 0 8px;
}
main.doc p {
  line-height: 1.68;
  margin: 0 0 16px;
  max-width: 68ch;
}
main.doc ul, main.doc ol {
  line-height: 1.68;
  margin: 10px 0 18px 22px;
  padding: 0;
  max-width: 68ch;
}
main.doc li {
  margin: 6px 0;
}
main.doc li::marker {
  color: var(--muted);
}
main.doc strong, main.doc b {
  font-weight: 650;
  color: var(--fg);
}
main.doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}
.muted {
  color: var(--muted);
}
.koen-note {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  margin: 20px 0;
  max-width: 68ch;
}

/* 8. Help Components */
/* questions as one list with hairlines between them (not a stack of identical cards) */
details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: -1px 0 0;
}
details summary {
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--fg);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  user-select: none;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform .25s var(--ease), border-color .2s;
  margin-right: 4px;
}
details summary:hover::after {
  border-color: var(--fg);
}
details[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--accent);
}
details > :not(summary) { margin-left: 4px; margin-right: 4px; }
main.doc details > p { margin: 0 4px 14px; color: var(--fg); }
main.doc details ol, main.doc details ul { margin: 0 4px 20px 26px; padding: 0; }
main.doc details > :last-child { margin-bottom: 22px; }
details li { margin: 6px 0; }
/* the question rows: a quiet hover, no lift */
details summary:hover { color: var(--accent-2); }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 30px;
}
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: .88rem;
  font-weight: 550;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
  box-shadow: 0 1px 0 var(--line);
}
.jump a:hover {
  background: color-mix(in srgb, var(--accent-2) 10%, var(--card));
  border-color: var(--accent-2);
  color: var(--accent-2);
  text-decoration: none;
  transform: translateY(-1px);
}
.jump svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.roles {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}
.role {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  background: var(--card);
  box-shadow: 0 1px 0 var(--line);
}
.role b.t {
  display: block;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--fg);
}
.role b.t a {
  color: var(--fg);
  text-decoration: none;
}
.role b.t a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}
.role .k {
  display: inline-block;
  color: var(--muted);
  font-size: .84rem;
  margin-top: 2px;
}
.role p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.tipbox {
  margin: 18px 0;
  padding: 16px 20px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg2));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--fg);
  font-size: .95rem;
  line-height: 1.6;
}

.contact {
  margin-top: 36px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--bg2);
  border: 1px solid var(--line);
  font-size: .95rem;
  line-height: 1.6;
}
.contact p { margin: 0; }

.beta {
  display: inline-block;
  font-size: .68em;
  font-weight: 700;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
  vertical-align: middle;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  letter-spacing: .02em;
}
.btn-primary .beta, .nav-cta .beta {
  background: color-mix(in srgb, var(--accent-ink) 18%, transparent);
  color: var(--accent-ink);
}

#web, #companion, #support {
  scroll-margin-top: 72px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
#web h2, #companion h2, #support h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 700;
  margin: 20px 0 12px;
}
#web h3, #companion h3, #support h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 650;
  margin: 28px 0 10px;
}
#web ol, #web ul, #companion ol, #companion ul, #support ol, #support ul {
  margin: 10px 0 18px 22px;
  padding: 0;
  line-height: 1.65;
}
#web li, #companion li, #support li {
  margin: 6px 0;
}

/* 9. Buy Page Components */
.buy {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) var(--gutter) clamp(60px, 8vw, 96px);
  width: 100%;
}
.buy h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  font-weight: 750;
  margin: 0 0 12px;
}
.acct {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  margin: 22px 0 16px;
  box-shadow: 0 1px 0 var(--line);
}
.acct img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.acct .who {
  flex: 1;
  min-width: 0;
}
.acct .who b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
  color: var(--fg);
}
.acct .who small {
  color: var(--muted);
  font-size: .85rem;
}
.plans2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.plan2 {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.plan2 h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--fg);
}
.plan2 .price {
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--fg);
  line-height: 1.1;
}
.plan2 .price small {
  font-size: .88rem;
  font-weight: 450;
  color: var(--muted);
}
.plan2 ul {
  margin: 4px 0 auto;
  padding-left: 20px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  display: grid;
  gap: 6px;
}
.plan2 li { margin: 0; }
.plan2 button, .acct button {
  margin-top: auto;
  padding: 11px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s var(--ease), filter .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.plan2 button:hover:not(:disabled), .acct button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.plan2 button:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
  filter: none;
}
.acct button.btn-subtle {
  background: var(--chip);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan2 .have {
  font-size: .92rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: auto;
}
.note {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}
.hidden { display: none !important; }
.err { color: var(--err); font-weight: 550; }
.ok { color: var(--accent); font-weight: 600; }

/* 10. Testing Page Components */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-weight: 600;
  font-size: .84rem;
  border-radius: 999px;
  padding: 6px 14px;
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.test-h1 { margin-top: 14px; }
.steps {
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: s;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px 20px 68px;
  position: relative;
  box-shadow: 0 1px 0 var(--line);
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: .95rem;
  display: grid;
  place-items: center;
}
.steps h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  letter-spacing: -.015em;
  font-weight: 650;
  color: var(--fg);
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
}
.cta-box { margin: 20px 0 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  transition: transform .2s var(--ease), filter .2s;
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.btn.primary:hover {
  filter: brightness(1.08);
}
.steps ~ .note, .note.callout {
  margin-top: 24px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg2));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 18px;
  padding: 16px 20px;
  color: var(--fg);
}

/* 11. Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 12. Info pages (help, buy, testing): larger page title, a wider column for help */
.page-info main.doc h1, .page-info .buy h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 18px; }
:root[data-lang="ko"] .page-info main.doc h1, :root[data-lang="ko"] .page-info .buy h1 { line-height: 1.2; letter-spacing: -.03em; }
.page-info main.doc, .page-info .buy { padding-top: clamp(48px, 8vw, 104px); }
.page-help main.doc { max-width: 820px; }

/* 13. Phone: 44px tap targets in the bar */
@media (max-width: 760px) {
  .nav-in { height: 60px; }
  .lang-menu, .nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
  .foot a { display: inline-block; padding: 6px 0; }
}

/* 14. Fixes for the doc typography inside components (main.doc rules are more specific) */
main.doc ol.steps { margin: 28px 0 0; max-width: none; }
main.doc .steps h3 { margin: 0 0 6px; }
main.doc .steps p { margin: 0; max-width: none; }
main.doc .jump { margin: 22px 0 40px; max-width: none; }
main.doc .roles p, main.doc .role p { margin: 6px 0 0; }
@media (max-width: 560px) {
  .steps li { padding: 18px 18px 18px 60px; }
  .steps li::before { left: 16px; top: 18px; }
}

/* ==================================================================================================================
   15. Second pass (info pages: help, buy, testing): the front page's visual language — a dark full-width title band
   under a dark bar, a very large title, wide spacing, clear sections. Policy pages (page-doc) are not affected.
   ================================================================================================================== */
.page-info { --ink: #050507; }
.page-info .nav:not(.light) {
  --fg: #f5f5f7; --muted: #a1a1a6; --chip: rgba(255, 255, 255, .1); --accent: #34c27f; --accent-ink: #04140c; color-scheme: dark;
}
.page-info .nav.scrolled:not(.light) { background: color-mix(in srgb, var(--ink) 74%, transparent); box-shadow: none; }
.page-info .nav-in { max-width: 1240px; }
.lang-menu option { color: #1d1d1f; background: #fff; }

.page-info main.doc, .page-info .buy { padding-top: 0; }
.page-help main.doc { max-width: 880px; }
.page-buy .buy { max-width: 1080px; }

/* the band: full width out of the centred column, its content aligned with the column */
.page-hero {
  margin: -52px calc(50% - 50vw) clamp(56px, 8vw, 104px);
  padding: calc(52px + clamp(72px, 11vw, 150px)) calc(50vw - 50%) clamp(64px, 9vw, 120px);
  background: var(--ink); color: #f5f5f7; border-bottom: 1px solid rgba(255, 255, 255, .06);
  --fg: #f5f5f7; --muted: #a1a1a6; --accent: #34c27f; --accent-2: #7aabff; --accent-ink: #04140c; color-scheme: dark;
}
.page-info .page-hero h1, .page-info main.doc .page-hero h1, .page-info .buy .page-hero h1 {
  font-size: clamp(2.8rem, 7.6vw, 6.6rem); line-height: .98; letter-spacing: -.055em; font-weight: 780; color: #f5f5f7; margin: 0 0 26px; text-wrap: balance;
}
:root[data-lang="ko"] .page-info .page-hero h1 { line-height: 1.1; letter-spacing: -.045em; }
:root[data-lang="ja"] .page-info .page-hero h1, :root[data-lang="zh"] .page-info .page-hero h1 { line-height: 1.12; letter-spacing: -.02em; }
.page-info .page-hero p, .page-info main.doc .page-hero p { font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.55; color: #a1a1a6; max-width: 38em; margin: 0; }
.page-info .page-hero strong { color: #f5f5f7; }
.page-hero .pill { margin-bottom: 26px; background: rgba(52, 194, 127, .14); color: #34c27f; }
.page-info .page-hero .test-h1 { margin-top: 0; }
/* help: the three shortcuts as large dark pills */
.page-info main.doc .page-hero .jump { margin: 40px 0 0; gap: 12px; }
.page-hero .jump a { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #f5f5f7; padding: 12px 20px; font-size: .95rem; box-shadow: none; }
.page-hero .jump a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; transform: none; }
.page-hero .jump svg { width: 19px; height: 19px; }

/* help: the three guides read as chapters */
.page-help #web, .page-help #companion, .page-help #support { margin-top: clamp(96px, 12vw, 160px); padding-top: clamp(48px, 6vw, 72px); scroll-margin-top: 60px; }
.page-help #web h2, .page-help #companion h2, .page-help #support h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 760; margin: 0 0 22px; }
:root[data-lang="ko"] .page-help #web h2, :root[data-lang="ko"] .page-help #companion h2, :root[data-lang="ko"] .page-help #support h2 { line-height: 1.18; }
.page-help #web h3, .page-help #companion h3, .page-help #support h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 44px; }
.page-help details summary { font-size: clamp(1.05rem, 1.5vw, 1.2rem); padding: 22px 4px; }
.page-help .contact { margin-top: clamp(80px, 10vw, 120px); padding: clamp(28px, 4vw, 44px); border-radius: 28px; font-size: 1.05rem; }

/* buy: wide plan cards with large prices */
.page-buy .acct { padding: 20px 24px; border-radius: 22px; margin: 0 0 18px; }
.page-buy .plans2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 28px 0 40px; }
.page-buy .plan2 { padding: clamp(28px, 3.4vw, 40px); border-radius: 28px; gap: 14px; }
.page-buy .plan2 h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.03em; }
.page-buy .plan2 .price { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.045em; }
.page-buy .plan2 ul { font-size: .98rem; margin-top: 8px; }
.page-buy .plan2 button { padding: 14px 20px; font-size: 1rem; }
.page-buy main > .note { max-width: 70ch; }

/* testing: roomier step cards */
.page-testing main.doc { max-width: 860px; }
.page-testing .steps { gap: 18px; }
.page-testing .steps li { padding: 28px 30px 28px 84px; border-radius: 24px; }
.page-testing .steps li::before { left: 28px; top: 28px; width: 36px; height: 36px; }
.page-testing main.doc .steps h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 8px; }
@media (max-width: 760px) {
  .page-hero { margin-top: -60px; padding-top: calc(60px + 56px); }
  .page-testing .steps li { padding: 22px 20px 22px 66px; }
  .page-testing .steps li::before { left: 18px; top: 22px; width: 32px; height: 32px; }
}
@media (prefers-color-scheme: dark) {
  .page-hero { border-bottom-color: rgba(255, 255, 255, .1); }
}

/* 16. Third pass: neutral bar CTA (white pill on the dark band, near-black pill on a light page, never a flipped
   low-contrast pair) and a title band that always fits the first viewport (type and padding follow the height). */
.page-info .nav:not(.light) { --bg: #050507; }
.nav-cta { background: var(--fg); color: var(--bg); transition: background-color .3s, color .3s; }
.nav-cta:hover { filter: none; opacity: .88; }
.lang-menu { transition: background-color .3s, color .3s; }
.page-hero { max-height: none; padding-top: calc(52px + clamp(32px, min(11vw, 12vh), 150px)); padding-bottom: clamp(40px, min(9vw, 10vh), 120px); }
.page-info .page-hero h1, .page-info main.doc .page-hero h1, .page-info .buy .page-hero h1 { font-size: clamp(2.3rem, min(7.6vw, 10.5vh), 6.6rem); margin-bottom: clamp(14px, 2.6vh, 26px); }
.page-info .page-hero p, .page-info main.doc .page-hero p { font-size: clamp(1rem, min(1.9vw, 2.5vh), 1.4rem); }
.page-info main.doc .page-hero .jump { margin-top: clamp(20px, 4vh, 40px); }
@media (max-width: 760px) {
  .page-hero { padding-top: calc(60px + clamp(24px, 5vh, 56px)); }
  .page-info .page-hero h1, .page-info main.doc .page-hero h1, .page-info .buy .page-hero h1 { font-size: clamp(2rem, min(10.5vw, 6vh), 3rem); }
}
