/* Aigent Mode — shared styles.
   Warm paper, near-black ink, one grotesk at regular weight, and colour only in grainy pastel panels. */
:root {
  --paper: #F6F5F3;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #5F5D58;
  --ink-3: #8F8C85;
  --line: #E6E3DD;
  --line-2: #D9D5CD;
  --lav: #E6DCFB;
  --mint: #D5F1E0;
  --peach: #FBE1D0;
  --butter: #FAF0B5;
  --pink: #F6D5EB;
  --sky: #D5E6FA;
  --lav-ink: #7A55E0;
  --mint-ink: #1E8A55;
  --peach-ink: #D9622B;
  --radius: 16px;
  --sans: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --wrap: 1120px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lav); }
:focus-visible { outline: 2px solid var(--lav-ink); outline-offset: 3px; border-radius: 6px; }
main { overflow-x: clip; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- logo ---------- */
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo svg { width: 22px; height: 22px; flex: none; }
.logo .word { font: 600 17.5px/1 var(--sans); letter-spacing: -.035em; white-space: nowrap; }
.logo .word span { color: var(--ink-3); font-weight: 500; }

/* ---------- floating pill nav ---------- */
.nav { position: sticky; top: 14px; z-index: 50; padding: 0 16px; }
.nav .bar { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 7px 7px 7px 18px; background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-radius: 14px; box-shadow: 0 0 0 1px rgba(17,17,17,.06), 0 8px 24px -10px rgba(17,17,17,.18); }
.nav-links { display: flex; gap: 22px; margin-left: 14px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 6px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: 500 14.5px/1 var(--sans); padding: 12px 18px; border-radius: 10px; white-space: nowrap; transition: transform .15s, background .2s, box-shadow .2s; letter-spacing: -.01em; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2A2A; }
.btn-ghost { background: #EDEBE7; color: var(--ink); }
.btn-ghost:hover { background: #E4E1DB; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(17,17,17,.08); }
.btn-small { padding: 9px 14px; font-size: 13.5px; border-radius: 9px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- type ---------- */
.label { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
h1, h2, h3 { margin: 0; font-weight: 400; }
.display { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.05em; }
.display .soft { color: var(--ink-3); }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; }
.lede { font-size: clamp(16.5px, 1.4vw, 18px); color: var(--ink-2); max-width: 540px; letter-spacing: -.01em; }
section { padding: 110px 0; position: relative; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* grainy pastel panel: the only place colour lives */
.grain { position: relative; overflow: hidden; border-radius: 22px; isolation: isolate; }
.grain::after { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .45; mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.grain > * { position: relative; z-index: 1; }
.g-lav { background: radial-gradient(70% 90% at 15% 20%, #D7E9F7, transparent 60%), radial-gradient(70% 80% at 85% 80%, #E9D3F5, transparent 60%), linear-gradient(135deg, #DDE3F6, #EBDDF4); }
.g-peach { background: radial-gradient(70% 90% at 80% 10%, #FFE6C9, transparent 60%), radial-gradient(80% 90% at 10% 90%, #F9D2E6, transparent 60%), linear-gradient(135deg, #FBE3D6, #F6DDEB); }
.g-mint { background: radial-gradient(70% 90% at 10% 10%, #D8F3E4, transparent 60%), radial-gradient(70% 80% at 90% 90%, #D6E6FA, transparent 60%), linear-gradient(135deg, #DCF0E6, #DCE7F6); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 0; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; left: 50%; top: 260px; width: 1200px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(247,170,120,.45), rgba(244,190,214,.25) 55%, transparent 80%); filter: blur(20px); pointer-events: none; z-index: -1; }
.pill-new { display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(17,17,17,.07); text-decoration: none; font-size: 13px; color: var(--ink-2); margin-bottom: 26px; cursor: pointer; border: 0; font-family: var(--sans); }
.pill-new b { font: 600 10.5px var(--mono); letter-spacing: .06em; padding: 4px 7px; border-radius: 999px; background: var(--ink); color: #fff; }
.pill-new:hover { color: var(--ink); }
.hero .lede { margin: 22px auto 30px; }
.hero-ctas { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-stage { position: relative; max-width: 860px; margin: 64px auto 0; }

/* the Manual / Aigent Mode switch: segmented control above the product card */
.switch-row { display: flex; justify-content: center; margin-bottom: 14px; }
.mode-switch { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 4px; box-shadow: 0 0 0 1px rgba(17,17,17,.07), 0 6px 20px -8px rgba(17,17,17,.2); cursor: pointer; border: 0; position: relative; font: 500 14px/1 var(--sans); }
.mode-switch span { position: relative; z-index: 2; padding: 10px 18px; border-radius: 9px; color: var(--ink-3); transition: color .3s; white-space: nowrap; }
.mode-switch .knob { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; border-radius: 9px; background: #EFEDE9; transition: transform .45s cubic-bezier(.7,0,.2,1), width .45s cubic-bezier(.7,0,.2,1), background .3s; }
.mode-switch[aria-checked="false"] .s-manual { color: var(--ink); }
.mode-switch[aria-checked="true"] .s-agent { color: #fff; }
.mode-switch[aria-checked="true"] .knob { background: var(--ink); }

/* product card */
.frame { position: relative; }
.console { background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden; text-align: left; box-shadow: 0 0 0 1px rgba(17,17,17,.06), 0 30px 60px -30px rgba(17,17,17,.3); }
.console-bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.console-bar .lights { display: flex; gap: 6px; }
.console-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: #E9E6E0; }
.console-bar .status { margin-left: auto; display: flex; align-items: center; gap: 7px; font: 500 12px var(--mono); }
.console-bar .status b { width: 7px; height: 7px; border-radius: 50%; background: #F0A43C; transition: background .3s; }
.console.on .console-bar .status b { background: #2EBE76; }
.console-body { display: grid; grid-template-columns: 1.5fr 1fr; }
.tasks { padding: 16px 18px; border-right: 1px solid var(--line); }
.tasks-head { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 4px 10px; }
.tasks-head h4 { margin: 0; font: 500 14px var(--sans); }
.tasks-head .total { font: 500 12px var(--mono); color: var(--ink-3); }
.tasks-head .total b { color: #C9731B; font-weight: 500; transition: color .3s; }
.console.on .tasks-head .total b { color: var(--mint-ink); }
.task { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 11px 12px; border-radius: 10px; transition: background .2s; position: relative; }
.task + .task { border-top: 1px solid #F0EEEA; }
.task:hover { background: #FAF9F7; }
.task .t-name { font-size: 14px; letter-spacing: -.01em; transition: color .3s; }
.task .t-time { font: 500 12px var(--mono); color: var(--ink-3); }
.task .t-agent { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font: 500 12px var(--mono); color: var(--ink-3); height: 0; opacity: 0; transition: height .3s, opacity .3s; }
.task .chip { padding: 3px 8px; border-radius: 6px; color: var(--ink); font: 500 11.5px var(--sans); }
.task .bar { flex: 1; height: 3px; border-radius: 3px; background: #F0EEEA; overflow: hidden; }
.task .bar i { display: block; height: 100%; width: 0; border-radius: 3px; }
.task.assigned .t-agent { height: 20px; opacity: 1; }
.task.done .t-time { color: var(--mint-ink); }
.task.done .t-name { color: var(--ink-3); }
.side { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #FBFAF8; }
.side h4 { margin: 0 0 2px; font: 500 14px var(--sans); display: flex; justify-content: space-between; }
.side h4 small { font: 500 12px var(--mono); color: var(--ink-3); }
.review { padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; opacity: .35; transition: opacity .35s; }
.console.on .review.ready { opacity: 1; }
.review .who { font: 500 11.5px var(--mono); color: var(--ink-3); margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.review .who i { width: 7px; height: 7px; border-radius: 2px; }
.review .acts { display: flex; gap: 6px; margin-top: 9px; }
.review .acts span { font: 500 12px var(--sans); padding: 5px 9px; border-radius: 7px; background: #F1EFEB; }
.review .acts span:first-child { background: var(--ink); color: #fff; }
.saved { margin-top: auto; padding: 14px; border-radius: 12px; }
.saved .n { font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.saved .l { font: 500 11.5px var(--mono); color: var(--ink-2); margin-top: 6px; }
/* line-drawn agent leaning on the card */
.doodle { position: absolute; right: -128px; bottom: -6px; width: 170px; color: var(--ink); pointer-events: none; }

/* ---------- skills marquee ---------- */
.marquee { padding: 90px 0 0; }
.marquee p { text-align: center; color: var(--ink-3); font-size: 14px; margin: 0 0 22px; }
.ticker { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-row { display: flex; gap: 44px; width: max-content; animation: tick 40s linear infinite; }
.ticker-row span { font-size: 22px; letter-spacing: -.035em; color: #9A968E; white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.ticker-row span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- role cards (pastel) ---------- */
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.split-head .label { display: block; margin-bottom: 16px; }
.role-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.role { border-radius: 18px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; min-height: 210px; transition: transform .25s; }
.role:hover { transform: translateY(-3px); }
.role .who { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(17,17,17,.55); }
.role h3 { font-size: 23px; line-height: 1.15; letter-spacing: -.035em; margin-top: 12px; }
.role .go { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: rgba(17,17,17,.65); }
.role.big { grid-row: span 2; justify-content: space-between; }
.role.big h3 { font-size: 34px; letter-spacing: -.045em; }
.r-butter { background: var(--butter); } .r-pink { background: var(--pink); } .r-mint { background: var(--mint); } .r-lav { background: var(--lav); } .r-sky { background: var(--sky); }

/* ---------- how a course works: tabs over a grain panel ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 50px 0 16px; }
.step-tab { text-align: left; border: 0; cursor: pointer; padding: 18px; border-radius: 14px; background: transparent; font: inherit; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, box-shadow .2s; }
.step-tab:hover { background: #fff; }
.step-tab[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 1px rgba(17,17,17,.08), 0 10px 24px -14px rgba(17,17,17,.3); }
.step-tab .t { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 15.5px; letter-spacing: -.02em; }
.step-tab .t i { width: 10px; height: 10px; border-radius: 50%; }
.step-tab p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.stage { padding: 56px 40px; min-height: 470px; display: grid; place-items: center; }
.panel { width: min(560px, 100%); display: none; }
.panel.on { display: block; animation: rise .45s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.mini { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 0 0 1px rgba(17,17,17,.05), 0 30px 60px -30px rgba(40,30,80,.35); font-size: 14.5px; }
.mini .lbl { font: 500 11px var(--mono); color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; display: flex; justify-content: space-between; }
.lesson-q { font-size: 22px; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 16px; }
.opts { display: grid; gap: 7px; }
.opt { padding: 11px 13px; border-radius: 10px; background: #FAF9F7; box-shadow: inset 0 0 0 1px var(--line); display: flex; justify-content: space-between; gap: 12px; cursor: pointer; transition: box-shadow .2s, background .2s; color: var(--ink); font: inherit; text-align: left; border: 0; width: 100%; }
.opt span { color: var(--ink-3); font-family: var(--mono); }
.opt:hover { box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; }
.opt.right { box-shadow: inset 0 0 0 1.5px var(--mint-ink); background: #EEFAF3; }
.opt.wrong { box-shadow: inset 0 0 0 1.5px #D9542B; background: #FDF0EA; }
.feedback { margin-top: 12px; font: 500 12.5px var(--mono); color: var(--mint-ink); min-height: 18px; }
.code { font: 400 13px/1.85 var(--mono); white-space: pre-wrap; color: var(--ink); }
.code .k { color: var(--lav-ink); } .code .c { color: var(--ink-3); } .code .s { color: var(--peach-ink); }
.sandbox { display: grid; gap: 8px; }
.msg { padding: 10px 13px; border-radius: 13px; max-width: 85%; }
.msg.in { background: #F2F0EC; }
.msg.out { background: var(--ink); color: #fff; margin-left: auto; }
.msg.sys { font: 500 12px var(--mono); color: var(--mint-ink); padding: 2px 0; }
.dl-card { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.dl-card + .dl-card { margin-top: 8px; }
.dl-card .pdf { width: 46px; height: 60px; border-radius: 5px; background: var(--lav); position: relative; flex: none; box-shadow: inset 0 0 0 1px rgba(17,17,17,.06); }
.dl-card .pdf::after { content: 'PDF'; position: absolute; left: 6px; bottom: 6px; font: 600 9px var(--mono); }
.dl-card small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }

/* ---------- catalogue ---------- */
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; }
.cat-head .label { display: block; margin-bottom: 16px; }
.stats { display: flex; gap: 0; }
.stats div { padding: 0 26px; border-left: 1px solid var(--line-2); }
.stats b { display: block; font-size: 30px; font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.stats span { font-size: 13px; color: var(--ink-3); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.filters button { border: 0; cursor: pointer; font: 400 13.5px var(--sans); padding: 8px 13px; border-radius: 9px; background: #EDEBE7; color: var(--ink-2); transition: all .2s; }
.filters button:hover { color: var(--ink); background: #E4E1DB; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 0 0 1px rgba(17,17,17,.06); transition: transform .25s, box-shadow .25s; min-height: 270px; }
.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(17,17,17,.08), 0 20px 40px -24px rgba(17,17,17,.3); }
.glyph { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 22px; }
.glyph svg { width: 21px; height: 21px; }
.glyph.mint { background: var(--mint); } .glyph.blue { background: var(--sky); } .glyph.violet { background: var(--lav); }
.card .meta { display: flex; gap: 7px; flex-wrap: wrap; font: 500 11px var(--mono); color: var(--ink-3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.card h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.035em; margin-bottom: 8px; }
.card p { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font: 500 12px var(--mono); color: var(--ink-3); }
.tag { display: inline-flex; padding: 4px 8px; border-radius: 6px; font: 500 12px var(--sans); }
.tag.free { background: var(--mint); color: var(--mint-ink); }
.tag.pro { background: var(--lav); color: var(--lav-ink); }
.tag.soon { background: #F1EFEB; color: var(--ink-3); }
.empty { grid-column: 1 / -1; padding: 50px; text-align: center; color: var(--ink-2); background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); min-width: 320px; }
.search input { border: 0; background: none; font: 400 15.5px var(--sans); padding: 12px 0; width: 100%; color: var(--ink); outline: none; }
.search input::placeholder { color: var(--ink-3); }
.search:focus-within { box-shadow: 0 0 0 2px var(--ink); }

/* ---------- guides ---------- */
.guides-panel { padding: 54px; }
.guides { display: grid; grid-template-columns: 1.05fr 1fr; gap: 12px; position: relative; }
.guide { border-radius: 16px; background: rgba(255,255,255,.75); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(17,17,17,.05); padding: 22px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.guide.feature { grid-row: span 3; padding: 30px; background: #fff; }
.guide .g-meta { font: 500 11px var(--mono); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; display: flex; gap: 12px; flex-wrap: wrap; }
.guide h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.035em; }
.guide.feature h3 { font-size: 34px; letter-spacing: -.045em; }
.guide p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.guide .g-act { margin-top: auto; padding-top: 10px; }
.book { margin: 10px 0 26px; height: 220px; position: relative; }
.book .cover { position: absolute; left: 6px; top: 0; width: 168px; height: 220px; border-radius: 4px 12px 12px 4px; background: var(--ink); box-shadow: 16px 20px 40px rgba(17,17,17,.25), inset 5px 0 0 rgba(255,255,255,.08); transform: rotate(-4deg); padding: 16px; color: #fff; display: flex; flex-direction: column; }
.book .cover b { font: 500 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.book .cover span { font-size: 25px; line-height: 1.02; letter-spacing: -.045em; margin-top: auto; }
.book .cover svg { width: 26px; height: 26px; margin-bottom: 12px; }
.book .page { position: absolute; left: 150px; top: 16px; width: 168px; height: 200px; border-radius: 8px; background: #fff; transform: rotate(5deg); padding: 16px; box-shadow: 0 16px 40px rgba(17,17,17,.15), 0 0 0 1px rgba(17,17,17,.05); }
.book .page i { display: block; height: 6px; border-radius: 3px; background: #ECE9E3; margin-bottom: 9px; }
.book .page i.m { background: var(--lav); width: 40%; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
.plan { border-radius: 20px; padding: 32px; background: #fff; box-shadow: 0 0 0 1px rgba(17,17,17,.06); }
.plan h3 { font-size: 30px; letter-spacing: -.045em; }
.plan .price { font: 500 12.5px var(--mono); color: var(--ink-3); margin: 8px 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: '✓'; flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; background: var(--mint); color: var(--mint-ink); }
.plan.pro li::before { background: rgba(255,255,255,.7); color: var(--lav-ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-size: 19px; letter-spacing: -.025em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ink-3); transition: transform .25s; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 10px 0 0; max-width: 620px; }

/* ---------- dark footer with the big line ---------- */
footer { background: #0E0E0E; color: #A5A29B; padding: 110px 0 40px; font-size: 14px; overflow: hidden; }
.big-line { text-align: center; font-size: clamp(44px, 9vw, 116px); line-height: .9; letter-spacing: -.06em; margin: 0 0 30px; background: linear-gradient(90deg, #F7B07E, #F38BB8 45%, #B49CF7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-cta { display: flex; justify-content: center; gap: 8px; margin-bottom: 110px; }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding-top: 40px; border-top: 1px solid #222; }
footer .logo { color: #fff; }
footer .logo .word span { color: #77746D; }
footer .logo svg rect { fill: #fff; } footer .logo svg .cut { fill: #0E0E0E; }
footer h5 { margin: 0 0 14px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6E6B65; }
footer a { display: block; text-decoration: none; margin-bottom: 9px; }
footer a:hover { color: #fff; }
footer .legal { grid-column: 1 / -1; padding-top: 30px; margin-top: 10px; border-top: 1px solid #222; font-size: 12.5px; color: #6E6B65; }

/* ---------- inner pages ---------- */
.page-head { padding: 90px 0 30px; }
.page-head .display { margin-top: 18px; }
.page-head .lede { margin-top: 18px; }
.course-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; padding: 70px 0 90px; align-items: start; }
.course-hero .glyph { margin: 28px 0 20px; }
.course-hero .display { font-size: clamp(38px, 5vw, 60px); margin: 14px 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 30px; }
.facts div { padding: 0 22px; border-left: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts b { display: block; font-weight: 400; font-size: 24px; color: var(--ink); letter-spacing: -.04em; }
.course-side { padding: 28px; }
.outline { display: grid; gap: 6px; counter-reset: l; padding: 0; margin: 0; }
.outline li { list-style: none; counter-increment: l; display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.8); font-size: 14.5px; }
.outline li::before { content: counter(l, decimal-leading-zero); font: 500 11.5px var(--mono); color: var(--ink-3); }
.outline li:first-child { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.outline li:first-child::after { content: 'Free preview'; margin-left: auto; font: 500 11px var(--mono); color: var(--mint-ink); }
.back { font: 500 12.5px var(--mono); text-decoration: none; color: var(--ink-3); }
.back:hover { color: var(--ink); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(17,17,17,.35); backdrop-filter: blur(6px); padding: 20px; }
.modal.open { display: grid; }
.modal-box { width: min(440px, 100%); background: #fff; border-radius: 20px; padding: 30px; position: relative; box-shadow: 0 40px 100px rgba(17,17,17,.3); animation: rise .3s ease; }
.modal-box h3 { font-size: 28px; line-height: 1.1; letter-spacing: -.045em; margin-bottom: 8px; }
.modal-box p { color: var(--ink-2); margin: 0 0 20px; font-size: 14.5px; }
.modal-box label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
.modal-box input[type=text], .modal-box input[type=email] { width: 100%; border: 0; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 13px; font: 400 15.5px var(--sans); margin-bottom: 14px; color: var(--ink); }
.modal-box input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); background: #fff; }
.modal-box .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 4px 0 18px; }
.modal-box .check input { margin-top: 3px; accent-color: var(--ink); }
.modal-box .btn { width: 100%; justify-content: center; }
.modal-box .err { color: #C2412F; font-size: 13px; min-height: 18px; margin: -6px 0 10px; }
.modal-close { position: absolute; right: 14px; top: 14px; border: 0; background: #F1EFEB; width: 30px; height: 30px; border-radius: 8px; font-size: 18px; cursor: pointer; color: var(--ink-2); line-height: 1; }
.done-state { text-align: center; }
.done-state .tick { width: 54px; height: 54px; border-radius: 14px; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; margin: 0 auto 16px; font-size: 24px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .doodle { display: none; } }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0; background: #fff; padding: 18px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(17,17,17,.06), 0 20px 40px -10px rgba(17,17,17,.2); margin: 0; }
  .nav .bar { position: relative; }
  .menu-btn { display: block; margin-left: 0; }
  .nav-cta .btn-ghost { display: none; }
  .console-body { grid-template-columns: 1fr; }
  .tasks { border-right: 0; border-bottom: 1px solid var(--line); }
  .course-hero, .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .guides, .plans { grid-template-columns: 1fr; }
  .guide.feature { grid-row: auto; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .role.big { grid-column: 1 / -1; grid-row: auto; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .cols > div:first-child { grid-column: 1 / -1; }
  section { padding: 80px 0; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 0 10px; }
  .grid, .role-grid { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .console-bar > span:nth-child(2) { display: none; }
  .book .page { display: none; }
  .stage, .guides-panel { padding: 28px 14px; }
  .stats div { padding: 0 16px; } .stats div:first-child { padding-left: 0; border-left: 0; }
  .steps4 { grid-template-columns: 1fr; }
  .tasks, .side { padding: 14px 10px; }
  .logo .word { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
