/* ===========================
   Base
=========================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #172033;
    background: #f4f6f8;
    line-height: 1.55;
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* ===========================
   Hero
=========================== */

.hero {
    background: linear-gradient(
        135deg,
        #111827 0%,
        #1f2937 68%,
        #7f1d1d 100%
    );
    color: #fff;
    padding: 70px 0;
}

.hero__inner {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}

.eyebrow,
.section-kicker,
.phase__number {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 800;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.05;
    margin: .4rem 0 1rem;
    max-width: 900px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 680px;
    color: #d9dee8;
}

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

/* ===========================
   Buttons
=========================== */

.button {
    appearance: none;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button--primary {
    background: #fff;
    color: #111827;
}

.button--secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
}

/* ===========================
   Mission
=========================== */

.mission {
    padding: 60px 0 35px;
}

.section-heading h2 {
    font-size: 34px;
    line-height: 1.15;
    margin: .35rem 0 1rem;
}

.section-kicker {
    color: #8b1e1e;
}

.mission > p {
    font-size: 1.1rem;
    max-width: 900px;
}

/* ===========================
   Phase Navigation
=========================== */

.phase-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-bottom: 55px;
}

.phase-nav a {
    background: #fff;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    color: #172033;
    font-weight: 800;
}

.phase-nav span {
    display: block;
    font-size: .75rem;
    color: #7a8494;
}

/* ===========================
   Phase Sections
=========================== */

.phase {
    padding: 70px 0;
}

.phase--green {
    background: #eaf7ee;
}

.phase--yellow {
    background: #fff7d8;
}

.phase--blue {
    background: #eaf2fb;
}

.phase__header {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: end;
    margin-bottom: 28px;
}

.phase__header h2 {
    font-size: 32px;
    line-height: 1.15;
    margin: .25rem 0;
}

.phase__owner {
    font-weight: 800;
    margin: 0;
}

.phase__objective {
    font-size: 1.08rem;
}

/* ===========================
   Main Grid
=========================== */

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
    gap: 22px;
}

.stack {
    display: grid;
    gap: 22px;
    align-content: start;
}

/* ===========================
   Cards and Callouts
=========================== */

.card,
.callout {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(25, 35, 55, .08);
}

.card h3,
.callout h3 {
    margin-top: 0;
    font-size: 22px;
}

.card--checklist label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 0;
    border-bottom: 1px solid #e5e8ed;
}

.card--checklist label:last-child {
    border-bottom: 0;
}

.card--checklist input,
.no-go input {
    margin-top: .3rem;
    width: 18px;
    height: 18px;
    accent-color: #1d4ed8;
    flex: 0 0 auto;
}

.callout {
    border-left: 6px solid;
}

.callout ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.callout--warning {
    border-color: #d97706;
}

.callout--danger {
    border-color: #b91c1c;
}

.callout--tip {
    border-color: #2563eb;
}

/* ===========================
   No-Go Section
=========================== */

.no-go {
    background: #7f1d1d;
    color: #fff;
    padding: 70px 0;
}

.section-heading--light .section-kicker {
    color: #fecaca;
}

.no-go__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.no-go label {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    gap: 10px;
}

/* ===========================
   Lessons
=========================== */

.lessons {
    padding: 70px 0;
}

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

.lessons article {
    background: #fff;
    border: 1px solid #dde2ea;
    border-radius: 12px;
    padding: 20px;
}

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

.lessons span {
    margin-top: 6px;
    color: #5c6677;
}

/* ===========================
   Footer
=========================== */

footer {
    background: #111827;
    color: #cdd3df;
    padding: 26px 0;
    text-align: center;
}

/* ===========================
   Tablet
=========================== */

@media (max-width: 850px) {

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

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

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

/* ===========================
   Mobile
=========================== */

@media (max-width: 560px) {

    .hero {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .phase__header h2 {
        font-size: 27px;
    }

    .phase-nav,
    .no-go__grid,
    .lessons__grid {
        grid-template-columns: 1fr;
    }

    .wrap,
    .hero__inner {
        width: min(100% - 22px, 1180px);
    }

    .card,
    .callout {
        padding: 18px;
    }
}

/* ===========================
   Print
=========================== */

@media print {

    .hero {
        padding: 24px 0;
    }

    .hero__actions,
    .phase-nav {
        display: none;
    }

    .phase {
        padding: 28px 0;
        background: #fff !important;
    }

    .card,
    .callout {
        box-shadow: none;
        border: 1px solid #bbb;
    }

    .no-go {
        background: #fff;
        color: #000;
    }

    .no-go label {
        border: 1px solid #bbb;
    }

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

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

    .lessons {
        padding: 28px 0;
    }

    footer {
        display: none;
    }
}