/* ==========================================================================
   Colrows — Supabase-inspired dark-mode-native design system
   Near-black canvas. Colrows orange identity. Border-defined depth.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Source+Code+Pro:wght@400;500&display=swap');

:root {
    /* Brand — Colrows orange */
    --orange: #f48120;
    --orange-link: #ff8c1a;
    --orange-border: rgba(244, 129, 32, 0.32);
    --orange-glow: rgba(244, 129, 32, 0.14);

    /* Surfaces */
    --bg-page: #171717;
    --bg-deeper: #0f0f0f;
    --bg-elevated: #1c1c1c;
    --bg-hover: #1f1f1f;

    /* Borders (depth scale) */
    --border-1: #242424;   /* subtle - rules, dividers */
    --border-2: #2e2e2e;   /* standard - cards, tabs */
    --border-3: #363636;   /* prominent - buttons, hover */
    --border-4: #393939;   /* heavy */

    /* Text */
    --text-primary: #fafafa;
    --text-secondary: #b4b4b4;
    --text-muted: #898989;
    --text-dark-gray: #4d4d4d;

    /* Glass */
    --glass-dark: rgba(41, 41, 41, 0.84);

    /* Type */
    --font-sans: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'Source Code Pro', 'Office Code Pro', Menlo, monospace;

    /* Spacing */
    --space-section: 96px;
    --space-section-large: 128px;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 9999px;
}

/* Reset
   ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--orange);
    color: var(--bg-deeper);
}

/* Container
   --------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography
   ---------- */
.t-display {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* up to 72px */
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.t-section {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(1.75rem, 3.6vw, 2.25rem); /* up to 36px */
    line-height: 1.25;
    color: var(--text-primary);
}

.t-card-title {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.5rem; /* 24px */
    line-height: 1.33;
    letter-spacing: -0.16px;
    color: var(--text-primary);
}

.t-sub {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.125rem; /* 18px */
    line-height: 1.56;
    color: var(--text-secondary);
}

.t-body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.t-small {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.33;
    color: var(--text-muted);
}

.t-code-label {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.33;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--orange);
}

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

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

.text-secondary {
    color: var(--text-secondary);
}

.text-orange {
    color: var(--orange-link);
}

/* Buttons
   ------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
    line-height: 1.14;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-deeper);
    border-color: var(--text-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--text-secondary);
    border-color: var(--text-secondary);
    outline: none;
}

.btn-secondary {
    background: var(--bg-deeper);
    color: var(--text-primary);
    border-color: var(--border-3);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--bg-hover);
    border-color: var(--border-4);
    outline: none;
}

.btn-orange {
    background: var(--orange);
    color: #1a0d00;
    border-color: var(--orange);
}

.btn-orange:hover,
.btn-orange:focus-visible {
    background: var(--orange-link);
    border-color: var(--orange-link);
    color: #1a0d00;
    outline: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: transparent;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

.btn-ghost:hover {
    background: var(--bg-hover);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--orange-link);
    transition: color 0.18s ease;
}

.btn-link:hover {
    color: var(--orange);
}

.btn-link svg,
.btn-link::after {
    transition: transform 0.18s ease;
}

.btn-link:hover::after {
    transform: translateX(2px);
}

.btn-link::after {
    content: '\2192';
    display: inline-block;
}

/* Sub-page header (pricing/contact/blog/help/etc.)
   ------------------------------------------------ */
.page-header {
    padding: 96px 0 56px;
    text-align: center;
    border-bottom: 1px solid var(--border-1);
    position: relative;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--orange-glow), transparent 70%);
    pointer-events: none;
}

.page-header__inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.page-header__eyebrow {
    margin-bottom: 4px;
}

.page-header__title {
    font-size: clamp(2rem, 4.5vw, 2.875rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 400;
    color: var(--text-primary);
}

.page-header__sub {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.55;
    max-width: 600px;
}

@media (max-width: 640px) {
    .page-header {
        padding: 64px 0 40px;
    }
}

/* Form fields (contact, help, etc.)
   --------------------------------- */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field__label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.field__input,
.field__textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-deeper);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    width: 100%;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.field__input::placeholder,
.field__textarea::placeholder {
    color: var(--text-muted);
}

.field__input:focus,
.field__textarea:focus {
    outline: none;
    border-color: var(--orange-border);
    background: var(--bg-elevated);
}

.field__textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.55;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 540px) {
    .form__row {
        grid-template-columns: 1fr;
    }
}

