.marketing-page {
    --home-navy: #101c2f;
    --home-cream: #f8f6ef;
    --home-green: #287b58;
    --home-orange: #f26a2e;
    --home-line: #d9dfd7;
    overflow: hidden;
    color: var(--home-navy);
    background: var(--home-cream);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(16, 28, 47, 0.08);
}

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

.marketing-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
    gap: clamp(2rem, 5vw, 6rem);
    min-height: 690px;
    padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6.5rem);
    background:
        radial-gradient(circle at 88% 12%, rgba(242, 106, 46, 0.11), transparent 26%),
        linear-gradient(135deg, #fcfbf7 0%, #f5f4ed 100%);
}

.marketing-hero::before {
    position: absolute;
    bottom: -110px;
    left: -80px;
    width: 310px;
    height: 310px;
    content: "";
    border: 1px solid rgba(40, 123, 88, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(40, 123, 88, 0.025), 0 0 0 90px rgba(40, 123, 88, 0.018);
}

.hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    max-width: 620px;
}

.marketing-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
    color: var(--home-green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.marketing-eyebrow > span {
    width: 24px;
    height: 2px;
    background: var(--home-orange);
}

.marketing-hero h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(3.5rem, 6.5vw, 6.8rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.92;
}

.marketing-hero h1 em {
    color: var(--home-green);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.hero-lede {
    max-width: 570px;
    margin-bottom: 2rem;
    color: #526074;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.25rem;
}

.marketing-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    padding: 0.85rem 1.45rem;
    color: var(--home-navy);
    border: 1px solid #cbd2ca;
    border-radius: 7px;
    background: transparent;
    font-size: 0.92rem;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.marketing-button:hover,
.marketing-button:focus {
    color: var(--home-navy);
    transform: translateY(-2px);
}

.marketing-button.is-primary {
    color: #fff;
    border-color: var(--home-green);
    background: var(--home-green);
    box-shadow: 0 10px 24px rgba(40, 123, 88, 0.2);
}

.marketing-button.is-primary:hover,
.marketing-button.is-primary:focus {
    color: #fff;
    background: #216849;
    box-shadow: 0 14px 30px rgba(40, 123, 88, 0.25);
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    color: #6a7483;
    font-size: 0.78rem;
}

.hero-details span {
    padding: 0 1rem;
    border-right: 1px solid #d8ddd6;
}

.hero-details span:first-child {
    padding-left: 0;
}

.hero-details span:last-child {
    border: 0;
}

.hero-details strong {
    color: var(--home-navy);
}

.hero-product {
    position: relative;
    z-index: 1;
    align-self: center;
    transform: perspective(1600px) rotateY(-4deg) rotateX(1deg);
}

.product-glow {
    position: absolute;
    z-index: -1;
    top: 5%;
    right: 0;
    bottom: 0;
    left: 5%;
    background: rgba(40, 123, 88, 0.18);
    filter: blur(60px);
}

.app-window {
    overflow: hidden;
    border: 1px solid #dbe0db;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(16, 28, 47, 0.18);
}

.app-window-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 47px;
    padding: 0 1rem;
    color: #737d89;
    border-bottom: 1px solid #e4e8e3;
    background: #f7f8f5;
    font-size: 0.68rem;
    font-weight: 700;
}

.app-window-bar > :last-child {
    justify-self: end;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cfd4cf;
}

.window-dots i:first-child {
    background: #f6a27e;
}

.window-live {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--home-green);
}

.window-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #48b47f;
    box-shadow: 0 0 0 3px rgba(72, 180, 127, 0.12);
}

.app-window-body {
    padding: clamp(1.2rem, 3vw, 2.1rem);
}

.preview-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.preview-heading div {
    display: flex;
    flex-direction: column;
}

