/* ============================================================
   DockLite — marketing homepage
   Vite-inspired minimal · isometric · purple/terminal brand
   ============================================================ */

:root {
  --violet:      #8b5cf6;
  --violet-lo:   #7c3aed;
  --violet-hi:   #b79cff;
  --green:       #4ade80;
  --red:         #f87171;

  --bg:          #0b0910;
  --bg-2:        #100d18;
  --surface:     rgba(255,255,255,0.024);
  --surface-2:   rgba(255,255,255,0.04);
  --line:        rgba(255,255,255,0.08);
  --line-hi:     rgba(179,150,255,0.32);

  --ink:         #ecebf1;
  --ink-2:       #b6b1c6;
  --ink-3:       #7f7a90;

  --radius:      18px;
  --radius-sm:   12px;
  --maxw:        1180px;
  --ease:        cubic-bezier(.22,1,.36,1);

  --font-display: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  --font-body:    "Instrument Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

html[data-theme="light"] {
  --bg:        #f1edfa;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #efe9fb;
  --line:      rgba(23,17,38,0.14);
  --line-hi:   rgba(124,58,237,0.42);
  --ink:       #161020;
  --ink-2:     #443e55;
  --ink-3:     #6c6680;
}
/* light-mode depth: lift white cards off the lavender canvas */
html[data-theme="light"] .card,
html[data-theme="light"] .note { box-shadow: 0 2px 10px -3px rgba(23,17,38,.10); }
html[data-theme="light"] .card:hover,
html[data-theme="light"] .note:hover { box-shadow: 0 14px 30px -10px rgba(124,58,237,.24); }
html[data-theme="light"] .bg-grid { opacity: .7; }

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s var(--ease), color .5s var(--ease);
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: var(--violet); color: #fff; }

/* ---------- ambient background ---------- */
.bg-grid, .bg-glow, .bg-noise { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 72%);
  opacity: .5;
}
.bg-glow { filter: blur(90px); opacity: .5; border-radius: 50%; }
.bg-glow--one {
  width: 760px; height: 620px; top: -260px; left: 50%; transform: translateX(-52%);
  background: radial-gradient(circle, rgba(139,92,246,.55), transparent 66%);
  animation: drift1 18s ease-in-out infinite alternate;
}
.bg-glow--two {
  width: 520px; height: 520px; top: 460px; right: -120px;
  background: radial-gradient(circle, rgba(74,222,128,.14), transparent 66%);
  animation: drift2 22s ease-in-out infinite alternate;
}
html[data-theme="light"] .bg-glow--one { opacity: .35; }
.bg-noise {
  opacity: .5; z-index: 1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translateX(-48%) translateY(34px) scale(1.08); } }
@keyframes drift2 { to { transform: translateY(-40px) scale(1.12); } }

main, .nav, .footer { position: relative; z-index: 2; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 36px);
  transition: padding .35s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  opacity: 0; transition: opacity .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-stuck { padding-top: 12px; padding-bottom: 12px; }
.nav.is-stuck::before { opacity: 1; border-bottom-color: var(--line); }

.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__mark svg { transition: transform .5s var(--ease); }
.nav__brand:hover .nav__mark svg { transform: rotate(-8deg) scale(1.08); }
.nav__word { font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; letter-spacing: -.01em; }
.nav__word b { font-weight: 700; color: var(--violet-hi); }
html[data-theme="light"] .nav__word b { color: var(--violet-lo); }

