/* ==========================================================================
   Tektira Digital — one stylesheet, mobile first.
   Palette: obsidian ink, warm ivory paper, logo emerald & brushed gold.
   ========================================================================== */

:root {
    --ink: #090D10;
    --ink-2: #10161B;
    --ink-3: #172026;
    --paper: #F4F2EC;
    --paper-2: #EAE6DC;
    --card: #FCFAF6;
    --lime: #2EE5A3;
    --lime-deep: #0D7A5F;
    --cyan: #38D9D5;
    --blue-soft: #E6F0FA;
    --gold: #D8B467;
    --gold-deep: #8C6A24;
    --text: #090D10;
    --muted: #525960;
    --muted-2: #687078;
    --muted-on-ink: #B3BCC3;
    --line: rgba(9, 13, 16, 0.13);
    --line-strong: rgba(9, 13, 16, 0.26);
    --line-ink: rgba(244, 242, 236, 0.14);
    --shell: min(1200px, 100% - 40px);
    --radius: 20px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--lime);
    color: var(--ink);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

p {
    margin: 0;
    text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 600;
    text-wrap: balance;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

button,
input,
textarea {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.process :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--lime);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--paper);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus {
    transform: none;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--lime), var(--cyan) 55%, var(--gold));
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.display {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.022em;
    line-height: 0.98;
}

.display em {
    font-style: italic;
}

.dot {
    color: var(--lime);
}

/* On the paper background the light lime sits too close to the cream to read,
   so paper-side marks use the deep lime. Ink-side keeps the light lime. */
.hero .dot {
    color: var(--lime-deep);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    flex: none;
    background: var(--lime-deep);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--lime-deep);
    box-shadow: 0 0 0 4px rgba(46, 229, 163, 0.2);
}

.eyebrow-light {
    color: var(--lime);
}

.eyebrow-light::before {
    background: rgba(46, 229, 163, 0.5);
}

.section {
    padding: clamp(72px, 9vw, 124px) 0;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink);
}

