/* ==========================================================================
   Public site styles: black & red studio
   Display: Bricolage Grotesque · Accent: Instrument Serif italic · Labels: JetBrains Mono
   ========================================================================== */

:root {
    --bg: #070708;
    --bg-alt: #0b0b0d;
    --surface: #121215;
    --surface-2: #17171b;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .15);
    --ink: #f5f5f4;
    --ink-2: #d4d4d8;
    --muted: #9a9aa3;
    --red: #ef233c;
    --red-2: #ff4d5e;
    --red-deep: #a50e1c;
    --red-glow: rgba(239, 35, 60, .45);
    --red-soft: rgba(239, 35, 60, .12);
    --danger: #ff5a6a;
    --radius: 24px;
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .9);
    --container: 1260px;
    --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --base: .55s;
}
html.first-load { --base: 2.2s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px; line-height: 1.65;
    color: var(--ink); background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html.first-load:not(.intro-done) body { overflow: hidden; }
::selection { background: var(--red); color: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--red-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 .5em; color: #fff; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.022em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 600; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

/* ---------- Intro: a website builds itself, then zooms you in ---------- */
.intro { display: none; }
html.first-load .intro {
    position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: radial-gradient(ellipse at 50% 45%, #140a0c, #050506 60%);
    animation: intro-out .7s ease 2s forwards;
}
.intro-browser { width: min(540px, 86vw); border-radius: 16px; overflow: hidden; background: #0f0f12; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(239, 35, 60, .08); }
html.first-load .intro-browser { animation: ib-in .7s var(--ease) backwards, ib-zoom .9s cubic-bezier(.7, 0, .25, 1) 1.55s forwards; }
.ib-bar { display: flex; align-items: center; gap: 6px; padding: 11px 13px; background: #17171b; border-bottom: 1px solid var(--line); }
.ib-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.ib-bar > i:nth-child(2) { background: #febc2e; }
.ib-bar > i:nth-child(3) { background: #28c840; }
.ib-url { flex: 1; display: flex; align-items: center; gap: 7px; margin-left: 10px; padding: 5px 11px; border-radius: 7px; background: #0a0a0c; font-family: var(--mono); font-size: .78rem; color: var(--ink-2); min-height: 26px; }
.ib-lock { width: 11px; height: 11px; color: #28c840; flex: none; }
.ib-caret { width: 1.5px; height: 13px; background: var(--red); animation: caret-blink .8s steps(1) infinite; }
.ib-body { padding: 20px; display: grid; gap: 16px; }
.ib-body b, .ib-body i, .ib-body em, .ib-img, .ib-cards div { display: block; animation: ib-pop .55s var(--ease) backwards; }
.ib-nav { display: flex; justify-content: space-between; align-items: center; }
.ib-nav b { width: 46px; height: 12px; border-radius: 4px; background: var(--red); animation-delay: .5s; }
.ib-nav span { display: flex; align-items: center; gap: 8px; }
.ib-nav i { width: 28px; height: 6px; border-radius: 3px; background: #2c2c33; }
.ib-nav i:nth-child(1) { animation-delay: .56s; } .ib-nav i:nth-child(2) { animation-delay: .62s; } .ib-nav i:nth-child(3) { animation-delay: .68s; }
.ib-nav em { width: 50px; height: 16px; border-radius: 999px; background: #fff; animation-delay: .74s; }
.ib-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: center; }
.ib-hero > div:first-child { display: grid; gap: 9px; }
.ib-hero i { height: 13px; border-radius: 4px; background: #f5f5f4; transform-origin: left; }
.ib-hero i.thin { height: 7px; background: #3a3a42; }
.ib-hero i:nth-child(1) { animation-delay: .82s; } .ib-hero i:nth-child(2) { animation-delay: .9s; } .ib-hero i:nth-child(3) { animation-delay: .98s; }
.ib-hero em { width: 74px; height: 20px; border-radius: 999px; background: var(--red); margin-top: 6px; animation-delay: 1.08s; }
.ib-img { aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(circle at 70% 30%, var(--red-2), transparent 60%), linear-gradient(140deg, #3a0910, #121215); animation-delay: .9s; }
.ib-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ib-cards div { height: 46px; border-radius: 9px; background: #18181c; border: 1px solid var(--line); }
.ib-cards div:nth-child(1) { animation-delay: 1.14s; } .ib-cards div:nth-child(2) { animation-delay: 1.2s; } .ib-cards div:nth-child(3) { animation-delay: 1.26s; }
.w80 { width: 80%; } .w60 { width: 60%; } .w40 { width: 40%; }
.intro-status { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
html.first-load .intro-status { animation: ib-in .6s var(--ease) .2s backwards, intro-fade .4s ease 1.5s forwards; }
.intro-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse-soft 1s ease-in-out infinite; }
@keyframes ib-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes ib-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes ib-zoom { to { transform: scale(3.2); opacity: 0; filter: blur(6px); } }
@keyframes intro-fade { to { opacity: 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes pulse-soft { 50% { opacity: .3; } }
html.intro-done .intro { pointer-events: none; visibility: hidden; }

/* ---------- Page transitions: staggered red columns ---------- */
.page-wipe { position: fixed; inset: 0; z-index: 450; display: flex; pointer-events: none; }
.page-wipe span { flex: 1; background: var(--red); transform: scaleY(0); transform-origin: top; }
.page-wipe span:nth-child(even) { background: var(--red-deep); }
html.js:not(.first-load) .page-wipe span { animation: col-out .65s var(--ease) backwards; }
html.leaving .page-wipe span { animation: col-in .42s cubic-bezier(.7, 0, .3, 1) forwards; transform-origin: bottom; }
.page-wipe span:nth-child(2) { animation-delay: .05s !important; }
.page-wipe span:nth-child(3) { animation-delay: .1s !important; }
.page-wipe span:nth-child(4) { animation-delay: .15s !important; }
.page-wipe span:nth-child(5) { animation-delay: .2s !important; }
@keyframes col-out { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes col-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Soft red light that follows the mouse (desktop only, enabled by JS) */
.cursor-glow { display: none; }
html.has-glow .cursor-glow {
    display: block; position: fixed; left: 0; top: 0; z-index: 60; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
    pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(239, 35, 60, .09), transparent 65%);
}

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 90; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: var(--red); }

/* ---------- Logo ---------- */
.logo-mark { width: 40px; height: 40px; flex: none; display: block; }
.logo-c { stroke-dasharray: 80; stroke-dashoffset: 0; }
.logo-caret { animation: caret-blink 1.1s steps(1) infinite; }
.brand:hover .logo-c { animation: logo-draw .9s var(--ease); }
@keyframes caret-blink { 50% { opacity: 0; } }
@keyframes logo-draw { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }

/* ---------- Buttons: a circle grows out of the arrow ---------- */
.btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: .75em;
    padding: .95em 1.6em; border-radius: 999px; border: 1px solid transparent; background: transparent;
    font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap; color: inherit;
    transition: color .35s, border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.btn:has(.btn-arrow) { padding-right: .55em; }
.btn::before { content: ""; position: absolute; z-index: -1; right: .55em; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); }
.btn:hover::before { transform: scale(16); }
.btn:active { transform: scale(.98); }
.btn-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .9rem; transition: transform .45s var(--ease), background-color .35s; }
.btn:hover .btn-arrow { transform: rotate(-45deg); }
.btn-sm { padding: .62em 1.15em; font-size: .86rem; }
.btn-sm:has(.btn-arrow) { padding-right: .4em; }
.btn-sm .btn-arrow { width: 24px; height: 24px; font-size: .8rem; }
.btn-sm::before { right: .4em; width: 24px; height: 24px; margin-top: -12px; }
.btn-lg { padding: 1.1em 1.9em; font-size: 1rem; }
.btn-lg:has(.btn-arrow) { padding-right: .6em; }
.btn-lg .btn-arrow { width: 36px; height: 36px; }
.btn-lg::before { right: .6em; width: 36px; height: 36px; margin-top: -18px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 14px 34px -14px var(--red-glow); }
.btn-primary::before { background: #fff; }
.btn-primary .btn-arrow { background: rgba(0, 0, 0, .2); }
.btn-primary:hover { color: #0a0a0b; }
.btn-primary:hover .btn-arrow { background: var(--red); color: #fff; }
.btn-outline, .btn-glass { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn-outline::before, .btn-glass::before { background: var(--red); }
.btn-outline .btn-arrow, .btn-glass .btn-arrow { background: rgba(255, 255, 255, .08); }
.btn-outline:hover, .btn-glass:hover { color: #fff; border-color: var(--red); }
.btn-outline:hover .btn-arrow, .btn-glass:hover .btn-arrow { background: rgba(0, 0, 0, .2); }
.btn-dark, .btn-light { background: #fff; color: #0a0a0b; }
.btn-dark::before, .btn-light::before { background: var(--red); }
.btn-dark:hover, .btn-light:hover { color: #fff; }
.btn-ghost { color: var(--ink-2); }
.btn-ghost::before { background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { color: #fff; }

.link-arrow { font-weight: 700; text-decoration: none; color: var(--red-2); }
.link-arrow span { display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.pill { display: inline-block; font-family: var(--mono); font-size: .72rem; padding: .3em .8em; border-radius: 999px; background: var(--red-soft); color: var(--red-2); border: 1px solid rgba(239, 35, 60, .25); margin-bottom: .8em; }

/* ---------- Floating pill navigation ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 80; transition: transform .55s var(--ease); }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.nav-pill {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; padding: 0 10px 0 14px;
    border-radius: 999px; border: 1px solid var(--line); background: rgba(16, 16, 19, .5);
    backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
    transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.site-header.is-scrolled .nav-pill { background: rgba(12, 12, 14, .82); border-color: var(--line-2); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.brand { display: inline-flex; align-items: center; gap: .65em; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }
.nav-pill .logo-mark { width: 38px; height: 38px; }
.brand-name { font-size: 1.08rem; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; padding: .55em 1.05em; border-radius: 999px; transition: color .25s, background-color .25s; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.site-nav a.is-active { color: #fff; background: var(--red-soft); box-shadow: inset 0 0 0 1px rgba(239, 35, 60, .3); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; padding: 0 13px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .45s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
    position: fixed; inset: 0; z-index: 75; background: #08080a; padding: 120px 24px 34px;
    display: flex; flex-direction: column; justify-content: space-between;
    transform: translateY(-100%); visibility: hidden; transition: transform .7s var(--ease), visibility .7s;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu nav { display: grid; border-top: 1px solid var(--line); }
.mobile-menu a {
    display: flex; align-items: baseline; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line);
    font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 8vw, 2.6rem); letter-spacing: -.04em; color: #fff; text-decoration: none;
    opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; transition-delay: calc(var(--i) * 50ms + .2s);
}
.mobile-menu a span { font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--red); letter-spacing: 0; }
.mobile-menu a em { margin-left: auto; font-style: normal; font-size: 1.3rem; color: var(--muted); }
.mobile-menu a.is-active, .mobile-menu a:hover { color: var(--red-2); }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu-foot { color: var(--muted); margin: 0; font-family: var(--mono); font-size: .78rem; }
@media (max-width: 900px) {
    .site-nav { display: none; }
    .nav-toggle { display: block; }
    .site-header { top: 10px; }
    .nav-pill { height: 60px; }
}
@media (max-width: 440px) { .nav-actions .btn { display: none; } .brand-name { font-size: .98rem; } }

/* ---------- Word-by-word headline reveal ---------- */
.split .word { display: inline-block; }
.js .split .word { opacity: 0; filter: blur(12px); transform: translateY(.35em); animation: word-in 1.1s var(--ease) forwards; animation-delay: calc(var(--base) + var(--i) * 80ms); }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
.js .load-up { opacity: 0; transform: translateY(22px); filter: blur(6px); animation: fade-up 1s var(--ease) forwards; animation-delay: calc(var(--base) + var(--d, 0) * 80ms); }
@keyframes fade-up { to { opacity: 1; transform: none; filter: blur(0); } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; position: relative; }
.section-tight { padding: 30px 0 130px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 64px; }
.head-row > div { max-width: 780px; }
.head-row h2 { margin-bottom: .3em; }
.head-row h2:last-child { margin-bottom: 0; }
.head-text { color: var(--muted); font-size: 1.08rem; max-width: 540px; margin: 0; }
.section-foot { text-align: center; margin: 48px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.4em; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow span { color: var(--red); }
.eyebrow span::after { content: "—"; margin-left: .7em; color: #3f3f46; }
.eyebrow:not(:has(span))::before { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); }
.prose p { color: var(--ink-2); font-size: 1.08rem; }
.empty { text-align: center; color: var(--muted); }

/* ---------- Scroll reveal (fade up out of a blur) ---------- */
.js [data-reveal], .js .reveal, .js .reveal-text {
    opacity: 0; transform: translateY(36px); filter: blur(8px);
    transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
    transition-delay: calc(var(--d, 0) * 100ms);
}
.js .reveal-text { transform: translateY(24px); filter: blur(14px); }
.js [data-reveal].is-visible, .js .reveal.is-visible, .js .reveal-text.is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- Cursor spotlight on cards ---------- */
.spot { position: relative; }
.spot::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 35, 60, .13), transparent 45%);
    opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: orb-drift 18s ease-in-out infinite alternate; }
.orb-1 { width: 560px; height: 560px; background: radial-gradient(circle, var(--red) 0%, transparent 65%); top: -220px; right: -140px; opacity: .3; }
.orb-2 { width: 480px; height: 480px; background: radial-gradient(circle, #6e0a17 0%, transparent 65%); bottom: -240px; left: -180px; opacity: .45; animation-delay: -8s; }
@keyframes orb-drift { 50% { transform: translate(-50px, 40px) scale(1.1); } 100% { transform: translate(30px, -30px) scale(.95); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 180px 0 80px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 10%, transparent 70%); }
.hero-arc {
    position: absolute; width: 1100px; height: 1100px; right: -420px; top: -460px; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 55%, rgba(239, 35, 60, .1) 70%, var(--red) 82%, transparent 86%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    animation: spin 14s linear infinite;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-pill {
    display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.8em; padding: .5em 1.1em .5em .9em; border-radius: 999px;
    font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2);
    background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34d399; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.hero-title { font-size: clamp(2.8rem, 6.2vw, 6rem); line-height: .98; letter-spacing: -.028em; margin-bottom: .45em; }
.hero-title .line { display: block; }
.hero-title .accent { font-size: 1.12em; line-height: .9; letter-spacing: -.025em; }
.hero .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions-center { justify-content: center; }

.hero-stack { position: relative; height: 480px; perspective: 1200px; }
.hero-stack-item { position: absolute; width: 76%; transition: transform .7s var(--ease); }
.hero-stack-item .browser { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .07); }
.hero-stack-1 { left: 0; top: 60px; z-index: 1; }
.hero-stack-2 { left: 13%; top: 0; z-index: 2; }
.hero-stack-3 { right: 0; top: 170px; z-index: 3; }
.hero-stack-1 .float { rotate: -6deg; }
.hero-stack-3 .float { rotate: 4deg; }
.float { animation: float 7s ease-in-out infinite; animation-delay: calc(var(--f) * -2.3s); }
@keyframes float { 50% { translate: 0 -14px; } }
.js .hero-stack-item { opacity: 0; animation: stack-in 1.2s var(--ease) forwards; }
.js .hero-stack-1 { animation-delay: calc(var(--base) + .25s); }
.js .hero-stack-2 { animation-delay: calc(var(--base) + .4s); }
.js .hero-stack-3 { animation-delay: calc(var(--base) + .55s); }
@keyframes stack-in { from { opacity: 0; translate: 0 70px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
.hero-stack-label {
    position: absolute; bottom: -16px; left: 16px; display: flex; gap: 8px; align-items: center;
    background: #0c0c0f; color: var(--ink-2); font-family: var(--mono); font-size: .72rem;
    padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line-2); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7);
}
.hero-stack-label b { color: var(--red-2); font-weight: 500; }
.hero-stack-2 .hero-stack-label { bottom: auto; top: -16px; left: auto; right: 16px; }
.stats-dock {
    position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px;
    background: rgba(18, 18, 21, .6); border: 1px solid var(--line); border-radius: 24px; padding: 26px 0;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.stats-dock > div { padding: 0 28px; border-left: 1px solid var(--line); }
.stats-dock > div:first-child { border-left: 0; }
.stats-dock strong { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.045em; color: #fff; line-height: 1.1; }
.stats-dock span { color: var(--muted); font-size: .9rem; }
@media (max-width: 980px) {
    .hero { padding: 140px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-stack { height: 380px; max-width: 560px; width: 100%; margin: 0 auto; }
    .stats-dock { grid-template-columns: 1fr 1fr; row-gap: 24px; margin-top: 64px; }
    .stats-dock > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 520px) {
    .hero-stack { height: 260px; }
    .hero-stack-label { display: none; }
    .stats-dock > div { padding: 0 18px; }
}

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 200px 0 70px; text-align: center; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.6px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, #000 10%, transparent 70%); }
.page-hero-bg .orb-1 { top: -320px; right: 50%; margin-right: -280px; opacity: .3; }
.page-hero-bg .orb-2 { display: none; }
.js .page-hero .container > :not(h1) { opacity: 0; transform: translateY(18px); animation: fade-up 1s var(--ease) forwards; animation-delay: var(--base); }
.js .page-hero .container > .lead { animation-delay: calc(var(--base) + .35s); }
.js .page-hero .container > .hero-actions { animation-delay: calc(var(--base) + .45s); }
.page-hero-tall { padding: 230px 0 160px; }

/* ---------- Ticker (two rows, opposite directions) ---------- */
.ticker { position: relative; display: grid; gap: 4px; padding: 26px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-alt), transparent); }
.ticker-row { overflow: hidden; }
.ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: ticker 48s linear infinite; }
.ticker-row-alt .ticker-track { animation-direction: reverse; animation-duration: 56s; }
.ticker span { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; color: #34343b; white-space: nowrap; transition: color .3s; }
.ticker span:hover { color: #fff; }
.ticker-row-alt span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--red); font-size: clamp(1.6rem, 3vw, 2.5rem); }
.ticker i { width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); flex: none; }
.ticker-row-alt i { background: none; border: 1px solid #3f3f46; border-radius: 50%; transform: none; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Browser frame + skeleton mockups ---------- */
.browser { background: #fff; border-radius: 14px; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1b1b21; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #3a3a44; }
.browser-bar > span:nth-child(1) { background: #ff5f57; }
.browser-bar > span:nth-child(2) { background: #febc2e; }
.browser-bar > span:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; margin-left: 8px; background: #0f0f13; border-radius: 6px; font-family: var(--mono); font-size: .66rem; color: #8b8b96; padding: 2px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock { aspect-ratio: 16 / 10.5; padding: 10px 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; background: #fff; --c1: #fecdd3; --c2: #ffe4e6; --c3: #fff5f6; --cb: var(--red); }
.mock--standard { --c1: #e4e4e7; --c2: #f0f0f2; --c3: #fafafa; --cb: #18181b; }
.mock--pro { --c1: #3f3f46; --c2: #27272a; --c3: #18181b; --cb: var(--red); background: #0f0f12; }
.mock i, .mock b { display: block; height: 7px; border-radius: 4px; background: var(--c2); }
.mock i.tall { height: 12px; background: var(--c1); }
.mock b { width: 64px; height: 14px; border-radius: 999px; background: var(--cb); margin-top: 4px; }
.mock b.ghost { background: transparent; border: 1.5px solid var(--c1); }
.mock .w40 { width: 40%; } .mock .w50 { width: 50%; } .mock .w60 { width: 60%; }
.mock .w70 { width: 70%; } .mock .w80 { width: 80%; } .mock .w90 { width: 90%; }
.mk-nav { display: flex; justify-content: space-between; align-items: center; }
.mk-nav .mk-logo { width: 34px; height: 10px; background: var(--c1); }
.mk-nav span { display: flex; gap: 6px; }
.mk-nav span i { width: 22px; height: 6px; }
.mk-hero, .mk-banner { display: flex; flex-direction: column; gap: 7px; padding: 14px; border-radius: 8px; background: var(--c3); }
.mk-center { align-items: center; flex: 1; justify-content: center; }
.mk-banner { background: linear-gradient(135deg, #3b0a12, #ef233c); padding: 18px 14px; }
.mk-banner i { background: rgba(255, 255, 255, .5); }
.mk-banner i.tall { background: #fff; }
.mk-banner span { display: flex; gap: 6px; }
.mk-banner b { background: #fff; }
.mk-banner b.ghost { border-color: #fff; background: transparent; }
.mk-lines { display: flex; flex-direction: column; gap: 6px; padding: 0 20px; align-items: center; }
.mk-lines i { width: 80%; }
.mk-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; align-items: center; }
.mk-split > div:not(.mk-img) { display: flex; flex-direction: column; gap: 7px; }
.mk-split--rev { grid-template-columns: 1fr 1.1fr; }
.mk-img { aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, var(--c1), var(--c3)); }
.mk-cols, .mk-gallery, .mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-cols div { height: 34px; border-radius: 6px; background: var(--c3); border: 1px solid var(--c2); }
.mk-gallery { grid-template-columns: repeat(4, 1fr); }
.mk-gallery div { aspect-ratio: 1; border-radius: 6px; background: var(--c2); }
.mk-stats { grid-template-columns: repeat(4, 1fr); }
.mk-stats div { height: 18px; border-radius: 5px; background: var(--c2); }

/* Screenshot carousel */
.shots { position: relative; }
.shots-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots-track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; aspect-ratio: 16 / 10.5; background: #111; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 4s ease-in-out; }
.tier-card:hover .shot img { object-position: bottom; }
.shot figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, .75); color: #fff; font-family: var(--mono); font-size: .66rem; padding: 4px 10px; border-radius: 999px; }
.shots-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(10, 10, 12, .85); color: #fff; font-size: 1.3rem; line-height: 1; opacity: 0; transition: opacity .25s, background-color .25s; }
.shots-btn:hover { background: var(--red); }
.shots:hover .shots-btn, .shots-btn:focus-visible { opacity: 1; }
.shots-btn.prev { left: 10px; }
.shots-btn.next { right: 10px; }
@media (hover: none) { .shots-btn { opacity: 1; } }

/* ---------- Tier cards ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier-card {
    display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
    transition: transform .6s var(--ease), border-color .3s, box-shadow .6s, opacity 1s var(--ease), filter 1s var(--ease);
    transform-style: preserve-3d;
}
.tier-card:hover { border-color: rgba(239, 35, 60, .4); box-shadow: 0 30px 60px -30px rgba(239, 35, 60, .4); }
.tier-card.is-featured { border-color: transparent; background: linear-gradient(170deg, #1e0d11, var(--surface) 45%) padding-box, conic-gradient(from var(--angle, 0deg), var(--red), transparent 30%, transparent 70%, var(--red-2)) border-box; border-width: 1.5px; box-shadow: 0 30px 70px -30px var(--red-glow); animation: spin-border 6s linear infinite; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --angle: 360deg; } }
.tier-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 3; background: var(--red); color: #fff; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: .5em 1.1em; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 24px -6px var(--red-glow); }
.tier-preview { padding: 14px 14px 0; }
.tier-preview .browser { border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .7s var(--ease); }
.tier-card:hover .tier-preview .browser { transform: translateY(-4px); }
.tier-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tier-name { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: .2em; }
.tier-tagline { color: var(--muted); font-size: .95rem; margin-bottom: 1.1em; min-height: 3.1em; }
.tier-price { margin-bottom: 1.2em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .2em; }
.price-prefix { font-family: var(--mono); color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-right: .4em; }
.price-amount { font-family: var(--display); font-size: 3rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: #fff; }
.price-suffix { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--red-2); }
.tier-desc { color: var(--ink-2); font-size: .95rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 2px solid var(--red-2); border-bottom: 2px solid var(--red-2); transform: rotate(-45deg); }
.checklist li.more { color: var(--muted); font-weight: 600; }
.checklist li.more::before { border: 0; width: 10px; height: 2px; background: var(--muted); transform: none; top: .7em; }
.tier-actions { margin-top: auto; display: grid; gap: 8px; }
.pricing-note { text-align: center; color: var(--muted); max-width: 700px; margin: 48px auto 0; }
@media (max-width: 1000px) {
    .tier-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 40px; }
    .tier-tagline { min-height: 0; }
}

/* ---------- Live demo stack (cards pile up as you scroll) ---------- */
.stack { display: grid; gap: 34px; padding-bottom: 20px; }
.stack-card {
    position: sticky; top: calc(120px + var(--i) * 28px);
    display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; padding: 32px;
    border-radius: 34px; border: 1px solid var(--line); background: linear-gradient(160deg, #18181c, #0e0e11 70%);
    box-shadow: 0 -30px 60px -40px rgba(0, 0, 0, .9), 0 40px 80px -40px rgba(0, 0, 0, .9);
    transform-origin: 50% 0; will-change: transform;
}
.stack-num { font-family: var(--mono); font-size: .8rem; color: var(--red); }
.stack-num em { font-style: normal; color: #4b4b55; }
.stack-info h3 { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.05em; margin: 14px 0 10px; }
.stack-info h3 span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); letter-spacing: -.01em; }
.stack-info > p { color: var(--muted); font-size: 1.05rem; }
.stack-info ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 9px; }
.stack-info li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: .95rem; }
.stack-info li::before { content: ""; width: 14px; height: 1px; background: var(--red); flex: none; }
.stack-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.stack-foot .tier-price { margin: 0; }
.stack-foot .price-amount { font-size: 2.3rem; }
.stack-shot { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.stack-img { aspect-ratio: 16 / 10.5; background: #111; overflow: hidden; }
.stack-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 5s ease-in-out; }
.stack-card:hover .stack-img img { object-position: bottom; }
@media (max-width: 900px) {
    .stack-card { grid-template-columns: 1fr; gap: 26px; padding: 22px; top: calc(90px + var(--i) * 18px); }
    .stack-shot { order: -1; }
}

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 660px; }
.compare th, .compare td { padding: 17px 22px; text-align: center; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); transition: background-color .2s; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.compare thead th { font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; color: #fff; padding-top: 26px; padding-bottom: 22px; vertical-align: bottom; }
.compare-price { display: block; font-family: var(--mono); font-size: .75rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.compare .is-featured { background: rgba(239, 35, 60, .06); }
.compare thead th.is-featured { color: var(--red-2); box-shadow: inset 0 3px 0 var(--red); }
.compare tfoot td, .compare tfoot th { border-bottom: 0; padding: 22px; }
.compare tbody tr:hover th, .compare tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.icon-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red-soft); color: var(--red-2); font-weight: 800; font-size: .8rem; border: 1px solid rgba(239, 35, 60, .35); }
.is-visible .icon-yes { animation: pop .5s var(--ease) backwards; }
.is-visible tr:nth-child(odd) .icon-yes { animation-delay: .15s; }
.is-visible tr:nth-child(even) .icon-yes { animation-delay: .3s; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.2); } }
.icon-no { color: #3f3f46; font-weight: 700; }

/* ---------- Process timeline ---------- */
.process-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.process-intro { position: sticky; top: 140px; }
.process-intro h2 { margin-bottom: .7em; }
.timeline { position: relative; }
.timeline-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.timeline-line span { display: block; height: 100%; background: linear-gradient(180deg, var(--red-2), var(--red)); transform-origin: top; transform: scaleY(var(--tl, 0)); box-shadow: 0 0 18px var(--red-glow); }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.tl-step { display: grid; grid-template-columns: 56px 1fr; gap: 26px; align-items: start; }
.tl-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .82rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line-2); transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s; }
.tl-body { padding: 24px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .6s; }
.tl-body h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: .3em; }
.tl-body p { color: var(--muted); margin: 0; }
.js .tl-step:not(.is-active) .tl-body { opacity: .35; transform: translateX(12px); }
.tl-step.is-active .tl-dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 8px rgba(239, 35, 60, .12), 0 0 30px var(--red-glow); }
.tl-step.is-active .tl-body { border-color: rgba(239, 35, 60, .3); }
@media (max-width: 900px) {
    .process-wrap { grid-template-columns: 1fr; gap: 50px; }
    .process-intro { position: static; }
}

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }
.work-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .3s, opacity 1s var(--ease), filter 1s var(--ease); }
.work-card:hover { transform: translateY(-6px); border-color: rgba(239, 35, 60, .35); }
.work-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1d0a0e, #0f0f12); display: grid; place-items: center; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease), object-position 4s ease-in-out; }
.work-card:hover .work-thumb img { transform: scale(1.04); object-position: bottom; }
.work-initials { font-family: var(--display); font-size: 2.8rem; font-weight: 800; color: var(--red); opacity: .6; }
.work-body { padding: 22px 24px 26px; }
.work-body p { color: var(--muted); font-size: .95rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: center; max-width: 1080px; }
.about-mark { position: relative; width: 280px; aspect-ratio: 1; }
.about-mark .logo-mark { width: 100%; height: 100%; filter: drop-shadow(0 30px 60px rgba(239, 35, 60, .35)); }
.about-mark::before { content: ""; position: absolute; inset: -20px; border-radius: 30%; border: 1px dashed rgba(239, 35, 60, .4); animation: spin 30s linear infinite; }
.about-mark.is-visible .logo-c { animation: logo-draw 1.6s var(--ease) .2s backwards; }
@media (max-width: 760px) {
    .about { grid-template-columns: 1fr; gap: 44px; }
    .about-mark { width: 160px; }
}

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font-size: 3.6rem; line-height: .6; color: var(--red); margin-bottom: 14px; }
.quote figcaption strong { display: block; color: #fff; }
.quote figcaption span { color: var(--muted); font-size: .9rem; }

/* ---------- Add-ons ---------- */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.addon-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .3s, transform .6s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); }
.addon-card:hover { border-color: rgba(239, 35, 60, .4); transform: translateY(-6px); }
.addon-card h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.035em; margin-bottom: .45em; }
.addon-price { margin-bottom: .9em; display: flex; align-items: baseline; gap: .25em; }
.addon-price .price-amount { font-size: 2.1rem; color: var(--red-2); }
.addon-price .price-suffix { font-size: 1.2rem; color: var(--muted); }
.addon-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 28px; transition: border-color .3s, background-color .3s, opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.faq[open] { border-color: rgba(239, 35, 60, .45); background: linear-gradient(180deg, #170b0e, var(--surface)); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 46px 24px 0; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; position: relative; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; font-weight: 500; color: var(--red-2); border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(135deg); background: var(--red); border-color: var(--red); color: #fff; }
.faq .prose { padding-bottom: 12px; }
.faq[open] .prose { animation: fade-up .6s var(--ease); }
.faq .prose p { font-size: 1rem; color: var(--muted); }

/* ---------- Closing call to action ---------- */
.cta-block { position: relative; overflow: hidden; padding: 160px 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 70% at 85% 50%, rgba(239, 35, 60, .16), transparent 70%), var(--bg); }
.cta-rings { position: absolute; right: calc(max(24px, (100vw - var(--container)) / 2 + 24px) + 115px); top: 50%; pointer-events: none; }
.cta-rings span { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; border: 1px solid rgba(239, 35, 60, .35); animation: ring 4.5s ease-out infinite; }
.cta-rings span:nth-child(2) { animation-delay: 1.5s; }
.cta-rings span:nth-child(3) { animation-delay: 3s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(2.8); opacity: 0; } }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.cta-title { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .94; letter-spacing: -.03em; margin-bottom: .35em; }
.cta-title > span { display: block; }
.cta-title .accent { font-size: 1.1em; line-height: .85; }
.cta-text { color: var(--muted); font-size: 1.15rem; max-width: 520px; margin: 0; }
.cta-orb { position: relative; width: 230px; height: 230px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; text-decoration: none; box-shadow: 0 30px 80px -20px var(--red-glow); transition: background-color .4s, color .4s, transform .5s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); }
.cta-orb svg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); color: rgba(239, 35, 60, .7); animation: spin 22s linear infinite; }
.cta-orb-label { display: grid; justify-items: center; gap: 6px; padding: 0 34px; text-align: center; font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.cta-orb-label b { font-size: 1.7rem; transition: transform .5s var(--ease); }
.cta-orb:hover { background: #fff; color: #0a0a0b; }
.cta-orb:hover .cta-orb-label b { transform: rotate(-45deg); }
@media (max-width: 860px) {
    .cta-block { padding: 110px 0; }
    .cta-inner { grid-template-columns: 1fr; gap: 50px; }
    .cta-orb { width: 180px; height: 180px; }
    .cta-rings { display: none; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; }
.info-list li { display: grid; gap: 2px; color: var(--ink-2); }
.info-list span { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mini-tiers { display: grid; gap: 10px; }
.mini-tier { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: #fff; background: var(--surface); transition: border-color .3s, transform .5s var(--ease); }
.mini-tier:hover { border-color: var(--red); transform: translateX(8px); }
.mini-tier strong { font-family: var(--display); font-size: 1.1rem; letter-spacing: -.03em; }
.mini-tier span { color: var(--red-2); font-family: var(--mono); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 42px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: #fff; padding: .9em 1.05em; border: 1px solid var(--line-2); border-radius: 14px; background: #0a0a0c; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #111; }
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #5b5b66; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background-color: #0d0d10; box-shadow: 0 0 0 4px rgba(239, 35, 60, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: 6px 0 0; }
.form-fine { text-align: center; color: var(--muted); font-size: .85rem; margin: 16px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-error { background: rgba(239, 35, 60, .1); color: #ffb3bb; border: 1px solid rgba(239, 35, 60, .35); }
.success { text-align: center; padding: 28px 8px; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 2rem; font-weight: 800; animation: pop .7s var(--ease); box-shadow: 0 10px 40px -8px var(--red-glow); }
.success p { color: var(--muted); }
@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { order: 2; }
}
@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 26px 20px; }
    .section { padding: 90px 0; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #050506; color: var(--muted); padding: 100px 0 36px; border-top: 1px solid var(--line); }
.footer-glow { position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; translate: -50% 0; background: linear-gradient(90deg, transparent, var(--red), transparent); box-shadow: 0 0 30px 6px rgba(239, 35, 60, .3); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-big { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -.025em; line-height: 1; color: #fff; }
.footer-big em { font-family: var(--serif); font-weight: 400; color: var(--red); letter-spacing: -.01em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-tagline { margin: 18px 0 0; max-width: 320px; }
.site-footer h4 { font-family: var(--mono); color: var(--ink-2); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { display: inline-block; color: var(--ink-2); text-decoration: none; transition: color .2s, transform .35s var(--ease); }
.site-footer ul a:hover { color: var(--red-2); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 60px; padding-top: 26px; font-family: var(--mono); font-size: .74rem; }
.footer-bottom a { color: var(--ink-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--red-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js .reveal, .js .reveal-text, .js .load-up, .js .split .word, .js .hero-stack-item,
    .js .page-hero .container > *, .js .page-hero .container > :not(h1), .js .tl-step:not(.is-active) .tl-body { opacity: 1; transform: none; filter: none; }
    html.first-load .intro { display: none; }
    html.first-load:not(.intro-done) body { overflow: auto; }
}

/* ---------- Quote questionnaire (step-by-step when JS is on, one long form otherwise) ---------- */
.quote-steps-info { list-style: none; counter-reset: qs; padding: 0; margin: 0 0 34px; display: grid; gap: 20px; }
.quote-steps-info li { counter-increment: qs; display: grid; grid-template-columns: 38px 1fr; gap: 2px 14px; }
.quote-steps-info li::before { content: counter(qs, decimal-leading-zero); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .76rem; color: var(--red-2); border: 1px solid var(--line-2); }
.quote-steps-info strong { color: #fff; }
.quote-steps-info span { color: var(--muted); font-size: .92rem; }
.contact-info { position: sticky; top: 120px; }
@media (max-width: 860px) { .contact-info { position: static; } }

.qw-progress, .qw-nav { display: none; }
.is-wizard .qw-progress { display: block; margin-bottom: 30px; }
.qw-count { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.qw-count b { color: #fff; font-weight: 500; }
[data-qw-title] { color: var(--red-2); text-align: right; }
.qw-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.qw-bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--red-deep), var(--red-2)); transition: width .6s var(--ease); }
.qw-heading { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.025em; margin: 0 0 24px; }
.qw-only { display: block; margin-top: 6px; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.is-wizard .qw-only { display: none; }
.qw-step + .qw-step { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.is-wizard .qw-step { display: none; margin: 0; padding: 0; border: 0; }
.is-wizard .qw-step.is-current { display: block; animation: step-in .5s var(--ease); }
.is-wizard .qw-step.is-current.is-back { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-28px); } }
.is-wizard .qw-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.qw-submit { margin-top: 6px; }

.q-field { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.q-field legend, .field.q-field > label { display: block; padding: 0; margin-bottom: 10px; font-family: inherit; font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.q-help { color: var(--muted); font-size: .86rem; margin: -4px 0 12px; }
.req { color: var(--red-2); }
.q-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.q-opt, .tier-option { position: relative; cursor: pointer; }
.q-opt input, .tier-option input { position: absolute; opacity: 0; pointer-events: none; }
.q-opt span { display: inline-flex; align-items: center; gap: 9px; padding: .62em 1.05em; border-radius: 999px; border: 1px solid var(--line-2); background: #0a0a0c; color: var(--ink-2); font-size: .92rem; transition: border-color .2s, background-color .2s, color .2s; }
.q-opt span::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #4b4b55; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.q-field[data-type="checkbox"] .q-opt span::before { border-radius: 4px; }
.q-opt:hover span { border-color: rgba(239, 35, 60, .5); color: #fff; }
.q-opt input:checked + span { border-color: var(--red); background: var(--red-soft); color: #fff; }
.q-opt input:checked + span::before { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 3px #1a0a0d; }
.q-opt input:focus-visible + span, .tier-option input:focus-visible + span { outline: 2px solid var(--red-2); outline-offset: 2px; }
.q-field.has-error .q-opt span { border-color: rgba(255, 90, 106, .6); }

.tier-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier-option span { display: grid; gap: 2px; height: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: #0a0a0c; transition: border-color .25s, background-color .25s; }
.tier-option strong { font-family: var(--display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.tier-option em { font-style: normal; font-family: var(--mono); font-size: .78rem; color: var(--red-2); }
.tier-option small { margin-top: 4px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.tier-option:hover span { border-color: rgba(239, 35, 60, .5); }
.tier-option input:checked + span { border-color: var(--red); background: linear-gradient(160deg, rgba(239, 35, 60, .16), #0a0a0c 70%); }
@media (max-width: 560px) { .tier-pick { grid-template-columns: 1fr; } }

/* ---------- Business email page ---------- */
.email-address-demo { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 0 auto 70px; font-family: var(--mono); font-size: clamp(1rem, 2.2vw, 1.35rem); }
.email-address-demo > span { padding: .7em 1.2em; border-radius: 999px; border: 1px solid var(--line-2); }
.ead-old { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); }
.ead-old span { color: #5b5b66; }
.ead-arrow { border: 0 !important; padding: 0 !important; color: var(--red); font-size: 1.4em; }
.ead-new { color: #fff; background: var(--red-soft); border-color: rgba(239, 35, 60, .5) !important; box-shadow: 0 0 40px -10px var(--red-glow); }
.ead-new span { color: var(--red-2); }
.provider-block + .provider-block { margin-top: 80px; }
.provider-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.provider-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.provider-head p { margin: 4px 0 0; color: var(--muted); font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.provider-mark { width: 46px; height: 46px; flex: none; border-radius: 14px; position: relative; overflow: hidden; display: inline-block; }
.provider-google { background: conic-gradient(#ea4335 0 25%, #fbbc04 0 50%, #34a853 0 75%, #4285f4 0); }
.provider-microsoft { background: linear-gradient(#f25022 0 0) 0 0 / 48% 48% no-repeat, linear-gradient(#7fba00 0 0) 100% 0 / 48% 48% no-repeat, linear-gradient(#00a4ef 0 0) 0 100% / 48% 48% no-repeat, linear-gradient(#ffb900 0 0) 100% 100% / 48% 48% no-repeat; border-radius: 6px; }
.provider-google::after { content: ""; position: absolute; inset: 10px; border-radius: 8px; background: var(--bg); }
.email-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.email-card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .6s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); }
.email-card:hover { border-color: rgba(239, 35, 60, .4); transform: translateY(-6px); }
.email-card.is-featured { border-color: rgba(239, 35, 60, .55); background: linear-gradient(170deg, #1e0d11, var(--surface) 50%); box-shadow: 0 30px 70px -35px var(--red-glow); }
.email-card h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: .3em; }
.email-tagline { color: var(--muted); font-size: .95rem; min-height: 3em; }
.email-card .tier-price { align-items: center; gap: 12px; margin: 6px 0 14px; }
.email-per { font-family: var(--mono); font-size: .7rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.email-card .pill { align-self: flex-start; }
.email-card .checklist { margin: 8px 0 26px; flex: 1; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 22px; align-items: stretch; }
.setup-card, .setup-includes, .choose-card { padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.setup-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.setup-card.is-highlight { border-color: rgba(239, 35, 60, .5); background: linear-gradient(170deg, #1e0d11, var(--surface) 55%); }
.setup-card p:not(.setup-label) { color: var(--muted); flex: 1; }
.setup-label { margin: 0; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red-2); }
.setup-card .tier-price { align-items: center; gap: 12px; margin: 6px 0 8px; }
.setup-includes h3, .choose-card h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.setup-includes .checklist { margin-bottom: 18px; }
.setup-extra { color: var(--muted); margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.setup-extra strong { color: #fff; }
.choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choose-card .provider-mark { width: 38px; height: 38px; margin-bottom: 18px; }
.choose-card .checklist { margin: 0; }
@media (max-width: 980px) { .setup-grid { grid-template-columns: 1fr 1fr; } .setup-includes { grid-column: 1 / -1; } }
@media (max-width: 640px) { .setup-grid, .choose-grid { grid-template-columns: 1fr; } }

/* Home page email promo */
.email-promo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(239, 35, 60, .14), transparent 70%), var(--surface); }
.email-promo h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: .35em; }
.email-promo p { color: var(--muted); font-size: 1.08rem; }
.email-promo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.email-promo-visual { display: grid; gap: 12px; }
.inbox-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: #0b0b0d; border: 1px solid var(--line); font-size: .92rem; }
.inbox-row b { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--red-soft); color: var(--red-2); font-family: var(--mono); font-size: .8rem; font-weight: 500; }
.inbox-row span { color: var(--muted); }
.inbox-row strong { color: #fff; font-weight: 600; display: block; }
.inbox-row:nth-child(2) { margin-left: 24px; opacity: .8; }
.inbox-row:nth-child(3) { margin-left: 48px; opacity: .6; }
@media (max-width: 860px) { .email-promo { grid-template-columns: 1fr; padding: 32px 24px; } }
.tier-option-wide { grid-column: 1 / -1; }
.tier-option-wide span { border-style: dashed; }
.tier-option-wide input:checked + span { border-style: solid; }
