:root {
    --sage-navy: #071B24;
    --sage-deep: #0B2A33;
    --sage-teal: #123C45;
    --sage-green: #7FAF8B;
    --sage-green-dark: #4F7C63;
    --sage-gold: #D6B46D;
    --sage-cream: #F4F0E7;
    --sage-muted: #9AA7A0;
    --sage-white: #FBF8F0;
    --sage-border: rgba(251, 248, 240, 0.12);
    --ink: #10252B;
    --cream-muted: #D8D1C4;
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 18px 50px rgba(4, 15, 19, 0.18);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --container: 1160px;
    --font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(127, 175, 139, 0.18), transparent 34rem),
        linear-gradient(180deg, var(--sage-navy) 0%, var(--sage-deep) 42%, #09222A 100%);
    color: var(--sage-cream);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

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

p,
h1,
h2,
h3 {
    margin-top: 0;
}

p {
    color: rgba(244, 240, 231, 0.76);
}

h1,
h2,
h3 {
    color: var(--sage-white);
    font-family: var(--font-heading);
    letter-spacing: -0.045em;
    line-height: 1.03;
}

h1 {
    max-width: 10ch;
    margin-bottom: 1.35rem;
    font-size: clamp(3rem, 10vw, 5.9rem);
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.1rem, 7vw, 4.5rem);
}

h3 {
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 790px;
}

.section-pad {
    padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 100;
    transform: translateY(-160%);
    border-radius: 999px;
    background: var(--sage-cream);
    color: var(--sage-navy);
    padding: 0.75rem 1rem;
    font-weight: 700;
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(16, 37, 43, 0.08);
    background: rgba(251, 248, 240, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px rgba(4, 15, 19, 0.08);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    border-color: rgba(16, 37, 43, 0.12);
    background: rgba(251, 248, 240, 0.97);
    box-shadow: 0 18px 48px rgba(4, 15, 19, 0.12);
}

.nav-shell {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo {
    width: clamp(92px, 16vw, 126px);
    height: auto;
}

.footer-logo {
    width: 108px;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-mark {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--sage-border);
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(127, 175, 139, 0.24), rgba(214, 180, 109, 0.12)),
        rgba(251, 248, 240, 0.04);
}

.brand-mark img {
    position: relative;
    z-index: 2;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.brand-mark::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    background: var(--sage-gold);
}

.brand-name,
.footer-brand span {
    display: block;
    color: var(--sage-white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.brand-subtitle,
.footer-brand small {
    display: block;
    color: rgba(16, 37, 43, 0.62);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-toggle {
    position: relative;
    z-index: 60;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(16, 37, 43, 0.14);
    border-radius: 999px;
    background: rgba(16, 37, 43, 0.05);
    color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    background: rgba(251, 248, 240, 0.98);
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease;
}

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

.site-nav a {
    color: rgba(16, 37, 43, 0.72);
    font-size: 1.4rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--ink);
}

.nav-cta {
    width: fit-content;
    border: 1px solid rgba(79, 124, 99, 0.32);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    color: var(--sage-green-dark) !important;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(4rem, 9vw, 7rem);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 180, 109, 0.44), transparent);
}

.hero-grid {
    display: grid;
    gap: 3.5rem;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    max-width: 720px;
}

.hero-subtitle {
    max-width: 680px;
    margin-bottom: 2rem;
    color: rgba(244, 240, 231, 0.82);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--sage-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lead {
    color: rgba(244, 240, 231, 0.82);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    font-weight: 800;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
    background: var(--sage-green);
    box-shadow: 0 18px 48px rgba(127, 175, 139, 0.22);
    color: #061A21;
}

.button-primary:hover {
    background: #92C29B;
    box-shadow: 0 22px 60px rgba(127, 175, 139, 0.3);
}

.button-secondary {
    border: 1px solid var(--sage-border);
    background: rgba(251, 248, 240, 0.04);
    color: var(--sage-cream);
}

.button-secondary:hover {
    border-color: rgba(244, 240, 231, 0.34);
    background: rgba(251, 248, 240, 0.08);
}

.hero-visual {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 560px;
}

.ui-card {
    border: 1px solid var(--sage-border);
    background:
        linear-gradient(145deg, rgba(251, 248, 240, 0.12), rgba(251, 248, 240, 0.04)),
        rgba(11, 42, 51, 0.78);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.ui-card-main {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 4vw, 2rem);
}

.ui-card-main::before {
    content: "";
    position: absolute;
    inset: -20% -20% auto auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(127, 175, 139, 0.16);
    filter: blur(8px);
}

.ui-card-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ui-kicker,
.floating-card span {
    display: block;
    color: var(--sage-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ui-card-header strong,
.floating-card strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--sage-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.status-pill {
    border: 1px solid rgba(214, 180, 109, 0.35);
    border-radius: 999px;
    background: rgba(214, 180, 109, 0.1);
    color: var(--sage-gold);
    padding: 0.45rem 0.7rem;
    font-size: 0.74rem;
    font-weight: 800;
}

.compass-shell {
    position: relative;
    display: grid;
    width: min(78vw, 310px);
    height: min(78vw, 310px);
    margin: 2.4rem auto 2.2rem;
    place-items: center;
}

.compass-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(244, 240, 231, 0.14);
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent calc(50% - 1px), rgba(214, 180, 109, 0.22) 50%, transparent calc(50% + 1px)),
        linear-gradient(0deg, transparent calc(50% - 1px), rgba(214, 180, 109, 0.22) 50%, transparent calc(50% + 1px));
}

.compass-ring::before,
.compass-ring::after {
    content: "";
    position: absolute;
    inset: 15%;
    border: 1px solid rgba(127, 175, 139, 0.18);
    border-radius: 50%;
}

.compass-ring::after {
    inset: 31%;
    border-color: rgba(214, 180, 109, 0.2);
}

.compass-ring span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, rgba(244, 240, 231, 0.14), transparent);
    transform-origin: center;
}

