:root {
    --red: #ec1d2d;
    --red-dark: #ba1020;
    --solution-green: #52A86A;
    --solution-green-dark: #4A9960;
    --ink: #171616;
    --muted: #5b5652;
    --paper: #fff8ef;
    --white: #ffffff;
    --teal: #087982;
    --gold: #f3bd36;
    --line: rgba(23, 22, 22, .14);
    --shadow: 0 24px 70px rgba(23, 22, 22, .22);
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

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

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

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px clamp(18px, 4vw, 46px);
    color: var(--white);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 248, 239, .94);
    color: var(--ink);
    box-shadow: 0 10px 30px rgba(23, 22, 22, .08);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: .04em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    font-size: 14px;
    font-weight: 700;
}

.top-nav a {
    text-decoration: none;
}

.nav-buy {
    padding: 9px 14px;
    border: 1px solid currentColor;
    border-radius: 8px;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .44);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.site-header.is-scrolled .language-switch {
    border-color: rgba(23, 22, 22, .18);
    background: rgba(23, 22, 22, .04);
}

.lang-option {
    display: grid;
    width: 34px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    opacity: .68;
    text-decoration: none;
    transition: background .18s ease, opacity .18s ease, transform .18s ease;
}

.lang-option:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.lang-option.is-active {
    background: rgba(255, 255, 255, .2);
    opacity: 1;
}

.site-header.is-scrolled .lang-option.is-active,
.simple-header .lang-option.is-active {
    background: rgba(23, 22, 22, .08);
}

.lang-option img {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .55);
}

.section-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    position: relative;
    display: grid;
    min-height: min(760px, 88svh);
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(23, 22, 22, .86), rgba(23, 22, 22, .28) 52%, rgba(236, 29, 45, .08)),
        linear-gradient(135deg, #e81728 0%, #ef2332 45%, #ffffff 130%);
    color: var(--white);
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .62) 55%, transparent 100%);
}

.hero::after {
    position: absolute;
    right: -8vw;
    bottom: -10vw;
    z-index: -1;
    width: 52vw;
    min-width: 520px;
    aspect-ratio: 1;
    content: "";
    background: var(--solution-green);
    clip-path: polygon(18% 0, 100% 14%, 82% 100%, 0 74%);
    opacity: .92;
}

.hero-media {
    position: absolute;
    right: clamp(20px, 8vw, 130px);
    bottom: clamp(-150px, -8vw, -84px);
    z-index: 1;
    width: clamp(260px, 34vw, 480px);
    transform: rotate(-5deg);
    filter: drop-shadow(0 36px 42px rgba(23, 22, 22, .32));
}

.solution-mark {
    position: absolute;
    right: clamp(-78px, -3.5vw, -34px);
    bottom: clamp(88px, 11vw, 150px);
    z-index: 0;
    width: clamp(230px, 23vw, 360px);
    opacity: .3;
    transform: rotate(8deg);
    filter: drop-shadow(0 10px 22px rgba(23, 22, 22, .12));
    pointer-events: none;
}

.hero-media img {
    border-radius: 3px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 40px));
    margin: auto auto auto max(20px, calc((100vw - var(--max)) / 2));
    padding: 86px 0 36px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--gold);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: 0;
}

h1 {
    max-width: 820px;
    font-size: clamp(44px, 5.8vw, 76px);
}

h2 {
    max-width: 760px;
    font-size: clamp(34px, 4.8vw, 66px);
}

h3 {
    font-size: clamp(20px, 2.1vw, 26px);
}

.hero-lede {
    max-width: 650px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    cursor: pointer;
}

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

.button.primary {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(23, 22, 22, .25);
}

.hero .button.primary,
.amazon-section .button.primary,
.thanks .button.primary {
    background: var(--white);
    color: var(--red-dark);
}

.button.secondary {
    border-color: currentColor;
    background: transparent;
    color: currentColor;
}

.button.full {
    width: 100%;
}

.button:disabled {
    opacity: .7;
    transform: none;
    cursor: progress;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-proof span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 800;
}

