/* Grandmaster Chess Academy — Kumbaya tokens, clean layout */
:root {
    --primary-color: #007AFF;
    --primary-hover: #0056CC;
    --secondary-color: #5856D6;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --background-primary: #FFFFFF;
    --background-secondary: #F5F5F7;
    --background-tertiary: #FBFBFD;
    --border-color: #D2D2D7;
    --success-color: #30D158;
    --font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --nav-h: 70px;
    --side: clamp(1.25rem, 4vw, 3rem);
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: clip;
}
body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--background-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); }
ul { list-style: none; }

.container {
    width: min(1100px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--side);
    padding-right: var(--side);
}

/* Nav */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}
.nav-container {
    width: min(1100px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--side);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.nav-logo {
    flex: 0 1 auto;
    min-width: 0;
}
.nav-logo h2 {
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1.4vw, 1.35rem);
    margin-left: auto;
    min-width: 0;
}
.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--primary-color); }
.nav-buy-always {
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 980px;
    padding: 0.9rem 1.75rem;
    font: 600 0.95rem var(--font-family);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-buy { background: var(--primary-color) !important; }
.btn-appraise { background: var(--secondary-color) !important; }
.nav-broker-btn { font-size: 0.75rem; padding: 0.45rem 1.1rem; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 980px;
    padding: 0.85rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    background: #fff;
}
.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-nav { display: none; }

/* Hero — mobile-first centered; split only on wide screens */
.hero {
    padding: calc(var(--nav-h) + 1.5rem) 0 2.5rem;
    background:
        radial-gradient(ellipse 90% 60% at 20% -10%, rgba(0, 122, 255, 0.16), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 20%, rgba(88, 86, 214, 0.12), transparent 50%),
        linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
    width: 100%;
}
.hero-copy,
.hero-stage {
    min-width: 0;
    max-width: 100%;
}
.hero-copy { text-align: center; }
.hero-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
}
.hero-title {
    font-size: clamp(1.85rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 18ch;
    margin: 0 auto 1rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 0 auto 1.35rem;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.hero-cta-above { margin-bottom: 1.25rem; }
.hero-copy .hero-cta { justify-content: center; }
.proof-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    margin-bottom: 0;
}
.proof-compact .proof-item strong { font-size: 1.25rem; }
.proof-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.proof-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-mosaic {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas:
        "main side1"
        "main side2";
    gap: 0.65rem;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}
.hero-mosaic .mosaic-main { grid-area: main; }
.hero-mosaic .mosaic-side:nth-of-type(2) { grid-area: side1; }
.hero-mosaic .mosaic-side:nth-of-type(3) { grid-area: side2; }
.hero-mosaic figure {
    margin: 0;
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}
.hero-mosaic img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    background: var(--background-secondary);
}
.hero-mosaic .mosaic-main img { height: 320px; }
.hero-mosaic .face-top img,
.hero-mosaic img.face-top,
img.face-top,
.doc-frame img.face-top,
.bio-media img.face-top {
    object-position: center 18%;
}
.hero-mosaic figcaption {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 1100px) {
    .hero-split-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2rem;
    }
    .hero-copy { text-align: left; }
    .hero-title { margin-left: 0; margin-right: 0; }
    .hero-subtitle { margin-left: 0; margin-right: 0; }
    .hero-copy .hero-cta { justify-content: flex-start; }
    .proof-row { justify-content: flex-start; }
    .hero-mosaic { margin: 0; max-width: none; }
    .hero-mosaic .mosaic-main img { height: 360px; }
    .hero-mosaic img { height: 170px; }
}

/* Legacy hero-visual kept for any leftover markup */
.hero-visual {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 0.75rem;
    max-width: 920px;
    margin: 0 auto;
}
.hero-visual figure {
    margin: 0;
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}
.hero-visual img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
}
.hero-visual figcaption {
    padding: 0.75rem 1rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: left;
}
.hero-visual .tall img { height: 100%; min-height: 320px; object-fit: cover; }
.hero-visual .tall { grid-row: span 2; }

/* Kumbaya-inspired emoji cards + steps + trust */
.emoji-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
}
.emoji-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.25rem;
    text-align: left;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
    min-width: 0;
}
.emoji-card:hover { transform: translateY(-4px); }
.emoji-card .card-icon { font-size: 2rem; margin-bottom: 0.65rem; }
.emoji-card .card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.emoji-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}
.emoji-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.step-card,
.trust-item,
.experience-card,
.card { min-width: 0; }
.step-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem;
    text-align: center;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.85rem;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--text-secondary); font-size: 0.98rem; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.trust-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}
