* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink-strong: #0c1734;
    --ink: #213055;
    --ink-soft: #67789e;
    --surface: #f6f9ff;
    --surface-alt: #edf2ff;
    --surface-card: rgba(255, 255, 255, 0.7);
    --surface-card-strong: rgba(255, 255, 255, 0.86);
    --line: rgba(24, 52, 132, 0.1);
    --line-strong: rgba(24, 52, 132, 0.18);
    --accent: #1a52d0;
    --accent-soft: rgba(47, 107, 255, 0.1);
    --accent-mid: #6070d8;
    --highlight: #F43F8C;
    --highlight-soft: rgba(244, 63, 140, 0.12);
    --brand-blue: #2F6BFF;
    --brand-indigo: #5A4FCF;
    --brand-violet: #7C3AED;
    --brand-pink: #F43F8C;
    --brand-gradient: linear-gradient(90deg, #2F6BFF 0%, #5A4FCF 35%, #7C3AED 65%, #F43F8C 100%);
    --brand-gradient-soft: linear-gradient(90deg, rgba(47, 107, 255, 0.14) 0%, rgba(90, 79, 207, 0.12) 35%, rgba(124, 58, 237, 0.12) 65%, rgba(244, 63, 140, 0.12) 100%);
    --shadow-soft: 0 8px 32px rgba(18, 41, 111, 0.07);
    --shadow-card: 0 4px 24px rgba(18, 41, 111, 0.07);
    --shadow-hover: 0 8px 32px rgba(18, 41, 111, 0.11);
    --radius-lg: 18px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --content-width: 1240px;
    --page-gutter: clamp(16px, 4vw, 28px);
    --section-space: clamp(60px, 8vw, 88px);
    --section-space-tight: clamp(22px, 3.2vw, 34px);
    --shell-padding: clamp(22px, 3vw, 36px);
    --card-padding: clamp(20px, 2.5vw, 28px);
    --hero-padding: clamp(24px, 5vw, 58px);
}

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

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    min-height: 100vh;
    min-height: 100svh;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    background: #ffffff;
    color: var(--ink);
    line-height: 1.72;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

main {
    position: relative;
}

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

img.wordmark {
    display: inline-block;
    height: 0.88em;
    width: auto;
    vertical-align: -0.18em;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid rgba(47, 107, 255, 0.42);
    outline-offset: 3px;
}

.visually-hidden:focus,
.visually-hidden:focus-visible {
    position: fixed;
    top: 14px;
    left: 14px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 14px;
    clip: auto;
    white-space: normal;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
}

h1,
h2,
h3,
.service-title,
.faq-question,
.project-title h3,
.cta-banner h3 {
    font-family: "Space Grotesk", sans-serif;
    color: var(--ink-strong);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(1.45rem, 2.6vw, 2.2rem);
    line-height: 1.12;
    font-weight: 400;
    text-wrap: balance;
}

h3 {
    font-size: 1.08rem;
    line-height: 1.22;
    font-weight: 500;
    text-wrap: balance;
}

p,
li,
input,
textarea,
button {
    font: inherit;
}

nav {
    position: sticky;
    top: max(10px, env(safe-area-inset-top, 0px));
    z-index: 100;
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin: clamp(10px, 2vw, 20px) auto 0;
    padding: clamp(10px, 1.6vw, 12px) clamp(12px, 1.8vw, 14px) clamp(10px, 1.6vw, 12px) clamp(14px, 2vw, 18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(24, 52, 132, 0.18);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(18, 41, 111, 0.08);
}

.nav-name {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-name img {
    height: 38px;
    width: auto;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-line {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (min-width: 1041px) {
    .nav-menu > a[href="/"] {
        display: none;
    }
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
    background: rgba(47, 107, 255, 0.08);
    color: var(--accent);
    transform: translateY(-1px);
}

section {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin: 0 auto;
    padding: var(--section-space) 0;
}

body > section#top:first-of-type {
    padding-top: clamp(112px, 16vw, 148px) !important;
}

section#top {
}

.home-hero-section {
    width: min(calc(100% - (var(--page-gutter) * 2)), 1240px);
    max-width: 1320px;
    padding-top: clamp(22px, 3vw, 34px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
    gap: clamp(18px, 2.8vw, 28px);
    align-items: stretch;
    min-height: auto;
    padding-top: clamp(44px, 7vw, 70px);
}

.hero-fork {
    grid-template-columns: minmax(0, 1fr);
    flex: 0 1 1040px;
    width: 100%;
    max-width: 1040px;
    margin: 0;
}

.hero-content-wide {
    min-height: 0;
    width: 100%;
    text-align: center;
}

.hero-content-wide h1 {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-content-wide .hero-text,
.hero-content-wide .hero-credentials {
    margin-left: auto;
    margin-right: auto;
}

.hero-content-wide .hero-actions {
    justify-content: center;
}

.hero-content-wide .hero-points {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.router-main {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) 120px;
}

.router-shell {
    width: min(100%, 1180px);
    padding: 0;
}

.router-brand {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(28px, 5vw, 44px);
}

.router-brand img {
    width: min(520px, 72vw);
    height: auto;
}

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

.router-grid[role="list"] {
    list-style: none;
}

.router-button {
    min-height: clamp(180px, 26vw, 250px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 40px);
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.router-button:hover,
.router-button:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(47, 107, 255, 0.26);
    background: var(--accent);
    box-shadow: var(--shadow-hover);
}

.router-button:active {
    transform: translateY(-2px) scale(0.99);
    background: var(--accent);
    box-shadow: 0 4px 16px rgba(18, 41, 111, 0.16);
}

.router-button span {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    line-height: 1.08;
    color: var(--accent);
    letter-spacing: -0.02em;
    text-wrap: balance;
    transition: color 0.24s ease;
}

.router-button:hover span,
.router-button:focus-visible span,
.router-button:active span {
    color: #ffffff;
}

.router-button-featured {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 255, 0.82)),
        linear-gradient(135deg, rgba(47, 107, 255, 0.16), rgba(244, 63, 140, 0.12));
    border-color: rgba(47, 107, 255, 0.18);
}

.router-footer {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 1180px);
    padding: 14px 18px;
    border: 1px solid rgba(24, 52, 132, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(18, 41, 111, 0.08);
    text-align: center;
}

.router-footer p {
    color: var(--ink-soft);
    font-size: 0.87rem;
    line-height: 1.6;
}

.router-footer a {
    text-decoration: none;
    color: var(--accent-mid);
}

.router-footer a:hover,
.router-footer a:focus-visible {
    color: var(--accent);
}

.hero-content,
.impact-box,
.benefit-card,
.fit-card,
.proof-card,
.pricing-box,
.contact-methods,
.service-item,
.project-summary,
.page-shell,
.card-link,
.detail-shell,
.cta-banner,
.contact-panel,
.contact-form-shell {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(18, 41, 111, 0.08), 0 1px 4px rgba(18, 41, 111, 0.05);
}

.hero-content {
    position: relative;
    padding: var(--hero-padding);
    overflow: hidden;
}

.hero-content::before {
    display: none;
}

.hero-content > * {
    position: relative;
}

.hero-label,
.section-label,
.current-badge,
.detail-kicker,
.card-link-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(24, 52, 132, 0.08);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-label,
.section-label,
.eyebrow {
    margin-bottom: 18px;
}

.hero-text,
.hero-credentials,
.content-text,
.about-text p,
.service-description,
.faq-answer,
.project-content p,
.pricing-info p,
.page-lede,
.detail-body p,
.detail-body li,
.card-link-copy,
.contact-copy {
    color: var(--ink);
}

.hero-text {
    font-size: 1.2rem;
    max-width: 40rem;
    margin: 22px 0 10px;
}

.hero-credentials {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-actions .btn {
    min-width: 0;
}

.hero-points {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.hero-points li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-soft);
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateY(-50%);
}

.impact-box {
    background: var(--ink-strong);
    color: #f5f8ff;
    padding: clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.impact-label {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(232, 241, 255, 0.72);
    max-width: 18ch;
}

.impact-ratio {
    margin: 28px 0 12px;
}

.impact-title {
    margin: 24px 0 14px;
    color: #ffffff;
    font-size: clamp(1.25rem, 1.6vw, 1.7rem);
    line-height: 1.18;
    font-weight: 400;
    max-width: 14ch;
}

.impact-number {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    line-height: 0.9;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 0 24px rgba(126, 171, 255, 0.16);
}

.impact-explain {
    font-size: 1rem;
    color: rgba(232, 241, 255, 0.82);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 30px;
}

.section-header > div:first-child {
    max-width: 48rem;
}

.section-count,
.section-stat,
.section-stats {
    color: var(--ink-soft);
    font-size: 0.93rem;
}

.section-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.section-stat strong {
    color: var(--accent);
}

.content-text,
.about-text p,
.service-description,
.faq-answer,
.project-content p,
.pricing-info p,
.page-lede,
.detail-body p,
.detail-body li,
.contact-copy {
    font-size: 1.03rem;
    line-height: 1.82;
    max-width: 72ch;
}

.benefits-grid,
.pricing-grid,
.proof-grid,
.fit-grid,
.card-link-grid {
    display: grid;
    gap: 18px;
}

.balanced-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.balanced-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.about-current-build-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 1180px);
    margin: 0 auto;
}

.content-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section-frame {
    padding: var(--card-padding);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    min-height: 100%;
}

.section-frame .section-header {
    margin-bottom: 24px;
}

.section-header-centered {
    max-width: 44rem;
    margin: 0 auto 30px;
    text-align: center;
}

.section-header-centered > div:first-child {
    max-width: none;
}

.benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit-grid,
.proof-grid,
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: var(--card-padding);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.pricing-card h3 {
    margin: 0 0 6px;
}

.pricing-desc {
    flex: 1;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.pricing-metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink-strong);
}

