:root {
    --bg: #eef2f0;
    --ink: #101820;
    --muted: #61707c;
    --blue: #0b2f5b;
    --blue-soft: #dce8ef;
    --gold: #c8922e;
    --oil: #07131f;
    --sand: #d7b16a;
    --clay: #9a5b34;
    --white: #ffffff;
    --line: #dfe6ef;
    --shadow: 0 28px 80px rgba(7, 19, 31, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 82% 12%, rgba(200, 146, 46, 0.2) 0, transparent 28%),
        linear-gradient(180deg, #f4f6f4 0%, var(--bg) 58%, #e7d8bd 100%);
    font-family: Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 5vw, 72px);
    background: rgba(244, 246, 244, 0.9);
    border-bottom: 1px solid rgba(11, 47, 91, 0.12);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.brand__logo {
    width: 184px;
    max-height: 50px;
    object-fit: contain;
}

.brand__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-left: 16px;
    border-left: 1px solid rgba(11, 47, 91, 0.18);
}

.brand__title {
    display: block;
    color: var(--blue);
    font-size: 1.18rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    line-height: 1;
}

.brand__subtitle {
    display: block;
    color: var(--blue);
    max-width: 360px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-transform: uppercase;
    opacity: 0.74;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
}

.site-nav a:hover,
.site-nav .nav-cta {
    color: var(--blue);
    background: var(--blue-soft);
}

.nav-toggle {
    display: none;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--blue);
    font-weight: 800;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(28px, 6vw, 84px);
    align-items: center;
    min-height: 76vh;
    padding: clamp(24px, 4vw, 54px) clamp(20px, 5vw, 72px) clamp(48px, 8vw, 110px);
}

.oil-hero {
    position: relative;
    overflow: hidden;
}

.oil-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background:
        linear-gradient(8deg, rgba(154, 91, 52, 0.34) 0 32%, transparent 33%),
        linear-gradient(-6deg, rgba(200, 146, 46, 0.28) 0 42%, transparent 43%),
        linear-gradient(0deg, rgba(7, 19, 31, 0.08), rgba(7, 19, 31, 0.08));
    pointer-events: none;
}

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

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

h1 {
    max-width: 900px;
    margin-bottom: 22px;
    color: var(--oil);
    font-size: clamp(2.55rem, 7vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

h2 {
    margin-bottom: 0;
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero__lead {
    max-width: 660px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 16px;
    font-weight: 900;
}

.button--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--oil), var(--blue));
    box-shadow: var(--shadow);
}

.button--ghost {
    color: var(--blue);
    background: var(--white);
    border: 1px solid var(--line);
}

