:root {
    --ink: #151b1f;
    --muted: #5a666d;
    --paper: #f7f4ef;
    --surface: #ffffff;
    --coast: #0f766e;
    --coast-dark: #0d4d49;
    --sun: #d8944a;
    --line: rgba(21, 27, 31, 0.12);
    --shadow: 0 24px 70px rgba(20, 34, 38, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 18px clamp(20px, 4vw, 56px);
    color: #fff;
}

.brand,
.nav-links {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: #fff;
    color: var(--coast-dark);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.nav-links {
    gap: clamp(16px, 3vw, 32px);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    font-weight: 650;
}

.nav-links a:hover {
    color: #fff;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 120px clamp(20px, 6vw, 80px) 72px;
    color: #fff;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(10, 30, 32, 0.82) 0%, rgba(10, 30, 32, 0.62) 38%, rgba(10, 30, 32, 0.1) 74%),
        linear-gradient(0deg, rgba(7, 22, 24, 0.5) 0%, rgba(7, 22, 24, 0) 34%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--sun);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(3.1rem, 8vw, 7.2rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 580px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.closing-section {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 800;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--coast);
    color: #fff;
}

.button.primary:hover {
    background: var(--coast-dark);
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.section,
.feature-grid {
    padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 80px);
}

.intro-section,
.closing-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
}

.intro-section {
    background: var(--surface);
}

.intro-section h2,
.closing-section h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.intro-section > p {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.12rem;
}

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

.feature-card {
    min-height: 270px;
    padding: clamp(26px, 4vw, 42px);
    background: var(--paper);
}

.feature-number {
    display: block;
    margin-bottom: 34px;
    color: var(--coast);
    font-weight: 900;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.closing-section {
    background: var(--ink);
    color: #fff;
}

.closing-section .button {
    justify-self: end;
    min-width: 140px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 34px clamp(20px, 6vw, 80px);
    border-top: 4px solid var(--sun);
    background: #0b1113;
    color: #fff;
}

.footer-brand .brand-mark,
.content-header .brand-mark {
    box-shadow: none;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 850;
}

.footer-links a:hover {
    border-color: rgba(216, 148, 74, 0.7);
    background: rgba(216, 148, 74, 0.14);
}

.footer-content {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.footer-label {
    margin: 0;
    color: var(--sun);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-page {
    background: var(--paper);
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px clamp(20px, 6vw, 80px);
    background: #101719;
    color: #fff;
}

.content-shell {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(54px, 8vw, 96px) 0;
}

.content-shell h1 {
    margin-bottom: 28px;
    color: var(--ink);
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.rich-content {
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.rich-content h2,
.rich-content h3 {
    margin-top: 1.6em;
}

.rich-content p,
.rich-content li {
    color: var(--muted);
}

.rich-content a {
    color: var(--coast);
    font-weight: 800;
}

.content-footer {
    justify-content: center;
}

.landing-footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 5vw, 64px);
    padding: 34px clamp(20px, 6vw, 80px);
    border-top: 4px solid var(--sun);
    background: #0b1113;
    color: #fff;
}

.landing-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
}

.landing-footer-brand .brand-mark {
    box-shadow: none;
}

.landing-footer-content {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.landing-footer-label {
    margin: 0;
    color: var(--sun);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.landing-footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 850;
}

.landing-footer-links a:hover {
    border-color: rgba(216, 148, 74, 0.75);
    background: rgba(216, 148, 74, 0.16);
}

@media (max-width: 780px) {
    .site-header {
        min-height: 64px;
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 88vh;
        align-items: end;
        padding-top: 96px;
    }

    .hero-shade {
        background:
            linear-gradient(0deg, rgba(8, 27, 29, 0.9) 0%, rgba(8, 27, 29, 0.68) 56%, rgba(8, 27, 29, 0.24) 100%),
            linear-gradient(90deg, rgba(8, 27, 29, 0.36), rgba(8, 27, 29, 0.05));
    }

    .intro-section,
    .closing-section,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        gap: 1px;
    }

    .closing-section .button {
        justify-self: start;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-content {
        justify-items: start;
        width: 100%;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .landing-footer {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .landing-footer-content {
        justify-items: start;
        width: 100%;
    }

    .landing-footer-links {
        justify-content: flex-start;
    }

    .content-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