.pricing-metric-label {
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: auto;
    padding-top: 14px;
}

.pricing-price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink-strong);
}

.pricing-price-suffix {
    font-size: 0.92rem;
    color: var(--ink);
}

.annual-banner {
    text-align: center;
    margin-top: 18px;
    color: var(--ink);
    font-size: 0.95rem;
}

.card-link-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 18px;
}

.invoice-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.demo-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.video-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(18, 41, 111, 0.08);
    aspect-ratio: 16 / 9;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.demo-spotlight-copy {
    max-width: 40rem;
}

.demo-spotlight-points {
    display: grid;
    gap: 14px;
}

.demo-spotlight-card {
    padding: 18px 20px;
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(18, 41, 111, 0.06);
}

.demo-spotlight-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink-strong);
}

.demo-spotlight-card p {
    color: var(--ink);
}

.invoice-showcase-card {
    padding: var(--card-padding);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.invoice-showcase-title {
    margin: 12px 0 10px;
}

.invoice-showcase-copy {
    color: var(--ink);
    margin-bottom: 18px;
}

.approval-demo {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(24, 52, 132, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(18, 41, 111, 0.06);
}

.approval-demo-header,
.approval-demo-row,
.approval-demo-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.approval-demo-header {
    margin-bottom: 18px;
}

.approval-demo-header strong,
.approval-demo-value {
    color: var(--ink-strong);
}

.approval-demo-header div {
    display: grid;
    gap: 4px;
}

.approval-demo-header span,
.approval-demo-label {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.approval-demo-row {
    padding: 10px 0;
    border-top: 1px solid rgba(24, 52, 132, 0.08);
}

.approval-demo-row:first-of-type {
    border-top: 0;
}

.approval-demo-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.approval-demo-pill-approved {
    background: rgba(26, 165, 96, 0.12);
    color: #1a7a4b;
}

.approval-demo-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 18px;
}

.approval-demo-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(24, 52, 132, 0.12);
    background: #ffffff;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
}

.approval-demo-action-primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.invoice-preview-figure {
    margin: 0;
}

.invoice-preview-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(24, 52, 132, 0.1);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(18, 41, 111, 0.08);
}

.invoice-preview-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.invoice-preview-note {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.approval-email-preview {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(24, 52, 132, 0.1);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(18, 41, 111, 0.06);
}

.approval-email-header,
.approval-email-items-head,
.approval-email-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.approval-email-header {
    margin-bottom: 16px;
}

.approval-email-brand {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
}

.approval-email-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(249, 171, 0, 0.16);
    color: #996100;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.approval-email-preview h4 {
    margin: 0 0 8px;
}

.approval-email-subtitle {
    margin: 0 0 16px;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.approval-email-summary,
.approval-email-items {
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 18px;
    background: rgba(248, 251, 255, 0.76);
}

.approval-email-summary {
    display: grid;
    gap: 0;
    margin-bottom: 16px;
}

.approval-email-summary div {
    padding: 10px 14px;
    border-top: 1px solid rgba(24, 52, 132, 0.08);
    color: var(--ink);
}

.approval-email-summary div:first-child,
.approval-email-item:first-of-type {
    border-top: 0;
}

.approval-email-items-head {
    padding: 10px 14px;
    background: #ffffff;
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.approval-email-item {
    padding: 10px 14px;
    border-top: 1px solid rgba(24, 52, 132, 0.08);
    color: var(--ink);
}

.approval-email-actions {
    margin-top: 16px;
}

.approval-email-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
}

.approval-email-footnote {
    margin: 14px 0 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.report-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.report-photo-card {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    border: 1px solid rgba(24, 52, 132, 0.1);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(18, 41, 111, 0.08);
}

.report-photo-card picture {
    display: block;
}

.report-photo-card img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    padding: 16px 16px 0;
    background: #f7faff;
}

.report-photo-card figcaption {
    display: grid;
    gap: 8px;
    padding: 18px 20px 20px;
    color: var(--muted);
    flex: 1;
}

.report-photo-card figcaption strong {
    color: var(--ink);
    font-size: 1rem;
}

.report-photo-card figcaption span {
    line-height: 1.6;
}

.fork-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.fork-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: clamp(22px, 2.8vw, 30px);
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.fork-card:hover,
.fork-card:focus-visible {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-hover);
}

.fork-card-kicker {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(24, 52, 132, 0.08);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fork-card h3 {
    margin-bottom: 2px;
}

.fork-card p,
.fork-card li,
.fork-card-cta {
    color: var(--ink);
}

.fork-card ul {
    padding-left: 22px;
}

.fork-card li {
    margin-bottom: 8px;
}

.fork-card-cta {
    margin-top: auto;
    color: var(--accent);
    font-weight: 700;
}

.fork-card-featured {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 255, 0.84)),
        linear-gradient(135deg, rgba(47, 107, 255, 0.14), rgba(244, 63, 140, 0.12));
    border-color: rgba(47, 107, 255, 0.18);
}

.benefit-card,
.fit-card,
.proof-card,
.pricing-box,
.contact-methods,
.service-item,
.card-link,
.contact-panel,
.contact-form-shell {
    padding: var(--card-padding);
    background: #ffffff;
}

.benefit-card h3,
.fit-card h3,
.service-title,
.card-link-title {
    margin-bottom: 12px;
}

.benefit-card p,
.benefit-card ul,
.fit-card ul,
.fit-card p,
.proof-card p,
.card-link-copy {
    color: var(--ink);
    font-size: 0.98rem;
}

.benefit-card ul,
.fit-card ul,
.detail-body ul,
.detail-body ol,
.industry-list,
.pricing-list {
    padding-left: 22px;
}

.benefit-card,
.fit-card,
.proof-card,
.pricing-box,
.card-link,
.project-summary {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.benefit-card:hover,
.fit-card:hover,
.proof-card:hover,
.pricing-box:hover,
.card-link:hover,
.project-summary:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-hover);
}

.proof-card strong {
    display: block;
    margin-bottom: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    line-height: 1.08;
    color: var(--accent);
}

.proof-card a,
.content-text a,
.about-text a,
.faq-answer a,
.contact-methods a,
.detail-body a,
.contact-copy a {
    color: var(--accent-mid);
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 120, 214, 0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.proof-card a:hover,
.content-text a:hover,
.about-text a:hover,
.faq-answer a:hover,
.contact-methods a:hover,
.detail-body a:hover,
.contact-copy a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.project-tabs {
    margin-top: 12px;
}

.project-tabs input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tab-labels {
    display: inline-flex;
    padding: 6px;
    gap: 6px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
    margin-bottom: 30px;
}

.tab-labels label {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#tab-completed:checked ~ .tab-labels label[for="tab-completed"],
#tab-current:checked ~ .tab-labels label[for="tab-current"] {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(47, 107, 255, 0.24);
}

.tab-content {
    display: none;
}

#tab-completed:checked ~ #content-completed,
#tab-current:checked ~ #content-current {
    display: block;
}

