/* ==========================================================================
   SquidScan — squidscanner.com
   Hand-written design system. Replaces the browser-JIT Tailwind build.

   Brand intent: deep navy surfaces, teal-green as the product accent, and the
   squid magenta held back for emphasis only. Structure comes from hairlines
   and type hierarchy, not glow.
   ========================================================================== */

:root {
    --ink: #070a10;
    --ink-raised: #0a0e15;
    --panel: #0e141d;
    --panel-soft: #121a24;

    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.15);

    --text: #e6ecf3;
    --muted: #98a5b5;
    --dim: #7d8b9c;

    /* Product accent: toned from the original #00ff9f. */
    --brand: #22d39a;
    --brand-bright: #35e8ad;
    --brand-deep: #12a578;
    --brand-soft: rgba(34, 211, 154, 0.1);
    --brand-line: rgba(34, 211, 154, 0.3);

    /* Held back for one or two emphasis points. */
    --accent: #e21a8c;
    --accent-bright: #f24aa6;
    --accent-soft: rgba(226, 26, 140, 0.1);
    --accent-line: rgba(226, 26, 140, 0.35);

    /* Secondary accent: a cool violet that pairs with the teal without
       competing. Used for eyebrows, chips, and the second half of gradients. */
    --violet: #8b6ce8;
    --violet-bright: #a68cf5;
    --violet-soft: rgba(139, 108, 232, 0.1);
    --violet-line: rgba(139, 108, 232, 0.32);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;

    --shell: 1180px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(3.75rem, 7vw, 6rem);
    --nav-h: 68px;

    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, Verdana, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + var(--site-banner-h, 0px) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.62;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    height: auto;
}

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

p {
    margin: 0 0 1rem;
}

p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: #fff;
    font-weight: 650;
    line-height: 1.14;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.15rem, 4.4vw, 3.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

h3 {
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
}

::selection {
    background: rgba(34, 211, 154, 0.3);
    color: #fff;
}

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

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

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 200;
    padding: 0.6rem 1rem;
    background: var(--brand);
    color: #04120d;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: calc(1rem + var(--site-banner-h, 0px));
}

/* ==========================================================================
   Announcement banner
   Kept inline so it does not depend on the shared site-banner.css gradient.
   ========================================================================== */

.announce {
    position: relative;
    z-index: 95;
    border-bottom: 1px solid var(--line);
    background: var(--ink-raised);
}

.announce__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 0.7rem;
    max-width: var(--shell);
    margin-inline: auto;
    padding: 0.55rem var(--gutter);
    font-size: 0.845rem;
    line-height: 1.4;
    text-align: center;
    color: var(--muted);
}

.announce__badge {
    padding: 0.1rem 0.45rem;
    border: 1px solid var(--brand-line);
    border-radius: 4px;
    background: var(--brand-soft);
    color: var(--brand-bright);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.announce__text strong {
    color: var(--text);
    font-weight: 600;
}

.announce__link {
    color: var(--brand-bright);
    font-weight: 600;
    white-space: nowrap;
}

.announce__link:hover {
    color: #fff;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(7, 10, 16, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--nav-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: #fff;
}

.brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand__name {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: #fff;
}

.brand__name em {
    font-style: normal;
    color: var(--brand-bright);
}

.brand__by {
    display: block;
    margin-top: 1px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--dim);
}

.site-nav__links {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.site-nav__links a {
    padding-block: 0.4rem;
    transition: color 0.15s ease;
}

.site-nav__links a:hover {
    color: #fff;
}

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

/* On the narrowest phones the header CTA competes with the logo. The mobile
   menu already carries a full-width CTA, so hide the header copy there. */
@media (max-width: 470px) {
    .site-nav__actions .btn--primary {
        display: none;
    }
}

.site-nav__login {
    display: none;
    align-items: center;
    height: 40px;
    padding-inline: 1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.site-nav__login:hover {
    border-color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
}

.site-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

@media (min-width: 600px) {
    .site-nav__login {
        display: inline-flex;
    }
}

@media (min-width: 1020px) {
    .site-nav__links {
        display: flex;
    }

    .site-nav__toggle {
        display: none;
    }
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--ink-raised);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0 1rem;
}

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

.mobile-nav li:last-child a {
    border-bottom: 0;
    color: var(--brand-bright);
    font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn svg {
    flex: 0 0 auto;
}

.btn--primary {
    background: var(--brand);
    color: #04120d;
}

.btn--primary:hover {
    background: var(--brand-bright);
}

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

.btn--ghost:hover {
    border-color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
}

.btn--sm {
    min-height: 40px;
    padding-inline: 1rem;
    font-size: 0.875rem;
}

.btn--block {
    width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(72rem 34rem at 8% -12%, rgba(34, 211, 154, 0.1), transparent 60%),
        radial-gradient(48rem 30rem at 100% -6%, rgba(139, 108, 232, 0.13), transparent 62%),
        var(--ink);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.75rem;
    padding-block: clamp(2.75rem, 5.5vw, 4.75rem);
    align-items: center;
}

@media (min-width: 960px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.92fr);
        gap: clamp(2.5rem, 5vw, 4.5rem);
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.32rem 0.7rem;
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-bright);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.eyebrow__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--violet);
}

