/* Pathledge — shared styles. Layout language adapted from the getlayers.ai "Relay" template:
   one accent, glass cards, a badge + title section head with one serif italic word,
   and mono labels. Dark and light themes. */

:root {
  --bg: #07060d; --bg-deep: #0b0916; --surface: #12101e; --surface-2: #1a1730;
  --glass: rgba(22, 19, 40, 0.55); --glass-edge: rgba(255, 255, 255, 0.09);
  --border: #272339; --border-strong: #3b3558;
  --text: #dcd8ee; --heading: #ffffff; --muted: #a7a1c0; --dim: #77708f; --title-to: #c9c2ea;
  --accent: #b9a6ff; --accent-fill: #c8ff2e; --accent-fill-hover: #dbff70; --on-accent: #0b0a14;
  --accent-soft: rgba(124, 92, 255, 0.18); --accent-word: #ff7ad9;
  --btn-glow: 0 0 0 1px rgba(200, 255, 46, 0.35), 0 10px 34px -8px rgba(200, 255, 46, 0.55);
  --grad: linear-gradient(100deg, #8b6cff, #ff4ecd 40%, #ffb347 75%, #8b6cff);
  --c1: #7c5cff; --c2: #ff4ecd; --c3: #22d3ee; --c4: #ffb347;
  --aurora: 0.5;
  --green: #34d399; --green-bg: rgba(16, 185, 129, 0.14);
  --amber: #fbbf24; --amber-bg: rgba(245, 158, 11, 0.14);
  --red: #f87171;   --red-bg: rgba(239, 68, 68, 0.14);
  --grey-bg: rgba(154, 162, 177, 0.14);
  --shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(7, 6, 13, 0.7);
  --backdrop: radial-gradient(60rem 36rem at 78% -6%, rgba(124, 92, 255, 0.28), transparent 62%),
              radial-gradient(44rem 30rem at 4% 14%, rgba(255, 78, 205, 0.12), transparent 60%);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 16px;
  --page: 72rem;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: dark;
}
/* Dark is the default; light is opt-in from the nav toggle. */
:root[data-theme="light"] {
  --bg: #faf9ff; --bg-deep: #f0edfb; --surface: #ffffff; --surface-2: #f5f3fc;
  --glass: rgba(255, 255, 255, 0.75); --glass-edge: rgba(30, 16, 80, 0.1);
  --border: #e6e1f4; --border-strong: #d2cbe8;
  --text: #3d3655; --heading: #120b2a; --muted: #5c5577; --dim: #7b7495; --title-to: #3a2f66;
  --accent: #6d3bff; --accent-fill: #6d3bff; --accent-fill-hover: #5a27f0; --on-accent: #ffffff;
  --accent-soft: rgba(109, 59, 255, 0.09); --accent-word: #d6249f;
  --btn-glow: 0 0 0 1px rgba(109, 59, 255, 0.3), 0 10px 30px -8px rgba(109, 59, 255, 0.55);
  --grad: linear-gradient(100deg, #6d3bff, #e0249f 40%, #f97316 75%, #6d3bff);
  --aurora: 0.28;
  --green: #047857; --green-bg: rgba(16, 185, 129, 0.13);
  --amber: #b45309; --amber-bg: rgba(245, 158, 11, 0.16);
  --red: #b91c1c;   --red-bg: rgba(239, 68, 68, 0.11);
  --grey-bg: rgba(106, 114, 130, 0.12);
  --shadow: 0 10px 28px -12px rgba(40, 20, 110, 0.25);
  --nav-bg: rgba(250, 249, 255, 0.78);
  --backdrop: radial-gradient(60rem 36rem at 78% -6%, rgba(109, 59, 255, 0.14), transparent 62%),
              radial-gradient(44rem 30rem at 4% 14%, rgba(224, 36, 159, 0.07), transparent 60%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code, .mono { font-family: var(--mono); font-size: 0.86em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Backdrop */
.backdrop { position: absolute; inset: 0 0 auto 0; height: 70rem; background: var(--backdrop); pointer-events: none; z-index: 0; }
main, .nav, .site-footer { position: relative; z-index: 1; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-edge); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.brand small { font: 400 0.75rem/1 var(--mono); color: var(--dim); letter-spacing: 0; padding-left: 10px; border-left: 1px solid var(--border); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.nav-links a:hover { color: var(--heading); }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--heading); border-color: var(--border-strong); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .wrap { gap: 12px; } .nav .theme-toggle { margin-left: auto; } .brand small { display: none; } }

/* Buttons, badges, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 500 0.95rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 150ms var(--ease), transform 150ms var(--ease), border-color 150ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); box-shadow: var(--btn-glow); font-weight: 600; }
.btn-primary:hover { background: var(--accent-fill-hover); }
.btn-ghost { background: var(--glass); border-color: var(--border-strong); color: var(--heading); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.875rem; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 11px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--surface); box-shadow: var(--shadow); font: 500 0.8125rem/1.25rem var(--sans); letter-spacing: 0.025em; color: var(--muted); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font: 500 0.72rem/1.3rem var(--sans); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.green { color: var(--green); background: var(--green-bg); }
.pill.amber { color: var(--amber); background: var(--amber-bg); }
.pill.red { color: var(--red); background: var(--red-bg); }
.pill.blue { color: var(--accent); background: var(--accent-soft); }
.pill.grey { color: var(--muted); background: var(--grey-bg); }
.pill.plain::before { display: none; }

/* Type */
.display { font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; color: var(--heading); background: linear-gradient(180deg, var(--heading), var(--title-to)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-wrap: balance; padding-bottom: 0.08em; }
.display em { font: italic 400 1.1em/1 var(--serif); letter-spacing: -0.01em; -webkit-text-fill-color: var(--accent-word); color: var(--accent-word); }
h1.display { font-size: clamp(2.125rem, 5.2vw, 3.5rem); }
h2.display { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.125rem); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.label { font: 400 0.75rem/1.25rem var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.note { font-size: 0.875rem; color: var(--dim); }
strong { color: var(--heading); font-weight: 600; }

/* Sections */
section { padding-block: clamp(56px, 9vw, 112px); }
.head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.head > p { color: var(--muted); }
.head.solo { grid-template-columns: minmax(0, 46rem); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }
.slab { background: color-mix(in srgb, var(--bg-deep) 55%, transparent); border-block: 1px solid var(--glass-edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Cards and product panels */
.card { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--heading); letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 0.8125rem; line-height: 1.5; color: var(--text); overflow: hidden; min-width: 0; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); font: 400 0.72rem/1.2rem var(--mono); color: var(--dim); }
.panel-bar b { color: var(--heading); font-weight: 400; }
.panel-bar .sp { margin-left: auto; }
.panel-body { padding: 14px; display: grid; gap: 10px; }
.panel h4 { font-size: 0.9rem; font-weight: 600; color: var(--heading); letter-spacing: -0.005em; }
.panel .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); }
.panel .row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); }
.panel .row:first-child { border-top: 0; }
.panel .row .sp { margin-left: auto; }
.panel .k { font: 400 0.68rem/1.2rem var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: 0.07em; }
.panel .box { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--surface-2); display: grid; gap: 4px; }
.panel .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.panel .cols > div { padding: 14px; display: grid; gap: 10px; align-content: start; }
.panel .cols > div + div { border-left: 1px solid var(--border); }
@media (max-width: 520px) { .panel .cols { grid-template-columns: 1fr; } .panel .cols > div + div { border-left: 0; border-top: 1px solid var(--border); } }
.sd { font-family: var(--mono); color: var(--accent); white-space: nowrap; }
.check { color: var(--green); }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }
.signup { display: flex; gap: 8px; width: 100%; max-width: 30rem; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.signup input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; background: transparent; color: var(--heading); font: 400 1rem var(--sans); border-radius: 999px; }
.signup input::placeholder { color: var(--dim); }
.signup input:focus { outline: none; }
.signup:focus-within { border-color: var(--accent); }
@media (max-width: 460px) { .signup { flex-direction: column; border-radius: 22px; } .signup .btn { width: 100%; } }
.status { font-size: 0.875rem; color: var(--muted); }
.status .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; box-shadow: 0 0 0 3px var(--green-bg); }
.form-msg { font-size: 0.875rem; color: var(--red); min-height: 1.2em; }

