/* ============================================================
   PAGE PATTERNS · v4 pages (home sections, the Challenge, Coaching,
   Experiences, Learn, About). Built on tokens.css and
   components.css. Dark photo heroes and the orange closing band
   come from sections.css.
   ============================================================ */

/* ── Sections ── */
.pg { padding: var(--section-y) var(--gutter); background: var(--bg); }
.pg.alt { background: var(--surface-2); }
.pg.dark { background: var(--dark); color: var(--on-dark); }
.pg-in { max-width: 1180px; margin: 0 auto; }
.pg-narrow { max-width: 760px; margin: 0 auto; }
.pg-head { max-width: 60ch; margin-bottom: var(--space-7); }
.pg-head .h2 + p { margin-top: var(--space-4); color: var(--ink-muted); }
.pg.dark .pg-head .h2 + p { color: var(--on-dark-muted); }
.pg-cta { margin-top: var(--space-6); }
.prose > * + * { margin-top: var(--space-4); }
.prose p { max-width: 62ch; }
.muted { color: var(--ink-muted); }
.pg.dark .muted { color: var(--on-dark-muted); }

/* ── Is this you? ── */
.isyou { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .isyou { grid-template-columns: 1fr 1fr; } }
.isyou-card {
    padding: var(--space-6);
    border-top: 2px solid var(--accent);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.isyou-card h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; line-height: 1.15; margin-bottom: var(--space-3); }
.isyou-card p { color: var(--ink-muted); }

/* ── The loop, as five short lines (with the existing ring diagram) ── */
.loop-lines { list-style: none; counter-reset: loop; display: grid; gap: var(--space-4); }
.loop-lines li { counter-increment: loop; display: grid; grid-template-columns: 2.2rem 1fr; gap: var(--space-3); align-items: baseline; }
.loop-lines li::before { content: counter(loop); font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; color: var(--accent-text); }
.loop-lines strong { font-weight: 600; }

/* ── Three ways to work: the card is the link ── */
.ways { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-6);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--ink);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.way:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.way-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; line-height: 1.15; }
.way p:last-child { color: var(--ink-muted); }
.way-more { margin-top: auto; padding-top: var(--space-3); font-size: var(--text-sm); font-weight: 600; color: var(--accent-text); }

/* ── Who's behind this ── */
.behind { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 860px) { .behind { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.behind-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); max-width: 420px; }
.behind-img img { object-position: 50% 15%; }
.creds { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.behind .links { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); }

/* ── Offer cards (the Challenge page) ── */
.offers { display: grid; gap: var(--space-6); }
.offer {
    padding: clamp(var(--space-5), 4vw, var(--space-7));
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    scroll-margin-top: calc(var(--nav-h) + var(--space-5));
}
.offer > * + * { margin-top: var(--space-4); }
.offer-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 400; line-height: 1.1; }
.offer .reading { box-shadow: none; padding: 0; background: none; }
.offer .btn { margin-top: var(--space-5); }

/* Five questions, answered in order */
.qa { display: grid; gap: var(--space-5); margin-top: var(--space-6) !important; }
.qa h3 { margin-bottom: var(--space-2); }
.qa ul { padding-left: 1.2em; }
.qa li + li { margin-top: var(--space-2); }
.qa-cost { font-size: var(--text-lg); }

/* Founding places: one mark per place */
.places { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-3); }
.place { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink-muted); }
.place.is-taken { background: var(--accent); border-color: var(--accent); }

