/* ==========================================================================
   LED Banner — shared site styles
   Colours, radii and gradients mirror the app's design tokens
   (ledbanner-app/config/tokens.json and the "brand" block of branding.json),
   so the site and the app read as one product.
   ========================================================================== */

/* Montserrat (SIL OFL 1.1, see /fonts/montserrat-OFL.txt), subset to Latin
   and to weights 600-900: it only sets headings. Self-hosted so the site
   makes no third-party request. */
@font-face {
    font-family: "Montserrat";
    src: url("/fonts/montserrat-latin-600-900.woff2") format("woff2");
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;

    --bg: #060a14;
    --bg-2: #0b1226;
    --surface: #0e1424;
    --surface-2: #161e33;
    --surface-3: #1d2740;

    --ink: #f2f6ff;
    --ink-2: #a9b6d4;
    --ink-3: #7d8aa9;
    --line: rgba(169, 182, 212, .12);
    --line-2: rgba(169, 182, 212, .22);

    --cyan: #00e5ff;
    --purple: #a855f7;
    --pink: #ff2d95;
    --green: #22e06b;
    --amber: #ffb020;
    --red: #ff4d4d;

    /* The wordmark's six-stop sweep (kLedSpectrum in led_wordmark.dart). */
    --spectrum: linear-gradient(90deg, #ff1147, #ff7a0f, #ffc70f, #00cb60, #0f9bff, #7b33ff);
    --brand: linear-gradient(90deg, #00e5ff, #a855f7);
    --neon: linear-gradient(90deg, #00e5ff 0%, #a855f7 55%, #ff2d95 100%);

    --font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --container: 1160px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 64px;
}

/* ---- Base ---------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font: 400 1rem/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* hidden, not clip: only hidden is carried from body to the viewport,
       which is what stops a phone widening the layout viewport (and with it
       knocking the sticky header out of view) if anything ever overflows. */
    overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }

a { color: var(--cyan); }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 6px;
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--ink);
    text-wrap: balance;
}

p { margin: 0; }

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

.nowrap { white-space: nowrap; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* An unlit LED panel behind everything: a faint dot grid under a cyan and
   violet wash, fading out as the page scrolls past the top. */
.backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 45% at 50% -5%, rgba(0, 229, 255, .16), transparent 70%),
        radial-gradient(45% 40% at 90% 5%, rgba(168, 85, 247, .16), transparent 70%),
        radial-gradient(40% 35% at 5% 20%, rgba(255, 45, 149, .08), transparent 70%),
        var(--bg);
}

.backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(169, 182, 212, .14) 1px, transparent 1.5px);
    background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(90% 60% at 50% 0%, #000 20%, transparent 85%);
    mask-image: radial-gradient(90% 60% at 50% 0%, #000 20%, transparent 85%);
}

/* ---- Header -------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 10, 20, .72);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-header .bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    border-radius: 10px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 6px 16px rgba(0, 0, 0, .45);
}

/* The SVG carries 1.5 cells of halo on every side, hence the negative
   margin: it lines the lit dots up with the icon rather than the halo. */
.brand-wordmark {
    width: auto;
    height: 22px;
    margin-left: -3px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav a:not(.btn) {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s, background-color .2s;
}

.nav a:not(.btn):hover {
    color: var(--ink);
    background: rgba(255, 255, 255, .05);
}

.nav a[aria-current="page"] { color: var(--ink); }

.nav .btn { margin-left: 10px; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font: 700 .92rem/1 var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
    color: #03141a;
    background: var(--cyan);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, .5), 0 8px 24px rgba(0, 229, 255, .28);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, .7), 0 12px 30px rgba(0, 229, 255, .42);
}

.btn-ghost {
    height: 52px;
    padding: 0 22px;
    color: var(--ink);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(169, 182, 212, .36);
}

.btn:active { transform: translateY(1px); }

/* The official "Get it on Google Play" badge, trimmed of its built-in
   padding; the margin around it here keeps Google's clear space. */
.store-badge {
    display: inline-block;
    flex-shrink: 0;
    border-radius: 10px;
    transition: transform .15s ease, filter .2s ease;
}

.store-badge img {
    width: auto;
    height: 52px;
    border-radius: 9px;
}

.store-badge:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 10px 22px rgba(0, 229, 255, .22));
}

/* ---- Shared section furniture -------------------------------------------- */

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--accent, var(--cyan));
    font: 700 .76rem/1 var(--font-body);
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* One lit LED in front of every section label. */
.kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 0 10px currentColor, 0 0 2px currentColor;
}

