:root {
    --bg: #f4ecdf;
    --bg-deep: #e3d4bd;
    --paper: rgba(255, 250, 243, 0.8);
    --paper-strong: rgba(255, 249, 241, 0.94);
    --ink: #17120f;
    --ink-soft: #4b4036;
    --muted: #756759;
    --line: rgba(23, 18, 15, 0.1);
    --line-strong: rgba(23, 18, 15, 0.18);
    --accent: #b97842;
    --accent-deep: #6e4322;
    --accent-soft: rgba(185, 120, 66, 0.14);
    --shadow: 0 28px 80px rgba(47, 29, 14, 0.12);
    --shadow-strong: 0 34px 90px rgba(23, 15, 8, 0.22);
    --content: 1220px;
    --radius-xl: 44px;
    --radius-lg: 30px;
    --radius-md: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(185, 120, 66, 0.18), transparent 26rem),
        radial-gradient(circle at 90% 10%, rgba(110, 67, 34, 0.12), transparent 28rem),
        linear-gradient(180deg, #f7f0e7 0%, #efe2cf 42%, #f6efe5 100%);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(23, 18, 15, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 18, 15, 0.024) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 74%);
}

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

a {
    color: inherit;
}

.page-shell {
    width: min(calc(100% - 32px), var(--content));
    margin: 0 auto;
    padding: 24px 0 58px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0 28px;
}

.topbar-soft {
    position: relative;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark {
    width: 54px;
    height: 54px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 18px;
    background: linear-gradient(145deg, #191511, #080706);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-kicker {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-link {
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.56);
    color: var(--ink-soft);
    font-size: 0.94rem;
    text-decoration: none;
    backdrop-filter: blur(16px);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.topbar-link:hover {
    transform: translateY(-1px);
    border-color: rgba(110, 67, 34, 0.22);
}

.topbar-link-strong {
    background: linear-gradient(135deg, #1b1713, #090705);
    color: #fff6eb;
    border-color: rgba(23, 18, 15, 0.12);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 8px 14px;
    border: 1px solid rgba(23, 18, 15, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #dfb88d);
}

.eyebrow-dark {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 244, 233, 0.74);
}

.landing-stage,
.policy-stage {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.landing-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 26px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background:
        linear-gradient(140deg, rgba(255, 250, 243, 0.94), rgba(246, 236, 222, 0.86)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.landing-stage::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -110px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 120, 66, 0.24), transparent 72%);
}

.landing-stage-copy,
.landing-stage-side,
.policy-stage-head,
.policy-stage-body {
    position: relative;
    z-index: 1;
}

.landing-stage h1,
.policy-stage h1 {
    margin: 18px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(3.25rem, 7vw, 7rem);
    line-height: 0.92;
    letter-spacing: -0.068em;
}

.lede {
    max-width: 44rem;
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.74;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button-primary {
    border: 1px solid rgba(23, 18, 15, 0.12);
    background: linear-gradient(135deg, #1c1814, #090806);
    color: #fff8ef;
}

.button-secondary {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.48);
    color: var(--ink-soft);
}

.landing-stage-side {
    display: flex;
    align-items: stretch;
}

.signal-panel,
.editorial-panel,
.policy-rail,
.policy-atlas,
.chapter,
.policy-closing {
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.signal-panel {
    width: 100%;
    padding: 24px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(252, 245, 236, 0.82)),
        var(--paper);
}

.signal-label,
.editorial-kicker,
.policy-summary-label,
.policy-atlas-label,
.policy-rail-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent-deep);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.signal-grid {
    display: grid;
    gap: 18px;
}

.signal-grid strong,
.editorial-panel h2,
.policy-atlas strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.signal-grid strong {
    margin-bottom: 6px;
    font-size: 1.22rem;
}

.signal-grid p,
.editorial-panel p,
.policy-rail-intro p,
.policy-rail-note p,
.policy-atlas p,
.chapter-meta p,
.chapter-body p,
.chapter-body li,
.policy-closing p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.72;
    font-size: 0.99rem;
}

.landing-ribbon {
    margin-top: 18px;
    padding: 18px 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.landing-ribbon p {
    margin: 0;
    max-width: 72rem;
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.6;
    letter-spacing: -0.024em;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.editorial-panel {
    padding: 26px;
    border-radius: 30px;
}

.editorial-panel-featured {
    min-height: 300px;
    background:
        linear-gradient(145deg, rgba(255, 248, 240, 0.9), rgba(246, 235, 221, 0.82)),
        var(--paper);
}

.editorial-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.02;
}

.editorial-panel-quote {
    grid-column: 1 / -1;
    padding: 24px 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 247, 238, 0.84)),
        var(--paper);
}