.opening {
    background: var(--ink);
    color: var(--white);
}

.opening .section-inner {
    padding: clamp(24px, 3.2vw, 42px) 0;
}

.opening-question {
    max-width: 930px;
    margin: 0;
    color: var(--white);
    font-size: clamp(27px, 4.6vw, 62px);
    font-weight: 900;
    line-height: 1.08;
}

.thesis,
.readers,
.reviews,
.narrative,
.lead-section,
.amazon-section {
    padding: clamp(64px, 9vw, 118px) 0;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: start;
}

.thesis-text {
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
}

.thesis-text p {
    margin: 0 0 18px;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: clamp(34px, 5vw, 64px);
}

.signal-card,
.reader-grid article,
.steps article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.signal-card {
    min-height: 240px;
    padding: 22px;
    text-align: center;
}

.signal-card span,
.steps span {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--red);
    font-size: 13px;
    font-weight: 1000;
}

.signal-card span {
    display: block;
    margin-bottom: 24px;
    font-size: clamp(58px, 7vw, 96px);
    line-height: .82;
}

.signal-card h3,
.steps h3,
.reader-grid h3 {
    margin-bottom: 12px;
}

.signal-card p,
.reader-grid p,
.steps p {
    margin: 0;
    color: var(--muted);
}

.quote-band {
    padding: clamp(54px, 8vw, 106px) 0;
    background: var(--red);
    color: var(--white);
}

blockquote {
    max-width: 1030px;
    margin: 0;
    font-size: clamp(34px, 5.3vw, 76px);
    font-weight: 950;
    line-height: 1.04;
}

.reader-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.reader-grid article {
    padding: 28px;
    background: var(--white);
}

.reviews {
    background: var(--white);
}

.reviews-header {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, .62fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: end;
}

.reviews-header p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(32px, 5vw, 56px);
}

.review-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.review-heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.review-stars {
    flex: 0 0 auto;
    margin-top: 5px;
    color: #ff8a00;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
}

.review-card h3 {
    margin: 0;
    font-size: clamp(18px, 1.8vw, 23px);
    line-height: 1.08;
}

