/* ==========================================================================
   TWENNYFOUR — DESIGN SYSTEM
   --------------------------------------------------------------------------
   Direction: "instrument panel". The product watches a screen, points at
   things, acts, and verifies. So the whole identity is borrowed from machine
   vision debug overlays: graphite background, bone text, an AMBER signal for
   what the engine is *doing right now*, and a VERDIGRIS state for what it has
   *verified*. Those are the only two colours that ever mean something.

   Type has three jobs:
     Archivo        -> display  (headlines, tight, engineered)
     Inter          -> body     (long-form readability)
     JetBrains Mono -> data     (labels, traces, coordinates, numbers)
   ========================================================================== */

:root {
    /* --- colour ------------------------------------------------------- */
    --ink: #0c0e10;
    --panel: #14181b;
    --panel-2: #191e22;
    --bone: #eae7e0;
    --muted: #98a0a8;
    --faint: #5c666e;
    --signal: #f0a63c;
    /* the engine is acting here */
    --signal-soft: rgba(240, 166, 60, 0.13);
    --verified: #56b79e;
    /* the engine confirmed this happened */
    --verified-soft: rgba(86, 183, 158, 0.13);
    --alert: #e2564d;

    --line: rgba(234, 231, 224, 0.11);
    --line-strong: rgba(234, 231, 224, 0.22);
    --fill: rgba(234, 231, 224, 0.03);
    --fill-2: rgba(234, 231, 224, 0.06);
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);

    /* --- type --------------------------------------------------------- */
    --display: 'Archivo', 'Inter', system-ui, sans-serif;
    --body: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

    --t-display: clamp(2.35rem, 5.6vw, 4.15rem);
    --t-h2: clamp(1.75rem, 3.2vw, 2.6rem);
    --t-h3: 1.1rem;
    --t-lead: clamp(1.02rem, 1.25vw, 1.18rem);
    --t-body: 1rem;
    --t-small: 0.9rem;
    --t-mono: 0.745rem;

    /* --- space -------------------------------------------------------- */
    --gutter: clamp(1.15rem, 4vw, 2.75rem);
    --block: clamp(4rem, 9vh, 7rem);
    --radius: 4px;
    --wrap: 1180px;
}

body.light {
    --ink: #eceae4;
    --panel: #f7f5f1;
    --panel-2: #fffefb;
    --bone: #15191c;
    --muted: #5d666d;
    --faint: #8b949b;
    --signal: #a1620a;
    --signal-soft: rgba(161, 98, 10, 0.10);
    --verified: #1c7a66;
    --verified-soft: rgba(28, 122, 102, 0.10);
    --alert: #b8352d;

    --line: rgba(21, 25, 28, 0.13);
    --line-strong: rgba(21, 25, 28, 0.28);
    --fill: rgba(21, 25, 28, 0.025);
    --fill-2: rgba(21, 25, 28, 0.05);
    --shadow: 0 24px 50px -34px rgba(21, 25, 28, 0.45);
}

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

* {
    margin: 0;
    padding: 0;
}

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

body {
    background: var(--ink);
    color: var(--bone);
    font-family: var(--body);
    font-size: var(--t-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color .4s ease, color .4s ease;
}

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

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--bone);
    color: var(--ink);
}

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

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

.block {
    padding-block: var(--block);
}

.block-tight {
    padding-block: clamp(2.5rem, 5vh, 4rem);
}

