/* FettleStack website. One stylesheet: tokens, layout, components, the app mock-ups, and the scroll effects.
   Colours: deep navy for weight, indigo and teal for the brand, coral and sun for the fun. */

/* ------------------------------------------------------------------ fonts */
/* Self-hosted (fonts/, SIL Open Font Licence), Latin characters only. Jakarta and JetBrains Mono are variable fonts, so
   one file each covers every weight; Fraunces is only used in italic 600. */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
}

/* ------------------------------------------------------------------ tokens */
:root {
    --navy-950: #070c1f;
    --navy-900: #0c1330;
    --navy-800: #151e45;
    --navy-700: #222d5e;
    --paper: #f7f5f0;
    --paper-2: #efece4;
    --white: #ffffff;
    --text: #131a2e;
    --muted: #596179;
    --line: rgba(19, 26, 46, 0.1);
    --indigo: #5b5ef4;
    --indigo-600: #4744d8;
    --violet: #8b5cf6;
    --teal: #17bfae;
    --teal-600: #0e9c8e;
    --coral: #ff7a59;
    --sun: #ffc05c;
    --brand-gradient: linear-gradient(115deg, #5b5ef4 0%, #7b61f2 35%, #17bfae 100%);
    --warm-gradient: linear-gradient(115deg, #ff7a59 0%, #ffc05c 100%);
    --radius: 18px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(12, 19, 48, 0.06), 0 2px 8px rgba(12, 19, 48, 0.05);
    --shadow: 0 10px 30px -12px rgba(12, 19, 48, 0.25), 0 4px 10px -6px rgba(12, 19, 48, 0.12);
    --shadow-lg: 0 40px 80px -30px rgba(7, 12, 31, 0.55), 0 18px 36px -18px rgba(7, 12, 31, 0.35);
    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
    --header-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(91, 94, 244, 0.25); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(1200px, 100% - 64px); } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-dark { background: var(--navy-900); color: #e8eaf6; }
.section-paper2 { background: var(--paper-2); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--brand-gradient); }
.section-dark .eyebrow { color: #9fa6ff; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; }
.section-dark .lead { color: #b9bfdc; }
.accent { font-family: var(--font-serif); font-style: italic; font-weight: 600; letter-spacing: -0.02em; }
.grad { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-warm { background: var(--warm-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* ------------------------------------------------------------------ buttons */
.btn {
    position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px;
    border-radius: 999px; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent;
    cursor: pointer; overflow: hidden; isolation: isolate;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { color: var(--white); background: var(--brand-gradient); box-shadow: 0 10px 24px -10px rgba(91, 94, 244, 0.7); }
.btn-primary::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
    transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(91, 94, 244, 0.8); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: inherit; border-color: currentColor; background: transparent; }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--indigo-600); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.section-dark .link-arrow { color: #aab0ff; }

/* ------------------------------------------------------------------ header (sticky) */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    transition: background-color 0.35s, box-shadow 0.35s, color 0.35s, backdrop-filter 0.35s;
    color: var(--text);
    background: rgba(247, 245, 240, 0.78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
body[data-hero="dark"] .site-header:not(.is-scrolled) { background: transparent; color: var(--white); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body[data-hero="dark"] .site-header { margin-bottom: calc(var(--header-h) * -1); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(12, 19, 48, 0.35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; }
.brand-mark { width: 34px; height: 34px; transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name span { font-weight: 500; opacity: 0.85; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
    position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.96rem; opacity: 0.86;
    transition: opacity 0.2s, background-color 0.2s;
}
.nav a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }
.nav .btn { margin-left: 10px; padding: 10px 18px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px;
        background: var(--paper); color: var(--text); box-shadow: 0 30px 40px -20px rgba(7, 12, 31, 0.4);
        transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0.25s;
    }
    .nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
    .nav a:not(.btn)::after { left: 16px; right: auto; width: 32px; }
    .nav .btn { margin: 8px 0 0; justify-content: center; }
    body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ hero */
.hero {
    position: relative; overflow: hidden; color: var(--white); background: var(--navy-950);
    padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(72px, 9vw, 128px);
    isolation: isolate;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.55;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px); background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -2; filter: blur(70px); opacity: 0.85; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 4%; top: 2%; background: radial-gradient(circle, rgba(91, 94, 244, 0.85), transparent 65%); }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: 2%; top: 12%; background: radial-gradient(circle, rgba(23, 191, 174, 0.7), transparent 65%); animation-duration: 26s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 38%; top: 40%; background: radial-gradient(circle, rgba(255, 122, 89, 0.45), transparent 65%); animation-duration: 30s; animation-delay: -12s; }
@keyframes drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(6%, 4%, 0) scale(1.08); }
    100% { transform: translate3d(-4%, 8%, 0) scale(0.96); }
}
.hero-grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); } }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero .eyebrow { color: #c7cbff; }
.hero .lead { color: #c3c8e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.92rem; color: #aab1d6; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--teal); }
.page-hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); }
.page-hero .hero-copy { max-width: 820px; }

/* the stack of windows in the hero, tilted by the pointer */
.hero-visual { position: relative; perspective: 1400px; min-height: 340px; }
.tilt { transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform 0.6s var(--ease); }
.hero-visual .win-main { position: relative; z-index: 1; }
.hero-visual .win-code { position: absolute; z-index: 2; width: min(50%, 340px); right: -6%; bottom: -15%; transform: translateZ(60px); }
.hero-visual .win-code .code { font-size: 10px; padding: 12px 14px; }
.chip-float {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.95); color: var(--navy-900); font-size: 0.82rem; font-weight: 700; box-shadow: var(--shadow-lg);
    transform: translateZ(90px); animation: bob 6s ease-in-out infinite;
}
.chip-float svg { width: 16px; height: 16px; }
.chip-float .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
.chip-tests { left: -5%; top: 14%; }
.chip-tests svg { color: #16a34a; }
.chip-deploy { left: 6%; bottom: -6%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 640px) {
    .hero-visual .win-code { display: none; }
    .chip-tests { left: 4%; top: -18px; }
    .chip-deploy { left: auto; right: 4%; bottom: -18px; }
}

/* ------------------------------------------------------------------ marquee ("infinite" strip) */
.marquee { position: relative; overflow: hidden; padding-block: 26px; background: var(--navy-950); color: #c9cde8; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); white-space: nowrap; font-weight: 600; font-size: 0.95rem; }
.marquee-track li i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.marquee-track li:nth-child(3n+2) i { background: var(--coral); }
.marquee-track li:nth-child(3n) i { background: var(--indigo); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ cards with a pointer-following glow */
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
    position: relative; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 94, 244, 0.12), transparent 45%);
}
.card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 94, 244, 0.9), rgba(23, 191, 174, 0.6) 40%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: 18px; }
.icon-tile {
    width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--white);
    background: var(--brand-gradient); box-shadow: 0 10px 20px -10px rgba(91, 94, 244, 0.8); transition: transform 0.5s var(--ease);
}
.icon-tile svg { width: 25px; height: 25px; }
.card:hover .icon-tile { transform: rotate(-6deg) scale(1.08); }
.tone-teal .icon-tile { background: linear-gradient(135deg, #17bfae, #0e8f9c); box-shadow: 0 10px 20px -10px rgba(23, 191, 174, 0.8); }
.tone-coral .icon-tile { background: linear-gradient(135deg, #ff7a59, #f0567a); box-shadow: 0 10px 20px -10px rgba(255, 122, 89, 0.8); }
.tone-sun .icon-tile { background: linear-gradient(135deg, #ffc05c, #ff8f4f); box-shadow: 0 10px 20px -10px rgba(255, 160, 80, 0.8); }
.tone-violet .icon-tile { background: linear-gradient(135deg, #8b5cf6, #5b5ef4); }
.tone-navy .icon-tile { background: linear-gradient(135deg, #222d5e, #0c1330); }
.section-dark .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.09); }
.section-dark .card p { color: #b3b9d8; }

/* ------------------------------------------------------------------ the pinned story: the panel stays put while the steps scroll */
.story { position: relative; }
.story-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; width: 100%; }
.story-steps { position: relative; min-height: 340px; }
.story-step {
    position: absolute; inset: 0; display: grid; align-content: center; gap: 18px;
    opacity: 0; transform: translateY(36px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); pointer-events: none;
}
.story-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story-step.is-past { transform: translateY(-36px); }
.step-num { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; color: var(--teal); letter-spacing: 0.08em; }
.story-step p { color: #b9bfdc; font-size: 1.12rem; max-width: 30em; }
.story-step ul { display: grid; gap: 8px; color: #d6d9ee; }
.story-step li { display: flex; gap: 10px; align-items: flex-start; }
.story-step li svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 3px; }
.story-visuals { position: relative; aspect-ratio: 16 / 11; }
.story-visual {
    position: absolute; inset: 0; opacity: 0; transform: scale(0.94) translateY(24px); filter: blur(6px);
    transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease);
}
.story-visual.is-active { opacity: 1; transform: none; filter: none; }
.story-visual .win { height: 100%; }
.story-rail { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 48px); display: flex; justify-content: center; gap: 10px; }
.story-rail button {
    width: 34px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.18); cursor: pointer; overflow: hidden; position: relative;
}
.story-rail button::after { content: ""; position: absolute; inset: 0; background: var(--brand-gradient); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.story-head { position: absolute; top: calc(var(--header-h) + 3vh); left: 0; right: 0; }
.story-head .container { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.story-head .h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.story-count { font-family: var(--font-mono); color: #8d94bb; font-size: 0.95rem; }
.story-count b { color: var(--white); }

@media (max-width: 900px), (max-height: 620px) {
    .story { height: auto !important; }
    .story-pin { position: static; height: auto; display: block; padding-block: 88px; }
    .story-head { position: static; margin-bottom: 40px; }
    .story-count, .story-rail { display: none; }
    .story-grid { grid-template-columns: 1fr; }
    .story-steps, .story-visuals { display: contents; }
    .story-step, .story-visual { position: static; opacity: 1; transform: none; filter: none; pointer-events: auto; }
    .story-grid { display: flex; flex-direction: column; gap: 28px; }
    .story-visual { aspect-ratio: 16 / 11; margin-bottom: 36px; width: 100%; min-width: 0; }
    .story-step { min-width: 0; }
    .story-step { order: var(--o, 0); }
    .story-visual { order: var(--o, 0); }
}

/* ------------------------------------------------------------------ stacking panels (each slides up over the last) */
.stack-list { display: grid; gap: 28px; }
.stack-item {
    position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 18px);
    display: grid; gap: 22px; padding: clamp(28px, 4vw, 52px); border-radius: 26px; min-height: 300px; overflow: hidden;
    color: var(--white); box-shadow: 0 -20px 40px -24px rgba(7, 12, 31, 0.45);
    transform-origin: top center;
}
@media (min-width: 860px) { .stack-item { grid-template-columns: 120px 1fr minmax(0, 0.9fr); align-items: center; gap: 40px; } }
.stack-item .big { font-family: var(--font-serif); font-style: italic; font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1; opacity: 0.9; }
.stack-item h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.stack-item p { font-size: 1.1rem; opacity: 0.9; }
.stack-item .stack-art { justify-self: end; width: min(100%, 360px); }
.stack-item:nth-child(1) { background: linear-gradient(135deg, #4744d8, #6a4ff0); }
.stack-item:nth-child(2) { background: linear-gradient(135deg, #0e9c8e, #17bfae); }
.stack-item:nth-child(3) { background: linear-gradient(135deg, #e85d4a, #ff8a5c); }
.stack-item:nth-child(4) { background: linear-gradient(135deg, #151e45, #2b3878); }
.stack-item::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%); pointer-events: none;
}

/* ------------------------------------------------------------------ feature (work) */
.feature { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .feature { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } .feature.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } .feature.flip > :first-child { order: 2; } }
.feature-copy { display: grid; gap: 20px; justify-items: start; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--teal-600); margin-top: 2px; }
.section-dark .ticks svg { color: var(--teal); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: rgba(91, 94, 244, 0.1); color: var(--indigo-600); }
.section-dark .tag { background: rgba(255, 255, 255, 0.08); color: #c9cdf3; }
.parallax { will-change: transform; transform: translate3d(0, var(--py, 0), 0); }

/* ------------------------------------------------------------------ call to action band */
.cta-band {
    position: relative; overflow: hidden; border-radius: 30px; padding: clamp(40px, 6vw, 80px); color: var(--white);
    background: radial-gradient(120% 140% at 0% 0%, #6a6cff 0%, #4744d8 35%, #18234a 75%), var(--navy-900);
    display: grid; gap: 26px; isolation: isolate;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; align-items: center; } }
.cta-band::before {
    content: ""; position: absolute; z-index: -1; right: -10%; bottom: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 191, 174, 0.55), transparent 62%); animation: drift 18s ease-in-out infinite alternate;
}
.cta-band p { color: #d3d6f5; font-size: 1.12rem; margin-top: 12px; max-width: 34em; }

/* ------------------------------------------------------------------ split cards: values, steps */
.value { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value h3 { margin-bottom: 8px; font-size: 1.2rem; }
.value p { color: var(--muted); }
.value .kicker { display: block; font-family: var(--font-mono); font-size: 0.82rem; color: var(--coral); margin-bottom: 14px; font-weight: 700; }
.steps { display: grid; gap: 16px; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 4px; padding: 18px 18px 18px 64px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.steps li::before {
    counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; color: var(--white); background: var(--brand-gradient);
}
.steps li span { color: var(--muted); font-size: 0.96rem; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: box-shadow 0.3s, border-color 0.3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(91, 94, 244, 0.3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 24px; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(91, 94, 244, 0.1)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234744d8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ------------------------------------------------------------------ contact form */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); align-items: start; } }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 13px 15px; border-radius: 12px;
    border: 1.5px solid rgba(19, 26, 46, 0.14); background: #fbfaf7; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(91, 94, 244, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); background: var(--white); box-shadow: 0 0 0 4px rgba(91, 94, 244, 0.15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--indigo); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { font-size: 0.96rem; font-weight: 600; }
.form-status.is-error { color: #c2410c; }
.form-done { display: none; text-align: center; padding: 40px 10px; }
.form-done .icon-tile { margin: 0 auto 20px; width: 64px; height: 64px; border-radius: 50%; }
.form-done .icon-tile svg { width: 30px; height: 30px; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-done { display: block; animation: pop 0.6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.aside-card { padding: 28px; border-radius: 22px; background: var(--navy-900); color: #dfe2f3; display: grid; gap: 18px; }
.aside-card h3 { color: var(--white); font-size: 1.25rem; }
.aside-card a { color: var(--white); font-weight: 700; }
.contact-line { display: flex; gap: 14px; align-items: center; }
.contact-line .icon-tile { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.contact-line .icon-tile svg { width: 20px; height: 20px; }
.contact-line small { display: block; color: #9aa1c7; }

/* ------------------------------------------------------------------ prose (privacy) */
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: 1.5rem; margin-top: 26px; }
.prose p, .prose li { color: #3b4258; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy-950); color: #b0b6d6; padding: 80px 0 32px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--brand-gradient); opacity: 0.6; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; transition: color 0.2s; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { display: grid; gap: 16px; max-width: 340px; color: var(--white); }
.footer-brand p { color: #a4aacd; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 0.9rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-word {
    font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; font-size: clamp(4rem, 17vw, 15rem); margin-top: 48px; user-select: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ------------------------------------------------------------------ reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ app mock-ups (drawn in HTML: crisp at any size) */
.win { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; font-family: var(--font-sans); }
.win-bar { flex: none; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #eceae4; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.win-bar i:nth-child(2) { background: #ffbd2e; }
.win-bar i:nth-child(3) { background: #28c941; }
.win-url { margin-left: 14px; flex: 1; max-width: 340px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, 0.75); font-size: 10.5px; line-height: 20px; padding: 0 10px; color: #6b6f7c; overflow: hidden; white-space: nowrap; }
.win-body { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.win-dark { background: #0e1430; border-color: rgba(255, 255, 255, 0.1); }
.win-dark .win-bar { background: #161d3f; border-color: rgba(255, 255, 255, 0.06); }
.win-dark .win-url { background: rgba(255, 255, 255, 0.07); color: #8e95bf; }

/* Conform: paper, ink, slate and amber (its own colours) */
.cf { --cf-paper: #faf8f4; --cf-ink: #1c1e1b; --cf-slate: #3d4a5c; --cf-amber: #c8762a; --cf-green: #4a7c59; --cf-red: #c2410c; --cf-line: rgba(61, 74, 92, 0.14);
    height: 100%; display: flex; flex-direction: column; background: var(--cf-paper); color: var(--cf-ink); font-size: 10px; line-height: 1.35; }
.cf-top { flex: none; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--cf-ink); color: #f4f1ec; }
.cf-logo { font-family: var(--font-serif); font-weight: 700; font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.cf-logo b { width: 14px; height: 14px; border-radius: 4px; background: var(--cf-amber); transform: rotate(45deg) scale(0.75); }
.cf-search { margin-left: auto; width: 34%; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); }
.cf-av { width: 20px; height: 20px; border-radius: 50%; background: var(--cf-amber); color: var(--cf-ink); font-weight: 800; font-size: 8px; display: grid; place-items: center; }
.cf-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 18% 1fr 25%; }
.cf-main[data-nopanel] { grid-template-columns: 18% 1fr; }
.cf-nav { border-right: 1px solid var(--cf-line); padding: 10px 8px; display: grid; align-content: start; gap: 3px; }
.cf-nav span { padding: 5px 8px; border-radius: 5px; color: var(--cf-slate); display: flex; gap: 7px; align-items: center; }
.cf-nav span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: rgba(61, 74, 92, 0.25); }
.cf-nav span.on { background: rgba(200, 118, 42, 0.13); color: var(--cf-ink); font-weight: 700; box-shadow: inset 2px 0 0 var(--cf-amber); }
.cf-nav span.on::before { background: var(--cf-amber); }
.cf-nav em { font-style: normal; font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; color: #8b93a1; padding: 8px 8px 2px; }
.cf-content { padding: 10px 12px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cf-title { display: flex; align-items: center; gap: 8px; }
.cf-title h5 { margin: 0; font-family: var(--font-serif); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.cf-title .cf-btn { margin-left: auto; }
.cf-btn { padding: 3px 8px; border-radius: 5px; background: var(--cf-ink); color: #f4f1ec; font-size: 8.5px; font-weight: 700; }
.cf-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cf-col { background: rgba(61, 74, 92, 0.06); border-radius: 7px; padding: 6px; display: grid; align-content: start; gap: 5px; }
.cf-col > b { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cf-slate); display: flex; justify-content: space-between; }
.cf-card { background: #fff; border: 1px solid var(--cf-line); border-radius: 6px; padding: 6px; display: grid; gap: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.cf-card.sel { outline: 2px solid var(--cf-amber); outline-offset: -1px; }
.cf-card strong { font-weight: 700; font-size: 9px; }
.cf-meta { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.sev { padding: 1px 5px; border-radius: 4px; font-size: 7.5px; font-weight: 800; }
.sev.h { background: rgba(194, 65, 12, 0.12); color: var(--cf-red); }
.sev.m { background: rgba(200, 118, 42, 0.15); color: #9a5a1c; }
.sev.l { background: rgba(74, 124, 89, 0.15); color: var(--cf-green); }
.due { font-size: 7.5px; color: #7a8291; margin-left: auto; }
.bar { height: 4px; border-radius: 4px; background: rgba(61, 74, 92, 0.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 50%); background: var(--cf-amber); border-radius: 4px; }
.cf-panel { border-left: 1px solid var(--cf-line); padding: 10px; display: grid; align-content: start; gap: 8px; background: #fff; }
.cf-panel h6 { margin: 0; font-family: var(--font-serif); font-size: 11px; font-weight: 700; }
.cf-kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 8px; font-size: 8.5px; }
.cf-kv dt { color: #7a8291; }
.cf-kv dd { margin: 0; font-weight: 600; }
.cf-sk { height: 6px; border-radius: 3px; background: rgba(61, 74, 92, 0.1); }
.cf-sk.s { width: 60%; }
.cf-table { width: 100%; border-collapse: collapse; font-size: 9px; }
.cf-table th { text-align: left; font-size: 7.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #7a8291; padding: 5px 6px; border-bottom: 1px solid var(--cf-line); }
.cf-table td { padding: 6px; border-bottom: 1px solid var(--cf-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 0; }
.cf-table tr.sel td { background: rgba(200, 118, 42, 0.08); }
@media (max-width: 560px) { .cf-main { grid-template-columns: 26% 1fr; } .cf-panel { display: none; } .cf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cf-col:nth-child(4) { display: none; } }

/* code window */
.code { margin: 0; padding: 16px 18px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7; color: #d7dbf5; white-space: pre; overflow: hidden; counter-reset: ln; }
.code .ln { display: inline; }
.code .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 22px; margin-right: 12px; text-align: right; color: #4a5384; }
.k { color: #c792ea; } .t { color: #7fdbca; } .s { color: #ecc48d; } .m { color: #82aaff; } .c { color: #637199; font-style: italic; } .n { color: #f78c6c; }
.term { margin: 0 16px 16px; padding: 10px 12px; border-radius: 9px; background: rgba(0, 0, 0, 0.3); font-family: var(--font-mono); font-size: 10.5px; color: #9aa3cf; white-space: pre; }
.term .ok { color: #4ade80; font-weight: 700; }

/* generic light app (the CMS, requirements, dashboards) */
.app { height: 100%; display: grid; grid-template-columns: 19% 1fr; background: #f8f8fb; color: #1b2033; font-size: 10px; line-height: 1.4; }
.app-nav { background: #fff; border-right: 1px solid #ececf3; padding: 12px 8px; display: grid; align-content: start; gap: 4px; }
.app-nav .logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 11px; padding: 0 6px 10px; }
.app-nav .logo svg { width: 16px; height: 16px; }
.app-nav span { padding: 5px 8px; border-radius: 6px; color: #5b6178; display: flex; gap: 7px; align-items: center; }
.app-nav span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: #dcdcea; }
.app-nav span.on { background: rgba(91, 94, 244, 0.1); color: var(--indigo-600); font-weight: 700; }
.app-nav span.on::before { background: var(--indigo); }
.app-main { padding: 14px; display: grid; align-content: start; gap: 10px; min-width: 0; }
.app-h { display: flex; align-items: center; gap: 8px; }
.app-h h5 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: -0.02em; }
.app-h .pill { margin-left: auto; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 8.5px; font-weight: 800; }
.pill.must { background: rgba(240, 86, 122, 0.12); color: #d0365e; }
.pill.should { background: rgba(255, 192, 92, 0.25); color: #9a6410; }
.pill.could { background: rgba(23, 191, 174, 0.14); color: #0b7f74; }
.pill.ok { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.pill.brand { background: var(--brand-gradient); color: #fff; }
.app-card { background: #fff; border: 1px solid #ececf3; border-radius: 9px; padding: 10px; display: grid; gap: 7px; }
.req { display: grid; grid-template-columns: 38px 1fr auto; gap: 8px; align-items: center; padding: 7px 4px; border-bottom: 1px solid #f0f0f5; }
.req:last-child { border-bottom: 0; }
.req code { font-family: var(--font-mono); font-size: 8.5px; color: #8a90a8; }
.sk { height: 7px; border-radius: 4px; background: #ececf3; }
.lines { display: grid; gap: 0; }
.line { display: grid; grid-template-columns: 1fr 34px 60px; gap: 8px; align-items: center; padding: 7px 2px; border-bottom: 1px solid #f0f0f5; }
.line .sk { height: 6px; }
.total { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; font-weight: 800; font-size: 11px; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 22px; height: 22px; border-radius: 6px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { background: #fff; border: 1px solid #ececf3; border-radius: 9px; padding: 9px; display: grid; gap: 3px; }
.kpi small { color: #8a90a8; font-size: 8.5px; }
.kpi b { font-size: 14px; letter-spacing: -0.02em; }
.spark { height: 64px; width: 100%; }
.log { display: grid; gap: 6px; }
.log div { display: flex; align-items: center; gap: 8px; }
.log i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.log i.b { background: var(--indigo); } .log i.c { background: var(--coral); }
.log span { color: #8a90a8; margin-left: auto; font-size: 8.5px; }
.wire { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wire > div { border: 1.5px dashed #c9cbe0; border-radius: 9px; padding: 9px; display: grid; gap: 6px; align-content: start; min-height: 70px; }

/* ------------------------------------------------------------------ 404 */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.notfound .h1 { font-size: clamp(5rem, 18vw, 12rem); }

/* ------------------------------------------------------------------ less motion when asked */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .marquee-track li[aria-hidden="true"] { display: none; }
    .tilt { transform: none; }
}

/* ------------------------------------------------------------------ odds and ends used by the pages */
.win { aspect-ratio: 16 / 10.5; }
.win-code, .story-visual .win { aspect-ratio: auto; }
.story-visual .win { height: 100%; }
.hero-visual .win-main { aspect-ratio: 16 / 11; }
.wire .sk:nth-child(2) { width: 60%; }
.sw1 { background: #5b5ef4; } .sw2 { background: #17bfae; } .sw3 { background: #ff7a59; } .sw4 { background: #0c1330; }
.stack-art { display: flex; justify-content: flex-end; }
.stack-art .big-icon { width: clamp(90px, 12vw, 150px); height: auto; opacity: 0.32; stroke-width: 1.4; }
.kicker-label { margin-top: 18px; margin-bottom: 10px; color: var(--text) !important; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.1em; }
.card .ticks li { color: var(--muted); }
.tag-line { margin: 14px 0 10px; }
.muted-small { font-family: var(--font-sans); font-style: normal; font-size: 1rem; font-weight: 500; color: #9aa1c7; letter-spacing: 0; }
.aside-card .h2 { color: var(--white); }
.center-copy { justify-items: center; text-align: center; margin-inline: auto; }
.center-copy .lead { margin-inline: auto; }
.page-top { padding-top: clamp(48px, 6vw, 80px); }
.steps-after { margin-top: 20px; }
.feature-copy > p:not(.lead) { color: var(--muted); font-size: 1.08rem; }
.section-dark .feature-copy > p:not(.lead) { color: #b9bfdc; }

/* the hero's entrance: plain CSS on load, so it never waits for a script */
.rise { animation: rise 0.9s var(--ease) both; }
.rise[data-d="1"] { animation-delay: 0.08s; }
.rise[data-d="2"] { animation-delay: 0.16s; }
.rise[data-d="3"] { animation-delay: 0.24s; }
.rise[data-d="4"] { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.section-head { max-width: 860px; }

/* polish */
.stack-item > div { display: grid; gap: 12px; }
.footer-brand .link-arrow { color: #aab0ff; }
.story-visuals::before {
    content: ""; position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(91, 94, 244, 0.35), rgba(23, 191, 174, 0.12) 60%, transparent);
    filter: blur(20px);
}
.story-visuals { isolation: isolate; }
.hero.page-hero.short { padding-bottom: clamp(96px, 10vw, 150px); }
.lift { margin-top: clamp(-110px, -8vw, -60px); position: relative; z-index: 2; padding-top: 0; }
.lift .aside-card { box-shadow: var(--shadow-lg); }
.story { overflow-x: clip; }
@media (max-width: 900px), (max-height: 620px) { .story-visuals::before { display: none; } }
