/* =========================================
   1. GLOBAL RESET & BASE STYLES
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    color-scheme: light dark;
}

html, body {
    height: auto !important;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #000;
    text-decoration: underline;
    transition: color 0.2s;
}
a:hover { color: #555; }

/* TYPOGRAPHY SPACING */
p { margin-bottom: 16px; }

h1, h2, h3, h4 {
    color: #000;
    line-height: 1.2;
}

.no-wrap {
    white-space: nowrap;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.75rem;
    margin-top: 60px;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

ul, ol {
    margin-bottom: 30px;
    padding-left: 28px;
}

li { margin-bottom: 6px; }

/* Form controls: explicit colors so they follow theme (see dark block below) */
input, textarea, select {
    background-color: #fff;
    color: #111;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input::placeholder,
textarea::placeholder {
    color: #666;
}

button {
    color: inherit;
}

/* Table of contents: show top level only */
.toc ul ul, .toc ul ol, .toc ol ul, .toc ol ol { display: none; }

/* =========================================
   1B. LONG-FORM PROSE (MARKDOWN PAGES)
   ========================================= */
.has-prose-page .container {
    max-width: 760px;
}

.is-subfolder-route.has-prose-page .container {
    max-width: 820px;
}

#content.prose-content {
    max-width: 72ch;
    margin: 0 auto;
    color: #1f2937;
    font-size: clamp(1.03rem, 0.97rem + 0.28vw, 1.14rem);
    line-height: 1.78;
    text-wrap: pretty;
}

#content.prose-content > :first-child {
    margin-top: 0;
}

#content.prose-content > :last-child {
    margin-bottom: 0;
}

#content.prose-content :where(h1, h2, h3, h4) {
    text-wrap: balance;
    scroll-margin-top: 90px;
}

#content.prose-content h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem);
    letter-spacing: -0.02em;
    line-height: 1.12;
}

#content.prose-content h2 {
    margin-top: 52px;
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 1.26rem + 0.6vw, 1.85rem);
}

#content.prose-content h3 {
    margin-top: 34px;
    margin-bottom: 10px;
    font-size: clamp(1.14rem, 1.06rem + 0.35vw, 1.34rem);
}

#content.prose-content :where(p, li) {
    color: inherit;
}

#content.prose-content p {
    margin-bottom: 1.05em;
}

#content.prose-content ul,
#content.prose-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.3em;
}

#content.prose-content li {
    margin-bottom: 0.5em;
}

#content.prose-content li > :last-child {
    margin-bottom: 0;
}

#content.prose-content hr {
    border: 0;
    height: 1px;
    margin: 2.25rem 0;
    background: linear-gradient(to right, transparent, #d7dbe0 12%, #d7dbe0 88%, transparent);
}

#content.prose-content blockquote {
    margin: 1.5rem 0;
    padding: 0.15rem 0 0.15rem 1rem;
    border-left: 3px solid #1f2937;
    color: #374151;
    font-style: italic;
}

#content.prose-content :is(a) {
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

#content.prose-content :is(code, pre) {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9em;
}

#content.prose-content code {
    background: #f5f7fa;
    border: 1px solid #e8ebef;
    border-radius: 5px;
    padding: 0.1em 0.3em;
}

#content.prose-content pre {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e8ebef;
    background: #f8fafc;
    padding: 0.9rem 1rem;
    margin: 1.4rem 0;
}

#content.prose-content pre code {
    border: 0;
    background: transparent;
    padding: 0;
}

#content.prose-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.prose-toc {
    margin: 0 0 1.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

.prose-toc-label {
    margin: 0 0 0.55rem;
    font-size: 0.76rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    font-weight: 700;
}

.prose-toc ul {
    margin: 0;
    padding-left: 1.1rem;
}

.prose-toc li {
    margin-bottom: 0.3rem;
}

.prose-toc li:last-child {
    margin-bottom: 0;
}

.prose-toc a {
    color: #1f2937;
    text-decoration: none;
    font-size: 0.93rem;
    line-height: 1.35;
}

.prose-toc a:hover {
    text-decoration: underline;
}

/* =========================================
   2. LAYOUT UTILITIES
   ========================================= */
.container {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 0;
}

/* NEW: Wide container for Booking Pages (planning.html, etc) */
.container-wide {
    width: 100%;
    max-width: 1200px; /* Allows Cal.com side-by-side view */
    margin: 0 auto;
    padding: 60px 20px;
}

.container,
.container-wide {
    height: auto !important;
    overflow: visible !important;
}

