/* ==========================================================================
   Surlesol landing page (anonymous homepage)
   Standalone stylesheet: intentionally does not depend on Bootstrap / app.css
   ========================================================================== */

:root {
    --bg: #05080c;
    --bg-2: #0a1118;
    --panel: #0d151e;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #eef3f8;
    --muted: #8a98a8;
    --dim: #5b6776;
    --blue: #0a8fff;
    --blue-hi: #4fb0ff;
    --blue-glow: rgba(10, 143, 255, 0.35);
    --felt: #2fd48a;
    --felt-glow: rgba(47, 212, 138, 0.28);
    --red: #ff5a6a;
    --amber: #ffb547;

    --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

    --wrap: 1200px;
    --gutter: clamp(20px, 4vw, 40px);
    --radius: 18px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--blue); color: #fff; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------- Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.8em 1.35em;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn span { transition: transform 0.25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, .nav__link:focus-visible, .brand:focus-visible, .footer__links a:focus-visible {
    outline: 2px solid var(--blue-hi);
    outline-offset: 3px;
}

.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 8px 30px -8px var(--blue-glow);
}
.btn--primary:hover { background: var(--blue-hi); box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 10px 40px -6px var(--blue-glow); }

.btn--ghost {
    color: var(--text);
    border-color: var(--line-2);
    background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.05); }

.btn--felt {
    background: var(--felt);
    color: #04140c;
    box-shadow: 0 8px 30px -8px var(--felt-glow);
}
.btn--felt:hover { background: #5be3a5; }

.btn--sm { padding: 0.6em 1.05em; font-size: 14px; }
.btn--lg { padding: 1em 1.7em; font-size: 16px; }

/* -------------------------------------------------------------------- Nav */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: rgba(5, 8, 12, 0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-color: var(--line);
}
.nav__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 26px; color: var(--blue); }
.brand__word { font-weight: 600; letter-spacing: 0.18em; font-size: 15px; }

.nav__links { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); }
.nav__link { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav__link:hover { color: var(--text); }

/* ------------------------------------------------------------------- Hero */

.hero {
    position: relative;
    padding: clamp(120px, 16vh, 170px) 0 0;
    overflow: hidden;
    isolation: isolate;
}
.hero__glow {
    position: absolute;
    z-index: -1;
    width: 1100px;
    height: 800px;
    top: -320px;
    right: -260px;
    background:
        radial-gradient(closest-side, rgba(10,143,255,0.30), transparent 70%),
        radial-gradient(closest-side at 30% 70%, rgba(47,212,138,0.10), transparent 70%);
    filter: blur(20px);
    animation: drift 18s ease-in-out infinite alternate;
}
.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 20%, transparent 75%);
    opacity: 0.55;
}
@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-80px, 60px, 0) scale(1.08); }
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(255,255,255,0.02);
}
.dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--felt);
    box-shadow: 0 0 0 4px rgba(47,212,138,0.15);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47,212,138,0.02); } }

