:root {
    --bg: #f4efe7;
    --paper: #fffaf3;
    --ink: #1c1917;
    --muted: #6b6258;
    --line: #d5c7b8;
    --brand: #b45309;
    --brand-deep: #7c2d12;
    --forest: #365314;
    --night: #111827;
    --sand: #eadcc8;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(28, 25, 23, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(180, 83, 9, 0.12), transparent 30%),
        linear-gradient(180deg, #f8f4ed 0%, #f2ede5 100%);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

a {
    color: inherit;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.topline {
    background: var(--night);
    color: var(--white);
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
}

.topline .shell {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.masthead {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 250, 243, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(124, 45, 18, 0.12);
}

.masthead .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand {
    text-decoration: none;
    display: grid;
    gap: 4px;
}

.brand-mark {
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.brand-name {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-name span {
    color: var(--brand-deep);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    font-size: 15px;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
}

.nav a:hover,
.nav a.is-active {
    color: var(--brand-deep);
}

.cta,
.ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    min-height: 46px;
    text-decoration: none;
    font-weight: 700;
}

.cta {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand));
    color: var(--white);
    box-shadow: var(--shadow);
}

.ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.hero {
    padding: 72px 0 54px;
}

.hero-grid,
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
}

.hero-copy {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(124, 45, 18, 0.88));
    color: var(--white);
    padding: 42px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
}

.eyebrow {
    margin: 0 0 14px;
    font-family: Consolas, "Courier New", monospace;
    color: #f7c47a;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0 0 16px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(40px, 7vw, 78px);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
}

h3 {
    font-size: 23px;
}

.lead {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero-note {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.hero-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-panel ul,
.checklist {
    margin: 0;
    padding-left: 20px;
}

.hero-panel li,
.checklist li {
    margin-bottom: 10px;
}

.section {
    padding: 34px 0 72px;
}

.section.alt {
    background: linear-gradient(180deg, rgba(234, 220, 200, 0.45), rgba(255, 250, 243, 0));
}

.kicker {
    color: var(--brand-deep);
    font-family: Consolas, "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    margin: 0 0 10px;
}

.intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.grid-3,
.grid-2,
.stats {
    display: grid;
    gap: 18px;
}

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

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

.card,
.stat,
.notice,
.quote {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.card p,
.stat p,
.quote p,
.notice p {
    color: var(--muted);
    margin-bottom: 0;
}

.stat strong {
    display: block;
    font-size: 34px;
    margin-bottom: 8px;
    color: var(--brand-deep);
}

.split-copy {
    background: rgba(255, 250, 243, 0.78);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
}

.split-copy p {
    color: var(--muted);
}

.notice {
    border-left: 6px solid var(--forest);
}

.quote {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.08), rgba(54, 83, 20, 0.08));
}

.quote strong {
    display: block;
    margin-bottom: 10px;
}

.contact-box {
    background: var(--night);
    color: var(--white);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-box a {
    color: #f7c47a;
}

.page-hero {
    padding: 68px 0 30px;
}

.page-hero .panel {
    background: linear-gradient(135deg, var(--night), var(--brand-deep));
    color: var(--white);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.page-hero .panel p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 820px;
    font-size: 19px;
}

.footer {
    background: #16110d;
    color: #e8ddd0;
    padding: 34px 0 46px;
}

.footer .shell {
    display: grid;
    gap: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-links a {
    text-decoration: none;
    color: #f7c47a;
    font-weight: 700;
}

@media (max-width: 900px) {
    .topline .shell,
    .masthead .shell,
    .hero-grid,
    .split,
    .grid-3,
    .grid-2,
    .stats {
        grid-template-columns: 1fr;
        display: grid;
    }

    .masthead .shell {
        justify-content: flex-start;
    }

    .nav {
        gap: 8px 14px;
    }

    .hero-copy,
    .hero-panel,
    .page-hero .panel,
    .contact-box {
        padding: 26px;
    }
}