.hero h1 {
    max-width: 17ch;
    margin-bottom: 1.2rem;
}

.hero h1 span {
    color: var(--brand-bright);
}

.hero__lede {
    max-width: 54ch;
    margin-bottom: 1.85rem;
    font-size: clamp(1.02rem, 1.15vw, 1.1rem);
    line-height: 1.66;
    color: var(--muted);
}

.hero__lede strong {
    color: var(--text);
    font-weight: 650;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.9rem;
    margin-top: 1.1rem;
    font-size: 0.85rem;
    color: var(--dim);
}

.hero__trust span:first-child {
    color: var(--brand-bright);
    font-weight: 600;
}

.hero__trust .sep {
    color: rgba(255, 255, 255, 0.2);
}

.hero__legal {
    max-width: 46ch;
    margin-top: 1.35rem;
    padding-left: 0.8rem;
    border-left: 2px solid var(--line-strong);
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--dim);
}

/* Product mock */

.mock {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    padding: 0.85rem;
}

.mock__screen {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #05080d;
    padding: 1rem 1.1rem 1.15rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.9;
}

.mock__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.75rem;
}

.mock__target {
    color: var(--brand-bright);
}

.mock__status {
    padding: 0.1rem 0.45rem;
    border: 1px solid var(--brand-line);
    border-radius: 4px;
    background: var(--brand-soft);
    color: var(--brand-bright);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mock__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.mock__agent {
    color: var(--muted);
}

.mock__state {
    color: var(--dim);
    white-space: nowrap;
}

.mock__state--done {
    color: var(--brand);
}

.mock__state--running {
    color: var(--accent-bright);
}

.mock__foot {
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.68rem;
    color: var(--dim);
}

.mock__foot strong {
    color: var(--text);
    font-weight: 600;
}

.mock-caption {
    margin-top: 0.7rem;
    text-align: center;
    font-size: 0.72rem;
    color: var(--dim);
}

/* ==========================================================================
   Stats strip
   ========================================================================== */

.stats {
    border-bottom: 1px solid var(--line);
    background: var(--ink-raised);
}

.stats__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    padding-block: 1.5rem;
}

@media (min-width: 760px) {
    .stats__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }
}

.stat__value {
    display: block;
    font-size: 1.4rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #fff;
}

.stat__value--brand {
    color: var(--brand-bright);
}

.stat__value--violet {
    color: var(--violet-bright);
}

.stat__label {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: var(--dim);
}

.stat__link {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--muted);
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 3px;
    cursor: pointer;
}

.stat__link:hover {
    color: var(--brand-bright);
    text-decoration-color: var(--brand);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding-block: var(--section-y);
    border-bottom: 1px solid var(--line);
}

.section--raised {
    background: var(--ink-raised);
}

.section__head {
    max-width: 60ch;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__head--center p {
    margin-inline: auto;
}

.kicker {
    display: block;
    margin-bottom: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--violet-bright);
}

.section__head p {
    max-width: 58ch;
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 1.015rem;
}

/* ==========================================================================
   Step cards
   ========================================================================== */

.steps {
    display: grid;
    gap: 1rem;
    counter-reset: step;
}