.editorial-panel-quote p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.28rem, 2vw, 1.62rem);
    line-height: 1.6;
    letter-spacing: -0.02em;
}

.policy-stage {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(145deg, rgba(22, 17, 13, 0.96), rgba(54, 38, 27, 0.92)),
        radial-gradient(circle at top right, rgba(223, 179, 122, 0.18), transparent 34rem);
    box-shadow: var(--shadow-strong);
    color: #f7efe4;
}

.policy-stage::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-stage-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.policy-stage-body {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 24px;
    margin-top: 24px;
}

.policy-stage .lede {
    color: rgba(247, 239, 228, 0.82);
}

.policy-stage-mark-wrap {
    padding-top: 4px;
}

.policy-stage-mark {
    width: 78px;
    height: 78px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.05);
}

.policy-stage-summary {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
}

.policy-stage-summary strong {
    display: block;
    color: #fff5ea;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    font-weight: 500;
}

.policy-summary-label {
    color: rgba(247, 239, 228, 0.64);
    margin-bottom: 6px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    margin-top: 26px;
}

.policy-rail {
    position: sticky;
    top: 20px;
    align-self: start;
    padding: 18px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 250, 243, 0.88), rgba(252, 244, 235, 0.74)),
        var(--paper);
}

.policy-rail-shell {
    display: grid;
    gap: 18px;
}

.policy-rail-intro,
.policy-rail-note {
    padding: 4px 2px 0;
}

.policy-rail-list {
    display: grid;
    gap: 8px;
}

.policy-rail-list a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease,
        box-shadow 180ms ease;
}

.policy-rail-list a:hover,
.policy-rail-list a.is-active {
    transform: translateY(-1px);
    border-color: rgba(110, 67, 34, 0.18);
    background: rgba(255, 252, 248, 0.86);
    box-shadow: 0 18px 34px rgba(47, 29, 14, 0.08);
}

.policy-rail-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: 1px solid rgba(23, 18, 15, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--accent-deep);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.policy-rail-list strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.policy-main {
    display: grid;
    gap: 20px;
}

.policy-atlas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: 30px;
}

.policy-atlas article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.42);
}

.policy-atlas strong {
    margin-bottom: 8px;
    font-size: 1.16rem;
}

.chapter-list {
    display: grid;
    gap: 18px;
}

.chapter {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
    gap: 26px;
    padding: 26px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.chapter::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(23, 18, 15, 0.12), transparent);
}

.chapter-accent {
    background:
        linear-gradient(145deg, rgba(185, 120, 66, 0.12), rgba(255, 250, 243, 0.84)),
        var(--paper-strong);
}

.chapter-meta {
    padding-right: 10px;
}

.chapter-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 36px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid rgba(23, 18, 15, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.chapter-meta h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.chapter-body {
    display: grid;
    gap: 12px;
    padding-left: 10px;
}

.chapter-body ul {
    margin: 0;
    padding-left: 18px;
    color: var(--ink-soft);
    line-height: 1.72;
}

.chapter-body li + li {
    margin-top: 8px;
}

.policy-closing {
    padding: 22px 26px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 248, 240, 0.9)),
        var(--paper);
}

.policy-closing p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.18rem, 2vw, 1.52rem);
    line-height: 1.62;
    letter-spacing: -0.02em;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    padding: 10px 2px 0;
}

.footer small {
    color: var(--muted);
}

.footer a {
    color: var(--accent-deep);
}

@media (max-width: 1100px) {
    .landing-stage,
    .policy-stage-body,
    .policy-layout,
    .policy-atlas,
    .chapter,
    .landing-grid {
        grid-template-columns: 1fr;
    }

    .policy-rail {
        position: static;
    }

    .chapter::before {
        display: none;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(calc(100% - 20px), var(--content));
        padding-top: 14px;
    }

    .topbar,
    .topbar-actions,
    .policy-stage-head,
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-stage,
    .policy-stage,
    .signal-panel,
    .editorial-panel,
    .policy-rail,
    .policy-atlas,
    .chapter,
    .policy-closing {
        padding: 20px;
        border-radius: 28px;
    }

    .landing-stage h1,
    .policy-stage h1 {
        font-size: clamp(2.8rem, 12vw, 4.6rem);
    }

    .policy-rail-list a {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 11px 12px;
    }

    .hero-actions,
    .topbar-actions {
        width: 100%;
    }

    .button,
    .topbar-link {
        width: 100%;
    }
}

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

    .button,
    .topbar-link,
    .policy-rail-list a {
        transition: none;
    }
}