/* Hero thread visual */
.trail { position: relative; padding: 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); min-height: 27rem; }
.trail-steps { position: relative; display: grid; gap: 12px; padding-left: 30px; margin-top: 14px; }
.trail-steps::before, .trail-steps::after { content: ""; position: absolute; left: 9px; top: 4px; bottom: 18px; width: 2px; border-radius: 2px; }
.trail-steps::before { background: var(--border); }
.trail-steps::after { background: var(--thread); box-shadow: 0 0 12px var(--thread-glow); transform-origin: top; transform: scaleY(0); }
.trail-step { position: relative; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-size: 0.8125rem; opacity: 0.28; }
.trail-step::before { content: ""; position: absolute; left: -26px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong); z-index: 1; }
.trail-step b { display: block; color: var(--heading); font-weight: 600; }
.trail-step span { color: var(--muted); }
.trail .panel { opacity: 0; transform: translateY(12px); }
.play .trail .panel { animation: rise 600ms var(--ease) 200ms forwards; }
.play .trail-steps::after { animation: draw 6.4s linear 900ms forwards; }
.play .trail-step { animation: lit 500ms var(--ease) forwards; }
.play .trail-step::before { animation: node 500ms var(--ease) forwards; animation-delay: inherit; }
.play .trail-step:nth-child(1) { animation-delay: 1.5s; }
.play .trail-step:nth-child(2) { animation-delay: 3.1s; }
.play .trail-step:nth-child(3) { animation-delay: 4.7s; }
.play .trail-step:nth-child(4) { animation-delay: 6.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleY(1); } }
@keyframes lit { to { opacity: 1; border-color: var(--border-strong); } }
@keyframes node { to { background: var(--thread); border-color: var(--thread); box-shadow: 0 0 0 4px var(--accent-soft); } }

