:root {
  --surface: #0a0a0b; --raised: #141416; --raised-2: #1b1b1e; --sunken: #050506;
  --line: #2a2a2d; --line-strong: #646469;
  --ink: #f4f3ef; --muted: #8e8e93; --on-ink: #0a0a0b;
  --beni: #e0102f; --beni-text: #ff3b55; --on-beni: #ffffff; --beni-tint: #1c0b0e;
  --gin: #b8b8bc; --ghost: #151517; --nav-bg: rgba(10,10,11,.74); --shadow: 0 24px 60px rgba(0,0,0,.5);
  --f-sans: "Geist", "SF Pro Display", -apple-system, system-ui, sans-serif;
  --f-mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --f-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --f-min: "Shippori Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --ease-out: cubic-bezier(.16,1,.3,1); --ease-ink: cubic-bezier(.7,0,.2,1);
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --surface: #f4f3ef; --raised: #ffffff; --raised-2: #f0efeb; --sunken: #eae9e4;
    --line: #d8d7d2; --line-strong: #85858a;
    --ink: #0a0a0b; --muted: #5e5e63; --on-ink: #f4f3ef;
    --beni-text: #c80a27; --beni-tint: #fbe9ec;
    --gin: #5e5e63; --ghost: #e9e8e3; --nav-bg: rgba(244,243,239,.8); --shadow: 0 24px 60px rgba(20,20,20,.12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --surface: #f4f3ef; --raised: #ffffff; --raised-2: #f0efeb; --sunken: #eae9e4;
  --line: #d8d7d2; --line-strong: #85858a;
  --ink: #0a0a0b; --muted: #5e5e63; --on-ink: #f4f3ef;
  --beni-text: #c80a27; --beni-tint: #fbe9ec;
  --gin: #5e5e63; --ghost: #e9e8e3; --nav-bg: rgba(244,243,239,.8); --shadow: 0 24px 60px rgba(20,20,20,.12);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.jp { font-family: var(--f-jp); letter-spacing: .3em; }
.min { font-family: var(--f-min); font-weight: 600; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.period { color: var(--beni-text); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acc { fill: var(--beni); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.brand svg { height: 22px; width: auto; }
.brand .mk { height: 26px; }
.brand .by { display: inline-flex; align-items: center; gap: 8px; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line); color: var(--muted); }
.brand .by svg { height: 12px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .16s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .16s var(--ease-out); }
.icon-btn:hover { border-color: var(--line-strong); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; font: 500 15px/1 var(--f-sans); letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: opacity .16s var(--ease-out), border-color .16s var(--ease-out), background-color .16s var(--ease-out), transform .2s var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-beni { background: var(--beni); color: var(--on-beni); }
.btn-primary:hover, .btn-beni:hover { opacity: .88; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); }
.btn .arr { transition: transform .16s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* sections */
.section { padding-block: clamp(88px, 12vw, 152px); border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 820px; }
.sec-head h2 { font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -.045em; }
.sec-head p:not(.label) { font-size: 19px; color: var(--muted); max-width: 54ch; }

/* grids of facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); }
.fact:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.fact .k { font-family: var(--f-min); font-weight: 600; font-size: 44px; line-height: 1; }
.fact h3 { font-size: 20px; letter-spacing: -.015em; }
.fact p { font-size: 15px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 2px solid var(--line); }
.steps li:last-child { border-top-color: var(--beni); }
.steps .n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.steps h3 { font-size: 21px; letter-spacing: -.02em; }
.steps p { color: var(--muted); font-size: 15px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.pill .jp { letter-spacing: .1em; color: var(--muted); font-size: 12px; }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; font-size: 22px; color: var(--muted); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 26px; color: var(--muted); max-width: 70ch; }

/* cta band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta-band h2 { font-size: clamp(52px, 9vw, 120px); line-height: .92; letter-spacing: -.055em; }
.cta-band .side { display: flex; flex-direction: column; gap: 20px; }
.cta-band .side p { color: var(--muted); font-size: 18px; max-width: 40ch; }

/* forms */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .hint { font-size: 13px; color: var(--muted); line-height: 1.45; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--raised); color: var(--ink); font: 15px/1.4 var(--f-sans); transition: border-color .16s var(--ease-out), box-shadow .16s var(--ease-out); }
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent); }
.field.err .input, .field.err .select, .field.err .textarea { border-color: var(--beni-text); }
.field .msg { display: none; font-size: 13px; color: var(--beni-text); }
.field.err .msg { display: block; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px; transition: background-color .16s, color .16s, box-shadow .16s; }
.choice input:checked + span { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.card-opt { position: relative; }
.card-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.card-opt > span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--raised); transition: box-shadow .16s; }
.card-opt b { font-weight: 500; font-size: 15px; }
.card-opt small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.card-opt input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); }
.card-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
footer .brand svg { height: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-meta { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }

/* reveal */
.pre { opacity: 0; transform: translateY(24px); }
[data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .cta-band, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .steps, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .brand .by { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .pre { opacity: 1; transform: none; }
}


body { min-height: 100vh; }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-l { display: flex; flex-direction: column; padding: 28px var(--gutter) 32px; }
.auth-l .top { display: flex; justify-content: space-between; align-items: center; }
.auth-l .top .brand svg { height: 20px; }
.box { width: 100%; max-width: 420px; margin: auto; display: flex; flex-direction: column; gap: 22px; padding-block: 48px; }
.box h1 { font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -.045em; line-height: 1; }
.box .sub { color: var(--muted); }
.ctx { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); }
.ctx .mk { height: 18px; width: auto; color: var(--ink); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 14px var(--f-sans); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
form.auth-f { display: flex; flex-direction: column; gap: 16px; }
.pw { position: relative; }
.pw .input { padding-right: 84px; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 500 13px var(--f-sans); cursor: pointer; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.row a { color: var(--muted); }
.turnstile { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 12px; }
.turnstile i { width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--line-strong); }
.btn-block { width: 100%; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.meter i { height: 4px; border-radius: 4px; background: var(--line); }
.meter.s1 i:nth-child(-n+1), .meter.s2 i:nth-child(-n+2) { background: var(--beni-text); }
.meter.s3 i:nth-child(-n+3), .meter.s4 i { background: var(--ink); }
.otp { font: 500 28px var(--f-mono); letter-spacing: .5em; text-align: center; padding-left: .5em; }
.fine { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.auth-r { position: relative; overflow: hidden; background: #0a0a0b; color: #f4f3ef; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 64px); }
.auth-r .sym { position: absolute; width: 78%; max-width: 620px; left: 50%; top: 42%; transform: translate(-50%, -50%); }
.auth-r .glow { position: absolute; width: 60%; aspect-ratio: 1; left: 50%; top: 42%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(224,16,47,.16), transparent 62%); }
.auth-r .copy { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.auth-r .label { color: #8e8e93; }
.auth-r h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.04em; line-height: 1.02; }
.auth-r ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: #b8b8bc; font-size: 15px; }
.auth-r li { display: flex; gap: 10px; }
.auth-r li::before { content: "✓"; color: #f4f3ef; }
[data-ctx] { display: none; }
[data-ctx].on { display: contents; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-r { display: none; } }

/* Truyp centered account access */
.auth{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;min-height:100svh;padding:24px;box-sizing:border-box;background:var(--surface)}
.auth-l{width:100%;min-height:0;box-sizing:border-box;align-items:center;padding:0;margin:0}
.auth-l .top{width:100%;max-width:460px;margin:0 auto}
.box{width:100%;max-width:460px;box-sizing:border-box;margin:clamp(42px,8vh,76px) auto;padding:clamp(25px,5vw,42px);border:1px solid var(--line);border-radius:24px;background:var(--raised);box-shadow:0 24px 80px rgba(0,0,0,.18)}
.box h1{font-size:clamp(36px,5vw,50px)}
.auth-r{display:none}
@media(max-width:560px){.auth{padding:18px}.box{margin:38px auto 24px;padding:24px 20px;border-radius:20px}.auth-l .top{max-width:460px}}
