:root {
    --bg: #f4f1ea;
    --bg-panel: #faf8f3;
    --surface: #fffdf9;
    --surface-muted: #f7f2ea;
    --ink: #191917;
    --ink-soft: #4b4942;
    --ink-faint: #736f66;
    --line: #d9d0c2;
    --line-strong: #bfb3a2;
    --accent: #0c5b55;
    --accent-soft: #e2efec;
    --accent-warm: #8d5a35;
    --shadow-sm: 0 8px 24px rgba(42, 35, 24, 0.06);
    --shadow-md: 0 18px 48px rgba(42, 35, 24, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shell: min(1160px, calc(100vw - 48px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f6f3ed 0%, #f2eee6 100%);
    line-height: 1.62;
}

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

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

p,
li,
td,
th,
blockquote {
    overflow-wrap: anywhere;
    word-break: normal;
}

p,
li {
    color: var(--ink-soft);
}

.site-shell {
    width: var(--shell);
    margin: 0 auto;
    padding: 24px 0 64px;
}

.topbar {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 16px 20px;
    margin-bottom: 36px;
    background: rgba(255, 253, 249, 0.9);
    border: 1px solid rgba(25, 25, 23, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-mark {
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand-note {
    margin: 0;
    color: var(--ink-faint);
    font-size: 0.84rem;
}

.site-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.site-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    font-size: 0.94rem;
    color: var(--ink-faint);
    transition: background-color 160ms ease, color 160ms ease;
}

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(25, 25, 23, 0.08);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    border-radius: 999px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.88fr);
    gap: 22px;
    margin-bottom: 28px;
}

.hero-copy,
.hero-panel,
.info-card,
.decision-card,
.timeline-card,
.destination-card,
.callout-card,
.table-shell,
.role-section,
.section-band,
.summary-strip {
    background: var(--surface);
    border: 1px solid rgba(25, 25, 23, 0.08);
    box-shadow: var(--shadow-sm);
}

.hero-copy {
    padding: 38px;
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.hero-panel {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--surface-muted);
}

.eyebrow,
.panel-label,
.card-eyebrow,
.footer-kicker {
    margin: 0 0 12px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

h1,
h2,
h3 {
    margin: 0 0 14px;
    color: var(--ink);
    line-height: 1.14;
}

h1 {
    max-width: 15ch;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    max-width: 19ch;
    font-size: clamp(1.65rem, 2.8vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.08rem;
    font-weight: 700;
}

.lede {
    max-width: 62ch;
    margin-bottom: 24px;
    font-size: 1.06rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.96rem;
}

.button-primary {
    background: var(--ink);
    color: #fff;
}

.button-secondary {
    background: var(--accent-soft);
    color: var(--ink);
}

.signal-list,
.bullet-list,
.number-list {
    margin: 0;
    padding-left: 1.15rem;
}

.signal-list li + li,
.bullet-list li + li,
.number-list li + li {
    margin-top: 10px;
}

.section {
    margin: 24px 0 34px;
}

.section-band {
    padding: 26px;
    border-radius: var(--radius-xl);
}

.section-heading {
    max-width: 78ch;
    margin-bottom: 20px;
}

.section-heading p:last-child {
    margin-bottom: 0;
}

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

.four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.info-card,
.decision-card,
.timeline-card,
.destination-card,
.callout-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.summary-item {
    padding: 20px 22px;
    border-right: 1px solid rgba(25, 25, 23, 0.08);
}

.summary-item:last-child {
    border-right: 0;
}

.summary-item p {
    margin: 0;
    font-size: 0.96rem;
}

.summary-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--accent);
}

.destination-card {
    min-height: 220px;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.destination-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 91, 85, 0.22);
    box-shadow: var(--shadow-md);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.timeline-card {
    position: relative;
    padding-top: 52px;
}

.step-pill {
    position: absolute;
    top: 20px;
    left: 24px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
    gap: 20px;
    align-items: start;
}

.stacked-cards {
    display: grid;
    gap: 16px;
}

.diagram-frame {
    padding: 18px;
    background: var(--bg-panel);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(25, 25, 23, 0.08);
    box-shadow: var(--shadow-sm);
}

.table-shell {
    overflow-x: auto;
    padding: 10px;
    border-radius: var(--radius-xl);
}

.stack-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.compact-table {
    min-width: 680px;
}

.stack-table th,
.stack-table td {
    padding: 15px 14px;
    border-bottom: 1px solid rgba(25, 25, 23, 0.08);
    text-align: left;
    vertical-align: top;
}

.stack-table th {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(12, 91, 85, 0.04);
}

.stack-table td:first-child,
.stack-table th:first-child {
    white-space: nowrap;
}

.callout-card {
    background: #f2f7f6;
}

.callout-card.warning {
    background: #faf4ee;
}

.body-copy {
    margin: 0 0 14px;
}

.role-section {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.role-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 18px;
}

.prompt-list {
    display: grid;
    gap: 14px;
}

blockquote {
    margin: 0;
    padding: 16px 18px;
    border-left: 4px solid rgba(12, 91, 85, 0.42);
    background: rgba(12, 91, 85, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink);
}

.trio-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding: 28px 8px 8px;
    border-top: 1px solid rgba(25, 25, 23, 0.08);
}

.footer-copy {
    max-width: 46ch;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

@media (max-width: 1080px) {
    .hero,
    .split-section,
    .four-up,
    .three-up,
    .timeline-grid,
    .trio-links,
    .summary-strip,
    .role-layout {
        grid-template-columns: 1fr;
    }

    .summary-item {
        border-right: 0;
        border-bottom: 1px solid rgba(25, 25, 23, 0.08);
    }

    .summary-item:last-child {
        border-bottom: 0;
    }

    h1,
    h2 {
        max-width: none;
    }

    .two-up {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --shell: min(100vw - 24px, 1160px);
    }

    .site-shell {
        padding-top: 12px;
    }

    .topbar {
        flex-wrap: wrap;
        gap: 14px;
    }

    .nav-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 8px;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        text-align: center;
    }

    .hero-copy,
    .hero-panel,
    .info-card,
    .decision-card,
    .timeline-card,
    .destination-card,
    .callout-card,
    .role-section,
    .section-band {
        padding: 22px;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media print {
    body {
        background: #fff;
    }

    .topbar,
    .button,
    .nav-toggle {
        display: none !important;
    }

    .site-shell {
        width: 100%;
        padding: 0;
    }

    .hero-copy,
    .hero-panel,
    .info-card,
    .decision-card,
    .timeline-card,
    .destination-card,
    .callout-card,
    .table-shell,
    .section-band,
    .role-section,
    .diagram-frame,
    .summary-strip {
        box-shadow: none;
        background: #fff;
    }
}