.preview-heading small,
.preview-label {
    margin-bottom: 0.2rem;
    color: var(--home-green);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.preview-heading strong {
    font-size: 1.28rem;
}

.preview-heading > span {
    color: #818997;
    font-size: 0.65rem;
}

.standings-preview {
    overflow: hidden;
    border: 1px solid #e1e5e0;
    border-radius: 9px;
}

.standings-row {
    display: grid;
    grid-template-columns: 26px 34px minmax(115px, 1fr) auto 45px;
    gap: 0.65rem;
    align-items: center;
    min-height: 67px;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid #e7eae6;
}

.standings-row:last-child {
    border: 0;
}

.standings-row.is-leader {
    background: #f1f7f3;
    box-shadow: inset 3px 0 var(--home-green);
}

.rank {
    color: #87908e;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.avatar {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--home-green);
    font-size: 0.58rem;
    font-weight: 800;
}

.avatar.is-orange { background: #cb6941; }
.avatar.is-blue { background: #526f9f; }
.avatar.is-gold { background: #9a8145; }

.player,
.wins {
    display: flex;
    flex-direction: column;
}

.player strong {
    font-size: 0.77rem;
}

.player small,
.wins small {
    color: #8a929d;
    font-size: 0.57rem;
}

.mini-form {
    display: flex;
    gap: 3px;
}

.mini-form i {
    width: 5px;
    height: 16px;
    border-radius: 5px;
}

.mini-form .win { background: #7fb692; }
.mini-form .loss { background: #e6a293; }

.wins {
    align-items: flex-end;
}

.wins strong {
    font-size: 0.95rem;
}

.floating-score {
    position: absolute;
    right: -18px;
    bottom: -26px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 0.65rem;
    align-items: center;
    min-width: 200px;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 35px rgba(16, 28, 47, 0.19);
    backdrop-filter: blur(12px);
}

.team-logo {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 7px;
    background: #eef2ed;
}

.team-logo img {
    width: 28px;
    height: 28px;
}

.floating-score > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.floating-score small {
    color: #89919c;
    font-size: 0.55rem;
    text-transform: uppercase;
}

.floating-score strong {
    font-size: 0.72rem;
}

.floating-score b {
    color: var(--home-green);
    font-size: 0.85rem;
}

.trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: 1.35rem 2rem;
    color: rgba(255, 255, 255, 0.72);
    background: var(--home-navy);
    font-size: 0.72rem;
}

.trust-strip p {
    margin-bottom: 0;
    color: #fff;
    font-weight: 800;
}

.trust-strip div {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.6rem);
}

.trust-strip i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--home-orange);
}

.how-section,
.product-section {
    padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 7vw, 7rem);
}

.section-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5rem;
    align-items: end;
    margin-bottom: 3.5rem;
}

.section-intro .marketing-eyebrow {
    grid-column: 1 / -1;
}