.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 9px;
  font-size: .92rem; color: var(--ink-2); font-weight: 500;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--surface-2);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 11px; border: 1px solid var(--line);
  font-family: var(--font-body); font-size: .93rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  background: var(--bg-btn); color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s;
}
.btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--ghost:hover { border-color: var(--line-hi); background: var(--surface-2); }
.btn--ghost .ico { fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn--primary {
  background: linear-gradient(180deg, var(--violet-hi), var(--violet));
  color: #14101f; border-color: transparent; font-weight: 700;
  box-shadow: 0 6px 20px -6px rgba(139,92,246,.6), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--primary:hover { box-shadow: 0 12px 34px -8px rgba(139,92,246,.85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--primary:hover .ico { transform: translateX(3px); }
.btn--lg { padding: 14px 26px; font-size: 1rem; border-radius: 13px; }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-hi); }
.icon-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#themeToggle .icon-moon { display: none; }
html[data-theme="light"] #themeToggle .icon-sun { display: none; }
html[data-theme="light"] #themeToggle .icon-moon { display: block; }

.nav__burger { display: none; flex-direction: column; gap: 4px; }
.nav__burger span { width: 17px; height: 2px; background: currentColor; border-radius: 2px; transition: .3s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) clamp(18px, 4vw, 36px) 60px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 8px 7px 14px; border-radius: 100px;
  border: 1px solid var(--line-hi); background: var(--surface-2);
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
  transition: transform .25s var(--ease), border-color .25s, color .25s;
}
.pill:hover { transform: translateY(-2px); color: var(--ink); border-color: var(--violet); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74,222,128,.18); animation: pulse 2.4s var(--ease) infinite; }
.pill__arrow { fill: none; stroke: var(--violet-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.pill:hover .pill__arrow { transform: translateX(3px); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.15rem);
  line-height: 1.02; letter-spacing: -.03em; font-weight: 700;
  margin: 22px 0 20px;
}
.grad {
  background: linear-gradient(115deg, var(--violet-hi) 8%, var(--violet) 46%, #d9ccff 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--ink-2); max-width: 33em; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.cmd {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 14px 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-2);
  font-family: var(--font-mono); font-size: .9rem; color: var(--ink);
  cursor: pointer; transition: border-color .25s, transform .2s var(--ease), background .25s;
}
.cmd:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.cmd__prompt { color: var(--violet-hi); font-weight: 600; }
.cmd__text { color: var(--ink-2); }
.cmd:hover .cmd__text { color: var(--ink); }
.cmd__copy { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--surface-2); color: var(--ink-3); position: relative; }
.cmd__copy svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; position: absolute; transition: opacity .2s, transform .3s var(--ease); }
.cmd__copy .ico-check { opacity: 0; transform: scale(.4); stroke: var(--green); }
.cmd.copied .cmd__copy .ico-copy { opacity: 0; transform: scale(.4); }
.cmd.copied .cmd__copy .ico-check { opacity: 1; transform: scale(1); }
.cmd--lg { font-size: .96rem; padding: 15px 16px 15px 20px; }

/* ============================================================
   ISOMETRIC SCENE
   ============================================================ */
.hero__art { display: grid; place-items: center; min-height: 440px; }
.scene { position: relative; width: min(440px, 92%); aspect-ratio: 1; perspective: 1200px; }
.scene__floor {
  position: absolute; inset: 12% 6% -2% 6%;
  background: radial-gradient(ellipse 62% 44% at 50% 74%, rgba(139,92,246,.28), transparent 70%);
  filter: blur(6px);
}
.cube-wrap { position: absolute; inset: 0; display: grid; place-items: center; animation: bob 6s ease-in-out infinite; }
.cube { width: 100%; height: 100%; filter: drop-shadow(0 30px 50px rgba(91,52,196,.4)); }
.cube-shadow { animation: shadowPulse 6s ease-in-out infinite; }

@keyframes bob { 0%,100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }
@keyframes shadowPulse { 0%,100% { opacity: .12; transform: scale(.94); } 50% { opacity: .2; transform: scale(1.04); } }

.term-cursor { animation: blink 1.15s steps(1) infinite; }
@keyframes blink { 0%,55% { opacity: 1; } 56%,100% { opacity: 0; } }
.slat { animation: slatGlow 4s ease-in-out infinite; }
.slat:nth-child(2) { animation-delay: .5s; }
.slat:nth-child(3) { animation-delay: 1s; }
@keyframes slatGlow { 0%,100% { opacity: .85; } 50% { opacity: 1; } }

