/* GuideSora visual primitives. */
:root {
    --color-navy-950: #071b3f;
    --color-navy-900: #0b2454;
    --color-navy-800: #153765;
    --color-blue-600: #087df5;
    --color-blue-500: #168cff;
    --color-blue-400: #35a8ff;
    --color-cyan-400: #28c9f5;
    --color-bg: #ffffff;
    --color-bg-soft: #f7fbff;
    --color-bg-blue: #eef8ff;
    --color-surface: #ffffff;
    --color-surface-soft: #f9fcff;
    --color-text: #183251;
    --color-text-muted: #5b7189;
    --color-text-soft: #8798aa;
    --color-border: #dceaf7;
    --color-border-strong: #c7dff2;
    --color-success: #20b873;
    --color-warning: #f2b51d;
    --color-danger: #e75a67;

    /* Darker GuideSora blues keep white button labels readable. */
    --gradient-primary: linear-gradient(135deg, #076bd3, #075bbb);
    --gradient-soft-blue: linear-gradient(180deg, #f9fcff, #eef8ff);
    --gradient-hero: linear-gradient(135deg, #ffffff 30%, #f7fbff 70%, #eef8ff);

    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: clamp(1.75rem, 1.5rem + 1vw, 2rem);
    --text-4xl: clamp(2rem, 1.5rem + 2vw, 2.5rem);
    --text-5xl: clamp(2.5rem, 1.75rem + 3vw, 3.5rem);
    --text-hero: clamp(3rem, 1.75rem + 4vw, 5.25rem);
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    --container-max: 75rem;
    --container-padding: var(--space-8);
    --section-space-sm: clamp(2rem, 4vw, 3rem);
    --section-space-md: clamp(3rem, 6vw, 5rem);
    --section-space-lg: clamp(4rem, 8vw, 6rem);
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.125rem;
    --radius-xl: 1.5rem;
    --radius-pill: 999px;
    --shadow-sm: 0 3px 12px rgb(11 36 84 / 5%);
    --shadow-md: 0 10px 28px rgb(11 36 84 / 7%);
    --shadow-lg: 0 16px 40px rgb(11 36 84 / 9%);
    --transition-fast: 120ms ease;
    --transition-base: 180ms ease;
}

/* Global foundation */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

:focus-visible {
    outline: 3px solid var(--color-navy-800);
    outline-offset: 4px;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.section {
    padding-block: var(--section-space-md);
}

/* Typography primitives */
.eyebrow {
    margin: 0 0 var(--space-3);
    color: var(--color-navy-800);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 var(--space-4);
    color: var(--color-navy-950);
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.section-description {
    max-width: 65ch;
    margin: 0;
    color: var(--color-navy-800);
    font-size: var(--text-lg);
    line-height: 1.7;
}

/* Interactive primitives */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    max-width: 100%;
    padding: var(--space-3) var(--space-6);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font: inherit;
    font-weight: var(--weight-semibold);
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast), transform var(--transition-base);
}

.btn-primary {
    color: #ffffff;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    color: var(--color-navy-800);
    background: var(--color-surface);
    border-color: var(--color-border-strong);
}

@media (hover: hover) {
    .btn-primary:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
        border-color: var(--color-navy-800);
    }

    .btn-secondary:hover {
        background-color: var(--color-bg-blue);
        border-color: var(--color-blue-600);
    }
}

.card {
    padding: var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    color: var(--color-navy-800);
    background: var(--color-bg-blue);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: 0.04em;
}

.btn:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: none;
}

/* Production header. Navigation collapses below 1100px. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding-block: var(--space-3);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.brand {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    color: var(--color-navy-900);
    font-weight: var(--weight-bold);
    text-decoration: none;
}

.brand-name {
    font-size: 1.625rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.brand-accent {
    color: var(--color-blue-600);
}

.brand-tagline {
    margin-top: var(--space-1);
    font-size: 0.625rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
}

.navigation-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--color-navy-800);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-navy-950);
    text-decoration: underline;
    text-decoration-color: var(--color-blue-600);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.4em;
}

.nav-cta {
    white-space: nowrap;
    font-size: var(--text-sm);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: var(--space-2);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-navy-900);
    font: inherit;
    font-size: var(--text-xl);
    cursor: pointer;
}

.menu-toggle[hidden] {
    display: none;
}

@media (max-width: 68.75rem) {
    .site-nav {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .menu-toggle:not([hidden]) {
        display: inline-flex;
    }

    .navigation-menu {
        flex-direction: column;
        align-items: stretch;
        flex-basis: 100%;
        gap: var(--space-5);
        margin: 0;
        padding-block: var(--space-4) var(--space-2);
        border-top: 1px solid var(--color-border);
        max-height: calc(100dvh - 6rem);
        overflow-y: auto;
    }

    .site-nav.menu-ready .navigation-menu {
        display: none;
    }

    .site-nav.menu-ready.is-open .navigation-menu {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-1);
    }

    .nav-links a {
        padding-inline: var(--space-2);
    }
}

/* Homepage navbar: one shared indicator; legacy legal-page navigation is retained. */
.site-header--floating {
    top: var(--space-5);
    width: min(var(--container-max), calc(100% - 2 * var(--container-padding)));
    margin: var(--space-5) auto 0;
    padding-block: var(--space-1);
    border: 1px solid rgb(199 223 242 / 65%);
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, rgb(255 255 255 / 78%), rgb(244 249 255 / 74%));
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 85%), var(--shadow-md);
}
.site-header--floating > .container {
    width: 100%;
    padding-inline: var(--space-6);
}
.site-nav--interactive {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: var(--space-5);
    min-height: 2.75rem;
}