.project {
    padding: 0 0 22px;
}

.project-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.project-meta,
.project-stats,
.metric-strip,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-category,
.project-date,
.project-client,
.project-stat,
.stat-label,
.card-link-meta,
.detail-chip-label {
    font-size: 0.84rem;
    color: var(--ink-soft);
}

.project-category {
    color: var(--accent-mid);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.project-title h3 {
    margin: 2px 0 0;
}

.stat-value {
    color: var(--accent);
    font-weight: 700;
}

.metric-pill,
.detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(24, 52, 132, 0.08);
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 600;
}

.current-badge {
    margin-bottom: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: rgba(47, 107, 255, 0.06);
    border-color: var(--line-strong);
    box-shadow: 0 4px 16px rgba(18, 41, 111, 0.08);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #1645b8;
    border-color: #1645b8;
    color: #ffffff;
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
}

.btn-secondary:hover {
    background: rgba(47, 107, 255, 0.06);
    border-color: var(--line-strong);
    color: var(--ink-strong);
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink-strong);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(47, 107, 255, 0.35);
    box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.1);
}

.form-group textarea {
    min-height: 170px;
    resize: vertical;
}

.form-submit {
    margin-top: 8px;
}

.form-note {
    margin-top: 14px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

.form-feedback {
    min-height: 1.6em;
    margin-top: 14px;
    color: var(--accent);
    font-size: 0.94rem;
    font-weight: 600;
}

.form-note a {
    color: var(--accent-mid);
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 120, 214, 0.3);
}

.form-note a:hover,
.form-note a:focus-visible {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: clamp(12px, 2vw, 20px);
    transform: translateX(-50%);
    width: min(360px, calc(100vw - 24px));
    padding: 18px 18px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 50px rgba(18, 41, 111, 0.18);
    z-index: 200;
}

.cookie-banner-title {
    margin-bottom: 8px;
    color: var(--accent);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.cookie-banner-copy {
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.6;
}

.cookie-banner-copy a {
    color: var(--accent-mid);
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 120, 214, 0.3);
}

.cookie-banner-copy a:hover,
.cookie-banner-copy a:focus-visible {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
}

.cookie-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cookie-button:hover {
    transform: translateY(-1px);
}