.btn:active {
    transform: translateY(1px);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    flex: none;
    transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-sm {
    min-height: 44px;
    padding: 0 18px;
    font-size: 15px;
}

.btn-lg {
    min-height: 56px;
    padding: 0 28px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-ink {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.text-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: rgba(243, 240, 233, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: var(--paper);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .header-inner {
    min-height: 62px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 9px;
    object-fit: cover;
    background: var(--ink);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-word {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1;
}

.brand-sub {
    color: var(--muted-2);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.38em;
    line-height: 1;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 14px;
}

.desktop-nav a {
    position: relative;
    padding: 8px 0;
    color: var(--muted);
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}

.desktop-nav a:hover {
    color: var(--ink);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.28s var(--ease);
}

.site-header.has-hero-cta .header-cta {
    max-width: 260px;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.32s var(--ease), padding 0.32s var(--ease),
        opacity 0.24s var(--ease), transform 0.28s var(--ease),
        background 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease);
}

.site-header.has-hero-cta:not(.is-past-hero) .header-actions {
    gap: 0;
}

.site-header.has-hero-cta:not(.is-past-hero) .desktop-nav {
    margin-right: 0;
}

.site-header.has-hero-cta:not(.is-past-hero) .header-cta {
    max-width: 0;
    min-width: 0;
    padding-inline: 0;
    border-width: 0;
    border-color: transparent;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}

.cta-short {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.menu-bar {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-bar:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
}

.mobile-nav .btn {
    margin-top: 20px;
}

.mobile-nav-note {
    margin-top: 14px;
    color: var(--muted-2);
    font-size: 14px;
    line-height: 1.5;
}

@media (min-width: 900px) {
    .desktop-nav {
        display: flex;
    }

    .menu-toggle,
    .mobile-nav {
        display: none;
    }

    .header-inner {
        min-height: 78px;
    }
}

@media (max-width: 639px) {
    .cta-full {
        display: none;
    }

    .cta-short {
        display: inline;
    }

    .brand-sub {
        display: none;
    }

    .hero .eyebrow {
        font-size: 10px;
        letter-spacing: 0.12em;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 4.2vw, 48px) 0 clamp(44px, 5.8vw, 68px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(11, 12, 14, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 12, 14, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.hero::after {
    content: "";
    position: absolute;
    top: -220px;
    right: -200px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 229, 163, 0.14), transparent 66%);
    pointer-events: none;
}

.hero .shell {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    gap: 36px;
}

.hero-copy {
    max-width: 640px;
}

.hero h1 {
    font-size: clamp(2.55rem, 5.15vw, 4.65rem);
    letter-spacing: -0.026em;
    line-height: 0.98;
    margin-bottom: 20px;
}

.hero h1 em {
    background: linear-gradient(180deg, transparent 66%, rgba(216, 180, 103, 0.34) 66%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Hero headline glint: each letter flashes to the services-card blue and back
   to ink, one after another, then holds before the next sweep. site.js wraps
   the letters and sets --i; with JS off or reduced motion the headline is
   plain ink and never animates. */
.hero-glint-text .gl {
    color: var(--ink);
}

.hero-glint-text .gl-word {
    white-space: nowrap;
}

.hero-glint.is-glinting .gl {
    animation: hero-glint 4s linear infinite;
    animation-delay: calc(var(--i, 0) * 30ms);
}

@keyframes hero-glint {

    0%,
    100% {
        color: var(--ink);
    }

    2% {
        color: var(--blue-soft);
    }

    6.8% {
        color: var(--ink);
    }
}

.lede {
    max-width: 52ch;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.58;
}

.hero-cta {
    margin-top: 24px;
}

.terms-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    list-style: none;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.terms-line li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-line li::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: none;
    border-radius: 50%;
    background: var(--lime-deep);
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    perspective: 1200px;
}

.console {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(243, 240, 233, 0.12);
    border-radius: 22px;
    background:
        radial-gradient(110% 70% at 88% 0%, rgba(46, 229, 163, 0.09), transparent 52%),
        var(--ink);
    color: var(--paper);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.2s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    box-shadow: 0 38px 72px -34px rgba(11, 12, 14, 0.56),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.console.is-playing {
    border-color: rgba(46, 229, 163, 0.24);
}

.console-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #9A9EA4;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.console-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.console-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.console-time {
    font-variant-numeric: tabular-nums;
    color: #B4B7BA;
}

.console-replay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(243, 240, 233, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #C9CDD2;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.console-replay:hover {
    border-color: rgba(46, 229, 163, 0.55);
    background: rgba(46, 229, 163, 0.1);
    color: var(--lime);
}

.console-replay:focus-visible,
.console-tab:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}

.console-replay svg {
    width: 11px;
    height: 11px;
    flex: none;
    transition: transform 0.35s var(--ease);
}

.console-replay:hover svg {
    transform: rotate(-45deg);
}

.console-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 12px;
    padding: 4px;
    border: 1px solid rgba(243, 240, 233, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.console-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #A9ADB3;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: background 0.22s var(--ease), color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.console-tab:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.06);
    color: var(--paper);
}

.console-tab.is-active {
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 229, 163, 0.45);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(46, 229, 163, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 229, 163, 0);
    }
}

.console-agent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-ink);
}

.agent-avatar {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 9px;
    object-fit: cover;
    background: var(--ink);
    box-shadow: 0 0 0 1px rgba(243, 240, 233, 0.18);
}

.agent-id {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.agent-name {
    color: var(--paper);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
}

.agent-status {
    color: #9A9EA4;
    font-size: 13px;
    line-height: 1.25;
}

.wave {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 88px;
    height: 24px;
    margin-left: auto;
    flex: none;
}

.wave i {
    display: block;
    width: 2px;
    flex: none;
    height: var(--h);
    border-radius: 2px;
    background: var(--lime);
    transform-origin: center;
    animation: wave 1.1s ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * -0.09s);
    transition: background-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.console.is-speaking-caller .wave i {
    background: rgba(243, 240, 233, 0.72);
    animation-duration: 0.9s;
}

.console.is-speaking-agent .wave i {
    background: var(--lime);
    animation-duration: 0.65s;
}

.console.is-idle .wave i {
    opacity: 0.45;
    animation-duration: 1.9s;
}

@keyframes wave {
    from {
        transform: scaleY(0.32);
    }
    to {
        transform: scaleY(1);
    }
}

.transcript-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 256px;
}

.transcript {
    display: grid;
    gap: 8px;
    align-content: start;
}

.turn {
    max-width: 92%;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 13px 13px 13px 4px;
    background: var(--ink-3);
    transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.turn:not(.is-visible) {
    display: none;
}

.turn.is-entering {
    animation: turn-in 0.36s var(--ease) both;
}

@keyframes turn-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.turn.is-current {
    border-color: rgba(243, 240, 233, 0.16);
}

.turn-agent {
    margin-left: auto;
    border-left: 2px solid var(--lime);
    border-radius: 13px 13px 4px 13px;
    background: rgba(46, 229, 163, 0.1);
}

.turn-agent.is-current {
    border-color: rgba(46, 229, 163, 0.35);
    border-left-color: var(--lime);
    background: rgba(46, 229, 163, 0.14);
}

.turn-who {
    display: block;
    margin-bottom: 3px;
    color: #9A9EA4;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.turn-agent .turn-who {
    color: var(--lime);
}

.turn p {
    color: #E7E4DD;
    font-size: 13.5px;
    line-height: 1.45;
}

.console-typing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #A9ADB3;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.console-typing[hidden] {
    display: none;
}

.console-typing.is-agent {
    margin-left: auto;
    background: rgba(46, 229, 163, 0.1);
    color: var(--lime);
}

.console-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.console-typing-dots i {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    animation: typing-dot 0.9s ease-in-out infinite;
}

.console-typing-dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.console-typing-dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typing-dot {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.console-outcome {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(243, 240, 233, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.03);
    color: #9A9EA4;
    transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.console-outcome.is-ready {
    border-color: rgba(46, 229, 163, 0.42);
    background: rgba(46, 229, 163, 0.11);
    color: var(--paper);
}

.outcome-check {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
    border: 1px solid rgba(243, 240, 233, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: transparent;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.console-outcome.is-ready .outcome-check {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--ink);
    transform: scale(1.04);
}

.outcome-check svg {
    width: 12px;
    height: 12px;
}

.outcome-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    line-height: 1.2;
}

.outcome-copy b {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.outcome-copy small {
    color: #B4B7BA;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.console-outcome.is-ready .outcome-copy small {
    color: #9EEFD0;
}

.console-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--line-ink);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.chips span {
    padding: 3px 7px;
    border: 1px solid rgba(243, 240, 233, 0.14);
    border-radius: 999px;
    color: #82868D;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
    transition: border-color 0.28s var(--ease), color 0.28s var(--ease), background-color 0.28s var(--ease);
}

.chips span.is-captured {
    border-color: rgba(46, 229, 163, 0.42);
    background: rgba(46, 229, 163, 0.09);
    color: #E7E4DD;
}

.saved {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    color: #82868D;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.28s var(--ease);
}

.saved.is-ready {
    color: var(--lime);
}

.saved svg {
    width: 11px;
    height: 11px;
}

.visual-caption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 639px) {
    .console-tab {
        min-height: 44px;
        font-size: 12.5px;
        padding: 0 4px;
    }

    .console-replay {
        min-height: 36px;
        padding: 0 11px;
    }

    .transcript-stage {
        min-height: 274px;
    }
}

/* Generic reveal. `backwards` fill keeps the final state unstyled so hover
   transforms on cards keep working after the entrance animation. */
[data-reveal].is-in {
    animation: rise 0.75s var(--ease) backwards;
    animation-delay: var(--reveal-delay, 0s);
}

@keyframes rise {
    from {
        transform: translateY(18px);
    }
    to {
        transform: none;
    }
}

@media (min-width: 640px) {
    .console {
        padding: 20px 22px;
    }

    .turn p {
        font-size: 14px;
    }

    .lede {
        font-size: 17px;
    }
}

@media (min-width: 960px) {
    .hero {
        padding: clamp(28px, 3.6vw, 48px) 0 clamp(44px, 5vw, 66px);
    }

    .hero-grid {
        grid-template-columns: 1.04fr 0.96fr;
        align-items: center;
        gap: 44px;
    }

    .hero-copy {
        max-width: none;
    }

    .hero h1 {
        margin-bottom: 20px;
    }

    .hero-visual {
        margin-inline: 0 0;
        margin-left: auto;
    }

    .visual-caption {
        text-align: right;
        padding-right: 6px;
    }
}

/* ---------- Marquee ---------- */

.marquee {
    overflow: hidden;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--ink);
    color: var(--paper);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-set {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-right: 26px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

.marquee-set b {
    color: var(--gold);
    font-size: 12px;
    font-weight: 400;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Statement + the gap ---------- */

.statement {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 92px) 0 clamp(64px, 9vw, 108px);
    background: var(--ink);
    color: var(--paper);
}

.statement-head {
    display: grid;
    gap: 22px;
    margin-bottom: clamp(38px, 5vw, 60px);
}

.statement-text {
    max-width: 30ch;
    font-family: var(--serif);
    font-size: clamp(1.85rem, 4.6vw, 3.5rem);
    letter-spacing: -0.018em;
    line-height: 1.06;
}

.gap-grid {
    display: grid;
    gap: 14px;
}

.gap-col {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line-ink);
    border-radius: 18px;
    background: var(--ink-2);
}

.gap-new {
    border-color: rgba(46, 229, 163, 0.34);
    background:
        linear-gradient(165deg, rgba(46, 229, 163, 0.08), rgba(9, 13, 16, 0) 48%),
        linear-gradient(350deg, rgba(216, 180, 103, 0.07), rgba(9, 13, 16, 0) 46%),
        var(--ink-2);
}

.gap-new::after {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lime), var(--gold), transparent);
    opacity: 0.72;
    pointer-events: none;
}

.gap-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(244, 242, 236, 0.08);
}

