:root {
    --ink: #0b1628;
    --ink-soft: #42526a;
    --navy: #071426;
    --navy-light: #10233d;
    --teal: #0ea5a4;
    --teal-dark: #087f7f;
    --teal-pale: #e9f9f7;
    --blue: #2867d7;
    --cream: #f7f8f5;
    --white: #ffffff;
    --line: #dce4e8;
    --shadow: 0 24px 70px rgba(7, 20, 38, 0.14);
    --radius: 8px;
}

/* Search syntax help */
.help-intro { margin: 24px 0; padding: 14px 16px; border-left: 3px solid var(--coral); background: var(--surface); color: var(--muted); }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px 0; }
.syntax-card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.syntax-card h2 { margin: 8px 0; font-size: 1.15rem; }
.syntax-card p { color: var(--muted); }
.syntax-status { display: inline-block; border-radius: 999px; padding: 4px 9px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.syntax-status-supported { color: #17613f; background: #dff5e9; }
.syntax-status-planned { color: #7b4d12; background: #fff0ce; }
.syntax-example { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; color: var(--navy); background: var(--background); text-decoration: none; }
.syntax-example:hover, .syntax-example:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.syntax-example span { color: var(--coral); font-size: .8rem; font-weight: 700; }
.syntax-example-disabled { color: var(--muted); }
.syntax-example-disabled code { overflow-wrap: anywhere; }
.proof-console > .text-link { display: flex; justify-content: flex-end; text-align: right; }
@media (max-width: 640px) { .help-grid { grid-template-columns: 1fr; gap: 12px; margin: 24px 0; } .syntax-card { padding: 17px; } .syntax-example { font-size: .92rem; } }

/* Keep the help page entrance short and let the guide unfold in sequence. */
.scroll-effects-ready .help-page .narrow-shell > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 260ms ease, transform 360ms ease;
}
.scroll-effects-ready .help-page.scroll-section-visible .narrow-shell > * {
    opacity: 1;
    transform: none;
}
.scroll-effects-ready .help-page.scroll-section-visible .narrow-shell > *:nth-child(2) { transition-delay: 40ms; }
.scroll-effects-ready .help-page.scroll-section-visible .narrow-shell > *:nth-child(3) { transition-delay: 80ms; }
.scroll-effects-ready .help-page.scroll-section-visible .narrow-shell > *:nth-child(4) { transition-delay: 120ms; }
.scroll-effects-ready .help-page.scroll-section-visible .narrow-shell > *:nth-child(5) { transition-delay: 160ms; }

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

html {
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: clip;
}

a {
    color: inherit;
}

.shell {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(220, 228, 232, 0.8);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    transition: background 280ms ease, box-shadow 280ms ease;
}

.site-header-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 35px rgba(7, 20, 38, 0.1);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.site-nav a,
.site-footer nav a {
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.site-nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
    color: var(--teal-dark);
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 12px 20px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

.button:focus-visible,
.site-nav a:focus-visible,
.site-brand:focus-visible,
.site-footer a:focus-visible,
.text-link:focus-visible {
    outline: 3px solid rgba(14, 165, 164, 0.35);
    outline-offset: 3px;
}

.button-small {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 0.87rem;
}

.button-primary {
    background: var(--teal-dark);
    box-shadow: 0 10px 24px rgba(8, 127, 127, 0.2);
    color: var(--white);
}

.button-primary:hover {
    background: #066d6d;
    color: var(--white);
}

.button-secondary {
    border-color: #b9c8d1;
    background: var(--white);
    color: var(--ink);
}

.button-secondary:hover {
    border-color: var(--teal);
    box-shadow: 0 10px 24px rgba(7, 20, 38, 0.08);
}

.button-light {
    flex: 0 0 auto;
    background: var(--white);
    color: var(--teal-dark);
}

.hero-scroll-scene {
    position: relative;
    height: 230vh;
    min-height: 1260px;
    overflow: clip;
    background: var(--navy);
}

.hero {
    position: sticky;
    top: 76px;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    height: calc(100vh - 76px);
    min-height: 640px;
    align-items: center;
    padding: 42px 0;
    background:
        radial-gradient(circle at 86% 10%, rgba(14, 165, 164, 0.13), transparent 27%),
        linear-gradient(135deg, #fbfcfa 0%, #f2f8f7 100%);
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 20, 38, var(--hero-handoff-alpha, 0)) 0%, rgba(7, 20, 38, var(--hero-handoff-alpha, 0)) 100%);
    content: "";
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(7, 20, 38, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 20, 38, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(to right, transparent, black);
}

.hero-logo-layer {
    position: absolute;
    top: 50%;
    left: 55%;
    z-index: 1;
    width: min(54vw, 720px);
    pointer-events: none;
    opacity: var(--hero-logo-opacity, 0.28);
    transform: translate(-50%, calc(-50% + var(--hero-logo-y, 0px))) scale(var(--hero-logo-scale, 1));
    transform-origin: center;
    will-change: transform, opacity;
}

.hero-logo-layer img {
    display: block;
    width: 100%;
    filter: saturate(1.04) brightness(var(--hero-logo-brightness, 1));
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(1380px, calc(100% - 40px));
    grid-template-columns: minmax(680px, 0.98fr) minmax(470px, 1.02fr);
    align-items: center;
    gap: 72px;
    transform: translateY(clamp(-120px, -8vh, -64px));
}

.hero-copy {
    opacity: var(--hero-copy-opacity, 1);
    transform: translate3d(var(--hero-copy-x, 0), var(--hero-copy-y, 0), 0);
    will-change: transform, opacity;
}

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

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.placeholder-main h1 {
    max-width: 720px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.9rem, 5.3vw, 5rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
}

.hero-reveal-heading {
    /* The rotating line must stay on one line: the window only shows one step.
       Cap the type at 11% of the heading's own width (cqi) so the longest phrase
       ("easier to browse." is about 8.6em wide) always fits, and derive the window
       height from the type size so the two can never drift apart. */
    container-type: inline-size;
    --hero-type-size: min(clamp(2.9rem, 5.3vw, 5rem), 11cqi);
    --hero-reveal-step: calc(var(--hero-type-size) * 1.22);
    --hero-reveal-band-start: 48vh;
    max-width: 720px;
}

.hero-reveal-heading h1 {
    max-width: none;
    font-size: var(--hero-type-size);
}

.hero-reveal-heading h1 span[aria-hidden="true"] {
    display: block;
}

.hero-reveal-window {
    height: var(--hero-reveal-step);
    overflow: hidden;
    margin: 0.02em 0 0;
}

.hero-reveal-words {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translate3d(0, var(--hero-reveal-y, 0), 0);
    will-change: transform;
}

.hero-reveal-words li {
    display: flex;
    height: var(--hero-reveal-step);
    align-items: center;
    overflow: hidden;
    padding-bottom: 0.11em;
    color: var(--teal-dark);
    font-size: var(--hero-type-size);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
    white-space: nowrap;
}

.hero-lead,
.placeholder-lead {
    max-width: 650px;
    margin: 26px 0 0;
    color: var(--ink-soft);
    font-size: 1.15rem;
    line-height: 1.75;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-note {
    margin: 14px 0 0;
    color: #69798e;
    font-size: 0.78rem;
}

.hero-visual {
    position: relative;
    min-width: 0;
    margin-right: 0;
    padding: 22px 0;
    opacity: var(--hero-preview-opacity, 1);
    transform: translate3d(var(--hero-preview-x, 0), var(--hero-preview-y, 0), 0) scale(var(--hero-preview-scale, 1));
    transform-origin: center;
    will-change: transform, opacity;
}

.scroll-effects-ready .trust-strip,
.scroll-effects-ready .section,
.scroll-effects-ready .cta-section {
    opacity: 0;
    transform: translate3d(0, 110px, 0) scale(0.96);
    transition: opacity 700ms ease, transform 900ms cubic-bezier(0.22, 0.44, 0, 1);
}

.scroll-effects-ready .section-contrast {
    transform: translate3d(0, 72px, 0) scale(0.97);
}

.scroll-effects-ready .cta-section {
    transform: translate3d(8vw, 90px, 0) scale(0.96);
}

.scroll-effects-ready .scroll-section-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.product-window {
    overflow: hidden;
    transform: perspective(1200px) rotateY(var(--product-rotate-y, -4deg)) rotateX(var(--product-rotate-x, 2deg));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: 0 var(--product-shadow-y, 40px) var(--product-shadow-blur, 90px) rgba(7, 20, 38, var(--product-shadow-alpha, 0.28));
    will-change: transform;
}

.window-bar {
    display: flex;
    height: 48px;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 16px;
}

.window-bar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #53637a;
}

.window-bar > span:first-child {
    background: var(--teal);
}

.window-bar p {
    margin: 0 0 0 8px;
    color: #9fb0c8;
    font-size: 0.66rem;
    letter-spacing: 0.05em;
}

.product-body {
    padding: 24px;
}

.product-search {
    border: 1px solid #2a3e59;
    border-radius: 999px;
    background: #0b1c32;
    color: #7f91a9;
    font-size: 0.72rem;
    padding: 11px 16px;
}

.product-filters {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 15px 0 20px;
}

.product-filter-label {
    margin-right: 2px;
    color: #91a2b9;
    font-size: 0.56rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-mana {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid #29415e;
    border-radius: 50%;
    background: #0b1c32;
}

.preview-mana img {
    display: block;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    object-fit: contain;
}

.preview-color-mode {
    display: flex;
    margin-left: 3px;
    border: 1px solid #29415e;
    border-radius: 999px;
    background: #0b1c32;
    padding: 2px;
}

.preview-color-mode b,
.preview-color-mode i {
    border-radius: 999px;
    color: #71839a;
    font-size: 0.49rem;
    font-style: normal;
    font-weight: 650;
    padding: 4px 7px;
}

.preview-color-mode b {
    background: #6757a8;
    color: #f1efff;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.product-cards article {
    border: 1px solid #233750;
    border-radius: var(--radius);
    background: #0d1d31;
    padding: 9px;
}

.product-cards strong,
.product-cards small {
    display: block;
}

.product-cards strong {
    margin-top: 10px;
    color: #e5edf5;
    font-size: 0.62rem;
}

.product-cards small {
    color: #71839a;
    font-size: 0.52rem;
}

.card-art {
    aspect-ratio: 0.72;
    border-radius: 6px;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.7), transparent 8%),
        linear-gradient(145deg, transparent 45%, rgba(255, 255, 255, 0.16) 46%, transparent 48%),
        linear-gradient(135deg, #295e83, #0c273f 55%, #04101d);
}

.card-art-two {
    background:
        radial-gradient(circle at 40% 38%, rgba(255, 255, 255, 0.65), transparent 7%),
        linear-gradient(35deg, transparent 42%, rgba(255, 255, 255, 0.14) 43%, transparent 46%),
        linear-gradient(135deg, #835f2d, #392711 55%, #120d08);
}

.card-art-three {
    background:
        radial-gradient(circle at 58% 30%, rgba(255, 255, 255, 0.58), transparent 7%),
        linear-gradient(155deg, transparent 40%, rgba(255, 255, 255, 0.14) 41%, transparent 44%),
        linear-gradient(135deg, #386a4f, #183629 55%, #08150f);
}

.status-badge {
    position: absolute;
    right: 0;
    bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 750;
    opacity: var(--status-badge-opacity, 1);
    padding: 10px 14px;
    transform: translate3d(0, var(--status-badge-y, 0), 0);
    will-change: transform, opacity;
}

.status-badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #20b66d;
    box-shadow: 0 0 0 4px rgba(32, 182, 109, 0.13);
}

.trust-strip {
    border-block: 1px solid var(--line);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid p {
    margin: 0;
    padding: 24px 20px;
    border-right: 1px solid var(--line);
}

.trust-grid p:first-child {
    padding-left: 0;
}

.trust-grid p:last-child {
    border: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--navy);
    font-size: 0.87rem;
}

.trust-grid span {
    color: #738196;
    font-size: 0.74rem;
}

.section {
    scroll-margin-top: 75px;
    padding: 110px 0;
}

.section-contrast {
    background: var(--navy);
    color: var(--white);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 54px;
    text-align: center;
}

.section-heading-left {
    margin: 0;
    text-align: left;
}

.section-heading h2,
.cta-panel h2,
.coming-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    letter-spacing: 0;
    line-height: 1.1;
}

.section-heading > p:last-child,
.cta-panel p,
.coming-card li {
    color: var(--ink-soft);
}

.section-heading > p:last-child {
    margin: 18px 0 0;
    font-size: 1.03rem;
}

.proof-section {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}

.proof-section::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 45%, rgba(14, 165, 164, 0.18), transparent 34%);
    content: "";
    pointer-events: none;
}

.proof-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
    align-items: center;
    gap: 82px;
}