@media (min-width: 800px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.step {
    padding: 1.5rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.step__num {
    display: block;
    margin-bottom: 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--brand-bright);
}

.step:nth-child(2) .step__num {
    color: var(--violet-bright);
}

.step h3 {
    margin-bottom: 0.45rem;
}

.step p {
    color: var(--muted);
    font-size: 0.9125rem;
    line-height: 1.6;
}

/* ==========================================================================
   Benefit cards
   ========================================================================== */

.cards {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

@media (min-width: 720px) {
    .cards--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .cards--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .cards--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.card {
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: border-color 0.16s ease, background 0.16s ease;
}

.card:hover {
    border-color: var(--line-strong);
    background: var(--panel-soft);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 0.95rem;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand-bright);
}

.card__icon svg {
    width: 17px;
    height: 17px;
}

.card h3 {
    margin-bottom: 0.4rem;
}

.card p {
    color: var(--muted);
    font-size: 0.9125rem;
    line-height: 1.6;
}

/* ==========================================================================
   Comparison table
   ========================================================================== */

/* The caption sits outside the scroll container so it stays readable when the
   table itself scrolls sideways on a phone. */
.compare-caption {
    margin-bottom: 0.6rem;
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    -webkit-overflow-scrolling: touch;
}

table.compare {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

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

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

.compare thead th {
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.compare thead th:last-child {
    color: var(--brand-bright);
}

.compare tbody th {
    font-weight: 500;
    color: var(--text);
}

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

.compare td.is-us {
    color: var(--brand-bright);
    font-weight: 500;
}

/* Phones: stack each row into a small definition list so the SquidScan column
   is not hidden behind a horizontal scroll. */
@media (max-width: 619px) {
    .compare-wrap {
        overflow-x: visible;
    }

    table.compare {
        min-width: 0;
    }

    .compare thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .compare,
    .compare tbody,
    .compare tr,
    .compare th,
    .compare td {
        display: block;
        width: auto;
    }

    .compare tbody tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 0.95rem 1.1rem;
        border-bottom: 1px solid var(--line);
    }

    .compare tbody tr:last-child {
        border-bottom: 0;
    }

    .compare tbody th,
    .compare td {
        padding: 0;
        border: 0;
    }

    .compare tbody th {
        margin-bottom: 0.15rem;
        font-weight: 600;
        color: #fff;
    }

    .compare td::before {
        content: attr(data-label);
        display: inline-block;
        min-width: 5.6rem;
        color: var(--dim);
        font-family: var(--font-mono);
        font-size: 0.66rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
}

/* ==========================================================================
   Proof screenshots
   ========================================================================== */

.shots {
    display: grid;
    gap: 1rem;
}

@media (min-width: 700px) {
    .shots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1060px) {
    .shots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.shot {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: border-color 0.16s ease, transform 0.16s ease;
}

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

.shot__frame {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #05080d;
    border-bottom: 1px solid var(--line);
    padding: 0;
    border: 0;
    width: 100%;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
}

.shot__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.shot__frame:hover img,
.shot__frame:focus-visible img {
    transform: scale(1.03);
    opacity: 0.92;
}

.shot__frame:focus-visible {
    outline: 2px solid var(--brand-bright);
    outline-offset: -2px;
}

/* "Expand" affordance, revealed on hover/focus. */
.shot__zoom {
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: rgba(7, 10, 16, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    pointer-events: none;
}

.shot__frame:hover .shot__zoom,
.shot__frame:focus-visible .shot__zoom {
    opacity: 1;
    transform: translateY(0);
}

.shot figcaption {
    padding: 0.7rem 0.9rem;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 3vw, 2.5rem);
    background: rgba(3, 5, 8, 0.94);
    overflow: auto;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__figure {
    margin: 0;
    max-width: min(1500px, 100%);
    width: 100%;
    text-align: center;
}

.lightbox__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 8rem);
    object-fit: contain;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #05080d;
}

.lightbox__caption {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.lightbox__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--panel);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.lightbox__close:hover {
    background: var(--panel-soft);
    color: #fff;
}

.lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
    z-index: 1;
}

.lightbox__nav:hover {
    background: var(--panel-soft);
    color: #fff;
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

@media (max-width: 640px) {
    .lightbox__nav { display: none; }
    .lightbox__img { max-height: calc(100vh - 9rem); }
}

.proof-cta {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* ==========================================================================
   Tool badges
   ========================================================================== */

.tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    max-width: 60rem;
    margin-inline: auto;
}

.tool {
    padding: 0.28rem 0.62rem;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    white-space: nowrap;
}

.tool--more {
    border-color: var(--violet-line);
    background: var(--violet-soft);
    color: var(--violet-bright);
}

.tools-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--dim);
}

.tools-note a {
    color: var(--brand-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tools-note a:hover {
    color: #fff;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.price-grid {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 620px) {
    .price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 720px) {
    .price-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1120px) {
    .price-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.price {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    text-align: center;
    transition: border-color 0.16s ease;
}

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

.price--featured {
    border-color: var(--accent-line);
    background: linear-gradient(180deg, rgba(226, 26, 140, 0.07), rgba(255, 255, 255, 0.014));
}

.price__badge {
    display: block;
    min-height: 1.1rem;
    margin-bottom: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent-bright);
}

.price--free {
    border-color: var(--brand-line);
    background: linear-gradient(180deg, rgba(34, 211, 154, 0.06), rgba(255, 255, 255, 0.014));
}

.price--free .price__badge {
    color: var(--brand-bright);
}

.price__count {
    font-size: 1.75rem;
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}

.price__unit {
    margin-top: 0.1rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dim);
}

.price__amount {
    margin: 1rem 0 0.15rem;
    font-size: 2rem;
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #fff;
}

.price--free .price__amount {
    color: var(--brand-bright);
}

.price__per {
    min-height: 1.1rem;
    margin-bottom: 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--dim);
}

.price__cta {
    margin-top: auto;
}

.price-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--dim);
}