.compass-ring span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.compass-ring span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.compass-point {
    position: relative;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border: 1px solid rgba(214, 180, 109, 0.34);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(214, 180, 109, 0.2), transparent 58%),
        rgba(251, 248, 240, 0.03);
}

.compass-point::before {
    content: "";
    position: absolute;
    width: 76px;
    height: 76px;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    background: linear-gradient(180deg, var(--sage-gold), var(--sage-green));
    opacity: 0.9;
}

.metric-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1rem;
}

.metric {
    border: 1px solid rgba(251, 248, 240, 0.09);
    border-radius: 18px;
    background: rgba(251, 248, 240, 0.045);
    padding: 1rem;
}

.metric span {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--sage-cream);
    font-weight: 800;
}

.progress-bar {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: rgba(251, 248, 240, 0.08);
}

.progress-bar span {
    height: 100%;
    margin: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sage-green), var(--sage-gold));
}

.progress-confidence {
    width: 78%;
}

.progress-drivers {
    width: 64%;
}

.progress-patterns {
    width: 86%;
}

.floating-card {
    position: absolute;
    right: 0.5rem;
    bottom: 0;
    max-width: 210px;
    border-radius: 20px;
    padding: 1rem;
}

.floating-card-one {
    bottom: 2rem;
    left: 0.75rem;
    right: auto;
}

.floating-card-two {
    bottom: -0.7rem;
}

.section-panel {
    background: var(--sage-cream);
    color: var(--ink);
}

.section-panel h1,
.section-panel h2,
.section-panel h3,
.article-card h1,
.article-card h2,
.article-card h3 {
    color: var(--ink);
}

.section-panel p,
.article-card p {
    color: rgba(16, 37, 43, 0.76);
}

.split-grid {
    display: grid;
    gap: 2rem;
}

.content-stack {
    display: grid;
    gap: 0.85rem;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.content-stack p {
    margin: 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-heading p:not(.eyebrow) {
    font-size: 1.08rem;
}

.roadmap-section {
    background:
        linear-gradient(180deg, rgba(251, 248, 240, 0.03), transparent),
        var(--sage-deep);
}

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

.roadmap-step {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--sage-border);
    border-radius: var(--radius-md);
    background: rgba(251, 248, 240, 0.045);
    padding: 1.25rem;
}

.roadmap-step::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(var(--sage-green), var(--sage-gold));
}

.roadmap-step span,
.output-card span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--sage-gold);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.roadmap-step h3 {
    margin-bottom: 0;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    letter-spacing: -0.03em;
    line-height: 1.24;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

.feature-card,
.output-card,
.important-note,
.final-cta-card,
.article-card {
    border: 1px solid var(--sage-border);
    border-radius: var(--radius-md);
    background: rgba(251, 248, 240, 0.055);
    box-shadow: var(--shadow-card);
}

.feature-card,
.output-card {
    padding: 1.35rem;
}

.feature-card h3,
.output-card h3 {
    color: var(--sage-cream);
}

.feature-card p,
.output-card p {
    margin-bottom: 0;
}

.output-section {
    background: var(--sage-cream);
}

.output-section .eyebrow,
.section-panel .eyebrow {
    color: var(--sage-green-dark);
}

.output-section h2,
.output-section h3 {
    color: var(--ink);
}

.output-section p {
    color: rgba(16, 37, 43, 0.76);
}

.output-card {
    border-color: rgba(16, 37, 43, 0.12);
    background: var(--sage-white);
}

.check-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    border: 1px solid var(--sage-border);
    border-radius: var(--radius-sm);
    background: rgba(251, 248, 240, 0.045);
    padding: 1rem 1rem 1rem 2.8rem;
    color: rgba(244, 240, 231, 0.84);
    font-weight: 600;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.28rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--sage-green);
    box-shadow: 0 0 0 5px rgba(127, 175, 139, 0.12);
}