/* Loop */
.loop { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); }
.loop::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--thread), var(--thread)) top / 100% var(--loop-fill, 0%) no-repeat, var(--border); border-radius: 2px; }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; padding-left: 60px; align-items: start; }
.step-n { position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-strong); font: 400 0.8rem var(--mono); color: var(--accent); }
.step h3 { font-size: 1.25rem; font-weight: 600; color: var(--heading); letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--muted); }
.step .note { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--border-strong); }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; padding-left: 52px; } }

/* Agent section */
.steps-list { display: grid; gap: 14px; counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding-left: 40px; color: var(--muted); }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); font: 400 0.75rem var(--mono); color: var(--accent); }
.duo { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--glass-edge); border-radius: var(--radius); overflow: hidden; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.duo > div { padding: 20px; }
.duo > div + div { border-left: 1px solid var(--glass-edge); background: var(--accent-soft); }
.duo h3 { font: 400 0.75rem/1.25rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 12px; }
.duo li { padding: 9px 0; border-top: 1px solid var(--glass-edge); font-size: 0.925rem; color: var(--text); }
.duo li:first-child { border-top: 0; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; } .duo > div + div { border-left: 0; border-top: 1px solid var(--glass-edge); } }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 2px; background: var(--accent); border-radius: 2px; }
.term { background: #0a0d12; border: 1px solid #2b313c; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.term-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #2b313c; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3b4250; }
.term pre { margin: 0; padding: 16px; font: 400 0.8125rem/1.7 var(--mono); color: #ccd2db; white-space: pre-wrap; overflow-wrap: anywhere; }
.term .p { color: #5b8cff; } .term .d { color: #9aa2b1; }
.term .wait { color: #fbbf24; animation: pulse 2s ease-in-out infinite; }
.term .stop { color: #f87171; animation: pulse 2s ease-in-out 1s infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

/* Fleet + proof */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tiles div { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; background: var(--surface-2); }
.tiles b { display: block; font-size: 1.1rem; color: var(--heading); }
.tiles span { font-size: 0.7rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; color: var(--heading); }
.stat b small { display: block; margin-top: 6px; font-size: 0.95rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--text); }
.stat span { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }
.quote { margin-top: 24px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--glass-edge); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.quote p { font: italic 400 clamp(1.3rem, 2.4vw, 1.75rem)/1.35 var(--serif); color: var(--heading); text-wrap: balance; }
.quote footer { margin-top: 14px; font: 400 0.8rem var(--mono); color: var(--muted); }
.honest { margin-top: 24px; max-width: 46rem; color: var(--text); }
.beta-line { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); max-width: 46rem; color: var(--muted); }
.plain-list { display: grid; gap: 12px; max-width: 46rem; }
.plain-list li { position: relative; padding-left: 22px; color: var(--muted); }
.plain-list li::before { content: "×"; position: absolute; left: 0; color: var(--dim); }
.also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.also li { padding: 14px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .also { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 50rem; border-bottom: 1px solid var(--border); }
.faq details { border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 500; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font: 400 1.25rem/1 var(--mono); color: var(--dim); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 44rem; }

/* Forms */
.form { display: grid; gap: 22px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-size: 0.9rem; font-weight: 500; color: var(--heading); padding: 0; }
.field > legend { margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--dim); }
.input { height: 46px; width: 100%; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--heading); font: 400 1rem var(--sans); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 0.875rem; }
.chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--heading); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.cta-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* Footer */
.agent-strip { border-top: 1px solid var(--border); padding: 18px 0; font: 400 0.8rem/1.6 var(--mono); color: var(--muted); }
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 44px; font-size: 0.875rem; color: var(--dim); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.site-footer nav { display: flex; gap: 18px; margin-left: auto; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--heading); }
@media (max-width: 640px) { .site-footer nav { margin-left: 0; width: 100%; } }