/* Accordion (FAQ) — uses native <details>/<summary>
   ------------------------------------------------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion__item {
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    overflow: hidden;
    transition: border-color 0.18s ease;
}

.accordion__item[open] {
    border-color: var(--orange-border);
}

.accordion__summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.16px;
    line-height: 1.4;
    transition: background 0.18s ease;
}

.accordion__summary::-webkit-details-marker {
    display: none;
}

.accordion__summary:hover {
    background: var(--bg-hover);
}

.accordion__summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--orange);
    flex-shrink: 0;
    transition: transform 0.18s ease;
    line-height: 1;
}

.accordion__item[open] .accordion__summary::after {
    transform: rotate(45deg);
}

.accordion__body {
    padding: 0 22px 18px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.accordion__body p + p {
    margin-top: 10px;
}

/* Pricing tier cards
   ------------------ */
.tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.tier {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tier:hover {
    border-color: var(--border-3);
}

.tier--featured {
    border-color: var(--orange-border);
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, var(--orange-glow), transparent 60%),
        var(--bg-elevated);
    box-shadow: 0 0 60px -16px rgba(244, 129, 32, 0.25);
}

.tier__badge {
    position: absolute;
    top: -10px;
    right: 28px;
    background: var(--orange);
    color: #1a0d00;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-weight: 500;
}

.tier__name {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--orange);
}

.tier__title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.16px;
    color: var(--text-primary);
}

.tier__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.tier__price-value {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.tier__price-suffix {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.tier__sub {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.tier__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 18px 0;
    border-top: 1px solid var(--border-1);
    border-bottom: 1px solid var(--border-1);
    margin-top: auto;
}

.tier__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.tier__list li::before {
    content: '\2713';
    color: var(--orange);
    flex-shrink: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.tier__cta {
    margin-top: 4px;
}

@media (max-width: 768px) {
    .tiers {
        grid-template-columns: 1fr;
    }
}

/* Blog post list
   -------------- */
.post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.post-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.18s ease, transform 0.18s ease;
    min-height: 220px;
}

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

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.post-card__category {
    color: var(--orange);
}

.post-card__title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.16px;
    color: var(--text-primary);
    flex: 1;
}

.post-card__desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.post-card__link {
    margin-top: auto;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--orange-link);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-card__link::after {
    content: '\2192';
    transition: transform 0.18s ease;
}

.post-card:hover .post-card__link::after {
    transform: translateX(3px);
}

.post-card--feature {
    border-color: var(--orange-border);
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, var(--orange-glow), transparent 60%),
        var(--bg-elevated);
}

@media (max-width: 768px) {
    .post-list {
        grid-template-columns: 1fr;
    }
}

/* Contact info card (right column on contact page)
   ------------------------------------------------ */
.info-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-card__label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.info-card__value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.5;
    word-break: break-word;
}

.info-card__value a {
    color: inherit;
    border-bottom: 1px solid var(--border-2);
    transition: border-color 0.18s ease;
}

.info-card__value a:hover {
    border-bottom-color: var(--orange);
}

/* Contact-page two-column layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Case study (use-case pages)
   --------------------------- */
.case-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px;
    border: 1px solid var(--orange-border);
    border-radius: var(--radius-pill);
    background: rgba(244, 129, 32, 0.08);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--orange);
    margin-bottom: 16px;
}

.case-meta__customer {
    color: var(--text-primary);
    border-left: 1px solid var(--orange-border);
    padding-left: 10px;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.case-stats--two   { grid-template-columns: repeat(2, 1fr); }
.case-stats--four  { grid-template-columns: repeat(4, 1fr); }
.case-stats--six   { grid-template-columns: repeat(3, 1fr); }

.stat-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s ease;
}

.stat-card:hover {
    border-color: var(--orange-border);
}

.stat-card__value {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--orange);
}

.stat-card__label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .case-stats,
    .case-stats--two,
    .case-stats--four,
    .case-stats--six {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .case-stats,
    .case-stats--two,
    .case-stats--four,
    .case-stats--six {
        grid-template-columns: 1fr;
    }
}

/* Quote */
.case-quote {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 36px;
    border-left: 2px solid var(--orange);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
}

.case-quote__text {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    line-height: 1.45;
    letter-spacing: -0.16px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 400;
}

.case-quote__cite {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: normal;
}

