:root {
    --paper: #f3ede5;
    --paper-strong: #ece1d3;
    --sand: #e6d8c7;
    --ink: #15110f;
    --ink-soft: #695f57;
    --line: rgba(21, 17, 15, 0.12);
    --line-strong: rgba(21, 17, 15, 0.22);
    --hero: #17120f;
    --hero-soft: #211914;
    --accent: #0f7a71;
    --accent-soft: rgba(15, 122, 113, 0.14);
    --white-soft: rgba(255, 250, 244, 0.76);
    --shadow: 0 40px 120px rgba(10, 8, 7, 0.24);
    --radius-xl: 36px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --page-pad: clamp(1.25rem, 2.4vw, 2.4rem);
    --content-width: min(1240px, calc(100vw - 2 * var(--page-pad)));
    --section-space: clamp(4.5rem, 8vw, 7.5rem);
    --font-ui: "Manrope", sans-serif;
    --font-display: "Newsreader", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-ui);
    color: var(--ink);
    background: var(--paper);
}

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

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

.site-shell {
    min-height: 100svh;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    padding: 1.15rem var(--page-pad);
    color: #f7efe6;
    transition:
        background-color 220ms ease,
        border-color 220ms ease,
        backdrop-filter 220ms ease,
        color 220ms ease;
}

