/* =========================================================================
   getboxed — landing page styles
   Visual system: Catppuccin Macchiato (dark, medium-contrast pastel).
   Source tokens: catppuccin colors_and_type.css (palette.json evidence).
   Posture: dark product canvas, mauve primary action, blue links,
   rainbow accent bar as the single signature flourish, mono for code/IDs.
   ========================================================================= */

/* ---- 1. Tokens (Catppuccin Macchiato) --------------------------------- */
:root {
  --ctp-rosewater: #f4dbd6;
  --ctp-flamingo: #f0c6c6;
  --ctp-pink: #f5bde6;
  --ctp-mauve: #c6a0f6;
  --ctp-red: #ed8796;
  --ctp-maroon: #ee99a0;
  --ctp-peach: #f5a97f;
  --ctp-yellow: #eed49f;
  --ctp-green: #a6da95;
  --ctp-teal: #8bd5ca;
  --ctp-sky: #91d7e3;
  --ctp-sapphire: #7dc4e4;
  --ctp-blue: #8aadf4;
  --ctp-lavender: #b7bdf8;
  --ctp-text: #cad3f5;
  --ctp-subtext1: #b8c0e0;
  --ctp-subtext0: #a5adcb;
  --ctp-overlay2: #939ab7;
  --ctp-overlay1: #8087a2;
  --ctp-overlay0: #6e738d;
  --ctp-surface2: #5b6078;
  --ctp-surface1: #494d64;
  --ctp-surface0: #363a4f;
  --ctp-base: #24273a;
  --ctp-mantle: #1e2030;
  --ctp-crust: #181926;

  --bg: var(--ctp-base);
  --bg-2: var(--ctp-mantle);
  --bg-3: var(--ctp-crust);
  --surface: var(--ctp-surface0);
  --surface-2: var(--ctp-surface1);
  --fg: var(--ctp-text);
  --muted: var(--ctp-subtext0);
  --muted-2: var(--ctp-subtext1);
  --faint: var(--ctp-overlay1);
  --border: color-mix(in srgb, var(--ctp-surface0), var(--ctp-mantle) 30%);
  --border-strong: var(--ctp-surface2);
  --accent: var(--ctp-mauve);
  --link: var(--ctp-blue);
  --success: var(--ctp-green);
  --warning: var(--ctp-yellow);
  --danger: var(--ctp-red);
  --on-accent: var(--ctp-crust);

  --font-display: -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --shadow: 0 24px 60px rgb(24 25 38 / 0.45);
  --shadow-sm: 0 8px 24px rgb(24 25 38 / 0.35);
  --ring: 0 0 0 3px color-mix(in srgb, var(--accent), transparent 60%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* eve-derived motion curves */
  --ease-quint: cubic-bezier(0.23, 1, 0.32, 1);   /* reveals — hard ease-out, snappy then settle */
  --ease-vercel: cubic-bezier(0.32, 0.72, 0, 1);  /* entrances / overlays — house curve */
}

/* ---- 2. Reset / base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: color-mix(in srgb, var(--accent), transparent 70%); }

h1, h2, h3, h4 { color: var(--fg); font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
code, kbd, pre { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- 3. Layout helpers ------------------------------------------------ */
.wrap { width: min(100%, calc(var(--maxw) + 2 * var(--pad))); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 140px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: clamp(17px, 2.2vw, 19px); color: var(--muted); }
.text-mauve { color: var(--ctp-mauve); }
.text-blue { color: var(--ctp-blue); }
.text-teal { color: var(--ctp-teal); }
.text-peach { color: var(--ctp-peach); }

/* rainbow accent bar — the signature flourish, used sparingly */
.accent-bar {
  height: 5px; width: 100%; border-radius: var(--radius-pill);
  background-image: linear-gradient(90deg,
    var(--ctp-rosewater), var(--ctp-flamingo), var(--ctp-pink), var(--ctp-mauve),
    var(--ctp-red), var(--ctp-maroon), var(--ctp-peach), var(--ctp-yellow),
    var(--ctp-green), var(--ctp-teal), var(--ctp-sky), var(--ctp-sapphire),
    var(--ctp-blue), var(--ctp-lavender));
}

/* ---- 4. Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background-position 0.4s var(--ease), border-color 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(120deg, var(--ctp-pink), var(--ctp-mauve));
  background-size: 160% 100%; color: var(--on-accent);
}
.btn-primary:hover { background-position: 100% 0; }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent), transparent 92%); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---- 5. Nav ----------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-2), transparent 18%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--fg); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; }
.brand b { color: var(--accent); }
/* inline brand wordmark in body copy — keeps weight + split color */
.bx { font-weight: 600; color: var(--fg); white-space: nowrap; }
.bx b { font-weight: 600; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--fg); cursor: pointer; padding: 8px; }