/* ── Phases (Coaching) ── */
.phases { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase { padding: var(--space-6); border-top: 2px solid var(--accent); background: var(--dark-2); border-radius: 0 0 var(--radius) var(--radius); }
.phase h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; margin: var(--space-2) 0 var(--space-3); }
.phase p { color: var(--on-dark-muted); }
.checklist { list-style: none; display: grid; gap: var(--space-3); }
.checklist li { display: grid; grid-template-columns: 1.6rem 1fr; gap: var(--space-2); }
.checklist li::before { content: ''; width: 7px; height: 13px; margin: 3px 0 0 5px; border: solid var(--accent-text); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ── Experiences: two cards with the same rows ── */
.exp { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .exp { grid-template-columns: 1fr 1fr; } }
.exp-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    scroll-margin-top: calc(var(--nav-h) + var(--space-5));
}
.exp-card h2 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 400; line-height: 1.1; margin-bottom: var(--space-5); }
.exp-rows { display: grid; gap: var(--space-4); }
.exp-rows dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ink-muted); }
.exp-rows dd { margin-top: var(--space-1); }
.exp-price { margin-top: auto; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.exp-card .exp-rows { margin-bottom: var(--space-5); }
.fit { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit p { padding: var(--space-5); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }

/* ── Quote on a light page ── */
.pull { max-width: 760px; }
.pull .quote { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }

/* ── Podcasts (Learn hub) ── */
.podcasts { list-style: none; display: grid; gap: var(--space-6); }
.podcast { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 768px) { .podcast { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.podcast-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--dark); }
.podcast-media img { object-fit: cover; }
.podcast-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.podcast-play {
    position: absolute; inset: 0; width: 60px; height: 60px; margin: auto;
    display: grid; place-items: center; border: 0; border-radius: 50%;
    background: var(--accent); color: var(--on-accent); cursor: pointer; box-shadow: var(--shadow-lg);
}
.podcast-play svg { margin-left: 3px; }
.podcast-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; line-height: 1.15; }
.podcast-meta > * + * { margin-top: var(--space-2); }
.podcast-info { font-size: var(--text-sm); color: var(--ink-muted); }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
    min-height: 56px; padding: var(--space-3) 0; cursor: pointer; list-style: none;
    font-family: var(--font-display); font-size: var(--text-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-family: var(--font-body); font-size: 1.4rem; color: var(--accent-text); }
.faq details[open] summary::after { content: '\2212'; }
.faq-a { padding-bottom: var(--space-5); color: var(--ink-muted); max-width: 62ch; }

/* ── Article ── */
.article { max-width: 68ch; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-5); font-size: var(--text-sm); color: var(--ink-muted); }
.article-meta img { width: 44px; height: 44px; border-radius: 50%; }
.article-body > * + * { margin-top: var(--space-4); }
.article-body h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; margin-top: var(--space-7); }

/* Light page top, for pages without a photo hero */
.pg-top { padding-top: calc(var(--nav-h) + var(--space-7)); }

/* Note beside the button in a dark photo hero */
.f-hero-bar .hero-bar-note { max-width: 420px; margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--on-dark-muted); }
/* Closing band with a sentence rather than a short title */
.f-cta-banner.is-long .f-cta-banner-title { font-size: var(--text-xl); max-width: 30ch; line-height: 1.25; }
.f-cta-banner .btn { position: relative; }
.f-cta-banner .btn-primary { background: var(--black); color: var(--on-dark); }
.f-cta-banner .btn-primary:hover { background: var(--surface); color: var(--black); }

/* Inner-page photo heroes: the title size used to live in each page's own styles */
.f-hero-short .f-hero-title { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.6rem); margin-bottom: var(--space-5); }
.f-hero-short .f-hero-body { max-width: 640px; }
.qa > div > * + * { margin-top: var(--space-3); }

/* "As heard on" (copy v5): one row, the label centred against the show links, each show one link to its episode */
.heard { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-4); }
.heard > .eyebrow { margin: 0; line-height: 44px; }
.heard ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-4); margin: 0 !important; }
.heard a { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; font-weight: 400; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.25em; }
.heard a strong { font-weight: 600; }
.on-dark .heard a { color: var(--on-dark); }
@media (max-width: 599px) { .heard > .eyebrow { flex-basis: 100%; line-height: 1.6; } }
.heard-more { margin-top: 0 !important; }

/* "Read more" lines pointing into Learn */
.read-more { font-size: var(--text-sm); color: var(--ink-muted); }
.read-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.25em; }
.pull + .read-more { margin-top: var(--space-6); }
.fit + .read-more { margin-top: var(--space-5); }