.hero__title {
    margin-top: 26px;
    font-size: clamp(40px, 5.6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    font-weight: 600;
    text-wrap: balance;
}
.hero__title em {
    display: inline-block;
    margin-top: 0.08em;
    letter-spacing: -0.01em;
    background: linear-gradient(92deg, #cfe8ff 0%, var(--blue-hi) 45%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 0.08em;
}
.hero__lede {
    margin-top: 26px;
    max-width: 34em;
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--muted);
}
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta--center { justify-content: center; }

/* Animated logo mark */
.hero__art { display: flex; justify-content: center; }
.mark-orbit {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(10,143,255,0.14), transparent 62%);
}
.mark-orbit::before,
.mark-orbit::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.10);
    animation: spin 60s linear infinite;
}
.mark-orbit::after {
    inset: 14%;
    border-style: solid;
    border-color: rgba(10,143,255,0.18);
    animation-duration: 40s;
    animation-direction: reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.mark-draw {
    width: 58%;
    color: var(--blue);
    filter: drop-shadow(0 0 24px rgba(10,143,255,0.55));
}
.mark-draw path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mark-draw__tip { transform-box: fill-box; transform-origin: center; }

.js .mark-draw path { stroke-dashoffset: 1; }
.js .mark-draw__tip { opacity: 0; }
.js .is-drawn .mark-draw path { animation: draw 1.6s var(--ease) forwards; }
.js .is-drawn .mark-draw path:nth-child(2) { animation-delay: 0.15s; }
.js .is-drawn .mark-draw path:nth-child(3) { animation-delay: 0.45s; }
.js .is-drawn .mark-draw path:nth-child(4) { animation-delay: 0.7s; animation-duration: 1.9s; }
.js .is-drawn .mark-draw__tip { animation: tip 0.5s var(--ease) 2.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tip {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Stats row */
.hero__stats {
    margin-top: clamp(56px, 9vh, 96px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}
.stat {
    padding: 28px 24px 34px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num {
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.stat__label { color: var(--muted); font-size: 14px; max-width: 22em; }

/* ----------------------------------------------------------------- Ticker */

.ticker {
    position: relative;
    border-block: 1px solid var(--line);
    background: var(--bg-2);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    border-right: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 13px;
    white-space: nowrap;
    color: #c9d3dd;
}
.ticker__list b { font-weight: 500; color: var(--dim); }
.ticker__list b.up { color: var(--felt); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- Sections */

.section { padding: clamp(96px, 14vh, 150px) 0; position: relative; }

.kicker {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-hi);
}
.display {
    margin-top: 18px;
    max-width: 18em;
    font-size: clamp(34px, 4.8vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 600;
}
.display em { color: var(--blue-hi); letter-spacing: -0.01em; }

/* Thesis */
.thesis__body {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 64px);
    max-width: 1000px;
    color: var(--muted);
    font-size: clamp(17px, 1.4vw, 19px);
}
.thesis__body strong { color: var(--text); font-weight: 500; }

.spectrum {
    position: relative;
    margin-top: clamp(64px, 9vh, 100px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 48px;
}
.spectrum__line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.spectrum__line span {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--blue), #6fa8c8 50%, var(--felt));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.6s var(--ease) 0.2s;
}
.spectrum.is-visible .spectrum__line span, html:not(.js) .spectrum__line span { transform: scaleX(1); }
.spectrum::before, .spectrum::after {
    content: "";
    position: absolute;
    top: -6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--blue);
    box-shadow: 0 0 20px var(--blue-glow);
}
.spectrum::before { left: 0; }
.spectrum::after { right: 0; border-color: var(--felt); box-shadow: 0 0 20px var(--felt-glow); }
.spectrum__end h3 { margin-top: 14px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.spectrum__end p { margin-top: 8px; color: var(--muted); max-width: 24em; }
.spectrum__end--right { text-align: right; }
.spectrum__end--right p { margin-left: auto; }
.spectrum__tag { font-family: var(--mono); font-size: 13px; color: var(--blue-hi); }
.spectrum__tag--felt { color: var(--felt); }

/* --------------------------------------------------------------- Products */

.products { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }

.product {
    margin-top: clamp(48px, 7vh, 80px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    padding: clamp(28px, 4vw, 56px);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 8px);
    background:
        radial-gradient(600px 400px at 100% 0%, rgba(10,143,255,0.10), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
    position: relative;
    overflow: hidden;
}
.product--felt {
    background:
        radial-gradient(600px 400px at 0% 0%, rgba(47,212,138,0.09), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
}
.product--flip .product__copy { order: 2; }
.product--flip .product__visual { order: 1; }

.product__meta { display: flex; gap: 8px; }
.pill {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    color: var(--muted);
}
.pill--blue { color: var(--blue-hi); border-color: rgba(10,143,255,0.4); background: rgba(10,143,255,0.08); }
.pill--felt { color: var(--felt); border-color: rgba(47,212,138,0.4); background: rgba(47,212,138,0.08); }

.product__name {
    margin-top: 20px;
    font-size: clamp(34px, 3.8vw, 52px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
}
.product__name span { color: var(--dim); font-weight: 400; }
.product__pitch {
    margin-top: 12px;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(22px, 2.2vw, 28px);
    color: var(--blue-hi);
    line-height: 1.2;
}
.product--felt .product__pitch { color: var(--felt); }
.product__copy > p:not(.product__pitch) { margin-top: 18px; color: var(--muted); }

.features { margin: 26px 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.features li {
    display: grid;
    grid-template-columns: 11em 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--muted);
}
.features b { color: var(--text); font-weight: 500; }

/* Product mock UIs */
.product__visual { display: flex; justify-content: center; perspective: 1400px; }
.mock {
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius);
    border: 1px solid var(--line-2);
    background: linear-gradient(180deg, #111b26, #0b121a);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03) inset, 0 30px 90px -40px var(--blue-glow);
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.8s var(--ease);
    overflow: hidden;
}
.product--flip .mock { transform: rotateY(8deg) rotateX(4deg); }
.product:hover .mock { transform: rotateY(0) rotateX(0); }
.mock--felt { box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03) inset, 0 30px 90px -40px var(--felt-glow); }

.mock__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.02);
}
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.mock__bar em { margin-left: 10px; font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--dim); }
.mock__body { padding: 20px; }
.mock__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }

.focus-card {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(10,143,255,0.35);
    background: linear-gradient(180deg, rgba(10,143,255,0.12), rgba(10,143,255,0.03));
    margin-bottom: 22px;
}
.focus-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.chip { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.06); color: #c9d3dd; }
.streak { color: var(--amber); font-family: var(--mono); font-size: 11px; }
.focus-card__title { margin-top: 14px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.focus-card__sub { color: var(--muted); font-size: 13px; }
.focus-card__actions { display: flex; gap: 8px; margin-top: 16px; }
.mbtn { flex: 1; text-align: center; font-size: 13px; padding: 9px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--muted); }
.mbtn--done { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 500; }

.queue { list-style: none; margin: 0; padding: 0; }
.queue li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.queue b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); }
.queue b.late { color: var(--red); }
.queue b.ok { color: var(--felt); }

.score {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    font-size: 13px;
    color: var(--muted);
}
.score strong { font-family: var(--mono); font-size: 18px; color: var(--felt); font-weight: 500; }
.score--felt strong { color: var(--felt); }

.hand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cards { display: flex; }
.card {
    width: 44px; height: 62px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 8px;
    background: #f4f6f8;
    color: #0b121a;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.6);
}
.card i { font-style: normal; font-size: 16px; }
.card + .card { margin-left: -12px; transform: rotate(8deg) translateY(2px); }
.card--red { color: #d62839; }
.hand__info { flex: 1; min-width: 0; }
.hand__info .mock__label { margin-bottom: 4px; }
.hand__action { font-size: 15px; color: var(--muted); }
.hand__action b { color: var(--text); font-weight: 600; }
.grade {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    font-size: 22px; font-weight: 700;
    color: #04140c;
    background: var(--felt);
    box-shadow: 0 0 30px var(--felt-glow);
}
.freq { display: grid; gap: 10px; }
.freq__row { display: grid; grid-template-columns: 48px 1fr 44px; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.freq__row b { font-family: var(--mono); font-weight: 400; text-align: right; color: var(--text); }
.freq__bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,0.06); overflow: hidden; }
.freq__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1e9d66, var(--felt)); }
.freq__bar--dim i { background: rgba(255,255,255,0.25); }