.site-nav--interactive .navigation-menu { display: contents; }
.site-nav--interactive .brand {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}
.nav-mark { width: auto; height: 2rem; flex-shrink: 0; }
.nav-logo { width: 9.5rem; height: auto; }
.nav-group {
    position: relative;
    border-radius: var(--radius-pill);
    background: var(--color-bg-soft);
    box-shadow: inset 0 0 0 1px var(--color-border);
}
.site-nav--interactive .nav-links { gap: var(--space-1); padding: var(--space-1); }
.site-nav--interactive .nav-links a {
    position: relative;
    z-index: 1;
    justify-content: center;
    padding-inline: var(--space-4);
    border-radius: var(--radius-pill);
}
.site-nav--interactive .nav-links a[aria-current] {
    font-weight: var(--weight-semibold);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.4em;
}
.nav-indicator {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    border-radius: var(--radius-pill);
    background: var(--color-bg-blue);
    box-shadow: inset 0 0 0 1px var(--color-border-strong);
    pointer-events: none;
    transition: transform 300ms cubic-bezier(0.22, 0.61, 0.36, 1), width 300ms ease;
}
.indicator-ready .nav-indicator { visibility: visible; }
.site-nav--interactive .nav-cta {
    justify-self: end;
    padding-block: var(--space-2);
    border-radius: 999px;
}

@media (max-width: 68.75rem) {
    .site-header--floating {
        top: var(--space-3);
        margin-top: var(--space-3);
        border-radius: var(--radius-xl);
    }
    .site-header--floating > .container { padding-inline: var(--space-4); }
    .site-nav--interactive .brand { gap: 0.25rem; }
    /* Compensate for transparent canvas padding; keep a ~4px artwork gap. */
    .nav-mark { height: 1.875rem; margin-inline-end: -0.34375rem; }
    .nav-logo { width: 8.25rem; }
    .site-nav--interactive { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--space-4); }
    .site-nav--interactive .menu-toggle {
        justify-self: end;
        align-self: center;
        width: 2.75rem;
        height: 3.125rem;
        padding: 0;
        border-color: transparent;
        background: transparent;
        line-height: 1;
    }
    .site-nav--interactive .menu-toggle:hover,
    .site-nav--interactive .menu-toggle[aria-expanded="true"] {
        background: transparent;
    }
    .site-nav--interactive .navigation-menu {
        display: flex;
        grid-column: 1 / -1;
        width: 100%;
    }
    .site-nav--interactive.menu-ready .navigation-menu {
        position: absolute;
        top: calc(100% + var(--space-5));
        left: 0;
        display: flex;
        max-height: 0;
        padding-inline: var(--space-4);
        padding-block: 0;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        background: var(--color-surface);
        box-shadow: var(--shadow-md);
        visibility: hidden;
        opacity: 0;
        overflow: hidden;
        transition: max-height 300ms ease, padding 300ms ease, opacity 200ms ease, visibility 300ms;
    }
    .site-nav--interactive.menu-ready.is-open .navigation-menu {
        max-height: calc(100dvh - 8rem);
        padding-block: var(--space-4);
        border-top-color: var(--color-border);
        visibility: visible;
        opacity: 1;
        overflow-y: auto;
    }
    .nav-group { border-radius: var(--radius-md); background: transparent; box-shadow: none; }
    .nav-indicator { display: none; }
    .site-nav--interactive .nav-links { padding: 0; }
    .site-nav--interactive .nav-links a { justify-content: flex-start; border-radius: var(--radius-md); }
    .site-nav--interactive .nav-links a[aria-current] { background: var(--color-bg-blue); }
    .site-nav--interactive .nav-cta { width: 100%; }
}