/* ── Compact photo hero: the inner-page hero look, shorter, for Learn, articles and Privacy ── */
.f-hero.f-hero-compact { height: auto; min-height: clamp(400px, 58vh, 580px); }
.f-hero-compact .f-hero-content { padding-top: calc(var(--nav-h) + var(--space-7)); padding-bottom: var(--space-7); }
.f-hero-compact .f-hero-title { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5rem); line-height: 1; margin-bottom: var(--space-4); }
.f-hero-compact .f-hero-body { margin-bottom: 0; }
.f-hero-note { color: var(--on-dark-muted); font-size: var(--text-sm); }
.f-hero-compact + .priv-wrap { padding-top: clamp(3rem, 6vw, 5rem); }

/* ── Homepage: the same dark photo behind the Reading and the welcome card ── */
.hero.photo-top { position: relative; overflow: hidden; background: var(--black); --focus-ring: var(--accent); --accent-text: var(--accent); }
.hero.photo-top > .hero-grid { position: relative; z-index: 2; }
.hero.photo-top .hero-title { color: var(--on-dark); }
.hero.photo-top .hero-title em { color: var(--f-cream); }
.hero.photo-top .hero-sub, .hero.photo-top .welcome-note, .hero.photo-top .welcome-label { color: var(--on-dark-muted); }
/* The no-JavaScript notice sits on the photo; notices inside the light Reading card keep their light colours */
.hero.photo-top noscript .notice { background: rgba(233, 130, 30, 0.14); color: var(--on-dark); }
@media (min-width: 1024px) { .hero.photo-top { padding-bottom: var(--space-9, 8rem); } }

/* ── Video cards (video.js): YouTube, 16:9, the poster and play button until the click ── */
.video-card { margin: 0; }
.video-card[hidden] { display: none; }
.video-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--dark);
}
.video-media img, .video-media iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play {
    position: absolute;
    inset: 0;
    width: 64px;
    height: 64px;
    margin: auto;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease), background var(--dur-fast);
}
.video-play:hover { background: var(--accent-hover); transform: scale(1.05); }
.video-play:focus-visible { outline: 3px solid var(--on-dark); outline-offset: 3px; }
.video-play svg { margin-left: 3px; }
.video-caption { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--ink-muted); }
.hero.photo-top .video-caption, .on-dark .video-caption { color: var(--on-dark-muted); }
.dx-page:has(.dx-welcome) .video-caption { color: var(--on-dark-muted); }
.pg-video { max-width: 880px; margin: 0 auto; }


/* ════════════════════════════════════════════════════════════
   COPY v5 LAYOUTS
   ════════════════════════════════════════════════════════════ */
.section-intro { margin-top: var(--space-4); color: var(--ink-muted); max-width: 62ch; }
.section-intro + .checklist, .section-intro + .lead-list { margin-top: var(--space-6); }
.section-after { margin-top: var(--space-6); max-width: 62ch; }
.note-small { font-size: var(--text-sm); color: var(--ink-muted); }
.list-label { font-weight: 600; margin-bottom: var(--space-4); }

/* Homepage: Does this sound like you? */
.isyou-close { max-width: 62ch; margin-top: var(--space-7); font-size: var(--text-lg); line-height: 1.5; }
.isyou-close + .pg-cta { margin-top: var(--space-5); }

/* Homepage: How it works (the trail is further down) */
.f-loop .f-loop-steps p { color: var(--ink-muted); }
.loop-close { margin-top: var(--space-6); max-width: 56ch; font-family: var(--font-display); font-size: var(--text-lg); font-style: italic; line-height: 1.45; }

/* Homepage: Where to start, four cards. Four in a row from 1280 px, two by two from 768 px */
.ways.ways-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .ways.ways-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .ways.ways-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pg-in:has(.ways-4) { max-width: 1320px; } }
.ways-4 .way { height: 100%; }

/* Quotes: three in a row from 1024 px (Experiences); five, with the last one across the row (About) */
@media (min-width: 1024px) { .f-tgrid.f-tgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 761px) { .f-tgrid.f-tgrid-odd > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Dark photo hero with a video card on the right from 1024 px (Diagnostic, Challenge) */
.f-hero.f-hero-split { height: auto; min-height: max(70vh, 620px); }
.f-hero-split .f-hero-content { padding-top: calc(var(--nav-h) + var(--space-7)); }
.f-hero-split-in { display: grid; gap: var(--space-7); width: 100%; max-width: 1320px; }
.f-hero-split .f-hero-title { font-size: clamp(2.6rem, 1.4rem + 4vw, 5rem); line-height: 1; }
.f-hero-split .f-hero-body { margin-bottom: var(--space-6); }
.f-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.f-hero-actions .btn-quiet, .f-hero .btn-quiet { color: var(--on-dark); }
.f-hero-text .f-hero-note { margin-top: var(--space-4); max-width: 460px; }
.f-hero-video .video-caption { color: var(--on-dark-muted); }
@media (min-width: 1024px) {
    .f-hero-split-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(var(--space-6), 4vw, var(--space-8)); align-items: end; }
}