.trust-item .stars {
    color: #f5a623;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.trust-item h4 { margin-bottom: 0.4rem; }
.trust-item p { color: var(--text-secondary); font-size: 0.98rem; }

/* Always-available Buy Lessons (mobile / tablet) */
.sticky-buy {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    gap: 0.65rem;
    padding: 0.75rem var(--side) calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}
.sticky-buy .btn-primary,
.sticky-buy .btn-outline {
    flex: 1;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
}
body { padding-bottom: 0; }

/* Experience chooser — no prices */
.section {
    padding: 5rem 0;
}
.section.alt { background: var(--background-secondary); }
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-header.left { text-align: left; }
.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto;
}
.section-header.left p { margin: 0; }

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
}
.experience-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 210px;
    display: flex;
    flex-direction: column;
}
.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.experience-card .label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}
.experience-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.experience-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
}
.experience-card .go {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary-color);
}

.quote-band {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.quote-band blockquote {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}
.quote-band cite {
    color: var(--text-secondary);
    font-style: normal;
    font-size: 0.95rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.card {
    background: var(--background-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-secondary); }

.cta-band {
    text-align: center;
    padding: 5rem 0;
    background: var(--background-secondary);
}
.cta-band h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.cta-band p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}
.cta-band .hero-cta {
    justify-content: center;
    margin-bottom: 0;
}
.section .hero-cta {
    justify-content: center;
}

/* Research / citations on Chess Benefits */
.study-block {
    margin: 0 0 2.25rem;
    max-width: 46rem;
}
.study-block h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.study-block p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
}
.study-block p:last-child { margin-bottom: 0; }
.citations {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.citations h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.citations ol {
    list-style: decimal;
    padding-left: 1.35rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.citations li { margin-bottom: 0.65rem; }
.citations a { word-break: break-word; }
.contact-note {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.35rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-top: 1rem;
}
.contact-note strong { color: var(--text-primary); }

/* Story / bio — images never cropped off */
.page-hero {
    padding: calc(var(--nav-h) + 3rem) 0 2.5rem;
    background: linear-gradient(180deg, #fbfbfd, #fff);
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}
.page-hero .lede {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 40rem;
}

.bio-block { padding: 4rem 0; }
.bio-block.alt { background: var(--background-secondary); }
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.bio-grid.reverse .bio-copy { order: 2; }
.bio-grid.reverse .bio-media { order: 1; }
.bio-copy h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.bio-copy p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.15rem;
}
.pull-quote {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.bio-media figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.bio-media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: var(--background-secondary);
}
.bio-media.photo img {
    object-fit: contain;
    width: 100%;
    height: auto;
    display: block;
}
/* Soft / low-res source photos — keep small so pixel mush isn’t magnified */
.bio-media.soft,
.doc-pair .soft {
    max-width: 300px;
}
.bio-media.soft figure,
.doc-pair figure.soft {
    max-width: 300px;
}
.doc-pair figure.soft .doc-frame {
    aspect-ratio: auto;
    min-height: 0;
    padding: 0.5rem;
}
.doc-pair figure.soft img {
    height: auto;
    max-height: 380px;
}
.bio-media .doc-frame {
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-secondary);
    padding: 1rem;
}
.bio-media .doc-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}
.bio-media figcaption,
.image-title {
    padding: 0.85rem 1.1rem 1.1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    background: #fff;
}
.doc-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.doc-pair figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.doc-pair .doc-frame {
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-secondary);
    padding: 0.85rem;
}
.doc-pair img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Lessons checkout */
.book { padding: 4.5rem 0; background: var(--background-secondary); }
.checkout-form {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

/* Buy Lessons — Stripe-style split (options left, contact right) */
.page-checkout {
    min-height: 100vh;
    background: #fff;
}
.page-checkout .sticky-buy,
.page-checkout .site-footer { display: none !important; }

.stripe-checkout {
    padding-top: var(--nav-h);
    min-height: calc(100vh - var(--nav-h));
}
.checkout-mobile-nav {
    padding: 0.75rem var(--side) 0;
}
.stripe-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100vh - var(--nav-h));
    margin: 0;
    max-width: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    gap: 0;
}
.stripe-panel {
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.stripe-panel-left {
    background: #0a2540;
    color: #fff;
}
.stripe-panel-right {
    background: #fff;
    color: var(--text-primary);
}
.stripe-brand {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
.stripe-panel-left h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #fff;
}
.stripe-panel-right h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
}
.stripe-products {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
.stripe-option {
    display: block;
    cursor: pointer;
}
.stripe-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.stripe-option-body {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.stripe-option input:checked + .stripe-option-body {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.12);
}
.stripe-option-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}
.stripe-option-top strong { font-size: 1rem; color: #fff; }
.stripe-option-top em {
    font-style: normal;
    font-weight: 700;
    color: #fff;
}
.stripe-option-sub {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}
.stripe-summary {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}
.stripe-summary label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.stripe-summary input {
    width: 6rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 0.55rem 0.7rem;
    font: inherit;
}
.stripe-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
}
.stripe-total strong {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.stripe-fields {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.stripe-panel-right .form-row label { font-size: 0.8rem; }
.stripe-panel-right .form-row input {
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
}
.stripe-panel-right .btn-checkout {
    width: 100%;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    padding: 0.95rem 1.25rem;
}
.stripe-fine {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 860px) {
    .stripe-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .stripe-panel {
        padding: 1.25rem var(--side) 1.5rem;
        justify-content: flex-start;
    }
    .stripe-panel-left h1 { margin-bottom: 1rem; font-size: 1.5rem; }
    .stripe-total strong { font-size: 1.45rem; }
    .checkout-mobile-nav { display: block; }
}

@media (min-width: 861px) {
    .checkout-mobile-nav { display: none; }
}
.product-choice {
    border: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 700px) {
    .product-choice { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.product-choice legend { font-weight: 600; margin-bottom: 0.75rem; }
.choice {
    display: flex;
    gap: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    cursor: pointer;
    background: var(--background-tertiary);
}
.choice:has(input:checked) { border-color: var(--primary-color); }
.choice strong { display: block; }
.choice em { font-style: normal; color: var(--text-secondary); font-size: 0.85rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-row.two > div { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.85rem; }
.optional { font-weight: 400; color: var(--text-secondary); }
.form-row input,
.form-row textarea {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    font: inherit;
}
.total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.total-line strong { font-size: 1.75rem; color: var(--primary-color); }
.btn-checkout { width: 100%; }
.btn-checkout:disabled { opacity: 0.6; cursor: wait; }
.form-status { text-align: center; font-size: 0.9rem; color: var(--text-secondary); min-height: 1.2rem; }
.form-status.error { color: #c62828; }
.form-status.ok { color: #1b7a3d; }
.form-fineprint { text-align: center; font-size: 0.85rem; color: var(--text-secondary); }
.qty-hint { font-size: 0.85rem; color: var(--text-secondary); }

.family-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}
.family-note img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
}

.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.site-footer .container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.site-footer a { color: var(--text-secondary); text-decoration: none; }

@media (max-width: 1100px) {
    .emoji-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-link { font-size: 0.9rem; }
}

@media (max-width: 900px) {
    .hero-visual {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .hero-visual .tall {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .hero-visual .tall img { min-height: 220px; height: 240px; }
    .experience-grid,
    .grid-3,
    .doc-pair,
    .steps-row,
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bio-grid,
    .bio-grid.reverse,
    .grid-2 { grid-template-columns: 1fr; }
    .bio-grid.reverse .bio-copy,
    .bio-grid.reverse .bio-media { order: unset; }
    .sticky-buy { display: flex; }
    body { padding-bottom: 5.5rem; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-nav { display: block; margin-bottom: 1rem; }
    .mobile-nav-row {
        display: flex;
        justify-content: center;
        gap: 0.75rem 1rem;
        margin-bottom: 0;
        flex-wrap: wrap;
    }
    .mobile-nav-link {
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.82rem;
    }
    .mobile-nav-button-row { display: none; }
    .sticky-buy { display: flex; }
    body { padding-bottom: 5.5rem; }
    .experience-grid,
    .grid-3,
    .doc-pair,
    .hero-visual,
    .emoji-card-grid,
    .steps-row,
    .trust-grid,
    .product-choice,
    .form-row.two,
    .family-note,
    .hero-mosaic { grid-template-columns: 1fr; }
    .hero-mosaic {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "side1"
            "side2";
        max-width: 420px;
    }
    .hero-mosaic .mosaic-main img,
    .hero-mosaic img { height: 200px; }
    .hero-cta { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; }
    .proof-row { gap: 1rem 1.5rem; justify-content: center; }
    .site-footer .container { flex-direction: column; text-align: center; }
    .cta-band { padding-bottom: 2rem; }
}

/* iPad landscape / small laptop */
@media (min-width: 769px) and (max-width: 1200px) {
    .nav-menu { display: flex; }
    .mobile-nav { display: none; }
    .nav-link { font-size: 0.85rem; }
}