.proof-copy {
    max-width: 520px;
}

.proof-copy h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: 1.08;
}

.proof-copy > p:not(.eyebrow) {
    margin: 20px 0 28px;
    color: #b5c3d4;
    font-size: 1.03rem;
}

.proof-console {
    overflow: hidden;
    border: 1px solid #2e4662;
    border-radius: var(--radius);
    background: #0b1c32;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

.proof-console-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #263b55;
    padding: 15px 18px;
    color: #9fb0c8;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

.proof-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #77d9c9;
    font-size: 0.65rem;
}

.proof-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.12);
}

.proof-query {
    margin: 20px 20px 12px;
    border: 1px solid #2b4563;
    border-radius: 6px;
    background: #071426;
    padding: 13px 15px;
    color: #d7e3f0;
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: 0.76rem;
}

.proof-result {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    margin: 0 20px;
    border-top: 1px solid #213750;
    padding: 15px 0;
}

.proof-card-art {
    width: 48px;
    height: 64px;
    border-radius: 4px;
}

.proof-result strong {
    display: block;
    color: #edf4fb;
    font-size: 0.78rem;
}

.proof-result p,
.proof-footnote {
    margin: 4px 0 0;
    color: #8093ab;
    font-size: 0.68rem;
    line-height: 1.45;
}