/* ------------------------------------------------------------------- Steps */

.steps {
    margin: clamp(48px, 7vh, 72px) 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.step {
    position: relative;
    padding: 32px 28px 36px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
    transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}
.step:hover { border-color: rgba(10,143,255,0.4); transform: translateY(-4px); background: linear-gradient(180deg, rgba(10,143,255,0.07), transparent); }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--blue-hi); }
.step h3 { margin-top: 48px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ----------------------------------------------------------------- Closing */

.closing { text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.closing__glow {
    position: absolute;
    z-index: -1;
    left: 50%; bottom: -420px;
    width: 1200px; height: 800px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(10,143,255,0.28), transparent 70%);
}
.closing__inner { display: flex; flex-direction: column; align-items: center; }
.closing__mark { width: 64px; height: 60px; color: var(--blue); filter: drop-shadow(0 0 18px var(--blue-glow)); }
.closing blockquote { margin: 36px 0 0; max-width: 980px; }
.closing blockquote p {
    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.closing cite {
    display: block;
    margin-top: 22px;
    font-family: var(--mono);
    font-style: normal;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
}
.closing .hero__cta { margin-top: 48px; }

/* ------------------------------------------------------------------ Footer */

.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; }
.brand--footer .brand__mark { width: 22px; height: 20px; }
.brand--footer .brand__word { font-size: 13px; }
.footer__links { display: flex; gap: 24px; font-size: 14px; }
.footer__links a { color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__legal { width: 100%; font-size: 13px; color: var(--dim); }

/* ------------------------------------------------------------ Scroll reveal */

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------- Responsive */

@media (min-width: 961px) {
    .hero__title em { white-space: nowrap; }
}

@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { order: -1; justify-content: flex-start; }
    .mark-orbit { width: 180px; }
    .product, .product--flip { grid-template-columns: 1fr; }
    .product--flip .product__copy { order: 0; }
    .product--flip .product__visual { order: 1; }
    .mock, .product--flip .mock { transform: none; }
    .steps { grid-template-columns: 1fr; }
    .step h3 { margin-top: 20px; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .nav__link--hide-sm { display: none; }
    .hero__stats { grid-template-columns: 1fr; }
    .stat, .stat + .stat { padding: 20px 0; border-left: 0; }
    .stat + .stat { border-top: 1px solid var(--line); }
    .thesis__body { grid-template-columns: 1fr; gap: 16px; }
    .spectrum { grid-template-columns: 1fr; gap: 32px; }
    .spectrum::after { display: none; }
    .spectrum__end--right { text-align: left; }
    .spectrum__end--right p { margin-left: 0; }
    .features li { grid-template-columns: 1fr; gap: 2px; }
    .hero__cta .btn { flex: 1 1 auto; }
}

@media (max-width: 400px) {
    .brand__word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .ticker__track { animation: none; }
}