.cookie-button-accept {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.cookie-button-decline {
    background: #ffffff;
    color: var(--accent);
    border-color: var(--line);
}

.cookie-button-settings {
    background: transparent;
    color: var(--ink-soft);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.cta-section {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    padding-top: var(--section-space-tight);
}

.cta-content {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.cta-content .hero-actions {
    justify-content: center;
}

.cta-content p {
    margin: 14px auto 0;
    color: var(--ink-soft);
}

.cta-banner {
    padding: 46px 38px;
    text-align: center;
    background: var(--ink-strong);
    color: #eef4ff;
    margin-top: 8px;
}

.cta-banner h3 {
    color: #ffffff;
}

.cta-banner p {
    color: rgba(238, 244, 255, 0.82);
    margin: 14px auto 26px;
    max-width: 40rem;
}

.cta-banner .btn {
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent);
}

footer {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin: 24px auto 44px;
    padding: 24px 0 0;
    border-top: none;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

footer a {
    text-decoration: none;
}

.footer-social {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(10, 102, 194, 0.16);
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(18, 41, 111, 0.08);
    border-color: rgba(10, 102, 194, 0.32);
}

.footer-social-link img {
    width: 20px;
    height: 20px;
}

.footer-note {
    margin-top: 10px;
    font-size: 0.85rem;
}

.page-shell,
.detail-shell,
.contact-panel,
.contact-form-shell {
    padding: var(--shell-padding);
}

.page-shell + .page-shell,
.detail-shell + .detail-shell {
    margin-top: 18px;
}

.about-page-intro {
    width: min(100%, 820px);
    margin: 0 auto;
    text-align: center;
}

.about-page-intro h1 {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.about-page-intro .page-lede {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.about-short-version-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}

.about-builds-now {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 860px) {
    .about-short-version-grid {
        grid-template-columns: 1fr;
    }
    .about-builds-now {
        grid-template-columns: 1fr;
    }
}

.page-lede {
    margin-top: 8px;
}

.card-link {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    min-height: 100%;
}

.card-link-copy {
    flex: 1;
}

.card-link-arrow {
    color: var(--highlight);
    font-weight: 700;
}

.detail-shell {
    max-width: 860px;
    margin: 0 auto;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--accent-mid);
    margin-bottom: 22px;
    font-weight: 600;
}

.detail-title {
    margin-top: 14px;
}

.detail-subtitle {
    margin-top: 12px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.detail-meta {
    margin: 28px 0 26px;
}

.detail-chip-accent {
    background: rgba(244, 63, 140, 0.1);
    border-color: rgba(244, 63, 140, 0.18);
    color: #c4206a;
}

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

.detail-body h3 {
    margin-top: 36px;
    margin-bottom: 4px;
}

.detail-body ul li,
.detail-body ol li {
    margin-bottom: 10px;
}

.detail-note {
    padding: 18px 20px;
    border-left: 3px solid var(--highlight);
    background: rgba(244, 63, 140, 0.08);
    border-radius: 0 16px 16px 0;
}

.founder-page {
    padding-top: clamp(28px, 4vw, 44px);
}

.founder-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.founder-hero {
    max-width: 54rem;
    display: grid;
    gap: 14px;
}

.founder-title {
    margin: 0;
    max-width: 13ch;
    font-size: clamp(2.5rem, 5.2vw, 4.9rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    color: var(--accent);
}

.founder-standfirst {
    margin: 0;
    max-width: 44rem;
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.7;
}

.founder-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.founder-meta-strip .detail-chip {
    flex-wrap: wrap;
    row-gap: 2px;
    max-width: 100%;
}

.founder-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 44px);
    align-items: start;
    margin-top: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.founder-article {
    min-width: 0;
}

.founder-prose {
    max-width: 44rem;
    padding: clamp(26px, 3.8vw, 40px);
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(18, 41, 111, 0.08);
}

.founder-prose > * + * {
    margin-top: 20px;
}

.founder-prose h3 {
    margin-top: 34px;
    color: var(--ink-strong);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.founder-prose p {
    margin: 0;
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.92;
}

.founder-lead {
    color: var(--ink-strong);
    font-size: 1.22rem;
    line-height: 1.86;
}

.founder-pullquote {
    margin: 30px 0;
    padding: 8px 0 8px 22px;
    border-left: 3px solid var(--highlight);
}

.founder-pullquote p {
    color: var(--accent);
    font-size: clamp(1.24rem, 2vw, 1.52rem);
    line-height: 1.6;
    letter-spacing: -0.02em;
}

.founder-aside {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 108px;
}

.founder-note-card {
    display: grid;
    gap: 12px;
    padding: 22px 22px 20px;
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(18, 41, 111, 0.07);
}

.founder-note-card .card-link-copy {
    margin: 0;
}

.founder-note-card a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(47, 107, 255, 0.22);
}

.founder-note-card a:hover,
.founder-note-card a:focus-visible {
    border-bottom-color: var(--accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.contact-panel ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.contact-panel li {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(24, 52, 132, 0.08);
}

.contact-copy {
    max-width: 42rem;
}

.contact-panel,
.contact-form-shell {
    height: 100%;
}

.section-tight {
    padding-top: var(--section-space-tight);
}

.section-proof {
    padding-top: clamp(28px, 4vw, 34px);
}

.home-hero-shell {
    display: grid;
    gap: 20px;
    justify-items: center;
}

.home-hero-panel {
    width: min(100%, 1140px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 38px);
    align-items: start;
    padding: clamp(30px, 4.5vw, 56px);
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: clamp(32px, 5vw, 44px);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.home-hero-copy {
    display: grid;
    gap: 18px;
    justify-items: start;
    text-align: left;
}

.home-hero-media {
    width: 100%;
}

.home-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero-point,
.home-hero-video-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(24, 52, 132, 0.1);
    background: rgba(255, 255, 255, 0.7);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 20px rgba(18, 41, 111, 0.05);
}

.home-hero-video-card {
    display: grid;
    gap: 14px;
    padding: clamp(14px, 2.1vw, 18px);
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 20px 42px rgba(18, 41, 111, 0.1);
}

.home-hero-dashboard-card {
    display: grid;
    gap: 12px;
    padding: clamp(14px, 2.1vw, 18px);
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 20px 42px rgba(18, 41, 111, 0.1);
    overflow: hidden;
}

.home-hero-dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(24, 52, 132, 0.08);
    display: block;
}

.home-hero-video-meta {
    display: grid;
    gap: 8px;
}

.home-hero-video-meta p,
.home-hero-video-caption span {
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.6;
}

.home-hero-trustline {
    max-width: 38rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.home-hero-video-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0 4px 2px;
}

.home-hero-video-caption a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.home-hero-video-caption a:hover,
.home-hero-video-caption a:focus-visible {
    text-decoration: underline;
}

.home-hero-panel h1 {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(2.6rem, 4vw, 4.9rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.home-hero-panel .hero-text {
    max-width: 42rem;
    margin: 0;
    font-size: 1.14rem;
}

.home-hero-panel .hero-credentials {
    max-width: 42rem;
    margin: 0;
}

.case-study-brand {
    margin: 10px 0 18px;
}

.case-study-brand-logo {
    width: min(220px, 46vw);
    height: auto;
}

.home-hero-panel .hero-actions {
    justify-content: flex-start;
}

.home-hero-strip {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-hero-chip {
    display: grid;
    gap: 8px;
    min-height: 100%;
    padding: 22px 24px;
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 30px rgba(18, 41, 111, 0.07);
    text-align: center;
}

.home-hero-chip strong {
    color: var(--ink-strong);
    font-size: 0.95rem;
}

.home-hero-chip p {
    margin: 0;
    color: var(--ink);
}

.proof-header {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 26px;
    text-align: center;
}

.proof-header p {
    color: var(--ink-soft);
    max-width: 42rem;
    margin: 12px auto 0;
}

.home-fit-grid,
.home-pilot-fit-grid,
.home-use-case-grid,
.home-proof-grid,
.home-workflow-grid,
.home-pilot-steps {
    display: grid;
    gap: 18px;
}

.home-fit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-pilot-fit-grid {
    grid-template-columns: minmax(320px, 1.15fr) repeat(2, minmax(0, 0.85fr));
}

.fit-card-featured {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.82)),
        linear-gradient(135deg, rgba(47, 107, 255, 0.12), rgba(244, 63, 140, 0.08));
}

.home-use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-workflow-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

.home-workflow-intro {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(12, 23, 52, 0.98), rgba(24, 44, 113, 0.94) 40%, rgba(90, 79, 207, 0.9) 70%, rgba(124, 58, 237, 0.88) 100%);
    color: #f5f8ff;
    box-shadow: var(--shadow-card);
    padding: clamp(24px, 3vw, 34px);
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.home-workflow-intro h3 {
    color: #ffffff;
    margin-bottom: 14px;
}

.home-workflow-intro p {
    color: rgba(232, 241, 255, 0.84);
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.home-workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-pilot-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.home-pilot-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-pilot-aside {
    position: sticky;
    top: 108px;
}

.home-pilot-aside .proof-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: space-between;
}

.home-pilot-aside .btn {
    width: 100%;
}

.home-proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-lane-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-lane-card {
    position: relative;
    display: grid;
    gap: 14px;
    min-height: 100%;
    padding: clamp(24px, 3vw, 32px);
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-lane-card:hover,
.home-lane-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(47, 107, 255, 0.24);
    box-shadow: var(--shadow-hover);
}

.home-lane-link {
    margin-top: auto;
    color: var(--accent);
    font-weight: 700;
}

.home-proof-band {
    width: min(100%, 980px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 22px;
    align-items: center;
    padding: clamp(28px, 4vw, 38px);
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: clamp(28px, 4vw, 36px);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.home-proof-copy {
    max-width: 42rem;
}

.home-proof-copy h2,
.home-proof-copy p {
    text-wrap: balance;
}

.home-proof-actions {
    display: grid;
    gap: 12px;
    justify-items: stretch;
}

.home-proof-actions .btn {
    justify-content: center;
}

.home-funnel-strip {
    align-items: stretch;
}

.home-funnel-chip {
    position: relative;
    align-content: start;
    text-align: left;
}

.home-funnel-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 14px 30px rgba(47, 107, 255, 0.2);
}

@media (max-width: 1040px) {
    nav {
        top: max(10px, env(safe-area-inset-top, 0px));
        margin-top: 12px;
    }

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

    .nav-menu {
        position: fixed;
        top: calc(70px + env(safe-area-inset-top, 0px));
        right: var(--page-gutter);
        width: min(320px, calc(100vw - 24px));
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: var(--shadow-soft);
        flex-direction: column;
        align-items: stretch;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    nav.nav-open .nav-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        border-radius: 16px;
        padding: 14px 16px;
    }

    /* In the mobile dropdown the pill CTA becomes a full-width tinted row */
    .nav-cta-pill {
        margin-left: 0 !important;
        margin-top: 6px !important;
        text-align: center;
        padding: 14px 16px !important;
        font-size: 0.92rem !important;
        border-radius: 16px !important;
        box-shadow: none !important;
    }

    .hero,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .home-fit-grid,
    .home-pilot-fit-grid,
    .home-use-case-grid,
    .home-hero-strip,
    .demo-spotlight,
    .balanced-grid-3,
    .balanced-grid-2,
    .content-duo,
    .home-workflow-shell,
    .home-workflow-grid,
    .home-pilot-layout,
    .home-pilot-steps,
    .home-proof-grid,
    .home-lane-grid,
    .fork-grid,
    .router-grid,
    .invoice-showcase-grid,
    .report-photos-grid {
        grid-template-columns: 1fr;
    }

    .home-pilot-aside {
        position: static;
    }

    .founder-layout {
        grid-template-columns: 1fr;
    }

    .founder-aside {
        position: static;
    }

    .fit-grid,
    .proof-grid,
    .pricing-grid,
    .card-link-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: start;
    }

    .home-hero-panel {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        border-radius: 30px;
    }

    .home-hero-media {
        order: 0;
    }

    .home-hero-copy {
        justify-items: center;
        text-align: center;
    }

    .home-hero-points {
        justify-content: center;
    }

    .home-hero-panel .hero-actions {
        justify-content: center;
    }

    .home-funnel-chip {
        text-align: center;
        justify-items: center;
    }

    .home-hero-trustline {
        text-align: center;
    }

    .home-hero-panel h1 {
        max-width: 11ch;
        font-size: clamp(2.15rem, 8.2vw, 3.35rem);
    }

    .home-proof-band {
        grid-template-columns: 1fr;
    }

    .section-stats {
        justify-content: start;
    }

    .section-stats,
    .metric-strip,
    .detail-meta,
    .project-meta,
    .project-stats {
        gap: 8px;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .fork-card {
        padding: 22px;
    }

    .router-main {
        padding: 18px 18px 132px;
    }

    .router-button {
        min-height: 140px;
        padding: 24px;
    }

    .router-brand img {
        width: min(360px, 78vw);
    }

    .router-footer {
        position: static;
        transform: none;
        width: calc(100% - 24px);
        margin: 0 auto 12px;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        transform: none;
        width: auto;
        bottom: 10px;
        padding: 12px 12px 10px;
        border-radius: 16px;
    }

    .cookie-banner-title {
        margin-bottom: 6px;
        font-size: 0.96rem;
    }

    .cookie-banner-copy {
        font-size: 0.82rem;
        line-height: 1.42;
    }

    .cookie-banner-actions {
        gap: 6px;
        margin-top: 10px;
    }

    .cookie-button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .cookie-button-settings {
        width: 100%;
        min-height: 30px;
        padding-top: 2px;
        padding-bottom: 0;
    }

    section {
        padding: clamp(56px, 10vw, 72px) 0;
    }

    body > section#top:first-of-type {
        padding-top: 112px !important;
    }

    .hero-content,
    .impact-box,
    .benefit-card,
    .fit-card,
    .proof-card,
    .pricing-box,
    .contact-methods,
    .service-item,
    .project-summary,
    .page-shell,
    .card-link,
    .detail-shell,
    .contact-panel,
    .contact-form-shell,
    .cta-banner {
        border-radius: 22px;
    }

    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        line-height: 1.12;
    }

    h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        line-height: 1.14;
    }

    h3 {
        font-size: 1rem;
    }

    .hero-content,
    .impact-box,
    .page-shell,
    .detail-shell,
    .contact-panel,
    .contact-form-shell {
        padding: 28px;
    }

    .nav-name img {
        height: 32px;
    }

    .hero-text {
        font-size: 1.05rem;
        margin-top: 18px;
    }

    .home-hero-panel {
        padding: 24px 18px;
        gap: 18px;
    }

    .hero-credentials {
        font-size: 0.92rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero-actions .btn,
    .cta-banner .btn,
    .cta-content .btn {
        width: 100%;
    }

    .hero-points {
        margin-top: 22px;
        gap: 8px;
    }

    .impact-ratio {
        margin: 22px 0 10px;
    }

    .impact-title {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
        margin: 20px 0 12px;
    }

    .impact-number {
        font-size: clamp(3.2rem, 18vw, 4.6rem);
    }

    .impact-label,
    .project-category,
    .project-date,
    .project-client,
    .project-stat,
    .stat-label,
    .card-link-meta,
    .detail-chip-label {
        font-size: 0.78rem;
    }

    .content-text,
    .about-text p,
    .service-description,
    .faq-answer,
    .project-content p,
    .pricing-info p,
    .page-lede,
    .detail-body p,
    .detail-body li,
    .contact-copy,
    .founder-prose p,
    .founder-standfirst {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .founder-title {
        max-width: 11ch;
        font-size: clamp(2rem, 8.5vw, 3.2rem);
    }

    .founder-prose {
        padding: 24px;
        border-radius: 24px;
    }

    .founder-pullquote {
        padding-left: 18px;
    }

    .founder-pullquote p,
    .founder-lead {
        font-size: 1.08rem;
        line-height: 1.72;
    }

    .benefit-card,
    .fit-card,
    .proof-card,
    .pricing-box,
    .contact-methods,
    .service-item,
    .card-link,
    .contact-panel,
    .contact-form-shell,
    .project-summary {
        padding: 22px;
    }

    .page-shell,
    .detail-shell,
    .contact-panel,
    .contact-form-shell,
    .cta-banner {
        padding: 26px;
    }

    .section-label,
    .hero-label,
    .eyebrow {
        margin-bottom: 14px;
    }

    .section-header {
        gap: 12px;
        margin-bottom: 22px;
    }

    .section-stats {
        width: 100%;
    }

    .metric-pill,
    .detail-chip {
        font-size: 0.8rem;
        padding: 8px 11px;
    }

    .project-summary {
        gap: 14px;
    }

    .project-header {
        flex-direction: column;
        gap: 10px;
    }

    .tab-labels {
        padding: 4px;
        gap: 4px;
    }

    .tab-labels {
        display: flex;
        width: 100%;
    }

    .tab-labels label {
        flex: 1;
        text-align: center;
    }

    footer {
        margin-bottom: 34px;
    }
}

@media (max-width: 560px) {
    nav {
        padding: 10px 12px 10px 14px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .nav-menu {
        top: calc(62px + env(safe-area-inset-top, 0px));
        right: var(--page-gutter);
        left: var(--page-gutter);
        width: auto;
        border-radius: 22px;
    }

    section {
        padding: 60px 0;
    }

    body > section#top:first-of-type {
        padding-top: 112px !important;
    }

    .hero-content,
    .impact-box,
    .benefit-card,
    .fit-card,
    .proof-card,
    .pricing-box,
    .contact-methods,
    .service-item,
    .project-summary,
    .page-shell,
    .card-link,
    .detail-shell,
    .contact-panel,
    .contact-form-shell,
    .cta-banner {
        border-radius: 20px;
    }

    .hero-content,
    .impact-box,
    .page-shell,
    .detail-shell,
    .contact-panel,
    .contact-form-shell,
    .cta-banner {
        padding: 22px;
    }

    .benefit-card,
    .fit-card,
    .proof-card,
    .pricing-box,
    .contact-methods,
    .service-item,
    .card-link,
    .project-summary {
        padding: 20px;
    }

    .founder-prose {
        padding: 20px;
        border-radius: 22px;
    }

    .founder-note-card {
        padding: 18px;
        border-radius: 20px;
    }

    .founder-meta-strip {
        gap: 8px;
    }

    h1 {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }

    h2 {
        font-size: clamp(1.2rem, 7vw, 1.6rem);
    }

    .hero-actions {
        margin-top: 24px;
    }

    .btn {
        min-height: 46px;
        padding: 11px 16px;
        font-size: 0.92rem;
    }

    .video-frame {
        border-radius: 22px;
    }

    .proof-card strong {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 14px;
        border-radius: 14px;
    }

    footer {
        margin-top: 18px;
        margin-bottom: 26px;
        font-size: 0.88rem;
    }
}

@media (min-width: 981px) and (max-width: 1200px) {
    nav {
        padding: 10px 14px 10px 16px;
        gap: 12px;
    }

    .nav-name img {
        height: 34px;
    }

    .nav-menu {
        gap: 4px;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 10px 11px;
    }

    .hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    }

    .home-fit-grid,
    .home-pilot-fit-grid,
    .home-proof-grid,
    .home-lane-grid,
    .balanced-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-workflow-shell,
    .home-pilot-layout,
    .content-duo,
    .demo-spotlight,
    .home-proof-band {
        grid-template-columns: 1fr;
    }

    .home-workflow-grid,
    .home-pilot-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-pilot-aside {
        position: static;
    }

    .card-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-current-build-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1201px) {
    :root {
        --content-width: 1380px;
    }

    nav {
        padding: 12px 18px 12px 22px;
    }

    .nav-name img {
        height: 42px;
    }

    .nav-menu a {
        font-size: 0.98rem;
        padding: 12px 16px;
    }

    .hero {
        grid-template-columns: minmax(0, 1.92fr) minmax(300px, 0.72fr);
        align-items: stretch;
    }

    .hero-content {
        padding: clamp(36px, 4vw, 62px);
    }

    .hero-content h1 {
        max-width: 16ch;
        font-size: clamp(2rem, 2.8vw, 3rem);
    }

    .impact-box {
        min-height: 0;
        padding: 34px;
    }
}

@media (max-height: 760px) and (min-width: 721px) {
    nav {
        position: static;
        margin-top: 14px;
    }

    body > section#top:first-of-type {
        padding-top: clamp(72px, 10vw, 108px) !important;
    }

    .hero {
        padding-top: 28px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .benefit-card:hover,
    .fit-card:hover,
    .proof-card:hover,
    .pricing-box:hover,
    .card-link:hover,
    .project-summary:hover {
        transform: none;
        box-shadow: var(--shadow-card);
    }

    .btn:hover,
    .nav-menu a:hover {
        transform: none;
    }
}

/* ── Dark mode ──────────────────────────────────────────────────────────────
   Applied via html.dark-mode, set by the inline script at the top of each
   page's <head> before first paint — no flash.
   Palette: pure black surfaces, white-tinted text, accent stays blue.       */

html.dark-mode {
    --ink-strong: #e8eaf0;
    --ink: #c8d0e0;
    --ink-soft: #8a96b0;
    --surface: #000000;
    --surface-alt: #0a0a0a;
    --surface-card: rgba(12, 12, 14, 0.92);
    --surface-card-strong: rgba(16, 16, 18, 0.97);
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --accent: #5b8ef0;
    --accent-soft: rgba(91, 142, 240, 0.16);
    --accent-mid: #7a9fd8;
    --shadow-card: none;
    --shadow-soft: none;
    --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.7);
    --highlight-soft: rgba(244, 63, 140, 0.14);
}

html.dark-mode body {
    background: #000000;
    color: var(--ink);
}

html.dark-mode body::before,
html.dark-mode body::after {
    display: none;
}

/* Nav */
html.dark-mode nav {
    background: rgba(10, 10, 12, 0.88);
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-mode .nav-menu a {
    color: var(--ink-soft);
}

html.dark-mode .nav-menu a:hover,
html.dark-mode .nav-menu a[aria-current="page"] {
    background: rgba(91, 142, 240, 0.1);
    color: var(--ink-strong);
}

html.dark-mode .nav-toggle {
    background: rgba(16, 16, 18, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
}

html.dark-mode .hamburger-line {
    background: var(--ink);
}

/* Cards and panels */
html.dark-mode .hero-content,
html.dark-mode .impact-box,
html.dark-mode .benefit-card,
html.dark-mode .fit-card,
html.dark-mode .proof-card,
html.dark-mode .pricing-box,
html.dark-mode .contact-methods,
html.dark-mode .service-item,
html.dark-mode .project-summary,
html.dark-mode .page-shell,
html.dark-mode .card-link,
html.dark-mode .detail-shell,
html.dark-mode .cta-banner,
html.dark-mode .contact-panel,
html.dark-mode .contact-form-shell {
    background: var(--surface-card);
    border-color: var(--line);
    backdrop-filter: none;
}

/* Buttons */
html.dark-mode .btn {
    background: rgba(20, 20, 24, 0.9);
    border-color: var(--line);
    color: var(--ink);
}

html.dark-mode .btn:hover {
    background: rgba(91, 142, 240, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--ink-strong);
}

html.dark-mode .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

html.dark-mode .btn-primary:hover {
    background: #4a7de0;
    border-color: #4a7de0;
    color: #ffffff;
}

html.dark-mode .btn-secondary {
    background: rgba(20, 20, 24, 0.9);
    border-color: var(--line);
    color: var(--ink);
}

html.dark-mode .cookie-button-accept {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* Forms */
html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
    background: rgba(10, 10, 12, 0.9);
    border-color: var(--line);
    color: var(--ink-strong);
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: var(--ink-soft);
}

html.dark-mode input:focus,
html.dark-mode textarea:focus,
html.dark-mode select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(91, 142, 240, 0.18);
}

html.dark-mode .form-group label {
    color: var(--ink-soft);
}

/* Footer */
html.dark-mode footer {
    background: #000000;
    color: var(--ink-soft);
    border-top-color: rgba(255, 255, 255, 0.06);
}

html.dark-mode footer a {
    color: var(--ink);
}

html.dark-mode footer a:hover {
    color: var(--ink-strong);
}

/* Section backgrounds using surface vars */
html.dark-mode .section-proof,
html.dark-mode .cta-section {
    background: transparent;
}

/* Cookie banner */
html.dark-mode .cookie-banner {
    background: rgba(10, 10, 14, 0.96);
    border-color: var(--line);
    color: var(--ink);
}

html.dark-mode .cookie-button-decline {
    background: rgba(20, 20, 24, 0.9);
    border-color: var(--line);
    color: var(--ink);
}

/* FAQ accordion --------------------------------------------------------- */
.faq-list {
    display: grid;
    gap: 12px;
    max-width: 72ch;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(24, 52, 132, 0.1);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(18, 41, 111, 0.04);
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: 0 10px 28px rgba(18, 41, 111, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink-strong);
    cursor: pointer;
    list-style: none;
    text-wrap: balance;
}

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

.faq-question::after {
    content: "+";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(47, 107, 255, 0.08);
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: "−";
    background: var(--accent);
    color: #ffffff;
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.faq-answer {
    padding: 0 20px 18px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
}

.faq-answer + .faq-answer {
    padding-top: 4px;
}

@media (max-width: 720px) {
    .faq-question {
        padding: 14px 16px;
        font-size: 0.98rem;
    }
    .faq-answer {
        padding: 0 16px 14px;
        font-size: 0.95rem;
    }
    .faq-item {
        border-radius: 16px;
    }
}

html.dark-mode .faq-item {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: none;
}

html.dark-mode .faq-question {
    color: var(--ink-strong);
}

html.dark-mode .faq-question::after {
    background: rgba(126, 171, 255, 0.14);
}

/* ---------------------------------------------------------------------------
   Brand-gradient system (2026-06)
   Applies the blue→indigo→violet→pink gradient as a consistent visual thread
   across the whole site. Four uses: section labels, funnel step numbers,
   h1 gradient text, and a soft body background wash.
   --------------------------------------------------------------------------- */

/* A. Section labels / eyebrows + card kickers — gradient border on all pill badges */
.hero-label,
.section-label,
.eyebrow,
.card-link-kicker {
    border: 1.5px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.hero-label::before,
.section-label::before,
.eyebrow::before,
.card-link-kicker::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    background: var(--brand-gradient);
    z-index: -1;
}

/* Section h2 headings: ink-strong by default, accent the lead word with gradient
   on inner pages by using a span.gradient-word inside the h2 */
.section-header h2 {
    color: var(--ink-strong);
    font-weight: 700;
}

/* Any h2 with class gradient-h2 gets the full gradient */
.gradient-h2 {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* B. Funnel step numbers — gradient fill instead of flat accent. */
.home-funnel-number {
    background: var(--brand-gradient);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.22);
}

/* C. H1 gradient text — first run of text in an h1 gets the gradient.
      Applies only where the .gradient-h1 class is added to the h1. */
.gradient-h1 {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* D. Body background — default is clean white. On the homepage the body
      gets .page-dark-hero which makes the top dark (the hero area), then
      transitions to white for all the content below. */
body {
    background: #ffffff;
}

body.page-dark-hero {
    background: #07122b;
}

/* Below-fold content on homepage sits on white, with a fade-in from dark */
.page-body {
    background: #ffffff;
    position: relative;
}

.page-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, #ffffff, transparent);
    pointer-events: none;
    z-index: 1;
}

/* ---------------------------------------------------------------------------
   Homepage clear-wins enhancements (2026-06)
   1. Deliberate brand-gradient accent on the homepage hero
   2. Subtle scroll-reveal motion (honours the prefers-reduced-motion block
      defined near the top of this file — no extra guard needed)
   --------------------------------------------------------------------------- */

/* 1. Signature gradient: hero label gets a gradient underscore, the primary
      hero CTA carries the brand gradient instead of a flat accent. */
.home-hero-copy .hero-label {
    position: relative;
    background: rgba(255, 255, 255, 0.62);
    color: var(--brand-violet);
}

.home-hero-copy .hero-label::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-gradient);
}

.home-hero-copy .hero-actions .btn-primary {
    background: var(--brand-gradient);
    background-size: 160% 100%;
    background-position: 0% 50%;
    border-color: transparent;
    transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.22);
}

.home-hero-copy .hero-actions .btn-primary:hover {
    background: var(--brand-gradient);
    background-size: 160% 100%;
    background-position: 100% 50%;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3);
}

/* 2. Scroll reveal: elements start lifted + faded, settle when .is-visible
      is added by the IntersectionObserver in js/navigation.js. */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 3. Inner-page width cap — sections go to 1240px which is too wide for
      text-heavy content. Cap page-shell, contact, and single-panel wrappers
      to a readable max-width, centred within the section. */
.single-panel-layout {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-shell {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Eyebrow overflow fix — pill label clips on narrow viewports. */
@media (max-width: 480px) {
    .hero-label,
    .section-label,
    .eyebrow {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }
}

/* 4. H1 size at 1024px — the tablet/small-laptop hero was too dominant. */
@media (min-width: 721px) and (max-width: 1040px) {
    .home-hero-panel h1 {
        font-size: clamp(1.9rem, 5.5vw, 2.8rem);
    }
}

/* ---------------------------------------------------------------------------
   Global reading-width cap (2026-06)
   Sections go to 1240px which is fine for layouts. But any section that is
   single-column text needs a tighter cap. Rather than adding inline styles
   everywhere, cap the section content-width token at a readable size for
   known text-heavy pages, and add a utility class for any direct override.
   --------------------------------------------------------------------------- */

.reading-width {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ---------------------------------------------------------------------------
   Dark hero section (2026-06)
   The hero gets a deep navy background so the page has a strong visual anchor.
   White/light text, gradient accent on label. Media cards adapt to look
   slightly elevated against the dark background.
   --------------------------------------------------------------------------- */

/* Full-bleed dark band wrapping hero + numbers. The section inside is
   width-constrained but this wrapper is 100vw, giving true full-bleed dark. */
.dark-band {
    background:
        radial-gradient(ellipse 80% 60% at 75% 15%, rgba(124,58,237,0.22) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 90% 70%, rgba(244,63,140,0.14) 0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 10% 80%, rgba(47,107,255,0.1) 0%, transparent 60%),
        #07122b;
    padding-bottom: clamp(40px, 6vw, 80px);
    position: relative;
}

/* Soft fade at the bottom of the dark band into white */
.dark-band::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

.home-hero-dark {
    background: transparent;
}

.home-hero-section {
    border-radius: 0;
    position: relative;
}

/* Make the hero panel transparent on dark pages — the card is normally
   white but on the dark hero we want text to sit directly on the navy bg */
.page-dark-hero .home-hero-panel {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* H1 — white on dark, no gradient (gradient doesn't read on dark) */
.page-dark-hero .home-hero-copy h1 {
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* Body text */
.page-dark-hero .hero-text {
    color: rgba(255, 255, 255, 0.72);
}

/* Hero label on dark — lighter pill with gradient text */
.hero-label-dark {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-label-dark::before {
    display: none !important;
}

/* Credentials line */
.page-dark-hero .hero-credentials-dark {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Hero CTAs on dark background */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
    background: #ffffff;
    color: #07122b;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    opacity: 0.95;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.17);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Video/dashboard cards on dark — elevate with light border */
.page-dark-hero .home-hero-video-card,
.page-dark-hero .home-hero-dashboard-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.page-dark-hero .home-hero-video-meta {
    color: rgba(255, 255, 255, 0.85);
}

.page-dark-hero .home-hero-video-kicker {
    color: rgba(255, 255, 255, 0.55);
}

.page-dark-hero .home-hero-video-caption span {
    color: rgba(255, 255, 255, 0.5);
}

.page-dark-hero .home-hero-video-caption a {
    color: rgba(255, 255, 255, 0.65);
}

/* Funnel strip on dark */
.page-dark-hero .home-funnel-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
}

.page-dark-hero .home-funnel-chip {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.page-dark-hero .home-funnel-chip strong {
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-dark-hero .home-funnel-chip p {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Dark nav — homepage (dark-hero) and all inner pages (page-inner).
   Solid dark background so the nav always reads as dark regardless
   of whether there's a dark inner-hero behind it. */
.page-dark-hero nav,
.page-inner nav {
    background: rgba(7, 18, 43, 0.88);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.page-dark-hero nav .nav-menu a,
.page-inner nav .nav-menu a {
    color: rgba(255, 255, 255, 0.7);
}

.page-dark-hero nav .nav-menu a:hover,
.page-dark-hero nav .nav-menu a[aria-current="page"],
.page-inner nav .nav-menu a:hover,
.page-inner nav .nav-menu a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-dark-hero .nav-login,
.page-inner .nav-login {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Inner pages: dark navy body — nav floats seamlessly over the dark inner-hero
   just like the homepage dark-band. Sections below inner-hero are white full-bleed. */
.page-inner {
    background: #07122b !important;
}

/* All content sections after the inner-hero are white and full-width */
.page-inner section:not(.inner-hero),
.page-inner footer {
    background: #ffffff;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    box-sizing: border-box;
}

/* main is transparent so inner-hero inside it can show its own dark background */
.page-inner main {
    background: transparent;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Homepage: footer is full-width, fades from dark to white at the top */
.page-dark-hero footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-top: 0;
    background: linear-gradient(to bottom, #07122b 0px, #ffffff 100px);
    color: var(--ink-soft);
    border-top: none;
}

.page-dark-hero .footer-cta-zone,
.page-dark-hero footer > p,
.page-dark-hero footer > .footer-social,
.page-dark-hero footer > .footer-rule {
    max-width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin-left: auto;
    margin-right: auto;
}

.page-dark-hero footer a {
    color: var(--ink-soft);
}

.page-dark-hero footer .footer-cta-heading {
    color: var(--ink-strong);
}

.page-dark-hero footer .btn-secondary {
    color: var(--ink) !important;
    border-color: var(--line-strong) !important;
    background: transparent !important;
}

.page-dark-hero footer .footer-cta-zone {
    background: transparent;
    padding-top: 80px;
}

.page-dark-hero footer .footer-rule {
    background: rgba(24,52,132,0.1);
}

/* ---------------------------------------------------------------------------
   Nav upgrade (2026-06)
   Adds backdrop blur, a distinct Login link style, and a "Get started" pill
   CTA on the right side of the nav.
   --------------------------------------------------------------------------- */

nav {
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    background: rgba(255, 255, 255, 0.84);
}

.nav-login {
    margin-left: 4px;
    color: var(--ink-soft) !important;
}

.nav-cta-pill {
    margin-left: 6px;
    padding: 9px 18px !important;
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
}

.nav-cta-pill:hover,
.nav-cta-pill:focus-visible {
    background: var(--brand-gradient) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3) !important;
    opacity: 0.92;
    color: #ffffff !important;
}

/* ---------------------------------------------------------------------------
   Homepage proof numbers strip (2026-06)
   Three large typographic stats between hero and proof cards.
   The big numbers carry the brand gradient; each stat has a unit and a note.
   --------------------------------------------------------------------------- */

.home-numbers-section {
    padding: 0 0 var(--section-space);
}

.home-numbers-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 48px 40px;
    box-shadow: none;
}

.home-number-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 0 20px;
}

.home-number-stat {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, #2F6BFF 0%, #7C3AED 50%, #F43F8C 100%);
    background-size: 300% 100%;
    background-attachment: fixed;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.home-number-unit {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink-strong);
    letter-spacing: -0.02em;
    margin-top: 4px;
}

.home-number-desc {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.45;
    max-width: 18ch;
    margin: 0 auto;
}

.home-number-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(24,52,132,0.15), transparent);
    flex-shrink: 0;
    border-radius: 1px;
}

@media (max-width: 720px) {
    .home-numbers-strip {
        flex-direction: column;
        padding: 28px 24px;
        gap: 24px;
    }

    .home-number-divider {
        width: 64px;
        height: 1px;
    }

    .home-number-item {
        padding: 0;
    }

    .home-number-desc {
        max-width: 24ch;
    }
}

/* ---------------------------------------------------------------------------
   Footer CTA zone (2026-06)
   Converts the footer top into a second conversion point.
   --------------------------------------------------------------------------- */

.footer-cta-zone {
    text-align: center;
    padding: 48px 24px 40px;
}

.footer-cta-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: var(--ink-strong);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer-cta-sub {
    font-size: 1rem;
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-cta-btn {
    min-width: 160px;
}

.footer-cta-actions .btn-primary {
    background: var(--brand-gradient);
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.22);
}

.footer-rule {
    height: 1px;
    background: rgba(24, 52, 132, 0.08);
    margin: 0 0 24px;
}

@media (max-width: 480px) {
    .footer-cta-zone {
        padding: 36px 16px 28px;
    }

    .footer-cta-btn {
        width: 100%;
        min-width: unset;
    }
}
/* ---------------------------------------------------------------------------
   Dark band overrides — numbers strip is inside .dark-band, needs white text
   --------------------------------------------------------------------------- */

/* Stat numbers: full brand gradient on dark background — bold and colourful */
/* Each stat gets a different slice of the brand gradient — together they read blue→violet→pink */
.dark-band .home-number-item:nth-child(1) .home-number-stat {
    background: linear-gradient(90deg, #2F6BFF 0%, #5A4FCF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dark-band .home-number-item:nth-child(3) .home-number-stat {
    background: linear-gradient(90deg, #5A4FCF 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dark-band .home-number-item:nth-child(5) .home-number-stat {
    background: linear-gradient(90deg, #7C3AED 0%, #F43F8C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark-band .home-number-unit {
    color: rgba(255, 255, 255, 0.88);
}

.dark-band .home-number-desc {
    color: rgba(255, 255, 255, 0.48);
}

.dark-band .home-number-divider {
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}

/* ---------------------------------------------------------------------------
   Inner-page hero band (About, Services, etc.)
   Gives inner pages a consistent, sharp header treatment — dark navy bar,
   short, full-bleed, white text — without needing the body gradient approach.
   --------------------------------------------------------------------------- */
.inner-hero {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(ellipse 80% 60% at 75% 15%, rgba(124,58,237,0.22) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 90% 70%, rgba(244,63,140,0.14) 0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 10% 80%, rgba(47,107,255,0.1) 0%, transparent 60%),
        #07122b;
    padding: clamp(100px, 14vw, 160px) var(--page-gutter) clamp(80px, 12vw, 140px);
    text-align: center;
    box-sizing: border-box;
    position: relative;
}

.inner-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

/* page-shell is normally a white card — make it transparent inside inner-hero, centred */
.inner-hero .page-shell {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    max-width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.inner-hero .eyebrow {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.07);
    border-color: transparent;
    margin-bottom: 20px;
}

.inner-hero .eyebrow::before {
    background: linear-gradient(90deg, rgba(47,107,255,0.6), rgba(244,63,140,0.6));
}

.inner-hero h1 {
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    font-size: clamp(2.4rem, 4.8vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    max-width: 820px;
    margin: 0 auto 20px;
}

.inner-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ---------------------------------------------------------------------------
   Homepage gradient accents — use the brand gradient boldly on proof cards
   and section headings rather than just numbers.
   --------------------------------------------------------------------------- */

/* Proof card headings: gradient instead of flat accent blue */
.section-proof .proof-card strong {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 1.25rem;
}

/* Numbers section: sits inside dark-band, tighter vertical padding */
.home-numbers-section {
    padding-top: clamp(20px, 3vw, 40px);
    padding-bottom: clamp(20px, 3vw, 40px);
}

/* On dark band, funnel number circles stay as circles — just brighter border glow */
.dark-band .home-funnel-number {
    background: var(--brand-gradient);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
    color: #ffffff;
}

/* Funnel chips on dark band: more visible */
.dark-band .home-funnel-chip {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.dark-band .home-funnel-chip strong {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1rem;
}

.dark-band .home-funnel-chip p {
    color: rgba(255, 255, 255, 0.52) !important;
}

/* ===========================================================================
   HOMEPAGE REDESIGN — startup-grade polish (2026-06)
   Overrides all previous hero, numbers, funnel, and proof-card rules.
   Order: hero → numbers → funnel chips → proof cards → buttons → mobile.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. HERO H1 — dominant, bold, white, tight leading
   --------------------------------------------------------------------------- */
.page-dark-hero .home-hero-copy h1,
.home-hero-section .home-hero-copy h1,
.home-hero-panel .home-hero-copy h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.4rem) !important;
    font-weight: 800;
    line-height: 1.1 !important;
    letter-spacing: -0.05em;
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    max-width: 14ch !important;
    margin: 0;
    text-wrap: balance;
}

/* ---------------------------------------------------------------------------
   2. HERO BODY TEXT — readable at 1.15rem, muted white
   --------------------------------------------------------------------------- */
.page-dark-hero .home-hero-copy .hero-text,
.home-hero-section .home-hero-copy .hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    max-width: 40ch;
    margin: 0;
}

/* ---------------------------------------------------------------------------
   3. HERO CREDENTIALS LINE
   --------------------------------------------------------------------------- */
.page-dark-hero .home-hero-copy .hero-credentials,
.page-dark-hero .home-hero-copy .hero-credentials-dark {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   4. HERO LABEL (eyebrow pill) — gradient border, frosted background
   --------------------------------------------------------------------------- */
.hero-label-dark {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    /* Gradient border via background-clip trick */
    background: rgba(7, 18, 43, 0.6) !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

/* Gradient border ring using pseudo-element */
.hero-label-dark::before {
    display: block !important;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 1.5px;
    background: linear-gradient(90deg, #2F6BFF 0%, #5A4FCF 35%, #7C3AED 65%, #F43F8C 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

/* Kill the bottom-bar afterthought from the earlier override */
.home-hero-copy .hero-label::after {
    display: none !important;
}

/* ---------------------------------------------------------------------------
   5. HERO — centred single-column layout
   --------------------------------------------------------------------------- */
.home-hero-centre {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: clamp(56px, 8vw, 100px) var(--page-gutter) clamp(40px, 6vw, 72px);
    max-width: min(calc(100% - var(--page-gutter) * 2), 860px);
    margin: 0 auto;
}

.home-hero-centre h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.4rem) !important;
    font-weight: 800;
    line-height: 1.08 !important;
    letter-spacing: -0.04em;
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    margin: 0;
    max-width: none !important;
}

.home-hero-centre .hero-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.65;
    max-width: 54ch;
    margin: 0;
}

.home-hero-centre .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.home-hero-centre .hero-credentials,
.home-hero-centre .hero-credentials-dark {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.38);
    margin: 0;
}

/* Featured video below the copy — full-width card with rounded corners */
.home-hero-video-feature {
    width: 100%;
    max-width: 760px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
    margin-top: 8px;
}

.home-hero-video-feature .video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.home-hero-video-feature .video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Funnel chips row below the video */
.home-funnel-strip {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.home-hero-copy {
    gap: 24px !important;
}

/* ---------------------------------------------------------------------------
   6. CTA BUTTONS — primary: full brand gradient; secondary: white outline
   --------------------------------------------------------------------------- */
.btn-hero-primary {
    background: linear-gradient(90deg, #2F6BFF 0%, #5A4FCF 35%, #7C3AED 65%, #F43F8C 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-hero-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 36px rgba(124, 58, 237, 0.45) !important;
    opacity: 1 !important;
}

.btn-hero-secondary {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.88) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    padding: 15px 28px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease !important;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* ---------------------------------------------------------------------------
   7. NUMBERS STRIP — enormous gradient stats dominating the dark band
   --------------------------------------------------------------------------- */
.home-numbers-strip {
    padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px) !important;
}

.home-number-stat {
    font-size: clamp(4.5rem, 10vw, 7rem) !important;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.95;
}

/* In dark-band context, numbers are gradient and enormous */
.dark-band .home-number-stat {
    font-size: clamp(4.5rem, 10vw, 7rem) !important;
}

.dark-band .home-number-unit {
    font-size: 1.1rem !important;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 6px;
}

.dark-band .home-number-desc {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
    max-width: 20ch;
}

/* ---------------------------------------------------------------------------
   8. FUNNEL CHIPS — more visible on dark: brighter border, readable text
   --------------------------------------------------------------------------- */
.home-funnel-strip {
    width: min(100%, 1000px) !important;
}

.home-funnel-chip,
.page-dark-hero .home-funnel-chip,
.dark-band .home-funnel-chip {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px !important;
    padding: 24px 26px !important;
    gap: 10px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.home-funnel-chip:hover,
.dark-band .home-funnel-chip:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    transform: translateY(-2px) !important;
}

/* Gradient number circles */
.home-funnel-number {
    background: linear-gradient(135deg, #2F6BFF 0%, #7C3AED 60%, #F43F8C 100%) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4) !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
}

.home-funnel-chip strong,
.dark-band .home-funnel-chip strong,
.page-dark-hero .home-funnel-chip strong {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.02rem !important;
    font-weight: 700;
}

.home-funnel-chip p,
.dark-band .home-funnel-chip p,
.page-dark-hero .home-funnel-chip p {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   9. PROOF CARDS — visible borders, elevation shadow, gradient headings
   --------------------------------------------------------------------------- */
.section-proof .proof-card,
.proof-card {
    border: 1px solid rgba(47, 107, 255, 0.15) !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 20px rgba(18, 41, 111, 0.08), 0 1px 4px rgba(18, 41, 111, 0.06) !important;
    padding: 28px 28px !important;
    background: #ffffff !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

.section-proof .proof-card:hover,
.proof-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(18, 41, 111, 0.13), 0 2px 8px rgba(18, 41, 111, 0.08) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
}

.section-proof .proof-card strong,
.proof-card strong {
    display: block;
    margin-bottom: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem !important;
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(90deg, #2F6BFF 0%, #5A4FCF 35%, #7C3AED 65%, #F43F8C 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.fit-card-featured {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.9)),
        linear-gradient(135deg, rgba(47, 107, 255, 0.14), rgba(244, 63, 140, 0.09)) !important;
    border-color: rgba(47, 107, 255, 0.2) !important;
}

/* ---------------------------------------------------------------------------
   10a. TABLET H1 override — the earlier 721–1040px block shrinks h1 too aggressively
   --------------------------------------------------------------------------- */
@media (min-width: 721px) and (max-width: 1040px) {
    .home-hero-panel .home-hero-copy h1,
    .page-dark-hero .home-hero-copy h1 {
        font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    }
}

/* ---------------------------------------------------------------------------
   10. MOBILE — keep things readable and well-spaced below 720px
   --------------------------------------------------------------------------- */
@media (max-width: 720px) {
    .page-dark-hero .home-hero-copy h1,
    .home-hero-section .home-hero-copy h1 {
        max-width: none;
        font-size: clamp(2.4rem, 9vw, 3.2rem);
    }

    .page-dark-hero .home-hero-copy .hero-text,
    .home-hero-section .home-hero-copy .hero-text {
        font-size: 1.05rem;
        max-width: none;
    }

    .dark-band .home-number-stat,
    .home-number-stat {
        font-size: clamp(3.8rem, 18vw, 5.5rem) !important;
    }

    .home-funnel-chip,
    .dark-band .home-funnel-chip,
    .page-dark-hero .home-funnel-chip {
        padding: 18px 20px !important;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-proof .proof-card,
    .proof-card {
        padding: 22px 20px !important;
    }
}