.gap-label {
    color: #939CA4;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gap-new .gap-label {
    color: var(--lime);
}

.gap-badge {
    padding: 4px 10px;
    border: 1px solid rgba(244, 242, 236, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #9AA3AB;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gap-badge-live {
    border-color: rgba(46, 229, 163, 0.38);
    background: rgba(46, 229, 163, 0.11);
    color: var(--lime);
}

.gap-timeline {
    position: relative;
    display: grid;
    gap: 0;
    list-style: none;
}

.gap-timeline::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 6px;
    width: 1px;
    background: rgba(244, 242, 236, 0.11);
}

.gap-new .gap-timeline::before {
    background: linear-gradient(180deg, rgba(46, 229, 163, 0.55), rgba(216, 180, 103, 0.45));
}

.gap-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: baseline;
    gap: 10px;
    padding: 12px 0 12px 24px;
    border-bottom: 1px solid rgba(244, 242, 236, 0.06);
    color: #A4ADB5;
    font-size: 15.5px;
    line-height: 1.5;
}

.gap-timeline li:last-child {
    padding-bottom: 2px;
    border-bottom: 0;
}

.gap-timeline li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid #59626B;
    background: var(--ink-2);
}

.gap-new .gap-timeline li {
    color: #EBE7DE;
}

.gap-new .gap-timeline li::before {
    border-color: var(--lime);
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(46, 229, 163, 0.14);
}

.gap-new .gap-timeline li:last-child::before {
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(216, 180, 103, 0.16);
}

.gap-time {
    color: #8E97A0;
    font-family: var(--mono);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gap-new .gap-time {
    color: var(--gold);
}

@media (min-width: 760px) {
    .gap-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .gap-col {
        padding: 28px;
    }
}

@media (min-width: 900px) {
    .statement-head {
        grid-template-columns: 220px 1fr;
        gap: 48px;
        align-items: start;
    }

    .statement-text {
        max-width: 32ch;
    }
}

/* ---------- Section heads ---------- */

.section-head {
    display: grid;
    gap: 22px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
    font-size: clamp(2.35rem, 5.4vw, 4.3rem);
}

.section-note {
    max-width: 44ch;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.65;
}

@media (min-width: 900px) {
    .section-head {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: end;
        gap: 48px;
    }

    .section-head .section-note {
        padding-bottom: 8px;
        justify-self: end;
    }
}

/* ---------- Services ---------- */

.cards {
    display: grid;
    gap: 16px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
            rgba(46, 229, 163, 0.1), transparent 45%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 28px 56px -36px rgba(11, 12, 14, 0.4);
}

.card-dark {
    border-color: rgba(46, 229, 163, 0.24);
    background:
        radial-gradient(120% 70% at 90% 0%, rgba(46, 229, 163, 0.09), transparent 52%),
        radial-gradient(90% 60% at 10% 100%, rgba(216, 180, 103, 0.07), transparent 55%),
        var(--ink);
    color: var(--paper);
}

.card-dark:hover {
    border-color: rgba(46, 229, 163, 0.44);
}

.card-blue {
    border-color: rgba(42, 118, 184, 0.24);
    background:
        radial-gradient(120% 70% at 90% 0%, rgba(56, 217, 213, 0.12), transparent 52%),
        var(--blue-soft);
}

.card-blue:hover {
    border-color: rgba(42, 118, 184, 0.46);
}

.card-blue::before {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
            rgba(56, 217, 213, 0.18), transparent 45%);
}

.card-blue .card-index,
.card-blue .price-label,
.card-blue .card-fit {
    color: #54616E;
}

.card-green {
    border-color: rgba(13, 122, 95, 0.24);
    background:
        radial-gradient(120% 70% at 90% 0%, rgba(46, 229, 163, 0.14), transparent 52%),
        #E7F4EC;
}

.card-green:hover {
    border-color: rgba(13, 122, 95, 0.46);
}

.card-green::before {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
            rgba(46, 229, 163, 0.2), transparent 45%);
}