.review-card blockquote {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 500;
    line-height: 1.42;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 18px;
    padding-top: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.review-meta strong {
    width: 100%;
    color: var(--ink);
    font-size: 14px;
}

.review-meta span:not(:last-child)::after {
    margin-left: 10px;
    color: rgba(23, 22, 22, .25);
    content: "/";
}

.reviews-link {
    margin-top: 24px;
    color: var(--red-dark);
}

.narrative {
    background: #f2eadf;
}

.narrative-layout {
    display: grid;
    grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
    gap: clamp(32px, 7vw, 96px);
    align-items: center;
}

.back-cover {
    transform: rotate(2deg);
    filter: drop-shadow(var(--shadow));
}

.back-cover img {
    border-radius: 4px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.steps article {
    padding: 28px;
}

.steps span {
    margin-bottom: 34px;
}

.lead-section {
    background: var(--ink);
    color: var(--white);
}

.lead-section .eyebrow {
    color: var(--gold);
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 460px);
    gap: clamp(30px, 7vw, 92px);
    align-items: start;
}

.lead-layout p {
    max-width: 620px;
    color: rgba(255, 255, 255, .78);
    font-size: 20px;
}

.lead-form {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
}

.lead-form label {
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    font-weight: 850;
}

.lead-form input,
.lead-form select {
    width: 100%;
    min-height: 50px;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    outline: 0;
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(243, 189, 54, .22);
}

.lead-form .consent {
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    font-weight: 600;
    line-height: 1.35;
}

.lead-form .consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

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

.form-note {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.amazon-section {
    background:
        linear-gradient(90deg, rgba(236, 29, 45, .95), rgba(236, 29, 45, .82)),
        var(--red);
    color: var(--white);
}

.amazon-section .eyebrow {
    color: var(--gold);
}

.amazon-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(220px, 340px);
    gap: clamp(30px, 7vw, 80px);
    align-items: center;
}

.amazon-layout p {
    max-width: 680px;
    color: rgba(255, 255, 255, .82);
    font-size: 21px;
}

.book-mini {
    justify-self: center;
    width: min(280px, 70vw);
    transform: rotate(-4deg);
    filter: drop-shadow(0 28px 30px rgba(23, 22, 22, .24));
}

.site-footer {
    padding: 28px 0;
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-layout p {
    margin: 0;
}

.footer-layout div {
    display: flex;
    gap: 18px;
}

.footer-layout a {
    text-decoration: none;
}

.thanks-page,
.legal-page {
    min-height: 100svh;
    background: var(--red);
}

.thanks,
.legal {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 72px;
    color: var(--white);
}

.thanks-brand {
    margin-bottom: 40px;
}

.simple-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 40px;
    color: var(--white);
}

.thanks-panel,
.legal-content {
    padding: clamp(26px, 5vw, 54px);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.thanks-panel .eyebrow {
    color: var(--red);
}

.thanks-panel h1,
.legal-content h1 {
    font-size: clamp(38px, 6vw, 70px);
}

.thanks-panel p,
.legal-content p {
    color: var(--muted);
    font-size: 18px;
}

.manifesto {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding-left: 22px;
    font-size: 20px;
    font-weight: 800;
}

.thanks-panel .button.primary {
    background: var(--red);
    color: var(--white);
}

.thanks-panel .button.secondary {
    color: var(--ink);
}

.legal-content {
    max-width: 760px;
}

.legal-content a {
    color: var(--red-dark);
    font-weight: 800;
}

@media (max-width: 980px) {
    .top-nav a:not(.nav-buy) {
        display: none;
    }

    .hero {
        min-height: 88svh;
    }

    .hero-copy {
        width: min(680px, calc(100% - 36px));
        margin: auto auto auto 18px;
        padding-top: 112px;
        padding-bottom: 230px;
    }

    .hero-media {
        right: 22px;
        bottom: -170px;
        width: min(330px, 57vw);
    }

    .solution-mark {
        right: -58px;
        bottom: 122px;
        width: 240px;
        opacity: .25;
    }

    .hero::after {
        right: -180px;
        bottom: -190px;
        min-width: 460px;
    }

    .split,
    .reviews-header,
    .lead-layout,
    .amazon-layout {
        grid-template-columns: 1fr;
    }

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

    .reader-grid,
    .review-grid,
    .steps {
        grid-template-columns: 1fr;
    }

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

    .back-cover {
        width: min(320px, 78vw);
        margin: 0 auto;
    }
}

@media (max-width: 620px) {
    .site-header {
        padding: 12px 14px;
    }

    .header-actions,
    .top-nav {
        gap: 8px;
    }

    .brand span:last-child {
        max-width: 118px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .nav-buy {
        padding: 8px 10px;
    }

    .language-switch {
        gap: 2px;
        padding: 2px;
    }

    .lang-option {
        width: 30px;
        height: 28px;
    }

    .lang-option img {
        width: 20px;
        height: 20px;
    }

    .section-inner {
        width: min(var(--max), calc(100% - 28px));
    }

    .hero {
        min-height: 78svh;
    }

    .hero-copy {
        width: calc(100% - 28px);
        margin-left: 14px;
        padding-top: 82px;
        padding-bottom: 82px;
    }

    h1 {
        font-size: clamp(38px, 13vw, 52px);
    }

    h2 {
        font-size: clamp(33px, 11vw, 48px);
    }

    .hero-lede {
        margin-top: 16px;
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 22px;
    }

    .button {
        min-height: 48px;
    }

    .hero-proof span {
        font-size: 12px;
    }

    .hero-media {
        right: -18px;
        bottom: -148px;
        width: 220px;
        opacity: .9;
    }

    .solution-mark {
        right: -46px;
        bottom: 82px;
        width: 190px;
        opacity: .22;
        transform: rotate(8deg);
    }

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

    .signal-card {
        min-height: auto;
    }

    .lead-form {
        padding: 18px;
    }

    .footer-layout {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
