/* Shared styles for thank-you.html and the legal pages.
   index.html keeps its own CSS inline for a faster first paint: keep the tokens below in sync with it. */
:root{
  --bg:#0B1020;--bg-2:#11182E;--line:rgba(255,255,255,.1);--line-2:rgba(255,255,255,.16);
  --text:#F4F6FB;--muted:#A9B3CC;--dim:#7C88A6;
  --orange:#F97316;--orange-2:#FB923C;--green:#4ADE80;--cyan:#38BDF8;--link:#93C5FD;
  --maxw:1120px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Roboto Mono",monospace;
}
/* Legal pages: plain light theme */
body.legal{
  --bg:#FFFFFF;--bg-2:#F4F6FA;--line:rgba(15,23,42,.1);--line-2:rgba(15,23,42,.18);
  --text:#111827;--muted:#374151;--dim:#6B7280;--orange-2:#C2410C;--link:#1D4ED8;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 1rem/1.65 var(--font);-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg{display:block;max-width:100%}
a{color:var(--link)}
h1,h2,h3{margin:0;line-height:1.2;letter-spacing:-.015em;text-wrap:balance}
p{margin:0}
.wrap{width:min(100% - 32px,var(--maxw));margin-inline:auto}
.skip{position:absolute;left:12px;top:-80px;z-index:100;background:var(--text);color:var(--bg);padding:10px 14px;border-radius:10px;font-weight:700}
.skip:focus{top:12px}
:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
body.legal :focus-visible{outline-color:#1D4ED8}
.ico{width:1em;height:1em;flex:none}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:54px;padding:0 1.5rem;border-radius:12px;border:1px solid transparent;font-weight:750;font-size:1.06rem;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer}
.btn-primary{background:var(--orange);color:#0B1020;box-shadow:0 10px 28px -10px rgba(249,115,22,.75),inset 0 -2px 0 rgba(0,0,0,.18)}
.btn-primary:hover{background:#FB923C}
.btn .ico{width:1.1em;height:1.1em}

/* Header */
.topbar{border-bottom:1px solid var(--line)}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-weight:800;font-size:.98rem;letter-spacing:-.01em;white-space:nowrap}
.brand-mark{flex:none;width:30px;height:30px;border-radius:8px;box-shadow:0 0 0 1px var(--line-2)}
.brand-sub{font-weight:600;color:var(--muted)}
.back{color:var(--muted);font-size:.92rem;font-weight:600;text-decoration:none;white-space:nowrap}
.back:hover{color:var(--text);text-decoration:underline}
@media (max-width:479px){.back .more{display:none}}

/* Footer */
.footer{border-top:1px solid var(--line);padding:32px 0 40px;color:var(--dim);font-size:.88rem}
.footer nav{display:flex;flex-wrap:wrap;gap:10px 20px}
.footer nav a{color:var(--muted);text-decoration:none}
.footer nav a:hover,.footer nav a[aria-current="page"]{color:var(--text);text-decoration:underline}
.footer p{margin-top:14px;max-width:62rem}
.footer .support a{color:var(--muted)}

/* Thank-you page */
.ty{position:relative;overflow:hidden;padding:40px 0 72px}
.ty::before{content:"";position:absolute;left:50%;top:-220px;width:620px;height:620px;margin-left:-310px;border-radius:50%;background:radial-gradient(closest-side,rgba(74,222,128,.16),rgba(74,222,128,0));pointer-events:none}
.ty .wrap{position:relative;max-width:760px}
.ty-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:rgba(74,222,128,.14);color:var(--green)}
.ty-icon .ico{width:32px;height:32px}
.kicker{display:block;margin-top:20px;font:650 .78rem/1.2 var(--mono);color:var(--orange-2)}
.ty h1{margin-top:10px;font-size:clamp(2rem,3.4vw + 1.1rem,2.9rem);font-weight:850;line-height:1.1;letter-spacing:-.025em}
.ty .lede{margin-top:14px;color:var(--muted);font-size:1.08rem}
.ty .btn{margin-top:22px}
.ty .btn-wide{width:100%}
@media (min-width:560px){.ty .btn-wide{width:auto}}
.ty h2{font-size:1.35rem;font-weight:800}
.steps-title{margin-top:44px}
.steps{display:grid;gap:12px;margin:16px 0 0;padding:0;list-style:none;counter-reset:step}
.step{position:relative;padding:18px 18px 18px 64px;background:var(--bg-2);border:1px solid var(--line);border-radius:16px}
.step::before{counter-increment:step;content:counter(step);position:absolute;left:18px;top:18px;width:32px;height:32px;border-radius:10px;background:rgba(249,115,22,.14);color:var(--orange-2);font:800 .95rem/32px var(--mono);text-align:center}
.step h3{font-size:1.08rem;font-weight:800}
.step p{margin-top:5px;color:var(--muted)}
.note{margin-top:16px;padding:14px 16px;border-left:3px solid var(--orange);background:rgba(249,115,22,.08);border-radius:0 12px 12px 0;color:var(--muted);font-size:.95rem}
.help{margin-top:28px;padding:20px;border:1px dashed var(--line-2);border-radius:16px}
.help p{margin-top:8px;color:var(--muted)}
.help p+p{margin-top:10px}

/* Legal pages */
.legal main{padding:36px 0 64px}
.prose{max-width:46rem}
.prose h1{font-size:clamp(1.9rem,2.6vw + 1rem,2.5rem);font-weight:850;letter-spacing:-.02em}
.prose .updated{margin-top:8px;color:var(--dim);font-size:.9rem}
.prose h2{margin-top:2.2rem;font-size:1.3rem;font-weight:800}
.prose h3{margin-top:1.4rem;font-size:1.05rem;font-weight:750}
.prose p,.prose ul,.prose ol,.prose .box,.prose .tools{margin-top:.85rem}
.prose ul,.prose ol{padding-left:1.3rem}
.prose li+li{margin-top:.45rem}
.prose strong{font-weight:700}
.prose code{font:500 .9em var(--mono);background:var(--bg-2);border:1px solid var(--line);border-radius:5px;padding:1px 5px;word-break:break-word}
.box{padding:16px 18px;background:var(--bg-2);border:1px solid var(--line);border-radius:14px}
.box > :first-child{margin-top:0}
.tools{display:grid;gap:10px;padding:0;list-style:none}
.tools li{margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:12px}
.tools li+li{margin-top:0}
.tools b{display:block}
.tools span{display:block;margin-top:4px;color:var(--muted);font-size:.95rem}
.contact-card{display:flex;flex-direction:column;gap:6px;padding:20px;background:var(--bg-2);border:1px solid var(--line);border-radius:16px}
.contact-card .big{font-size:1.2rem;font-weight:800;word-break:break-all}