.card-green .card-index,
.card-green .price-label,
.card-green .card-fit {
    color: #506359;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.card-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 64px;
    margin-bottom: 22px;
    padding: 10px 12px;
    border: 1px solid rgba(9, 13, 16, 0.1);
    border-radius: 13px;
    background: rgba(9, 13, 16, 0.032);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-dark .card-preview {
    border-color: rgba(244, 242, 236, 0.12);
    background: rgba(255, 255, 255, 0.035);
}

.pv-voice-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #C5CDD4;
    white-space: nowrap;
}

.pv-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 3px rgba(46, 229, 163, 0.2);
}

.pv-bars {
    display: inline-flex;
    align-items: center;
    gap: 2.5px;
    height: 20px;
    margin-inline: auto;
}

.pv-bars i {
    display: block;
    width: 2px;
    height: var(--h);
    border-radius: 2px;
    background: linear-gradient(180deg, var(--lime), var(--cyan));
    animation: wave 1.15s ease-in-out infinite alternate;
}

.pv-bars i:nth-child(even) {
    animation-delay: -0.45s;
}

.pv-bars i:nth-child(3n) {
    animation-delay: -0.8s;
}

.pv-pill {
    padding: 3px 8px;
    border: 1px solid rgba(46, 229, 163, 0.36);
    border-radius: 999px;
    background: rgba(46, 229, 163, 0.12);
    color: var(--lime);
    font-size: 9.5px;
    white-space: nowrap;
}

.card-preview-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 9px 11px;
}

.pv-flow-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pv-flow-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pv-flow-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lime-deep);
    box-shadow: 0 0 0 2.5px rgba(13, 122, 95, 0.16);
}

.pv-flow-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pv-node {
    padding: 3px 7px;
    border: 1px solid rgba(9, 13, 16, 0.14);
    border-radius: 7px;
    background: var(--card);
    color: var(--ink);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.25;
    white-space: nowrap;
}

.pv-node-end {
    border-color: rgba(13, 122, 95, 0.36);
    background: rgba(13, 122, 95, 0.08);
    color: var(--lime-deep);
}

.pv-node-more {
    border-style: dashed;
    border-color: rgba(9, 13, 16, 0.22);
    background: transparent;
    color: var(--muted);
}

.pv-wire {
    position: relative;
    flex: 1;
    height: 1.5px;
    background: rgba(9, 13, 16, 0.16);
    overflow: hidden;
}

.pv-pulse {
    position: absolute;
    top: -1.5px;
    left: -18px;
    width: 18px;
    height: 4.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--lime-deep));
    animation: flow-pulse 2.4s var(--ease) infinite;
}

.pv-pulse-2 {
    animation-delay: 1.2s;
}

@keyframes flow-pulse {
    0% {
        left: -20px;
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.card-preview-site {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 9px 11px;
}

.pv-win-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pv-win-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.pv-dots {
    display: inline-flex;
    gap: 4px;
    flex: none;
}

.pv-dots i {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(9, 13, 16, 0.22);
}

.pv-win-url {
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pv-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    border: 1px solid rgba(13, 122, 95, 0.36);
    border-radius: 7px;
    background: rgba(13, 122, 95, 0.08);
    color: var(--lime-deep);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.25;
    white-space: nowrap;
}

.pv-live-tag::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lime-deep);
}

.pv-win-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pv-win-tags .pv-node {
    animation: site-tag-pulse 4.8s var(--ease) infinite;
    will-change: transform, box-shadow;
}

.pv-win-tags .pv-node:nth-child(1) {
    animation-delay: 0s;
}

.pv-win-tags .pv-node:nth-child(2) {
    animation-delay: 1.2s;
}

.pv-win-tags .pv-node:nth-child(3) {
    animation-delay: 2.4s;
}

.pv-win-tags .pv-node:nth-child(4) {
    animation-delay: 3.6s;
}

@keyframes site-tag-pulse {
    0%,
    28%,
    100% {
        transform: translateY(0);
        box-shadow: none;
    }
    11% {
        border-color: rgba(13, 122, 95, 0.55);
        background: rgba(46, 229, 163, 0.2);
        color: var(--lime-deep);
        transform: translateY(-1px);
        box-shadow: 0 0 0 3px rgba(46, 229, 163, 0.18), 0 4px 10px -4px rgba(13, 122, 95, 0.28);
    }
}

.pv-win-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pv-win-bars {
    display: grid;
    gap: 4px;
    flex: 1;
}

.pv-win-bars i {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: rgba(9, 13, 16, 0.16);
}

.pv-win-bars i:first-child {
    background: rgba(9, 13, 16, 0.34);
}

.pv-win-chip {
    padding: 3px 8px;
    border: 1px solid rgba(140, 106, 36, 0.3);
    border-radius: 999px;
    background: rgba(216, 180, 103, 0.16);
    color: var(--gold-deep);
    font-size: 9.5px;
    font-weight: 600;
    white-space: nowrap;
}

.card-index {
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
}

.card-tag {
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(11, 12, 14, 0.035);
    color: var(--ink);
}

.card-icon svg {
    width: 21px;
    height: 21px;
}

.card-dark .card-index {
    color: #8E9297;
}

.card-dark .card-icon {
    border-color: rgba(46, 229, 163, 0.28);
    background: rgba(46, 229, 163, 0.12);
    color: var(--lime);
}

.card-title {
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.012em;
    line-height: 1.02;
}

