:root{
  --app-shell-bg:#11131a;
  --app-shell-panel:rgba(17,19,26,.97);
  --app-shell-text:#fff;
  --app-shell-muted:#cdd5df;
  --app-shell-teal:#43cea2;
  --app-shell-pink:#ff4fd8;
  --app-shell-orange:#ff9f1c;
  --app-shell-blue:#185a9d;
  --app-shell-height:68px;
  --app-safe-top:env(safe-area-inset-top,0px);
}
html{scroll-padding-top:calc(var(--app-shell-height) + var(--app-safe-top) + 18px);background:#25132b}
body{padding-top:calc(var(--app-shell-height) + var(--app-safe-top))!important}
body.app-menu-open{overflow:hidden}
.site-nav.app-shell{
  position:fixed!important;
  inset:0 0 auto 0!important;
  z-index:999999!important;
  min-height:calc(var(--app-shell-height) + var(--app-safe-top))!important;
  padding:var(--app-safe-top) clamp(12px,3vw,28px) 0!important;
  display:block!important;
  background:
    radial-gradient(circle at 12% -20%,rgba(255,79,216,.28),transparent 36%),
    radial-gradient(circle at 88% 120%,rgba(67,206,162,.22),transparent 40%),
    linear-gradient(115deg,rgba(48,10,45,.98),rgba(17,19,26,.98) 48%,rgba(8,36,52,.98))!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 8px 30px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
}
.site-nav.app-shell::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;
  background:linear-gradient(90deg,var(--app-shell-teal),var(--app-shell-pink),var(--app-shell-orange),var(--app-shell-blue));
}
.app-shell__bar{
  height:var(--app-shell-height);max-width:1240px;margin:auto;
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;
}
.site-nav.app-shell .nav-logo{
  justify-self:start;display:flex!important;align-items:center!important;
  min-width:0;margin:0!important;padding:6px 0!important;line-height:1!important;
}
.site-nav.app-shell .nav-logo img{
  display:block!important;width:auto!important;height:44px!important;
  max-width:min(220px,48vw)!important;object-fit:contain!important;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.app-shell__primary{
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 16px;border-radius:999px;
  background:linear-gradient(135deg,var(--app-shell-pink),var(--app-shell-orange));
  color:#fff!important;text-decoration:none!important;
  font:800 .9rem/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  box-shadow:0 8px 20px rgba(255,79,216,.22);white-space:nowrap;
}
.app-shell__primary:hover{transform:translateY(-1px);filter:brightness(1.06)}
.app-shell__toggle{
  width:46px;height:46px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.16);border-radius:14px;
  color:#fff;background:rgba(255,255,255,.09);cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.app-shell__toggle:focus-visible,.app-shell__primary:focus-visible,
.site-nav.app-shell a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.app-shell__toggle-lines,.app-shell__toggle-lines::before,.app-shell__toggle-lines::after{
  width:21px;height:2px;border-radius:99px;background:currentColor;display:block;transition:.22s ease;
}
.app-shell__toggle-lines{position:relative}
.app-shell__toggle-lines::before,.app-shell__toggle-lines::after{content:"";position:absolute;left:0}
.app-shell__toggle-lines::before{top:-7px}.app-shell__toggle-lines::after{top:7px}
.app-menu-open .app-shell__toggle-lines{background:transparent}
.app-menu-open .app-shell__toggle-lines::before{top:0;transform:rotate(45deg)}
.app-menu-open .app-shell__toggle-lines::after{top:0;transform:rotate(-45deg)}
.app-shell__menu{
  position:absolute;top:calc(100% + 10px);right:clamp(12px,3vw,28px);
  width:min(390px,calc(100vw - 24px));
  max-height:calc(100dvh - var(--app-shell-height) - var(--app-safe-top) - 28px);
  overflow:auto;padding:10px;border:1px solid rgba(255,255,255,.12);
  border-radius:22px;background:rgba(16,18,26,.98);
  box-shadow:0 26px 70px rgba(0,0,0,.48);
  transform:translateY(-8px) scale(.98);transform-origin:top right;
  opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease;
}
.app-menu-open .app-shell__menu{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.site-nav.app-shell .app-shell__menu a{
  min-height:50px;display:flex!important;align-items:center;gap:12px;
  margin:0!important;padding:0 14px!important;border-radius:14px;
  color:#fff!important;font:750 .98rem/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  text-decoration:none!important;
}
.site-nav.app-shell .app-shell__menu a:hover,
.site-nav.app-shell .app-shell__menu a:focus-visible{background:rgba(255,255,255,.09);color:#fff!important}
.app-shell__divider{height:1px;background:rgba(255,255,255,.1);margin:8px}
.app-shell__menu-note{
  padding:10px 14px 8px;color:var(--app-shell-muted);
  font:600 .78rem/1.45 system-ui,-apple-system,sans-serif;text-align:left;
}
.app-shell__scrim{
  position:fixed;inset:calc(var(--app-shell-height) + var(--app-safe-top)) 0 0;
  background:rgba(0,0,0,.45);opacity:0;visibility:hidden;
  pointer-events:none;transition:.2s;z-index:-1;
}
.app-menu-open .app-shell__scrim{opacity:1;visibility:visible;pointer-events:auto}
body.app-shell-home > header{
  padding-top:clamp(42px,7vw,78px)!important;
  padding-bottom:clamp(38px,6vw,68px)!important;
  min-height:auto!important;
}
body.app-shell-home > header .wrap{max-width:900px!important}
body.app-shell-home > header img.logo{max-width:112px!important;margin-bottom:.85rem!important}
body.app-shell-home > header .eyebrow{margin-bottom:.65rem!important}
body.app-shell-home > header h1{font-size:clamp(2.15rem,7vw,4.2rem)!important;margin:.35rem auto!important}
body.app-shell-home > header .intro{
  max-width:760px!important;font-size:clamp(1rem,2.4vw,1.1rem)!important;
  line-height:1.55!important;margin:.85rem auto 1.15rem!important;
}
body.app-shell-home > header .buttons{gap:.55rem!important}
body.app-shell-home > header .buttons a{
  min-height:46px;display:inline-flex!important;align-items:center;justify-content:center;
}
@media(max-width:860px){.app-shell__primary{font-size:.84rem;padding:0 13px}}
@media(max-width:620px){
  :root{--app-shell-height:62px}
  .site-nav.app-shell{padding-left:10px!important;padding-right:10px!important}
  .site-nav.app-shell .nav-logo img{height:38px!important;max-width:43vw!important}
  .app-shell__primary{min-height:42px;padding:0 12px;font-size:.79rem}
  .app-shell__toggle{width:43px;height:43px;border-radius:13px}
  .app-shell__menu{right:10px;width:calc(100vw - 20px);border-radius:20px}
  body.app-shell-home > header{padding-left:16px!important;padding-right:16px!important}
  body.app-shell-home > header img.logo{display:none!important}
  body.app-shell-home > header .buttons a{width:100%;margin:.12rem 0!important}
}
@media(max-width:390px){
  .app-shell__primary{font-size:0;width:42px;padding:0;border-radius:14px}
  .app-shell__primary::before{content:"🎙️";font-size:1.08rem}
  .site-nav.app-shell .nav-logo img{max-width:46vw!important}
}
@media(prefers-reduced-motion:reduce){
  .app-shell__menu,.app-shell__scrim,.app-shell__toggle-lines,
  .app-shell__toggle-lines::before,.app-shell__toggle-lines::after{transition:none!important}
}

/* iPhone Safari/header seam match — shared by every app-shell header */
:root{
  --app-shell-top-match:#3a1038;
}

html,
body{
  background-color:var(--app-shell-top-match)!important;
}

/*
  Safari's browser/status area is solid. Make the visible top edge of the real
  header use that exact same solid tone, then fade into the existing horizontal
  pink/navy/teal header so there is no hard color seam.
*/
html::before{
  content:"";
  position:fixed;
  z-index:999997;
  inset:0 0 auto 0;
  height:max(env(safe-area-inset-top, 0px), 72px);
  pointer-events:none;
  background:var(--app-shell-top-match);
}

.site-nav.app-shell{
  z-index:999999!important;
  background:
    linear-gradient(
      to bottom,
      var(--app-shell-top-match) 0,
      var(--app-shell-top-match) 10px,
      rgba(58,16,56,.82) 24px,
      rgba(58,16,56,.34) 48px,
      transparent 72px
    ),
    radial-gradient(circle at 12% -20%,rgba(255,79,216,.30),transparent 38%),
    radial-gradient(circle at 88% 120%,rgba(67,206,162,.24),transparent 42%),
    linear-gradient(115deg,#30102d 0%,#11131a 48%,#082434 100%)!important;
}

/* ZIP 2.4–2.6 — App Experience Pack */
.feature-kicker{display:inline-block;margin-bottom:.45rem;color:#43cea2;font:900 .74rem/1.2 system-ui,-apple-system,sans-serif;letter-spacing:.10em;text-transform:uppercase}
.feature-card{position:relative;overflow:hidden;text-align:left!important;padding:clamp(24px,4vw,40px)!important;border:1px solid rgba(24,90,157,.12)!important}
.feature-card>h2,.feature-card>p{text-align:left!important;margin-left:0!important;margin-right:0!important}
.feature-card>p{max-width:720px!important}
.feature-card .buttons{justify-content:flex-start!important}
.feature-card .buttons a{min-height:46px;display:inline-flex!important;align-items:center;justify-content:center}

.feature-card--podcast{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);grid-template-areas:"art kicker" "art title" "art copy" "art actions";column-gap:clamp(28px,5vw,58px);align-items:center;background:radial-gradient(circle at 0 0,rgba(255,79,216,.12),transparent 34%),#fff}
.feature-card--podcast>.feature-kicker{grid-area:kicker}
.feature-card--podcast>h2{grid-area:title}
.feature-card--podcast>a:has(.podcast-art){grid-area:art}
.feature-card--podcast>p{grid-area:copy}
.feature-card--podcast>.buttons{grid-area:actions}
.feature-card--podcast .podcast-art{width:min(100%,390px)!important;max-width:none!important;margin:0!important;border-radius:26px!important;box-shadow:0 20px 45px rgba(0,0,0,.24);transform:rotate(-1.2deg)}

.feature-card--book{min-height:420px;padding-right:min(42vw,460px)!important;background:linear-gradient(90deg,#fff 0%,#fff 58%,rgba(255,255,255,.20) 100%),linear-gradient(135deg,rgba(255,159,28,.18),rgba(255,79,216,.10))}
.feature-card--book .book-cover{position:absolute;right:clamp(24px,6vw,70px);top:50%;transform:translateY(-50%) rotate(2deg);width:min(29vw,300px)!important;max-height:350px!important;object-fit:contain!important;margin:0!important;filter:drop-shadow(0 22px 30px rgba(0,0,0,.26))}

.feature-card--blog{color:#fff!important;background:radial-gradient(circle at 100% 0,rgba(67,206,162,.18),transparent 36%),linear-gradient(135deg,#162237,#11131a)}
.feature-card--blog h2,.feature-card--blog p{color:#fff!important}
.feature-card--blog .feature-kicker{color:#ff9f1c}

.adventure-hub{padding:clamp(24px,4vw,40px)!important;text-align:left!important;overflow:hidden!important}
.adventure-hub>h2,.adventure-hub>p{text-align:left!important;margin-left:0!important}
.adventure-hub>p{max-width:760px!important}
.rail-hint{margin:.5rem 0 .85rem!important;color:#5f6f7a!important;font-weight:800!important;font-size:.85rem!important}
.adventure-rail{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(260px,31%);grid-template-columns:none!important;gap:16px!important;margin:0!important;padding:4px 4px 18px!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.adventure-rail .adventure-link{scroll-snap-align:start;min-width:0;text-decoration:none!important}
.adventure-rail .mini-card{height:100%;min-height:390px;display:flex;flex-direction:column;padding:0!important;overflow:hidden;border-radius:22px!important;background:#f6f7fb!important;box-shadow:0 10px 24px rgba(0,0,0,.12);transition:transform .18s ease,box-shadow .18s ease}
.adventure-rail .adventure-link:hover .mini-card{transform:translateY(-4px);box-shadow:0 18px 34px rgba(0,0,0,.18)}
.adventure-rail .mini-card img{width:100%!important;height:190px!important;object-fit:cover!important;margin:0!important;border-radius:0!important}
.adventure-rail .mini-card h3{margin:18px 18px 8px!important;font-size:1.25rem!important}
.adventure-rail .mini-card p{margin:0 18px 16px!important;color:#5f6f7a!important;text-align:left!important;flex:1}
.adventure-rail .mini-card .tag{align-self:flex-start;margin:0 18px 18px!important}

.floating-latest{position:fixed;right:18px;bottom:18px;z-index:99990;min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:999px;color:#fff!important;text-decoration:none!important;font:850 .9rem/1 system-ui,-apple-system,sans-serif;background:linear-gradient(135deg,#ff4fd8,#ff9f1c);box-shadow:0 14px 34px rgba(0,0,0,.34)}
.mobile-tabbar{display:none}

@media(max-width:900px){
.feature-card--podcast{grid-template-columns:220px minmax(0,1fr);column-gap:26px}
.feature-card--book{padding-right:min(38vw,340px)!important}
.feature-card--book .book-cover{width:min(28vw,230px)!important}
.adventure-rail{grid-auto-columns:minmax(250px,46%)}
}

@media(max-width:680px){
body.app-shell-home{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}
.feature-card{text-align:center!important;padding:22px 16px!important}
.feature-card>h2,.feature-card>p{text-align:center!important}
.feature-card .buttons{justify-content:center!important}
.feature-card--podcast{display:flex;flex-direction:column}
.feature-card--podcast>.feature-kicker,.feature-card--podcast>h2{order:1}
.feature-card--podcast>a:has(.podcast-art){order:2}
.feature-card--podcast>p{order:3}
.feature-card--podcast>.buttons{order:4}
.feature-card--podcast .podcast-art{width:min(78vw,330px)!important;margin:.65rem auto 1.25rem!important}
.feature-card--book{min-height:0;padding-right:16px!important}
.feature-card--book .book-cover{position:relative;inset:auto;transform:none;width:min(58vw,260px)!important;max-height:none!important;margin:.75rem auto 1.15rem!important}
.adventure-hub{text-align:left!important;padding:22px 0 22px 16px!important}
.adventure-hub>.feature-kicker,.adventure-hub>h2,.adventure-hub>p,.adventure-hub>.rail-hint{margin-right:16px!important}
.adventure-rail{grid-auto-columns:minmax(250px,82%);padding-right:16px!important}
.floating-latest{display:none}
.mobile-tabbar{position:fixed;z-index:999998;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));min-height:64px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:6px;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:rgba(17,19,26,.94);box-shadow:0 18px 44px rgba(0,0,0,.42);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%)}
.mobile-tabbar a,.mobile-tabbar button{min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:3px;border:0;border-radius:15px;color:#fff!important;background:transparent;text-decoration:none!important;cursor:pointer}
.mobile-tabbar a:active,.mobile-tabbar button:active{background:rgba(255,255,255,.10)}
.mobile-tabbar span{font-size:1.15rem;line-height:1}
.mobile-tabbar small{max-width:100%;overflow:hidden;font:750 .64rem/1 system-ui,-apple-system,sans-serif;text-overflow:ellipsis;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.feature-card--podcast .podcast-art,.feature-card--book .book-cover{transform:none!important}}