.section {
    padding-block: clamp(64px, 9vw, 120px);
}

.section + .section { padding-top: 0; }

.section:last-child { padding-bottom: 0; }

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(36px, 5vw, 56px);
    text-align: center;
}

.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }

.section-head p {
    margin-top: 16px;
    color: var(--ink-2);
    font-size: 1.08rem;
}

.text-neon {
    background: var(--neon);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(168, 85, 247, .38));
}

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

.hero {
    position: relative;
    padding-top: clamp(40px, 7vw, 88px);
    text-align: center;
}

.hero-copy {
    max-width: 860px;
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(14, 20, 36, .7);
    color: var(--ink-2);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.eyebrow:hover { color: var(--ink); border-color: rgba(169, 182, 212, .4); }

.eyebrow strong { color: var(--ink); font-weight: 700; }

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(34, 224, 107, .6);
    animation: live 2.2s ease-out infinite;
}

@keyframes live {
    0% { box-shadow: 0 0 0 0 rgba(34, 224, 107, .55); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(34, 224, 107, 0); }
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(2.45rem, 6.4vw, 4.75rem);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.02;
}

.hero .lede {
    max-width: 640px;
    margin: 22px auto 0;
    color: var(--ink-2);
    font-size: clamp(1.04rem, 1.6vw, 1.2rem);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink-3);
    font-size: .9rem;
    font-weight: 600;
}

.hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-facts svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--green);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-stage {
    position: relative;
    margin-top: clamp(40px, 6vw, 72px);
}

/* Light spilling from the sign onto the "floor" below it. */
.hero-stage::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 30%;
    width: min(1100px, 100%);
    height: 80%;
    transform: translateX(-50%);
    background:
        radial-gradient(closest-side, rgba(255, 45, 149, .28), transparent 70%),
        radial-gradient(closest-side at 70% 50%, rgba(0, 229, 255, .18), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

/* ---- Devices ------------------------------------------------------------- */

.device {
    position: relative;
    width: min(100%, 920px);
    margin-inline: auto;
    padding: clamp(7px, 1.25vw, 13px);
    border-radius: clamp(24px, 4.6vw, 52px);
    background: linear-gradient(160deg, #2c3553 0%, #131929 34%, #0b0f1a 64%, #262f4a 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .1),
        inset 0 0 0 2.5px rgba(0, 0, 0, .55),
        0 50px 100px -30px rgba(0, 0, 0, .9),
        0 0 0 1px rgba(0, 0, 0, .6);
}

/* Power and volume keys on what is the top edge in landscape. */
.device::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 62%;
    width: 9%;
    height: 4px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #39425f, #222a40);
}

.device-screen {
    position: relative;
    aspect-ratio: 20 / 9;
    overflow: hidden;
    border-radius: clamp(17px, 3.4vw, 40px);
    background: #07050f;
    isolation: isolate;
}

.device-screen canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* The lit bulbs sit on their own canvas above the panel; screen-blending
   them adds their light to the backdrop the way a real sign glows. */
canvas.led-sign { mix-blend-mode: screen; }

/* The punch-hole camera, on the left in landscape. */
.device-screen::before {
    content: "";
    position: absolute;
    left: 2.1%;
    top: 50%;
    z-index: 3;
    width: clamp(6px, 1.1vw, 11px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #020306;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
}

/* The neon frame the app draws round its default banner. */
.sign-border {
    position: absolute;
    inset: 1.3%;
    z-index: 2;
    border: clamp(2px, .32vw, 4px) solid #ff63b3;
    border-radius: clamp(12px, 2.6vw, 30px);
    box-shadow:
        0 0 clamp(5px, 1vw, 14px) rgba(255, 45, 149, .9),
        inset 0 0 clamp(5px, 1vw, 14px) rgba(255, 45, 149, .65);
    pointer-events: none;
}

.phone {
    position: relative;
    width: min(290px, 74vw);
    margin: 0;
    padding: 9px;
    border-radius: 46px;
    background: linear-gradient(160deg, #2c3553 0%, #121828 38%, #0a0e18 68%, #252e48 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .1),
        inset 0 0 0 2.5px rgba(0, 0, 0, .55),
        0 44px 90px -28px rgba(0, 0, 0, .9);
}

.phone img {
    width: 100%;
    height: auto;
    border-radius: 37px;
    background: var(--surface);
}

.phone::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 50%;
    z-index: 1;
    width: 11px;
    height: 11px;
    margin-left: -5.5px;
    border-radius: 50%;
    background: #020306;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .05);
}

.phone::after {
    content: "";
    position: absolute;
    top: 18%;
    right: -3px;
    width: 3px;
    height: 13%;
    border-radius: 0 3px 3px 0;
    background: #2a3249;
}

/* ---- "Try it" bar under the hero sign ------------------------------------ */

.try {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 600px);
    margin: 28px auto 0;
    padding: 6px 8px 6px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(14, 20, 36, .85);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
    transition: border-color .2s, box-shadow .2s;
}

.try:focus-within {
    border-color: rgba(0, 229, 255, .55);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, .12), 0 16px 40px -12px rgba(0, 0, 0, .6);
}