.card-copy {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.card-dark .card-copy {
    color: var(--muted-on-ink);
}

.ticks {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
    list-style: none;
    font-size: 15px;
    line-height: 1.4;
}

.ticks li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.ticks li::before {
    content: "✓";
    flex: none;
    color: var(--lime-deep);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.card-dark .ticks li::before {
    color: var(--lime);
}

.card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.card-dark .card-price {
    border-top-color: var(--line-ink);
}

.price-main {
    font-family: var(--serif);
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 0.9;
}

.plus {
    font-size: 0.62em;
    vertical-align: 0.35em;
}

.price-label {
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.card-dark .price-label {
    color: #8E9297;
}

.price-month {
    flex-basis: 100%;
    color: var(--muted);
    font-size: 14.5px;
}

.card-dark .price-month {
    color: #C9CCCF;
}

.card-fit {
    margin-top: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.card-dark .card-fit {
    color: #A9AFB5;
}

@media (min-width: 900px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .card {
        padding: 30px;
    }
}

/* ---------- What every build includes ---------- */

.includes {
    display: grid;
    gap: 20px;
    margin-top: clamp(36px, 5vw, 56px);
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.includes-label {
    color: var(--muted-2);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.includes-list {
    display: grid;
    gap: 14px;
    list-style: none;
}

.includes-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.includes-list li span {
    padding-top: 3px;
    color: var(--lime-deep);
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
}

@media (min-width: 640px) {
    .includes-list {
        grid-template-columns: 1fr 1fr;
        gap: 14px 28px;
    }
}

@media (min-width: 900px) {
    .includes {
        grid-template-columns: 220px 1fr;
        gap: 48px;
        align-items: start;
    }
}

@media (min-width: 1100px) {
    .includes-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* ---------- Example call stage ---------- */

.demo {
    border-top: 1px solid var(--line);
}

.demo-grid {
    display: grid;
    gap: 40px;
}

.demo-copy h2 {
    font-size: clamp(2.35rem, 5vw, 4rem);
}

.demo-copy .section-note {
    margin-top: 22px;
}

.demo-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    list-style: none;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.45;
}

.demo-facts li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-facts li::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: none;
    border-radius: 50%;
    background: var(--lime);
}

.demo-facts li:nth-child(1)::before {
    background: #2EE5A3;
}

.demo-facts li:nth-child(2)::before {
    background: #5ee7f2;
}

.demo-facts li:nth-child(3)::before {
    background: #D8B467;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.stage {
    --core-size: 168px;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 510px;
    overflow: hidden;
    border: 1px solid rgba(244, 242, 236, 0.1);
    border-radius: 22px;
    background:
        radial-gradient(62% 52% at 50% 42%, rgba(46, 229, 163, 0.065), rgba(56, 217, 213, 0.025) 45%, transparent 74%),
        radial-gradient(48% 36% at 80% 14%, rgba(216, 180, 103, 0.045), transparent 70%),
        linear-gradient(180deg, #0E1419 0%, #0A0E12 58%, #070A0D 100%);
    color: var(--paper);
    box-shadow:
        0 38px 72px -44px rgba(9, 13, 16, 0.78),
        0 12px 28px -18px rgba(9, 13, 16, 0.45),
        inset 0 1px 0 rgba(244, 242, 236, 0.08);
    transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.stage.is-live {
    border-color: rgba(46, 229, 163, 0.28);
    box-shadow:
        0 40px 80px -44px rgba(9, 13, 16, 0.84),
        0 0 0 1px rgba(46, 229, 163, 0.08),
        inset 0 1px 0 rgba(244, 242, 236, 0.1);
}

.stage-audio {
    display: none;
}

.stage-hud {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(244, 242, 236, 0.07);
    color: #95A0A8;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.stage-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stage-clock {
    color: #DCE2E6;
    font-variant-numeric: tabular-nums;
}

.stage-clock-sep {
    margin: 0 5px;
    color: #5E6870;
}

.stage.is-live .stage-tag {
    color: var(--paper);
}

.stage.is-preview .live-dot {
    background: var(--gold);
    animation: none;
}

.stage.is-preview .stage-foot-mid {
    color: var(--gold);
}

.stage-visual-wrap {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 328px;
    overflow: hidden;
}

.stage-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.core {
    grid-area: 1 / 1;
    width: var(--core-size);
    height: var(--core-size);
    border-radius: 50%;
    pointer-events: none;
}

.stage-play {
    position: relative;
    z-index: 3;
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 54px;
    padding: 7px 22px 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
    box-shadow:
        0 14px 32px -12px rgba(0, 0, 0, 0.72),
        0 0 0 6px rgba(9, 13, 16, 0.42);
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
        transform 0.25s var(--ease);
}

.stage-play:hover {
    background: #FFFFFF;
    transform: translateY(-1px);
    box-shadow:
        0 18px 36px -12px rgba(0, 0, 0, 0.78),
        0 0 0 7px rgba(46, 229, 163, 0.14);
}

.stage-play:active {
    transform: translateY(0);
}

.stage-play:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 4px;
}

.stage-play-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    background: var(--lime);
    color: #071012;
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
        transform 0.25s var(--ease);
}

.stage-play-icon svg {
    width: 14px;
    height: 14px;
}

.stage .icon-pause {
    display: none;
}

.stage.is-live .icon-play {
    display: none;
}

.stage.is-live .icon-pause {
    display: block;
}

.stage-play:hover .stage-play-icon {
    transform: scale(1.05);
}

.stage.is-live .stage-play {
    border-color: rgba(244, 242, 236, 0.24);
    background: rgba(9, 13, 16, 0.52);
    color: var(--paper);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        0 14px 32px -12px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.stage.is-live .stage-play:hover {
    border-color: rgba(244, 242, 236, 0.42);
    background: rgba(14, 20, 26, 0.68);
}

.stage.is-paused .stage-play {
    border-color: rgba(230, 184, 92, 0.36);
    background: rgba(9, 13, 16, 0.58);
    color: var(--paper);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
}

.stage.is-paused .stage-play-icon {
    background: var(--gold);
    color: #090D10;
}

.stage.is-done .stage-play {
    border-color: rgba(255, 255, 255, 0.85);
    background: var(--paper);
    color: var(--ink);
}

.stage-caption {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 74px;
    margin: 0 22px 16px;
    padding: 12px 18px;
    border: 1px solid rgba(244, 242, 236, 0.08);
    border-radius: 14px;
    background: rgba(244, 242, 236, 0.032);
    text-align: center;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.stage-caption-who {
    color: #8E99A2;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.stage-caption[data-who="Agent"] .stage-caption-who {
    color: var(--lime);
}

.stage-caption[data-who="Caller"] .stage-caption-who {
    color: var(--gold);
}

.stage-caption[data-who="System"] .stage-caption-who {
    color: var(--cyan);
}

.stage-caption[data-who="Ready"] .stage-caption-who {
    color: #95A0A8;
}

.stage-caption[data-who="Agent"] {
    border-color: rgba(46, 229, 163, 0.22);
    background: rgba(46, 229, 163, 0.04);
}

.stage-caption[data-who="Caller"] {
    border-color: rgba(216, 180, 103, 0.24);
    background: rgba(216, 180, 103, 0.045);
}

.stage-caption[data-who="System"] {
    border-color: rgba(56, 217, 213, 0.24);
    background: rgba(56, 217, 213, 0.045);
}

.stage-caption-line {
    color: #ECEAE3;
    font-size: 15px;
    line-height: 1.45;
    text-wrap: balance;
}

.stage-foot {
    position: relative;
    z-index: 2;
    padding: 0 22px 20px;
}

.stage-rail {
    position: relative;
    height: 3px;
    border-radius: 999px;
    background: rgba(244, 242, 236, 0.1);
}

.stage-rail-fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lime) 0%, var(--cyan) 54%, var(--gold) 100%);
    transform: scaleX(0);
    transform-origin: left;
}

.stage-rail-head {
    position: absolute;
    top: 50%;
    left: 0;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow:
        0 0 0 3px rgba(46, 229, 163, 0.2),
        0 0 10px rgba(46, 229, 163, 0.45);
    opacity: 0;
    transition: opacity 0.25s var(--ease);
}

.stage.is-live .stage-rail-head,
.stage.is-paused .stage-rail-head,
.stage.is-done .stage-rail-head {
    opacity: 1;
}

.stage-foot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: #828C94;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

.stage-foot-mid {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #95A0A8;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .stage {
        --core-size: 196px;
        min-height: 540px;
    }

    .stage-hud {
        padding: 20px 26px 16px;
    }

    .stage-visual-wrap {
        min-height: 324px;
    }

    .stage-play {
        min-height: 58px;
        padding: 8px 26px 8px 9px;
        font-size: 15.5px;
    }

    .stage-play-icon {
        width: 40px;
        height: 40px;
    }

    .stage-caption {
        margin: 0 26px 18px;
        padding: 13px 22px;
    }

    .stage-caption-line {
        font-size: 15.5px;
    }

    .stage-foot {
        padding: 0 26px 22px;
    }
}

@media (min-width: 960px) {
    .demo-grid {
        grid-template-columns: 0.82fr 1.18fr;
        gap: 72px;
        align-items: center;
    }

    .stage {
        --core-size: 214px;
        min-height: 560px;
    }

    .stage-visual-wrap {
        min-height: 346px;
    }
}

@media (min-width: 1100px) {
    .stage {
        --core-size: 224px;
        min-height: 576px;
    }

    .stage-visual-wrap {
        min-height: 362px;
    }
}

/* ---------- Process ---------- */

.process {
    background: var(--ink);
    color: var(--paper);
}

.process-grid {
    display: grid;
    gap: 44px;
}

.process-intro h2 {
    font-size: clamp(2.35rem, 5.2vw, 4.1rem);
}

.process-note {
    max-width: 34ch;
    margin-top: 24px;
    color: var(--muted-on-ink);
    font-size: 16.5px;
    line-height: 1.65;
}

.steps {
    position: relative;
    list-style: none;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 28px 0;
    border-top: 1px solid var(--line-ink);
}

.step:last-child {
    border-bottom: 1px solid var(--line-ink);
}

.step-num {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.9rem;
    line-height: 0.9;
}

.step h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.step p {
    max-width: 52ch;
    color: var(--muted-on-ink);
    font-size: 16px;
    line-height: 1.65;
}

@media (min-width: 960px) {
    .process-grid {
        grid-template-columns: 0.88fr 1.12fr;
        gap: 80px;
        align-items: start;
    }

    .process-intro {
        position: sticky;
        top: 112px;
    }

    .step {
        grid-template-columns: 64px 1fr;
        padding: 32px 0;
    }

    .step-num {
        font-size: 2.2rem;
    }
}

/* ---------- Spotlight CTA band ---------- */

.band {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 88px) 0;
    border-top: 1px solid rgba(46, 229, 163, 0.24);
    border-bottom: 1px solid rgba(216, 180, 103, 0.24);
    background:
        radial-gradient(65% 120% at 88% 50%, rgba(46, 229, 163, 0.16), transparent 58%),
        radial-gradient(55% 110% at 12% 0%, rgba(216, 180, 103, 0.14), transparent 56%),
        var(--ink-2);
    color: var(--paper);
}

.band-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
    align-items: end;
}

.band h2 {
    font-size: clamp(2rem, 4.4vw, 3.5rem);
}

.band h2 em {
    color: var(--gold);
}

.band p {
    max-width: 52ch;
    margin-top: 18px;
    color: var(--muted-on-ink);
    font-size: 16px;
    line-height: 1.65;
}

.band .btn {
    justify-self: start;
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink);
}

