:root{
  --bg:#f9f9fb;--surface:#fff;--surface2:#eef2ff;--text:#111827;--dim:#4b5563;--border:#e0e7ff;
  --primary:#4f46e5;--primary-d:#4338ca;--cyan:#5be0e8;--rose:#f43f5e;--on-primary:#fff;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:5rem}
body{margin:0;background:var(--bg);color:var(--text);font:1.0625rem/1.7 var(--sans);overflow-wrap:break-word}
img{max-width:100%;height:auto}
a{color:var(--primary-d);text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:4px}
h1,h2,h3{line-height:1.2;letter-spacing:-.01em;font-weight:800;text-wrap:balance}
h1{font-size:clamp(2rem,6vw,3.2rem);margin:.4em 0 .5em}
h2{font-size:clamp(1.4rem,4vw,1.9rem);margin:0 0 .6em}
h3{font-size:1.15rem;margin:1.6em 0 .4em}
p,ul,ol{margin:0 0 1em}
ul,ol{padding-left:1.3em}
li{margin:.35em 0}
strong{font-weight:700}
code{font-family:var(--mono);font-size:.9em;background:var(--surface2);padding:.1em .35em;border-radius:5px}
pre{background:var(--surface2);padding:1em;border-radius:10px;overflow-x:auto}
pre code{background:none;padding:0}
.wrap{max-width:68rem;margin:0 auto;padding:0 1rem}
.skip{position:absolute;left:-999px;top:0;background:var(--primary);color:var(--on-primary);padding:.6em 1em;z-index:10}
.skip:focus{left:0}

.site-header{background:var(--surface);border-bottom:1px solid var(--border)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4rem}
.logo{display:flex;align-items:center;gap:.55rem;color:var(--text);text-decoration:none;font-weight:800;font-size:1.3rem;letter-spacing:-.02em}
.logo img{border-radius:9px}
.site-header nav{display:flex;gap:.1rem}
.site-header nav a{color:var(--text);text-decoration:none;font-weight:600;font-size:.95rem;padding:.6em .8em;border-radius:8px}
.site-header nav a:hover{background:var(--surface2);color:var(--primary-d)}

.btn{display:inline-block;background:var(--primary);color:var(--on-primary);font-weight:700;text-decoration:none;
  padding:.85em 1.5em;border-radius:999px;line-height:1.2;border:0;font-size:1rem}
a.btn:hover{background:var(--primary-d)}
.btn-off{background:#e5e7eb;color:#374151;cursor:default}
.btns{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}

/* landing */
.hero{background:linear-gradient(160deg,#6366f1 0%,#7c83f3 45%,#5be0e8 130%);color:#fff;padding:2.5rem 0 3rem;overflow:hidden}
.hero .wrap{display:grid;gap:2rem;align-items:center}
.hero h1{color:#fff;margin-top:0}
.hero p.lead{font-size:1.2rem;max-width:34rem;color:#f5f7ff}
.hero .btn-off{background:#fff;color:#312e81}
.hero .note{font-size:.95rem;color:#e0e7ff;margin-top:.9rem}
.duel{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;max-width:30rem;margin:0 auto;position:relative}
.duel figure{margin:0;background:#fff;border-radius:18px;padding:.5rem;box-shadow:0 14px 40px rgba(30,27,75,.35)}
.duel figure:nth-child(1){transform:rotate(-3deg)}
.duel figure:nth-child(2){transform:rotate(3deg) translateY(1.2rem)}
.duel img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px}
.duel figcaption{text-align:center;font-weight:700;color:var(--primary-d);font-size:.9rem;padding:.45rem 0 .15rem}
.duel .vs{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);background:var(--rose);color:#fff;font-weight:800;
  width:3.1rem;height:3.1rem;border-radius:50%;display:grid;place-items:center;border:3px solid #fff;z-index:2}
.section{padding:3.5rem 0}
.section.alt{background:var(--surface)}
.section h2{text-align:center}
.section .sub{text-align:center;color:var(--dim);max-width:38rem;margin:0 auto 2rem}
.steps{list-style:none;padding:0;display:grid;gap:1rem;counter-reset:s;max-width:64rem;margin:0 auto}
.steps li{counter-increment:s;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.4rem;margin:0}
.alt .steps li{background:var(--bg)}
.steps li::before{content:counter(s);display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:50%;
  background:var(--primary);color:#fff;font-weight:800;margin-bottom:.8rem}
.steps h3{margin:0 0 .3em}
.steps p{margin:0;color:var(--dim)}
.cards{display:grid;gap:1rem;max-width:64rem;margin:0 auto}
.card{background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--primary);border-radius:14px;padding:1.3rem}
.card h3{margin:0 0 .3em}
.card p{margin:0;color:var(--dim)}
.strip{display:flex;gap:.8rem;overflow-x:auto;padding:.3rem 1rem 1rem;max-width:68rem;margin:0 auto;scroll-snap-type:x proximity}
.strip img{height:15rem;width:auto;border-radius:14px;flex:0 0 auto;scroll-snap-align:start;box-shadow:0 6px 18px rgba(30,27,75,.15)}
.final{background:var(--surface2);text-align:center;padding:3.5rem 0}
.final .btns{justify-content:center}

.prose{max-width:46rem;padding-top:2rem;padding-bottom:3.5rem}
.prose section{margin-top:2.5rem}
.prose h2{text-align:left}
.crumbs{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.9rem;color:var(--dim)}
.crumbs a{color:var(--dim)}
.meta{color:var(--dim);font-size:.9rem}
.answer{background:var(--surface);border-left:5px solid var(--primary);border-radius:12px;padding:1.2rem 1.3rem;margin-top:1.5rem}
.answer h2{font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:var(--primary-d);margin-bottom:.5em}
.answer p:last-child{margin-bottom:0}
.table-wrap{overflow-x:auto;margin:0 0 1.2em;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
table{border-collapse:collapse;width:100%;font-size:.95rem}
th,td{text-align:left;padding:.65em .85em;border-bottom:1px solid var(--border);vertical-align:top}
th{background:var(--surface2);font-weight:700}
tr:last-child td{border-bottom:0}
.cta-box{margin-top:3rem;background:var(--surface);border:1px solid var(--border);border-top:5px solid var(--primary);border-radius:14px;padding:1.5rem}
.cta-box p:last-child{margin-bottom:0}
.back{margin-top:1.5rem}
.legal .updated{color:var(--dim);font-size:.95rem}
.legal h2{font-size:1.4rem;margin-top:2.2rem}
.callout{background:var(--surface);border-left:5px solid var(--rose);border-radius:12px;padding:1rem 1.2rem;margin:1.2rem 0}
.callout p:last-child{margin:0}
details{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:.2rem 1.1rem;margin:.7rem 0}
summary{cursor:pointer;font-weight:700;padding:.8rem 0}
details[open] summary{margin-bottom:.2rem}

.site-footer{background:var(--surface);border-top:1px solid var(--border);padding:2rem 0 2.5rem;color:var(--dim);font-size:.92rem}
.site-footer nav{display:flex;flex-wrap:wrap;gap:.3rem 1.4rem;margin-bottom:.9rem}
.site-footer nav a{font-weight:600;padding:.3em 0}
.site-footer p{margin:0}

@media(min-width:48rem){
  .hero{padding:4rem 0 4.5rem}
  .hero .wrap{grid-template-columns:1.1fr .9fr;gap:3rem}
  .steps,.cards.three{grid-template-columns:repeat(3,1fr)}
  .cards.two{grid-template-columns:repeat(2,1fr)}
  .strip{justify-content:center;overflow:visible;flex-wrap:wrap}
}