.try label {
    color: var(--ink-3);
    font: 700 .74rem/1 var(--font-body);
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.try input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ink);
    font: 600 1rem/1 var(--font-body);
    letter-spacing: .02em;
}

.try input::placeholder { color: var(--ink-3); font-weight: 500; }

.swatches {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.swatch {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: var(--c);
    background-clip: padding-box;
    box-shadow: inset 0 0 0 2px rgba(6, 10, 20, .55);
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease;
}

.swatch:hover { transform: scale(1.08); }

.swatch[aria-pressed="true"] {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 2px rgba(6, 10, 20, .55), 0 0 12px var(--glow, var(--c));
}

.try-hint {
    margin-top: 12px;
    color: var(--ink-3);
    font-size: .85rem;
}

/* ---- Feature rows -------------------------------------------------------- */

.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 7vw, 104px);
}

.feature + .feature { margin-top: clamp(88px, 12vw, 160px); }

.feature-media {
    position: relative;
    display: flex;
    justify-content: center;
    isolation: isolate;
}

/* A soft pool of the section's colour behind the phone. */
.feature-media::before {
    content: "";
    position: absolute;
    inset: 8% 6%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--glow, rgba(0, 229, 255, .3)), transparent);
    filter: blur(36px);
}

.feature--flip .feature-media { order: 2; }

.feature-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); }

.feature-copy > p {
    max-width: 34em;
    margin-top: 18px;
    color: var(--ink-2);
    font-size: 1.08rem;
}

.steps {
    display: grid;
    gap: 16px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.steps > li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.steps .step-num {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #04111a;
    font: 900 1.05rem/1 var(--font-display);
    box-shadow: 0 8px 20px -6px rgba(0, 229, 255, .45);
}

.steps > li > div > strong {
    display: block;
    color: var(--ink);
    font-size: 1.02rem;
}

.steps > li > div > span { color: var(--ink-2); font-size: .97rem; }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .03);
    color: var(--ink-2);
    font-size: .88rem;
    font-weight: 600;
}

.panel {
    position: relative;
    width: min(100%, 520px);
    margin: 0;
    padding: clamp(10px, 1.6vw, 16px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line-2);
    background: linear-gradient(180deg, rgba(22, 30, 51, .92), rgba(11, 17, 31, .92));
    box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .85);
}

.panel img {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

/* ---- Gallery ------------------------------------------------------------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shot { margin: 0; }

.shot-frame {
    padding: 6px;
    border-radius: 24px;
    background: linear-gradient(160deg, #2c3553 0%, #121828 40%, #0a0e18 70%, #252e48 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 28px 60px -24px rgba(0, 0, 0, .85);
    transition: transform .3s ease;
}

.shot:hover .shot-frame { transform: translateY(-4px); }

.shot img {
    width: 100%;
    height: auto;
    aspect-ratio: 20 / 9;
    border-radius: 19px;
    background: #07050f;
}

.shot figcaption {
    margin-top: 14px;
    color: var(--ink-2);
    font-size: .92rem;
    text-align: center;
}

.shot figcaption strong { color: var(--ink); }

/* ---- Feature grid -------------------------------------------------------- */

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.card {
    position: relative;
    padding: 24px 22px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(22, 30, 51, .78), rgba(14, 20, 36, .7));
    transition: border-color .25s ease, transform .25s ease;
}

.card:hover {
    border-color: var(--line-2);
    transform: translateY(-3px);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 13px;
    color: var(--c, var(--cyan));
    background: var(--c-soft, rgba(0, 229, 255, .1));
    box-shadow: inset 0 0 0 1px var(--c-line, rgba(0, 229, 255, .25));
}