.price-note a {
    color: var(--brand-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.price-note a:hover {
    color: #fff;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
    max-width: 52rem;
    margin-inline: auto;
    border-top: 1px solid var(--line);
}

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

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.faq summary::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.18s ease;
}

.faq details[open] summary::after {
    transform: rotate(-135deg) translateY(-2px);
}

.faq details p {
    max-width: 76ch;
    padding-bottom: 1.15rem;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.68;
}

.faq a {
    color: var(--brand-bright);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq a:hover {
    color: #fff;
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */

.closing {
    padding-block: var(--section-y);
    background:
        radial-gradient(40rem 22rem at 30% 0%, rgba(34, 211, 154, 0.08), transparent 66%),
        radial-gradient(40rem 22rem at 72% 0%, rgba(139, 108, 232, 0.11), transparent 66%),
        var(--ink-raised);
    border-bottom: 1px solid var(--line);
}

.closing__inner {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
}

.closing h2 {
    margin-bottom: 0.75rem;
}

.closing p {
    color: var(--muted);
    font-size: 1.02rem;
}

.closing .btn {
    margin-top: 1.75rem;
}

.closing__foot {
    margin-top: 1.1rem;
    font-size: 0.85rem;
    color: var(--dim);
}

.closing__foot a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.closing__foot a:hover {
    color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding-block: 3rem 2rem;
    background: var(--ink);
}

.footer__top {
    display: grid;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
    .footer__top {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }
}

.footer__brand p {
    max-width: 34ch;
    margin-top: 0.85rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted);
}

.footer__col h4 {
    margin: 0 0 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
}

.footer__col li {
    padding-block: 0.22rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.footer__col a:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding-top: 1.5rem;
    font-size: 0.78rem;
    color: var(--dim);
}

.footer__bottom > * {
    min-width: 0;
}

.footer__bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom a:hover {
    color: var(--text);
}

/* ==========================================================================
   Floating AI model badge
   ========================================================================== */

/* Lives in the footer rather than floating over the page: it is reference
   information, and a fixed badge covered content on small screens. */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 0.15s ease;
}

.ai-badge:hover {
    color: var(--text);
}

.ai-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    flex: 0 0 auto;
}

.ai-badge__label {
    color: var(--dim);
}

.ai-badge__model {
    color: var(--brand-bright);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   Modal
   ========================================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(3, 5, 8, 0.84);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal.is-open {
    display: flex;
}

.modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 34rem;
    max-height: 92vh;
    margin-block: auto;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

.modal__panel--wide {
    max-width: 56rem;
}

.modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid var(--line);
    background: var(--ink-raised);
}

.modal__title {
    font-size: 1.05rem;
    font-weight: 650;
    color: #fff;
}

.modal__sub {
    margin-top: 0.1rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--dim);
}

.modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--dim);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.modal__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.modal__body {
    padding: 1.5rem 1.35rem;
    overflow-y: auto;
}

.modal__body--center {
    text-align: center;
}

.modal__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.35rem;
    border-top: 1px solid var(--line);
    background: var(--ink-raised);
}

body.modal-open {
    overflow: hidden;
}

/* Report modal */

.report-block {
    padding: 1.75rem 1.35rem;
    text-align: center;
}

.report-block h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.report-block p {
    max-width: 30rem;
    margin-inline: auto;
    color: var(--muted);
    font-size: 0.9rem;
}