.site-header.is-solid {
    color: var(--ink);
    background: rgba(243, 237, 229, 0.84);
    border-bottom: 1px solid rgba(21, 17, 15, 0.08);
    backdrop-filter: blur(18px);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-lockup__mark {
    flex: 0 0 auto;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0.35rem rgba(15, 122, 113, 0.15);
}

.brand-lockup__text {
    display: grid;
    gap: 0.12rem;
}

.brand-lockup__text strong {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brand-lockup__text span,
.site-nav a {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-lockup__text span {
    color: rgba(247, 239, 230, 0.7);
}

.site-header.is-solid .brand-lockup__text span,
.site-header.is-solid .site-nav a {
    color: var(--ink-soft);
}

.site-nav {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.1rem 1.45rem;
}

.site-nav a {
    position: relative;
    opacity: 0.86;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(6rem, 9vw, 8rem) var(--page-pad) 2rem;
    background:
        radial-gradient(circle at 20% 18%, rgba(15, 122, 113, 0.22), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(182, 94, 55, 0.18), transparent 24%),
        linear-gradient(180deg, #1a1411 0%, #120e0c 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 14rem;
    background: linear-gradient(180deg, rgba(18, 14, 12, 0) 0%, rgba(18, 14, 12, 0.64) 100%);
    pointer-events: none;
}

.hero__veil {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 38%, transparent 92%);
    opacity: 0.35;
    pointer-events: none;
}

.hero__grid,
.proof-rail,
.offer-layout,
.system-layout,
.workflow-layout,
.closing-panel {
    width: var(--content-width);
    margin: 0 auto;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(25rem, 0.9fr);
    align-items: start;
    gap: clamp(2.1rem, 4vw, 5rem) clamp(2.4rem, 5vw, 6rem);
    min-height: min(900px, calc(100svh - 7rem));
}

.hero__headline {
    grid-column: 1 / -1;
    position: relative;
    z-index: 3;
    max-width: none;
    padding-right: clamp(0rem, 8vw, 7rem);
}

.hero__copy {
    position: relative;
    z-index: 3;
    max-width: 34rem;
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.eyebrow--light {
    color: rgba(247, 239, 230, 0.68);
}

.hero h1,
.offer-intro h2,
.system-copy h2,
.workflow-copy h2,
.closing-panel h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.035em;
}

.hero h1 {
    max-width: none;
    font-size: clamp(3.9rem, 7.2vw, 6.9rem);
    color: #f7efe6;
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero h1 span {
    display: block;
}

.hero__lead,
.offer-intro p,
.system-copy p,
.workflow-copy p,
.offer-line p,
.workflow-step p,
.closing-panel p {
    margin: 1.15rem 0 0;
    font-size: clamp(1rem, 1.35vw, 1.08rem);
    line-height: 1.75;
}

.hero__lead {
    max-width: 31rem;
    color: rgba(247, 239, 230, 0.74);
    margin-top: 0;
}

.hero__list {
    display: grid;
    gap: 0.7rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.hero__list li {
    position: relative;
    padding-left: 1.15rem;
    color: rgba(247, 239, 230, 0.7);
}

.hero__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.85rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12rem;
    min-height: 3.3rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-weight: 700;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

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

.button--primary {
    color: #f8f5f0;
    background: var(--accent);
    box-shadow: 0 18px 40px rgba(15, 122, 113, 0.24);
}

.button--secondary {
    color: #f7efe6;
    border-color: rgba(247, 239, 230, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.hero__media {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: min(100%, 38rem);
    margin-left: 0;
    align-self: start;
}

.hero__caption {
    margin: 0 0 0.85rem;
    color: rgba(247, 239, 230, 0.68);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-scene {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(247, 239, 230, 0.08);
    box-shadow: var(--shadow);
}

.hero-scene img {
    width: 100%;
    height: auto;
    transform: scale(1.01);
}

.proof-rail {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid rgba(247, 239, 230, 0.1);
}

.proof-rail__item {
    display: grid;
    gap: 0.42rem;
}

.proof-rail__item strong {
    color: #f7efe6;
    font-size: clamp(1.25rem, 2vw, 1.9rem);
    letter-spacing: -0.04em;
}

.proof-rail__item span {
    max-width: 22ch;
    color: rgba(247, 239, 230, 0.62);
    line-height: 1.55;
}

.section {
    padding: var(--section-space) var(--page-pad);
}

.section--paper {
    background: var(--paper);
}

.section--sand {
    background: linear-gradient(180deg, var(--paper-strong) 0%, var(--sand) 100%);
}

.section--ink {
    color: #f7efe6;
    background:
        radial-gradient(circle at top left, rgba(15, 122, 113, 0.14), transparent 20%),
        linear-gradient(180deg, #181210 0%, #0f0b09 100%);
}

.section--ink .workflow-step p,
.section--ink .workflow-copy p,
.section--ink .workflow-step__phase {
    color: rgba(247, 239, 230, 0.68);
}

.section--ink .workflow-step {
    border-top-color: rgba(247, 239, 230, 0.12);
}

.section--ink .workflow-step:last-child {
    border-bottom-color: rgba(247, 239, 230, 0.12);
}

.offer-layout,
.system-layout,
.workflow-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(2rem, 4vw, 5rem);
    align-items: start;
}

.offer-intro h2,
.system-copy h2,
.workflow-copy h2,
.closing-panel h2 {
    font-size: clamp(2.8rem, 5.6vw, 5.6rem);
    text-wrap: balance;
}

.offer-lines,
.workflow-list {
    display: grid;
}

.offer-line,
.workflow-step {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
}

.offer-line:last-child,
.workflow-step:last-child {
    border-bottom: 1px solid var(--line);
}

.offer-line__index,
.workflow-step__phase {
    padding-top: 0.25rem;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.offer-line__index {
    color: var(--accent);
}

.offer-line h3,
.workflow-step h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.72rem);
    letter-spacing: -0.03em;
}

.offer-line p,
.workflow-step p {
    max-width: 44rem;
}

.signal-wall {
    align-self: stretch;
    padding: clamp(1.25rem, 2vw, 1.8rem);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(15, 122, 113, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.34));
    box-shadow: 0 28px 70px rgba(21, 17, 15, 0.08);
}

.signal-wall__row {
    display: grid;
    grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(21, 17, 15, 0.1);
}

.signal-wall__row:first-child {
    border-top: none;
    padding-top: 0.2rem;
}

.signal-wall__label {
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.signal-wall__text {
    color: var(--ink-soft);
    line-height: 1.65;
    padding-top: 0.35rem;
}

.closing-panel {
    padding-top: 1.8rem;
    border-top: 1px solid var(--line);
}

.closing-link {
    display: inline-flex;
    margin-top: 1.8rem;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-drift] {
    transition: transform 220ms ease;
    will-change: transform;
}

@media (max-width: 1040px) {
    .hero__grid,
    .offer-layout,
    .system-layout,
    .workflow-layout {
        grid-template-columns: 1fr;
    }

    .hero__headline {
        padding-right: 0;
    }

    .hero__media {
        justify-self: stretch;
    }

    .proof-rail {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }
}

@media (max-width: 760px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 0.7rem 1rem;
    }

    .hero {
        padding-top: 8.5rem;
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(2.9rem, 13vw, 4.6rem);
    }

    .offer-line,
    .workflow-step,
    .signal-wall__row {
        grid-template-columns: 1fr;
    }

    .signal-wall__row {
        gap: 0.55rem;
    }
}