.card-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h3 {
    margin-bottom: 8px;
    font-size: 1.06rem;
    letter-spacing: -.01em;
}

.card p {
    color: var(--ink-2);
    font-size: .94rem;
    line-height: 1.55;
}

.card p span { white-space: nowrap; }

.tag-pro {
    position: absolute;
    top: 20px;
    right: 18px;
    padding: 5px 8px;
    border-radius: 7px;
    background: linear-gradient(135deg, #ffd166, var(--amber));
    color: #241600;
    font: 800 .64rem/1 var(--font-body);
    letter-spacing: .12em;
}

.grid-note {
    max-width: 640px;
    margin: 32px auto 0;
    color: var(--ink-3);
    font-size: .92rem;
    text-align: center;
}

.grid-note strong { color: var(--ink-2); }

/* ---- Our other sites ----------------------------------------------------- */

/* Flex rather than the feature grid, so the short last row sits centred. */
.sites {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sites > li {
    display: flex;
    flex-direction: column;
    flex: 0 1 calc((100% - 48px) / 4);
}

/* Each site's own app icon, rounded like it sits on a home screen. */
.site-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
}

.sites h3 a {
    color: inherit;
    text-decoration: none;
}

/* The name is the link, stretched over the card so the whole card can be
   clicked while the link text stays just the site's name. */
.sites h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.sites h3 a:focus-visible { outline: none; }

.sites h3 a:focus-visible::after { outline: 2px solid var(--cyan); outline-offset: 3px; }

.site-domain {
    margin-top: auto;
    padding-top: 14px;
    color: var(--c, var(--cyan));
    font-size: .84rem;
    font-weight: 600;
}

/* ---- Closing call to action ---------------------------------------------- */

.cta {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 6vw, 72px) var(--gutter);
    border-radius: 32px;
    border: 1px solid var(--line-2);
    background:
        radial-gradient(70% 90% at 15% 0%, rgba(0, 229, 255, .14), transparent 70%),
        radial-gradient(70% 90% at 85% 100%, rgba(255, 45, 149, .14), transparent 70%),
        linear-gradient(180deg, rgba(22, 30, 51, .9), rgba(11, 17, 31, .9));
    text-align: center;
}

.cta-sign {
    position: relative;
    isolation: isolate;
    width: min(100%, 720px);
    aspect-ratio: 4 / 1;
    margin: 0 auto clamp(28px, 4vw, 40px);
    overflow: hidden;
    border-radius: 18px;
    background: #050409;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 0 50px -10px rgba(168, 85, 247, .45);
}

.cta-sign canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cta h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }

.cta p {
    margin-top: 14px;
    color: var(--ink-2);
    font-size: 1.08rem;
}

.cta .hero-actions { margin-top: 28px; }

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

.site-footer {
    margin-top: clamp(64px, 9vw, 112px);
    border-top: 1px solid var(--line);
    background: rgba(6, 10, 20, .65);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding-block: 40px 28px;
}

.footer-tagline {
    margin-top: 12px;
    color: var(--ink-3);
    font-size: .92rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--ink-2);
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover { color: var(--ink); }

/* Links out to other sites, just above the copyright line. */
.footer-sites {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-block: 0;
    padding-block: 18px;
    border-top: 1px solid var(--line);
    list-style: none;
}

.footer-sites a {
    color: var(--ink-3);
    font-size: .85rem;
    text-decoration: none;
}

.footer-sites a:hover { color: var(--ink); }

.footer-bottom {
    padding-block: 18px 32px;
    border-top: 1px solid var(--line);
    color: var(--ink-3);
    font-size: .85rem;
}

/* ---- Legal documents ----------------------------------------------------- */

.doc-wrap {
    max-width: 860px;
    margin-inline: auto;
    padding: clamp(36px, 6vw, 72px) var(--gutter) 0;
}

.doc-head { margin-bottom: clamp(24px, 4vw, 36px); }

.doc-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }

.doc-meta {
    margin-top: 12px;
    color: var(--ink-3);
    font-size: .95rem;
}

.doc {
    padding: clamp(22px, 4.6vw, 52px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(14, 20, 36, .9), rgba(14, 20, 36, .72));
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
    font-size: 1.01rem;
    line-height: 1.75;
}