/* Offset only transparent logo canvas at tablet/desktop widths. */
@media (min-width: 48rem) {
    .site-nav--interactive .brand { gap: 0.25rem; }
    .nav-mark { margin-inline-end: -0.4375rem; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-indicator,
    .site-nav--interactive.menu-ready .navigation-menu { transition: none; }
}

/* Hero: owner-supplied artwork with a CSS-only academic atmosphere. */
#home { scroll-margin-top: 7rem; }
.hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(3rem, 5vw, 5rem) clamp(3rem, 6vw, 5.5rem);
    background: radial-gradient(ellipse at 24% 24%, rgb(225 242 255 / 56%), transparent 48%), radial-gradient(ellipse at 78% 46%, rgb(53 168 255 / 17%), transparent 55%), linear-gradient(160deg, #ffffff 20%, #f6fbff 75%, #eef8ff);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at -8% 35%, rgb(199 223 242 / 10%) 0 17%, transparent 17.2%), radial-gradient(circle at 96% 12%, rgb(199 223 242 / 15%) 0 19%, transparent 19.2%), radial-gradient(circle at 77% 73%, rgb(255 255 255 / 48%) 0 24%, transparent 24.2%), radial-gradient(circle at 94% 85%, rgb(199 223 242 / 13%) 0 21%, transparent 21.2%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 10rem;
    z-index: -1;
    background: linear-gradient(0deg, #ffffff, rgb(255 255 255 / 75%) 25%, transparent 100%), radial-gradient(ellipse at 72% 110%, rgb(255 255 255 / 85%) 0 28%, transparent 60%), radial-gradient(ellipse at 95% 95%, rgb(255 255 255 / 75%) 0 24%, transparent 65%);
    pointer-events: none;
}
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: var(--space-8);
}
.hero-content { position: relative; z-index: 1; min-width: 0; }
.hero-content .badge {
    gap: 0.25rem;
    min-height: 2.25rem;
    padding: 0.375rem var(--space-3);
    border: 1px solid rgb(8 125 245 / 24%);
    background: linear-gradient(180deg, #eaf6ff, #dcefff);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%), 0 3px 8px rgb(21 55 101 / 6%), 0 0 10px rgb(53 168 255 / 7%);
    color: #076bd3;
    font-size: 0.8125rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0.055em;
}
.hero-rocket { width: auto; height: 1.375rem; flex-shrink: 0; }
.hero-title {
    margin: var(--space-6) 0 var(--space-3);
    font-size: clamp(3rem, 6.25vw, 5.5rem);
    font-weight: var(--weight-extrabold);
    line-height: 1.05;
    letter-spacing: -0.045em;
}
.hero-brand-guide { color: var(--color-navy-950); }
.hero-brand-sora { color: var(--color-blue-600); }
.hero-tagline {
    margin: 0 0 var(--space-6);
    color: var(--color-navy-900);
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    font-weight: var(--weight-semibold);
    line-height: 1.3;
}
.hero-description { max-width: 46ch; margin: 0; font-size: var(--text-lg); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.hero-actions .btn {
    min-height: 3.375rem;
    padding: var(--space-3) var(--space-6);
    gap: var(--space-3);
    border-radius: var(--radius-md);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.hero-actions .btn-primary {
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 6px 16px rgb(7 91 187 / 18%), 0 0 20px rgb(53 168 255 / 12%);
}
.hero-actions .btn-secondary {
    border-color: rgb(8 125 245 / 60%);
    background: linear-gradient(180deg, #ffffff, #f4faff);
    box-shadow: inset 0 1px 0 #ffffff, 0 4px 12px rgb(21 55 101 / 5%), 0 0 16px rgb(53 168 255 / 8%);
}
.hero-cta-arrow { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.hero-actions .btn:focus-visible {
    outline: 3px solid #076bd3;
    outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
    .hero-actions .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 8px 20px rgb(7 91 187 / 23%), 0 0 24px rgb(53 168 255 / 16%);
    }
    .hero-actions .btn-secondary:hover {
        transform: translateY(-2px);
        border-color: #076bd3;
        box-shadow: inset 0 1px 0 #ffffff, 0 6px 14px rgb(21 55 101 / 8%), 0 0 18px rgb(53 168 255 / 10%);
    }
}
.hero-actions .btn:active {
    transform: translateY(1px);
    box-shadow: inset 0 1px 2px rgb(21 55 101 / 12%), 0 2px 6px rgb(7 91 187 / 10%);
}
@media (prefers-reduced-motion: reduce) {
    .hero-actions .btn { transition: none; }
    .hero-actions .btn:hover,
    .hero-actions .btn:active { transform: none; }
}
.hero-button-icon {
    width: 1.5rem;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 0 3px rgb(53 168 255 / 20%));
}
.hero-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin: var(--space-6) 0 0;
    padding: 0;
    list-style: none;
}
.hero-capability {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 2.5rem;
    padding: var(--space-2) var(--space-4);
    border: 1px solid rgb(8 125 245 / 18%);
    border-radius: var(--radius-pill);
    background: linear-gradient(160deg, #ffffff 10%, #f2f9ff 65%, #eaf5ff);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 95%), 0 4px 10px rgb(21 55 101 / 5%), 0 0 14px rgb(53 168 255 / 5%);
    color: var(--color-navy-800);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.hero-capability-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #076bd3;
}
@media (hover: hover) and (pointer: fine) {
    .hero-capability:hover {
        transform: translateY(-1px);
        border-color: rgb(8 125 245 / 30%);
        box-shadow: inset 0 1px 0 #ffffff, 0 5px 12px rgb(21 55 101 / 7%), 0 0 16px rgb(53 168 255 / 8%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-capability { transition: none; }
    .hero-capability:hover { transform: none; }
}
.hero-visual {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-width: 0;
    aspect-ratio: 1;
}
.hero-glow {
    position: absolute;
    inset: 7% 0;
    z-index: -1;
    border-radius: 48% 52% 60% 40%;
    background: radial-gradient(ellipse, rgb(53 168 255 / 22%), rgb(40 201 245 / 9%) 45%, rgb(238 248 255 / 40%) 60%, transparent 78%);
    pointer-events: none;
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 9% 2%;
    z-index: -1;
    border: 1px dotted rgb(8 125 245 / 18%);
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    pointer-events: none;
}
.hero-visual::after {
    content: "";
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    top: 8%;
    left: 45%;
    border-radius: 50%;
    background: rgb(53 168 255 / 45%);
    box-shadow: 0 0 8px rgb(53 168 255 / 12%), -9rem 9rem 0 -1px rgb(8 125 245 / 22%), 12rem 12rem 0 1px rgb(40 201 245 / 25%), 1rem 27rem 0 -1px rgb(8 125 245 / 18%);
    pointer-events: none;
}
.hero-mascot { width: 112%; max-width: calc(100% + 2rem); height: auto; position: relative; z-index: 1; }
.hero-floating-icon {
    position: absolute;
    width: 20%;
    height: auto;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 4px 6px rgb(21 55 101 / 8%)) drop-shadow(0 0 5px rgb(53 168 255 / 16%));
}
.hero-icon-idea { top: 4%; left: 2%; transform: rotate(-10deg); }
.hero-icon-document { top: 12%; right: 0; transform: rotate(10deg); }
.hero-icon-analytics { bottom: 6%; left: 0; transform: rotate(-8deg); }
.hero-icon-shield { bottom: 1%; right: 5%; transform: rotate(8deg); }
@media (min-width: 80rem) {
    .hero-mascot { width: 113%; max-width: calc(100% + 4.25rem); }
}
@media (max-width: 56rem) {
    .hero-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
    .hero-visual { width: min(100%, 36rem); margin-inline: auto; }
    .hero-title { font-size: clamp(3rem, 9vw, 5rem); }
}
@media (max-width: 40rem) {
    .hero { padding-block: var(--space-10) var(--space-8); }
    .hero::before { background: radial-gradient(circle at 100% 60%, rgb(199 223 242 / 8%) 0 20%, transparent 20.2%); }
    .hero::after { height: 5rem; }
    .hero-title { font-size: clamp(3rem, 12vw, 4rem); }
    .hero-description { font-size: var(--text-base); }
    .hero-actions { gap: var(--space-3); margin-top: var(--space-6); }
    .hero-actions .btn { width: 100%; }
    .hero-mascot { width: 100%; }
    .hero-visual::before { border-left-color: transparent; }
    .hero-visual::after { box-shadow: 0 0 6px rgb(53 168 255 / 10%), 6rem 7rem 0 -1px rgb(8 125 245 / 20%); }
}

/* What is GuideSora? Editorial explanation beside stacked values. */
.about-guidesora {
    background: radial-gradient(ellipse at 92% 55%, rgb(225 242 255 / 40%), transparent 55%), linear-gradient(180deg, #ffffff, #f9fcff);
    padding-bottom: calc(var(--section-space-md) + var(--space-4));
    scroll-margin-top: 7rem;
}
.about-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: var(--space-16); }
.about-content .eyebrow { display: flex; align-items: center; gap: var(--space-3); color: var(--color-navy-800); letter-spacing: 0.08em; }
.about-content .eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--color-blue-600); border-radius: var(--radius-pill); }
.about-content .section-title { max-width: 23ch; margin-bottom: var(--space-6); font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.about-content .section-description { max-width: 49ch; font-size: var(--text-base); line-height: 1.8; }
.about-content .section-description + .section-description { margin-top: var(--space-6); padding: var(--space-1) 0 var(--space-1) var(--space-4); border-left: 2px solid var(--color-border-strong); }
.about-principles { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.about-principle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: var(--space-5);
    padding: var(--space-5) var(--space-6);
    border: 1px solid rgb(8 125 245 / 16%);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #ffffff 35%, #f2f9ff);
    box-shadow: inset 0 1px 0 #ffffff, 0 6px 18px rgb(21 55 101 / 5%), 0 0 20px rgb(53 168 255 / 3%);
}
.about-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgb(8 125 245 / 18%); border-radius: var(--radius-md); background: linear-gradient(160deg, #f4faff, #e5f3ff); box-shadow: inset 0 1px 0 #ffffff, 0 0 12px rgb(53 168 255 / 7%); color: #076bd3; }
.about-principle h3 { margin: 0 0 var(--space-2); color: var(--color-navy-900); font-size: var(--text-lg); font-weight: var(--weight-semibold); line-height: 1.4; }
.about-principle p { max-width: 35ch; margin: 0; font-size: var(--text-sm); line-height: 1.7; }
@media (max-width: 64rem) { .about-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }
@media (max-width: 40rem) { .about-principle { padding: var(--space-4) var(--space-5); gap: var(--space-4); } .about-icon { width: 2.5rem; height: 2.5rem; } }

/* How It Works: connected journey cards, in DOM reading order. */
.how-it-works {
    background: radial-gradient(ellipse at 50% 48%, rgb(225 242 255 / 45%), transparent 65%), linear-gradient(180deg, #f9fcff, #f0f8ff 55%, #ffffff);
    scroll-margin-top: 7rem;
}

.how-it-works-header,
.features-header {
    max-width: 46rem;
    margin: 0 auto var(--space-12);
    text-align: center;
}

.how-it-works-header .section-title,
.features-header .section-title {
    text-wrap: balance;
}

.how-it-works-header .section-description,
.features-header .section-description {
    max-width: 58ch;
    margin-inline: auto;
}

.how-it-works .how-it-works-header {
    max-width: 42rem;
    margin-bottom: var(--space-8);
    text-align: center;
}
.how-it-works-header .eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    color: var(--color-navy-800);
    letter-spacing: 0.065em;
}
.how-it-works-header .eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--color-blue-600);
}
.how-it-works-header .section-title {
    max-width: 24ch;
    margin: 0 auto var(--space-5);
    font-weight: var(--weight-bold);
    line-height: 1.18;
    letter-spacing: -0.025em;
}
.workflow-heading-accent { color: var(--color-blue-600); }
.how-it-works-header .section-description {
    max-width: 52ch;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
    margin: 0;
    padding: 0;
    list-style: none;
}
.workflow-step {
    position: relative;
    min-width: 0;
    padding: var(--space-5) var(--space-6);
    border: 1px solid rgb(8 125 245 / 18%);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #ffffff, #f1f8ff);
    box-shadow: inset 0 1px 0 #ffffff, 0 6px 20px rgb(21 55 101 / 5%);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
/* Connect only adjacent cards within a row, outside their content. */
.workflow-step::after {
    content: "";
    position: absolute;
    top: 2.75rem;
    left: calc(100% + 1px);
    width: var(--space-8);
    border-top: 2px dotted rgb(8 125 245 / 35%);
    pointer-events: none;
}
.workflow-step::before {
    content: "";
    position: absolute;
    top: calc(2.75rem - 2px);
    left: calc(100% + var(--space-4) - 2px);
    width: 5px;
    height: 5px;
    border-top: 1px solid rgb(8 125 245 / 50%);
    border-right: 1px solid rgb(8 125 245 / 50%);
    transform: rotate(45deg);
    pointer-events: none;
}
.workflow-step:nth-child(3n)::before,
.workflow-step:nth-child(3n)::after { display: none; }
.workflow-step-meta { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.workflow-step-number {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border: 1px solid rgb(8 125 245 / 36%);
    border-radius: var(--radius-pill);
    background: linear-gradient(150deg, #ffffff, #e8f4ff);
    box-shadow: inset 0 1px 0 #ffffff, 0 0 12px rgb(53 168 255 / 9%);
    color: var(--color-navy-900);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    font-variant-numeric: tabular-nums;
}
.workflow-step-icon {
    box-sizing: content-box;
    padding: var(--space-2);
    border: 1px solid rgb(8 125 245 / 16%);
    border-radius: var(--radius-md);
    background: linear-gradient(155deg, #f3faff, #e4f2ff);
    box-shadow: inset 0 1px 0 #ffffff;
    color: #076bd3;
}
.workflow-step-title { margin: 0 0 var(--space-2); color: var(--color-navy-900); font-size: var(--text-xl); font-weight: var(--weight-semibold); line-height: 1.4; }
.workflow-step-description { max-width: 34ch; margin: 0; font-size: var(--text-base); line-height: 1.7; }
.workflow-step:nth-child(5) { border-color: rgb(8 125 245 / 29%); background: linear-gradient(145deg, #ffffff, #ebf5ff); }
@media (hover: hover) and (pointer: fine) {
    .workflow-step:hover { transform: translateY(-2px); border-color: rgb(8 125 245 / 35%); box-shadow: inset 0 1px 0 #ffffff, 0 9px 24px rgb(21 55 101 / 8%); }
}
@media (prefers-reduced-motion: reduce) {
    .workflow-step { transition: none; }
    .workflow-step:hover { transform: none; }
}
@media (max-width: 64rem) {
    .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .workflow-step:nth-child(3n)::before,
    .workflow-step:nth-child(3n)::after { display: block; }
    .workflow-step:nth-child(even)::before,
    .workflow-step:nth-child(even)::after { display: none; }
}
@media (max-width: 40rem) {
    .workflow { grid-template-columns: minmax(0, 1fr); }
    .workflow-step { padding: var(--space-4) var(--space-5); }
    .workflow-step:not(:last-child)::after {
        display: block;
        top: calc(100% + 1px);
        left: calc(var(--space-5) + 1.5rem);
        width: 0;
        height: var(--space-8);
        border-top: 0;
        border-left: 2px dotted rgb(8 125 245 / 35%);
    }
    .workflow-step::before,
    .workflow-step:nth-child(3n)::before,
    .workflow-step:last-child::after { display: none; }
}

/* Key Features: compact capability modules with a quiet blue accent. */
.features {
    background: radial-gradient(ellipse at 50% 55%, rgb(231 244 255 / 35%), transparent 70%), var(--color-bg);
    scroll-margin-top: 7rem;
    padding-bottom: calc(var(--section-space-md) + var(--space-3));
}
.features .features-header { max-width: 44rem; margin-bottom: var(--space-6); text-align: center; }
.features-header .eyebrow { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-bottom: var(--space-4); color: var(--color-navy-800); letter-spacing: 0.065em; }
.features-header .eyebrow::before { content: ""; width: 1.5rem; height: 2px; border-radius: var(--radius-pill); background: var(--color-blue-600); }
.features-header .section-title { max-width: 27ch; margin: 0 auto var(--space-5); line-height: 1.18; letter-spacing: -0.025em; }
.features-header .section-description { max-width: 54ch; color: var(--color-text-muted); line-height: 1.75; }
.features-header .badge {
    margin-top: var(--space-5);
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    border: 1px solid rgb(8 125 245 / 24%);
    background: linear-gradient(155deg, #f5fbff, #e5f3ff);
    box-shadow: inset 0 1px 0 #ffffff, 0 3px 10px rgb(21 55 101 / 4%), 0 0 12px rgb(53 168 255 / 6%);
    color: var(--color-navy-800);
    letter-spacing: 0.055em;
}
.features-badge-rocket { width: auto; height: 18px; flex-shrink: 0; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.feature-card {
    position: relative;
    min-width: 0;
    padding: var(--space-5) var(--space-8);
    border: 1px solid rgb(8 125 245 / 17%);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #ffffff 35%, #f3f9ff);
    box-shadow: inset 0 1px 0 #ffffff, 0 6px 20px rgb(21 55 101 / 5%), 0 0 24px rgb(53 168 255 / 3%);
    transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--space-8);
    width: 3rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, rgb(8 125 245 / 65%), rgb(53 168 255 / 24%));
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: var(--space-4);
    border: 1px solid rgb(8 125 245 / 20%);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, #f4faff, #e4f2ff);
    box-shadow: inset 0 1px 0 #ffffff, 0 3px 10px rgb(21 55 101 / 4%), 0 0 14px rgb(53 168 255 / 6%);
    color: #076bd3;
}
.feature-title { margin: 0 0 var(--space-2); color: var(--color-navy-900); font-size: var(--text-xl); font-weight: var(--weight-semibold); line-height: 1.4; }
.feature-description { max-width: 46ch; margin: 0; font-size: var(--text-base); line-height: 1.7; }
.feature-card:nth-child(4) { border-color: rgb(8 125 245 / 28%); background: linear-gradient(145deg, #ffffff 35%, #edf6ff); }
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover { border-color: rgb(8 125 245 / 34%); box-shadow: inset 0 1px 0 #ffffff, 0 9px 24px rgb(21 55 101 / 8%); transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
    .feature-card { transition: none; }
    .feature-card:hover { transform: none; }
}
@media (max-width: 40rem) {
    /* Preserve the existing journey header rule independently of Features. */
    .how-it-works-header { margin-bottom: var(--space-8); text-align: left; }
    .features-badge-rocket { width: auto; height: 18px; flex-shrink: 0; }
.features-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    .feature-card { padding: var(--space-4) var(--space-6); }
    .feature-card::before { left: var(--space-6); }
}

/* Why GuideSora: editorial rationale and a connected value list. */
.why-guidesora {
    background: radial-gradient(ellipse at 12% 38%, rgb(225 242 255 / 45%), transparent 55%), radial-gradient(ellipse at 90% 65%, rgb(221 239 255 / 35%), transparent 55%), linear-gradient(180deg, #ffffff, #f0f8ff 65%, #f7fbff);
    scroll-margin-top: 7rem;
}
.why-guidesora > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "intro benefits" "statement benefits";
    align-items: start;
    gap: var(--space-6) var(--space-16);
}
.why-guidesora-header { grid-area: intro; max-width: 34rem; margin: 0; text-align: left; }
.why-guidesora-header .eyebrow { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); color: var(--color-navy-800); letter-spacing: 0.065em; }
.why-guidesora-header .eyebrow::before { content: ""; width: 1.5rem; height: 2px; border-radius: var(--radius-pill); background: var(--color-blue-600); }
.why-guidesora-header .section-title { max-width: 24ch; margin-bottom: var(--space-6); font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.why-guidesora-header .section-description { max-width: 46ch; font-size: var(--text-base); line-height: 1.8; }
.why-guidesora-benefits {
    grid-area: benefits;
    display: grid;
    gap: 0;
    margin: 0;
    padding: var(--space-1) var(--space-5);
    border: 1px solid rgb(8 125 245 / 12%);
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, rgb(255 255 255 / 85%), rgb(243 249 255 / 70%));
    box-shadow: inset 0 1px 0 #ffffff, 0 6px 24px rgb(21 55 101 / 4%);
    list-style: none;
}
.benefit-item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-4); padding-block: var(--space-5); }
.benefit-item + .benefit-item::before { content: ""; position: absolute; top: 0; left: calc(3rem + var(--space-4)); right: 0; height: 1px; background: linear-gradient(90deg, rgb(8 125 245 / 16%), rgb(8 125 245 / 5%)); }
.benefit-icon {
    box-sizing: content-box;
    width: 28px;
    height: 28px;
    padding: 9px;
    border: 1px solid rgb(8 125 245 / 18%);
    border-radius: var(--radius-md);
    background: linear-gradient(155deg, #f4faff, #e6f3ff);
    box-shadow: inset 0 1px 0 #ffffff, 0 0 12px rgb(53 168 255 / 6%);
    color: #076bd3;
}
.benefit-item:nth-child(2) .benefit-icon { border-color: rgb(8 125 245 / 26%); background: linear-gradient(155deg, #f0f8ff, #deefff); }
.benefit-title { margin: 0 0 var(--space-2); color: var(--color-navy-900); font-size: var(--text-lg); font-weight: var(--weight-semibold); line-height: 1.4; }
.benefit-description { max-width: 42ch; margin: 0; font-size: var(--text-base); line-height: 1.7; }
.benefit-statement {
    grid-area: statement;
    max-width: 31ch;
    margin: 0;
    padding: var(--space-4) var(--space-5);
    border: 1px solid rgb(8 125 245 / 18%);
    border-left: 3px solid var(--color-blue-600);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #ffffff, #eff8ff);
    box-shadow: inset 0 1px 0 #ffffff, 0 5px 18px rgb(21 55 101 / 5%), 0 0 16px rgb(53 168 255 / 4%);
    color: var(--color-navy-900);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    line-height: 1.6;
}
@media (hover: hover) and (pointer: fine) {
    .benefit-item:hover .benefit-icon { box-shadow: inset 0 1px 0 #ffffff, 0 0 14px rgb(53 168 255 / 12%); }
}

/* Integrity: a deliberate navy trust moment, not another card grid. */
.integrity {
    background: var(--color-bg);
    scroll-margin-top: 7rem;
}

.integrity-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-16);
    padding: clamp(2rem, 4.5vw, 4rem);
    border: 1px solid rgb(199 223 242 / 23%);
    border-radius: var(--radius-xl);
    background: radial-gradient(ellipse at 90% 45%, rgb(40 201 245 / 9%), transparent 60%), radial-gradient(ellipse at 0% 0%, rgb(53 168 255 / 7%), transparent 60%), linear-gradient(135deg, var(--color-navy-900), var(--color-navy-950));
    box-shadow: inset 0 1px 0 rgb(238 248 255 / 9%), 0 14px 36px rgb(11 36 84 / 10%);
    color: var(--color-bg);
}

.integrity-content .eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    letter-spacing: 0.065em;
    color: var(--color-cyan-400);
}

.integrity-content .eyebrow::before { content: ""; width: 1.5rem; height: 2px; border-radius: var(--radius-pill); background: var(--color-cyan-400); }

.integrity-content .section-title {
    max-width: 19ch;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-6);
    color: var(--color-bg);
    text-wrap: balance;
    line-height: 1.18;
}

.integrity-content .section-description {
    max-width: 43ch;
    color: #dceaf7;
    font-size: var(--text-base);
    line-height: 1.8;
}

.integrity-content .section-description + .section-description {
    margin-top: var(--space-6);
}

.integrity-principles {
    display: grid;
    gap: var(--space-6);
    margin: 0;
    padding: 0;
    list-style: none;
}

.integrity-principle {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: var(--space-4);
}

.integrity-principle + .integrity-principle {
    padding-top: var(--space-6);

}

.integrity-principle + .integrity-principle::before { content: ""; position: absolute; top: 0; left: calc(2.75rem + var(--space-4)); right: 0; height: 1px; background: linear-gradient(90deg, rgb(220 234 247 / 15%), rgb(220 234 247 / 4%)); }

.integrity-icon {
    box-sizing: content-box;
    padding: var(--space-2);
    border: 1px solid rgb(40 201 245 / 27%);
    border-radius: var(--radius-md);
    background: linear-gradient(150deg, rgb(53 168 255 / 13%), rgb(40 201 245 / 6%));
    box-shadow: inset 0 1px 0 rgb(238 248 255 / 8%), inset 0 0 12px rgb(40 201 245 / 5%);
    color: var(--color-cyan-400);
}

.integrity-title {
    margin: 0 0 var(--space-2);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    line-height: 1.4;
}

.integrity-description {
    max-width: 37ch;
    margin: 0;
    color: #dceaf7;
    font-size: var(--text-base);
    line-height: 1.7;
}

.integrity-principle:nth-child(3) .integrity-icon { border-color: rgb(40 201 245 / 35%); }

@media (max-width: 64rem) {
    .why-guidesora > .container {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "intro" "statement" "benefits";
    }

    .why-guidesora-header {
        max-width: 46rem;
    }

    .why-guidesora-header .section-title,
    .why-guidesora-header .section-description {
        max-width: 100%;
    }

    .integrity-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-8);
    }

    .integrity-content .section-title {
        max-width: 24ch;
    }
}

@media (max-width: 40rem) {
    .benefit-item {
        gap: var(--space-4);
        padding-block: var(--space-5);
    }

    .benefit-icon {
        padding: var(--space-2);
    }

    .integrity-layout {
        padding: var(--space-6);
    }
}

/* Early access registration */
.waitlist {
    background: radial-gradient(ellipse at 85% 45%, rgb(211 235 255 / 55%), transparent 60%), linear-gradient(180deg, #ffffff, #f0f8ff 55%, #f7fbff);

    scroll-margin-top: 7rem;
}

.waitlist-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: var(--space-12);
}

.waitlist-content { padding-top: clamp(1rem, 5vw, 4rem); }
.waitlist-content .eyebrow { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); color: var(--color-navy-800); letter-spacing: 0.065em; }
.waitlist-content .eyebrow::before { content: ""; width: 1.5rem; height: 2px; border-radius: var(--radius-pill); background: var(--color-blue-600); }
.waitlist-content .section-title {
    text-wrap: balance;
    margin-bottom: var(--space-6);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.waitlist-notice {
    margin: var(--space-6) 0 0;
    width: fit-content;
    max-width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgb(8 125 245 / 16%);
    border-radius: var(--radius-md);
    background: linear-gradient(150deg, #f5fbff, #eaf5ff);
    display: flex; align-items: center; gap: var(--space-2);
    box-shadow: inset 0 1px 0 #ffffff, 0 3px 12px rgb(21 55 101 / 4%);
    color: var(--color-navy-800);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.waitlist-form {
    display: grid;
    gap: var(--space-4);
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid rgb(8 125 245 / 22%);
    background: linear-gradient(155deg, #ffffff 65%, #f6fbff);
    border-radius: var(--radius-xl);
    box-shadow: inset 0 1px 0 #ffffff, 0 12px 32px rgb(21 55 101 / 8%), 0 0 28px rgb(53 168 255 / 5%);
}

.form-group {
    display: grid;
    gap: var(--space-2);
}

.form-label {
    color: var(--color-navy-900);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.form-input {
    width: 100%;
    min-width: 0;
    min-height: 3.25rem;
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgb(21 55 101 / 30%);
    border-radius: var(--radius-md);
    color: var(--color-text);
    background: var(--color-surface);
    font: inherit;
    box-shadow: inset 0 1px 3px rgb(21 55 101 / 3%);
    transition: border-color 220ms ease, box-shadow 220ms ease;
    line-height: 1.4;
}

.form-input::placeholder {
    color: var(--color-text-muted);
    opacity: 1;
}

.form-input:focus-visible {
    border-color: var(--color-blue-600);
    outline: 2px solid var(--color-blue-600);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--color-bg-blue);
}

.form-note {
    margin: 0;
    color: var(--color-navy-800);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.form-status {
    margin: 0;
    padding: var(--space-4);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    color: var(--color-navy-900);
    background: var(--color-bg-blue);
    font-size: var(--text-sm);
}

.form-status:empty {
    display: none;
    padding: 0;
}

.waitlist-form .btn:disabled {
    cursor: wait;
    transform: none;
    background: var(--color-navy-800);
    box-shadow: none;
}

.waitlist-verification {
    display: grid;
    gap: var(--space-2);
    min-width: 0;
}

#waitlist-turnstile {
    width: 100%;
    min-width: 0;
}

@media (max-width: 56rem) {
    .waitlist-content { padding-top: 0; }
    .waitlist-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-8);
    }

    .waitlist-form {
        width: 100%;
        max-width: 36rem;
        margin-inline: auto;
    }
}

@media (max-width: 40rem) {
    .waitlist-form {
        /* Leave room for the flexible verification widget's 300px minimum. */
        padding: var(--space-3);
    }
}

.waitlist-form > .btn {
    border: 1px solid #076bd3;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 5px 14px rgb(8 125 245 / 18%);
    transition: transform 240ms ease, box-shadow 240ms ease;
}
.waitlist-form > .btn:focus-visible { outline: 3px solid var(--color-blue-600); outline-offset: 4px; }
.waitlist-form > .btn:disabled { background: var(--color-navy-800); box-shadow: none; transform: none; }
.waitlist-form .form-note { color: var(--color-navy-800); line-height: 1.65; }
.waitlist-form .form-note a { color: #075bbb; text-decoration: underline; text-underline-offset: 3px; }
.waitlist-form .form-status { border-left: 3px solid var(--color-blue-600); line-height: 1.65; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
    .waitlist-form > .btn:not(:disabled):hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 7px 18px rgb(8 125 245 / 24%); }
}
@media (prefers-reduced-motion: reduce) {
    .waitlist-form > .btn, .waitlist-form .form-input { transition: none; }
    .waitlist-form > .btn:not(:disabled):hover { transform: none; }
}
.waitlist-heading-accent { color: var(--color-blue-600); }
.waitlist-notice-icon { flex-shrink: 0; color: #076bd3; }
.waitlist-mascot-wrap { width: 260px; max-width: 100%; margin: var(--space-5) auto 0; background: radial-gradient(ellipse, rgb(168 216 255 / 22%), transparent 70%); }
.waitlist-mascot { width: 100%; height: auto; }
.waitlist-form .form-group { gap: 6px; }
@media (max-width: 56rem) {
    .waitlist-mascot-wrap { width: 190px; margin-top: var(--space-6); }
}
/* Compact contact destination, secondary to early access. */
.contact-section { padding-block: var(--space-6); background: radial-gradient(ellipse at 90% 50%, rgb(231 244 255 / 35%), transparent 60%), var(--color-bg); border-top: 1px solid var(--color-border); scroll-margin-top: 7rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: var(--space-12); }
.contact-content .eyebrow { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); color: var(--color-navy-800); letter-spacing: 0.065em; }
.contact-content .eyebrow::before { content: ""; width: 1.5rem; height: 2px; border-radius: var(--radius-pill); background: var(--color-blue-600); }
.contact-section .section-title { max-width: 28ch; margin-bottom: var(--space-3); font-size: var(--text-3xl); line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.contact-section .section-description { max-width: 52ch; color: var(--color-navy-800); font-size: var(--text-base); line-height: 1.7; }
.contact-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-3) var(--space-4); padding: var(--space-5) var(--space-6); border: 1px solid rgb(8 125 245 / 18%); border-radius: var(--radius-lg); background: linear-gradient(145deg, #ffffff, #f1f8ff); box-shadow: inset 0 1px 0 #ffffff, 0 5px 18px rgb(21 55 101 / 5%); }
.contact-icon { box-sizing: content-box; padding: var(--space-3); border: 1px solid rgb(8 125 245 / 18%); border-radius: var(--radius-md); color: #076bd3; background: var(--color-bg-blue); }
.contact-email { margin: 0; color: var(--color-navy-900); font-size: var(--text-lg); font-weight: var(--weight-semibold); overflow-wrap: anywhere; }
.contact-action { grid-column: 2; margin: 0; }
.contact-action .btn { min-height: 2.75rem; border-radius: var(--radius-md); }
.contact-action .btn:focus-visible { outline: 3px solid var(--color-blue-600); outline-offset: 3px; }
@media (hover: hover) { .contact-action .btn-primary:hover { border-color: var(--color-blue-600); background: var(--color-bg-blue); } }
@media (max-width: 64rem) { .contact-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .contact-card { width: 100%; max-width: 34rem; } }
@media (max-width: 40rem) { .contact-card { padding: var(--space-4); gap: var(--space-3); } .contact-email { font-size: var(--text-base); } .contact-action .btn { width: 100%; } }
/* Production footer */
.site-footer {
    padding-block: var(--space-8) var(--space-4);
    background: radial-gradient(ellipse at 90% 20%, rgb(219 239 255 / 35%), transparent 55%), linear-gradient(180deg, #f9fcff, #eef7ff);
    border-top: 1px solid var(--color-border);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.6fr) minmax(0, 1.1fr);
    gap: var(--space-12);
    padding-bottom: var(--space-6);
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    max-width: 100%;
}

.footer-logo-mark {
    width: 2.5rem;
    height: auto;
    flex-shrink: 0;
}

.footer-logo {
    width: 13rem;
    height: auto;
}

.footer-description {
    max-width: 36ch;
    margin: var(--space-4) 0 0;
    font-size: var(--text-sm);
}

.footer-heading {
    margin: 0 0 var(--space-3);
    color: var(--color-navy-900);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
}

.footer-nav-list,
.footer-social-list,
.footer-legal-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--color-navy-800);
    font-size: var(--text-sm);
    text-decoration: none;
}

.footer-nav-list a:hover {
    text-decoration: underline;
}

.footer-note {
    margin: 0;
    color: var(--color-navy-800);
    font-size: var(--text-sm);
}

.footer-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: var(--space-2);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-pill);
    color: var(--color-navy-800);
    background: linear-gradient(150deg, #ffffff, #f0f8ff);
    text-decoration: none;
    box-shadow: inset 0 1px 0 #ffffff, 0 3px 10px rgb(21 55 101 / 4%);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.footer-copyright {
    margin: 0;
    font-size: var(--text-sm);
}

.footer-legal {
    text-align: right;
}

.footer-legal-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-legal-text {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    color: var(--color-navy-800);
    background: transparent;
    font: inherit;
    font-size: var(--text-sm);
    cursor: pointer;
}

.site-footer a:focus-visible { outline: 3px solid var(--color-blue-600); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
    .footer-social-icon:hover { color: #076bd3; border-color: var(--color-blue-600); transform: translateY(-1px); box-shadow: 0 4px 12px rgb(8 125 245 / 10%); }
}
@media (max-width: 64rem) { .footer-main { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
@media (prefers-reduced-motion: reduce) { .footer-social-icon { transition: none; } .footer-social-icon:hover { transform: none; } }
.waitlist-content .section-title {
    max-width: 20ch;
}

.waitlist-content .section-description {
    max-width: 44ch;
    font-size: var(--text-base);
    line-height: 1.75;
}

.waitlist-form > .btn {
    min-height: 3.25rem;
}

.waitlist-form .form-note a {
    font-weight: var(--weight-semibold);
}

/* Contact stays secondary to registration. */
.contact-action .btn-primary {
    color: var(--color-navy-800);
    background: var(--color-surface);
    border-color: var(--color-border-strong);
    box-shadow: none;
}

.footer-nav-list a,
.footer-legal-text {
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover,
.footer-legal-text:hover {
    color: var(--color-navy-950);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .footer-nav-list a,
    .footer-legal-text {
        transition: none;
    }
}
/* Shared readable layout for public legal information. */
.legal-page {
    padding-block: clamp(2.5rem, 5vw, 4rem) var(--section-space-md);
    background: radial-gradient(ellipse at 75% 0, rgb(8 125 245 / 7%), transparent 36rem),
        linear-gradient(180deg, var(--color-bg-soft), var(--color-bg) 38rem);
}

.legal-content {
    max-width: 52rem;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

.legal-intro {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
}

.legal-intro .eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.legal-intro .eyebrow::before {
    content: "";
    width: var(--space-6);
    height: 2px;
    background: var(--color-blue-600);
}

.legal-intro .section-title {
    margin-bottom: var(--space-4);
    color: var(--color-navy-950);
    font-size: var(--text-5xl);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.legal-intro p:has(time) {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.legal-intro p:last-child {
    max-width: 42rem;
    margin-bottom: 0;
    font-size: var(--text-lg);
    line-height: 1.7;
}

.legal-content section + section {
    margin-top: var(--space-8);
}

.legal-content h2 {
    margin: 0 0 var(--space-3);
    color: var(--color-navy-900);
    font-size: var(--text-xl);
    line-height: 1.4;
}

.legal-content p {
    margin: 0 0 var(--space-4);
}

.legal-content ul {
    padding-left: var(--space-6);
}

.legal-content li + li {
    margin-top: var(--space-2);
}

@media (max-width: 56rem) {
    .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .footer-legal {
        text-align: left;
    }
}

/* Only global gutters change at these breakpoints. */
@media (max-width: 64rem) {
    :root {
        --container-padding: var(--space-6);
    }
}

@media (max-width: 40rem) {
    :root {
        --container-padding: var(--space-4);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after,
    .btn {
        transition: none;
    }

    .btn-primary:hover:not(:disabled),
    .btn:active:not(:disabled) {
        transform: none;
    }
}
