/* Seed's site: the control plane's colours (light and dark), with more of
   the garden: greens, teal, amber, violet, sky and rose. */
:root {
  --bg: #fafaf9;
  --bg-sub: #f4f4f2;
  --surface: #ffffff;
  --surface-2: #f7f7f5;
  --border: #e6e6e3;
  --border-strong: #d4d4d0;
  --fg: #18181b;
  --fg-2: #3f3f46;
  --muted: #71717a;
  --accent: #15803d;
  --accent-2: #0d9488;
  --accent-fg: #ffffff;
  --accent-soft: #ecfdf3;
  --accent-line: #bbf7d0;
  --teal: #0d9488;
  --amber: #d97706;
  --violet: #7c3aed;
  --sky: #0284c7;
  --rose: #e11d48;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 24px 60px rgba(15, 40, 25, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
  --aurora-1: rgba(34, 197, 94, 0.20);
  --aurora-2: rgba(20, 184, 166, 0.16);
  --aurora-3: rgba(245, 158, 11, 0.12);
  --radius: 12px;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0b;
    --bg-sub: #0e100f;
    --surface: #121413;
    --surface-2: #171a18;
    --border: #232624;
    --border-strong: #303431;
    --fg: #ececea;
    --fg-2: #c9cbc8;
    --muted: #8b908c;
    --accent: #4ade80;
    --accent-2: #2dd4bf;
    --accent-fg: #052e12;
    --accent-soft: rgba(74, 222, 128, 0.09);
    --accent-line: rgba(74, 222, 128, 0.25);
    --teal: #2dd4bf;
    --amber: #fbbf24;
    --violet: #a78bfa;
    --sky: #38bdf8;
    --rose: #fb7185;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
    --aurora-1: rgba(74, 222, 128, 0.14);
    --aurora-2: rgba(45, 212, 191, 0.11);
    --aurora-3: rgba(251, 191, 36, 0.07);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font: 0.86em var(--mono); background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 0.1em 0.35em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.wrap { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* the slow aurora behind everything */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(60px); }
.aurora .a1 { background: radial-gradient(closest-side, var(--aurora-1), transparent); top: -25vmax; right: -15vmax; }
.aurora .a2 { background: radial-gradient(closest-side, var(--aurora-2), transparent); top: 20vh; left: -25vmax; }
.aurora .a3 { background: radial-gradient(closest-side, var(--aurora-3), transparent); bottom: -30vmax; right: 10vw; }
@media (prefers-reduced-motion: no-preference) {
  .aurora .a1 { animation: drift1 26s ease-in-out infinite alternate; }
  .aurora .a2 { animation: drift2 32s ease-in-out infinite alternate; }
  .aurora .a3 { animation: drift1 38s ease-in-out infinite alternate-reverse; }
}
@keyframes drift1 { to { transform: translate(-8vmax, 6vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(10vmax, -4vmax) scale(0.92); } }

/* the seed mark */
.mark .stem, .final-sprout .stem { stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; fill: none; }
.mark .leaf, .final-sprout .leaf { fill: var(--accent); }
.mark .leaf-2, .final-sprout .leaf-2, .seed-badge .leaf-2 { opacity: 0.6; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); font-weight: 650; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 26px; height: 26px; transform-origin: 50% 90%; transition: transform 0.5s cubic-bezier(.2,.9,.3,1.4); }
.brand:hover .mark { transform: rotate(-12deg) scale(1.1); }
.brand-sm { font-size: 15px; }
.brand-sm .mark { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14.5px; }
.nav-links a:not(.btn) { color: var(--fg-2); }
.nav-links a:not(.btn):hover { color: var(--fg); text-decoration: none; }
.gh { width: 15px; height: 15px; fill: currentColor; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid var(--border-strong); color: var(--fg); background: var(--surface); transition: transform 0.15s, box-shadow 0.2s, border-color 0.15s, filter 0.15s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--muted); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: var(--accent-fg); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { border-color: transparent; filter: brightness(1.06); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-ghost { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 14px; }

/* hero */
.hero { position: relative; padding: 80px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy, .install, .code-line { min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font: 600 12.5px var(--sans); letter-spacing: 0.02em; }
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .kicker-dot { animation: ping 2.4s ease-out infinite; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 9px transparent; } }
h1 { font-size: clamp(44px, 6.4vw, 74px); font-weight: 780; letter-spacing: -0.04em; }
.grad { background: linear-gradient(100deg, var(--accent) 10%, var(--teal) 55%, var(--sky) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .grad { animation: shimmer 8s ease-in-out infinite alternate; } }
@keyframes shimmer { to { background-position: 100% 0; } }
.lead { margin: 22px 0 28px; font-size: 18.5px; color: var(--fg-2); max-width: 34em; }
.install { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 580px; }
.code-line { display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--border); border-radius: 10px; padding: 8px 8px 8px 14px; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.code-line code { flex: 1; min-width: 0; border: 0; background: none; padding: 0; font-size: 13.5px; color: var(--fg); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.code-line code::before { content: '$ '; color: var(--accent); }
.copy { flex-shrink: 0; height: 30px; padding: 0 11px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface-2); color: var(--fg-2); font: 600 12.5px var(--sans); cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.copy:hover { color: var(--fg); border-color: var(--accent); }
.cta { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* hero stage: the sprout and its floating cards */
.hero-stage { position: relative; height: 480px; min-width: 0; }
.sprout { position: absolute; left: 50%; top: 50%; width: 420px; max-width: 100%; transform: translate(-50%, -50%); color: var(--fg); overflow: visible; }
.seed-shell { fill: #a16207; }
@media (prefers-color-scheme: dark) { .seed-shell { fill: #ca8a04; } }
.sprout .draw { stroke-dasharray: 340; stroke-dashoffset: 0; }
.sprout .unfold { transform-box: fill-box; }
.leaf-a { transform-origin: 100% 100%; }
.leaf-b { transform-origin: 0% 100%; }
.leaf-c { transform-origin: 50% 100%; }
.sparks circle { fill: var(--accent); opacity: 0.7; }
@media (prefers-reduced-motion: no-preference) {
  .sprout .draw { stroke-dashoffset: 340; animation: draw 1.6s 0.3s cubic-bezier(.5,0,.2,1) forwards; }
  .sprout .unfold {
    transform: scale(0);
    animation-name: unfold, sway; animation-duration: 0.9s, 6s; animation-iteration-count: 1, infinite;
    animation-direction: normal, alternate; animation-fill-mode: forwards, none;
    animation-timing-function: cubic-bezier(.2,.9,.3,1.3), ease-in-out;
  }
  .leaf-a { animation-delay: 1.2s, 2.1s; }
  .leaf-b { animation-delay: 1.5s, 2.4s; }
  .leaf-c { animation-delay: 1.8s, 2.7s; }
  .sparks circle { animation: twinkle 3.2s ease-in-out infinite; }
  .sparks circle:nth-child(2) { animation-delay: 0.8s; }
  .sparks circle:nth-child(3) { animation-delay: 1.6s; }
  .sparks circle:nth-child(4) { animation-delay: 2.1s; }
  .sparks circle:nth-child(5) { animation-delay: 1.2s; }
  .soil-glow { animation: glow 4s ease-in-out infinite alternate; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes unfold { from { transform: scale(0) rotate(-20deg); } to { transform: scale(1) rotate(0); } }
@keyframes sway { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1) rotate(3deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.15; transform: translateY(0); } 50% { opacity: 0.9; transform: translateY(-8px); } }
@keyframes glow { to { opacity: 0.55; } }

.float { position: absolute; transition: transform 0.25s ease-out; will-change: transform; }
.f-chat { top: 6%; left: 0; }
.f-evo { bottom: 2%; right: 0; width: 260px; }
.f-live { top: 20%; right: 0; }
.f-test { bottom: 34%; left: 2%; }
.mini-bubble, .mini-evo, .mini-toast, .mini-chip {
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13.5px;
}
.mini-bubble { padding: 10px 14px; border-radius: 14px 14px 4px 14px; max-width: 230px; color: var(--fg); }
.mini-evo { padding: 12px 14px; }
.mini-head { display: flex; justify-content: space-between; align-items: center; font: 600 10.5px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mini-title { margin: 5px 0 10px; font-weight: 600; color: var(--fg); }
.mini-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-toast { padding: 9px 14px; display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; }
.mini-chip { padding: 7px 12px; color: var(--accent); font: 600 12.5px var(--mono); }
.pill { font: 600 10.5px var(--mono); padding: 2px 8px; border-radius: 999px; text-transform: none; letter-spacing: 0; }
.pill-active { color: var(--violet); background: color-mix(in srgb, var(--violet) 14%, transparent); }
.pill-done { color: var(--accent); background: var(--accent-soft); }
.phases { display: flex; gap: 3px; }
.phases i { flex: 1; height: 5px; border-radius: 3px; background: var(--border-strong); transition: background 0.4s; }
.phases i.on { background: linear-gradient(90deg, var(--accent), var(--teal)); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (prefers-reduced-motion: no-preference) {
  .f-chat { animation: pop 0.6s 0.2s both, bob 7s 1s ease-in-out infinite alternate; }
  .f-evo { animation: pop 0.6s 0.6s both, bob 8s 1.4s ease-in-out infinite alternate-reverse; }
  .f-live { animation: pop 0.6s 4.6s both, bob 6s 5.2s ease-in-out infinite alternate; }
  .f-test { animation: pop 0.6s 3.6s both, bob 9s 4.2s ease-in-out infinite alternate-reverse; }
}
@keyframes pop { from { opacity: 0; translate: 0 14px; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes bob { to { translate: 0 -10px; } }

/* scroll reveals */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(.2,.8,.2,1); }
  .js .reveal.in { opacity: 1; translate: 0 0; }
}

/* sections */
.section { position: relative; padding: 100px 0; }
.section-alt { background: color-mix(in srgb, var(--bg-sub) 75%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 740; letter-spacing: -0.03em; }
.eyebrow { margin: 0 0 12px; font: 700 12.5px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eyebrow-teal { color: var(--teal); }
.eyebrow-violet { color: var(--violet); }
.eyebrow-amber { color: var(--amber); }
.section-lead { margin: 14px 0 44px; color: var(--fg-2); font-size: 18px; max-width: 40em; }

/* how it grows */
.growth { position: relative; margin-top: 56px; }
.vine { position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 40px; overflow: visible; }
.vine-path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 6 8; opacity: 0.45; }
.stages { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stages li { padding: 0 6px; }
.stage-art { width: 92px; height: 92px; display: block; margin: 0 0 16px; padding: 6px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.stage-art .ground { fill: color-mix(in srgb, var(--amber) 22%, transparent); }
.stage-art .st { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; fill: none; }
.stage-art .st-thick { stroke-width: 5; stroke: #a16207; }
.stage-art .lf { fill: var(--accent); }
.stage-art .lf2 { fill: var(--teal); }
.stage-art .crown { fill: var(--accent); opacity: 0.9; }
.stage-art .crown-2 { fill: var(--teal); opacity: 0.85; }
.stage-art .fruit { fill: var(--amber); }
.stages h3 { font-size: 20px; margin-bottom: 8px; }
.stages p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .vine-path { animation: march 1.2s linear infinite; }
  .stages li:nth-child(2) { transition-delay: 0.12s; }
  .stages li:nth-child(3) { transition-delay: 0.24s; }
  .stages li:nth-child(4) { transition-delay: 0.36s; }
  .stages li.in .stage-art { animation: grow-in 0.8s cubic-bezier(.2,.9,.3,1.3) both; }
  .stages li:nth-child(2).in .stage-art { animation-delay: 0.12s; }
  .stages li:nth-child(3).in .stage-art { animation-delay: 0.24s; }
  .stages li:nth-child(4).in .stage-art { animation-delay: 0.36s; }
}
@keyframes march { to { stroke-dashoffset: -28; } }
@keyframes grow-in { from { transform: scale(0.6) rotate(-6deg); } to { transform: none; } }

/* split sections with a live mini demo */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy p { color: var(--fg-2); font-size: 17.5px; margin: 16px 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; color: var(--fg-2); }
.ticks li::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: color-mix(in srgb, var(--teal) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks-violet li::before { background: color-mix(in srgb, var(--violet) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

.demo-frame { position: relative; }
.demo-frame::before { content: ''; position: absolute; inset: 8% -4% -6% 6%; border-radius: 30px; background: linear-gradient(135deg, color-mix(in srgb, var(--teal) 35%, transparent), color-mix(in srgb, var(--accent) 25%, transparent)); filter: blur(40px); opacity: 0.5; z-index: -1; }
.split-rev .demo-frame::before { background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 35%, transparent), color-mix(in srgb, var(--sky) 25%, transparent)); }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--border); background: var(--bg-sub); font: 11.5px var(--mono); color: var(--muted); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser-bar i:nth-child(1) { background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; }
.browser-bar i:nth-child(3) { background: #4ade80; }
.browser-bar span { margin: 0 auto; padding: 2px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); }

/* the mock app: Crux, a climbing gym's booking site */
.mock-app { position: relative; height: 380px; padding: 14px 16px; background: radial-gradient(120% 80% at 100% 0%, #1d1840 0%, #0d1020 55%); color: #e6e8f2; overflow: hidden; font-size: 11px; font-family: var(--sans); }
.g-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.g-logo { width: 18px; height: 18px; border-radius: 5px; background: conic-gradient(from 210deg, #c6f24e, #4cc9f0, #ff4fa3, #c6f24e); transform: rotate(45deg) scale(0.8); }
.g-nav b { font-size: 14px; letter-spacing: 0.02em; }
.g-links { display: flex; gap: 6px; margin-left: auto; }
.g-links i { width: 34px; height: 7px; border-radius: 4px; background: #2a2f52; }
.g-cta { padding: 5px 10px; border-radius: 999px; background: #c6f24e; color: #0d1020; font-weight: 700; font-size: 10px; }
.g-hero { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.g-hero b { font-size: 16px; letter-spacing: -0.01em; }
.g-hero span { color: #9aa0c3; font-size: 10px; }
.g-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.g-day { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.g-day em { font-style: normal; font-weight: 700; font-size: 9.5px; color: #9aa0c3; letter-spacing: 0.06em; text-transform: uppercase; }
.g-c { display: block; border-radius: 6px; padding: 4px 5px; font-size: 8.5px; font-weight: 700; color: #0d1020; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.g-b { background: #4cc9f0; } .g-y { background: #b9a7ff; } .g-l { background: #c6f24e; } .g-k { background: #ffd166; } .g-n { background: #ff4fa3; color: #fff; }
.g-week-new .g-n { box-shadow: 0 0 0 2px #ff4fa3, 0 0 18px 4px rgba(255, 79, 163, 0.65); }
.g-passes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.g-pass { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 10px; }
.g-pass i { font-style: normal; color: #c6f24e; font-weight: 700; }
.g-pass-hot { border-color: rgba(198, 242, 78, 0.5); background: rgba(198, 242, 78, 0.08); }

/* point and ask, step by step (the script moves through these) */
.seed-badge { position: absolute; right: 12px; bottom: 10px; width: 26px; height: 26px; transform-origin: 50% 90%; transition: transform 0.4s cubic-bezier(.2,.9,.3,1.4); z-index: 5; }
.seed-badge svg { width: 100%; height: 100%; }
.seed-badge .stem { stroke: #c6f24e; stroke-width: 1.9; stroke-linecap: round; fill: none; }
.seed-badge .leaf { fill: #c6f24e; }
.mock-app.s-hover .seed-badge { transform: rotate(-12deg) scale(1.15); }
.wheel { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; z-index: 5; }
.w-opt { position: absolute; right: 8px; display: flex; align-items: center; gap: 7px; opacity: 0; transform: translate(14px, 14px) scale(0.5); transform-origin: right center; transition: opacity 0.2s, transform 0.3s cubic-bezier(.2,.9,.3,1.3); }
.w-cp { bottom: 66px; right: 14px; }
.w-change { bottom: 22px; right: 54px; transition-delay: 0.05s; }
.w-opt em { font-style: normal; padding: 4px 9px; border-radius: 8px; background: #161a33; border: 1px solid #343a66; color: #e6e8f2; font-weight: 600; font-size: 10px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); transition: background 0.15s; }
.w-opt i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #161a33; border: 1px solid #343a66; color: #c6f24e; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); transition: background 0.15s; }
.w-opt i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mock-app.s-wheel .w-opt { opacity: 1; transform: none; }
.mock-app.s-pick .w-change em, .mock-app.s-pick .w-change i { background: #262c55; }
.mock-app.s-press .w-change { transform: scale(0.94); }
.p-hint { position: absolute; left: 50%; top: 10px; transform: translate(-50%, -8px); padding: 6px 12px; border-radius: 9px; background: #161a33; border: 1px solid #343a66; font-size: 10px; white-space: nowrap; opacity: 0; transition: opacity 0.25s, transform 0.25s; z-index: 6; }
.mock-app.s-hint .p-hint { opacity: 1; transform: translate(-50%, 0); }
.sel { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 2px solid #c6f24e; border-radius: 8px; box-shadow: 0 0 0 2px #0d1020, 0 0 0 9999px rgba(5, 6, 15, 0.5); opacity: 0; z-index: 4; pointer-events: none; }
.mock-app.s-dim .sel { opacity: 1; }
.ask { position: absolute; left: 20px; top: 40px; width: 270px; padding: 10px; border-radius: 11px; background: #161a33; border: 1px solid #343a66; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55); opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; display: grid; gap: 8px; z-index: 6; }
.mock-app.s-ask .ask { opacity: 1; transform: none; }
.ask b { font-size: 11px; }
.ask-input { min-height: 42px; padding: 7px 8px; border-radius: 8px; border: 1.5px solid #c6f24e; background: #0d1020; font-size: 11px; line-height: 1.4; }
.caret { display: inline-block; width: 1.5px; height: 12px; margin-left: 1px; vertical-align: -2px; background: #e6e8f2; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-row { display: flex; justify-content: flex-end; gap: 6px; }
.ask-cancel { padding: 5px 9px; border-radius: 7px; border: 1px solid #343a66; font-size: 10px; }
.ask-go { padding: 5px 10px; border-radius: 7px; background: #c6f24e; color: #0d1020; font-weight: 700; font-size: 10px; transition: transform 0.12s; }
.mock-app.s-go .ask-go { transform: scale(0.94); }
.p-toast { position: absolute; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: #10140f; border: 1px solid rgba(124, 196, 149, 0.4); color: #e8ece6; font-weight: 600; font-size: 11px; opacity: 0; transform: translate(-50%, 16px); transition: opacity 0.3s, transform 0.35s cubic-bezier(.2,.9,.3,1.3); z-index: 7; white-space: nowrap; }
.mock-app.s-sent .p-toast { opacity: 1; transform: translate(-50%, 0); }
.cursor { position: absolute; left: 0; top: 0; width: 20px; height: 20px; fill: #fff; stroke: #111; stroke-width: 1.2; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); z-index: 9; pointer-events: none; transform: translate(60%, 70%); }
.cursor.press { scale: 0.85; }

/* preview loop */
.mock-preview .m-cards-old { margin-top: 2px; }
.g-list { display: grid; gap: 6px; }
.g-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); font-size: 10.5px; }
.g-row b { width: 30px; }
.g-row span:last-child { color: #9aa0c3; }
.g-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-preview .m-cards-new { position: absolute; left: 16px; right: 16px; top: 76px; opacity: 0; }
.pbar { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 70px); display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 8px 8px 12px; border-radius: 10px; background: #10140f; color: #e8ece6; border: 1px solid rgba(124, 196, 149, 0.4); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); font-size: 11px; z-index: 3; }
.pbar-note { color: #9aa49a; }
.pbar-btn { padding: 4px 9px; border-radius: 7px; background: #7cc495; color: #0d140f; font-weight: 700; }
.mock-app.playing .m-cards-old { animation: old 8s ease-in-out infinite; }
.mock-app.playing .m-cards-new { animation: new 8s ease-in-out infinite; }
.mock-app.playing .pbar { animation: pbar 8s ease-in-out infinite; }
@keyframes old { 0%, 22% { opacity: 1; transform: none; } 30%, 88% { opacity: 0; transform: scale(0.97); } 96%, 100% { opacity: 1; transform: none; } }
@keyframes new { 0%, 24% { opacity: 0; transform: translateY(12px); } 34%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(12px); } }
@keyframes pbar { 0%, 26% { transform: translate(-50%, 70px); } 36%, 84% { transform: translate(-50%, 0); } 92%, 100% { transform: translate(-50%, 70px); } }
@media (prefers-reduced-motion: reduce) {
  .mock-preview .m-cards-old { opacity: 0; }
  .mock-preview .m-cards-new { opacity: 1; }
  .pbar { transform: translate(-50%, 0); }
}

/* generations */
.gens { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 34px 0 10px; }
.gens-line { position: absolute; left: 8%; right: 8%; top: 50px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--teal), var(--rose), var(--amber)); transform-origin: left; }
.gen { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.gen-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); z-index: 1; }
.gen b { font: 700 13px var(--mono); color: var(--muted); }
.gen span:last-child { font-size: 14px; color: var(--fg-2); max-width: 12em; }
.gen-bad .gen-dot { border-color: var(--rose); box-shadow: 0 0 0 6px color-mix(in srgb, var(--rose) 14%, transparent); }
.gen-bad span:last-child { text-decoration: line-through; text-decoration-color: var(--rose); }
.gen-back .gen-dot { border-color: var(--amber); box-shadow: 0 0 0 6px color-mix(in srgb, var(--amber) 16%, transparent); background: var(--amber); }
.gen-back span:last-child { color: var(--amber); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .js .gens .gens-line { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.4,0,.2,1); }
  .js .gens.in .gens-line { transform: scaleX(1); }
  .js .gens .gen { opacity: 0; translate: 0 10px; scale: 0.9; transition: opacity 0.5s, translate 0.5s, scale 0.5s cubic-bezier(.2,.9,.3,1.3); transition-delay: calc(0.25s * var(--i) + 0.2s); }
  .js .gens.in .gen { opacity: 1; translate: 0 0; scale: 1; }
  .js .gens.in .gen-back .gen-dot { animation: ping-amber 2s 2s ease-out 3; }
}
@keyframes ping-amber { 0% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--amber) 30%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }

/* features: a bento of small live pictures */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento article { --c: var(--accent); position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, var(--surface)), var(--surface) 60%); overflow: hidden; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, opacity 0.7s, translate 0.7s; }
.bento .b-wide { grid-column: span 4; }
.bento article:nth-child(5), .bento article:nth-child(6) { grid-column: span 3; }
.bento article::before { content: ''; position: absolute; inset: -1px; border-radius: 16px; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 55%, transparent), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; transition: opacity 0.2s; pointer-events: none; }
.bento article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bento article:hover::before { opacity: 1; }
.c-rose { --c: var(--rose); } .c-sky { --c: var(--sky); } .c-amber { --c: var(--amber); }
.c-violet { --c: var(--violet); } .c-teal { --c: var(--teal); } .c-green { --c: var(--accent); }
.bento .c-rose { --c: var(--rose); } .bento .c-sky { --c: var(--sky); } .bento .c-amber { --c: var(--amber); }
.bento .c-violet { --c: var(--violet); } .bento .c-teal { --c: var(--teal); } .bento .c-green { --c: var(--accent); }
.b-head { display: flex; gap: 14px; align-items: flex-start; }
.f-icon { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent); }
.f-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento h3 { font-size: 18px; margin: 2px 0 6px; }
.bento p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
.b-viz { margin-top: auto; padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--border); font-size: 12.5px; display: grid; gap: 7px; }

.v-log { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--fg-2); min-width: 0; }
.v-log code { background: none; border: 0; padding: 0; color: var(--fg); }
.v-log i { margin-left: auto; font-style: normal; color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.v-log em { font: 700 10.5px var(--mono); font-style: normal; padding: 2px 7px; border-radius: 6px; }
.v-log .bad { color: var(--rose); background: color-mix(in srgb, var(--rose) 14%, transparent); }
.v-log .info { color: var(--sky); background: color-mix(in srgb, var(--sky) 14%, transparent); }
.v-log .ok { color: var(--accent); background: var(--accent-soft); }
.v-log .v-check { color: var(--accent); font-weight: 700; font-size: 14px; }

.v-cost-top { display: flex; align-items: baseline; gap: 8px; }
.v-cost-top b { font-size: 24px; color: var(--fg); font-variant-numeric: tabular-nums; }
.v-cost-top span { color: var(--muted); }
.v-meter { height: 7px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.v-meter i { display: block; height: 100%; width: 24%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--rose)); }
.v-spark { width: 100%; height: 40px; }
.v-spark path { fill: none; stroke: var(--amber); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

.v-notify { gap: 8px; }
.v-toast { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.v-toast div { display: grid; min-width: 0; }
.v-toast b { color: var(--fg); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-toast span:not(.v-app) { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-toast em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 11px; }
.v-app { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; background: conic-gradient(from 210deg, #c6f24e, #4cc9f0, #ff4fa3, #c6f24e); }
.v-toast-2 { opacity: 0.6; scale: 0.96; }

.v-host { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.v-host i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-weight: 700; font-size: 11px; }
.v-host.ok i { color: var(--teal); background: color-mix(in srgb, var(--teal) 16%, transparent); }
.v-host.no i { color: var(--rose); background: color-mix(in srgb, var(--rose) 16%, transparent); }
.v-host code { background: none; border: 0; padding: 0; color: var(--fg); }
.v-host.no code { text-decoration: line-through; text-decoration-color: var(--rose); color: var(--muted); }
.v-host small { justify-self: end; color: var(--muted); font-size: 11.5px; }

.v-routines { gap: 7px; }
.v-chip { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--fg-2); }
.v-chip b { font: 600 11px var(--mono); color: var(--sky); background: color-mix(in srgb, var(--sky) 12%, transparent); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }

.v-update { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 12px; }
.v-ver { font: 600 13px var(--mono); padding: 5px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.v-new { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.v-arrow { color: var(--muted); }
.v-signed { margin-left: auto; font: 600 11.5px var(--sans); color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .bento article.in .v-log { animation: slide-in 0.5s both; }
  .bento article.in .v-log:nth-child(2) { animation-delay: 0.5s; }
  .bento article.in .v-log:nth-child(3) { animation-delay: 1s; }
  .bento article.in .v-check { animation: pop-check 0.5s 1.4s both; }
  .bento article.in .v-meter i { animation: meter 1.4s 0.3s cubic-bezier(.2,.8,.2,1) both; }
  .bento article.in .v-spark path { stroke-dasharray: 400; animation: spark 1.6s 0.3s ease-out both; }
  .bento article.in .v-toast:first-child { animation: toast-in 0.6s 0.4s cubic-bezier(.2,.9,.3,1.3) both; }
  .bento article.in .v-host { animation: slide-in 0.5s both; }
  .bento article.in .v-host:nth-child(2) { animation-delay: 0.25s; }
  .bento article.in .v-host:nth-child(3) { animation-delay: 0.5s; }
  .bento article.in .v-chip { animation: slide-in 0.5s both; }
  .bento article.in .v-chip:nth-child(2) { animation-delay: 0.2s; }
  .bento article.in .v-chip:nth-child(3) { animation-delay: 0.4s; }
  .bento article.in .v-new { animation: pop-check 0.5s 0.6s both; }
}
@keyframes slide-in { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes pop-check { from { opacity: 0; scale: 0.5; } to { opacity: 1; scale: 1; } }
@keyframes meter { from { width: 0; } }
@keyframes spark { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes toast-in { from { opacity: 0; translate: 0 -14px; scale: 0.95; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* the control plane, drawn: a chat in front, spending and backups behind */
.cp-stage { position: relative; height: 560px; margin-top: 20px; perspective: 1600px; }
.cp-stage::before { content: ''; position: absolute; left: 15%; right: 15%; top: 25%; bottom: 0; border-radius: 50%; background: radial-gradient(closest-side, var(--aurora-2), transparent); filter: blur(30px); }
.cp { position: absolute; border-radius: 14px; overflow: hidden; border: 1px solid #232624; background: #0a0b0b; color: #ececea; box-shadow: var(--shadow-lg); font-size: 11.5px; }
.cp .browser-bar { background: #0f1110; border-color: #232624; color: #8b908c; }
.cp .browser-bar span { background: #121413; border-color: #232624; }
.cp-spend { left: 0; top: 20px; width: 50%; transform: rotateY(16deg) rotateZ(-1.5deg); transform-origin: right center; filter: brightness(0.82); }
.cp-backups { right: 0; top: 40px; width: 50%; transform: rotateY(-16deg) rotateZ(1.5deg); transform-origin: left center; filter: brightness(0.82); }
.cp-chat { left: 50%; top: 120px; width: 60%; transform: translateX(-50%); z-index: 2; box-shadow: 0 40px 120px color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-lg); }
.js .cp-chat.reveal { translate: 0 30px; }
.js .cp-chat.reveal.in { translate: 0 0; }
.cp-body { display: grid; grid-template-columns: 112px 1fr; min-height: 300px; }
.cp-nav { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-right: 1px solid #1c1f1d; background: #0d0f0e; }
.cp-nav b { display: flex; align-items: center; gap: 6px; margin: 0 4px 10px; font-size: 11.5px; }
.cp-logo { width: 14px; height: 14px; border-radius: 4px; background: conic-gradient(from 210deg, #c6f24e, #4cc9f0, #ff4fa3, #c6f24e); }
.cp-item { padding: 4px 8px; border-radius: 6px; color: #8b908c; font-size: 10.5px; }
.cp-item.on { color: #ececea; background: #171a18; box-shadow: inset 2px 0 0 #4ade80; }
.cp-main { padding: 14px 16px; min-width: 0; }
.cp-h { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.cp-btn { padding: 3px 9px; border-radius: 6px; background: #4ade80; color: #052e12; font-size: 10px; }
.cp-panel { border: 1px solid #232624; border-radius: 9px; background: #121413; padding: 10px 12px; margin-bottom: 8px; }
.cp-k { color: #8b908c; font-size: 10px; font-weight: 600; }
.cp-big { font-size: 22px; font-weight: 700; margin: 2px 0 8px; }
.cp-bars { display: flex; align-items: flex-end; gap: 4px; height: 84px; }
.cp-bars i { flex: 1; max-width: 12px; border-radius: 2px 2px 0 0; background: linear-gradient(#4ade80, #2dd4bf); opacity: 0.85; }
.cp-rows { display: grid; gap: 7px; }
.cp-rows span { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 8px; text-align: right; }
.cp-rows b { text-align: left; font-weight: 500; }
.cp-rows i { height: 5px; border-radius: 3px; background: #1c1f1d; position: relative; overflow: hidden; }
.cp-rows i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #4ade80; border-radius: 3px; }
.cp-list { display: grid; gap: 0; padding: 4px 12px; }
.cp-list span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; padding: 8px 0; border-top: 1px solid #1c1f1d; }
.cp-list span:first-child { border-top: 0; }
.cp-list small { grid-column: 2; color: #8b908c; font-size: 9.5px; }
.cp-list em { font: 600 9px var(--mono); font-style: normal; padding: 2px 6px; border-radius: 5px; align-self: start; }
.t-gen { color: #9aa0a6; background: #1c1f1d; } .t-day { color: #7dd3fc; background: rgba(56, 189, 248, 0.12); } .t-you { color: #93c5fd; background: rgba(59, 130, 246, 0.14); }
.cp-chatlog { display: grid; gap: 12px; align-content: start; font-size: 12px; line-height: 1.5; }
.cp-msg { display: flex; gap: 8px; }
.cp-user { justify-self: end; display: grid; gap: 6px; max-width: 78%; padding: 8px 11px; border-radius: 12px 12px 4px 12px; background: #121413; border: 1px solid #232624; }
.cp-user small { color: #8b908c; font-size: 10px; }
.cp-shot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 150px; padding: 6px; border-radius: 6px; background: #0d1020; border: 1px solid #2a2f52; }
.cp-shot i { height: 22px; border-radius: 3px; background: #4cc9f0; }
.cp-shot i:nth-child(2) { background: #b9a7ff; }
.cp-shot i.hot { background: #ff4fa3; box-shadow: 0 0 8px rgba(255, 79, 163, 0.7); }
.cp-av { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; background: conic-gradient(from 210deg, #c6f24e, #4cc9f0, #ff4fa3, #c6f24e); }
.cp-seed > div { color: #c9cbc8; min-width: 0; }
.cp-evo { margin-top: 8px; padding: 10px 12px; border-radius: 9px; border: 1px solid #232624; background: #121413; }
.cp-evo-h { display: flex; justify-content: space-between; font: 600 9.5px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #8b908c; }
.cp-evo-h em { font: 600 9.5px var(--mono); font-style: normal; text-transform: none; letter-spacing: 0; color: #4ade80; background: rgba(74, 222, 128, 0.1); padding: 1px 7px; border-radius: 999px; }
.cp-evo b { display: block; margin: 4px 0 8px; color: #ececea; font-size: 12.5px; }
.cp-phases { display: flex; gap: 3px; }
.cp-phases i { flex: 1; height: 4px; border-radius: 2px; background: #4ade80; }
.cp-evo-f { display: flex; justify-content: space-between; margin-top: 6px; color: #8b908c; font-size: 10.5px; }
.cp-gen { margin-top: 8px; padding: 6px 9px; border-radius: 7px; background: #171a18; color: #ececea; font-weight: 600; font-size: 11px; }
.cp-gen code { background: #0a0b0b; border-color: #232624; color: #c9cbc8; font-size: 10px; }
.cp-gen .dot { width: 6px; height: 6px; box-shadow: none; margin-right: 4px; }

/* under the hood */
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.two h2 { margin-bottom: 20px; }
.two p { color: var(--fg-2); }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--fg-2); }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

/* final */
.final { text-align: center; padding: 120px 0; }
.final-sprout { width: 64px; height: 64px; margin-bottom: 18px; transform-origin: 50% 90%; }
@media (prefers-reduced-motion: no-preference) { .final-sprout { animation: breeze 4s ease-in-out infinite alternate; } }
@keyframes breeze { from { transform: rotate(-6deg); } to { transform: rotate(6deg) scale(1.05); } }
.final h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 28px; }
.install-center { margin: 0 auto 16px; }

.footer { border-top: 1px solid var(--border); padding: 28px 0; background: color-mix(in srgb, var(--bg) 80%, transparent); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--fg-2); }

@media (max-width: 960px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid, .two, .split { grid-template-columns: 1fr; gap: 40px; }
  .split-rev .split-copy { order: 0; }
  .hero-stage { height: 420px; }
  .stages { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .vine { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento article, .bento .b-wide, .bento article:nth-child(5), .bento article:nth-child(6) { grid-column: span 1; }
  .bento .b-wide { grid-column: span 2; }
  .cp-stage { height: auto; display: grid; gap: 18px; perspective: none; }
  .cp { position: static; width: 100%; transform: none; filter: none; }
  .cp-spend, .cp-backups { display: none; }
  .cp-stage::before { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav-links a:not(.btn) { display: none; }
  .stages { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento article, .bento .b-wide { grid-column: span 1; }
  .v-host small { display: none; }
  .gens { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .gens-line { display: none; }
  .section { padding: 72px 0; }
  .lead { font-size: 17px; }
  .f-evo { width: 230px; }
  .mock-app { height: 360px; }
  .g-hero span { display: none; }
}

/* ---------- docs ---------- */
.wrap-wide { max-width: 1320px; }
.brand-sub { margin-left: 2px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }
.aurora-quiet i { opacity: 0.5; }
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 210px; gap: 48px; padding-top: 40px; padding-bottom: 80px; }
.docs-home { grid-template-columns: 220px minmax(0, 1fr); }
.docs-nav { position: sticky; top: 86px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 14px; }
.docs-nav ul { list-style: none; margin: 0 0 18px; padding: 0; }
.docs-group { margin: 0 0 6px; font: 700 11.5px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.docs-nav a { display: block; padding: 5px 10px; border-radius: 7px; color: var(--fg-2); }
.docs-nav a:hover { background: var(--surface-2); color: var(--fg); text-decoration: none; }
.docs-nav a.current { background: var(--accent-soft); color: var(--accent); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
.docs-toc { position: sticky; top: 86px; align-self: start; font-size: 13px; }
.docs-toc p { margin: 0 0 8px; font: 700 11.5px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.docs-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.docs-toc li a { display: block; padding: 3px 0 3px 12px; color: var(--muted); }
.docs-toc li a:hover { color: var(--fg); text-decoration: none; }
.docs-toc .toc-3 a { padding-left: 24px; font-size: 12.5px; }

.prose { min-width: 0; max-width: 780px; font-size: 16px; line-height: 1.72; color: var(--fg-2); }
.prose h1 { font-size: 40px; font-weight: 760; letter-spacing: -0.03em; color: var(--fg); margin: 0 0 18px; }
.prose h2 { font-size: 25px; font-weight: 700; color: var(--fg); margin: 44px 0 12px; padding-top: 6px; scroll-margin-top: 80px; }
.prose h3 { font-size: 19px; color: var(--fg); margin: 30px 0 10px; scroll-margin-top: 80px; }
.prose h4 { font-size: 16px; color: var(--fg); margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose li { margin: 4px 0; }
.prose strong { color: var(--fg); }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.prose blockquote { margin: 0 0 18px; padding: 10px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; color: var(--fg); }
.prose blockquote p:last-child { margin: 0; }
.prose pre { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); overflow-x: auto; font-size: 13.5px; line-height: 1.55; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; color: var(--fg); }
.prose table { width: 100%; margin: 0 0 20px; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 8px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { color: var(--fg); font-weight: 600; background: var(--surface-2); }
.prose td code, .prose th code { white-space: nowrap; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.prose img { max-width: 100%; border-radius: 10px; }
.prose pre.mermaid { background: var(--surface); text-align: center; }
.lead-sm { font-size: 18px; color: var(--fg-2); max-width: 40em; }
.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 8px; }
.docs-card { display: grid; gap: 4px; padding: 14px 16px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); text-decoration: none !important; transition: border-color 0.15s, transform 0.15s; }
.docs-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.docs-card b { color: var(--fg); }
.docs-card span { color: var(--muted); font-size: 14px; }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
.docs-pager a { display: grid; gap: 2px; padding: 12px 16px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); font-weight: 600; text-decoration: none !important; }
.docs-pager a span { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.docs-pager a:hover { border-color: var(--accent-line); }
.docs-pager .next { text-align: right; grid-column: 2; }
.docs-edit { margin-top: 18px; font-size: 13.5px; }
@media (max-width: 1100px) { .docs-layout { grid-template-columns: 200px minmax(0, 1fr); } .docs-toc { display: none; } }
@media (max-width: 760px) {
  .docs-layout, .docs-home { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .docs-nav { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .docs-nav ul { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 8px; }
  .docs-group { width: 100%; }
  .prose h1 { font-size: 32px; }
}
/* diagrams in the docs */
.prose figure.diagram { position: relative; margin: 0 0 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.diagram-scroll { overflow-x: auto; padding: 22px 18px 16px; }
.diagram-scroll pre.mermaid { margin: 0; padding: 0; border: 0; background: none; text-align: center; }
.diagram-scroll svg { display: block; margin: 0 auto; min-width: 620px; height: auto; }
.diagram-expand { position: absolute; top: 10px; right: 10px; height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface-2); color: var(--fg-2); font: 600 12px var(--sans); cursor: pointer; }
.diagram-expand:hover { color: var(--fg); border-color: var(--accent); }
.diagram-dialog { width: min(96vw, 1600px); max-height: 92vh; padding: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--fg); box-shadow: var(--shadow-lg); }
.diagram-dialog::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
.diagram-big { display: grid; place-items: center; padding: 44px 28px 28px; overflow: auto; max-height: 92vh; }
.diagram-big svg { display: block; max-width: none; }
.diagram-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); color: var(--fg); font-size: 18px; cursor: pointer; z-index: 1; }

/* put it online */
.host-steps { align-self: center; display: grid; gap: 18px; min-width: 0; }
.host-cmd code { font-size: 12.5px; }
