:root {
    --ink: #17242a;
    --muted: #5a6a70;
    --line: #dce5e2;
    --paper: #ffffff;
    --wash: #f4f8f6;
    --deep: #123c69;
    --green: #147d64;
    --gold: #c58a2a;
    --rose: #b4495c;
    --shadow: 0 22px 70px rgba(18, 60, 105, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

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

.skip-link {
    background: var(--ink);
    color: #fff;
    left: 14px;
    padding: 10px 14px;
    position: absolute;
    top: -80px;
    z-index: 20;
}

.skip-link:focus {
    top: 14px;
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(220, 229, 226, 0.78);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header__inner,
.site-footer__inner,
.hero__inner,
.section,
.trust-strip {
    margin-inline: auto;
    max-width: 1180px;
    padding-inline: clamp(18px, 4vw, 40px);
}

.site-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    text-decoration: none;
}

.brand__mark {
    align-items: center;
    background: var(--deep);
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.brand__text {
    font-size: 1.08rem;
    font-weight: 900;
}

.primary-nav ul,
.site-footer ul {
    align-items: center;
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a,
.site-footer a {
    color: var(--muted);
    font-weight: 750;
    text-decoration: none;
}

.primary-nav a:hover,
.site-footer a:hover {
    color: var(--green);
}

.nav-toggle {
    background: transparent;
    border: 0;
    display: none;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    background: var(--ink);
    display: block;
    height: 2px;
    width: 24px;
}

.hero {
    background:
        linear-gradient(115deg, rgba(18, 60, 105, 0.96), rgba(20, 125, 100, 0.86)),
        linear-gradient(45deg, #123c69, #147d64);
    color: #fff;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    gap: clamp(28px, 5vw, 62px);
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    min-height: calc(100vh - 72px);
    padding-block: clamp(38px, 7vw, 82px);
}

.hero__copy {
    align-self: center;
}

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

.hero .eyebrow {
    color: #f4c86b;
}

h1,
h2,
h3 {
    line-height: 1.08;
    margin: 0;
}

h1 {
    font-size: clamp(2.9rem, 8vw, 6.8rem);
    max-width: 760px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
    font-size: 1.2rem;
}

.hero__lead {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    margin: 24px 0 30px;
    max-width: 620px;
}

.button {
    align-items: center;
    border-radius: 7px;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    text-decoration: none;
}

.button--primary {
    background: #f2b84d;
    color: #18232a;
}

.hero__tool {
    align-self: center;
    color: var(--ink);
}

.trust-strip {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, 1fr);
    padding-block: 22px;
}

.trust-strip div {
    background: var(--wash);
    display: grid;
    gap: 2px;
    padding: 18px;
}

.trust-strip strong {
    font-size: 1.6rem;
    line-height: 1;
}

.trust-strip span {
    color: var(--muted);
    font-weight: 700;
}

.section {
    padding-block: clamp(58px, 8vw, 112px);
}

.section--tint {
    background: var(--wash);
    max-width: none;
}

.section--tint > * {
    margin-inline: auto;
    max-width: 1180px;
    padding-inline: clamp(18px, 4vw, 40px);
}

.section__header {
    margin-bottom: 34px;
    max-width: 820px;
}

.section__header p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

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

.feature-card,
.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.feature-card {
    border-top: 4px solid var(--green);
}

.feature-card:nth-child(2n) {
    border-top-color: var(--deep);
}

.feature-card:nth-child(3n) {
    border-top-color: var(--rose);
}

.feature-card p,
.post-card p,
.prose p,
.steps span,
details p {
    color: var(--muted);
}

.split {
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.steps li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 20px 20px 20px 72px;
    position: relative;
}

.steps li::before {
    align-items: center;
    background: var(--deep);
    border-radius: 7px;
    color: #fff;
    content: counter(step);
    counter-increment: step;
    display: inline-flex;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    left: 18px;
    position: absolute;
    top: 20px;
    width: 38px;
}

.prose {
    max-width: 860px;
}

.prose h1 {
    font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.prose h2 {
    margin-top: 38px;
}

.prose p,
.prose li {
    font-size: 1.05rem;
}

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

details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

.related-links {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.related-links a {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--deep);
    font-weight: 900;
    padding: 18px;
    text-decoration: none;
}

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

.post-card a {
    display: grid;
    gap: 10px;
    text-decoration: none;
}

.post-card h2 {
    font-size: 1.35rem;
}

.post-card span {
    color: var(--green);
    font-weight: 900;
}

.site-footer {
    background: #101d23;
    color: #fff;
}

.site-footer__inner {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr auto;
    padding-block: 36px;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 920px) {
    .hero__inner,
    .split,
    .feature-grid,
    .post-grid,
    .related-links,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero__inner {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: grid;
    }

    .primary-nav {
        background: #fff;
        border-bottom: 1px solid var(--line);
        display: none;
        left: 0;
        padding: 16px 22px;
        position: absolute;
        right: 0;
        top: 72px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul,
    .site-footer ul {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}
