:root {
    --ink: #111111;
    --muted: #4b5563;
    --accent-blue: #1f6fd6;
    --cta-blue: #5B9BE0;
    --cta-blue-dark: #4b8fdb;
    --cta-yellow: #FFC107;
    --before-orange: #f2711c;
    --before-bg: #fdf3e7;
    --after-green: #2f9e44;
    --after-bg: #eafbef;
    --rule: #e5e7eb;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--ink);
    font-family: 'Hanken Grotesk', sans-serif;
    line-height: 1.65;
    font-size: 16px;
}

img {
    max-width: 100%;
}

main {
    display: block;
}

/* ---------- Page / container ---------- */

.doc-page {
    width: 100%;
    padding: 64px 20px;
    background: #ffffff;
}

.doc-page:nth-of-type(even) {
    background: linear-gradient(135deg, #f4f8ff 0%, #eef5ff 100%);
}

.doc-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.doc-container.wide {
    max-width: 1220px;
}

.prose {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .doc-page {
        padding: 48px 18px;
    }
}

/* ---------- Hero ---------- */

.hero-page {
    background: linear-gradient(135deg, #071224 0%, #0d2b5e 55%, #1b3b74 100%) !important;
    background-size: 200% 200%;
    animation: heroGradient 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 106, 0, 0.28), transparent 32%);
    pointer-events: none;
}

.hero-page .doc-container {
    position: relative;
    z-index: 1;
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.22);
    margin-bottom: 1.25rem;
}

.hero-page .hero-h1 {
    color: #ffffff;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.hero-page .hero-lead {
    color: rgba(255, 255, 255, 0.88);
}

.hero-page .hero-strong {
    color: #ffffff;
}

.hero-page .hero-meta {
    color: rgba(255, 255, 255, 0.7);
}

.text-accent-inverse {
    color: #ffc36b;
    font-style: italic;
}

.hero-photo {
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
    padding-top: 0.5rem;
}

.hero-col-text {
    text-align: left;
}

.hero-cta-wrap {
    justify-content: flex-start;
    margin-top: 2rem;
}

.hero-col-media {
    text-align: center;
}

.hero-col-media .doc-photo {
    margin: 0 auto 1.5rem;
}

.hero-col-media .hero-strong {
    margin-bottom: 0.4rem;
}

.hero-col-media .hero-meta {
    margin-bottom: 1.75rem;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-col-text {
        text-align: center;
    }

    .hero-cta-wrap {
        justify-content: center;
    }
}

.doc-center {
    text-align: center;
}

.doc-text-left {
    text-align: left;
}

.doc-italic {
    font-style: italic;
}

.doc-emoji {
    font-style: normal;
}

/* ---------- Section badges ---------- */

.section-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.doc-center-badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.badge-blue {
    background: rgba(31, 111, 214, 0.1);
    color: var(--accent-blue);
}

.badge-orange {
    background: rgba(242, 113, 28, 0.12);
    color: var(--before-orange);
}

/* ---------- Typography ---------- */

.doc-h1 {
    font-size: clamp(1.9rem, 4.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ink);
}

.doc-h2 {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--ink);
    text-align: center;
}

.doc-lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.doc-strong {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.doc-meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.doc-callout-line {
    font-size: 1.25rem;
    margin: 1.75rem 0;
}

.text-accent {
    color: var(--accent-blue);
    font-style: italic;
}

.text-accent-bold {
    color: var(--accent-blue);
    font-weight: 700;
    font-style: normal;
}

.doc-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ---------- Photo ---------- */

.doc-photo {
    max-width: 260px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--rule);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.doc-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.coach-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.coach-sub {
    color: var(--muted);
    margin-bottom: 2rem;
}

/* ---------- Info grid (hero date/time/language/mode) ---------- */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 460px;
    margin: 0 auto 2rem;
}

.info-box {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    text-align: center;
    font-weight: 600;
}

.info-box i {
    margin-right: 0.4rem;
    color: #ffc36b;
}