.proof-price {
    color: #77d9c9;
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: 0.68rem;
    white-space: nowrap;
}

.proof-footnote {
    border-top: 1px solid #213750;
    padding: 14px 20px 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    min-height: 310px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 34px;
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #a8d9d6;
    box-shadow: var(--shadow);
}

.feature-number {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--teal-pale);
    color: var(--teal-dark);
    font-size: 0.72rem;
    font-weight: 850;
}

.feature-card h3 {
    margin: 70px 0 12px;
    color: var(--navy);
    font-size: 1.25rem;
}

.feature-card p,
.capability-list p,
.roadmap li,
.notice-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.progress-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 100px;
}

.section-contrast .section-heading h2 {
    color: var(--white);
}

.section-contrast .section-heading > p:last-child {
    color: #aebdd0;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 24px;
    color: #54d2cb;
    font-weight: 750;
    text-decoration: none;
}

.capability-list {
    display: grid;
}

.capability-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    border-top: 1px solid #263952;
    padding: 26px 0;
}

.capability-list article:first-child {
    border-top: 0;
    padding-top: 0;
}

.capability-list > article > span {
    color: #54d2cb;
    font-size: 0.72rem;
    font-weight: 850;
}

.capability-list h3 {
    margin: 0 0 7px;
    font-size: 1.12rem;
}