/* Plain pages */
.doc { padding-block: clamp(40px, 7vw, 80px); }
.doc .wrap { max-width: 46rem; display: grid; gap: 20px; }
.doc .badge, .doc .btn { justify-self: start; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.doc h2 { font-size: 1.25rem; font-weight: 600; color: var(--heading); letter-spacing: -0.02em; margin-top: 20px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { display: grid; gap: 10px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 8px; height: 2px; background: var(--accent); border-radius: 2px; }
.doc pre { margin: 0; padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); font: 400 0.8125rem/1.7 var(--mono); color: var(--text); white-space: pre-wrap; }
.callout { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--accent-soft); color: var(--text); font-size: 0.95rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 300ms ease-out, transform 300ms ease-out; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .trail .panel, .trail-step { opacity: 1 !important; transform: none !important; animation: none !important; }
  .trail-steps::after { transform: none !important; animation: none !important; }
  .trail-step::before { background: var(--thread); border-color: var(--thread); animation: none !important; }
  .term .wait, .term .stop { animation: none; }
}

/* Image-led home (v2) */
.hero-c { padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero-c .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-c h1 { max-width: 15em; }
.hero-c .lead { max-width: 38rem; }
.hero-c .signup { margin-top: 4px; }
.hero-c .form-msg:empty { display: none; }
.shot { margin: 0; border-radius: 14px; border: 1px solid var(--border-strong); background: #0d1117; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--glass-edge); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #161b22; border-bottom: 1px solid #2b313c; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3b4250; }
.shot-bar span { margin-left: 10px; font: 400 0.7rem/1 var(--mono); color: #6b7382; }
.shot img { width: 100%; height: auto; }
.hero-c .shot { width: 100%; margin-top: clamp(20px, 4vw, 44px); }
.feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 9vw, 120px); }
.feature.flip > .feature-copy { order: 2; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.feature-copy h2.display { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.feature-copy > p { color: var(--muted); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip > .feature-copy { order: 0; } }
.card.mini { padding: 20px; }
.card.mini h3 { margin-bottom: 6px; }
.stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-numbers { margin-top: 20px; max-width: 46rem; }
.about-numbers summary { cursor: pointer; color: var(--muted); font-size: 0.9rem; }
.about-numbers p { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass); font-size: 0.85rem; color: var(--muted); }
.cta-c .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }

/* Features: copy above, screenshot full width below so the product is readable */
.feature, .feature.flip { grid-template-columns: 1fr; gap: clamp(20px, 3vw, 36px); }
.feature.flip > .feature-copy { order: 0; }
.feature-copy { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(24px, 5vw, 64px); row-gap: 14px; align-items: start; }
.feature-copy > * { grid-column: 1; justify-self: start; }
.feature-copy > ul { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
.feature-copy > a { grid-column: 2; grid-row: 4; }
@media (max-width: 760px) { .feature-copy { grid-template-columns: 1fr; } .feature-copy > ul, .feature-copy > a { grid-column: 1; grid-row: auto; } }

/* ---- v3: electric ---- */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
@keyframes flow { to { background-position: 200% 50%; } }
@keyframes drift { to { transform: translate3d(6rem, 4rem, 0) scale(1.15); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 30; background: var(--grad); background-size: 200% 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Type: bigger, and the serif word carries the gradient */
h1.display { font-size: clamp(2.5rem, 7.2vw, 5.25rem); letter-spacing: -0.045em; line-height: 1; }
h2.display { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.04em; }
.feature-copy h2.display { font-size: clamp(1.9rem, 4vw, 3rem); }
.display em { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-right: 0.08em; animation: flow 6s linear infinite; }

.badge { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); }
.badge::before { background: var(--accent-fill); box-shadow: 0 0 0 0 var(--accent-fill); animation: ping 2s ease-out infinite; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); transform: translateX(-120%); transition: transform 600ms var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { transform: translateY(-1px); }
.signup { background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.signup:focus-within { border-color: var(--c1); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }

/* Hero */
.hero-c { position: relative; padding-top: clamp(48px, 8vw, 104px); }
.hero-c h1 { max-width: 12.5em; }
.hero-c .wrap > * { animation: up 700ms var(--ease) both; }
.hero-c .wrap > :nth-child(2) { animation-delay: 80ms; }
.hero-c .wrap > :nth-child(3) { animation-delay: 160ms; }
.hero-c .wrap > :nth-child(4) { animation-delay: 240ms; }
.hero-c .wrap > :nth-child(n + 5) { animation-delay: 320ms; }
.hero-c .wrap > .stage { animation-delay: 420ms; animation-duration: 900ms; }
.aurora { position: absolute; inset: -64px 0 auto 0; height: 64rem; overflow: hidden; pointer-events: none; z-index: -1; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.aurora i { position: absolute; width: 44rem; height: 44rem; border-radius: 50%; filter: blur(110px); opacity: var(--aurora); animation: drift 16s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--c1); left: 4%; top: -24rem; }
.aurora i:nth-child(2) { background: var(--c2); right: 0; top: -20rem; animation-delay: -6s; animation-duration: 20s; }
.aurora i:nth-child(3) { background: var(--c3); left: 36%; top: 10rem; width: 30rem; height: 30rem; opacity: calc(var(--aurora) * 0.6); animation-delay: -11s; }
.gridlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--glass-edge) 1px, transparent 1px), linear-gradient(90deg, var(--glass-edge) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 28%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 28%, #000 15%, transparent 75%); }

.stage { position: relative; width: 100%; margin-top: clamp(28px, 5vw, 60px); perspective: 1800px; }
.glow { position: relative; isolation: isolate; border-radius: 16px; transform: rotateX(var(--tilt, 12deg)) scale(var(--sc, 0.94)); transform-origin: 50% 0; will-change: transform; }
.glow::before, .glow::after { content: ""; position: absolute; inset: -2px; border-radius: 18px; z-index: -1; background: conic-gradient(from var(--a), var(--c1), var(--c2), var(--c4), var(--c3), var(--c1)); animation: spin 6s linear infinite; }
.glow::after { inset: 0; filter: blur(60px); opacity: 0.6; }
.glow .shot, .hero-c .glow .shot { margin: 0; border: 0; border-radius: 15px; box-shadow: none; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; text-align: left; white-space: nowrap; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: 0.84rem; font-weight: 500; line-height: 1.3; color: var(--heading); animation: bob 6s ease-in-out infinite; }
.float small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--muted); }
.float i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad); background-size: 200% 100%; color: #fff; font-style: normal; font-size: 0.85rem; }
.float.f1 { left: -36px; top: 16%; }
.float.f2 { right: -40px; top: 40%; animation-delay: -2s; }
.float.f3 { left: 7%; bottom: -22px; animation-delay: -4s; }
@media (max-width: 1240px) { .float { display: none; } }