.spaced-top {
    margin-top: 1.75rem;
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Lists ---------- */

.check-list,
.dot-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    text-align: left;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.dot-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
}

.dot-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.sub-list {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 1.25rem;
    text-align: left;
}

.sub-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
}

.sub-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--muted);
}

.sub-para {
    margin: 0.6rem 0 1.25rem;
    text-align: left;
    color: var(--muted);
}

/* ---------- CTA ---------- */

.cta-wrap {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 1rem;
}

.cta-pulse {
    position: relative;
    display: inline-block;
    max-width: 600px;
    width: 100%;
}

.cta-tag {
    position: absolute;
    top: -16px;
    left: 15px;
    background: var(--cta-yellow);
    color: #111;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 7px;
    box-shadow: 0 3px 0 #b88700;
    z-index: 2;
}

.cta-button {
    display: block;
    background: var(--cta-blue);
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: var(--cta-blue-dark);
    color: #fff;
    transform: translateY(-2px);
}

.cta-title {
    display: block;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
}

.cta-sub {
    display: block;
    font-size: 15px;
    font-weight: 400;
    margin-top: 4px;
}

.green-link {
    color: #1b8a3d;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .cta-button {
        padding: 16px 12px;
    }

    .cta-title {
        font-size: 18px;
    }

    .cta-sub {
        font-size: 13px;
    }

    .cta-tag {
        top: -12px;
        left: 10px;
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* ---------- Before / After ---------- */

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

.ba-box {
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.75rem;
}

.ba-before {
    background: var(--before-bg);
    border: 1px solid rgba(242, 113, 28, 0.25);
}

.ba-after {
    background: var(--after-bg);
    border: 1px solid rgba(47, 158, 68, 0.25);
}

.ba-tag {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.ba-before .ba-tag {
    background: var(--before-orange);
}

.ba-after .ba-tag {
    background: var(--after-green);
}

.ba-list {
    list-style: none;
    padding: 0;
}

.ba-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.ba-before .ba-list {
    color: #7c2d12;
}

.ba-after .ba-list {
    color: #14532d;
}

.ba-before .ba-list i {
    color: var(--before-orange);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.ba-after .ba-list i {
    color: var(--after-green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ---------- Tile grids (icon cards) ---------- */

.tile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

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

.tile-grid.narrow {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .tile-grid.narrow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tile-grid.two-col {
        grid-template-columns: 1fr;
    }

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

.tile-card {
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.tile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.tile-card p {
    margin: 0;
}

.tile-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.tile-card .sub-list,
.tile-card .sub-para {
    margin-top: 0.6rem;
}

.tile-icon {
    display: block;
    color: var(--accent-blue);
    font-size: 1.4rem;
    margin: 0 0 0.7rem;
}

.bullet-tile-icon {
    font-size: 0.55rem;
    margin: 0.4rem 0 0.6rem;
}

.tile-card.span-2 {
    grid-column: span 2;
}

@media (max-width: 640px) {
    .tile-card.span-2 {
        grid-column: span 1;
    }
}

.tile-card.small-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    font-weight: 600;
    text-align: center;
}

.tile-card.small-tile .tile-icon {
    margin: 0;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tile-card.learn-card .tile-icon {
    background: rgba(31, 111, 214, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.tile-card.learn-card p {
    color: var(--muted);
}

/* ---------- Pill rows (tools / companies) ---------- */

.pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.pill-row.centered {
    justify-content: center;
}

.tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff7ed;
    color: var(--before-orange);
    border: 1px solid rgba(242, 113, 28, 0.25);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---------- Quote card (message section) ---------- */

.quote-card {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(135deg, #071224 0%, #112852 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    overflow: hidden;
}

.quote-card .doc-h2,
.quote-card .doc-quote {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.quote-card .doc-quote {
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
}

.quote-mark {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

/* ---------- Callout box ---------- */

.callout-box {
    border: 1px solid rgba(31, 111, 214, 0.3);
    border-left: 5px solid var(--accent-blue);
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-top: 2rem;
}