.capability-list p {
    color: #9fb0c4;
}

.roadmap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.roadmap::before {
    position: absolute;
    top: 18px;
    right: 15%;
    left: 15%;
    height: 1px;
    background: var(--line);
    content: "";
}

.roadmap-item {
    position: relative;
    border-top: 3px solid #ccd7dc;
    padding: 42px 24px 24px 0;
}

.roadmap-item::before {
    position: absolute;
    top: -8px;
    left: 0;
    width: 13px;
    height: 13px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: #9dadb5;
    box-shadow: 0 0 0 1px #9dadb5;
    content: "";
}

.roadmap-current {
    border-color: var(--teal);
}

.roadmap-current::before {
    background: var(--teal);
    box-shadow: 0 0 0 1px var(--teal);
}

.roadmap-item > p {
    margin: 0 0 12px;
    color: #748397;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.roadmap-item > p span {
    margin-left: 8px;
    border-radius: 999px;
    background: var(--teal-pale);
    color: var(--teal-dark);
    padding: 4px 8px;
    font-size: 0.62rem;
}

.roadmap-item h3 {
    margin: 0;
    font-size: 1.2rem;
}

.roadmap-item ul {
    margin: 18px 0 0;
    padding-left: 18px;
}

.roadmap-item li {
    margin: 7px 0;
}