.band .btn:hover {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

@media (min-width: 900px) {
    .band-inner {
        grid-template-columns: 1fr auto;
        gap: 48px;
    }

    .band .btn {
        justify-self: end;
    }
}

/* ---------- FAQ ---------- */

.faq-grid {
    display: grid;
    gap: 38px;
}

.faq-intro h2 {
    max-width: 15ch;
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
}

.faq-intro .section-note {
    margin-top: 22px;
}

.faq-list details {
    border-top: 1px solid var(--line);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary:hover {
    color: var(--lime-deep);
}

.faq-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: none;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.25s var(--ease);
}

.faq-icon::before {
    width: 14px;
    height: 1.5px;
}

.faq-icon::after {
    width: 1.5px;
    height: 14px;
}

.faq-list details[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details p {
    max-width: 62ch;
    padding: 0 34px 22px 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

@media (min-width: 960px) {
    .faq-grid {
        grid-template-columns: 0.82fr 1.18fr;
        gap: 80px;
        align-items: start;
    }

    .faq-intro {
        position: sticky;
        top: 112px;
    }

    .faq-list summary {
        padding: 22px 0;
    }
}

/* ---------- Contact ---------- */

.contact {
    background: var(--ink);
    color: var(--paper);
}

.contact-grid {
    display: grid;
    gap: 44px;
}

.contact-copy h2 {
    font-size: clamp(2.45rem, 5.4vw, 4.3rem);
}

.contact-lede {
    max-width: 46ch;
    margin-top: 22px;
    color: var(--muted-on-ink);
    font-size: 16.5px;
    line-height: 1.65;
}

.next {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--line-ink);
}

.next-label {
    margin-bottom: 16px;
    color: #939CA4;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.next ol {
    display: grid;
    gap: 13px;
    list-style: none;
}

.next li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    color: #C9CCCF;
    font-size: 15.5px;
    line-height: 1.55;
}

.next li span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.3;
}

