:root {
    --paper: #f7f3e9;
    --paper-deep: #ebe5d6;
    --ink: #19211b;
    --muted: #5c675e;
    --pine: #1f493d;
    --pine-dark: #14342b;
    --clay: #a0412d;
    --gold: #c6974b;
    --mist: #e3e9e2;
    --line: #d7d0bf;
    --white: #fffdf8;
    --shadow: 0 18px 55px rgba(25, 33, 27, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Avenir Next", "Segoe UI", Verdana, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 54px);
    border-bottom: 1px solid rgba(31, 73, 61, 0.16);
    background: rgba(247, 243, 233, 0.94);
    backdrop-filter: blur(18px);
}

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

.brand-mark {
    display: inline-grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: var(--paper);
    background: var(--pine);
    font-family: Charter, "Iowan Old Style", Georgia, serif;
    font-size: 0.82rem;
    letter-spacing: 0;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.top-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--pine-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    background: var(--mist);
    outline: none;
}

main {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(44px, 7vw, 98px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 72px);
    background:
        linear-gradient(120deg, rgba(31, 73, 61, 0.08), transparent 38%),
        repeating-linear-gradient(90deg, rgba(160, 65, 45, 0.055) 0, rgba(160, 65, 45, 0.055) 1px, transparent 1px, transparent 44px),
        var(--paper);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--clay);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--pine-dark);
    font-family: Charter, "Iowan Old Style", Cambria, Georgia, serif;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 900px;
    font-size: clamp(2.35rem, 5.2vw, 4.9rem);
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 3rem);
}

h3 {
    font-size: 1.25rem;
}

.lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid var(--pine);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 850;
    line-height: 1.1;
}

.button.primary {
    color: var(--paper);
    background: var(--pine);
}

.button.secondary {
    color: var(--pine);
    background: rgba(255, 253, 248, 0.74);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(31, 73, 61, 0.18);
    outline: none;
}

.hero-visual {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.page-hero {
    padding: clamp(46px, 8vw, 112px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 70px);
    background:
        linear-gradient(135deg, rgba(198, 151, 75, 0.18), transparent 42%),
        linear-gradient(90deg, rgba(31, 73, 61, 0.12), transparent 65%),
        var(--paper);
}

.page-hero .lead {
    max-width: 850px;
}

.content-section {
    padding: clamp(38px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.content-section.band {
    border-block: 1px solid var(--line);
    background: var(--white);
}

.narrow {
    max-width: 860px;
}

.wide {
    max-width: 1180px;
    margin: 0 auto;
}

.narrow,
.cta-band {
    margin-inline: auto;
}

.content-section p,
.content-section li,
.section-intro {
    color: var(--muted);
    font-size: 1.03rem;
}

.content-section h2 + p,
.content-section h2 + ul,
.section-intro {
    margin-top: 16px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.link-card {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    text-decoration: none;
}

.link-card strong {
    color: var(--pine-dark);
    font-family: Charter, "Iowan Old Style", Cambria, Georgia, serif;
    font-size: 1.28rem;
    line-height: 1.15;
}

.link-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.link-card:hover,
.link-card:focus-visible {
    border-color: var(--pine);
    box-shadow: 0 12px 30px rgba(31, 73, 61, 0.12);
    outline: none;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--gold);
    box-shadow: inset 0 0 0 3px var(--paper);
}

.check-list.warning li::before {
    background: var(--clay);
}

.table-wrap {
    overflow-x: auto;
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

th,
td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

thead th {
    color: var(--paper);
    background: var(--pine);
    font-size: 0.92rem;
}

tbody th {
    color: var(--pine-dark);
    font-weight: 850;
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-bottom: 0;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    padding: clamp(26px, 4vw, 42px);
    margin-block: clamp(32px, 5vw, 72px);
    border: 1px solid rgba(31, 73, 61, 0.26);
    border-radius: 8px;
    background: var(--pine-dark);
    color: var(--paper);
}

.cta-band h2 {
    color: var(--paper);
    font-size: clamp(1.45rem, 3vw, 2.45rem);
}

.cta-band p {
    max-width: 710px;
    margin: 10px 0 0;
    color: rgba(247, 243, 233, 0.78);
}

.cta-band .button.primary {
    flex: 0 0 auto;
    border-color: var(--gold);
    color: var(--pine-dark);
    background: var(--gold);
}

.faq details {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

.faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    color: var(--pine-dark);
    font-weight: 850;
}

.faq summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.site-footer {
    padding: clamp(38px, 6vw, 76px) clamp(18px, 5vw, 72px);
    color: rgba(247, 243, 233, 0.78);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}

.site-footer strong,
.site-footer h2 {
    display: block;
    margin: 0 0 12px;
    color: var(--paper);
    font-family: "Avenir Next", "Segoe UI", Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 850;
}

.site-footer p {
    margin: 0;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: rgba(247, 243, 233, 0.78);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--gold);
    outline: none;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-visual {
        max-width: 760px;
    }

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

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

@media (max-width: 720px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-block: 12px;
    }

    .brand {
        align-items: flex-start;
    }

    .top-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 3px;
        justify-content: stretch;
        width: 100%;
    }

    .top-nav a {
        justify-content: center;
        min-height: 36px;
        padding: 7px 4px;
        font-size: 0.86rem;
    }

    h1 {
        font-size: clamp(2.12rem, 12vw, 3.1rem);
    }

    .hero,
    .page-hero,
    .content-section {
        padding-inline: 18px;
    }

    .hero {
        gap: 22px;
        padding-top: 34px;
        padding-bottom: 28px;
    }

    .lead {
        margin-top: 16px;
        font-size: 1rem;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .link-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .link-card {
        min-height: 132px;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        margin-inline: 18px;
    }
}

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