:root {
    color-scheme: dark;
    --ink: #f7f7f4;
    --muted: #c5c5c1;
    --night: #101010;
    --line: rgba(255, 255, 255, 0.66);
    --accent: #2eb8b8;
    --paper: #f4f3ef;
    --paper-strong: #e8e6df;
    --navy: #17252d;
    --navy-soft: #253843;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--night);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.hero {
    min-height: 760px;
    height: 92vh;
    position: relative;
    overflow: hidden;
    background-color: #252a2d;
    background-image: url("images/educated-risk-harbor.png");
    background-position: center 42%;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.28) 62%, rgba(0, 0, 0, 0.45));
}

.hero__content {
    width: min(1120px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wordmark {
    margin-top: 38px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
}

.wordmark__name {
    text-transform: uppercase;
    font-family: Montserrat, "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.2;
}

.wordmark__tagline {
    margin-top: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9rem;
    font-style: italic;
    letter-spacing: 0.035em;
    opacity: 0.92;
}

.hero__statement {
    width: min(830px, 100%);
    margin: auto 0 10%;
    text-align: center;
}

.hero h1 {
    margin: 14px 0 20px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5.4vw, 4.55rem);
    font-weight: 400;
    line-height: 1.08;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__subhead {
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.84);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.page-shell {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.eyebrow {
    margin: 0;
    color: #157f80;
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #8fe1df;
}

.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid currentColor;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 2;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link--light {
    color: #fff;
}

.intro-section,
.process-section,
.markets-section {
    background: var(--paper);
    color: var(--navy);
}

.intro-section {
    padding: 112px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(50px, 9vw, 130px);
    align-items: start;
}

.intro-grid h2,
.section-heading h2,
.definition-quote {
    margin: 16px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.intro-copy {
    padding-top: 2px;
}

.intro-copy p {
    margin: 0 0 24px;
    color: #4a5b64;
    font-size: 1.05rem;
    line-height: 1.8;
}

.intro-copy .lead {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    line-height: 1.5;
}

.tracks-section {
    padding: 112px 0 124px;
    background: var(--navy);
    color: #fff;
}

.section-heading {
    width: min(760px, 100%);
    margin-bottom: 56px;
}

.section-heading h2 {
    margin-bottom: 24px;
}

.tracks-section .section-heading > p:last-child {
    color: #b8c5cb;
}

.section-heading > p:last-child {
    margin: 0;
    color: #5a6b73;
    font-size: 1.05rem;
    line-height: 1.75;
}

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

.track-card {
    padding: clamp(30px, 5vw, 52px);
    border-top: 4px solid #d6a84a;
    background: #fff;
    color: var(--navy);
}

.track-card--teal {
    border-top-color: var(--accent);
}

.track-card__topline {
    display: flex;
    justify-content: space-between;
    color: #66767e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.track-card__topline strong {
    color: #a27927;
}

.track-card--teal .track-card__topline strong {
    color: #157f80;
}

.track-card h3 {
    margin: 20px 0 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
}

.track-card h4 {
    margin: 34px 0 16px;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.track-facts {
    margin: 0;
}

.track-facts div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid #dfe3e3;
}

.track-facts div:last-child {
    border-bottom: 1px solid #dfe3e3;
}

.track-facts dt {
    color: #66767e;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.track-facts dd {
    margin: 0;
    color: #334852;
    line-height: 1.55;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 24px;
    color: #334852;
    line-height: 1.55;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #157f80;
    font-weight: 800;
}

.result {
    margin: 30px 0 0;
    padding: 18px 20px;
    background: #eef3f2;
    color: #30444d;
    line-height: 1.55;
}

.result span {
    display: block;
    margin-bottom: 4px;
    color: #157f80;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.process-section {
    padding: 112px 0 124px;
}

.section-heading--compact {
    width: min(900px, 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #bdc5c5;
    border-bottom: 1px solid #bdc5c5;
}

.process-grid article {
    padding: 36px 36px 42px 0;
}

.process-grid article + article {
    padding-left: 36px;
    border-left: 1px solid #bdc5c5;
}

.step-number {
    color: #158b8c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
}

.process-grid h3,
.market-grid h3 {
    margin: 18px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 400;
}

.process-grid p,
.market-grid p {
    margin: 0;
    color: #53656d;
    line-height: 1.7;
}

.comparison-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 54px;
    background: #bdc5c5;
}

.comparison-band p {
    margin: 0;
    padding: 26px 28px;
    background: #e8e7e1;
    color: #495c64;
    line-height: 1.65;
}

.comparison-band span {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-weight: 700;
}

.markets-section {
    padding: 0 0 124px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #bdc5c5;
}

.market-grid article {
    padding: 34px 26px 18px 0;
}

.market-grid article + article {
    padding-left: 26px;
    border-left: 1px solid #bdc5c5;
}

.market-grid span {
    color: #157f80;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.definition-section {
    padding: 100px 0;
    background: #157f80;
    color: #fff;
}

.definition-grid {
    display: grid;
    grid-template-columns: 0.65fr 2.35fr;
    column-gap: 70px;
    align-items: start;
}

.definition-quote {
    grid-column: 2;
    margin-top: -4px;
}

.definition-detail {
    grid-column: 2;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact {
    background: var(--night);
    padding: 88px 24px 84px;
}

.contact__inner {
    width: min(620px, 100%);
    margin: 0 auto;
}

.contact h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.rule {
    width: 54px;
    height: 2px;
    margin: 20px auto 28px;
    background: var(--accent);
}

.contact__intro {
    margin: 0 0 34px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.5;
    text-align: center;
}

.field {
    position: relative;
    margin-bottom: 28px;
}

.field label {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.field__input {
    width: 100%;
    min-height: 44px;
    padding: 9px 2px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field__input--message {
    min-height: 132px;
    resize: vertical;
}

.field__input::placeholder {
    color: var(--muted);
    opacity: 1;
}

.field__input:focus {
    border-color: #fff;
    box-shadow: 0 1px 0 #fff;
}

.signup {
    margin: 12px 0 34px;
    color: var(--muted);
    line-height: 1.55;
}

.signup input {
    width: 18px;
    height: 18px;
    margin: 2px 10px 0 0;
    vertical-align: top;
    accent-color: var(--accent);
}

.signup label {
    cursor: pointer;
}

.send-button {
    display: block;
    min-width: 148px;
    min-height: 48px;
    margin: 0 auto;
    padding: 13px 32px;
    border: 1px solid #fff;
    border-radius: 0;
    background: #fff;
    color: #111;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background-color 160ms ease, color 160ms ease;
}

.send-button:hover,
.send-button:focus-visible {
    background: transparent;
    color: #fff;
}

.form-message {
    display: block;
    margin: 0 0 28px;
    padding: 0;
    color: var(--muted);
    line-height: 1.5;
    text-align: center;
}

.form-message:empty {
    display: none;
}

.form-message ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.form-message--error {
    color: #ffb6b6;
}

.form-message--notice {
    color: #ffe09c;
}

.form-message--success {
    color: #a9edcf;
}

.website-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

footer {
    padding: 42px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--night);
    color: var(--muted);
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .hero {
        min-height: 700px;
        height: 94vh;
        background-position: 70% center;
    }

    .hero__content {
        width: min(100% - 32px, 1120px);
    }

    .wordmark {
        margin-top: 28px;
        letter-spacing: 0.16em;
    }

    .hero__statement {
        margin-bottom: 18%;
    }

    .contact {
        padding: 68px 20px 72px;
    }
}

@media (max-width: 900px) {
    .intro-grid,
    .track-grid,
    .comparison-band,
    .definition-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .process-grid article,
    .process-grid article + article {
        padding: 30px 0;
        border-left: 0;
        border-bottom: 1px solid #bdc5c5;
    }

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

    .market-grid article:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .definition-quote,
    .definition-detail {
        grid-column: 1;
    }

    .definition-quote {
        margin-top: 22px;
    }
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 32px, 1160px);
    }

    .intro-section,
    .tracks-section,
    .process-section {
        padding-top: 78px;
        padding-bottom: 84px;
    }

    .markets-section {
        padding-bottom: 84px;
    }

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

    .market-grid article,
    .market-grid article + article,
    .market-grid article:nth-child(3) {
        padding: 28px 0;
        border-left: 0;
        border-bottom: 1px solid #bdc5c5;
    }

    .track-facts div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