/* Lists with a bold lead-in (Diagnostic: what you get) */
.lead-list { list-style: none; display: grid; gap: var(--space-5); margin-top: var(--space-6); max-width: 68ch; }
.lead-list li { padding-left: var(--space-5); border-left: 3px solid var(--accent); }
.lead-list strong { font-weight: 600; }

/* Challenge: the 14 days as a vertical timeline, the label on the left from 768 px */
.timeline { list-style: none; margin-top: var(--space-7); max-width: 980px; display: grid; }
.timeline li { position: relative; display: grid; gap: var(--space-2) var(--space-6); padding: 0 0 var(--space-6) var(--space-6); border-left: 2px solid var(--line); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 0.35em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline-label { font-weight: 600; color: var(--ink); }
.timeline li > p:last-child { color: var(--ink-muted); max-width: 62ch; }
@media (min-width: 768px) { .timeline li { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); } }

/* Challenge: the guide pages, small on purpose and not clickable. A sideways scroll row on phones */
.guide { margin: 0; }
.guide-pages { display: flex; justify-content: flex-start; padding: var(--space-5) var(--space-4) var(--space-6); }
.guide-page { flex: none; width: 240px; border-radius: 4px; overflow: hidden; background: var(--surface); box-shadow: 0 10px 30px rgba(7, 7, 7, 0.18), 0 2px 6px rgba(7, 7, 7, 0.08); }
.guide-page img { display: block; width: 100%; height: auto; }
.guide-page:nth-child(1) { transform: rotate(-2deg); }
.guide-page:nth-child(2) { transform: rotate(2deg); margin-left: -28px; margin-top: 12px; z-index: 1; }
.guide-page:nth-child(3) { transform: rotate(-2deg); margin-left: -28px; }
.guide figcaption, .guide-map figcaption { margin-top: var(--space-3); max-width: 62ch; font-size: var(--text-sm); color: var(--ink-muted); }
.guide-map { margin: var(--space-7) 0 0; max-width: 960px; }
.guide-map-frame { padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.guide-map-frame img { display: block; width: 100%; height: auto; border-radius: 4px; }
@media (max-width: 767px) {
    .guide-pages { overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--space-4); margin: 0 calc(-1 * var(--gutter)); padding: var(--space-4) var(--gutter) var(--space-6); scroll-padding: 0 var(--gutter); }
    .guide-page { width: 68vw; max-width: 240px; scroll-snap-align: start; margin: 0 !important; }
    .guide-page:nth-child(n) { transform: none; }
}
.ch-cost > * + * { margin-top: var(--space-4); }
.ch-cost { margin-top: var(--space-6); }
.pg-narrow > .h2 + .btn, .section-intro + .btn { margin-top: var(--space-5); }

/* Coaching: two columns from 1024 px (heading and intro left, the list right) */
.split { display: grid; gap: var(--space-6); }
.split-head > * + * { margin-top: var(--space-4); }
.split-head p { color: var(--ink-muted); font-size: var(--text-lg); line-height: 1.5; }
.split-body .notice { margin-top: var(--space-6); }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-8); align-items: start; } }

/* Coaching: four short blocks, two by two from 768 px */
.blocks { display: grid; gap: var(--space-5); margin-top: var(--space-7); }
@media (min-width: 768px) { .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.block { padding: var(--space-6); border-top: 2px solid var(--accent); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--surface); }
.block h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; line-height: 1.15; margin-bottom: var(--space-3); }
.block p { color: var(--ink-muted); }

/* Experiences: prose with a landscape photo beside it from 1024 px */
.media-split { display: grid; gap: var(--space-7); align-items: center; }
.media-split-img { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }
.media-split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .media-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