.direct {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line-ink);
}

.direct-line {
    color: var(--paper);
    font-size: 16px;
    line-height: 1.6;
}

.direct-line a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.direct-line a:hover {
    color: var(--lime);
}

.direct-phone {
    margin-top: 4px;
}

.form-card {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3.4vw, 34px);
    border-radius: 22px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 44px 90px -44px rgba(0, 0, 0, 0.65);
}

.form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, var(--lime-deep), var(--gold) 65%, transparent);
    opacity: 0.78;
}

.form-head h3 {
    margin-bottom: 8px;
    font-family: var(--serif);
    font-size: clamp(1.75rem, 2.6vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1;
}

.form-head p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.field-row {
    display: grid;
    gap: 0;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

.field label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.optional {
    color: var(--muted-2);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    border: 1px solid #D9D5CB;
    border-radius: 10px;
    background: #FFFDF8;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
    min-height: 116px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #6B6E72;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 229, 163, 0.24);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: #B3261E;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.btn-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
}

.form-fine {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.form-fine a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-status {
    display: none;
    margin-bottom: 14px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.form-status.is-error {
    display: block;
    border: 1px solid #F0C4B8;
    background: #FDECE8;
    color: #8F2610;
}

.form-success {
    padding: 10px 0 4px;
}

.form-success:focus,
.form-success:focus-visible {
    outline: none;
}

.success-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--lime);
}

.success-mark svg {
    width: 24px;
    height: 24px;
}

.field-topics {
    margin-bottom: 14px;
}

.field-label {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease),
        border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.topic-chip::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(9, 13, 16, 0.22);
    transition: background 0.2s var(--ease);
}

.topic-chip:hover {
    border-color: var(--ink);
}

.topic-chip.is-selected {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.topic-chip.is-selected::before {
    background: var(--lime);
}

@media (max-width: 639px) {
    .topic-chip {
        min-height: 44px;
        padding: 0 14px;
    }
}

.form-success h3 {
    margin-bottom: 10px;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1;
}

.form-success p {
    max-width: 38ch;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
}

@media (min-width: 560px) {
    .field-row {
        grid-template-columns: 1fr 1fr;
        gap: 0 14px;
    }
}

@media (min-width: 960px) {
    .contact-grid {
        grid-template-columns: 0.88fr 1.12fr;
        gap: 72px;
        align-items: start;
    }

    .form-card {
        margin-top: 4px;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 56px 0 84px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #07080A;
    color: var(--paper);
}

.footer-word {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 48px;
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(3.4rem, 13vw, 12rem);
    letter-spacing: -0.035em;
    line-height: 0.78;
    white-space: nowrap;
}

.footer-word .dot {
    color: var(--lime);
}

.footer-grid {
    display: grid;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--line-ink);
}

.footer-brand {
    max-width: 280px;
}

.footer-tag {
    color: #A9ACB0;
    font-size: 15px;
    line-height: 1.6;
}

.footer-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 10px;
    color: var(--paper);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.footer-cta::before {
    content: "";
    position: absolute;
    inset: -8px;
}

.footer-cta svg {
    width: 14px;
    height: 14px;
}

.footer-cta:hover {
    color: var(--lime);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-head {
    margin-bottom: 6px;
    color: #8E9297;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-col a,
.footer-static {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: #C9CCCF;
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--paper);
}

.footer-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 44px;
    padding-top: 18px;
    border-top: 1px solid var(--line-ink);
    color: #8E9297;
    font-size: 13px;
    line-height: 1.5;
}

@media (min-width: 900px) {
    .site-footer {
        padding-top: 64px;
    }

    .footer-word {
        font-size: clamp(7rem, 21vw, 21rem);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
        gap: 24px;
    }
}

@media (min-width: 640px) and (max-width: 899px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 360px;
    }
}

@media (max-width: 899px) {
    .footer-col a,
    .footer-static {
        min-height: 44px;
    }

    .footer-grid {
        gap: 22px;
    }
}

/* ---------- Legal pages ---------- */

.legal {
    padding: clamp(52px, 7vw, 92px) 0 clamp(72px, 9vw, 112px);
}

.legal-inner {
    width: min(760px, 100%);
}

.legal h1 {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 0.98;
}

.legal .updated {
    margin-bottom: 34px;
    color: var(--muted-2);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal h2 {
    margin: 34px 0 10px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.legal p,
.legal li {
    margin-bottom: 12px;
    color: #3F4246;
    font-size: 16px;
    line-height: 1.75;
}

.legal ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-note {
    margin: 26px 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--lime);
    border-radius: 0 12px 12px 0;
    background: var(--card);
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.65;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 34px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
}

/* ---------- Chat assistant ---------- */

.chat {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
}

.chat[hidden] {
    display: none;
}

.chat-launcher {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 92;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 16px 0 12px;
    border: 1px solid rgba(244, 242, 236, 0.2);
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 14px 34px rgba(9, 13, 16, 0.34),
        0 0 0 1px rgba(46, 229, 163, 0.14);
    transition: background 0.2s var(--ease), color 0.2s var(--ease),
        border-color 0.2s var(--ease), transform 0.25s var(--ease),
        opacity 0.25s var(--ease);
}

.chat-launcher:hover {
    background: var(--ink-2);
    border-color: rgba(46, 229, 163, 0.55);
    color: var(--paper);
    transform: translateY(-2px);
}

.chat-launcher.is-docked {
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
}

.chat-launcher-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(46, 229, 163, 0.14);
    color: var(--lime);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.chat-launcher-icon::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 6px;
    height: 6px;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    background: var(--lime);
}

.chat-launcher:hover .chat-launcher-icon {
    background: var(--lime);
    color: var(--ink);
}

.chat-launcher-icon svg {
    width: 14px;
    height: 14px;
}

.chat-panel {
    position: fixed;
    right: 20px;
    bottom: 78px;
    z-index: 93;
    display: flex;
    flex-direction: column;
    width: 380px;
    min-height: 420px;
    max-height: min(560px, calc(100dvh - 110px));
    border: 1px solid rgba(244, 242, 236, 0.16);
    border-radius: 20px;
    background: var(--ink);
    color: var(--paper);
    box-shadow: 0 32px 76px rgba(9, 13, 16, 0.56);
    overflow: hidden;
    pointer-events: auto;
    font-family: var(--sans);
}

.chat-panel[hidden] {
    display: none;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-bottom: 1px solid var(--line-ink);
    background: var(--ink-2);
}

.chat-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1;
}