.doc h2 {
    margin: 2.6rem 0 .8rem;
    font-size: clamp(1.2rem, 2.4vw, 1.4rem);
    letter-spacing: -.015em;
    line-height: 1.25;
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.doc h3 {
    margin: 1.6rem 0 .5rem;
    font-size: 1.06rem;
    letter-spacing: -.01em;
}

.doc p { margin: 0 0 1rem; color: var(--ink-2); }

.doc ul, .doc ol { margin: 0 0 1.1rem; padding-left: 1.35rem; }

.doc li { margin-bottom: .55rem; color: var(--ink-2); }

.doc li::marker { color: var(--cyan); }

.doc strong { color: var(--ink); }

.doc a {
    color: var(--cyan);
    text-decoration: underline;
    text-decoration-color: rgba(0, 229, 255, .35);
    text-underline-offset: 3px;
}

.doc a:hover { text-decoration-color: currentColor; }

.doc code {
    padding: .1rem .4rem;
    border-radius: 6px;
    background: var(--surface-3);
    color: var(--ink);
    font: .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.doc .highlight,
.doc .warning {
    margin: 0 0 2rem;
    padding: 20px 22px;
    border-radius: 16px;
    border: 1px solid rgba(0, 229, 255, .22);
    background: linear-gradient(135deg, rgba(0, 229, 255, .08), rgba(168, 85, 247, .07));
}

.doc .warning {
    margin: 1.5rem 0;
    border-color: rgba(255, 176, 32, .32);
    background: rgba(255, 176, 32, .07);
}

.doc .warning strong { color: var(--amber); }

.doc .highlight > :last-child,
.doc .warning > :last-child { margin-bottom: 0; }

.doc .warning ul { margin-top: .4rem; }

/* After the callout rules, which set a top margin of their own. */
.doc > :first-child { margin-top: 0; }

.doc .toc {
    margin: 0 0 2.4rem;
    padding: 20px 22px 8px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(6, 10, 20, .45);
}

.doc .toc h2 {
    margin: 0 0 .7rem;
    color: var(--ink-3);
    font: 700 .76rem/1 var(--font-body);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.doc .toc ol {
    columns: 2 260px;
    column-gap: 32px;
    margin-bottom: .6rem;
}

.doc .toc li { break-inside: avoid; margin-bottom: .35rem; }

.doc .toc a { text-decoration: none; }

.doc .toc a:hover { text-decoration: underline; }

.doc .table-wrap {
    overflow-x: auto;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.doc table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: .95rem;
}

.doc th, .doc td {
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    text-align: left;
    vertical-align: top;
}

.doc th {
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 700;
}

.doc tr:last-child td { border-bottom: 0; }

.doc .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 1.5rem;
}

.doc .step {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(22, 30, 51, .6);
}

.doc .step h3 { margin-top: 0; color: var(--ink); }

.doc .step ul:last-child { margin-bottom: 0; }

.doc-back { margin-top: 28px; }

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

@media (max-width: 980px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sites > li { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 860px) {
    .feature { grid-template-columns: minmax(0, 1fr); }
    .feature-copy { text-align: center; }
    .feature-copy > p { margin-inline: auto; }
    .feature .feature-media,
    .feature--flip .feature-media { order: 2; }
    .feature-copy .steps { max-width: 420px; margin-inline: auto; text-align: left; }
    .chips { justify-content: center; }

    /* Three landscape shots side by side become a swipeable strip. */
    .gallery {
        display: flex;
        gap: 14px;
        margin-inline: calc(-1 * var(--gutter));
        padding: 0 var(--gutter) 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gallery::-webkit-scrollbar { display: none; }

    .gallery > li {
        flex: 0 0 84%;
        scroll-snap-align: center;
    }
}

@media (max-width: 720px) {
    :root { --header-h: 58px; }

    .nav a:not(.btn) { display: none; }

    .brand-icon { width: 30px; height: 30px; border-radius: 8px; }
    .brand-wordmark { height: 19px; }

    .doc .steps { grid-template-columns: minmax(0, 1fr); }
    .doc .toc ol { columns: 1; }
}

@media (max-width: 560px) {
    .try {
        flex-wrap: wrap;
        gap: 4px 10px;
        padding: 10px 12px 12px 16px;
        border-radius: 22px;
    }

    .try input { flex-basis: calc(100% - 70px); }

    .swatches { width: 100%; justify-content: space-between; }

    .swatch { width: 34px; height: 34px; }

    .grid { grid-template-columns: minmax(0, 1fr); }
    .sites > li { flex-basis: 100%; }

    .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
    .brand-wordmark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