.section-intro h2 {
    margin-bottom: 0;
    font-size: clamp(2.4rem, 4vw, 4.25rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.section-intro > p:last-child {
    max-width: 510px;
    margin-bottom: 0.4rem;
    color: #637083;
    line-height: 1.7;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.step-card {
    position: relative;
    min-height: 300px;
    padding: 2rem;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
}

.step-card.is-featured {
    color: #fff;
    border-color: var(--home-green);
    background: var(--home-green);
    transform: translateY(-12px);
    box-shadow: 0 22px 40px rgba(40, 123, 88, 0.17);
}

.step-number {
    position: absolute;
    top: 1.35rem;
    right: 1.6rem;
    color: #a0a9a5;
    font-family: Georgia, serif;
    font-size: 0.8rem;
    font-style: italic;
}

.is-featured .step-number {
    color: rgba(255, 255, 255, 0.62);
}

.step-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 3.5rem;
    place-items: center;
    color: var(--home-green);
    border-radius: 50%;
    background: #e5eee8;
}

.step-icon svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.is-featured .step-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

.step-card h3 {
    margin-bottom: 0.75rem;
    color: inherit;
    font-size: 1.3rem;
    font-weight: 800;
}

.step-card p {
    max-width: 300px;
    margin-bottom: 0;
    color: #687486;
    font-size: 0.9rem;
    line-height: 1.65;
}

.step-card.is-featured p {
    color: rgba(255, 255, 255, 0.76);
}

.product-section {
    background: #fff;
}

.section-intro.is-centered {
    display: block;
    max-width: 700px;
    margin-right: auto;
    margin-bottom: clamp(4rem, 7vw, 7rem);
    margin-left: auto;
    text-align: center;
}

.section-intro.is-centered .marketing-eyebrow {
    justify-content: center;
}

.section-intro.is-centered h2 {
    margin-bottom: 1.2rem;
}

.section-intro.is-centered > p:last-child {
    margin-right: auto;
    margin-left: auto;
}

.feature-preview {
    display: grid;
    grid-template-columns: minmax(250px, 0.7fr) minmax(550px, 1.3fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    max-width: 1220px;
    margin: 0 auto clamp(7rem, 12vw, 12rem);
}

.feature-preview:last-child {
    margin-bottom: 0;
}

.feature-preview.is-reversed .feature-copy {
    order: 2;
}

.feature-kicker {
    display: block;
    margin-bottom: 0.85rem;
    color: var(--home-orange);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feature-copy h3 {
    margin-bottom: 1.2rem;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.feature-copy > p {
    color: #667286;
    line-height: 1.7;
}

.feature-copy ul {
    margin: 1.6rem 0 0;
    padding: 1.4rem 0 0;
    border-top: 1px solid #e2e6e1;
    list-style: none;
}

.feature-copy li {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    margin: 0.65rem 0;
    color: #3d4b5f;
    font-size: 0.83rem;
    font-weight: 700;
}

.feature-copy li span {
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    color: var(--home-green);
    border-radius: 50%;
    background: #e8f1eb;
    font-size: 0.65rem;
}

.feature-window {
    box-shadow: 0 24px 60px rgba(16, 28, 47, 0.15);
}

.draft-preview {
    padding: 1.25rem;
    background: #f7f8f5;
}

.draft-status-card {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    color: #fff;
    border-radius: 7px;
    background: var(--home-green);
}

.draft-status-card > b {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
}

.draft-status-card span {
    display: flex;
    flex-direction: column;
    font-size: 0.72rem;
}

.draft-status-card small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.57rem;
}

.draft-preview-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1rem;
}

.pick-list,
.available-list {
    padding: 1rem;
    border: 1px solid #e1e5e0;
    border-radius: 7px;
    background: #fff;
}

.pick-list > div {
    display: grid;
    grid-template-columns: 24px 1fr 29px;
    gap: 0.55rem;
    align-items: center;
    min-height: 51px;
    border-bottom: 1px solid #edf0ec;
}

.pick-list > div:last-child {
    border: 0;
}

.pick-list > div > b {
    color: #929a9a;
    font-size: 0.63rem;
}

.pick-list div span {
    display: flex;
    flex-direction: column;
    font-size: 0.66rem;
    font-weight: 700;
}

.pick-list small,
.available-teams small {
    color: #9199a2;
    font-size: 0.53rem;
    font-weight: 400;
}

.pick-list img {
    width: 27px;
    height: 27px;
}

.available-teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.available-teams > span {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 0.5rem;
    align-items: center;
    padding: 0.6rem;
    border: 1px solid #e3e7e2;
    border-radius: 6px;
}

.available-teams img {
    grid-row: 1 / 3;
    width: 28px;
    height: 28px;
}

.available-teams b {
    overflow: hidden;
    font-size: 0.6rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.results-preview {
    padding: 1.5rem;
}

.results-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.results-top span,
.results-top b {
    display: flex;
    flex-direction: column;
}

.results-top small {
    color: #8a929c;
    font-size: 0.56rem;
    font-weight: 500;
    text-transform: uppercase;
}

.results-top > b {
    align-items: flex-end;
    color: var(--home-green);
}

.result-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) repeat(8, 28px);
    gap: 4px;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid #edf0ec;
}

.result-row > span {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
}

.result-row img {
    grid-row: 1 / 3;
    width: 24px;
    height: 24px;
}

.result-row strong {
    font-size: 0.65rem;
}

.result-row small {
    color: #8a939f;
    font-size: 0.5rem;
}

.result-row > i {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #4c6355;
    border-radius: 4px;
    background: #c6dfcc;
    font-size: 0.52rem;
    font-style: normal;
    font-weight: 800;
}

.result-row > i.loss {
    color: #855148;
    background: #efc9c2;
}

.chart-preview {
    position: relative;
    height: 130px;
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.chart-label {
    position: absolute;
    top: 0;
    left: 0;
    color: #7a8491;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
}

.chart-preview svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-preview .grid {
    fill: none;
    stroke: #e8ebe7;
    stroke-width: 1;
}

.chart-preview .line {
    fill: none;
    stroke-linecap: round;
    stroke-width: 3;
}

.line-one { stroke: var(--home-green); }
.line-two { stroke: var(--home-orange); }

.closing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 7vw, 7rem);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16, 28, 47, 0.95), rgba(16, 28, 47, 0.88)),
        url("/img/field2.jpg") center 54% / cover;
}

