/* v4 additions on top of shared.css + page.css (v3). Preview only. */

body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* No draft bar in v4: header sits at the top again (page.css offset it for the bar). */
header.nav { top: 0; padding: 1.4rem 0; }
.brand .brand-logo { height: 38px; }
/* Single-CTA header: no menu drawer. */
.nav-toggle, .nav-drawer { display: none !important; }
.nav-links { gap: 1.2rem; }
.nav-cta .lbl-short { display: none; }
.nav-links a.nav-cta { color: #fff; background: rgba(241,66,11,0.92); border-color: transparent; }
.nav-links a.nav-cta:hover { background: #F1420B; }
@media (max-width: 600px) {
  header.nav { padding: 0.9rem 0; }
  .brand .brand-logo { height: 30px; }
  .nav-links .theme-toggle { display: none !important; }
  .nav-cta .lbl-long { display: none; }
  .nav-cta .lbl-short { display: inline; }
  .nav-links a.nav-cta { white-space: nowrap; font-size: 0.64rem !important; padding: 0.55rem 1rem !important; }
}

/* Hero: short enough that the CTA sits above the fold at 390x844. */
.p-hero h1 { max-width: 16ch; }
.p-hero-kicker .label { line-height: 1.6; }
@media (max-width: 600px) {
  .p-hero { padding: 6.4rem 0 3rem; }
  .p-hero-kicker { margin-bottom: 1.1rem; align-items: flex-start; }
  .p-hero-kicker .rule { width: 28px; margin-top: 0.55em; flex: 0 0 auto; }
  .p-hero-kicker .label { font-size: 0.62rem; letter-spacing: 0.14em; }
  .p-hero h1 { font-size: 2.6rem; }
  .p-hero-lede { font-size: 1.08rem; margin-top: 1.1rem; }
  .p-hero-cta { margin-top: 1.5rem; }
  .p-hero-cta .btn { width: 100%; justify-content: center; padding: 1rem 1.2rem; }
}

.free-tag { display:inline-block; vertical-align:middle; font-family:"Oswald",sans-serif; font-size:0.62rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:#060607; background:#FFD84D; border-radius:100px; padding:0.2rem 0.7rem; margin:0 0.3rem 0 0; line-height:1.4; white-space:nowrap; }

/* Three parallel pathway cards */
.tiers-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1080px) { .tiers-3 { grid-template-columns: 1fr; } }
.tier-out { font-size: var(--fs-base); line-height: 1.55; color: var(--fg); margin-bottom: 1.6rem; }
.tier-out b { color: var(--orange); font-weight: 600; }

/* Proof: three cards */
.proof-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1080px) { .proof-3 { grid-template-columns: 1fr; } }
.proof-3 .stats { grid-template-columns: 1fr; gap: 1.1rem; }
.proof-case:nth-child(3) .proof-who { color: var(--orange); }
.stat-n .to { font-size: 0.55em; font-style: italic; font-weight: 300; color: var(--fg-muted); }
.proof-co { font-size: var(--fs-base); line-height: 1.5; }

/* Pricing: DIY down-sell line next to the monthly option */
.diy-line { display: block; margin-top: 0.8rem; font-size: var(--fs-sm); color: var(--fg-muted); }
.diy-line a { color: var(--fg-strong); border-bottom: 1px solid var(--orange); }
.diy-line a:hover { color: var(--orange); }
.price-table tr.hl .pkg { font-size: var(--fs-base); }

/* Final CTA signature */
.cta-band .sig { margin-top: 1.8rem; font-size: var(--fs-sm); color: var(--fg-muted); }
.cta-band .sig b { color: var(--fg); font-weight: 600; }

/* Slim footer */
.foot-slim { padding: 2.4rem 0; border-top: 1px solid var(--hair); }
.foot-slim .foot-base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border: 0; margin: 0; padding: 0; }
.foot-slim .foot-logo { height: 28px; width: auto; filter: var(--logo-filter); }
.foot-slim p { font-size: var(--fs-sm); color: var(--grey); margin: 0; }
.foot-slim a { color: var(--fg-muted); }
.foot-slim a:hover { color: var(--orange); }
.sep-dot { display:inline-block; width:4px; height:4px; border-radius:50%; background: var(--teal); vertical-align:middle; margin: 0 0.7rem; }