.cta-section {
    padding: 0 0 100px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border-radius: var(--radius);
    background: linear-gradient(115deg, var(--teal-dark), #075e6f);
    box-shadow: 0 28px 70px rgba(8, 127, 127, 0.2);
    padding: 54px 60px;
}

.cta-panel .eyebrow,
.cta-panel h2,
.cta-panel p {
    color: var(--white);
}

.cta-panel h2 {
    max-width: 700px;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.cta-panel p {
    margin: 14px 0 0;
    opacity: 0.82;
}

.site-footer {
    background: #06101e;
    color: var(--white);
    padding: 64px 0 24px;
}

.footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    color: var(--white);
}

.site-footer p {
    margin: 16px 0 0;
    color: #8fa0b7;
    font-size: 0.9rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.site-footer nav a {
    color: #b0bdcc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 54px;
    border-top: 1px solid #1d2d42;
    padding-top: 22px;
    color: #708198;
    font-size: 0.73rem;
}

.placeholder-main {
    min-height: calc(100vh - 76px);
    padding: 110px 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(14, 165, 164, 0.14), transparent 24%),
        var(--cream);
}

.placeholder-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 90px;
}

.placeholder-main h1 {
    max-width: 700px;
    font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.notice-card {
    max-width: 640px;
    margin: 32px 0;
    border-left: 4px solid var(--teal);
    background: var(--white);
    box-shadow: 0 14px 35px rgba(7, 20, 38, 0.07);
    padding: 22px 24px;
}

.notice-card strong {
    color: var(--navy);
}

.notice-card p {
    margin-top: 6px;
}

.coming-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 42px;
}

.coming-card h2 {
    font-size: 1.75rem;
}

.coming-card ul {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.coming-card li {
    position: relative;
    padding-left: 28px;
}

.coming-card li::before {
    position: absolute;
    top: 0.28em;
    left: 0;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--teal-pale);
    color: var(--teal-dark);
    content: "\2713";
    font-size: 0.65rem;
    font-weight: 900;
}

.form-page,
.policy-page,
.review-page,
.admin-login-page,
.contact-page {
    min-height: calc(100vh - 76px);
    background: var(--cream);
    padding: 88px 0 110px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
    gap: 54px;
}

.contact-copy h1 {
    max-width: 760px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 0;
    line-height: 1.05;
}

.contact-copy > p {
    max-width: 680px;
    margin: 22px 0 30px;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.contact-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 50px rgba(7, 20, 38, 0.08);
    padding: 34px;
}

.contact-panel h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.45rem;
}

.contact-panel p,
.contact-panel li {
    color: var(--ink-soft);
}

.contact-panel strong {
    color: var(--navy);
}

.contact-panel ul {
    margin: 14px 0 0;
    padding-left: 19px;
}

.form-page-heading {
    max-width: 790px;
    margin-bottom: 48px;
}

.form-page-heading h1,
.confirmation-card h1,
.policy-content h1,
.review-heading h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 0;
    line-height: 1.05;
}

.form-page-heading > p:last-child,
.confirmation-card > p,
.review-heading p {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 34px;
}