.chat-id {
    flex: 1 1 auto;
    min-width: 0;
}

.chat-name {
    margin: 0;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--paper);
}

.chat-role {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 3px 0 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-on-ink);
}

.chat-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
}

.chat-close {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: -6px -6px -6px 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted-on-ink);
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.chat-close:hover {
    background: rgba(243, 240, 233, 0.08);
    color: var(--paper);
}

.chat-close svg {
    width: 15px;
    height: 15px;
}

.chat-log {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    scroll-behavior: smooth;
}

.chat-msg {
    max-width: 86%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.chat-msg p {
    margin: 0;
}

.chat-msg a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.chat-msg-bot {
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    background: var(--ink-3);
    color: var(--paper);
}

.chat-msg-user {
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    background: var(--lime);
    color: var(--ink);
    font-weight: 500;
}

.chat-starters {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 4px;
}

.chat-starters[hidden] {
    display: none;
}

.chat-starter {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid rgba(244, 242, 236, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    color: #DCE2E8;
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.chat-starter::after {
    content: "→";
    color: var(--lime);
    font-size: 13px;
    flex: none;
}

.chat-starter:hover {
    border-color: rgba(46, 229, 163, 0.48);
    background: rgba(46, 229, 163, 0.1);
    color: var(--paper);
}

.chat-starter:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}

.chat-msg-note {
    align-self: stretch;
    max-width: 100%;
    border: 1px solid var(--line-ink);
    background: transparent;
    color: var(--muted-on-ink);
    font-size: 13.5px;
    line-height: 1.5;
}

.chat-typing {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0 18px 10px;
    font-size: 12.5px;
    color: var(--muted-on-ink);
}

.chat-typing[hidden] {
    display: none;
}

.chat-typing-dots {
    display: inline-flex;
    gap: 3px;
}

.chat-typing-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lime);
    animation: chat-blink 1.1s infinite ease-in-out;
}

.chat-typing-dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-typing-dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chat-blink {
    0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-2px); }
}

.chat-compose {
    padding: 10px 12px 0;
    border-top: 1px solid var(--line-ink);
    background: var(--ink-2);
}

.chat-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.chat-compose-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.chat-compose textarea {
    flex: 1 1 auto;
    min-height: 44px;
    max-height: 116px;
    padding: 11px 12px;
    border: 1px solid var(--line-ink);
    border-radius: 12px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.4;
    resize: none;
}

.chat-compose textarea::placeholder {
    color: rgba(243, 240, 233, 0.45);
}

.chat-compose textarea:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 1px;
}

.chat-send {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    cursor: pointer;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.chat-send:hover {
    transform: translateY(-1px);
}

.chat-send:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
}

.chat-send svg {
    width: 16px;
    height: 16px;
}

.chat-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 14px 0;
    background: var(--ink-2);
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted-on-ink);
    cursor: pointer;
}

.chat-consent input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 1.5px solid rgba(244, 242, 236, 0.32);
    border-radius: 5px;
    background: var(--ink);
    cursor: pointer;
    transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.chat-consent input:checked {
    border-color: var(--lime);
    background: var(--lime);
}

.chat-consent input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--ink);
    border-width: 0 2px 2px 0;
    transform: rotate(42deg);
}

.chat-consent input:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}

.chat-consent a {
    color: var(--paper);
}

.chat-foot {
    margin: 0;
    padding: 8px 14px 12px;
    background: var(--ink-2);
    font-size: 12.5px;
    line-height: 1.4;
    color: rgba(243, 240, 233, 0.58);
}

.chat-foot a {
    color: rgba(243, 240, 233, 0.8);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .section {
        padding: 52px 0;
    }

    .statement {
        padding: 52px 0;
    }

    .cards {
        gap: 16px;
    }

    .card {
        padding: 22px 20px;
    }

    .includes {
        margin-top: 24px;
        padding-top: 20px;
    }

    .stage {
        min-height: 460px;
    }

    .band {
        padding: 46px 0;
    }

    .site-footer {
        padding: 48px 0 34px;
    }

    .chat-launcher {
        right: 12px;
        bottom: 12px;
        min-height: 44px;
        padding: 0 13px 0 9px;
        font-size: 13px;
    }

    .chat-panel {
        left: 8px;
        right: 8px;
        bottom: 66px;
        width: auto;
        min-height: 0;
        max-height: calc(100dvh - 76px);
        height: calc(100dvh - 76px);
        border-radius: 18px;
    }

    .chat-starter {
        min-height: 44px;
    }

    .chat-msg {
        max-width: 92%;
    }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-track,
    .wave i,
    .pv-bars i,
    .pv-pulse,
    .pv-win-tags .pv-node,
    .live-dot,
    .console-typing-dots i {
        animation: none !important;
    }

    .console {
        transform: none !important;
    }
}
