:root {
    --ink: #f8fbff;
    --soft: rgba(248, 251, 255, 0.76);
    --muted: rgba(248, 251, 255, 0.58);
    --line: rgba(255, 255, 255, 0.1);
    --panel: rgba(255, 255, 255, 0.045);
    --panel-strong: rgba(255, 255, 255, 0.075);
    --lime: #b8ff12;
    --green: #18d86b;
    --yellow: #e5ff73;
    --dark: #07110f;
    --deep: #0c1514;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 10%, rgba(184, 255, 18, 0.24), transparent 28rem),
        radial-gradient(circle at 18% 24%, rgba(24, 216, 107, 0.18), transparent 24rem),
        linear-gradient(135deg, #040806 0%, #07130d 46%, #10150c 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.58;
}

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

img {
    max-width: 100%;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 34px;
    color: #ffffff;
}

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

.brand {
    gap: 12px;
    font-weight: 900;
    font-size: 1.08rem;
}

.brand img {
    width: 44px;
    height: 40px;
    object-fit: contain;
}

.site-nav {
    gap: 22px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
    font-weight: 750;
}

.site-nav a {
    transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #ffffff;
}

.home-page {
    width: 100%;
    min-height: 100vh;
    padding: 140px 34px 68px;
}

.home-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: 0 0 46px;
    border-bottom: 1px solid var(--line);
}

.home-hero-copy {
    max-width: 720px;
}

.eyebrow,
.section-kicker,
.module-kicker {
    margin: 0 0 12px;
    color: var(--lime);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    max-width: 720px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(4rem, 10vw, 7.4rem);
    line-height: 0.86;
    font-weight: 950;
}

h2 {
    max-width: 820px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2.05rem, 4vw, 3.35rem);
    line-height: 1.02;
    font-weight: 930;
}

h3 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 1.32rem;
    line-height: 1.2;
}

.hero-copy,
.section-intro,
.closing-band p {
    color: var(--soft);
    font-size: 1.18rem;
    line-height: 1.8;
}

.hero-copy {
    max-width: 680px;
    margin-bottom: 30px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.button-primary {
    color: #06100f;
    background: #ffffff;
    border-color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #ffffff;
    background: var(--lime);
    border-color: var(--lime);
}

.button-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.13);
}

.home-hero-art {
    width: 100%;
}

.preview-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
        rgba(0, 0, 0, 0.18);
    box-shadow: var(--shadow);
}

.preview-card-top,
.preview-metrics {
    display: flex;
    align-items: center;
}

.preview-card-top {
    gap: 14px;
    margin-bottom: 16px;
}

.preview-card-top img {
    width: 62px;
    height: 57px;
    object-fit: contain;
}

.preview-card-top span,
.preview-metrics span {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
}

.preview-card-top strong {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
}

.preview-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.preview-metrics {
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.preview-metrics strong {
    display: block;
    color: #ffffff;
    font-size: 1.32rem;
    line-height: 1.1;
}

.home-section {
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
}

.section-heading-row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.section-intro {
    max-width: 880px;
    margin-bottom: 0;
    margin-left: 268px;
}

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

.module-card,
.step-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.module-card.is-primary {
    border-color: rgba(69, 191, 242, 0.34);
    background: linear-gradient(180deg, rgba(69, 191, 242, 0.16), rgba(255, 255, 255, 0.05));
}

.module-card p,
.step-card p {
    margin-bottom: 0;
    color: var(--soft);
}

.module-kicker {
    color: var(--green);
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #06100f;
    background: #ffffff;
    font-size: 0.84rem;
    font-weight: 950;
}

.closing-band {
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    padding: 48px 0 8px;
}

.closing-copy {
    max-width: 780px;
}

.closing-band p {
    margin-bottom: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 68px));
    margin: 0 auto;
    padding: 0 0 42px;
    color: var(--muted);
}

.site-footer span:first-child {
    color: #ffffff;
    font-weight: 950;
}

.not-found {
    min-height: 100vh;
    display: grid;
    align-items: center;
    color: #ffffff;
    background:
        linear-gradient(115deg, rgba(7, 17, 15, 0.96), rgba(7, 17, 15, 0.66)),
        url("/assets/img/wildseo-hero.jpg") center / cover;
}

.not-found-inner {
    width: min(720px, calc(100% - 40px));
    margin-left: max(20px, calc((100vw - 1180px) / 2));
    padding-top: 70px;
}

@media (max-width: 980px) {
    .site-header {
        position: absolute;
        padding: 18px 22px;
    }

    .site-nav {
        display: none;
    }

    .home-page {
        padding: 112px 22px 48px;
    }

    .home-hero,
    .section-heading-row {
        grid-template-columns: 1fr;
    }

    .section-intro {
        margin-left: 0;
    }

    .modules,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .module-card,
    .step-card {
        min-height: auto;
    }

    .site-footer {
        width: calc(100% - 44px);
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .home-page {
        padding-top: 98px;
    }

    .brand img {
        width: 38px;
        height: 35px;
    }

    h1 {
        font-size: 3.45rem;
    }

    .hero-copy,
    .section-intro,
    .closing-band p {
        font-size: 1.02rem;
    }

    .preview-metrics {
        align-items: flex-start;
        flex-direction: column;
    }
}