.note-section {
    padding-top: 0;
}

.important-note {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background:
        linear-gradient(135deg, rgba(214, 180, 109, 0.09), transparent 48%),
        rgba(251, 248, 240, 0.05);
}

.important-note h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

.important-note p:last-child {
    margin-bottom: 0;
}

.final-cta {
    padding-top: 0;
}

.final-cta-card {
    overflow: hidden;
    position: relative;
    padding: clamp(2rem, 6vw, 4rem);
    background:
        radial-gradient(circle at top right, rgba(127, 175, 139, 0.18), transparent 24rem),
        linear-gradient(135deg, rgba(251, 248, 240, 0.09), rgba(251, 248, 240, 0.035));
    text-align: left;
}

.final-cta-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(214, 180, 109, 0.18);
    border-radius: 50%;
}

.final-cta-card h2 {
    font-size: clamp(2.4rem, 8vw, 5rem);
}

.final-cta-card p:not(.eyebrow) {
    max-width: 560px;
    margin-bottom: 1.8rem;
}

.page-hero {
    padding-bottom: clamp(3rem, 7vw, 5rem);
}

.page-hero h1 {
    max-width: 12ch;
}

.article-layout {
    max-width: 860px;
}

.article-card {
    padding: clamp(1.5rem, 5vw, 3.5rem);
    background: var(--sage-white);
}

.article-card p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.article-card .button-secondary {
    border-color: rgba(16, 37, 43, 0.16);
    background: rgba(16, 37, 43, 0.04);
    color: var(--ink);
}

.article-card .button-secondary:hover {
    border-color: rgba(16, 37, 43, 0.26);
    background: rgba(16, 37, 43, 0.08);
}

.article-section {
    padding-block: clamp(1.6rem, 4vw, 2.6rem);
    border-bottom: 1px solid rgba(16, 37, 43, 0.1);
}

.article-section:first-child {
    padding-top: 0;
}

.article-section:last-of-type {
    border-bottom: 0;
}

.article-section h2,
.article-callout h2 {
    margin-bottom: 1rem;
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
}

.article-section p:last-child,
.article-callout p:last-child {
    margin-bottom: 0;
}

.article-card strong {
    color: var(--ink);
    font-weight: 800;
}

.article-callout {
    margin-block: clamp(1.8rem, 4vw, 2.8rem);
    border: 1px solid rgba(79, 124, 99, 0.2);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at top right, rgba(127, 175, 139, 0.2), transparent 18rem),
        rgba(127, 175, 139, 0.08);
    padding: clamp(1.35rem, 4vw, 2rem);
}

.article-callout-dark {
    background:
        radial-gradient(circle at top right, rgba(214, 180, 109, 0.16), transparent 18rem),
        var(--sage-navy);
}

.article-callout-dark h2,
.article-callout-dark p {
    color: var(--sage-cream);
}

blockquote {
    margin: 2rem 0;
    border-left: 3px solid var(--sage-green-dark);
    padding-left: 1.25rem;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.site-footer {
    border-top: 1px solid var(--sage-border);
    background: #06171E;
    padding-block: 2.4rem;
}

.footer-grid {
    display: grid;
    gap: 1.5rem;
}

.footer-brand {
    margin-bottom: 0.5rem;
}

.footer-brand small {
    font-family: var(--font-body);
    color: var(--sage-muted);
}

.site-footer p {
    margin: 0;
    color: var(--sage-muted);
    font-size: 0.92rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
}

.footer-nav a {
    color: rgba(244, 240, 231, 0.7);
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-nav a:hover {
    color: var(--sage-white);
}

@media (min-width: 760px) {
    .container {
        width: min(100% - 3rem, var(--container));
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 1.6rem;
        background: transparent;
        padding: 0;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .site-nav a {
        font-size: 0.92rem;
        font-weight: 800;
    }

    .nav-cta {
        padding: 0.58rem 0.95rem;
    }

    .hero-grid,
    .split-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
    }

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

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

    .roadmap {
        grid-template-columns: repeat(6, 1fr);
    }

    .roadmap-step {
        grid-column: span 2;
        min-height: 210px;
    }

    .roadmap-step:nth-child(4),
    .roadmap-step:nth-child(5) {
        grid-column: span 3;
    }

    .footer-grid {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .footer-nav {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.78fr);
        gap: clamp(4rem, 6vw, 6rem);
    }

    .six-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card,
    .output-card {
        padding: 1.65rem;
    }
}

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