.marketing-eyebrow.is-light {
    color: #87c4a5;
}

.closing-cta h2 {
    margin-bottom: 0.7rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.closing-cta p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.68);
}

.closing-action {
    display: flex;
    min-width: 250px;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
    text-align: center;
}

.marketing-button.is-light {
    color: var(--home-navy);
    border-color: #fff;
    background: #fff;
}

.closing-action small {
    color: rgba(255, 255, 255, 0.57);
    font-size: 0.62rem;
}

.marketing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem clamp(2rem, 7vw, 7rem);
    color: #7c8693;
    background: #fff;
    font-size: 0.68rem;
}

.marketing-footer p {
    margin-bottom: 0;
}

.footer-brand {
    color: var(--home-navy);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.footer-brand span {
    color: var(--home-orange);
}

@media screen and (max-width: 1100px) {
    .marketing-hero {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding-right: 3rem;
        padding-left: 3rem;
    }

    .marketing-hero h1 {
        font-size: clamp(3.5rem, 7vw, 5.5rem);
    }

    .feature-preview {
        grid-template-columns: minmax(240px, 0.65fr) minmax(480px, 1.35fr);
        gap: 3rem;
    }
}

@media screen and (max-width: 900px) {
    .marketing-hero {
        grid-template-columns: 1fr;
        padding: 4.5rem 2.5rem 5.5rem;
    }

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

    .hero-product {
        width: min(680px, 96%);
        margin: 2rem auto 0;
        transform: none;
    }

    .section-intro {
        display: block;
    }

    .section-intro h2 {
        margin-bottom: 1.25rem;
    }

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

    .step-card {
        min-height: 230px;
    }

    .step-card.is-featured {
        transform: none;
    }

    .step-icon {
        margin-bottom: 2rem;
    }

    .feature-preview,
    .feature-preview.is-reversed {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-preview.is-reversed .feature-copy {
        order: 0;
    }

    .feature-copy {
        max-width: 580px;
    }

    .closing-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .marketing-page {
        border-radius: 12px;
    }

    .marketing-hero,
    .how-section,
    .product-section {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .marketing-hero {
        min-height: auto;
        padding-top: 3.5rem;
    }

    .marketing-hero h1 {
        font-size: clamp(3.2rem, 17vw, 4.7rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .marketing-button {
        width: 100%;
    }

    .hero-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 0.8rem;
    }

    .hero-details span {
        padding-left: 0;
    }

    .hero-details span:nth-child(2) {
        padding-left: 1rem;
        border: 0;
    }

    .hero-details span:last-child {
        grid-column: 1 / -1;
    }

    .hero-product {
        width: 100%;
    }

    .app-window-bar {
        grid-template-columns: auto 1fr auto;
        gap: 0.5rem;
    }

    .app-window-bar > span:nth-child(2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .standings-row {
        grid-template-columns: 20px 30px 1fr 38px;
        gap: 0.45rem;
        padding-right: 0.6rem;
        padding-left: 0.6rem;
    }

    .mini-form {
        display: none;
    }

    .floating-score {
        right: -8px;
        bottom: -30px;
        transform: scale(0.85);
        transform-origin: right center;
    }

    .trust-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .trust-strip div {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .trust-strip i {
        display: none;
    }

    .section-intro {
        margin-bottom: 2.5rem;
    }

    .feature-preview {
        margin-bottom: 7rem;
    }

    .feature-window {
        margin: 0 -0.6rem;
    }

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

    .pick-list {
        display: none;
    }

    .results-preview {
        padding: 1rem;
    }

    .result-row {
        grid-template-columns: minmax(86px, 1fr) repeat(5, 25px);
    }

    .result-row > i:nth-last-child(-n+3) {
        display: none;
    }

    .closing-cta {
        padding: 3.5rem 1.25rem;
    }

    .closing-action {
        width: 100%;
    }

    .marketing-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 2rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marketing-button {
        transition: none;
    }
}