/* Exit-intent modal (DIY down-sell) */
.exit-modal[hidden] { display: none; }
.exit-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px; }
.exit-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.66); }
.exit-card { position: relative; max-width: 520px; width: 100%; background: var(--bg-elev); color: var(--fg); border: 1px solid var(--hair-strong); border-radius: 10px; padding: clamp(1.6rem,4vw,2.4rem); box-shadow: 0 24px 80px rgba(0,0,0,0.45); }
.exit-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; border-radius: 10px 10px 0 0; background: var(--grad); }
.exit-card .label { display: block; margin-bottom: 0.9rem; color: var(--teal); }
.exit-card h2 { font-family: "Fraunces", serif; font-weight: 400; font-size: clamp(1.6rem, 4.6vw, 2.2rem); line-height: 1.08; letter-spacing: -0.015em; padding-right: 1.6rem; }
.exit-card h2 .thin { font-weight: 300; font-style: italic; }
.exit-card p { margin-top: 1rem; color: var(--fg-muted); font-size: var(--fs-base); line-height: 1.6; }
.exit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.6rem; }
.exit-x { position: absolute; top: 0.7rem; right: 0.8rem; width: 40px; height: 40px; border: 0; background: transparent; color: var(--fg-muted); font-size: 1.8rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.exit-x:hover, .exit-x:focus-visible { color: var(--orange); }
.exit-no { border: 0; background: transparent; color: var(--fg-muted); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; cursor: pointer; padding: 0.6rem 0.2rem; border-bottom: 1px solid var(--hair-strong); }
.exit-no:hover { color: var(--fg); }
@media (max-width: 600px) { .exit-actions .btn { width: 100%; justify-content: center; } }

/* The hero is always dark, so the header over it stays dark in both themes
   until the page scrolls (then shared.css gives the header its themed bar). */
.nav-scrim { background: linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0) 100%); transition: opacity .3s; }
html.nav-scrolled .nav-scrim { opacity: 0; }
html[data-theme=light] header.nav:not(.scrolled) .brand .brand-logo { filter: none; }
html[data-theme=light] header.nav:not(.scrolled) .theme-toggle { color: #fff; border-color: rgba(255,255,255,0.4); }
.p-hero h1 { max-width: 22ch; }
@media (max-width: 600px) {
  .p-hero-kicker .label { font-size: 0.56rem; letter-spacing: 0.1em; }
  .hero-line { font-size: 0.7rem; letter-spacing: 0.08em; }
}
@media (max-width: 600px) {
  .tier-actions .btn, .cta-band .btn { width: 100%; justify-content: center; padding: 1rem 1rem; letter-spacing: 0.1em; font-size: 0.74rem; white-space: nowrap; }
}
.map-note { font-family:"Oswald",sans-serif; font-size:0.78rem; letter-spacing:0.04em; color: var(--on-dark-faint, #9a9a9a); margin: -0.4rem 0 1.4rem; line-height:1.6; }
#start .tier-name .free-tag { margin-left: 0.5rem; }

/* Start here: card + sample map side by side */
.start-grid { align-items: start; }
.sample-map { margin: 0; }
.sample-open { display: block; position: relative; width: 100%; padding: 0; border: 1px solid var(--hair-strong); border-radius: 8px; overflow: hidden; background: #F5F1EA; cursor: zoom-in; }
.sample-open img { display: block; width: 100%; height: auto; }
.sample-tap { position: absolute; right: 12px; bottom: 12px; font-family: "Oswald", sans-serif; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: rgba(20,17,14,0.82); border-radius: 100px; padding: 0.45rem 0.9rem; }
.sample-tap .t-mob { display: none; }
.sample-map figcaption { margin-top: 0.9rem; font-size: var(--fs-sm); color: var(--fg-muted); line-height: 1.6; }
.sample-map figcaption a { color: var(--fg-strong); border-bottom: 1px solid var(--orange); }
.sample-map figcaption a:hover { color: var(--orange); }
@media (max-width: 920px) {
  .sample-open { max-height: 300px; }
  .sample-open::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(245,241,234,0) 0%, rgba(245,241,234,0.96) 75%); }
  .sample-tap { left: 50%; right: auto; transform: translateX(-50%); z-index: 1; white-space: nowrap; }
  .sample-tap .t-desk { display: none; }
  .sample-tap .t-mob { display: inline; }
}
@media (max-width: 600px) { .sample-open { max-height: 240px; } }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 450; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.lightbox-inner { position: relative; max-width: 1240px; width: 100%; max-height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; text-align: center; }
.lightbox-inner img { display: block; width: 100%; height: auto; border-radius: 6px; background: #F5F1EA; }
.lightbox-x { position: sticky; top: 0; float: right; z-index: 2; width: 44px; height: 44px; margin-bottom: -44px; border: 0; border-radius: 50%; background: rgba(20,17,14,0.85); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-pdf { display: inline-block; margin-top: 0.9rem; font-family: "Oswald", sans-serif; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; border-bottom: 1px solid var(--orange); }
@media (max-width: 600px) { .lightbox-inner img { width: 1000px; max-width: none; } .lightbox { align-items: flex-start; } }

/* Pathway cards: 3 named workflows each (Nathan 454) */
.wf-list { list-style: none; margin: 0 0 1.6rem; display: grid; gap: 1.1rem; }
.wf-list li { display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; align-items: start; }
.wf-ic { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--orange); background: rgba(241,66,11,0.10); border: 1px solid rgba(241,66,11,0.28); }
.wf-ic svg { width: 20px; height: 20px; display: block; }
.wf-tx { display: block; }
.wf-name { display: block; font-family: "Fraunces", serif; font-weight: 500; font-size: 1.22rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--fg-strong); }
.wf-pay { display: block; margin-top: 0.25rem; font-size: var(--fs-sm); line-height: 1.5; color: var(--fg-muted); }
#pathways .tier:nth-child(2) .wf-ic { color: var(--teal); background: rgba(42,147,193,0.10); border-color: rgba(42,147,193,0.3); }
#pathways .tier:nth-child(3) .wf-ic { color: var(--fg-strong); background: var(--hair); border-color: var(--hair-strong); }