.ruled {
    border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   TYPE PRIMITIVES
   -------------------------------------------------------------------------- */
.eyebrow {
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.eyebrow::before {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--signal);
    flex: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.display {
    font-size: var(--t-display);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.display .dim {
    color: var(--faint);
}

.h2 {
    font-size: var(--t-h2);
    max-width: 20ch;
    line-height: 1.1;
}

.h2.wide {
    max-width: 26ch;
}

.lead {
    font-size: var(--t-lead);
    color: var(--muted);
    max-width: 60ch;
    line-height: 1.66;
}

.lead strong,
.prose strong {
    color: var(--bone);
    font-weight: 500;
}

.prose {
    color: var(--muted);
    max-width: 62ch;
}

.prose+.prose {
    margin-top: 1rem;
}

.mono {
    font-family: var(--mono);
}

.sig {
    color: var(--signal);
}

.ver {
    color: var(--verified);
}

code,
.code {
    font-family: var(--mono);
    font-size: 0.85em;
    color: var(--bone);
    background: var(--fill-2);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 0.08em 0.36em;
    white-space: nowrap;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-head .lead {
    margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   NAV
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: var(--ink);
    background: color-mix(in srgb, var(--ink) 86%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background-color .4s ease;
}

.nav.stuck {
    border-bottom-color: var(--line);
}

.nav-inner {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand .mark {
    width: 32px;
    height: 26px;
    transform: scale(1.8) rotate(12deg);
}

body.light .brand .mark {
    filter: invert(1);
    transform: scale(1.8) rotate(12deg);
}

.brand .word {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a {
    font-size: 0.88rem;
    color: var(--muted);
    transition: color .2s ease;
    position: relative;
    padding-block: 0.4rem;
}

.nav-links a:hover {
    color: var(--bone);
}

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

.nav-links a[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--signal);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.chip {
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    color: var(--muted);
    background: none;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 0.32rem 0.5rem;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

.chip:hover {
    color: var(--bone);
    border-color: var(--line-strong);
}

.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.4rem;
}

.burger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--bone);
}

.burger span+span {
    margin-top: 5px;
}

.drawer {
    display: none;
    border-top: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--ink);
}

.drawer.open {
    display: block;
}

.drawer a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.drawer a:last-of-type {
    border-bottom: 0;
}

.drawer .btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

/* --------------------------------------------------------------------------
   BUTTONS + FORM
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    background: var(--bone);
    color: var(--ink);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    background: #d9d5cc;
    background: color-mix(in srgb, var(--bone) 82%, var(--signal));
}

.btn:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none;
}

.btn-ghost {
    background: transparent;
    color: var(--bone);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    background: var(--fill-2);
    border-color: var(--bone);
}

.btn-sm {
    padding: 0.55rem 0.9rem;
    font-size: 0.7rem;
}

.signup {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 470px;
}

.signup input[type="email"] {
    flex: 1 1 230px;
    min-width: 0;
    padding: 0.85rem 0.95rem;
    background: var(--fill);
    color: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--body);
    font-size: 0.95rem;
    transition: border-color .2s ease;
}

.signup input[type="email"]::placeholder {
    color: var(--faint);
}

.signup input[type="email"]:hover {
    border-color: var(--line-strong);
}

.form-msg {
    display: none;
    margin-top: 0.75rem;
    font-family: var(--mono);
    font-size: 0.78rem;
}

.form-note {
    margin-top: 0.8rem;
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.06em;
    color: var(--faint);
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
    padding-top: 118px;
    padding-bottom: clamp(3rem, 7vh, 5rem);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 30% 30%, #000 5%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 65% at 30% 30%, #000 5%, transparent 70%);
    opacity: 0.75;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: flex-start;
}

.hero-copy .display {
    max-width: 13ch;
}

.hero-copy .lead {
    max-width: 46ch;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 0.38rem 0.8rem;
}

.badge .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--verified);
    box-shadow: 0 0 0 0 var(--verified-soft);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--verified-soft);
    }

    70% {
        box-shadow: 0 0 0 7px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

.cursor {
    display: inline-block;
    width: 0.055em;
    min-width: 3px;
    height: 0.82em;
    background: var(--signal);
    margin-left: 0.12em;
    transform: translateY(0.05em);
    animation: blink 1.05s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   SIGNATURE — the engine's eyes.
   A mock legacy window with detection brackets, a moving pointer and a live
   trace. This is the product rendered literally, not a stock illustration.
   -------------------------------------------------------------------------- */
.rig {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.screen {
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--panel);
    box-shadow: var(--shadow);
    overflow: hidden;
    user-select: none;
}

.screen-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--line);
    background: var(--panel-2);
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--faint);
    letter-spacing: 0.06em;
}

.screen-bar .dots {
    display: flex;
    gap: 4px;
}

.screen-bar .dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line-strong);
}

.screen-bar .tag {
    margin-left: auto;
    color: var(--faint);
}

.screen-body {
    padding: 0.95rem 1rem 1.15rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.28rem 0;
}

.form-row .lbl {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--faint);
    letter-spacing: 0.04em;
    text-align: right;
}

.fld {
    position: relative;
    min-height: 30px;
    display: flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--fill);
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--bone);
    transition: border-color .25s ease, background-color .25s ease;
}