@media (max-width: 640px) {
    .case-quote {
        padding: 22px 24px;
    }
    .case-quote__text {
        font-size: 1.0625rem;
    }
}

/* Two-column problem / solution split */
.case-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.case-block {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-block--solution {
    border-color: var(--orange-border);
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, var(--orange-glow), transparent 60%),
        var(--bg-elevated);
}

.case-block__label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--orange);
}

.case-block__title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.16px;
    color: var(--text-primary);
}

.case-block__body {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .case-split {
        grid-template-columns: 1fr;
    }
}

/* Article (blog post) typography
   ------------------------------ */
.article {
    max-width: 720px;
    margin: 0 auto;
}

.article__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
}

.article__category {
    color: var(--orange);
}

.article__title {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(1.875rem, 3.6vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.article__lede {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.article__body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.article__body > * + * {
    margin-top: 18px;
}

.article__body h2 {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.16px;
    color: var(--text-primary);
    margin-top: 48px;
}

.article__body h3 {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.1875rem;
    line-height: 1.3;
    letter-spacing: -0.16px;
    color: var(--text-primary);
    margin-top: 32px;
}

.article__body p {
    color: var(--text-secondary);
}

.article__body strong {
    color: var(--text-primary);
    font-weight: 500;
}

.article__body a {
    color: var(--orange-link);
    border-bottom: 1px solid var(--orange-border);
    transition: border-color 0.18s ease;
}

.article__body a:hover {
    border-bottom-color: var(--orange);
}

.article__body ul,
.article__body ol {
    padding-left: 24px;
}

.article__body li {
    margin-top: 8px;
}

.article__body code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--bg-deeper);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-primary);
    border: 1px solid var(--border-1);
}

.article__body pre {
    background: var(--bg-deeper);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    overflow-x: auto;
    line-height: 1.6;
}

.article__body pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.article__body blockquote {
    border-left: 2px solid var(--orange);
    padding: 4px 20px;
    color: var(--text-primary);
    font-style: italic;
}

.article__body img {
    max-width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-2);
    margin: 24px 0;
}

.article__body hr {
    border: none;
    border-top: 1px solid var(--border-1);
    margin: 32px 0;
}

/* Legal page (privacy, terms) — long-form readable text */
.legal {
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal h2 {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 1.25;
    letter-spacing: -0.16px;
    color: var(--text-primary);
    margin: 40px 0 12px;
}

.legal h3 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 28px 0 8px;
}

.legal p + p,
.legal p + ul,
.legal p + ol,
.legal h2 + p,
.legal h3 + p {
    margin-top: 12px;
}

.legal ul,
.legal ol {
    padding-left: 22px;
    margin: 8px 0;
}

.legal li + li {
    margin-top: 6px;
}

.legal a {
    color: var(--orange-link);
    border-bottom: 1px solid var(--orange-border);
}

.legal__last-updated {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Roadmap / release-notes timeline
   -------------------------------- */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
}

.timeline__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    padding: 28px 0;
    border-top: 1px solid var(--border-1);
}

.timeline__item:first-child {
    border-top: none;
    padding-top: 0;
}

.timeline__date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding-top: 4px;
}

.timeline__date span {
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
    font-size: 0.625rem;
    letter-spacing: 0.8px;
}

.timeline__content h3 {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: -0.16px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.timeline__content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline__content ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.timeline__content li {
    padding-left: 18px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-top: 6px;
    font-size: 0.9375rem;
}

.timeline__content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 1px;
    background: var(--orange);
}

.timeline__tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-right: 6px;
    border: 1px solid var(--border-2);
}

.timeline__tag--new      { color: var(--orange); border-color: var(--orange-border); }
.timeline__tag--improved { color: var(--text-primary); }
.timeline__tag--fixed    { color: var(--text-muted); }