.rig-panel {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 0;
    color: var(--white);
    background: linear-gradient(160deg, #09213d 0%, #07131f 68%);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.rig-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0 52%, rgba(200, 146, 46, 0.14) 53%, rgba(154, 91, 52, 0.22) 100%);
    pointer-events: none;
}

.rig-scene {
    position: absolute;
    inset: 0;
}

.sun {
    position: absolute;
    top: 42px;
    right: 44px;
    width: 78px;
    height: 78px;
    background: radial-gradient(circle, #f1bf52, #c8922e 72%);
    border-radius: 50%;
    box-shadow: 0 0 48px rgba(200, 146, 46, 0.4);
}

.rig {
    position: absolute;
    display: block;
}

.rig__tower {
    left: 88px;
    bottom: 132px;
    width: 128px;
    height: 248px;
    background:
        linear-gradient(64deg, transparent 46%, #f5f7fb 47% 51%, transparent 52%),
        linear-gradient(-64deg, transparent 46%, #f5f7fb 47% 51%, transparent 52%),
        linear-gradient(90deg, transparent 0 14%, #d7b16a 15% 20%, transparent 21% 79%, #d7b16a 80% 85%, transparent 86%);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.rig__beam {
    left: 68px;
    bottom: 370px;
    width: 178px;
    height: 10px;
    background: var(--sand);
    transform: rotate(-12deg);
    transform-origin: left center;
    border-radius: 999px;
}

.rig__base {
    left: 58px;
    bottom: 122px;
    width: 220px;
    height: 14px;
    background: var(--sand);
    border-radius: 999px;
}

.oil-drop {
    position: absolute;
    left: 221px;
    bottom: 244px;
    width: 42px;
    height: 58px;
    background: #02070c;
    border: 3px solid var(--gold);
    border-radius: 50% 50% 50% 6px;
    transform: rotate(-45deg);
}

.strata {
    position: absolute;
    right: -34px;
    left: -34px;
    height: 48px;
    border-radius: 50%;
}

.strata--one {
    bottom: 96px;
    background: rgba(215, 177, 106, 0.56);
    transform: rotate(-4deg);
}

.strata--two {
    bottom: 52px;
    background: rgba(154, 91, 52, 0.62);
    transform: rotate(3deg);
}

.strata--three {
    bottom: 8px;
    background: rgba(7, 19, 31, 0.7);
    transform: rotate(-2deg);
}

.rig-panel__copy {
    position: absolute;
    right: 28px;
    bottom: 30px;
    left: 28px;
    z-index: 2;
    padding: 26px;
    background: rgba(7, 19, 31, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;
    backdrop-filter: blur(14px);
}

.hero-card__label,
.course-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rig-panel strong {
    display: block;
    margin-bottom: 18px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.05;
}

.rig-panel p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.metrics {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: -48px clamp(20px, 5vw, 72px) 0;
    overflow: hidden;
    background: rgba(11, 47, 91, 0.16);
    border: 1px solid rgba(11, 47, 91, 0.12);
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(7, 19, 31, 0.1);
}

.metrics article {
    padding: 24px;
    background: rgba(255, 255, 255, 0.82);
}

.metrics strong,
.metrics span {
    display: block;
}

.metrics strong {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 1.05rem;
}

.metrics span {
    color: var(--muted);
    line-height: 1.5;
}

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

.section__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

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

.course-card {
    min-height: 270px;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
        linear-gradient(135deg, rgba(200, 146, 46, 0.2), transparent);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 18px 44px rgba(13, 27, 42, 0.08);
}

.course-card::before {
    content: "";
    display: block;
    width: 54px;
    height: 6px;
    margin-bottom: 28px;
    background: linear-gradient(90deg, var(--gold), var(--clay));
    border-radius: 999px;
}

.course-card h3 {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 1.55rem;
    line-height: 1.08;
}

.course-card p,
.benefits li,
.site-footer {
    color: var(--muted);
    line-height: 1.65;
}

.benefits {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    margin: 0 clamp(20px, 5vw, 72px) clamp(48px, 7vw, 92px);
    padding-inline: clamp(28px, 5vw, 60px);
    background:
        linear-gradient(135deg, rgba(7, 19, 31, 0.96), rgba(11, 47, 91, 0.94)),
        var(--white);
    border: 1px solid var(--line);
    border-radius: 34px;
}

.benefits h2,
.benefits .eyebrow {
    color: var(--white);
}

.benefits li {
    color: rgba(255, 255, 255, 0.78);
}

.benefits ul {
    display: grid;
    gap: 16px;
    margin: 0;
    padding-left: 20px;
    font-weight: 700;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 28px clamp(20px, 5vw, 72px);
    background: #081b33;
}

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

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 82px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero,
    .benefits {
        grid-template-columns: 1fr;
    }

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

    .metrics {
        grid-template-columns: 1fr;
        margin-top: -20px;
    }

    .rig-panel {
        min-height: 440px;
    }

    .section__heading,
    .site-footer {
        display: block;
    }

    .brand__logo {
        width: 138px;
    }

    .brand__copy {
        padding-left: 12px;
    }

    .brand__subtitle {
        max-width: 190px;
        font-size: 0.66rem;
    }
}
