:root {
    --ink: #101510;
    --paper: #f8f4ea;
    --cream: #eee4d0;
    --leaf: #163512;
    --leaf-bright: #5aae36;
    --blue: #1b63f1;
    --tomato: #e84a2a;
    --gold: #d9a33d;
    --line: rgba(16, 21, 16, 0.18);
    --glass: rgba(248, 244, 234, 0.78);
    --shadow: 0 24px 80px rgba(15, 25, 15, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(16, 21, 16, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 21, 16, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 84%);
    z-index: 1;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 60;
    background: rgba(16, 21, 16, 0.06);
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--leaf-bright), var(--blue), var(--tomato), var(--gold));
}

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

#diiaScene {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(18px, 4vw, 56px);
    pointer-events: none;
}

.brand-mark,
.site-nav {
    pointer-events: auto;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
}

.brand-mark img {
    width: clamp(112px, 12vw, 172px);
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(16, 21, 16, 0.12));
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(16, 21, 16, 0.14);
    border-radius: 999px;
    background: rgba(248, 244, 234, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 36px rgba(16, 21, 16, 0.08);
}

.site-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: rgba(16, 21, 16, 0.72);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
    color: var(--ink);
    background: rgba(16, 21, 16, 0.08);
}

main {
    position: relative;
    z-index: 2;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
    gap: clamp(24px, 5vw, 80px);
    padding: 112px clamp(20px, 7vw, 96px) 72px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(248, 244, 234, 0.98) 0%, rgba(248, 244, 234, 0.82) 33%, rgba(248, 244, 234, 0.12) 72%),
        linear-gradient(180deg, rgba(248, 244, 234, 0.72), rgba(248, 244, 234, 0));
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--tomato);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    text-wrap: balance;
}

h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(64px, 13vw, 176px);
    line-height: 0.84;
    letter-spacing: 0;
    color: var(--ink);
    text-shadow: 0 22px 70px rgba(16, 21, 16, 0.2);
}

.hero-text {
    max-width: 610px;
    margin: 28px 0 0;
    color: rgba(16, 21, 16, 0.74);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.55;
}

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

.primary-action,
.secondary-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 22px;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 14px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action {
    background: var(--ink);
    color: var(--paper);
    box-shadow: 0 18px 42px rgba(16, 21, 16, 0.2);
}

.secondary-action {
    border: 1px solid rgba(16, 21, 16, 0.24);
    background: rgba(248, 244, 234, 0.68);
    backdrop-filter: blur(14px);
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(16, 21, 16, 0.18);
}

.live-panel {
    align-self: end;
    margin-bottom: 20px;
    padding: 22px;
    border: 1px solid rgba(16, 21, 16, 0.14);
    border-radius: 8px;
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    font-family: "Trebuchet MS", Verdana, sans-serif;
}

.panel-row {
    display: flex;
    justify-content: space-between;
    gap: 26px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(16, 21, 16, 0.1);
}

.panel-row span {
    color: rgba(16, 21, 16, 0.62);
    font-size: 13px;
    font-weight: 700;
}

.panel-row strong {
    color: var(--leaf);
    font-size: 14px;
}

.panel-meter {
    height: 8px;
    margin-top: 18px;
    border-radius: 999px;
    background: rgba(16, 21, 16, 0.1);
    overflow: hidden;
}

.panel-meter span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--leaf-bright), var(--blue), var(--tomato));
    animation: meterPulse 2.8s ease-in-out infinite alternate;
}

.mode-section,
.journey-section,
.flow-section {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.mode-section {
    padding: clamp(70px, 10vw, 130px) clamp(20px, 7vw, 96px);
}

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

h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(38px, 6vw, 82px);
    line-height: 0.96;
    letter-spacing: 0;
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.mode-item {
    min-height: 300px;
    padding: clamp(22px, 3.5vw, 42px);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
        rgba(248, 244, 234, 0.82);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 22px;
    border: 1px solid var(--line);
    background: var(--line);
}

.proof-strip div {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.48);
}

.proof-strip strong {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1;
}