@media (max-width: 640px) {
    .timeline__item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Section primitive
   ---------------- */
.section {
    padding: 96px 0;
    position: relative;
}

.section--lg {
    padding: 128px 0;
}

.section--first {
    padding-top: 64px;
}

.section--with-border-top {
    border-top: 1px solid var(--border-1);
}

.section--with-border-bottom {
    border-bottom: 1px solid var(--border-1);
}

.section__head {
    max-width: 720px;
    margin-bottom: 48px;
}

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

.section__eyebrow {
    margin-bottom: 16px;
}

.section__title {
    margin-bottom: 16px;
}

.section__sub {
    color: var(--text-secondary);
}

/* Navigation
   ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(23, 23, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-1);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 64px;
}

.site-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-nav__brand img {
    height: 22px;
    width: auto;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

.site-nav__link {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: color 0.18s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--text-primary);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

.nav-toggle:hover {
    background: var(--bg-hover);
}

.nav-toggle__bar {
    width: 18px;
    height: 1.5px;
    background: var(--text-primary);
    position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 1.5px;
    background: var(--text-primary);
}

.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    inset: 0;
    background: var(--bg-page);
    z-index: 200;
    padding: 20px 24px;
    display: none;
    flex-direction: column;
    gap: 24px;
}

.mobile-drawer.is-open {
    display: flex;
}

.mobile-drawer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-drawer__close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 22px;
    line-height: 1;
}

.mobile-drawer__close:hover {
    background: var(--bg-hover);
}

.mobile-drawer__menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.mobile-drawer__menu a {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-1);
}

.mobile-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hero
   ---- */
.hero {
    padding: 112px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero__inner {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.hero__title-rotate {
    display: block;
    color: var(--orange);
    margin-top: 12px;
    min-height: 1.05em;
}

.hero__title-rotate .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__title-rotate .word.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero__sub {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 620px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Feature tabs — 3 major surfaces, video-driven (replaces showcase)
   ---------------------------------------------------------------- */
.feature-tabs-section {
    padding: 32px 0 96px;
}

.feature-tabs {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 16px;
}

.feature-tabs__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-tab {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 18px 20px 22px;
    cursor: pointer;
    color: inherit;
    font: inherit;
    position: relative;
    overflow: hidden;
    transition: background 0.18s ease, border-color 0.18s ease;
    width: 100%;
}

.feature-tab:hover:not(.is-active) {
    background: rgba(28, 28, 28, 0.55);
    border-color: var(--border-2);
}

.feature-tab.is-active {
    background: var(--bg-elevated);
    border-color: var(--border-3);
}

.feature-tab__num {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    width: 26px;
    padding-top: 3px;
    transition: color 0.18s ease;
}

.feature-tab.is-active .feature-tab__num {
    color: var(--orange);
}

.feature-tab__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.feature-tab__title {
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color 0.18s ease;
    letter-spacing: -0.16px;
    line-height: 1.25;
}

.feature-tab.is-active .feature-tab__title {
    color: var(--text-primary);
}

.feature-tab__desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: color 0.18s ease;
}

.feature-tab.is-active .feature-tab__desc {
    color: var(--text-secondary);
}

.feature-tab__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--orange);
    border-radius: 1px;
    pointer-events: none;
}

/* Right panel: video frame */
.feature-tabs__panels {
    position: relative;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-deeper);
    aspect-ratio: 16 / 10;
    box-shadow: 0 0 0 1px var(--border-1), 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.feature-tabs__panels::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--orange-border), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.feature-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.feature-panel.is-active {
    opacity: 1;
    pointer-events: auto;
}

.feature-panel video,
.feature-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-tabs {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-tabs__panels {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .feature-tabs-section {
        padding: 24px 0 64px;
    }
    .feature-tab {
        padding: 16px 16px 20px;
    }
    .feature-tab__num {
        width: 22px;
        font-size: 0.6875rem;
    }
    .feature-tab__title {
        font-size: 0.9375rem;
    }
    .feature-tab__desc {
        font-size: 0.75rem;
    }
}

.hero__bg {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--orange-glow), transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(244, 129, 32, 0.05), transparent 70%);
}

.hero__bg::before,
.hero__bg::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero__bg::before {
    top: 10%;
    left: 8%;
    width: 280px;
    height: 280px;
    background: rgba(244, 129, 32, 0.12);
}

.hero__bg::after {
    right: 10%;
    bottom: 8%;
    width: 340px;
    height: 340px;
    background: rgba(255, 255, 255, 0.05);
}

.hero__graph,
.hero__grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__graph {
    opacity: 0.72;
}

.hero__grid {
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at 62% 42%, rgba(0, 0, 0, 0.08), #000 48%, rgba(0, 0, 0, 0.92) 100%);
}

/* Trusted by — scrolling ticker
   ----------------------------- */
.trusted {
    padding: 48px 0 56px;
    border-top: 1px solid var(--border-1);
    border-bottom: 1px solid var(--border-1);
}

