:root {
    --paper: #f4eee1;
    --paper-deep: #eae2cf;
    --ink: #14110e;
    --muted: #756b5b;
    --coral: #c0421c;
    --gold: #8e6942;
    --line: rgba(20, 17, 14, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 4px;
}

.shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(244, 238, 225, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Syne", sans-serif;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.brand b {
    color: var(--coral);
}

.brand i {
    color: var(--gold);
    font-style: normal;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-links a:hover,
.legal-nav a:hover {
    color: var(--coral);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    border-bottom: 1px solid var(--line);
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -190px;
    top: -270px;
    border: 1px solid rgba(192, 66, 28, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 84px rgba(142, 105, 66, 0.07), 0 0 0 168px rgba(192, 66, 28, 0.045);
    pointer-events: none;
}

.eyebrow,
.section-number {
    font-family: "Space Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral);
}

h1,
h2 {
    font-family: "Fraunces", serif;
    letter-spacing: 0;
}

h1 {
    max-width: 800px;
    margin: 20px 0 18px;
    font-size: clamp(46px, 7vw, 84px);
    font-weight: 500;
    line-height: 0.98;
}

h1 em {
    color: var(--coral);
    font-weight: 400;
}

.hero-copy {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 42px;
    margin-top: 34px;
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.meta-row span {
    color: var(--muted);
}

.meta-row strong {
    color: var(--ink);
    font-weight: 700;
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 88px;
    padding: 72px 0 100px;
}

.legal-nav {
    position: sticky;
    top: 108px;
    align-self: start;
    display: grid;
    gap: 12px;
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.legal-nav strong {
    margin-bottom: 8px;
    color: var(--ink);
}

.legal-content {
    max-width: 760px;
}

.policy-section {
    padding: 0 0 52px;
    margin-bottom: 52px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 110px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    margin: 8px 0 20px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 550;
    line-height: 1.1;
}

.policy-section p {
    margin: 0 0 16px;
    color: #3f3932;
}

.policy-section ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.policy-section li {
    position: relative;
    margin: 0 0 14px;
    padding-left: 25px;
    color: #3f3932;
}

.policy-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 2px;
    background: var(--coral);
}

.policy-section a,
.contact-band a {
    color: var(--coral);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.notice {
    margin: 22px 0;
    padding: 20px 22px;
    border-left: 3px solid var(--coral);
    background: var(--paper-deep);
    color: var(--ink);
}

.contact-band {
    padding: 48px 0;
    background: var(--ink);
    color: var(--paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    align-items: end;
}

.contact-grid h2 {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 500;
}

.contact-item {
    color: #c9bfae;
    font-size: 14px;
}

.contact-item b {
    display: block;
    margin-bottom: 8px;
    color: var(--paper);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer {
    padding: 26px 0;
    background: var(--ink);
    border-top: 1px solid rgba(244, 238, 225, 0.14);
    color: #a99f8f;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 800px) {
    .shell {
        width: min(100% - 32px, 1120px);
    }

    .header-inner {
        min-height: 68px;
    }

    .header-links a:not(:last-child) {
        display: none;
    }

    .hero {
        padding: 70px 0 54px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 46px;
        padding: 52px 0 72px;
    }

    .legal-nav {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: 30px;
        border-bottom: 1px solid var(--line);
    }

    .legal-nav strong {
        grid-column: 1 / -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-inner {
        flex-direction: column;
    }
}
