/* Mindojo — site stylesheet. Mobile-first. Tokens from the brand palette. */
:root {
  --indigo-900: #17133a; --indigo-800: #1f1a48; --indigo: #2b245a; --violet: #4e41a4; --accent: #8364f9; --accent-soft: #b7aaff; --gold: #fec742;
  --ink: #2b245a; --body: #4a4860; --muted: #7d7a95; --line: #e5e1f7; --line-strong: #d6d4e3; --tint: #f6f5fb; --paper: #ffffff; --error: #d93025;
  --font: "proxima-nova", "Figtree", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --w: 1200px; --pad: 20px; --radius: 10px; --nav-h: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--violet); text-decoration: none; } a:hover { color: #6d5aec; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-wrap: pretty; }
h1 { font-size: clamp(38px, 7.2vw, 68px); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(28px, 4.2vw, 42px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -0.01em; }
h4 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.2em; }
.wrap { width: min(var(--w), 100% - 2 * var(--pad)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--pad)); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--body); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 100; } .skip:focus { left: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 18px; }
.btn-primary { background: var(--accent); color: #fff; } .btn-primary:hover { background: #7454f0; color: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; } .btn-ghost:hover { border-color: var(--violet); color: var(--ink); }
.btn-light { border: 1px solid rgba(255,255,255,.25); color: #fff; background: transparent; } .btn-light:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.tint { background: var(--tint); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
/* Single-column grids must never let a child's max-content widen the track. */
.grid, .split, .cards, .steps, .facts, .fcols, .login-cards, .doors-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.wrap > *, .grid > *, .split > *, .cards > *, .steps > * { min-width: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; } .reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav .logo { display: block; line-height: 0; } .nav .wordmark { height: 26px; width: auto; }
.wordmark .fill { fill: var(--violet); transition: fill .3s ease; }
.nav-links { display: none; align-items: center; gap: 30px; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--ink); position: relative; padding: 6px 0; } .nav-links a:hover { color: var(--violet); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 1px; background: var(--accent); }
.nav-cta { display: none; align-items: center; gap: 18px; }
.nav-cta .login { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav .btn-primary { background: var(--violet); } .nav .btn-primary:hover { background: #5d4fc0; }
.nav.solid { background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: var(--ink); transition: background .3s, transform .3s, top .3s; }
.burger span { position: relative; } .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; } .burger span::before { top: -7px; } .burger span::after { top: 7px; }
body.dark-hero .nav:not(.solid) .wordmark .fill { fill: #fff; }
body.dark-hero .nav:not(.solid) .nav-links a, body.dark-hero .nav:not(.solid) .nav-cta .login { color: rgba(255,255,255,.85); }
body.dark-hero .nav:not(.solid) .nav-links a:hover { color: #fff; }
body.dark-hero .nav:not(.solid) .btn-primary { background: var(--accent); }
body.dark-hero .nav:not(.solid) .burger span, body.dark-hero .nav:not(.solid) .burger span::before, body.dark-hero .nav:not(.solid) .burger span::after { background: #fff; }
body.menu-open .burger span { background: transparent !important; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); background: #fff !important; }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); background: #fff !important; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--indigo-900); color: #fff; padding: 96px var(--pad) 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; overflow-y: auto; }
body.menu-open .menu { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.menu a { display: flex; align-items: center; min-height: 52px; font-size: 24px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu .small { font-size: 17px; font-weight: 500; color: rgba(255,255,255,.75); }
.menu .btn { margin-top: 22px; border-bottom: 0; }
@media (min-width: 900px) { .nav-links, .nav-cta { display: flex; } .burger, .menu { display: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 70% 10%, #2f2870 0%, var(--indigo-800) 45%, var(--indigo-900) 100%); color: #fff; overflow: hidden; }
.hero canvas, .page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to bottom, rgba(23,19,58,0), var(--indigo-900)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 40px; padding: 128px 0 72px; min-height: 100svh; align-content: center; grid-template-columns: minmax(0, 1fr); }
.hero h1 { color: #fff; max-width: 12ch; }
.hero .lead { color: rgba(255,255,255,.78); }
.hero .eyebrow { color: var(--accent-soft); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-card { align-self: start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 18px; display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.hero-card .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(254,199,66,.6); animation: ping 2s infinite; display: inline-block; margin-right: 8px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(254,199,66,.55); } 70% { box-shadow: 0 0 0 9px rgba(254,199,66,0); } 100% { box-shadow: 0 0 0 0 rgba(254,199,66,0); } }
.msg { font-size: 14.5px; line-height: 1.5; padding: 10px 13px; border-radius: 10px; max-width: 92%; }
.msg.tutor { background: rgba(255,255,255,.10); color: #fff; align-self: flex-start; }
.msg.learner { background: var(--accent); color: #fff; align-self: flex-end; }
.hero-card .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-card .opts span { font-size: 13px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; }
.hero-card .opts span.sel { background: var(--gold); border-color: var(--gold); color: var(--indigo-900); font-weight: 600; }
.model { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.7); }
.model .row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.bar { grid-column: 1 / -1; height: 4px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent-soft); border-radius: 2px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-card .next { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: .06em; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; padding: 150px 0 110px; } .hero-card { justify-self: end; width: 100%; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--tint); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero canvas { opacity: .6; }
.page-hero.dark canvas { opacity: 1; }
.page-hero .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; padding: calc(var(--nav-h) + 56px) 0 64px; max-width: 820px; margin-inline: auto; }
.page-hero h1 { font-size: clamp(34px, 5.6vw, 58px); }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.page-hero.dark { background: radial-gradient(1000px 500px at 70% 0%, #2f2870 0%, var(--indigo-800) 45%, var(--indigo-900) 100%); color: #fff; border-bottom: 0; }
.page-hero.dark h1 { color: #fff; } .page-hero.dark .lead { color: rgba(255,255,255,.78); } .page-hero.dark .eyebrow { color: var(--accent-soft); }
@media (min-width: 900px) { .page-hero .wrap { padding: calc(var(--nav-h) + 88px) 0 96px; } }

/* ---------- Proof / logos ---------- */
.proof { background: var(--indigo-900); color: #fff; padding: 28px 0 44px; }
.proof .wrap { display: flex; flex-direction: column; gap: 16px; }
.proof .eyebrow { color: rgba(255,255,255,.5); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 42s linear infinite; }
.marquee-track span { font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.logo-grid .lg { display: grid; place-items: center; min-height: 92px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.logo-grid .lg img { max-height: 48px; width: auto; max-width: 150px; opacity: .85; transition: opacity .3s; }
.logo-grid .lg:hover img { opacity: 1; }
.logo-grid .lg.text { font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Heart figure ---------- */
.heart .wrap, .split { gap: 36px; }
.heart-copy, .split-copy { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.figure { position: relative; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fbfbfe, #f6f5fb); overflow: hidden; }
.figure svg { display: block; width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 14px 22px; font-size: 13px; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
.g-edge { stroke: #cfc9ee; stroke-width: 1.4; transition: stroke .5s, stroke-width .5s; }
.g-edge.cand { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 4; animation: dash 1s linear infinite; }
.g-edge.chosen { stroke: var(--gold); stroke-width: 2.6; stroke-dasharray: none; }
.g-edge.known { stroke: #b7aaff; stroke-width: 1.8; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.g-node circle { fill: #fff; stroke: #cfc9ee; stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.g-node text { font-family: var(--mono); font-size: 10.5px; fill: var(--muted); transition: fill .5s; }
.g-node.known circle { fill: #ece8ff; stroke: var(--accent-soft); } .g-node.known text { fill: var(--ink); }
.g-node.cand circle { stroke: var(--accent); } .g-node.cand text { fill: var(--violet); }
.g-node.chosen circle { fill: var(--gold); stroke: var(--gold); } .g-node.chosen text { fill: var(--ink); font-weight: 500; }
.g-node.current circle { fill: var(--accent); stroke: var(--accent); } .g-node.current text { fill: var(--ink); font-weight: 500; }
.cursor { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.cursor.on { opacity: 1; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { r: 12; stroke-opacity: 1; } 100% { r: 26; stroke-opacity: 0; } }
.side { position: absolute; right: 14px; top: 14px; width: 190px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 12px; color: var(--muted); display: grid; gap: 8px; box-shadow: 0 12px 30px -18px rgba(43,36,90,.35); }
.side .t { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.side .srow { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; }
.side .bar { background: var(--line); } .side .bar i { background: var(--accent); }
.side .st { font-family: var(--mono); font-size: 10.5px; color: var(--ink); padding-top: 6px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .side { position: static; width: auto; margin: 0 12px 12px; box-shadow: none; } .g-node text { font-size: 17px; } .g-node circle { r: 14; } }
@media (min-width: 1000px) { .heart .wrap { grid-template-columns: 420px minmax(0, 1fr); align-items: center; gap: 56px; } }
.heart .wrap { display: grid; grid-template-columns: minmax(0, 1fr); }

/* ---------- Sticky scene ---------- */
.how .intro { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: 40px; }
.scene { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.steps { gap: 22px; }
.step { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s; scroll-margin-top: 120px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--violet); letter-spacing: .1em; }
.step.active { border-color: var(--accent); box-shadow: 0 16px 40px -28px rgba(131,100,249,.6); }
.stage { position: relative; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4 / 3; }
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.layer { opacity: 0; transition: opacity .6s ease; }
.stage[data-step="1"] .l1, .stage[data-step="2"] .l2, .stage[data-step="3"] .l3 { opacity: 1; }
.draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.stage[data-step="1"] .draw { animation: draw 1.6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pop { transform-origin: center; transform: scale(0); transform-box: fill-box; }
.stage[data-step="1"] .pop { animation: pop .5s cubic-bezier(.2,.9,.3,1.3) forwards; }
.stage[data-step="1"] .pop:nth-child(2) { animation-delay: .15s; } .stage[data-step="1"] .pop:nth-child(3) { animation-delay: .3s; } .stage[data-step="1"] .pop:nth-child(4) { animation-delay: .45s; } .stage[data-step="1"] .pop:nth-child(5) { animation-delay: .6s; } .stage[data-step="1"] .pop:nth-child(6) { animation-delay: .75s; } .stage[data-step="1"] .pop:nth-child(7) { animation-delay: .9s; } .stage[data-step="1"] .pop:nth-child(8) { animation-delay: 1.05s; }
@keyframes pop { to { transform: scale(1); } }
.stage .card { position: absolute; left: 6%; right: 6%; bottom: 6%; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; box-shadow: 0 20px 40px -24px rgba(43,36,90,.4); transform: translateY(14px); opacity: 0; transition: all .6s cubic-bezier(.2,.7,.2,1); }
.stage[data-step="2"] .card.c2, .stage[data-step="3"] .card.c3 { transform: none; opacity: 1; }
.stage .card .msg { font-size: 13px; } .stage .card .msg.tutor { background: var(--tint); color: var(--ink); } .stage .card .msg.learner { background: var(--indigo); }
.vs { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; font-size: 12px; color: var(--muted); }
.vs .bar { grid-column: 2; height: 6px; background: var(--line); } .vs .bar i { background: var(--accent); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.vs .win i { background: var(--gold); } .vs strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .scene { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; } .stage { position: sticky; top: 100px; } .steps { gap: 40vh; padding: 10vh 0 20vh; } }

/* ---------- Loop ---------- */
.loop .wrap { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
.loop-fig { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fbfbfe, #f6f5fb); padding: 8px; }
.loop-fig svg { display: block; width: 100%; height: auto; }
.ring { fill: none; stroke: var(--accent-soft); stroke-width: 2; }
.flow { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 14 22; stroke-linecap: round; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.ln { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; fill: var(--violet); }
.lt { font-family: var(--font); font-size: 15px; font-weight: 600; fill: var(--ink); }
.ld { font-family: var(--font); font-size: 12px; fill: var(--muted); }
@media (min-width: 1000px) { .loop .wrap { grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 56px; } .loop .split-copy { order: 2; } }

/* ---------- Cards / features ---------- */
.head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.card-p { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.card-p:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(43,36,90,.45); border-color: var(--line-strong); }
.card-p .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--violet); }
.card-p > a { font-weight: 600; margin-top: auto; padding-top: 6px; }
.feat { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.feat h4 { color: var(--ink); } .feat p { font-size: 15.5px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split { align-items: center; }
.split .fig { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fbfbfe, #f6f5fb); padding: 20px; }
.check { list-style: none; padding: 0; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 28px; font-size: 16px; }
.check li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.2l2.4 2.4 4.6-4.8' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.2l2.4 2.4 4.6-4.8' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } .split.rev .split-copy { order: 2; } }
.steps-list { list-style: none; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.steps-list li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--violet); border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; }
.steps-list h4 { margin-bottom: 4px; }
.facts { gap: 14px; }
.fact { padding: 20px 22px; border-left: 2px solid var(--accent); background: #fff; border-radius: 0 10px 10px 0; display: grid; gap: 4px; }
.fact b { color: var(--ink); font-size: 18px; letter-spacing: -0.01em; } .fact span { font-size: 14px; color: var(--muted); }
.stat { display: grid; gap: 4px; } .stat b { font-size: clamp(28px, 4vw, 40px); color: var(--ink); letter-spacing: -0.02em; line-height: 1; } .stat span { font-size: 14px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Quote ---------- */
.quote { background: var(--indigo); color: #fff; }
.quote .wrap { display: grid; gap: 22px; max-width: 900px; text-align: center; justify-items: center; }
.quote p.q { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.quote .who { font-size: 14px; color: var(--accent-soft); }

/* ---------- Doors ---------- */
.door { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fff, var(--tint)); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tag.gold { color: #b8860b; } .tag.gold i { background: var(--gold); }
.door .btn { align-self: flex-start; margin-top: 6px; }
@media (min-width: 800px) { .doors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Company ---------- */
.company .wrap { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.company .head { margin-bottom: 0; }
@media (min-width: 900px) { .company .wrap { grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 56px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--indigo-900); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.cta-band .wrap { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.cta-band h2 { color: #fff; max-width: 18ch; } .cta-band p { color: rgba(255,255,255,.7); max-width: 560px; margin-top: 12px; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; } .cta-band .btn-ghost:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8'%3E%3Cpath fill='%234E41A4' d='M1.737.324A1 1 0 0 0 .263 1.676l5.5 6a1 1 0 0 0 1.474 0l5.5-6A1 1 0 1 0 11.263.324L6.5 5.52 1.737.324z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(131,100,249,.18); }
.form.was-validated :invalid { border-color: var(--error); }
.form .hint { font-size: 13px; font-weight: 400; color: var(--muted); }
.form .row2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form .err { display: none; color: var(--error); font-size: 14px; } .form.has-error .err { display: block; }
.form-state { display: none; padding: 18px 20px; border-radius: 10px; background: var(--tint); color: var(--ink); }
.form.is-sending .form-fields, .form.is-success .form-fields { display: none; }
.form.is-sending .form-state.sending { display: block; } .form.is-success .form-state.success { display: block; }
.form-fields { display: grid; gap: 18px; }
.form-card { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.turnstile-wrap { min-height: 65px; }
@media (min-width: 900px) { .form-card { padding: 36px; } }

/* ---------- Login router ---------- */
.login-cards { gap: 18px; }
.login-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.login-card .btn { align-self: flex-start; }
.login-card details { font-size: 14px; color: var(--muted); } .login-card summary { cursor: pointer; color: var(--violet); font-weight: 600; }
@media (min-width: 900px) { .login-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Code ---------- */
.code { margin: 0; background: var(--indigo-900); color: #e6e2ff; border-radius: 12px; padding: 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.55; overflow-x: auto; }
.code .k { color: var(--accent-soft); } .code .s { color: #ffd98a; } .code .c { color: #8f89bf; }

/* ---------- Prose (legal, long text) ---------- */
.prose { font-size: 16px; }
.prose h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; } .prose ul, .prose ol { margin: 0 0 14px; } .prose li { margin-bottom: 6px; }
.prose .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--indigo-900); color: #b9b3dd; padding: 56px 0 32px; }
.footer .wrap { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
.fcols { gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcol { display: grid; gap: 8px; align-content: start; }
.fcol b { color: #fff; font-size: 14px; font-weight: 600; }
.fcol a { color: #b9b3dd; font-size: 14px; } .fcol a:hover { color: #fff; }
.fbrand { grid-column: 1 / -1; display: grid; gap: 12px; }
.fbrand .wordmark { height: 24px; width: auto; } .fbrand .fill { fill: #fff; }
.fbrand p { font-size: 14px; max-width: 300px; color: #8f89bf; }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 13px; color: #8f89bf; }
@media (min-width: 800px) { .fcols { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); } .fbrand { grid-column: auto; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.notfound .wrap { display: grid; gap: 16px; justify-items: center; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .flow, .dot, .cursor.on, .g-edge.cand, .stage .draw, .stage .pop { animation: none; }
  .draw { stroke-dashoffset: 0; } .pop { transform: none; }
  html { scroll-behavior: auto; }
}
