:root {
    color-scheme: dark;
    --ink: #f4efdc;
    --muted: #b8b6a8;
    --jade: #71d6ad;
    --jade-dark: #123a30;
    --paper: #fff8e5;
    --red: #e65c4f;
    --surface: #183129;
    --line: rgba(244, 239, 220, 0.14);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #0c1c18; }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 75% 20%, rgba(45, 119, 90, 0.32), transparent 32rem),
        linear-gradient(145deg, #10251f, #081511 70%);
}

a { color: inherit; }

.site-header,
main,
footer {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    aspect-ratio: 0.82;
    color: #176047;
    background: var(--paper);
    border-radius: 6px;
    box-shadow: 0 3px 0 #c9bfa6;
    font-family: Georgia, serif;
    font-size: 23px;
}

nav { display: flex; gap: 28px; }

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}

nav a:hover,
nav a:focus-visible { color: var(--jade); }

.hero {
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 7vw;
    padding-block: 80px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--jade);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 7vw, 6.7rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

h1 span { color: var(--jade); }

.lede {
    max-width: 610px;
    margin: 32px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.7;
}

.actions { display: flex; gap: 14px; margin-top: 36px; }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 750;
}

.button.primary { color: #0b211a; background: var(--jade); border-color: var(--jade); }
.button.secondary:hover { border-color: var(--jade); }

.tile-cluster {
    position: relative;
    min-height: 400px;
    filter: drop-shadow(0 32px 40px rgba(0, 0, 0, 0.38));
}

.tile {
    position: absolute;
    display: grid;
    place-items: center;
    width: 126px;
    height: 158px;
    color: #164b3b;
    background: linear-gradient(145deg, #fffef5, #ded3b9);
    border: 4px solid #ede5cf;
    border-radius: 14px;
    box-shadow: 7px 9px 0 #9c8968, inset 0 0 0 2px #cbbf9f;
    font-family: Georgia, serif;
    font-size: 4rem;
}

.tile-one { top: 32px; left: 16px; transform: rotate(-9deg); color: var(--red); }
.tile-two { top: 0; right: 15px; transform: rotate(8deg); }
.tile-three { bottom: 18px; left: 50px; transform: rotate(5deg); color: #2b76a3; }
.tile-four { right: 0; bottom: 42px; transform: rotate(-7deg); color: var(--red); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--line);
}

.feature-grid article { padding: 34px 32px 42px; }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-number { color: var(--jade); font: 700 0.72rem/1 monospace; }
.feature-grid h2 { margin: 22px 0 10px; font-size: 1.08rem; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.6; }

.legal-page { max-width: 760px; padding: 92px 0 120px; }
.legal-page h1 { font-size: clamp(3rem, 7vw, 5rem); line-height: 1; }
.legal-page .updated { margin: 20px 0 54px; color: var(--muted); }
.legal-page h2 { margin: 38px 0 10px; color: var(--jade); font-size: 1.1rem; }
.legal-page p { color: var(--muted); font-size: 1.04rem; line-height: 1.75; }

footer {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #7f928a;
    font-size: 0.82rem;
}

@media (max-width: 760px) {
    .site-header { align-items: flex-start; padding-block: 20px; }
    nav { gap: 14px; padding-top: 12px; }
    .brand span:last-child { display: none; }
    .hero { min-height: auto; grid-template-columns: 1fr; gap: 36px; padding-block: 70px 50px; }
    .tile-cluster { min-height: 330px; width: min(100%, 360px); margin-inline: auto; }
    .tile { width: 104px; height: 132px; font-size: 3.2rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
    footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}
