:root {
    color-scheme: light;
    --ink: #153c2e;
    --ink-soft: #406154;
    --accent: #245b46;
    --accent-hover: #1c4938;
    --paper: #faf7ee;
    --paper-deep: #f2ecde;
    --terracotta: #d98b67;
    --terracotta-soft: #f4d9cb;
    --white: #fffdf8;
    --line: rgba(21, 60, 46, 0.14);
    --shadow: 0 24px 70px rgba(21, 60, 46, 0.12);
    --radius-large: 32px;
    --radius-medium: 20px;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 84% 8%, rgba(217, 139, 103, 0.2), transparent 28rem),
        var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent-hover);
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--line);
}

.nav {
    width: min(calc(100% - 40px), var(--content-width));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(36, 91, 70, 0.22);
}

.brand-mark::before {
    content: "";
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: 5px -3px 0 -3px var(--accent), 5px -3px 0 -1px currentColor;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
    font-weight: 650;
}

.nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--accent);
}

.hero {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: 92px 0 76px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 64px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--terracotta);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(48px, 7vw, 84px);
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 46px);
}

h3 {
    margin-bottom: 12px;
    font-size: 23px;
}

.lead {
    max-width: 680px;
    margin: 0 0 32px;
    color: var(--ink-soft);
    font-size: clamp(19px, 2.2vw, 23px);
    line-height: 1.55;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 50px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
}

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

.button.secondary:hover {
    background: rgba(36, 91, 70, 0.07);
    color: var(--accent-hover);
}

.cue-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 42px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.64), rgba(255, 253, 248, 0.9)),
        var(--terracotta-soft);
    box-shadow: var(--shadow);
}

.cue-card::before,
.cue-card::after {
    content: "";
    position: absolute;
    left: 50%;
    border: 3px solid var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
}

.cue-card::before {
    top: 88px;
    width: 180px;
    height: 180px;
    opacity: 0.16;
}

.cue-card::after {
    top: 134px;
    width: 88px;
    height: 88px;
    opacity: 0.45;
}

.horizon {
    position: absolute;
    left: 0;
    right: 0;
    top: 56%;
    height: 4px;
    background: var(--accent);
    opacity: 0.85;
}

.horizon::before,
.horizon::after {
    content: "";
    position: absolute;
    top: -6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--terracotta);
}

.horizon::before {
    left: 22%;
}

.horizon::after {
    right: 22%;
}

.cue-label {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 34px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    text-align: center;
}

.section {
    padding: 82px 0;
}

.section.alt {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.68);
}

.section-inner {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.section-heading p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 19px;
}

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

.feature-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: rgba(255, 253, 248, 0.82);
}

.feature-card p {
    margin: 0;
    color: var(--ink-soft);
}

.feature-number {
    width: 38px;
    height: 38px;
    margin-bottom: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--terracotta-soft);
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.safety-note {
    padding: 34px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    border-radius: var(--radius-large);
    background: var(--ink);
    color: rgba(255, 253, 248, 0.8);
}

.safety-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--white);
    font-size: 20px;
}

.safety-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--terracotta-soft);
    font-weight: 800;
}

.page-hero {
    width: min(calc(100% - 40px), 820px);
    margin: 0 auto;
    padding: 78px 0 36px;
}

.page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 7vw, 66px);
}

.page-hero p {
    max-width: 700px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 19px;
}

.legal,
.support-content {
    width: min(calc(100% - 40px), 820px);
    margin: 0 auto;
    padding: 18px 0 96px;
}

.legal h2 {
    margin-top: 48px;
    margin-bottom: 14px;
    font-size: 30px;
}

.legal h3 {
    margin-top: 30px;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.legal p,
.legal li {
    color: #294c3e;
}

.legal ul {
    padding-left: 24px;
}

.date-block {
    margin: 0 0 34px;
    padding: 18px 20px;
    border-left: 4px solid var(--terracotta);
    border-radius: 0 12px 12px 0;
    background: rgba(217, 139, 103, 0.1);
    color: var(--ink-soft);
}

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

.support-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--white);
}

.support-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.support-card.full {
    grid-column: 1 / -1;
}

.site-footer {
    border-top: 1px solid var(--line);
}

.footer-inner {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: 30px 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--ink-soft);
    font-size: 14px;
}

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

.footer-links a {
    color: var(--ink-soft);
}

@media (max-width: 820px) {
    .hero {
        padding-top: 64px;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .cue-card {
        min-height: 360px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-number {
        margin-bottom: 22px;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 16px;
    }

    .nav {
        min-height: 68px;
    }

    .nav-links a:not(:last-child) {
        display: none;
    }

    .hero,
    .section-inner,
    .footer-inner,
    .page-hero,
    .legal,
    .support-content {
        width: min(calc(100% - 28px), var(--content-width));
    }

    .hero {
        padding-top: 54px;
    }

    h1 {
        font-size: 48px;
    }

    .section {
        padding: 62px 0;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-card.full {
        grid-column: auto;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}
