/* Dán AI · AI Business Operating System page
   Flow from Temitope Saliu (Blueprint Audit), BenAI and Elevaite. Brand: Onyx / Bone / Gold, Cormorant + DM Sans + Space Grotesk.
   The --viz colours (violet, teal, coral, goldv, lime) are for demos, chips and glows only — never body text or buttons. */

:root {
  --onyx: #121211; --panel: #1A1A18; --panel-2: #22221F; --line: #2C2C28;
  --gold: #C9A24D; --gold-press: #B08E3F; --bone: #F4F1E9; --paper: #FBFAF6; --ash: #6E6B63; --ash-dark: #A29E93;
  --violet: #7B6BFF; --teal: #22C7B8; --coral: #FF6B4A; --goldv: #E8B84A; --lime: #B9E52F;
  --fg: var(--bone); --fg-2: #D9D5CA; --bg: var(--onyx); --bg-2: #151513; --accent-text: var(--gold); --nav-bg: rgba(18,18,17,.82);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ui: "Space Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 99; background: var(--gold); color: var(--onyx); padding: 10px 14px; }
.skip:focus { top: 10px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.gold { color: var(--accent-text); }

h2 { font: 600 clamp(36px, 4.6vw, 60px)/1.05 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
h3 { font: 600 20px/1.3 var(--ui); letter-spacing: -0.01em; }
.eyebrow { font: 500 12px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.eyebrow--muted { color: var(--ash-dark); }
.head { max-width: 680px; margin-bottom: 56px; }
.head--center { margin-inline: auto; text-align: center; }
.head__sub { margin-top: 18px; color: var(--ash-dark); font-size: 18px; }
.head .btn { margin-top: 28px; }
.sec { padding: clamp(80px, 10vw, 128px) 0; position: relative; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  background: var(--gold); color: var(--onyx); font: 600 15px/1 var(--ui); text-decoration: none; border-radius: 10px; border: 0; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: #D8B25E; transform: translateY(-1px); }
.btn:active { background: var(--gold-press); transform: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--panel-2); }
.link { font: 500 15px var(--ui); color: var(--fg); text-underline-offset: 5px; text-decoration-color: var(--ash); }
.link:hover { text-decoration-color: var(--accent-text); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(44,44,40,.6); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav__brand img { width: 92px; }
.nav__links { display: flex; gap: 28px; font: 500 14px var(--ui); color: var(--ash-dark); }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--fg); }

/* glows */
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.g { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .32; animation: drift 18s ease-in-out infinite alternate; }
.g--violet { width: 46vw; height: 46vw; right: -10vw; top: 6vw; background: radial-gradient(circle, var(--violet), transparent 65%); }
.g--coral { width: 34vw; height: 34vw; left: -10vw; top: 30vw; background: radial-gradient(circle, var(--coral), transparent 65%); opacity: .2; animation-delay: -6s; }
.g--teal { width: 30vw; height: 30vw; right: 20vw; top: 48vw; background: radial-gradient(circle, var(--teal), transparent 65%); opacity: .18; animation-delay: -11s; }
@keyframes drift { to { transform: translate(-3vw, 2vw) scale(1.08); } }

/* 1 · hero */
.hero { position: relative; padding: clamp(64px, 9vw, 112px) 0 80px; overflow: hidden;
  background-image: linear-gradient(rgba(244,241,233,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,233,.035) 1px, transparent 1px);
  background-size: 64px 64px; }
.hero__in { position: relative; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  font: 500 14px var(--ui); color: var(--fg); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201,162,77,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(201,162,77,0); } 100% { box-shadow: 0 0 0 0 rgba(201,162,77,0); } }
.hero__title { margin: 28px auto 0; max-width: 15ch; font: 600 clamp(48px, 7.6vw, 104px)/.98 var(--serif); letter-spacing: -0.03em; text-wrap: balance; }
.hero__lede { margin: 26px auto 0; max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); }
.hero__actions { margin-top: 34px; display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero__trust { margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ash-dark); }
.hero__trust li::before { content: "✓"; color: var(--accent-text); margin-right: 8px; }

/* the OS demo card */
.os { position: relative; margin: 64px auto 0; max-width: 980px; text-align: left; border-radius: 22px; background: var(--paper); color: var(--onyx);
  box-shadow: 0 40px 120px -30px rgba(123,107,255,.45), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.os__bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #EFEBE1; font: 500 13px var(--ui); color: var(--ash); }
.os__dots { display: flex; gap: 6px; }
.os__dots i { width: 10px; height: 10px; border-radius: 50%; background: #D8D2C4; }
.os__dots i:first-child { background: var(--coral); } .os__dots i:nth-child(2) { background: var(--goldv); } .os__dots i:nth-child(3) { background: var(--teal); }
.os__name { flex: 1; }
.live { display: inline-flex; align-items: center; gap: 7px; font: 600 12px var(--ui); color: #138A7F; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse-t 2s infinite; }
@keyframes pulse-t { 50% { opacity: .35; } }
.os__body { padding: 26px; }
.os__head { display: flex; justify-content: space-between; align-items: start; }
.os__hi { font: 600 30px/1.1 var(--serif); }
.os__sub { color: var(--ash); font-size: 15px; margin-top: 4px; }
.os__sub b { color: #138A7F; font-weight: 600; }
.os__demo { font: 600 11px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ash); background: #EFEBE1; padding: 6px 10px; border-radius: 6px; }
.os__stats { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--c) 12%, white); }
.stat span { display: block; font-size: 13px; color: var(--ash); }
.stat b { display: block; margin-top: 4px; font: 600 19px var(--ui); color: color-mix(in srgb, var(--c) 70%, black); }
.os__grid { margin-top: 18px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.os__label { font: 600 12px var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: white; box-shadow: 0 0 0 1px #ECE7DC; margin-bottom: 8px; font-size: 15px; }
.feed i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.feed span { flex: 1; }
.feed em { font-style: normal; font: 500 12px var(--ui); color: color-mix(in srgb, var(--c) 70%, black); background: color-mix(in srgb, var(--c) 14%, white); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.js .feed li { opacity: 0; transform: translateY(8px); }
.js .os.in .feed li { animation: feedIn .6s var(--ease) forwards; }
.js .os.in .feed li:nth-child(2) { animation-delay: .5s; } .js .os.in .feed li:nth-child(3) { animation-delay: 1s; }
.js .os.in .feed li:nth-child(4) { animation-delay: 1.5s; } .js .os.in .feed li:nth-child(5) { animation-delay: 2s; }
@keyframes feedIn { to { opacity: 1; transform: none; } }
.mini-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-tools span { display: grid; place-items: center; aspect-ratio: 1.4; background: white; border-radius: 12px; box-shadow: 0 0 0 1px #ECE7DC; }
.mini-tools img { width: 26px; height: 26px; }
.ask { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 12px; background: var(--onyx); color: var(--ash-dark); font-size: 14px; }
.ask i { font-style: normal; color: var(--accent-text); }
.ticks { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; font: 500 15px var(--ui); }
.ticks li::before { content: "✓"; color: var(--accent-text); margin-right: 8px; }

/* 2 · tools marquee */
.tools { padding: 36px 0 44px; border-block: 1px solid var(--line); background: var(--panel); }
.tools__say { text-align: center; font: 500 13px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ash-dark); margin-bottom: 22px; }
.tools__rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tools__track { display: flex; width: max-content; animation: slide 45s linear infinite; }
.tools__track span { margin-right: 14px; flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 12px; background: var(--paper); color: var(--onyx); font: 600 14px var(--ui); white-space: nowrap; }
.tools__track img { width: 26px; height: 26px; padding: 3px; }
@keyframes slide { to { transform: translateX(-50%); } }
.tools__rail:hover .tools__track { animation-play-state: paused; }

/* 3 · problem */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain { padding: 28px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.pain:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent); }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.pain p { margin-top: 16px; font: 500 23px/1.3 var(--serif); color: var(--fg-2); }
.pain p b { color: var(--fg); font-weight: 700; }

/* 4 · chase vs flywheel */
.way { background: linear-gradient(var(--onyx), var(--bg-2)); }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs__card { padding: 34px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.vs__card--new { background: radial-gradient(120% 80% at 50% 0%, rgba(201,162,77,.14), transparent 60%), var(--panel); box-shadow: inset 0 0 0 1px rgba(201,162,77,.35); }
.vs__card h3 { font: 600 30px/1.1 var(--serif); }
.chase { position: relative; height: 230px; margin: 24px 0; }
.chip { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); padding: 9px 14px; border-radius: 10px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); font: 500 14px var(--ui); color: var(--ash-dark); white-space: nowrap; animation: jitter 5s ease-in-out infinite alternate; }
.chip:nth-child(2n) { animation-delay: -2s; } .chip:nth-child(3n) { animation-delay: -3.5s; }
.chip--dash { box-shadow: none; outline: 1px dashed var(--ash); background: none; }
@keyframes jitter { to { transform: rotate(calc(var(--r) * -1)) translateY(-6px); } }
.fly { position: relative; height: 230px; margin: 24px 0; }
.fly::before { content: ""; position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(201,162,77,.45); animation: spin 30s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.fly__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 6px; text-align: center; font: 600 13px/1.2 var(--ui); color: var(--accent-text); }
.fly__core img { width: 52px; height: 52px; filter: drop-shadow(0 0 24px rgba(201,162,77,.5)); }
.fly__n { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; display: grid; place-items: center; border-radius: 12px; background: var(--paper);
  transform: rotate(var(--a)) translateY(-96px) rotate(calc(var(--a) * -1)); }
.fly__n img { width: 24px; height: 24px; }
.fly__n--txt { width: auto; height: auto; margin: -14px -46px; padding: 6px 10px; background: none; outline: 1px dashed var(--ash); font: 500 12px var(--ui); color: var(--ash-dark); }
.vs__list li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); color: var(--ash-dark); }
.vs__list li::before { content: "✕"; position: absolute; left: 2px; color: var(--coral); font-size: 14px; }
.vs__list--yes li { color: var(--fg); }
.vs__list--yes li::before { content: "✓"; color: var(--accent-text); }
.vs__end { margin-top: auto; padding-top: 22px; font: 500 22px var(--serif); color: var(--ash-dark); }
.vs__end b { color: var(--fg); font-weight: 700; }

/* 5 · anatomy */
.anatomy__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.anatomy .head { margin-bottom: 0; }
.net { position: relative; aspect-ratio: 1; width: 100%; max-width: 580px; justify-self: end; }
.net__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net__lines line { stroke: rgba(201,162,77,.28); stroke-width: 1; }
.net__lines circle { fill: var(--gold); }
.net__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 31%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center;
  background: radial-gradient(circle at 50% 35%, #2A2620, var(--panel)); box-shadow: 0 0 0 1px rgba(201,162,77,.5), 0 0 80px -10px rgba(201,162,77,.45); }
.net__core img { width: 40px; height: 40px; }
.net__core b { font: 600 15px var(--ui); color: var(--fg); }
.net__core span { font-size: 11px; color: var(--ash-dark); }
.node { position: absolute; translate: -50% -50%; min-width: 92px; padding: 8px 12px; border-radius: 12px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px; color: var(--ash-dark); text-align: center; line-height: 1.3; transition: box-shadow .3s, transform .3s; }
.node b { display: block; font: 600 13px var(--ui); color: var(--c); letter-spacing: .02em; }
.node.is-hot { box-shadow: inset 0 0 0 1px var(--c), 0 0 30px -6px var(--c); }

/* 6 · layers */
.layers { background: var(--bg-2); }
.layers__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ltab { display: block; width: 100%; text-align: left; padding: 22px 24px; border-radius: var(--r); background: transparent; border: 0; cursor: pointer; margin-bottom: 10px; transition: background .3s; }
.ltab:hover { background: var(--panel); }
.ltab.is-on { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.ltab__n { display: block; font: 600 12px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.ltab b { display: block; margin-top: 8px; font: 600 26px/1.15 var(--serif); color: var(--fg); }
.ltab__p { display: block; margin-top: 8px; color: var(--ash-dark); font-size: 16px; }
.ltab:not(.is-on) .ltab__p { display: none; }
.ltab__bar { display: block; height: 3px; margin-top: 16px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ltab:not(.is-on) .ltab__bar { display: none; }
.ltab__bar i { display: block; height: 100%; width: 0; background: var(--c); }
.ltab.is-on .ltab__bar i { animation: fill 7s linear forwards; }
.layers.paused .ltab__bar i { animation: none; width: 100%; }
@keyframes fill { to { width: 100%; } }
.layers__stage { position: relative; padding: 36px; border-radius: 26px; background: radial-gradient(90% 70% at 70% 20%, rgba(123,107,255,.35), transparent 70%), radial-gradient(70% 60% at 20% 90%, rgba(255,107,74,.25), transparent 70%), var(--panel); min-height: 440px; display: grid; align-items: center; }
.lp[hidden] { display: none; }
.lp.is-on { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.card { background: var(--paper); color: var(--onyx); border-radius: 18px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card__title { font: 600 18px var(--ui); }
.pill { font: 600 11px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, black); background: color-mix(in srgb, var(--c) 14%, white); padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, white); }
.msg { font-size: 16px; line-height: 1.75; }
.msg--me { display: inline-block; background: #EFEBE1; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
mark { color: inherit; background: color-mix(in srgb, var(--c) 18%, white); padding: 1px 5px; border-radius: 5px; box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--c) 55%, white); }
.card__foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid #ECE7DC; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ash); }
.card__foot .pill { text-transform: none; letter-spacing: 0; font-size: 12px; }
.conn li { display: grid; grid-template-columns: 34px 92px 1fr auto; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #ECE7DC; font-size: 14px; }
.conn li:last-child { border: 0; }
.conn img { width: 26px; height: 26px; }
.conn span { color: var(--ash); }
.conn em { font: 600 12px var(--ui); font-style: normal; color: #138A7F; }
.conn em::before { content: "● "; }
.wf li { display: grid; grid-template-columns: 10px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: white; box-shadow: 0 0 0 1px #ECE7DC; margin-bottom: 8px; }
.wf i { grid-row: 1 / 3; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.wf b { font: 600 15px var(--ui); }
.wf span { grid-column: 2; font-size: 12px; color: var(--ash); }
.wf em { grid-column: 3; grid-row: 1 / 3; font: 600 12px var(--ui); font-style: normal; color: color-mix(in srgb, var(--c) 70%, black); background: color-mix(in srgb, var(--c) 14%, white); padding: 5px 10px; border-radius: 999px; }
.statement { margin: 72px auto 0; max-width: 860px; text-align: center; font: 500 clamp(26px, 3vw, 38px)/1.25 var(--serif); }

/* 7 · what changes */
.ch__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ch__tabs button { padding: 10px 16px; border-radius: 999px; border: 0; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font: 500 14px var(--ui); color: var(--ash-dark); cursor: pointer; transition: background .2s, color .2s; }
.ch__tabs button:hover { color: var(--fg); }
.ch__tabs button[aria-selected="true"] { background: var(--gold); color: var(--onyx); box-shadow: none; }
.ch__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.ch__copy h3 { font: 600 clamp(28px, 2.8vw, 38px)/1.1 var(--serif); }
.ch__copy > p:not(.eyebrow) { margin-top: 16px; color: var(--fg-2); }
.ch__result { padding: 14px 16px; border-radius: 12px; background: rgba(201,162,77,.1); box-shadow: inset 0 0 0 1px rgba(201,162,77,.3); }
.ch__result b { color: var(--accent-text); }
.ch__copy .btn { margin-top: 24px; }
.flow { counter-reset: f; align-self: center; position: relative; }
.flow li { counter-increment: f; position: relative; padding: 14px 16px 14px 56px; margin-bottom: 10px; border-radius: 12px; background: var(--paper); color: var(--onyx); font-size: 15px; font-weight: 500; }
.flow li::before { content: counter(f); position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font: 600 13px var(--ui); background: color-mix(in srgb, var(--c, var(--violet)) 16%, white); color: color-mix(in srgb, var(--c, var(--violet)) 70%, black); }
.flow li:nth-child(5n+1) { --c: var(--violet); } .flow li:nth-child(5n+2) { --c: var(--teal); } .flow li:nth-child(5n+3) { --c: var(--coral); } .flow li:nth-child(5n+4) { --c: var(--goldv); } .flow li:nth-child(5n+5) { --c: var(--lime); }
.flow li:last-child { background: var(--gold); }
.flow.run li { animation: feedIn .5s var(--ease) both; }
.flow.run li:nth-child(2) { animation-delay: .12s; } .flow.run li:nth-child(3) { animation-delay: .24s; } .flow.run li:nth-child(4) { animation-delay: .36s; } .flow.run li:nth-child(5) { animation-delay: .48s; }
.flow.run li { opacity: 0; transform: translateY(8px); }

/* 8 · what you get */
.get { background: var(--bg-2); }
.sys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sys__card { padding: 30px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; transition: transform .3s var(--ease); }
.sys__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.sys__card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 70%); opacity: .2; }
.sys__card:hover { transform: translateY(-4px); }
.sys__top { display: flex; justify-content: space-between; align-items: center; }
.sys__n { font: 600 14px var(--ui); color: var(--ash-dark); }
.sys__card h3 { margin-top: 22px; font: 600 32px/1.1 var(--serif); }
.sys__card > p { margin-top: 12px; color: var(--ash-dark); font-size: 16px; }
.sys__card ul { margin-top: 20px; }
.sys__card li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ash-dark); }
.sys__card li b { display: block; color: var(--fg); font-weight: 600; }
.sys__card .pill { background: color-mix(in srgb, var(--c) 18%, transparent); color: color-mix(in srgb, var(--c) 75%, white); box-shadow: none; }
.also { margin-top: 18px; padding: 28px 30px; border-radius: 22px; background: rgba(201,162,77,.08); box-shadow: inset 0 0 0 1px rgba(201,162,77,.3); }
.also__t { font: 600 12px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.also__row { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.also__row b { display: block; font: 600 17px var(--ui); }
.also__row span { color: var(--ash-dark); font-size: 15px; }

/* 9 · process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.step { padding: 24px 22px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.step::before { content: ""; display: block; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 18px; background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: inset 0 0 0 1px var(--c); }
.steps { counter-reset: s; }
.step { counter-increment: s; }
.step::after { content: counter(s); position: absolute; left: 22px; top: 24px; width: 36px; height: 36px; display: grid; place-items: center; font: 600 15px var(--ui); color: var(--c); }
.step__when { display: block; font: 600 12px var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.step h3 { margin-top: 8px; font: 600 22px/1.15 var(--serif); }
.step p { margin-top: 10px; font-size: 15px; color: var(--ash-dark); }
.days { margin-top: 40px; display: flex; gap: 6px; height: 54px; }
.days span { flex: var(--g); display: flex; align-items: center; padding: 0 14px; border-radius: 10px; background: color-mix(in srgb, var(--c) 20%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent);
  font: 600 13px var(--ui); color: var(--fg); white-space: nowrap; overflow: hidden; transform-origin: left; }
.js .days span { transform: scaleX(0); transition: transform .8s var(--ease); }
.js .days.in span { transform: none; }
.js .days.in span:nth-child(2) { transition-delay: .15s; } .js .days.in span:nth-child(3) { transition-delay: .3s; } .js .days.in span:nth-child(4) { transition-delay: .45s; }
.days__scale { display: flex; justify-content: space-between; margin-top: 8px; font: 500 12px var(--ui); color: var(--ash-dark); }

/* 9 · the 14 days · phase cards */
.phase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phase li { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.phase li::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.phase__d { align-self: flex-start; font: 600 13px var(--ui); color: color-mix(in srgb, var(--c) 80%, white); background: color-mix(in srgb, var(--c) 16%, transparent); padding: 6px 12px; border-radius: 999px; }
.phase h3 { margin-top: 18px; font: 600 26px/1.15 var(--serif); }
.phase p { margin-top: 12px; font-size: 15px; color: var(--ash-dark); }
.phase .phase__by { margin-top: auto; padding-top: 18px; color: var(--fg); font-weight: 500; }
.phase .phase__by::before { content: "✓ "; color: var(--c); }
.phases .days { margin-top: 28px; }

/* 11 · process · priced ladder */
.ladder { position: relative; }
.ladder::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--goldv), var(--lime), var(--violet), var(--teal), var(--coral)); opacity: .5; }
.ladder li { position: relative; display: grid; grid-template-columns: 44px 190px 1fr auto; gap: 24px; align-items: start; padding: 26px 26px 26px 0; counter-increment: l; }
.ladder { counter-reset: l; }
.ladder li::before { content: counter(l); position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 2px var(--c); color: var(--c); font: 600 17px var(--ui); }
.ladder li + li { border-top: 1px solid var(--line); }
.ladder__when { padding-top: 12px; font: 600 13px var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.ladder__body h3 { font: 600 28px/1.15 var(--serif); }
.ladder__body p { margin-top: 8px; color: var(--ash-dark); max-width: 60ch; }
.ladder__note { color: var(--fg) !important; font-weight: 500; }
.ladder__price { margin-top: 6px; white-space: nowrap; font: 600 15px var(--ui); color: var(--onyx); background: var(--gold); padding: 9px 14px; border-radius: 999px; }
.ladder li:nth-child(1) .ladder__price, .ladder li:nth-child(3) .ladder__price, .ladder li:last-child .ladder__price { background: var(--panel-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }

/* 10 · about */
.about__in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.about__photo { position: sticky; top: 100px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.about__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__role { margin-top: 10px; font: 500 15px var(--ui); color: var(--accent-text); }
.about__copy > p:not(.eyebrow):not(.about__role) { margin-top: 18px; color: var(--fg-2); }
.proof { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proof img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 16/10; object-fit: cover; object-position: top left; width: 100%; }
.proof figcaption { margin-top: 10px; font-size: 14px; color: var(--ash-dark); }
.proof figcaption b { color: var(--fg); }

/* 11 · audit */
.audit__in { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
.audit__what { padding: 36px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.audit__what h3 { font: 600 28px var(--serif); margin-bottom: 18px; }
.checks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(201,162,77,.16); color: var(--accent-text); font-size: 13px; }
.price { padding: 36px; border-radius: 22px; background: radial-gradient(100% 70% at 50% 0%, rgba(201,162,77,.22), transparent 70%), var(--panel-2); box-shadow: inset 0 0 0 1px rgba(201,162,77,.45); display: flex; flex-direction: column; }
.price__k { font: 600 13px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.price__v { margin-top: 10px; font: 600 72px/1 var(--serif); letter-spacing: -0.02em; }
.price__note { margin-top: 10px; color: var(--fg-2); font-size: 15px; }
.price ul { margin: 22px 0 26px; }
.price ul li { padding: 8px 0; font-size: 15px; color: var(--ash-dark); }
.price ul li::before { content: "—  "; color: var(--accent-text); }
.price .btn { margin-top: auto; }
.price__small { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ash-dark); }

/* 12 · faq */
.faq__in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq .head { position: sticky; top: 100px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 21px/1.3 var(--serif); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 26px var(--ui); color: var(--accent-text); transition: rotate .25s var(--ease); }
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list details p { padding: 0 40px 22px 0; color: var(--ash-dark); }
.faq a { color: var(--accent-text); }

/* 13 · close */
.close { position: relative; padding: clamp(100px, 12vw, 160px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.close__in { position: relative; display: grid; justify-items: center; gap: 28px; }
.close__mark { width: 64px; height: 64px; }
.close h2 { max-width: 20ch; font-size: clamp(40px, 5.6vw, 76px); }
.close__small { font-size: 14px; color: var(--ash-dark); }

/* footer */
.foot { padding: 48px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ash-dark); }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.foot__in p { margin-top: 12px; max-width: 40ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--fg); }
.foot__legal { grid-column: 1 / -1; font-size: 13px; }

/* entrances */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .feed li, .js .days span, .flow.run li { opacity: 1 !important; transform: none !important; }
}

/* tablet */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .pains { grid-template-columns: 1fr 1fr; }
  .anatomy__in, .layers__in, .about__in, .faq__in { grid-template-columns: 1fr; }
  .net { justify-self: center; }
  .sys { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .phase { grid-template-columns: 1fr 1fr; }
  .ladder li { grid-template-columns: 44px 1fr auto; }
  .ladder__when { grid-column: 2 / -1; padding-top: 0; grid-row: 1; align-self: center; }
  .ladder__body { grid-column: 2; }
  .ladder li::before { grid-row: 1; }
  .about__photo { position: static; max-width: 360px; }
  .faq .head { position: static; }
  .audit__in { grid-template-columns: 1fr; }
}

/* phone */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .kicker { font-size: 12px; text-align: left; }
  .hero__title { font-size: clamp(42px, 12vw, 56px); }
  .hero__actions .btn { width: 100%; }
  .os { margin-top: 44px; border-radius: 16px; }
  .os__body { padding: 16px; }
  .os__hi { font-size: 24px; }
  .os__stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat b { font-size: 16px; }
  .os__grid { grid-template-columns: 1fr; }
  .feed li { font-size: 14px; flex-wrap: wrap; }
  .feed em { margin-left: 21px; }
  .os__tools { display: none; }
  .ticks { justify-content: flex-start; text-align: left; flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; }
  .pains { grid-template-columns: 1fr; }
  .pain p { font-size: 21px; }
  .vs { grid-template-columns: 1fr; }
  .vs__card { padding: 24px; }
  .chip { font-size: 12px; }
  .net { max-width: 100%; }
  .node { min-width: 0; padding: 5px 7px; font-size: 0; border-radius: 9px; }
  .node b { font-size: 11px; }
  .net__core b { font-size: 12px; } .net__core span { display: none; } .net__core img { width: 28px; height: 28px; }
  .layers__stage { padding: 16px; min-height: 0; }
  .conn li { grid-template-columns: 28px 1fr auto; }
  .conn span { display: none; }
  .ch__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .ch__tabs button { flex: none; }
  .ch__panel { grid-template-columns: 1fr; padding: 22px; gap: 28px; }
  .ch__copy .btn { width: 100%; text-align: center; }
  .also__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; }
  .ladder li { grid-template-columns: 44px 1fr; gap: 6px 16px; padding-right: 0; }
  .ladder__body, .ladder__price { grid-column: 2; }
  .ladder__price { justify-self: start; margin-top: 10px; }
  .ladder__body h3 { font-size: 24px; }
  .days span { font-size: 0; padding: 0; }
  .proof { grid-template-columns: 1fr; }
  .audit__what, .price { padding: 24px; }
  .faq__list summary { font-size: 19px; }
  .foot__in { grid-template-columns: 1fr; }
}

/* theme switch (light rules live in light.css) */
.nav__end { display: flex; align-items: center; gap: 10px; }
.theme-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); transition: background .2s, transform .2s var(--ease); }
.theme-btn:hover { background: var(--panel-2); }
.theme-btn:active { transform: scale(.94); }
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-btn .i-moon { display: none; }
[data-theme="light"] .theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-moon { display: block; }
.logo-l { display: none; }
[data-theme="light"] .logo-d { display: none; }
[data-theme="light"] .logo-l { display: block; }
html.theme-anim, html.theme-anim * { transition: background-color .35s ease, color .35s ease, box-shadow .35s ease !important; }