.proof-strip span {
    color: rgba(16, 21, 16, 0.64);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.mode-number {
    display: inline-flex;
    margin-bottom: 44px;
    color: var(--tomato);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 13px;
    font-weight: 900;
}

h3 {
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
    letter-spacing: 0;
}

.mode-item p,
.journey-card p,
.flow-copy p {
    color: rgba(16, 21, 16, 0.68);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.journey-section {
    position: relative;
    min-height: 120vh;
    padding: clamp(70px, 10vw, 130px) 0;
    overflow: hidden;
}

.journey-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(22, 53, 18, 0.06), transparent 28%, rgba(27, 99, 241, 0.08) 72%, transparent),
        radial-gradient(circle at 18% 24%, rgba(232, 74, 42, 0.12), transparent 24rem);
    pointer-events: none;
}

.journey-intro {
    position: relative;
    max-width: 820px;
    margin: 0 clamp(20px, 7vw, 96px) 42px;
    z-index: 2;
}

.journey-viewport {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.journey-track {
    display: flex;
    width: max-content;
    gap: 18px;
    padding: 0 clamp(20px, 7vw, 96px);
    will-change: transform;
}

.journey-card {
    width: min(78vw, 520px);
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(16, 21, 16, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.36)),
        rgba(248, 244, 234, 0.7);
    box-shadow: 0 32px 90px rgba(16, 21, 16, 0.12);
    backdrop-filter: blur(14px);
}

.journey-card:nth-child(2) {
    transform: translateY(34px);
}

.journey-card:nth-child(3) {
    transform: translateY(-18px);
}

.journey-card span {
    width: fit-content;
    margin-bottom: auto;
    padding: 8px 12px;
    border: 1px solid rgba(16, 21, 16, 0.14);
    border-radius: 999px;
    color: var(--tomato);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.journey-card h3 {
    max-width: 420px;
}

.journey-card p {
    max-width: 410px;
}

.flow-section {
    min-height: 78vh;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    align-items: center;
    gap: clamp(28px, 7vw, 92px);
    padding: clamp(70px, 10vw, 130px) clamp(20px, 7vw, 96px);
}

.flow-copy {
    max-width: 700px;
}

.signal-stack {
    display: grid;
    gap: 14px;
}

.signal {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 18px 52px rgba(16, 21, 16, 0.08);
    font-family: "Trebuchet MS", Verdana, sans-serif;
}

.signal span {
    display: block;
    margin-bottom: 8px;
    color: rgba(16, 21, 16, 0.56);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.signal strong {
    font-size: clamp(20px, 3vw, 30px);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
}

@keyframes meterPulse {
    from {
        transform: translateX(-12%);
    }

    to {
        transform: translateX(4%);
    }
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
        gap: 14px;
    }

    .site-nav {
        max-width: min(100%, 310px);
        overflow-x: auto;
    }

    .site-nav a {
        white-space: nowrap;
    }

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

    .hero {
        min-height: 94vh;
        align-items: center;
        padding-top: 132px;
    }

    .hero::before {
        background:
            linear-gradient(180deg, rgba(248, 244, 234, 0.98) 0%, rgba(248, 244, 234, 0.92) 34%, rgba(248, 244, 234, 0.18) 66%, rgba(248, 244, 234, 0.86) 100%);
    }

    h1 {
        font-size: clamp(54px, 18vw, 96px);
        line-height: 0.88;
    }

    .live-panel {
        width: min(100%, 360px);
        margin: 0;
    }

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

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

    .journey-section {
        min-height: auto;
    }

    .journey-track {
        width: auto;
        display: grid;
        grid-template-columns: 1fr;
    }

    .journey-card {
        width: auto;
        min-height: 320px;
        transform: none !important;
    }
}

@media (max-width: 560px) {
    .site-header {
        position: absolute;
        padding: 16px;
    }

    .brand-mark img {
        width: 108px;
    }

    .site-nav {
        gap: 2px;
        padding: 5px;
        max-width: calc(100vw - 134px);
    }

    .site-nav a {
        padding: 8px 8px;
        font-size: 11px;
    }

    .hero {
        padding-inline: 16px;
        padding-bottom: 42px;
    }

    .hero-actions {
        width: 100%;
    }

    .primary-action,
    .secondary-action {
        flex: 1 1 132px;
    }

    .mode-section,
    .journey-section,
    .flow-section {
        padding-inline: 16px;
    }

    .journey-section {
        padding-left: 0;
        padding-right: 0;
    }

    .journey-intro {
        margin-inline: 16px;
    }

    .journey-track {
        padding-inline: 16px;
    }
}

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