/* orbiting mini containers */
.orbit { position: absolute; top: 50%; left: 50%; width: 0; height: 0; }
.orbit--1 { animation: spinOrbit 14s linear infinite; }
.orbit--2 { animation: spinOrbit 20s linear infinite reverse; }
.orbit--3 { animation: spinOrbit 17s linear infinite; }
.mini {
  position: absolute; width: 30px; height: 30px; border-radius: 8px; display: block;
  background: linear-gradient(150deg, var(--violet-hi), var(--violet-lo));
  border: 2px solid #0d0b14; box-shadow: 0 10px 22px -6px rgba(91,52,196,.6);
  transform: translate(-50%,-50%);
}
.mini--green { background: linear-gradient(150deg, #86efac, #22c55e); }
.mini--red   { background: linear-gradient(150deg, #fca5a5, #ef4444); }
.orbit--1 .mini { top: -186px; left: 8px; }
.orbit--2 .mini { top: 150px; left: 176px; }
.orbit--3 .mini { top: 60px; left: -190px; }
@keyframes spinOrbit { to { transform: rotate(360deg); } }
/* keep minis upright while orbit spins */
.orbit--1 .mini { animation: counterSpin 14s linear infinite; }
.orbit--2 .mini { animation: counterSpin 20s linear infinite reverse; }
.orbit--3 .mini { animation: counterSpin 17s linear infinite; }
@keyframes counterSpin { to { transform: translate(-50%,-50%) rotate(-360deg); } }

/* floating status pills */
.float-pill {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 100px; font-family: var(--font-mono);
  font-size: .74rem; font-weight: 500; z-index: 3;
  background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  border: 1px solid var(--line); backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.6);
}
.float-pill--run { top: 6%; right: -6%; color: var(--green); animation: floaty 5s ease-in-out infinite; }
.float-pill--stop { bottom: 20%; left: -10%; color: var(--red); animation: floaty 6.5s ease-in-out .6s infinite; }
.float-pill--update { bottom: 2%; right: 4%; color: var(--violet-hi); animation: floaty 5.8s ease-in-out .3s infinite; }
.sdot { width: 7px; height: 7px; border-radius: 50%; }
.sdot--green { background: var(--green); box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
.sdot--red { background: var(--red); box-shadow: 0 0 0 3px rgba(248,113,113,.2); }
.spin { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; animation: spinOrbit 2s linear infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.4); } 50% { box-shadow: 0 0 0 5px rgba(74,222,128,0); } }

/* ============================================================
   STRIP
   ============================================================ */
.strip { max-width: var(--maxw); margin: 0 auto; padding: 12px clamp(18px,4vw,36px) 40px; text-align: center; }
.strip__label { color: var(--ink-3); font-size: .84rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.strip__items { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; font-family: var(--font-mono); color: var(--ink-2); font-size: .92rem; }
.strip__items i { width: 4px; height: 4px; border-radius: 50%; background: var(--violet); opacity: .5; }
.strip__items span { transition: color .2s; }
.strip__items span:hover { color: var(--violet-hi); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 9vw, 118px) clamp(18px,4vw,36px); }
/* keep anchored headings clear of the sticky nav */
.section, .showcase, #quickstart { scroll-margin-top: 92px; }
.section__head { max-width: 40rem; margin-bottom: 52px; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--violet-hi);
  padding: 4px 12px; border: 1px solid var(--line-hi); border-radius: 100px; margin-bottom: 18px;
}
html[data-theme="light"] .eyebrow { color: var(--violet-lo); }
.section__head h2, .finale h2, .split h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.08;
}
.section__head p { color: var(--ink-2); font-size: 1.08rem; margin-top: 16px; max-width: 36em; }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px 26px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(139,92,246,.16), transparent 42%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-hi); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__ico {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(139,92,246,.24), rgba(139,92,246,.06));
  border: 1px solid var(--line-hi); color: var(--violet-hi);
  transition: transform .4s var(--ease);
}
html[data-theme="light"] .card__ico { color: var(--violet-lo); }
.card:hover .card__ico { transform: scale(1.08) rotate(-4deg); }
.card__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico--play svg { fill: currentColor; stroke: none; }
.card h3 { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .96rem; }