.pledge-form,
.form-sidebar,
.confirmation-card,
.policy-content,
.submission-card,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 50px rgba(7, 20, 38, 0.08);
}

.pledge-form {
    padding: 42px;
}

.pledge-form fieldset {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 34px 0;
}

.pledge-form fieldset:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.pledge-form legend {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
    padding: 0;
}

.field-grid,
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.field-wide {
    grid-column: 1 / -1;
}

.field label,
.review-filter label,
.status-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 750;
}

.field input,
.field textarea,
.field select,
.review-filter select,
.status-form select {
    width: 100%;
    border: 1px solid #b9c8d1;
    border-radius: 9px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    padding: 11px 13px;
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.review-filter select:focus,
.status-form select:focus {
    border-color: var(--teal);
    outline: 3px solid rgba(14, 165, 164, 0.14);
}

/* Modern dropdowns: drop the native bevel/arrow, add a teal chevron. */
.field select,
.review-filter select,
.status-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 44px;
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' stroke='%230ea5a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    box-shadow: 0 1px 2px rgba(7, 20, 38, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.field select:hover,
.review-filter select:hover,
.status-form select:hover {
    border-color: var(--teal);
    background-color: var(--teal-pale);
}

.field select:focus,
.review-filter select:focus,
.status-form select:focus {
    background-color: var(--white);
    box-shadow: 0 0 0 1px var(--teal);
}

.field select::-ms-expand {
    display: none;
}

.field select option {
    color: var(--ink);
    background: var(--white);
}

.field select:has(option[value=""]:checked) {
    color: #718096;
}

.optional,
.field-help {
    color: #718096;
    font-size: 0.78rem;
    font-weight: 500;
}

.field-help {
    margin: 8px 0 0;
}

.choice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 13px 15px;
}

.choice-card:has(input:checked) {
    border-color: var(--teal);
    background: var(--teal-pale);
}

.choice-card input,
.consent-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--teal-dark);
}

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

.custom-amount {
    max-width: 280px;
    margin-top: 20px;
}

.money-input {
    display: flex;
    align-items: center;
    border: 1px solid #b9c8d1;
    border-radius: 9px;
    overflow: hidden;
}

.money-input > span {
    padding-left: 13px;
}

.money-input input {
    border: 0;
}

.consent-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    margin: 8px 0;
    font-size: 0.9rem;
}

/* Skip .button links: this selector outranks .button-primary, which made
   button text teal-on-teal (invisible) until the :hover rule kicked in. */
.consent-row a:not(.button),
.policy-content a:not(.button),
.submission-card a:not(.button) {
    color: var(--teal-dark);
}

.submission-notice,
.configuration-notice {
    margin: 24px 0;
    border-left: 4px solid var(--teal);
    background: var(--teal-pale);
    padding: 17px 19px;
    font-size: 0.88rem;
}

.submission-notice strong {
    display: block;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-validation-error,
.validation-summary {
    color: #a61b1b;
    font-size: 0.8rem;
}

.field-validation-error {
    display: block;
    margin-top: 5px;
}

.validation-summary:empty,
.validation-summary-valid {
    display: none;
}

.validation-summary {
    margin-bottom: 24px;
    border: 1px solid #e7b4b4;
    border-radius: 9px;
    background: #fff4f4;
    padding: 14px 18px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 18px;
}

.form-sidebar {
    position: sticky;
    top: 105px;
    padding: 30px;
}

.form-sidebar h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.5rem;
}

.form-sidebar ol {
    padding-left: 20px;
}