/* NEW: Constrains text width inside wide containers */
.text-constrained {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.container.wide-layout { max-width: 1100px; }

.mb-40 { margin-bottom: 40px; }
.mb-0  { margin-bottom: 0 !important; }

/* UPDATED: Mobile Layout Tightening */
@media (max-width: 600px) {
    #content.prose-content {
        font-size: 1rem;
        line-height: 1.72;
    }

    #content.prose-content h1 {
        font-size: 1.7rem;
    }

    #content.prose-content h2 {
        margin-top: 2.6rem;
    }

    #content.prose-content h3 {
        margin-top: 1.8rem;
    }

    .prose-toc {
        padding: 0.8rem 0.9rem;
        margin-bottom: 1.5rem;
    }

    .prose-toc a {
        font-size: 0.9rem;
    }

    .container, .container-wide {
        padding-top: 28px; /* Reduced from 60px */
        padding-bottom: 40px;
    }
    .mb-40 { margin-bottom: 16px; } /* Tighter spacing below header */
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.site-header {
    border-bottom: 1px solid #f3f3f3;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* UPDATED: Tighter Header on Mobile */
@media (max-width: 600px) {
    .nav-inner {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

.nav-logo {
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    color: #333;
}

.nav-menu-wrap {
    position: relative;
}

.nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
}

.nav-menu-toggle:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.nav-menu {
    display: none;
    position: absolute;
    right: 0;
    /* Align directly under toggle to avoid hover gap that closes menu */
    top: 100%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 8px;
    min-width: 240px;
    z-index: 1000;
    padding: 4px 0;
}

.nav-menu-wrap:hover .nav-menu,
.nav-menu-wrap.open .nav-menu {
    display: block;
}

.nav-item {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

.nav-item:hover {
    background-color: #fafafa;
    color: #000;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

.nav-cta {
    background-color: #000;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-cta:hover {
    background-color: #333;
    color: #fff !important;
}

.nav-link:hover {
    color: #000;
}

/* =========================================
   4. HERO & SECTIONS
   ========================================= */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    height: auto !important;
    min-height: 0 !important;
}
.hero-with-photo {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
}
.hero.small-pad { padding: 30px 0; }

.hero-with-photo .hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.hero-with-photo .hero-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
    margin: 0;
}

.hero-title {
    margin-bottom: 20px;
    font-size: 2.2rem;
    line-height: 1.2;
}

.hero-subhead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    letter-spacing: normal;
    margin-top: 0;
    margin-bottom: 16px;
}

.hero-lead {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-cta-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 8px;
    margin-bottom: 0;
}

.hero-list {
    margin: 8px 0 16px;
    padding-left: 20px;
    font-size: 0.95rem;
    color: #555;
}

.hero-list li {
    margin-bottom: 4px;
}

.hero-meta {
    font-size: 0.85rem;
    margin-top: 6px;
    opacity: 0.8;
}

.hero-cta {
    display: inline-block;
    margin-bottom: 12px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 12px;
}
.hero-cta-row .hero-cta {
    margin-bottom: 0;
}
.hero-transitional-cta {
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}
.hero-transitional-cta:hover {
    color: #000;
    border-color: #888;
}

.hero-trust {
    font-size: 0.85rem;
    color: #888;
    margin-top: 28px;
    margin-bottom: 0;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.hero-tag {
    font-size: 0.8rem;
    color: #555;
    background: #f5f5f5;
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.hero-with-photo .hero-photo-wrap {
    flex: 0 0 auto;
}

.hero-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.hero-long {
    max-width: 640px;
    margin: 32px auto 0;
    text-align: left;
    /* Match horizontal inset previously from parent .hero */
    padding: 0 20px;
}

.hero-about-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 0.35em;
}

.hero-long-p {
    line-height: 1.65;
    margin-bottom: 1em;
    font-size: 1rem;
    color: #555;
}

.hero-long-p:last-child {
    margin-bottom: 0;
}

.hero-long-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.45;
    font-size: 0.9rem;
    color: #555;
}

.hero-long-bullets {
    padding-left: 1.25rem;
    margin: 0.5rem 0 0;
    line-height: 1.55;
    font-size: 0.9rem;
    color: #555;
}

.hero-long-bullets li {
    margin-bottom: 8px;
}

.hero-long-bullets li:last-child {
    margin-bottom: 0;
}

.hero-long-list li {
    margin-bottom: 6px;
}

.hero-long-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-with-photo {
        padding-top: 18px;
        padding-bottom: 40px;
    }

    .hero-with-photo .hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-with-photo .hero-text .hero-title,
    .hero-with-photo .hero-text .hero-subhead,
    .hero-with-photo .hero-text .hero-lead,
    .hero-with-photo .hero-text .hero-cta-note,
    .hero-with-photo .hero-text .hero-trust {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-with-photo .hero-text .hero-title {
        font-size: 1.5rem; /* ~1.5× body on mobile */
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-with-photo .hero-text .hero-subhead {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .hero-with-photo .hero-text .hero-lead {
        font-size: 1.05rem;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .hero-with-photo .hero-text .hero-cta {
        margin-bottom: 6px;
    }

    .hero-with-photo .hero-text .hero-cta-note {
        font-size: 0.78rem;
    }

    .hero-with-photo .hero-text .hero-trust {
        font-size: 0.78rem;
    }

    /* Hero plain h1 (e.g. free-situation page) — scale down so heading wraps to ~4 lines on mobile */
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    /* About below the fold: smaller type than hero subhead, supporting text feel */
    .hero-long {
        margin-top: 40px;
    }

    .hero-about-label {
        font-size: 0.7rem;
    }

    .hero-long-p {
        font-size: 0.9rem; /* 1–2 steps below hero-lead (1.15rem) */
        line-height: 1.7;
        font-weight: 400;
    }

    .hero-long-list,
    .hero-long-list li {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* PWA / installable app and small viewports: force headline + subhead + CTA + hint of photo above the fold */
@media (max-width: 600px) {
    .hero-with-photo {
        padding-top: 16px;
        padding-bottom: 24px;
        min-height: auto;
    }

    .hero-with-photo .hero-inner {
        min-height: auto;
        justify-content: flex-start;
        gap: 16px;
        align-items: flex-start;
        text-align: left;
    }

    .hero-with-photo .hero-text .hero-title,
    .hero-with-photo .hero-text .hero-subhead,
    .hero-with-photo .hero-text .hero-lead,
    .hero-with-photo .hero-text .hero-cta-note,
    .hero-with-photo .hero-text .hero-trust {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-with-photo .hero-photo-wrap {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .mb-40 { margin-bottom: 6px; }
    .container { padding-top: 12px; }

    .hero-with-photo {
        padding-top: 10px;
        padding-bottom: 24px;
    }

    .hero-with-photo .hero-inner {
        gap: 6px;
    }

    .hero-with-photo .hero-text .hero-title {
        font-size: 1.35rem; /* still clearly dominant over body */
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .hero-with-photo .hero-text .hero-subhead {
        font-size: 1.1rem;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .hero-with-photo .hero-text .hero-lead {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .hero-with-photo .hero-text .hero-cta {
        margin-bottom: 4px;
    }

    .hero-with-photo .hero-text .hero-cta-note {
        font-size: 0.72rem;
    }

    .hero-with-photo .hero-text .hero-trust {
        font-size: 0.7rem;
        margin-top: 4px;
    }

    .hero h1 {
        font-size: 1.35rem;
    }

    .hero-photo {
        width: 88px;
        height: 88px;
    }

    .hero-long {
        margin-top: 44px;
    }

    .hero-long-p {
        font-size: 0.85rem; /* step below 768px hero-lead (1.08rem) */
        line-height: 1.75;
    }

    .hero-long-list,
    .hero-long-list li {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

.container.wide-layout .hero { max-width: 100%; width: 100%; }

.hero .subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-subtext {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.hero-checklist {
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    padding: 16px 18px;
    margin-top: 24px;
    text-align: left;
    display: inline-block;
    max-width: 560px;
    width: 100%;
}

.hero-checklist-label {
    font-weight: 600;
    margin: 0 0 10px;
}

.hero-checklist-list {
    list-style: disc;
    list-style-position: outside;
    margin: 0;
    padding-left: 1.35em;
    font-size: 1rem;
    line-height: 1.45;
}

.hero-checklist-list li {
    margin-bottom: 0.45em;
    padding-left: 0.35em;
}

.hero-checklist-list li:last-child {
    margin-bottom: 0;
}

.hero-checklist-foot {
    font-size: 0.95rem;
    margin: 12px 0 0;
}

.hero-checklist-list li::marker {
    color: #555;
}

/* /free-situation: proof quote stacked above calendar — narrow measure on wide viewports */
.free-situation-quote {
    font-style: italic;
    color: #555;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 34em;
    line-height: 1.5;
    font-size: 0.95rem;
}
.free-situation-quote-attrib {
    font-style: normal;
    font-size: 0.9rem;
    color: #777;
}

/* /free-situation: two headline rows (no stray <br> + mid-sentence wrap); &nbsp; keeps "with in" from splitting */
.free-situation-page .hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2em;
}

.free-situation-page .hero-title-line {
    display: block;
    max-width: 100%;
}

@supports (text-wrap: balance) {
    .free-situation-page .hero-title-line {
        text-wrap: balance;
    }
}

.free-situation-page .hero .subhead-main {
    text-wrap: pretty;
}

@media (min-width: 1024px) {
    .free-situation-page .container {
        max-width: 900px; /* was 700px */
    }

    .free-situation-page .hero-title {
        font-size: 2.7rem;
    }
}

.program-tag, .success-icon {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 600;
}

/* =========================================
   5. BUTTONS
   ========================================= */
.btn, .hero-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
    cursor: pointer;
}
.btn:hover, .hero-btn:hover {
    background-color: #333;
    color: #fff;
}

.btn-small {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 15px;
}
.btn-small:hover { background-color: #333; }

/* Alt box (HR / founder community) */
.alt-box {
    padding: 32px 28px 34px;
    border-radius: 16px;
    background: #f2f2f2;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.alt-box-heading {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.45;
    max-width: 42rem;
}
.alt-box p {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 14px;
}
.alt-box-lead {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin-bottom: 22px !important;
    max-width: 40rem;
}
.alt-box-cta-label {
    font-size: 0.85rem;
    color: #5a5a5a;
    margin: 0 0 14px !important;
    letter-spacing: 0.01em;
}
.alt-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 2px;
}
.alt-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #c8c8c8;
    color: #222 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.alt-btn:hover {
    background: #f5f5f5;
    color: #111 !important;
    border-color: #999;
}

/* =========================================
   8B. HOMEPAGE + SITUATION VISUAL POLISH
   ========================================= */
body.homepage,
body.teams-page {
    background:
        radial-gradient(900px 500px at 50% -120px, rgba(0, 0, 0, 0.05), transparent 72%),
        #fff;
}

.homepage .hero-with-photo,
.teams-page .hero {
    margin-top: 8px;
    padding: 52px 28px 44px;
    border: 1px solid #ececec;
    border-radius: 26px;
    background:
        radial-gradient(540px 220px at 85% 8%, rgba(0, 0, 0, 0.035), transparent 78%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.homepage .hero-title {
    font-size: clamp(2.2rem, 1.7rem + 1.7vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.homepage .hero-subhead {
    font-size: clamp(1.15rem, 1.04rem + 0.4vw, 1.38rem);
    color: #3f3f46;
    line-height: 1.45;
    max-width: 34ch;
}

.homepage .hero-cta-note {
    font-size: 0.84rem;
    color: #6b7280;
    letter-spacing: 0.01em;
}

.homepage .hero-photo {
    width: 168px;
    height: 168px;
    border: 3px solid #fff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.btn,
.hero-btn,
.final-cta-btn,
.homepage .alt-btn {
    border: 1px solid transparent;
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.hero-btn:hover,
.final-cta-btn:hover,
.homepage .alt-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.homepage .hero-long {
    background: #f8fafc;
    border: 1px solid #e6ebf2;
    border-radius: 18px;
    padding: 24px 24px 22px;
}

.homepage .hero-about-label {
    color: #475569;
}

.homepage .hero-long-bullets li::marker {
    color: #0f172a;
}

.homepage .about-strip {
    border-radius: 20px;
    border: 1px solid #e8eaef;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.homepage .logo-strip {
    border-top: 1px solid #e8ebf1;
    border-bottom: 1px solid #e8ebf1;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.86) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 18px;
    padding-left: 22px;
    padding-right: 22px;
}

.homepage .company-name {
    color: #52525b;
}

.homepage .home-process,
.homepage .home-faq {
    border: 1px solid #e7e7ea;
    border-radius: 18px;
    background: #fff;
    padding: 26px 24px 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.homepage .home-process ol {
    margin-bottom: 1rem;
}

.homepage .proof-quotes {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid #e7e7e7;
    border-radius: 20px;
    padding: 34px 26px;
}

.homepage .proof-quotes-title {
    margin-top: 0;
    font-size: 1.2rem;
}

.homepage .proof-quotes-copy {
    color: #414141;
}

.homepage .faq-item {
    border-color: #e3e3e7;
}

.homepage details.faq-item summary {
    font-size: 0.98rem;
}

.homepage .proof-section {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(440px 220px at 84% 8%, rgba(255, 255, 255, 0.1), transparent 70%),
        linear-gradient(160deg, #09090b 0%, #1a1a1d 100%);
}

.homepage .proof-section h2 {
    font-size: clamp(1.8rem, 1.5rem + 0.7vw, 2.25rem);
}

.homepage .teams-note {
    margin-top: 30px;
}

/* =========================================
   HOME BENTO HERO
   ========================================= */
.home-bento {
    margin-top: 8px;
}

.home-bento-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: stretch;
}

.home-bento-hero {
    padding: 52px 36px 40px;
    border: 1px solid #ececec;
    border-radius: 26px;
    background:
        radial-gradient(540px 220px at 85% 8%, rgba(0, 0, 0, 0.035), transparent 78%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
}

.home-bento-title {
    font-size: clamp(2.2rem, 1.7rem + 1.7vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.home-bento-subhead {
    font-size: clamp(1.15rem, 1.04rem + 0.4vw, 1.38rem);
    color: #3f3f46;
    line-height: 1.45;
    max-width: 46ch;
    margin-bottom: 24px;
}

.home-bento-cta-card {
    margin-top: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.home-bento-btn {
    display: inline-block;
    margin: 0;
}

.home-bento-cta-note {
    font-size: 0.84rem;
    color: #6b7280;
    letter-spacing: 0.01em;
    margin: 0;
}

.home-bento-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-bento-card {
    border: 1px solid #e7e7ea;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.home-bento-portrait-card {
    padding: 18px 18px 16px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-bento-photo {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    border: 3px solid #fff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    display: block;
}

.home-bento-photo-caption {
    margin: 14px 0 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.home-bento-context-card {
    padding: 18px 20px 16px;
}

.home-bento-context-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.home-bento-context-list li {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 4px;
}

.home-bento-context-link {
    font-size: 0.86rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}
.home-bento-context-link:hover {
    color: #000;
    border-color: #888;
}

.home-bento-familiar-card {
    margin-top: 20px;
    padding: 26px 28px 24px;
}

.home-bento-familiar-card .hero-long-p {
    color: #555;
    line-height: 1.65;
    margin-bottom: 1em;
}

.home-bento-familiar-card .hero-about-label {
    color: #475569;
}

.home-bento-familiar-card .hero-long-bullets {
    margin: 0 0 1em;
    padding-left: 20px;
}

.home-bento-familiar-card .hero-long-bullets li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

.home-bento-familiar-card .hero-long-bullets li::marker {
    color: #0f172a;
}

@media (max-width: 768px) {
    .home-bento-top {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-bento-hero {
        padding: 32px 22px 26px;
        border-radius: 18px;
    }

    .home-bento-side {
        flex-direction: row;
        gap: 16px;
    }

    .home-bento-side > .home-bento-card {
        flex: 1;
        border-radius: 14px;
    }

    .home-bento-photo {
        max-width: 140px;
    }

    .home-bento-familiar-card {
        padding: 18px 16px;
        border-radius: 14px;
    }
}

@media (max-width: 540px) {
    .home-bento-side {
        flex-direction: column;
    }
}

.situation-page .hero {
    border: 1px solid #e7e9ed;
    border-radius: 24px;
    padding: 28px 24px 30px;
    background:
        radial-gradient(520px 210px at 85% 8%, rgba(0, 0, 0, 0.03), transparent 74%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.situation-page .hero-title {
    font-size: clamp(1.95rem, 1.45rem + 1.45vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.situation-page .subhead-main {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.06rem;
    color: #374151;
    line-height: 1.55;
}

.situation-page .hero-checklist {
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.situation-page .hero-checklist-label {
    color: #1f2937;
}

.situation-page .free-situation-quote {
    margin-top: 18px;
    color: #374151;
}

.situation-page .situation-cal-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.situation-page .situation-meta-primary,
.situation-page .situation-meta-secondary,
.situation-page .situation-meta-tertiary {
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
    color: #4b5563;
}

.situation-page .fit-grid > div {
    background: #fafafa;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 18px 16px 14px;
}

.teams-page .hero h1 {
    font-size: clamp(2rem, 1.65rem + 1.35vw, 2.9rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.teams-page .hero .subhead-main {
    font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.26rem);
    color: #3f3f46;
    line-height: 1.5;
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
}

.teams-page .org-block {
    border-top: 1px solid #e8ebf1;
    border-bottom: 1px solid #e8ebf1;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.86) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 18px;
    margin-top: 30px;
    margin-bottom: 0;
    padding: 28px 22px;
}

.teams-page .org-title {
    color: #64748b;
}

.teams-page .org-list li {
    color: #52525b;
}

.teams-page .container > section:not(.hero):not(.not-fluffy-box):not(.cta-box) {
    border: 1px solid #e7e7ea;
    border-radius: 18px;
    background: #fff;
    padding: 26px 24px 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    margin-top: 32px;
}

.teams-page .container > section h2:first-child {
    margin-top: 0;
}

.teams-page .ladder-step {
    border-left-color: #dbe3ef;
}

.teams-page .not-fluffy-box {
    border: 1px solid #e6e8ee;
    border-radius: 20px;
    background:
        linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.teams-page .cta-box {
    text-align: center;
    margin-top: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(440px 220px at 84% 8%, rgba(255, 255, 255, 0.1), transparent 70%),
        linear-gradient(160deg, #09090b 0%, #1a1a1d 100%);
    color: #fff;
    padding: 52px 28px;
}

.teams-page .cta-box p {
    color: #d1d5db;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.teams-page .cta-box .btn {
    background: #fff;
    color: #000;
}

.teams-page .cta-box .btn:hover {
    background: #f0f0f0;
    color: #000;
}

.situation-page .fit-column-label {
    margin-bottom: 10px;
}

.not-found-page .hero-with-photo {
    margin-top: 8px;
    padding: 44px 24px 38px;
    border: 1px solid #ececec;
    border-radius: 24px;
    background:
        radial-gradient(520px 220px at 85% 8%, rgba(0, 0, 0, 0.032), transparent 76%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.not-found-page .hero-title {
    font-size: clamp(2rem, 1.5rem + 1.25vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.not-found-page .hero-subhead {
    max-width: 34ch;
    color: #3f3f46;
}

.not-found-page .hero-long {
    margin-top: 36px;
    background: #f8fafc;
    border: 1px solid #e6ebf2;
    border-radius: 18px;
    padding: 24px 22px 22px;
}

.not-found-page .hero-about-label {
    color: #475569;
}

.not-found-page .hero-long-bullets li::marker {
    color: #0f172a;
}

.not-found-options {
    margin-top: 52px;
}

.not-found-options h2 {
    text-align: center;
}

.not-found-page .hero-tile {
    border-radius: 14px;
    border: 1px solid #e4e7ee;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.not-found-page .hero-tile p {
    color: #4b5563;
}

.not-found-tile-note {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 15px;
    margin-bottom: 0;
}

.not-found-final {
    margin-top: 54px;
}

.not-found-final .proof-section-copy {
    margin-left: auto;
    margin-right: auto;
    max-width: 42ch;
}

.not-found-final .proof-section-copy a {
    color: inherit;
}

@media (max-width: 768px) {
    .homepage .hero-photo {
        width: 116px;
        height: 116px;
    }

    .homepage .hero-long,
    .homepage .home-process,
    .homepage .home-faq,
    .homepage .proof-quotes {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .situation-page .hero {
        padding: 20px 14px 22px;
        border-radius: 16px;
    }

    .situation-page .situation-cal-wrap {
        padding: 8px;
    }

    .homepage .hero-with-photo,
    .teams-page .hero {
        padding: 32px 20px 26px;
        border-radius: 18px;
    }

    .teams-page .container > section:not(.hero):not(.not-fluffy-box):not(.cta-box),
    .teams-page .org-block {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .teams-page .not-fluffy-box {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .teams-page .cta-box {
        padding: 36px 18px;
        border-radius: 18px;
    }

    .not-found-page .hero-with-photo {
        padding: 28px 16px 24px;
        border-radius: 16px;
    }

    .not-found-page .hero-long {
        padding: 18px 16px;
        border-radius: 14px;
    }
}

@media (prefers-color-scheme: dark) {
    body.homepage,
    body.teams-page {
        background:
            radial-gradient(900px 500px at 50% -120px, rgba(255, 255, 255, 0.05), transparent 72%),
            #0b0b0b;
    }

    .homepage .hero-with-photo,
    .homepage .hero-long,
    .homepage .home-bento-hero,
    .homepage .home-bento-card,
    .homepage .about-strip,
    .homepage .home-process,
    .homepage .home-faq,
    .homepage .proof-quotes,
    .situation-page .hero,
    .teams-page .hero,
    .teams-page .container > section:not(.hero):not(.not-fluffy-box):not(.cta-box),
    .teams-page .org-block,
    .teams-page .not-fluffy-box,
    .not-found-page .hero-with-photo,
    .not-found-page .hero-long {
        background: #161616 !important;
        border-color: #2e2e2e !important;
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
    }

    .homepage .home-bento-subhead,
    .homepage .home-bento-context-list li,
    .homepage .home-bento-familiar-card .hero-long-p,
    .homepage .home-bento-familiar-card .hero-long-bullets li,
    .homepage .hero-subhead,
    .homepage .proof-quotes-copy,
    .situation-page .subhead-main,
    .teams-page .hero .subhead-main,
    .situation-page .free-situation-quote,
    .situation-page .situation-meta-primary,
    .situation-page .situation-meta-secondary,
    .situation-page .situation-meta-tertiary,
    .not-found-page .hero-subhead,
    .not-found-tile-note {
        color: #d1d5db !important;
    }

    .homepage .logo-strip {
        background: #121212;
        border-color: #2e2e2e;
    }

    .teams-page .org-title {
        color: #9ca3af !important;
    }

    .teams-page .org-list li {
        color: #cbd5e1 !important;
    }

    .teams-page .cta-box {
        border-color: #2e2e2e;
        background:
            radial-gradient(440px 220px at 84% 8%, rgba(255, 255, 255, 0.07), transparent 70%),
            linear-gradient(160deg, #09090b 0%, #17171a 100%);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
    }

    .teams-page .cta-box p {
        color: #d1d5db !important;
    }

    .homepage .company-name {
        color: #cbd5e1;
    }

    .situation-page .hero-checklist,
    .situation-page .situation-cal-wrap,
    .situation-page .fit-grid > div,
    .not-found-page .hero-tile {
        background: #111 !important;
        border-color: #2f2f34 !important;
    }

    .btn,
    .hero-btn,
    .final-cta-btn,
    .homepage .alt-btn {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
    }
}
@media (min-width: 768px) {
    .alt-links {
        flex-direction: row;
        gap: 14px;
    }
    .alt-btn {
        width: auto;
        flex: 1;
        min-width: 0;
    }
}

/* =========================================
   6. SPECIAL CONTENT BOXES & LISTS
   ========================================= */
.sprint-box, .friction-box, .audience-box {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-top: 60px;
    margin-bottom: 60px;
}
.sprint-box h3, .friction-box h3, .audience-box h3 { margin-top: 0; }

.not-fluffy-box {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin: 60px 0;
}
.not-fluffy-box h3 { margin-bottom: 20px; margin-top: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.org-block {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 1px solid #eee;
}
.org-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 700;
    margin-bottom: 15px;
}
.org-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
}
.org-list li {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0;
}
@media (min-width: 600px) {
    .org-list li:not(:last-child)::after {
        content: "·";
        margin-left: 10px;
        color: #ccc;
    }
}

/* =========================================
   7. PROCESS STRIP & SPLIT TILES
   ========================================= */
.process-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: left;
}
@media (max-width: 768px) {
    .process-strip { grid-template-columns: 1fr; gap: 40px; }
}

.process-step h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}
.process-step p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}
.step-number {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 5px;
    font-weight: 700;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
}
@media (max-width: 600px) {
    .hero-split { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
    .hero-split {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-tile {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-tile {
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid #eee;
    text-align: left;
}
.hero-tile:first-child {
    border-color: #333;
    background: #ffffff;
}
.hero-tile .btn-small {
    margin-top: auto;
}
.hero-tile:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    color: inherit;
}
.tile-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 10px;
    font-weight: 700;
}
.tile-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
}
.hero-tile:hover .tile-title { text-decoration: underline; }

/* =========================================
   8. HOMEPAGE SPECIFIC
   ========================================= */
.home-founder-title {
    font-size: 1.2rem;
    margin: 10px 0;
}

.home-founder-copy {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.home-founder-list {
    font-size: 0.9rem;
    margin: 0 0 20px;
    padding-left: 20px;
    color: #555;
}

.alt-box-full {
    grid-column: 1 / -1;
    margin-top: 48px;
}

.faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
details.faq-item {
    border-bottom: 1px solid #e8e8e8;
}
details.faq-item:first-of-type {
    border-top: 1px solid #e8e8e8;
}
details.faq-item summary {
    cursor: pointer;
    padding: 14px 0;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
    content: '+';
    font-size: 1.1rem;
    font-weight: 400;
    color: #888;
    flex-shrink: 0;
    margin-left: 12px;
}
details.faq-item[open] summary::after {
    content: '\2212';
}
.faq-answer {
    padding: 0 0 14px;
    font-size: 0.92rem;
    color: #555;
    line-height: 1.65;
    max-width: 600px;
    margin: 0;
}
.teams-note {
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}
.faq-footer {
    margin-top: 24px;
    font-size: 0.9rem;
    color: #666;
}

.fit-section {
    margin-top: 60px;
}

.fit-section-title {
    margin-bottom: 20px;
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 700px;
}

.fit-column-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.fit-list {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
    padding-left: 20px;
}

.fit-list-item {
    margin-bottom: 6px;
}

.proof-quotes-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.proof-quotes-copy {
    font-style: italic;
    color: #555;
    max-width: 650px;
}

.proof-quotes-attribution {
    font-style: normal;
    font-size: 0.9rem;
    color: #777;
}

.about-strip-copy {
    max-width: 650px;
    color: #555;
}

.about-strip-copy .ladder-text-link {
    display: inline;
    margin: 0;
}

.proof-section-copy {
    color: #ccc;
    margin-bottom: 30px;
}

.local-section-copy {
    margin-bottom: 0;
}

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

.section-header {
    border-top: 1px solid #eee;
    margin-top: 80px;
    padding-top: 20px;
    margin-bottom: 40px;
}
.ways-section .section-header {
    margin-top: 48px;
    padding-top: 16px;
    margin-bottom: 24px;
}
.section-header h2 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .split-grid { grid-template-columns: 1fr; gap: 30px; }
}

.ladder-step {
    border-left: 2px solid #f0f0f0;
    padding-left: 30px;
    margin-bottom: 50px;
    padding-bottom: 10px;
}
.step-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.ladder-step h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.ladder-text-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.logo-strip {
    margin: 80px 0;
    padding: 50px 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    text-align: center;
}
.logo-label {
    display: block;
    margin-bottom: 30px;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.company-name {
    font-weight: 600;
    color: #ccc;
    font-size: 1.1rem;
}

.proof-section {
    text-align: center;
    margin: 100px 0 60px 0;
    background: #000;
    color: #fff;
    padding: 80px 20px;
    border-radius: 8px;
}
.proof-section h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 40px;
    font-size: 1.8rem;
}
.final-cta-btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 18px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.2s;
}
.final-cta-btn:hover { background: #f0f0f0; }

.proof-section-note {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.local-section {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}
.local-label {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
}

/* About strip on homepage */
.about-strip {
    margin-top: 60px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}
.about-strip h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   9. CAL.COM EMBED WRAPPER
   ========================================= */
#cal-embed-wrapper {
    width: 100%;
    height: auto !important;
    overflow: visible !important;
    margin-top: 0;
    transition: height 0.2s ease;
}
@media (max-width: 900px) {
    #cal-embed-wrapper { min-height: 700px; }
}

/* Dark mode: frame the Cal.com embed so the white widget doesn't sit raw on the dark page */
@media (prefers-color-scheme: dark) {
    #cal-embed-wrapper {
        background: #111;
        border: 1px solid #333;
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
    }
    /* Override Cal's injected .main container so it doesn't paint a white box */
    #cal-embed-wrapper .main {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}

/* =========================================
   10. FOOTER & LINKS
   ========================================= */
.secondary-link {
    display: block;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}
.luma-link, .local-link {
    display: inline-block;
    color: #000;
    font-weight: 600;
    margin-top: 15px;
}

#global-footer {
    border-top: 1px solid #eee;
    margin-top: 100px;
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}
#global-footer a { color: #888; margin: 0 10px; }


/* =========================================
   11. DARK THEME (prefers-color-scheme: dark)
   ========================================= */
@media (prefers-color-scheme: dark) {
/* Base */
html, body {
    background-color: #0b0b0b;
    color: #f5f5f5;
}
body.teams-page {
    background: inherit;
}
.container-wide,
.container {
    background-color: transparent;
}
#global-footer {
    background-color: #0b0b0b;
}
h1, h2, h3, h4, .logo, .subtitle, .subhead-main {
    color: #ffffff !important;
}
a { color: #f5f5f5; }
a:hover { color: #dddddd; }
.hero-transitional-cta { color: #aaa !important; border-color: #555; }
.hero-transitional-cta:hover { color: #fff !important; border-color: #aaa; }
details.faq-item { border-color: #333; }
details.faq-item:first-of-type { border-color: #333; }
.faq-answer { color: #b0b0b0 !important; }
.teams-note { color: #666; }
.faq-footer { color: #888; }

#content.prose-content {
    color: #e5e7eb;
}

#content.prose-content :where(p, li, ol, ul) {
    color: #d1d5db;
}

#content.prose-content hr {
    background: linear-gradient(to right, transparent, #3a3a3a 12%, #3a3a3a 88%, transparent);
}

#content.prose-content blockquote {
    border-left-color: #9ca3af;
    color: #d1d5db;
}

#content.prose-content code {
    background: #18181b;
    border-color: #2f2f34;
}

#content.prose-content pre {
    background: #121212;
    border-color: #2f2f34;
}

.prose-toc {
    background: #161616;
    border-color: #2e2e2e;
}

.prose-toc-label {
    color: #9ca3af;
}

.prose-toc a {
    color: #e5e7eb;
}

.prose-toc a:hover {
    color: #fff;
}

/* Form controls in dark mode */
input, textarea, select {
    background-color: #111;
    color: #f5f5f5;
    border-color: #444;
}
input::placeholder,
textarea::placeholder {
    color: #888;
}

/* Content Boxes */
.hero-tile, .sprint-box, .friction-box, .audience-box, .not-fluffy-box, .local-section, .proof-section {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
    /* UPDATED: Increased contrast for text inside cards */
    color: #e5e7eb; 
}
.hero-tile:first-child {
    background-color: #2a2a2a !important;
    border-color: #666 !important;
}
.hero-tile:hover {
    background-color: #2a2a2a !important;
}
.tile-title { color: #fff; }
.tile-label { color: #aaa; }

/* Ensure lists inside tiles are also high contrast */
.hero-tile ul, .hero-tile p, .hero-tile li {
    color: #e5e7eb !important;
}
.hero-tile ul a {
    color: #e5e7eb !important;
    text-decoration: none !important;
}
.hero-tile ul a:hover {
    color: #f3f4f6 !important;
}

/* Buttons */
.btn, .hero-btn, .menu-cta-btn, .final-cta-btn {
    background-color: #ffffff;
    color: #000 !important;
}
.btn:hover, .hero-btn:hover, .menu-cta-btn:hover, .final-cta-btn:hover {
    background-color: #e0e0e0;
}
.teams-page .cta-box .btn,
.teams-page .cta-box .btn:hover {
    color: #000 !important;
}
.luma-link {
    color: #ffffff !important;
}

/* Menu & Navigation */
.site-header {
    border-bottom-color: #333;
}
.nav-logo {
    color: #fff;
}
.nav-menu-toggle {
    color: #fff;
    border-color: #555;
}
.nav-menu-toggle:hover {
    background-color: #333;
}
.nav-menu {
    background-color: #1e1e1e;
    border-color: #333;
}
.nav-item {
    color: #ddd;
}
.nav-item:hover {
    background-color: #2a2a2a;
    color: #fff;
}

.nav-link {
    color: #ddd;
}

.nav-link:hover {
    color: #fff;
}

.nav-cta {
    background-color: #fff;
    color: #000 !important;
}

.nav-cta:hover {
    background-color: #e0e0e0;
    color: #000 !important;
}

/* Process Strip & Steps */
.process-step h3 { color: #fff; }
.process-step p { color: #bbb; }
.step-number { color: #888; }

/* Borders & Separators */
.section-header, .logo-strip, .org-block, #global-footer {
    border-color: #333;
}
.ladder-step {
    border-left-color: #333;
}
.check-list li::before {
    color: #fff;
}

/* Body text & lists: override inline dim grays so copy is readable in dark mode */
.container section p,
.container section ul,
.container section ul li,
section p[style*="color"],
section ul[style*="color"],
section ul[style*="color"] li {
    color: #d1d5db !important;
}
.proof-quotes p,
.proof-quotes p span {
    color: #d1d5db !important;
}
.about-strip p {
    color: #d1d5db !important;
}

/* Text Overrides for hard-coded dark text */
.local-label { color: #fff !important; }
.logo-label, .hero-subtext, .org-title { color: #bbb !important; }
.program-tag { color: #aaa !important; }

/* Who this is for: tone down so it's not a bright white box */
.who-section {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
}
.who-section h2,
.who-section p {
    color: #e5e7eb !important;
}

/* Ways to work together: one notch brighter for legibility, no extra box */
.ways-section p,
.ways-section ul,
.ways-section li,
.ways-section li a {
    color: #ddd !important;
}
.ways-section p[style*="0.9rem"],
.ways-section p[style*="0.85rem"] {
    color: #aaa !important;
}
.proof-section,
.proof-section p {
    color: #ddd !important;
}
.proof-section .proof-section-note {
    color: rgba(255, 255, 255, 0.55) !important;
}
.hero .subtitle {
    color: #ccc !important;
}
.hero .subhead-main,
.hero .hero-subtext,
.hero p,
.hero ul li {
    color: #e5e7eb !important;
}
.hero strong {
    color: #f9fafb !important;
}

/* About block: supporting text, quieter than hero in dark mode */
.hero-about-label {
    color: #9ca3af !important;
}
.hero-long-p {
    color: #d1d5db !important;
}
.hero-long-list li {
    color: #d1d5db !important;
}
.hero-long-list strong {
    color: #f9fafb !important;
}
.hero-checklist {
    background: rgba(255,255,255,0.03);
    color: #e5e7eb;
}
.hero-checklist p,
.hero-checklist li {
    color: #e5e7eb !important;
}

.hero-checklist-list li::marker {
    color: #9ca3af;
}
.free-situation-quote {
    color: #d1d5db !important;
}
.free-situation-quote-attrib {
    color: #9ca3af !important;
}

/* Hero pill tags (e.g. "6–8 sessions per month") */
.hero-tag {
    background-color: #222;
    color: #d1d5db;
    border: 1px solid #444;
}

/* Links in content boxes */
.not-fluffy-box a, .local-section a { color: #fff; text-decoration: underline; }

.hero-home,
.about-strip {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
}

/* Alt box (HR / founder community) */
.alt-box {
    background-color: #171717 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e0e0e0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.alt-box .alt-box-heading { color: #f5f5f5 !important; }
.alt-box p { color: #b0b0b0 !important; }
.alt-box .alt-box-lead {
    color: #c4c4c4 !important;
}
.alt-box .alt-box-cta-label {
    color: #8f8f8f !important;
}
.alt-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #e5e5e5 !important;
}
.alt-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}
}

/* =========================================
   12. MODEL HERO (COMPACT)
   ========================================= */
.model-hero {
    padding: 16px 0 24px;
    border-bottom: 1px solid #eee;
    margin-bottom: 32px;
}

.model-hero h1 {
    font-size: 1.9rem;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
    line-height: 1.1;
}

.model-hero-subtitle {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 8px;
    line-height: 1.4;
    max-width: 600px;
}

.model-hero-meta {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 500;
}

.model-hero-cta {
    margin-top: 0;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
}

.model-hero-updated {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 4px;
}

@media (min-width: 600px) {
    .model-hero-cta {
        width: auto;
    }
}

/* =========================================
   13. COMPACT MOBILE OVERRIDES (THE DIAL-IN)
   ========================================= */
@media (max-width: 600px) {
    /* Model Hero adjustments */
    .model-hero {
        padding-top: 0;
        margin-bottom: 20px;
    }

    .model-hero h1 {
        font-size: 1.4rem; /* tighten title so more fits above fold */
        margin-bottom: 6px;
    }

    .model-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .model-hero-meta {
        margin-bottom: 8px;
    }

    .model-hero-cta {
        padding: 12px 20px;
        margin-bottom: 6px;
    }
}

/* =========================================
   14. IMAGE MODAL (for guides like Coffee)
   ========================================= */
.image-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.image-modal-backdrop img {
    max-width: min(100%, 960px);
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.image-modal-backdrop[hidden] {
    display: none;
}

.image-modal-backdrop button {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
}

/* =========================================
   15. VISUAL SYSTEM REFRESH (GLOBAL + ROUTE)
   ========================================= */
:root {
    --surface-base: #ffffff;
    --surface-soft: #f8fafc;
    --surface-elevated: #ffffff;
    --surface-border: #e7ecf3;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --brand-ink: #0f172a;
    --brand-glow: rgba(15, 23, 42, 0.14);
    --radius-card: 18px;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-lift: 0 18px 40px rgba(15, 23, 42, 0.12);
}

body {
    color: var(--text-primary);
    background: radial-gradient(1000px 520px at 50% -220px, rgba(15, 23, 42, 0.05), transparent 70%), var(--surface-base);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    backdrop-filter: blur(8px);
    background: color-mix(in srgb, var(--surface-base) 90%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--surface-border) 84%, transparent);
}

.nav-logo,
.nav-link {
    letter-spacing: 0.02em;
}

#content.prose-content {
    color: var(--text-primary);
}

#content.prose-content p,
#content.prose-content li {
    color: var(--text-secondary);
}

#content.prose-content h1 {
    line-height: 1.08;
}

#content.prose-content h2 {
    position: relative;
}

#content.prose-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: -16px;
    width: 52px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.18) 100%);
}

#content.prose-content blockquote {
    border-left-width: 4px;
    border-left-color: #2563eb;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 90%);
    border-radius: 0 10px 10px 0;
    padding-right: 0.8rem;
}

#content.prose-content pre,
.prose-toc,
.sprint-box,
.friction-box,
.audience-box,
.not-fluffy-box,
.about-strip,
.hero-checklist {
    background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--surface-soft) 100%);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.btn,
.hero-btn,
.final-cta-btn {
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: 0 10px 20px var(--brand-glow);
}

.btn:hover,
.hero-btn:hover,
.final-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lift);
}

.page-coffee #content.prose-content h1,
.page-turn-the-page #content.prose-content h1,
.page-baby #content.prose-content h1 {
    margin-top: 6px;
}

/* Coffee: warm craft aesthetic */
.page-coffee {
    background:
        radial-gradient(900px 460px at 8% -120px, rgba(120, 53, 15, 0.1), transparent 70%),
        radial-gradient(700px 360px at 92% -140px, rgba(161, 98, 7, 0.08), transparent 68%),
        var(--surface-base);
}

.page-coffee #content.prose-content h2::before {
    background: linear-gradient(90deg, #92400e 0%, rgba(146, 64, 14, 0.18) 100%);
}

.page-coffee #content.prose-content a.image-modal-trigger img {
    border: 1px solid #e5d7ca;
    box-shadow: 0 16px 30px rgba(120, 53, 15, 0.14);
}

.page-coffee .prose-toc {
    border-color: #eadbc9;
    background: linear-gradient(180deg, #fffaf5 0%, #fff4e8 100%);
}

/* Turn-the-page: reflective and calm */
.page-turn-the-page {
    background:
        radial-gradient(920px 480px at 50% -220px, rgba(37, 99, 235, 0.09), transparent 72%),
        radial-gradient(640px 300px at 90% -120px, rgba(67, 56, 202, 0.08), transparent 66%),
        #fbfdff;
}

.page-turn-the-page #content.prose-content hr {
    margin: 2.4rem 0;
    background: linear-gradient(90deg, transparent, #c7d6f4 16%, #c7d6f4 84%, transparent);
}

.page-turn-the-page #content.prose-content h2::before {
    background: linear-gradient(90deg, #2563eb 0%, rgba(37, 99, 235, 0.2) 100%);
}

.page-turn-the-page #content.prose-content blockquote {
    border-left-color: #2563eb;
}

/* Baby: softer family guide look */
.page-baby {
    background:
        radial-gradient(840px 440px at 14% -120px, rgba(236, 72, 153, 0.09), transparent 70%),
        radial-gradient(720px 360px at 88% -140px, rgba(59, 130, 246, 0.09), transparent 68%),
        #fcfcff;
}

.page-baby #content.prose-content h2::before {
    background: linear-gradient(90deg, #ec4899 0%, rgba(236, 72, 153, 0.2) 100%);
}

.page-baby .model-hero {
    border: 1px solid #f3d4e7;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff8fc 0%, #fff2f9 100%);
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.12);
    padding: 20px 20px 24px;
}

.page-baby .model-hero .program-tag {
    color: #be185d;
}

@media (max-width: 768px) {
    .site-header {
        position: static;
        backdrop-filter: none;
    }

    #content.prose-content h2::before {
        top: -12px;
        width: 42px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --surface-base: #0b0b0c;
        --surface-soft: #15161a;
        --surface-elevated: #17191d;
        --surface-border: #2a3039;
        --text-primary: #f3f4f6;
        --text-secondary: #d1d5db;
        --text-tertiary: #9ca3af;
        --brand-ink: #f8fafc;
        --brand-glow: rgba(15, 23, 42, 0.45);
        --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.35);
        --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    body {
        background: radial-gradient(900px 460px at 50% -220px, rgba(148, 163, 184, 0.09), transparent 72%), var(--surface-base);
    }

    .site-header {
        background: color-mix(in srgb, #0b0b0c 84%, transparent);
        border-bottom-color: #252b33;
    }

    #content.prose-content h2::before {
        background: linear-gradient(90deg, #cbd5e1 0%, rgba(203, 213, 225, 0.24) 100%);
    }

    #content.prose-content blockquote {
        border-left-color: #60a5fa;
        background: linear-gradient(90deg, rgba(96, 165, 250, 0.12) 0%, rgba(96, 165, 250, 0) 90%);
    }

    .page-coffee {
        background:
            radial-gradient(880px 420px at 8% -120px, rgba(217, 119, 6, 0.15), transparent 68%),
            radial-gradient(700px 340px at 92% -120px, rgba(180, 83, 9, 0.13), transparent 66%),
            var(--surface-base);
    }

    .page-coffee #content.prose-content h2::before {
        background: linear-gradient(90deg, #f59e0b 0%, rgba(245, 158, 11, 0.3) 100%);
    }

    .page-coffee .prose-toc {
        border-color: #5b3d1f;
        background: linear-gradient(180deg, #261d14 0%, #1c1713 100%);
    }

    .page-coffee #content.prose-content a.image-modal-trigger img {
        border-color: #5b3d1f;
        box-shadow: 0 14px 28px rgba(217, 119, 6, 0.2);
    }

    .page-turn-the-page {
        background:
            radial-gradient(920px 460px at 50% -220px, rgba(59, 130, 246, 0.16), transparent 72%),
            radial-gradient(640px 300px at 90% -120px, rgba(99, 102, 241, 0.14), transparent 66%),
            #0b0d12;
    }

    .page-turn-the-page #content.prose-content h2::before {
        background: linear-gradient(90deg, #60a5fa 0%, rgba(96, 165, 250, 0.3) 100%);
    }

    .page-turn-the-page #content.prose-content hr {
        background: linear-gradient(90deg, transparent, #395072 16%, #395072 84%, transparent);
    }

    .page-baby {
        background:
            radial-gradient(820px 420px at 14% -120px, rgba(236, 72, 153, 0.16), transparent 70%),
            radial-gradient(700px 340px at 88% -140px, rgba(59, 130, 246, 0.14), transparent 66%),
            #0d0b12;
    }

    .page-baby #content.prose-content h2::before {
        background: linear-gradient(90deg, #f472b6 0%, rgba(244, 114, 182, 0.32) 100%);
    }

    .page-baby .model-hero {
        border-color: #4a2641;
        background: linear-gradient(180deg, #251724 0%, #1b141f 100%);
        box-shadow: 0 14px 34px rgba(236, 72, 153, 0.2);
    }

    .page-baby .model-hero .program-tag {
        color: #f9a8d4;
    }
}

/* =========================================
   16. PREMIUM POLISH PASS
   ========================================= */
:root {
    --display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", Times, serif;
    --ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
button,
input,
textarea,
select {
    font-family: var(--ui-font);
}

h1, h2, h3, h4,
#content.prose-content h1,
#content.prose-content h2,
#content.prose-content h3 {
    font-family: var(--display-font);
    font-variation-settings: "wght" 600;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.35) 25%, rgba(236, 72, 153, 0.35) 75%, transparent);
    pointer-events: none;
}

.nav-logo {
    position: relative;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-logo:hover {
    background: color-mix(in srgb, var(--surface-soft) 90%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface-border) 80%, transparent);
}

#global-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.4) 0%, rgba(255, 255, 255, 0.95) 36%);
}

#global-footer::before {
    content: "";
    display: block;
    width: min(240px, 70%);
    height: 2px;
    border-radius: 999px;
    margin: 0 auto 22px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.55), rgba(236, 72, 153, 0.55));
}

#global-footer a {
    text-underline-offset: 0.2em;
    text-decoration-thickness: 0.08em;
}

@keyframes ambientDrift {
    0% {
        background-position: 0% 0%, 100% 0%, 0 0;
    }
    50% {
        background-position: 2% -2%, 97% 2%, 0 0;
    }
    100% {
        background-position: 0% 0%, 100% 0%, 0 0;
    }
}

.page-coffee,
.page-turn-the-page,
.page-baby,
body.homepage,
body.teams-page {
    animation: ambientDrift 28s ease-in-out infinite;
    background-attachment: fixed;
}

.page-coffee #content.prose-content,
.page-turn-the-page #content.prose-content,
.page-baby #content.prose-content {
    position: relative;
    padding-top: 6px;
}

.page-coffee #content.prose-content::before,
.page-turn-the-page #content.prose-content::before,
.page-baby #content.prose-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: -4px;
    width: 76px;
    height: 3px;
    border-radius: 999px;
    opacity: 0.9;
}

.page-coffee #content.prose-content::before {
    background: linear-gradient(90deg, #b45309 0%, rgba(180, 83, 9, 0.2) 100%);
}

.page-turn-the-page #content.prose-content::before {
    background: linear-gradient(90deg, #2563eb 0%, rgba(37, 99, 235, 0.2) 100%);
}

.page-baby #content.prose-content::before {
    background: linear-gradient(90deg, #ec4899 0%, rgba(236, 72, 153, 0.2) 100%);
}

@media (max-width: 768px) {
    #global-footer::before {
        margin-bottom: 16px;
    }

    .page-coffee,
    .page-turn-the-page,
    .page-baby,
    body.homepage,
    body.teams-page {
        background-attachment: scroll;
    }
}

@media (prefers-color-scheme: dark) {
    .site-header::after {
        background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.45) 25%, rgba(244, 114, 182, 0.45) 75%, transparent);
    }

    .nav-logo:hover {
        background: color-mix(in srgb, #1b2230 70%, transparent);
        box-shadow: inset 0 0 0 1px #334155;
    }

    #global-footer {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.24) 0%, rgba(11, 11, 12, 0.9) 38%);
    }

    #global-footer::before {
        background: linear-gradient(90deg, rgba(96, 165, 250, 0.7), rgba(244, 114, 182, 0.7));
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-coffee,
    .page-turn-the-page,
    .page-baby,
    body.homepage,
    body.teams-page,
    .btn,
    .hero-btn,
    .final-cta-btn {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================
   17. HOMEPAGE BENTO HERO REDESIGN
   ========================================= */
.home-bento {
    position: relative;
    margin-top: 10px;
    margin-bottom: 56px;
    padding: 14px 8px 0;
    border-radius: 24px;
    background:
        radial-gradient(620px 280px at 20% 8%, rgba(56, 189, 248, 0.16), transparent 74%),
        radial-gradient(560px 300px at 76% 24%, rgba(147, 51, 234, 0.14), transparent 74%),
        linear-gradient(180deg, rgba(8, 12, 18, 0.8), rgba(8, 11, 16, 0.62));
}

.home-bento-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 18px;
    align-items: stretch;
}

.home-bento-hero {
    position: relative;
    padding: 26px 28px 18px;
}

.home-bento-title {
    margin: 0 0 16px;
    max-width: 16ch;
    font-size: clamp(2.25rem, 1.8rem + 1.7vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #fff;
    text-wrap: balance;
}

.home-bento-subhead {
    margin: 0 0 24px;
    max-width: 34ch;
    font-size: clamp(1.12rem, 1.03rem + 0.44vw, 1.52rem);
    line-height: 1.34;
    color: #d3deec;
}

.home-bento-cta-card {
    width: min(100%, 360px);
    border: 1px solid #dbe5f2;
    border-radius: 16px;
    background:
        radial-gradient(220px 120px at 18% 25%, rgba(59, 130, 246, 0.08), transparent 80%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 16px 16px 12px;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
}

.home-bento-btn {
    width: 100%;
    text-align: center;
    background: #fff;
    color: #0f172a;
    border: 1px solid #cfd8e6;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.home-bento-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
}

.home-bento-cta-note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.95rem;
    color: #334155;
}

.home-bento-side {
    display: grid;
    gap: 18px;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.home-bento-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background:
        radial-gradient(280px 160px at 20% 12%, rgba(59, 130, 246, 0.18), transparent 70%),
        radial-gradient(260px 140px at 90% 88%, rgba(139, 92, 246, 0.16), transparent 72%),
        linear-gradient(172deg, rgba(24, 29, 38, 0.96), rgba(20, 24, 32, 0.9));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.home-bento-portrait-card {
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.home-bento-photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.58);
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.42);
}

.home-bento-photo-caption {
    margin: 0;
    color: #f2f5fb;
    font-size: 1.03rem;
    line-height: 1.3;
    text-wrap: balance;
}

.home-bento-context-card {
    padding: 20px 18px 18px;
}

.home-bento-context-list {
    margin: 0 0 14px;
    padding-left: 1.05rem;
    color: #e7ecf5;
    font-size: 1.02rem;
    line-height: 1.42;
}

.home-bento-context-list li {
    margin-bottom: 8px;
}

.home-bento-context-list li:last-child {
    margin-bottom: 0;
}

.home-bento-context-link {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.19em;
    text-decoration-thickness: 0.08em;
}

.home-bento-familiar-card {
    margin-top: 18px;
    padding: 24px 24px 20px;
}

.home-bento-familiar-card .hero-about-label {
    margin-bottom: 0.55rem;
    color: #cdd8e8;
}

.home-bento-familiar-card .hero-long-p,
.home-bento-familiar-card .hero-long-bullets {
    color: #ecf1f8;
}

.home-bento-familiar-card .hero-long-bullets {
    margin-top: 0.9rem;
}

.home-bento-familiar-card .hero-long-bullets li::marker {
    color: #8ab7ff;
}

@media (max-width: 1024px) {
    .home-bento-top {
        grid-template-columns: minmax(0, 1fr) 260px;
    }
}

@media (max-width: 860px) {
    .home-bento-top {
        grid-template-columns: 1fr;
    }

    .home-bento-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .home-bento-hero {
        padding: 20px 16px 14px;
    }
}

@media (max-width: 640px) {
    .home-bento {
        margin-bottom: 36px;
        padding: 10px 0 0;
    }

    .home-bento-side {
        grid-template-columns: 1fr;
    }

    .home-bento-familiar-card {
        padding: 20px 16px 16px;
    }

    .home-bento-context-list {
        font-size: 0.96rem;
    }
}

@media (prefers-color-scheme: dark) {
    .home-bento {
        background:
            radial-gradient(620px 280px at 20% 8%, rgba(56, 189, 248, 0.16), transparent 74%),
            radial-gradient(560px 300px at 76% 24%, rgba(147, 51, 234, 0.14), transparent 74%),
            linear-gradient(180deg, rgba(8, 12, 18, 0.8), rgba(8, 11, 16, 0.62));
    }

    .home-bento-cta-card {
        border-color: #dbe5f2;
        background:
            radial-gradient(220px 120px at 18% 25%, rgba(59, 130, 246, 0.08), transparent 80%),
            linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }

    .home-bento-btn {
        background: #fff !important;
        color: #0f172a !important;
        border-color: #cfd8e6;
    }

    .home-bento-btn:hover {
        background: #f8fafc !important;
        color: #0f172a !important;
    }

    .home-bento-cta-note {
        color: #334155;
    }
}