code {
  font-family: var(--font-mono); font-size: .86em;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 6px; color: var(--violet-hi);
}
html[data-theme="light"] code { color: var(--violet-lo); }

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 clamp(18px,4vw,36px); }
.showcase__glow { position: absolute; inset: 8% 12% -6% 12%; z-index: -1; filter: blur(70px); background: radial-gradient(ellipse at 50% 50%, rgba(139,92,246,.4), transparent 68%); }
.window {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-hi);
  background: #0b0910; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset;
  transition: transform .5s var(--ease);
}
.window:hover { transform: translateY(-6px) scale(1.006); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #100d18; border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #2c2740; }
.window__bar .dot:nth-child(1) { background: #ff5f57; } .window__bar .dot:nth-child(2) { background: #febc2e; } .window__bar .dot:nth-child(3) { background: #28c840; }
.window__url { margin-left: 14px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); }
.window__url .ico { fill: none; stroke: currentColor; stroke-width: 2; }
.window img { display: block; width: 100%; height: auto; }

/* ============================================================
   STEPS + TERMINAL
   ============================================================ */
.steps { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px,4vw,54px); align-items: start; }
.steps__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.step { display: flex; gap: 18px; padding: 20px; border-radius: 14px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.step:hover { background: var(--surface); border-color: var(--line); }
.step__n { font-family: var(--font-mono); font-size: .82rem; color: var(--violet-hi); border: 1px solid var(--line-hi); border-radius: 8px; padding: 4px 8px; height: fit-content; }
.step h3 { font-family: var(--font-display); font-size: 1.14rem; font-weight: 600; margin-bottom: 5px; }
.step p { color: var(--ink-2); font-size: .96rem; }

/* terminals are always dark — same treatment in light & dark themes */
.term {
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.09);
  background: #0d0b14; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.term--dark { background: #0a0812; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.term__bar .dot:nth-child(1) { background: #ff5f57; } .term__bar .dot:nth-child(2) { background: #febc2e; } .term__bar .dot:nth-child(3) { background: #28c840; }
.term__file { margin-left: 12px; font-family: var(--font-mono); font-size: .78rem; color: rgba(236,235,241,0.42); }
.term__copy {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06); color: rgba(236,235,241,0.72); font-family: var(--font-mono);
  font-size: .74rem; cursor: pointer; position: relative; transition: color .2s, border-color .2s;
}
.term__copy:hover { color: #ecebf1; border-color: rgba(179,150,255,0.45); }
.term__copy svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.term__copy .ico-check { display: none; stroke: var(--green); }
.term__copy.copied .ico-copy { display: none; }
.term__copy.copied .ico-check { display: block; }
.term__copy.copied { color: var(--green); }
.term__copy.copied .term__copy-txt::after { content: "ied!"; }
.term__body { padding: 20px 22px; overflow-x: auto; font-family: var(--font-mono); font-size: .84rem; line-height: 1.75; }
.term__body code { background: none; border: none; padding: 0; color: #b6b1c6; }
.term__body .k  { color: #c4b5fd; }
.term__body .s  { color: #86efac; }
.term__body .v  { color: #fcd34d; }
.term__body .c  { color: #7f7a90; font-style: italic; }
.term__body .fn { color: #c4b5fd; }
.term__body .u  { color: #7dd3fc; }
.term__body .hl { color: var(--violet-hi); }
.term__body .out { color: var(--green); }

/* ---------- split (webhook) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(28px,5vw,64px); align-items: center; }
.split__copy p { color: var(--ink-2); font-size: 1.05rem; margin: 16px 0 22px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(160deg, rgba(139,92,246,.3), rgba(139,92,246,.08));
  border: 1px solid var(--line-hi);
}
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--violet-hi); border-bottom: 2px solid var(--violet-hi); transform: rotate(-45deg); }

/* ---------- security notes ---------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.note { padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .35s var(--ease), border-color .35s; }
.note:hover { transform: translateY(-5px); border-color: var(--line-hi); }
.note--warn { border-color: rgba(248,113,113,.28); background: linear-gradient(180deg, rgba(248,113,113,.05), var(--surface)); }
.note--warn .note__ico { color: var(--red); background: linear-gradient(160deg, rgba(248,113,113,.22), rgba(248,113,113,.05)); border-color: rgba(248,113,113,.3); }
.note__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: var(--violet-hi); background: linear-gradient(160deg, rgba(139,92,246,.22), rgba(139,92,246,.05)); border: 1px solid var(--line-hi); }
.note__ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.note h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.note p { color: var(--ink-2); font-size: .95rem; }

/* ============================================================
   FINALE
   ============================================================ */
.finale { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,7vw,90px) clamp(18px,4vw,36px) 40px; }
.finale__inner {
  position: relative; text-align: center; padding: clamp(48px,7vw,84px) 24px;
  border-radius: 28px; border: 1px solid var(--line-hi); overflow: hidden;
  background:
    radial-gradient(ellipse 70% 120% at 50% -20%, rgba(139,92,246,.28), transparent 60%),
    var(--surface);
}
.finale__inner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(74,222,128,.1), transparent 55%); pointer-events: none; }
.finale__mark { display: inline-grid; place-items: center; margin-bottom: 8px; animation: bob 6s ease-in-out infinite; }
.finale__mark svg { filter: drop-shadow(0 20px 30px rgba(91,52,196,.5)); }
.finale h2 { margin-bottom: 12px; }
.finale p { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 30px; }
.finale__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 44px clamp(18px,4vw,36px) 56px; display: grid; gap: 18px; border-top: 1px solid var(--line); text-align: center; justify-items: center; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__tag { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-3); letter-spacing: .04em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer__links a { color: var(--ink-2); font-size: .92rem; transition: color .2s; }
.footer__links a:hover { color: var(--violet-hi); }
.footer__copy { color: var(--ink-3); font-size: .84rem; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__gh { display: none; }
  .nav__burger { display: flex; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero__cta { justify-content: center; }
  .hero__sub { margin-inline: auto; }
  .hero__art { order: -1; min-height: 340px; }
  .grid, .notes { grid-template-columns: 1fr; }
  .steps, .split { grid-template-columns: 1fr; }
  .split .term { order: 2; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .grid, .notes { grid-template-columns: 1fr 1fr; }
}

/* mobile nav open */
.nav.open .nav__links {
  display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
  padding: 12px clamp(18px,4vw,36px) 20px; gap: 2px; margin: 0;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.nav.open .nav__links a { padding: 12px 14px; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
