:root {
    --ink: #172033;
    --muted: #5f6b7a;
    --line: #dbe2ea;
    --paper: #ffffff;
    --soft: #f5f7fa;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --accent: #eab308;
    --radius: 8px;
    --shadow: 0 18px 48px rgba(23, 32, 51, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    color: var(--ink);
}

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    width: clamp(120px, 16vw, 176px);
    height: auto;
    display: block;
    object-fit: contain;
}

.brand-text {
    display: grid;
    gap: 2px;
}

.icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: var(--brand);
    font-weight: 700;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.site-nav a {
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--ink);
    font-size: 14px;
}

.site-nav a.active,
.site-nav a:hover {
    background: var(--soft);
    color: var(--brand-dark);
    text-decoration: none;
}

.hero,
.page-hero {
    padding: clamp(64px, 10vw, 116px) clamp(20px, 5vw, 72px);
    background:
        linear-gradient(110deg, rgba(15, 118, 110, 0.96), rgba(23, 32, 51, 0.88)),
        url('../img/spideropsnet-hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-content,
.page-hero {
    max-width: 940px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

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

h1 {
    max-width: 900px;
    margin-bottom: 20px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.05;
}

h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
}

h3 {
    font-size: 22px;
    line-height: 1.25;
}

.lead {
    max-width: 760px;
    color: inherit;
    font-size: clamp(18px, 2vw, 24px);
}

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

.button,
button.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    text-decoration: none;
}

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

.button.secondary {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
}

.section {
    padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 72px);
}

.section.narrow {
    max-width: 980px;
    margin: 0 auto;
}

.intro {
    max-width: 1020px;
    margin: 0 auto;
    font-size: 20px;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.course-card,
.service-card,
.contact-card,
.action-panel,
.callout,
.video-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.card,
.contact-card,
.action-panel,
.callout,
.video-card {
    padding: 24px;
}


.free-downloads-band {
    background: var(--soft);
}
.proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px clamp(20px, 5vw, 72px);
    background: var(--ink);
}

.proof-strip span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
}

.split,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.timeline,
.service-list,
.courses {
    display: grid;
    gap: 20px;
}

.timeline article {
    padding-left: 22px;
    border-left: 4px solid var(--brand);
}

.timeline span,
.course-meta,
.form-note {
    color: var(--muted);
    font-size: 14px;
}

.check-list {
    padding-left: 20px;
}

.check-list li {
    margin-bottom: 8px;
}

.stack p {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.founder {
    background: var(--soft);
}

.service-card,
.course-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 24px;
    padding: 28px;
}

.category-heading {
    margin: 28px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

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

.video-card {
    min-height: 160px;
    color: var(--ink);
}


.embed-card {
    overflow: hidden;
    padding: 0;
}

.video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #101827;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-body {
    padding: 18px;
}

.video-card-body h3 {
    margin-bottom: 8px;
}
.video-card span {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--brand-dark);
    font-weight: 700;
}

.social-grid a {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
}

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

.footer-cta {
    padding: 48px clamp(20px, 5vw, 72px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    padding: 22px clamp(20px, 5vw, 72px);
}

.footer-bottom p {
    margin: 0;
    color: #d6dde8;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.social-links a,
.site-footer a {
    color: #fff;
}

@media (max-width: 900px) {
    .site-header,
    .split,
    .contact-layout,
    .service-card,
    .course-card {
        grid-template-columns: 1fr;
    }

    .site-header {
        display: grid;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 132px;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .card-grid.three,
    .video-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 42px;
    }
}