/* ---- 6. Hero ---------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 380px at 78% -8%, color-mix(in srgb, var(--ctp-mauve), transparent 80%), transparent 70%),
    radial-gradient(560px 360px at 8% 4%, color-mix(in srgb, var(--ctp-blue), transparent 86%), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 70px); font-weight: 850; letter-spacing: -0.03em; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--ctp-pink), var(--ctp-mauve) 45%, var(--ctp-blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lede { margin-top: 22px; font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 33ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; font-size: 14px; color: var(--faint); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }

/* hero console mock */
.console {
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background: var(--bg-3); box-shadow: var(--shadow); overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.console-bar .lights { display: flex; gap: 7px; }
.console-bar .lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.console-bar .url {
  margin-left: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--muted);
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 5px 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.console-bar .url b { color: var(--ctp-mauve); }
.console-body { padding: 18px; display: grid; gap: 12px; }
.pipe-step { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-2); opacity: 0.35; transition: opacity 0.4s var(--ease), border-color 0.4s; }
.pipe-step.on { opacity: 1; border-color: color-mix(in srgb, var(--success), transparent 55%); }
.pipe-step .ico { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--ctp-mauve), transparent 84%); color: var(--ctp-mauve); font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.pipe-step .label { font-size: 14px; color: var(--fg); font-weight: 600; }
.pipe-step .sub { font-size: 12.5px; color: var(--faint); font-family: var(--font-mono); }
.pipe-step .check { margin-left: auto; color: var(--success); font-size: 16px; opacity: 0; transition: opacity 0.3s; }
.pipe-step.on .check { opacity: 1; }
.pipe-step.run .label::after { content: ""; }

/* ---- 7. Logos / trust strip ------------------------------------------ */
.strip { border-block: 1px solid var(--border); background: var(--bg-2); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding-block: 22px; }
.strip p { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.strip .chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- 8. How it works -------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-2); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.1em;
}
.step h3 { font-size: 19px; margin-top: 12px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.step .tag { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--faint); }

/* ---- 9. Feature grid -------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-2); transition: transform 0.25s var(--ease), border-color 0.25s; }
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature .fico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { font-size: 18px; }
.feature p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.feature.span2 { grid-column: span 2; }

/* ---- 10. Use cases (tabs) -------------------------------------------- */
.usecase { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 12px; }
.tab {
  text-align: left; cursor: pointer; padding: 20px 22px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-2);
  transition: border-color 0.2s, background 0.2s; color: inherit;
}
.tab:hover { border-color: var(--border-strong); }
.tab[aria-selected="true"] { border-color: color-mix(in srgb, var(--accent), transparent 40%); background: color-mix(in srgb, var(--accent), transparent 92%); }
.tab .tabhead { display: flex; align-items: center; gap: 11px; }
.tab .badge { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); }
.tab h3 { font-size: 18px; }
.tab p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.tab[aria-selected="false"] p { display: none; }
.panel { position: relative; height: 380px; }
.panelview { position: absolute; inset: 0; overflow: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-3); box-shadow: var(--shadow-sm); }
.panelview .pv-bar { padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.panelview .pv-body { padding: 18px; display: grid; gap: 12px; }
.chatline { display: flex; gap: 10px; align-items: flex-start; }
.chatline .who { font-family: var(--font-mono); font-size: 12px; padding: 4px 9px; border-radius: 6px; flex: none; font-weight: 700; }
.chatline .who.u { background: color-mix(in srgb, var(--ctp-blue), transparent 86%); color: var(--ctp-blue); }
.chatline .who.a { background: color-mix(in srgb, var(--ctp-mauve), transparent 86%); color: var(--ctp-mauve); }
.chatline .msg { font-size: 14px; color: var(--fg); }
.toolcall { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); padding: 9px 12px; border: 1px dashed var(--border-strong); border-radius: 8px; }
.toolcall .ok { color: var(--success); margin-left: auto; }
.usage { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }

/* ---- 11. Code section ------------------------------------------------- */
.code-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.codecard { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-3); box-shadow: var(--shadow); overflow: hidden; }
.codecard .cc-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.codecard .cc-bar .fname { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.codecard .cc-bar .copy { margin-left: auto; }
.codecard pre { margin: 0; padding: 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.75; }
.codecard code { background: none; padding: 0; color: var(--fg); }
/* file-tab bar (code viewer) */
.codecard .ftabs { display: flex; gap: 2px; padding: 8px 8px 0; background: var(--bg-2); border-bottom: 1px solid var(--border); overflow-x: auto; }
.codecard .ftab {
  flex: none; cursor: pointer; border: 0; background: transparent;
  color: var(--muted); font-family: var(--font-mono); font-size: 12.5px;
  padding: 9px 12px; border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 2px solid transparent; transition: color 0.15s var(--ease-quint), background 0.15s, border-color 0.15s;
}
.codecard .ftab:hover { color: var(--fg); }
.codecard .ftab[aria-selected="true"] { color: var(--fg); background: var(--bg-3); border-bottom-color: var(--accent); }
.codecard .fpane[hidden] { display: none; }
.tok-key { color: var(--ctp-mauve); }
.tok-fn { color: var(--ctp-blue); }
.tok-str { color: var(--ctp-green); }
.tok-com { color: var(--ctp-overlay1); font-style: italic; }
.tok-prop { color: var(--ctp-lavender); }
.code-points { display: grid; gap: 18px; }
.code-point { display: flex; gap: 14px; }
.code-point .cp-ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--ctp-blue), transparent 86%); color: var(--ctp-blue); }
.code-point h4 { font-size: 16px; }
.code-point p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---- 12. Showcase gallery -------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-2); overflow: hidden; transition: transform 0.25s var(--ease), border-color 0.25s; }
.shot:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.shot .shot-top { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 9px; }
.shot .shot-top .dotrow { display: flex; gap: 5px; }
.shot .shot-top .dotrow i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.shot .shot-top span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.shot .shot-body { padding: 18px; min-height: 168px; display: grid; gap: 10px; align-content: start; }
.shot .shot-cap { padding: 14px 16px; border-top: 1px solid var(--border); }
.shot .shot-cap h4 { font-size: 15px; }
.shot .shot-cap p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.mini { height: 9px; border-radius: 5px; background: var(--surface); }
.mini.w70 { width: 70%; } .mini.w50 { width: 50%; } .mini.w90 { width: 90%; } .mini.w40 { width: 40%; }
.mini.mauve { background: color-mix(in srgb, var(--ctp-mauve), transparent 40%); }
.mini.blue { background: color-mix(in srgb, var(--ctp-blue), transparent 40%); }
.mini.green { background: color-mix(in srgb, var(--ctp-green), transparent 40%); }
.statrow { display: flex; gap: 10px; margin-top: 4px; }
.statbox { flex: 1; border: 1px solid var(--border); border-radius: 9px; padding: 11px; background: var(--bg-3); }
.statbox b { display: block; font-family: var(--font-mono); font-size: 19px; color: var(--fg); }
.statbox small { font-size: 11px; color: var(--faint); }
.palette-strip { border-radius: 8px; overflow: hidden; }