.form-sidebar li,
.form-sidebar > p:last-child {
    margin: 12px 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.confirmation-card {
    max-width: 820px;
    margin: 30px auto;
    padding: 52px;
}

.policy-content {
    max-width: 860px;
    padding: 54px 64px;
}

.policy-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.policy-content h2 {
    margin: 38px 0 10px;
    color: var(--navy);
    font-size: 1.35rem;
}

.policy-content p {
    color: var(--ink-soft);
}

.policy-updated {
    margin-top: 8px;
    font-size: 0.85rem;
}

.configuration-notice code {
    font-weight: 700;
}

.review-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.review-heading h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.review-heading p {
    margin-bottom: 0;
}

.review-filter {
    min-width: 250px;
}

.submission-list {
    display: grid;
    gap: 22px;
}

.submission-card {
    padding: 28px;
}

.submission-card header,
.submission-card footer {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.submission-card h2 {
    margin: 9px 0 0;
    color: var(--navy);
}

.submission-card header p {
    margin: 3px 0 0;
    color: var(--ink-soft);
}

.review-status {
    display: inline-block;
    border-radius: 999px;
    background: var(--teal-pale);
    color: var(--teal-dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 9px;
}

.submission-time,
.record-times {
    color: #718096;
    font-size: 0.75rem;
}

.submission-time span,
.submission-time time,
.record-times span {
    display: block;
}

.submission-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.submission-details dt,
.submission-notes strong {
    color: #718096;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.submission-details dd {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
}

.submission-notes {
    margin-bottom: 24px;
    border-radius: 9px;
    background: var(--cream);
    padding: 16px 18px;
}

.submission-notes p {
    margin: 5px 0 0;
    white-space: pre-wrap;
}

.submission-card footer {
    align-items: end;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.status-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    align-items: end;
    gap: 9px;
}

.status-form label {
    grid-column: 1 / -1;
    margin: 0;
}

.empty-state {
    padding: 44px;
    color: var(--ink-soft);
    text-align: center;
}

.admin-login-page {
    display: grid;
    place-items: center;
}

.admin-login-card {
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 42px;
}

.admin-login-card h1,
.admin-toolbar h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    letter-spacing: 0;
    line-height: 1.08;
}

.admin-login-card > p {
    color: var(--ink-soft);
}

.admin-login-card .field {
    margin: 18px 0;
}

.admin-login-card .button {
    width: 100%;
    margin-top: 8px;
}

.admin-login-card .button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.admin-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.admin-toolbar p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.admin-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.admin-filter {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 18px;
}

.admin-filter label {
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 750;
}

.admin-filter select {
    min-width: 250px;
    border: 1px solid #b9c8d1;
    border-radius: 9px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    padding: 9px 12px;
}

.admin-review-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 22px;
    margin-bottom: 18px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.admin-review-form .status-form {
    min-width: 280px;
}

.admin-dashboard .record-times {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

@media (max-width: 1320px) and (min-width: 761px) {
    .hero-grid {
        width: min(100% - 34px, 1180px);
        grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
        gap: 34px;
        transform: translateY(clamp(-72px, -6vh, -36px));
    }

    .hero h1 {
        font-size: clamp(3rem, 5vw, 4.25rem);
    }

    .hero-reveal-heading {
        --hero-type-size: min(clamp(3rem, 5vw, 4.25rem), 11cqi);
    }

    .hero-visual {
        margin-right: 0;
    }
}

@media (max-width: 760px) {
    .hero-scroll-scene {
        height: auto;
        min-height: 0;
    }

    .hero {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        padding-top: 62px;
    }

    .hero-grid,
    .progress-grid,
    .proof-grid,
    .placeholder-grid {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .hero-grid {
        transform: none;
    }

    .hero-copy {
        max-width: 700px;
        opacity: 1;
        transform: none;
    }

    .hero-reveal-heading {
        --hero-reveal-step: auto;
    }

    .hero-reveal-words {
        height: auto;
        margin-top: 0;
        transform: none;
    }

    .hero-reveal-window {
        height: auto;
        overflow: visible;
        margin-top: 0;
    }

    .hero-reveal-words li {
        display: none;
        min-height: 0;
        background: none;
        color: var(--navy);
        white-space: normal;
    }

    .hero-reveal-words li:last-child {
        display: block;
    }

    .hero-visual {
        max-width: 680px;
        margin-right: 0;
        opacity: 1;
        padding-left: 0;
        transform: none;
    }

    .hero-logo-layer {
        left: 68%;
        width: min(70vw, 540px);
    }
}

@media (max-width: 940px) {
    .site-nav {
        display: none;
    }

    .progress-grid,
    .proof-grid,
    .placeholder-grid {
        grid-template-columns: 1fr;
    }

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

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

    .feature-card {
        min-height: 0;
    }

    .feature-card h3 {
        margin-top: 34px;
    }

    .progress-grid {
        gap: 60px;
    }

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

    .form-sidebar {
        position: static;
    }

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

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

    .trust-grid p:nth-child(2) {
        border-right: 0;
    }

    .trust-grid p:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        min-height: 68px;
    }

    .site-brand {
        font-size: 0.82rem;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .header-inner > .button {
        min-height: 38px;
        padding: 8px 11px;
        font-size: 0.73rem;
    }

    .hero {
        padding: 62px 0 68px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-reveal-words li {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-logo-layer {
        top: 60%;
        left: 72%;
        width: 92vw;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .product-body {
        padding: 14px;
    }

    .product-filter-label,
    .preview-color-mode {
        display: none;
    }

    .product-cards {
        gap: 7px;
    }

    .product-cards article {
        padding: 6px;
    }

    .product-cards strong {
        font-size: 0.5rem;
    }

    .product-cards small {
        display: none;
    }

    .status-badge {
        right: 6px;
    }

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

    .trust-grid p,
    .trust-grid p:first-child {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 18px 0;
    }

    .section {
        padding: 78px 0;
    }

    .section-heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .feature-card {
        padding: 26px;
    }

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

    .roadmap::before {
        display: none;
    }

    .roadmap-item {
        padding: 32px 0 20px;
    }

    .cta-section {
        padding-bottom: 70px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 36px 28px;
    }

    .footer-grid,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer nav {
        gap: 18px;
    }

    .footer-bottom {
        gap: 5px;
    }

    .placeholder-main {
        padding: 72px 0;
    }

    .coming-card {
        padding: 28px;
    }

    .form-page,
    .policy-page,
    .review-page,
    .contact-page {
        padding: 58px 0 72px;
    }

    .pledge-form,
    .confirmation-card,
    .policy-content,
    .submission-card,
    .contact-panel {
        padding: 25px;
    }

    .field-grid,
    .choice-grid,
    .choice-grid-three,
    .submission-details {
        grid-template-columns: 1fr;
    }

    .field-wide {
        grid-column: auto;
    }

    .review-heading,
    .submission-card header,
    .submission-card footer {
        align-items: stretch;
        flex-direction: column;
    }

    .review-filter {
        min-width: 0;
        width: 100%;
    }

    .status-form {
        width: 100%;
    }

    .admin-login-page {
        display: block;
    }

    .admin-login-card {
        padding: 28px;
    }

    .admin-toolbar,
    .admin-filter,
    .admin-review-form {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-review-form {
        display: flex;
    }

    .admin-actions {
        flex-wrap: wrap;
    }

    .admin-filter select,
    .admin-filter .button,
    .admin-review-form .status-form {
        min-width: 0;
        width: 100%;
    }

    .admin-dashboard .record-times {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

    .hero-logo-layer {
        opacity: 0.08;
        transform: translate(-50%, -50%);
    }

    .hero-copy,
    .hero-visual {
        opacity: 1;
        transform: none;
    }

    .hero-reveal-words {
        height: auto;
        transform: none;
    }

    .hero-reveal-window {
        height: auto;
        overflow: visible;
    }

    .hero-reveal-words li {
        display: none;
        min-height: 0;
        background: none;
        color: var(--navy);
    }

    .hero-reveal-words li:last-child {
        display: block;
    }

    .scroll-effects-ready .trust-strip,
    .scroll-effects-ready .section,
    .scroll-effects-ready .cta-section {
        opacity: 1;
        transform: none;
    }

    .scroll-effects-ready .help-page .narrow-shell > * {
        opacity: 1;
        transform: none;
    }
}

/* Recovery codes must remain readable on narrow screens. */
.account-recovery-code { overflow-wrap: anywhere; word-break: break-all; }
.account-page { overflow-wrap: anywhere; }