.trusted__label {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.trusted__ticker {
    position: relative;
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.trusted__track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: trusted-scroll 36s linear infinite;
    will-change: transform;
}

.trusted__track li {
    flex-shrink: 0;
    list-style: none;
}

.trusted__track img {
    height: 28px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(0.78);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.trusted__track img:hover {
    opacity: 1;
}

.trusted:hover .trusted__track {
    animation-play-state: paused;
}

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

/* Bento grid — at-a-glance capabilities (3-cell layout)
   ----------------------------------------------------- */
.bento-section {
    padding: 48px 0 64px;
}

.bento-section .section__head {
    margin-bottom: 36px;
}

.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
}

.bento__cell {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.bento__cell:hover {
    border-color: var(--border-3);
}

.bento__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bento__title {
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: -0.16px;
    color: var(--text-primary);
    font-weight: 400;
}

.bento__desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* Cell positions on the 12-col grid — pipeline left, graph + dialect stacked right */
.bento__cell--pipeline {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    background:
        radial-gradient(ellipse 70% 60% at 100% 0%, var(--orange-glow), transparent 60%),
        var(--bg-elevated);
}

.bento__cell--graph {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
}

.bento__cell--dialect {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
    background:
        radial-gradient(ellipse at 100% 100%, var(--orange-glow), transparent 70%),
        var(--bg-elevated);
}

/* Pipeline diagram (centerpiece cell) */
.pipeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 4px;
}

.pipeline__stage {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0 10px;
    position: relative;
}

.pipeline__stage:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: -4px;
    width: 1px;
    background: linear-gradient(to bottom, var(--orange-border), var(--border-2));
}

.pipeline__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--orange-border);
    background: rgba(244, 129, 32, 0.10);
    color: var(--orange);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 1;
}

.pipeline__stage--end .pipeline__num {
    background: var(--orange);
    color: #1a0d00;
    border-color: var(--orange);
}

.pipeline__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 5px;
    min-width: 0;
}

.pipeline__copy strong {
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.16px;
}

.pipeline__copy span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    line-height: 1.4;
}

/* Code-style block (graph cell) */
.bento__code {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    background: var(--bg-deeper);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    line-height: 1.6;
    white-space: pre;
    overflow-x: auto;
    margin-top: auto;
}

.bento__code .tok-c { color: var(--text-muted); font-style: italic; }
.bento__code .tok-k { color: var(--text-primary); }
.bento__code .tok-arr { color: var(--orange); }
.bento__code .tok-o { color: var(--orange-link); }

/* Dialect chip cluster */
.bento__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.bento__chips span {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-2);
    background: var(--bg-deeper);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    letter-spacing: 0.4px;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.bento__chips span:hover {
    border-color: var(--orange-border);
    color: var(--text-primary);
}

/* Bento responsive */
@media (max-width: 1024px) {
    .bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento__cell--pipeline,
    .bento__cell--graph,
    .bento__cell--dialect {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .bento__cell {
        padding: 22px;
    }
}

/* Feature split (alternating image/content)
   ----------------------------------------- */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 48px 0;
}

.feature-split + .feature-split {
    border-top: 1px solid var(--border-1);
    margin-top: 48px;
}

.feature-split--reverse .feature-split__content {
    order: 2;
}

.feature-split__visual {
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-elevated);
    aspect-ratio: 4 / 3;
}

.feature-split__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-split__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.feature-split__eyebrow {
    margin-bottom: 4px;
}

.feature-split__title {
    margin-bottom: 4px;
}

.feature-split__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 16px;
}

.feature-split__list li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.feature-split__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 14px;
    height: 1.5px;
    background: var(--orange);
    border-radius: 1px;
}

/* Card grid (Workspace)
   --------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 260px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.feature-card__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(244, 129, 32, 0.12);
    border: 1px solid var(--orange-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card__icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(56%) sepia(75%) saturate(1854%) hue-rotate(355deg) brightness(99%) contrast(93%);
}

.feature-card__title {
    font-size: 1.125rem;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -0.16px;
}

.feature-card__desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-secondary);
    flex: 1;
}

.feature-card__link {
    align-self: flex-start;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--orange-link);
}

.feature-card__link:hover {
    color: var(--orange);
}

.feature-card__link::after {
    content: '\2192';
    margin-left: 4px;
    transition: transform 0.18s ease;
    display: inline-block;
}

.feature-card__link:hover::after {
    transform: translateX(3px);
}

/* Production-grade pillars (combined "Why it doesn't break" + "Under the hood")
   ---------------------------------------------------------------------------- */