/* ---- 13. Final CTA ---------------------------------------------------- */
.cta {
  position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 300px at 80% 10%, color-mix(in srgb, var(--ctp-mauve), transparent 78%), transparent 70%),
    radial-gradient(460px 280px at 5% 90%, color-mix(in srgb, var(--ctp-blue), transparent 84%), transparent 70%),
    var(--bg-2);
  padding: clamp(40px, 7vw, 76px) clamp(28px, 6vw, 64px); text-align: center; overflow: hidden;
}
.cta h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 850; max-width: 16ch; margin-inline: auto; }
.cta p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 52ch; margin-inline: auto; }
.cta-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.cta-form input {
  min-height: 48px; min-width: 280px; flex: 0 1 320px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  background: var(--bg-3); color: var(--fg); padding: 0 20px; font-size: 15px;
}
.cta-form input::placeholder { color: var(--ctp-overlay2); }
.cta-form input:focus { outline: 0; border-color: var(--accent); box-shadow: var(--ring); }
.cta-note { margin-top: 16px; font-size: 13px; color: var(--faint); }
.cta-ok { margin-top: 20px; color: var(--success); font-size: 15px; font-weight: 600; display: none; }
.cta-ok.show { display: block; }

/* ---- 14. Footer ------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; padding-block: 40px; }
.footer .brand { margin-bottom: 12px; }
.footer .fcol h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.footer .fcol a { display: block; color: var(--muted-2); font-size: 14px; margin-bottom: 8px; }
.footer .fcol a:hover { color: var(--fg); text-decoration: none; }
.footer .left { max-width: 320px; }
.footer .left p { font-size: 14px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .wrap { padding-block: 18px; font-size: 13px; color: var(--faint); justify-content: space-between; }

/* ---- 15. Reveal animation (eve: ~0.5s, ease-quint, staggered) -------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s var(--ease-quint), transform 0.55s var(--ease-quint);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ambient hero glow drift — eve's slow 15-24s background motion */
@keyframes glow-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
.hero::before { animation: glow-drift 22s var(--ease) infinite; will-change: transform; }

/* terminal cursor — eve's command-line feel */
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.console .url .caret {
  display: inline-block; width: 7px; height: 1.05em; margin-left: 3px;
  vertical-align: -2px; background: var(--ctp-mauve); border-radius: 1px;
  animation: caret-blink 1.1s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .console .url .caret { animation: none; opacity: 1; }
  .reveal { transition-delay: 0ms !important; }
}

/* ---- 15b. eve-adapted layout: centered hero ------------------------- */
.hero-centered { text-align: center; }
.hero-intro { max-width: 760px; margin-inline: auto; }
.hero-centered .hero-lede { max-width: 56ch; margin-inline: auto; }
.hero-centered .hero-cta,
.hero-centered .hero-meta { justify-content: center; }
.hero-console-wrap { max-width: 920px; margin: clamp(40px, 6vw, 64px) auto 0; text-align: left; }

/* ---- 15c. eve-adapted: numbered walkthrough (alternating rows) ------- */
.walkthrough { display: grid; gap: clamp(28px, 5vw, 56px); }
.wk-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.wk-row.wk-rev .wk-text { order: 2; }
.wk-text .wk-num {
  display: inline-block; font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--accent); margin-bottom: 12px;
  padding: 4px 10px; border: 1px solid color-mix(in srgb, var(--accent), transparent 60%);
  border-radius: var(--radius-pill);
}
.wk-text h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.wk-text p { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 44ch; }
.wk-text .tag { margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--faint); }
.wk-visual .console { box-shadow: var(--shadow-sm); }

/* ---- 15d. eve-adapted: bento feature grid --------------------------- */
.features.bento { grid-auto-flow: dense; }
.features.bento .b-wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; }
.features.bento .b-wide h3 { font-size: 22px; }
.features.bento .b-wide p { font-size: 16px; max-width: 52ch; }

/* ---- 16. Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature.span2, .features.bento .b-wide { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lede { max-width: 46ch; }
  .usecase, .code-grid { grid-template-columns: 1fr; }
  .code-grid .codecard { order: 2; }
  .wk-row, .wk-row.wk-rev { grid-template-columns: 1fr; gap: 24px; }
  .wk-row.wk-rev .wk-text { order: 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav[data-open="true"] .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 64px;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 14px var(--pad);
  }
  .nav[data-open="true"] .nav-links a { padding: 10px 0; }
}
@media (max-width: 640px) {
  .features, .gallery, .feature.span2, .features.bento .b-wide { grid-template-columns: 1fr; grid-column: auto; }
  .hero-cta .btn, .cta-form input, .cta-form .btn { width: 100%; }
  .cta-form input { min-width: 0; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 400px) {
  .steps { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