.fld .val {
    white-space: nowrap;
    overflow: hidden;
}

.fld .caret {
    width: 1px;
    height: 13px;
    background: var(--signal);
    margin-left: 1px;
    opacity: 0;
}

.fld.typing .caret {
    opacity: 1;
    animation: blink 0.8s step-end infinite;
}

/* state: the engine is pointing at this field */
.fld.target {
    border-color: var(--signal);
    background: var(--signal-soft);
}

.fld.target::before,
.fld.target::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--signal);
}

.fld.target::before {
    top: -3px;
    left: -3px;
    border-right: 0;
    border-bottom: 0;
}

.fld.target::after {
    bottom: -3px;
    right: -3px;
    border-left: 0;
    border-top: 0;
}

/* state: the engine confirmed the result */
.fld.ok {
    border-color: var(--verified);
    background: var(--verified-soft);
}

.fld .check {
    margin-left: auto;
    padding-left: 0.5rem;
    color: var(--verified);
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateX(-3px);
    transition: opacity .25s ease, transform .25s ease;
}

.fld.ok .check {
    opacity: 1;
    transform: none;
}

.screen-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding: 0.5rem 0.85rem;
    font-family: var(--mono);
    font-size: 0.66rem;
    color: var(--faint);
    letter-spacing: 0.06em;
}

.screen-foot .status {
    color: var(--muted);
}

/* the pointer the engine drives */
.pointer {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: transform .45s cubic-bezier(.35, .9, .25, 1), opacity .25s ease;
    z-index: 3;
}

.pointer::before,
.pointer::after {
    content: '';
    position: absolute;
    background: var(--signal);
}

.pointer::before {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
}

.pointer::after {
    top: 50%;
    left: 0;
    height: 1px;
    width: 100%;
}