/* Marquee */
.marquee { overflow: hidden; padding-block: 20px; border-block: 1px solid var(--glass-edge); background: color-mix(in srgb, var(--bg-deep) 70%, transparent); transform: rotate(-1.2deg) scale(1.03); margin-block: clamp(8px, 3vw, 32px); position: relative; z-index: 1; }
.marquee-track { display: flex; width: max-content; gap: 36px; align-items: center; animation: slide 32s linear infinite; font: 600 clamp(1.5rem, 3.6vw, 2.75rem)/1 var(--sans); letter-spacing: -0.03em; }
.marquee-track span { color: transparent; -webkit-text-stroke: 1px var(--border-strong); }
.marquee-track span:nth-of-type(3n + 1) { -webkit-text-stroke: 0; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
.marquee-track b { font-weight: 400; font-size: 0.6em; color: var(--accent-fill); }

/* Cards: lift and a light that follows the pointer */
.card { position: relative; overflow: hidden; transition: opacity 300ms ease-out, transform 300ms var(--ease), border-color 300ms var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c1) 32%, transparent), transparent 70%); }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 60%, var(--border)); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card .num { display: inline-block; margin-bottom: 14px; font: 400 0.8rem/1 var(--mono); background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.card.mini { padding: 24px; }
.card.mini h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

/* Product shots in the feature blocks: gradient edge and a coloured glow */
.feature .shot { border: 1px solid transparent; background: linear-gradient(#0d1117, #0d1117) padding-box, linear-gradient(135deg, var(--c1), var(--c2) 35%, transparent 65%, var(--c3)) border-box; box-shadow: 0 50px 120px -50px color-mix(in srgb, var(--c1) 75%, transparent), 0 20px 60px -30px color-mix(in srgb, var(--c2) 50%, transparent); transition: opacity 300ms ease-out, transform 500ms var(--ease); }
.feature .shot.in:hover { transform: translateY(-6px) scale(1.008); }
.feature:nth-of-type(2) .shot { background: linear-gradient(#0d1117, #0d1117) padding-box, linear-gradient(225deg, var(--c2), var(--c4) 35%, transparent 65%, var(--c1)) border-box; box-shadow: 0 50px 120px -50px color-mix(in srgb, var(--c2) 70%, transparent), 0 20px 60px -30px color-mix(in srgb, var(--c4) 45%, transparent); }
.feature:nth-of-type(3) .shot { background: linear-gradient(#0d1117, #0d1117) padding-box, linear-gradient(135deg, var(--c3), var(--c1) 35%, transparent 65%, var(--c2)) border-box; box-shadow: 0 50px 120px -50px color-mix(in srgb, var(--c3) 60%, transparent), 0 20px 60px -30px color-mix(in srgb, var(--c1) 50%, transparent); }
.ticks li::before { width: 10px; height: 10px; top: 0.45em; left: 0; border-radius: 3px; background: var(--grad); background-size: 200% 100%; transform: rotate(45deg) scale(0.7); }
.ticks li { color: var(--text); }

/* Proof */
.stat b { font-size: clamp(2.6rem, 5vw, 3.75rem); }
.stat .n { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; animation: flow 6s linear infinite; }
.quote { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.quote p { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.tags span { transition: border-color 200ms, color 200ms, transform 200ms; }
.tags span:hover { border-color: var(--c2); color: var(--heading); transform: translateY(-2px); }

/* Final call */
.cta-c.slab { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.cta-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: clamp(44px, 8vw, 104px) clamp(20px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--glass-edge); background: var(--surface); }
.cta-panel::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: conic-gradient(from var(--a), var(--c1), var(--c2), var(--c4), var(--c3), var(--c1)); filter: blur(90px); opacity: calc(var(--aurora) * 0.8); animation: spin 14s linear infinite; }
.cta-panel h2.display { font-size: clamp(2.25rem, 6vw, 4.25rem); }

@media (prefers-reduced-motion: reduce) {
  .display em, .stat .n, .aurora i, .float, .marquee-track, .glow::before, .glow::after, .cta-panel::before, .badge::before, .hero-c .wrap > * { animation: none !important; }
  .glow { transform: none; }
  .card:hover, .feature .shot.in:hover { transform: none; }
}
.stat b .n { display: inline; margin: 0; font-size: inherit; }
.cta-panel { width: 100%; }
html { overflow-x: clip; }

/* ---- Responsive: tablet and phone ---- */
.brand svg { flex: none; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .brand small { display: none; }
  .nav .wrap { gap: 10px; }
  .nav .theme-toggle { margin-left: auto; width: 40px; height: 40px; }
  .nav .btn-sm { height: 40px; padding: 0 14px; }
  .menu-toggle { display: inline-grid; place-items: center; order: 5; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--heading); cursor: pointer; }
  .menu-toggle svg { width: 18px; height: 18px; }
  .menu-toggle .x, .nav.open .menu-toggle .bars { display: none; }
  .nav.open .menu-toggle .x { display: block; }
  .nav-links { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gutter) 14px; background: var(--bg); border-bottom: 1px solid var(--glass-edge); box-shadow: var(--shadow); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; color: var(--heading); border-top: 1px solid var(--glass-edge); }
  .nav-links a:first-child { border-top: 0; }
}
/* Tablet keeps the three-up cards; they only stack on phones */
@media (min-width: 680px) and (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .card.mini { padding: 18px; }
  .card.mini h3 { font-size: 1.05rem; }
  .card.mini p { font-size: 0.9rem; }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .feature-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
}
@media (max-width: 640px) {
  section { padding-block: 56px; }
  .hero-c { padding-top: 36px; }
  h1.display { font-size: clamp(2.4rem, 11.5vw, 3rem); }
  .aurora { height: 46rem; }
  .aurora i { width: 26rem; height: 26rem; filter: blur(80px); }
  .aurora i:nth-child(1) { left: -11rem; top: -12rem; }
  .aurora i:nth-child(2) { right: -11rem; top: -9rem; }
  .aurora i:nth-child(3) { left: 12%; top: 16rem; width: 18rem; height: 18rem; }
  .gridlines { background-size: 40px 40px; }
  .glow::after { filter: blur(36px); opacity: 0.5; }
  /* Screenshots stay at a readable size and swipe sideways */
  .shot-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
  .shot-scroll::-webkit-scrollbar { display: none; }
  .shot-scroll img { width: 800px; max-width: none; }
  .shot-bar::after { content: "swipe →"; margin-left: auto; font: 400 0.7rem/1 var(--mono); color: #a7a1c0; }
  .feature + .feature { margin-top: 64px; }
  .feature .shot { box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--c1) 75%, transparent); }
  .marquee { padding-block: 14px; }
  .marquee-track { gap: 22px; }
  .stat b { font-size: 2.4rem; }
  .card.stat { padding: 18px; }
  .quote p { font-size: 1.35rem; }
  .cta-panel { border-radius: 22px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (hover: none) {
  .card:hover, .feature .shot.in:hover, .btn-primary:hover { transform: none; }
  .card:hover::after { opacity: 0; }
}
.nav .theme-toggle, .nav .btn, .menu-toggle { flex: none; }
@media (max-width: 640px) { h1.display { font-size: clamp(2rem, 11.5vw, 3rem); } }
@media (max-width: 420px) {
  .nav .wrap { gap: 8px; }
  .brand { font-size: 1rem; gap: 8px; }
  .nav .btn-sm { padding: 0 12px; font-size: 0.8rem; }
}
@media (max-width: 350px) { .nav .btn-sm { display: none; } }

/* ---- Legal pages, cookie banner ---- */
.legal .wrap { max-width: 50rem; }
.legal h2 { margin-top: 28px; }
.todo { background: var(--amber-bg); color: var(--amber); padding: 1px 6px; border-radius: 6px; font: 400 0.85em var(--mono); }
.table { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.9rem; }
.table th, .table td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); color: var(--muted); }
.table thead th { border-top: 0; font: 400 0.72rem/1.2rem var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--dim); }
.table td:first-child { color: var(--heading); }
.site-footer .legal-line { width: 100%; font-size: 0.8rem; }
.site-footer nav { flex-wrap: wrap; gap: 8px 18px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: min(26rem, calc(100vw - 32px)); padding: 20px; border-radius: 18px; border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7); display: grid; gap: 12px; }
.consent h2 { font-size: 1rem; font-weight: 600; color: var(--heading); }
.consent p { font-size: 0.875rem; color: var(--muted); }
.consent div { display: flex; gap: 8px; }
.consent .btn { flex: 1; }
.consent .btn-primary { box-shadow: none; }

/* ---- Every screenshot gets the hero treatment; small cards tip up into place ---- */
.feature .stage { margin-top: 0; }
.feature .glow .shot { border: 0; background: #0d1117; box-shadow: none; }
.feature .glow .shot:hover { transform: none; }
.feature:nth-of-type(2) .glow::before, .feature:nth-of-type(2) .glow::after { animation-delay: -2s; }
.feature:nth-of-type(3) .glow::before, .feature:nth-of-type(3) .glow::after { animation-delay: -4s; }
@keyframes tipin { from { opacity: 0; transform: perspective(900px) rotateX(16deg) translateY(32px) scale(0.95); } }
.grid-3 > .reveal, .stats > .reveal { transform-origin: 50% 0; }
.grid-3 > .reveal.in, .stats > .reveal.in, .quote.reveal.in { animation: tipin 750ms var(--ease) backwards; }
.grid-3 > .reveal.in:nth-child(2), .stats > .reveal.in:nth-child(2) { animation-delay: 110ms; }
.grid-3 > .reveal.in:nth-child(3), .stats > .reveal.in:nth-child(3) { animation-delay: 220ms; }
.stats > .reveal.in:nth-child(4) { animation-delay: 330ms; }
@media (prefers-reduced-motion: reduce) { .grid-3 > .reveal.in, .stats > .reveal.in, .quote.reveal.in { animation: none; } }