.pillars-section {
    padding: 80px 0;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.pillar {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar:hover {
    border-color: var(--orange-border);
    transform: translateY(-3px);
}

.pillar__pattern {
    height: 150px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-1);
    background: var(--bg-deeper);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.pillar__pattern svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pillar__num {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--orange);
    letter-spacing: 1px;
    margin-top: 6px;
}

.pillar__title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.16px;
}

.pillar__lede {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pillar__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-1);
    list-style: none;
}

.pillar__list li {
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.45;
}

.pillar__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 1px;
    background: var(--orange);
}

@media (max-width: 1024px) {
    .pillars {
        grid-template-columns: 1fr;
    }
}

/* Use cases
   --------- */
.use-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.use-case {
    background: var(--bg-elevated);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 260px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.use-case:hover {
    border-color: var(--orange-border);
    background: var(--bg-hover);
}

.use-case__sector {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
}

.use-case__quote {
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--text-primary);
    letter-spacing: -0.16px;
    flex: 1;
}

.use-case__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-1);
}

.use-case__brand {
    height: 22px;
    max-width: 100px;
    object-fit: contain;
    filter: brightness(0) invert(0.85);
    opacity: 0.85;
}

/* CTA banner
   ---------- */
.cta {
    padding: 128px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__inner {
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    background: var(--bg-elevated);
    padding: 56px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    position: relative;
}

.cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at center top, var(--orange-glow), transparent 70%);
    pointer-events: none;
}

.cta__inner > * {
    position: relative;
}

.cta__title {
    font-size: clamp(1.75rem, 3.6vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta__sub {
    color: var(--text-secondary);
}

.cta__actions {
    margin-top: 8px;
}

/* Footer — compact 2-row layout
   ----------------------------- */
.site-footer {
    background: var(--bg-page);
    border-top: 1px solid var(--border-1);
    padding: 36px 0 24px;
}

/* Row 1: brand + nav links */
.site-footer__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-1);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    flex-wrap: wrap;
}

.site-footer__brand img {
    height: 24px;
    width: auto;
    display: block;
}

.site-footer__tagline {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.6px;
    line-height: 1.3;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.site-footer__nav a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: color 0.18s ease;
}

.site-footer__nav a:hover {
    color: var(--text-primary);
}

/* Row 2: legal + ask-ai icon strip */
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 18px;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0;
}

.site-footer__legal a,
.site-footer__copy {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.3px;
}

.site-footer__legal a {
    transition: color 0.18s ease;
}

.site-footer__legal a:hover {
    color: var(--text-primary);
}

/* Ask AI: compact icon-only strip */
.ask-ai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ask-ai__label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-right: 4px;
}

.ask-ai__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    background: var(--bg-elevated);
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.ask-ai__icon:hover {
    border-color: var(--orange-border);
    background: var(--bg-hover);
    transform: translateY(-1px);
}

.ask-ai__icon img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 28px 0 20px;
    }
    .site-footer__main,
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .site-footer__main {
        padding-bottom: 18px;
    }
    .site-footer__nav {
        gap: 18px;
    }
}

/* Reveal on scroll
   ---------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive
   ---------- */
@media (max-width: 1024px) {
    .feature-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-split--reverse .feature-split__content {
        order: 0;
    }

    .card-grid,
    .use-cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 80px 0;
    }

    .section--lg {
        padding: 96px 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .site-nav__menu,
    .site-nav__actions .btn,
    .site-nav__actions .site-nav__login {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding: 88px 0 48px;
    }

    .hero__grid {
        background-size: 28px 28px;
        opacity: 0.05;
    }

    .showcase {
        padding: 16px 0 64px;
    }

    .showcase__frame {
        border-radius: var(--radius-lg);
    }

    .trusted {
        padding: 36px 0 40px;
    }

    .trusted__track {
        gap: 44px;
        animation-duration: 28s;
    }

    .trusted__track img {
        height: 22px;
        max-width: 110px;
    }

    .card-grid,
    .use-cases__grid {
        grid-template-columns: 1fr;
    }

    .section,
    .section--lg {
        padding: 64px 0;
    }

    .section__head {
        margin-bottom: 32px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta__inner {
        padding: 40px 24px;
    }
}

/* Reduced motion
   -------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero__title-rotate .word {
        opacity: 1;
        transform: none;
    }

    .hero__graph {
        opacity: 0.42;
    }

    .trusted__track {
        animation: none;
    }
}