/* the trace, printed under the screen */
.trace {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    padding: 0.7rem 0.85rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    line-height: 1.85;
    height: 118px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.trace .line {
    color: var(--muted);
    white-space: pre;
    opacity: 0;
    animation: line-in .3s ease forwards;
}

.trace .line .k {
    color: var(--bone);
}

.trace .line .a {
    color: var(--signal);
}

.trace .line .v {
    color: var(--verified);
}

@keyframes line-in {
    from {
        opacity: 0;
        transform: translateX(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   TICKER
   -------------------------------------------------------------------------- */
.ticker {
    border-block: 1px solid var(--line);
    overflow: hidden;
    padding: 0.9rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll 46s linear infinite;
}

.ticker ul {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    padding-right: 2.75rem;
    list-style: none;
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    white-space: nowrap;
}

.ticker li::after {
    content: '/';
    margin-left: 2.75rem;
    color: var(--line-strong);
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   GRIDS + CARDS
   -------------------------------------------------------------------------- */
.grid {
    display: grid;
    gap: 1.15rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mt {
    margin-top: clamp(2rem, 4vw, 3.25rem);
}

.mt-sm {
    margin-top: 1.5rem;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--fill);
    padding: 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.card h3 {
    font-size: var(--t-h3);
    letter-spacing: -0.02em;
}

.card p {
    color: var(--muted);
    font-size: var(--t-small);
}

.card .kicker {
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.card.link:hover {
    border-color: var(--line-strong);
    background: var(--fill-2);
    transform: translateY(-2px);
}

.card .more {
    margin-top: auto;
    padding-top: 0.9rem;
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--signal);
}

/* a real sequence — the number carries order, so it is allowed to exist */
.step {
    border-top: 1px solid var(--line-strong);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.step .n {
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.14em;
    color: var(--signal);
}

.step h3 {
    font-size: var(--t-h3);
}

.step p {
    color: var(--muted);
    font-size: var(--t-small);
}

/* --------------------------------------------------------------------------
   COMPARISON TABLE
   -------------------------------------------------------------------------- */
.table-scroll {
    overflow-x: auto;
    margin-top: clamp(2rem, 4vw, 3rem);
}

table.compare {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    font-size: var(--t-small);
}

table.compare th,
table.compare td {
    text-align: left;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

table.compare thead th {
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 400;
    border-bottom-color: var(--line-strong);
}

table.compare tbody th {
    font-family: var(--body);
    font-weight: 500;
    color: var(--bone);
    width: 26%;
}

table.compare td {
    color: var(--muted);
}

table.compare .col-us {
    background: var(--fill);
    color: var(--bone);
}

table.compare thead .col-us {
    color: var(--signal);
}

table.compare .mk {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   SPLIT / BAND / QUOTE
   -------------------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.list-rows {
    border-top: 1px solid var(--line);
}

.list-row {
    display: grid;
    grid-template-columns: minmax(170px, 0.85fr) 2fr;
    gap: 0.6rem 2.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.list-row h3 {
    font-size: var(--t-h3);
}

.list-row .sub {
    display: block;
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 400;
    margin-top: 0.45rem;
}

.list-row p {
    color: var(--muted);
    font-size: var(--t-small);
    max-width: 62ch;
}

.band {
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--panel);
    padding: clamp(2rem, 4.5vw, 3.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.band::after {
    content: '';
    position: absolute;
    inset: auto -10% -60% auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--signal-soft), transparent 62%);
    pointer-events: none;
}

.band .h2 {
    max-width: 22ch;
}

.band .actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quote {
    border-left: 2px solid var(--signal);
    padding-left: clamp(1.25rem, 3vw, 2rem);
}

.quote p {
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.2;
    max-width: 24ch;
    color: var(--bone);
}

.quote p em {
    font-style: normal;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
    border-top: 1px solid var(--line);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 2.5rem 1.15rem 0;
    position: relative;
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
    color: var(--bone);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    color: var(--signal);
    font-size: 1rem;
}

.faq details[open] summary::after {
    content: '–';
}

.faq details p {
    color: var(--muted);
    font-size: var(--t-small);
    max-width: 72ch;
    padding-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.foot {
    border-top: 1px solid var(--line);
    padding-block: clamp(2.75rem, 6vw, 4rem) 2rem;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(140px, 1fr));
    gap: 2rem;
}

.foot h4 {
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 400;
    margin-bottom: 0.9rem;
}

.foot a,
.foot p {
    font-size: var(--t-small);
    color: var(--muted);
}

.foot ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.foot a:hover {
    color: var(--bone);
}

.foot-about p {
    max-width: 40ch;
    margin-top: 0.9rem;
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: clamp(2rem, 5vw, 3.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.06em;
    color: var(--faint);
}

/* --------------------------------------------------------------------------
   REVEAL
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 940px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-copy .display {
        max-width: 100%;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .hero {
        padding-top: 100px;
    }

    .list-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .signup {
        max-width: 100%;
    }

    .signup input[type="email"],
    .signup .btn {
        flex: 1 1 100%;
    }

    .band .actions {
        width: 100%;
    }

    .band .actions .btn {
        flex: 1 1 100%;
    }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .form-row {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 0.5rem;
    }

    .trace {
        height: 96px;
        font-size: 0.64rem;
    }
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .ticker-track {
        animation: none;
    }
}

/* --- the simulated action button inside the mock window ------------------- */
.fld.act {
    justify-content: center;
    gap: 0.5rem;
    background: var(--fill-2);
    border-color: var(--line-strong);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.66rem;
    color: var(--muted);
}

.fld.act.ok {
    color: var(--bone);
}

.fld.act .check {
    margin-left: 0;
}

/* --- inline definition list used on the engine + solutions pages ---------- */
.spec {
    border-top: 1px solid var(--line);
}

.spec-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.7fr) 2fr;
    gap: 0.5rem 2rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

.spec-row dt {
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
}

.spec-row dd {
    color: var(--muted);
    font-size: var(--t-small);
}

.spec-row dd strong {
    color: var(--bone);
    font-weight: 500;
}

@media (max-width: 620px) {
    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

/* --- flow of a single automated task (solutions page) --------------------- */
.flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.25rem;
}

.flow li {
    list-style: none;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 1rem;
    padding: 0.7rem 0;
    border-top: 1px dashed var(--line);
    font-size: var(--t-small);
    color: var(--muted);
}

.flow li .t {
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.08em;
    color: var(--signal);
    padding-top: 0.15rem;
}

.flow li strong {
    color: var(--bone);
    font-weight: 500;
}

/* --- page header used on every inner page -------------------------------- */
.page-head {
    padding-top: 132px;
    padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

.page-head .display {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    max-width: 18ch;
}

.page-head .lead {
    margin-top: 1.4rem;
}