.report-block code {
    color: var(--brand-bright);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    word-break: break-all;
}

.report-block .btn {
    margin-top: 1.5rem;
}

/* Model modal */

.model-name {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 650;
    color: var(--brand-bright);
    word-break: break-all;
}

.model-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--muted);
}

.model-stats {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

@media (min-width: 520px) {
    .model-stats {
        grid-template-columns: 1fr 1fr;
    }
}

.model-stat {
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel-soft);
}

.model-stat__label {
    margin-bottom: 0.2rem;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
}

.model-stat__value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
}

.model-section {
    margin-top: 1.75rem;
}

.model-section__label {
    margin-bottom: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
}

.model-list {
    display: grid;
    gap: 0.3rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text);
}

.model-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1.5rem;
}

.chip {
    padding: 0.22rem 0.6rem;
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
}

.modal__foot a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--brand-bright);
}

.modal__foot a:hover {
    color: #fff;
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 130;
    display: none;
    align-items: center;
    gap: 0.7rem;
    max-width: 20rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.toast.is-visible {
    display: flex;
}

.toast__icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--brand-bright);
}

.toast__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.toast__body {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@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;
    }
}

/* ==========================================================================
   Coverage strip — tool inventory near the top of the page
   Two marquee rows so all 50 tools are visible without a wall of chips.
   Motion pauses on hover and is disabled entirely under reduced-motion.
   ========================================================================== */

.coverage {
    padding-block: clamp(2.5rem, 5vw, 3.75rem);
    border-bottom: 1px solid var(--line);
    background: var(--ink-raised);
    /* clip (not hidden) so the marquee cannot widen the page's scroll width */
    overflow-x: clip;
    max-width: 100%;
}

.coverage__head {
    display: grid;
    gap: 0.6rem;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 820px) {
    .coverage__head {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        align-items: end;
        gap: 2rem;
    }
}

.coverage__head h2 {
    margin: 0;
}

.coverage__note {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.ticker {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    padding-block: 0.35rem;
    /* Fade the ends so cards slide out of view instead of clipping hard. */
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.ticker + .ticker {
    margin-top: 0.7rem;
}

.ticker__track {
    display: flex;
    width: max-content;
    max-width: none;
    animation: ticker-scroll 72s linear infinite;
}

.ticker--reverse .ticker__track {
    animation-direction: reverse;
    animation-duration: 82s;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
    animation-play-state: paused;
}

.ticker__row {
    display: flex;
    flex: 0 0 auto;
    gap: 0.55rem;
    padding-right: 0.55rem;
}

.ticker__row li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 11rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    white-space: nowrap;
}

.ticker__row strong {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.ticker__row span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--dim);
}

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

.coverage__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
    font-size: 0.875rem;
    color: var(--dim);
}

.coverage__count {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--violet-bright);
}

.coverage__foot a {
    color: var(--muted);
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 3px;
}

.coverage__foot a:hover {
    color: #fff;
    text-decoration-color: var(--violet);
}

@media (prefers-reduced-motion: reduce) {
    .ticker__track {
        animation: none;
    }

    .ticker {
        overflow-x: auto;
    }
}

/* Wide comparison table: five columns need more room than the default.
   Below 620px the shared rule stacks rows into labelled pairs, so the
   min-width must not apply there or it forces page-level horizontal scroll. */
@media (min-width: 620px) {
    table.compare--wide {
        min-width: 860px;
    }
}

.compare--wide thead th {
    vertical-align: bottom;
}

.compare--wide thead th.is-us {
    color: var(--brand-bright);
}

.compare--wide tbody th {
    min-width: 12rem;
}

.compare-note {
    max-width: 60ch;
    margin-top: 1rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--dim);
}

/* On phones the wide table becomes stacked cards too, but only once the row
   label is established, so each cell still reads as a labelled pair. */
@media (max-width: 619px) {
    .compare--wide tbody tr {
        gap: 0.45rem;
    }

    .compare--wide td::before {
        min-width: 6.8rem;
        white-space: normal;
    }
}

/* Mobile stacked comparison: give the label column enough room for the full
   category name instead of truncating it to one word. */
@media (max-width: 619px) {
    .compare--wide td::before {
        flex: 0 0 8.5rem;
        min-width: 8.5rem;
    }

    .compare--wide td {
        display: flex;
        gap: 0.6rem;
        align-items: baseline;
    }
}