/* Experiences: Forge48 and Forge Team as two large panels from 1024 px */
.exp { grid-template-columns: 1fr !important; }
@media (min-width: 1024px) { .exp { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--space-6); } }
.exp-card { padding: var(--space-7) var(--space-6); }
.exp-card .exp-rows { gap: var(--space-5); }
.exp-rows dd { color: var(--ink); line-height: 1.6; }
.fit-h + .fit, #fit-h + .fit { margin-top: var(--space-6); }


/* ── The trail (corrections v6): homepage "How it works" and the method page ──
   The SVG is inlined (_dev/tools/trail.js); its colours are tokens. Left at about 45% from 1024 px,
   above the list below that (at most 560 px). Under 600 px the labels hide and the numbers grow. */
.trail { margin: 0; width: 100%; max-width: 560px; container-type: inline-size; }
.tr-svg { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.tr-num { font-family: var(--font-display); font-size: 27px; fill: var(--bg); text-anchor: middle; dominant-baseline: central; }
.tr-lab { font-family: var(--font-body); font-size: 19px; font-weight: 500; fill: var(--ink); }
.tr-sub { font-family: var(--font-body); font-size: 14px; letter-spacing: .08em; fill: var(--ink-muted); }
.tr-sub.tr-sub-arrow { fill: none; }
.tr-dot { fill: var(--ink); stroke: var(--accent); stroke-width: 3; }
.tr-mini { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; }
@media (max-width: 599px) {
    .tr-lab, .tr-sub { display: none; }
    .tr-num { font-size: 34px; }
}
/* Beside the list on a narrow desktop (1024 to about 1240 px) the trail is under 460 px wide:
   the two small notes would be under 9 px, so they hide and the step labels grow a little */
@container (max-width: 459px) {
    .tr-sub { display: none; }
    .tr-lab { font-size: 21px; }
    .tr-num { font-size: 32px; }
}
.f-loop.has-trail { display: grid; grid-template-columns: 1fr; gap: var(--space-7); align-items: start; margin-top: var(--space-7); }
@media (min-width: 1024px) {
    .f-loop.has-trail { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); column-gap: var(--space-8); align-items: center; }
    .f-loop.has-trail .trail { max-width: none; }
}
.learn-body .trail { margin: var(--space-5) 0 var(--space-6); }

/* ── Challenge: Your investment (corrections v6). The full price struck through, the founding price large ── */
.price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-2) var(--space-6); }
.price-full { font-family: var(--font-display); font-size: var(--text-xl); color: var(--ink-muted); }
.price-full s { text-decoration-thickness: 2px; text-decoration-color: var(--ink-muted); }
.price-now { display: flex; flex-direction: column; }
.price-label { font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent-text); }
.price-big { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 400; line-height: 1; color: var(--ink); }
.price-places { font-size: var(--text-sm); color: var(--ink-muted); }
.ch-cost .places { margin-top: var(--space-5); }

/* ── One testimonial in the dark testimonial style (Challenge) ── */
.f-testimonials > .eyebrow { color: var(--accent); margin-bottom: var(--space-3); }
.f-tgrid.f-tgrid-1 { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.f-tcard blockquote { margin: 0; flex: 1; }
.f-tcard blockquote p { margin: 0 0 1.8rem; }

/* ── Experiences: the Forge Team panel's call to action ── */
.exp-cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }

/* ── /notes: the sign-up page for LinkedIn links. One screen, one job ── */
.notes-hero { min-height: 100vh !important; min-height: 100svh !important; }
.notes-in { max-width: 640px; }
.notes-hero .f-hero-title { max-width: none; }
.notes-hero .notes-form { margin-top: 0; }
.notes-hero .notes-form .field-input { flex: 1 1 240px; min-height: var(--tap); }
.notes-hero .footer-notes-small { margin-top: var(--space-3); }
.notes-hero .footer-notes-done { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.3; color: var(--on-dark); }
.notes-from { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-6); font-size: var(--text-sm); color: var(--on-dark-muted); }
.notes-from img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.footer-min { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.footer-min .footer-line { margin: 0; border: 0; padding: 0; }
.footer-min a { color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 0.2em; }
