/* =========================================================================
   NaviBeat — platform detail pages (macos.html, appletv.html)
   Augments styles.css. Same palette, same type, same motion primitives.
   ========================================================================= */

/* ---- Breadcrumb + platform hero -------------------------------------- */

.p-hero {
  position: relative;
  padding-top: clamp(40px, 6vh, 72px);
  padding-bottom: clamp(48px, 9vh, 112px);
  overflow: hidden;
  isolation: isolate;
}

.p-hero__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.p-hero__glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  background: radial-gradient(circle, rgba(227, 155, 86, 0.42) 0%, rgba(227, 155, 86, 0.08) 45%, transparent 70%);
  animation: heroPulse 9s var(--ease) infinite;
  will-change: transform, opacity;
}
.p-hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 30%, transparent 80%);
  opacity: 0.55;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-1);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.crumb a {
  color: var(--text-1);
  transition: color 0.2s var(--ease);
}
.crumb a:hover { color: var(--accent-hi); }
.crumb__sep { opacity: 0.45; }
.crumb__current { color: var(--accent); }

.p-hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}
@media (max-width: 960px) {
  .p-hero__wrap { grid-template-columns: 1fr; gap: 48px; text-align: left; }
}

.p-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  /* Upright Fraunces Roman: 48px mobile → 96px desktop, per premium brief */
  font-size: clamp(48px, 7.6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 16ch;
  font-variation-settings: "opsz" 144;
}
.p-hero__copy h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: wordIn 0.55s var(--ease) forwards;
}
.p-hero__copy h1 .word + .word { margin-left: 0.22em; }

.p-hero__sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-1);
  max-width: 54ch;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(8px);
  animation: wordIn 0.6s var(--ease) 0.5s forwards;
}

.p-hero__ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(8px);
  animation: wordIn 0.6s var(--ease) 0.65s forwards;
}

.p-hero__shot {
  position: relative;
  opacity: 0;
  animation: wordIn 0.8s var(--ease) 0.35s forwards;
  filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.6)) drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45));
  transform-origin: center center;
}
.p-hero__shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Feature card grid (5–7) ---------------------------------------- */

.p-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .p-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-features { grid-template-columns: 1fr; } }

.p-feature {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.35), rgba(10, 10, 10, 0.15));
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}
.p-feature:hover {
  border-color: rgba(227, 155, 86, 0.42);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(227, 155, 86, 0.05), rgba(10, 10, 10, 0.15));
}

.p-feature__ico {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(227, 155, 86, 0.1);
  border: 1px solid rgba(227, 155, 86, 0.24);
  color: var(--accent);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.p-feature:hover .p-feature__ico {
  background: rgba(227, 155, 86, 0.16);
  border-color: rgba(227, 155, 86, 0.5);
  transform: translateY(-1px);
}
.p-feature__ico svg { width: 22px; height: 22px; }

.p-feature h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text-0);
}
.p-feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-1);
}

.p-feature__idx {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-1);
  opacity: 0.6;
}

/* Reveal */
.reveal-ready .p-features > .p-feature {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.6, 0.2, 1),
    border-color 0.2s var(--ease),
    background 0.25s var(--ease);
}
.reveal-ready .p-features.is-in > .p-feature { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-ready .p-features.is-in > .p-feature:nth-child(1) { transition-delay: 0ms; }
.reveal-ready .p-features.is-in > .p-feature:nth-child(2) { transition-delay: 60ms; }
.reveal-ready .p-features.is-in > .p-feature:nth-child(3) { transition-delay: 120ms; }
.reveal-ready .p-features.is-in > .p-feature:nth-child(4) { transition-delay: 180ms; }
.reveal-ready .p-features.is-in > .p-feature:nth-child(5) { transition-delay: 240ms; }
.reveal-ready .p-features.is-in > .p-feature:nth-child(6) { transition-delay: 300ms; }
.reveal-ready .p-features.is-in > .p-feature:nth-child(7) { transition-delay: 360ms; }

/* ---- Section head block --------------------------------------------- */

.sec-head {
  max-width: 60ch;
  margin-bottom: 64px;
}
.sec-head .eyebrow { margin-bottom: 12px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p { color: var(--text-1); font-size: 17px; line-height: 1.65; }

/* ---- Deep-dive splits ----------------------------------------------- */

.deep {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding-block: clamp(56px, 9vh, 112px);
}
.deep + .deep { border-top: 1px solid var(--border); }
.deep--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.deep--reverse .deep__copy { order: 2; }
.deep--reverse .deep__shot { order: 1; }
@media (max-width: 900px) {
  .deep, .deep--reverse { grid-template-columns: 1fr; gap: 40px; }
  .deep--reverse .deep__copy, .deep--reverse .deep__shot { order: initial; }
}

.deep__copy .eyebrow { margin-bottom: 18px; }
.deep__copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 18ch;
}
.deep__copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-1);
  margin-bottom: 20px;
  max-width: 54ch;
}
.deep__copy p.lede { font-size: 19px; color: var(--text-0); }

.deep__bullets {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.deep__bullets li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.6;
}
.deep__bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 10px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(227, 155, 86, 0.5);
  grid-column: 1;
}
.deep__bullets li strong { color: var(--text-0); font-weight: 600; }

.deep__shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 10;
}
.deep__shot img,
.deep__shot svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.deep__shot--tall { aspect-ratio: 4 / 3; }

.deep__code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-1);
  letter-spacing: 0.02em;
}
.deep__code::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ---- Platform picker (cross-platform footer band) ------------------- */

.p-picker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(56px, 8vh, 88px);
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(227, 155, 86, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.25), transparent 40%);
}
.p-picker__head {
  text-align: center;
  margin-bottom: 40px;
}
.p-picker__head .eyebrow { margin-bottom: 12px; }
.p-picker__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.01em;
  max-width: 26ch;
  margin-inline: auto;
}

.p-lozenges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
}
@media (max-width: 900px) { .p-lozenges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .p-lozenges { grid-template-columns: repeat(2, 1fr); } }

.p-loz {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.55), rgba(20, 20, 20, 0.3));
  color: var(--text-0);
  min-height: 120px;
  text-align: center;
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
a.p-loz { text-decoration: none; }
a.p-loz:hover {
  border-color: rgba(227, 155, 86, 0.42);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(227, 155, 86, 0.06), rgba(20, 20, 20, 0.3));
  color: var(--accent-hi);
}
.p-loz__ico {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(227, 155, 86, 0.08);
  border: 1px solid rgba(227, 155, 86, 0.18);
  color: var(--text-1);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.p-loz__ico svg { width: 22px; height: 22px; }
a.p-loz:hover .p-loz__ico {
  color: var(--accent);
  background: rgba(227, 155, 86, 0.14);
  border-color: rgba(227, 155, 86, 0.42);
}
.p-loz__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.p-loz__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-1);
}
.p-loz.is-current {
  border-color: rgba(227, 155, 86, 0.55);
  background: linear-gradient(180deg, rgba(227, 155, 86, 0.14), rgba(227, 155, 86, 0.04));
  box-shadow: 0 0 0 1px rgba(227, 155, 86, 0.3) inset, 0 20px 50px rgba(227, 155, 86, 0.15);
}
.p-loz.is-current .p-loz__ico {
  color: var(--accent);
  background: rgba(227, 155, 86, 0.18);
  border-color: rgba(227, 155, 86, 0.5);
}
.p-loz.is-current .p-loz__tag { color: var(--accent); }
.p-loz.is-soon { opacity: 0.85; }
.p-loz.is-soon .p-loz__tag {
  background: linear-gradient(
    90deg,
    var(--text-1) 0%,
    var(--text-1) 40%,
    #f2efe8 50%,
    var(--text-1) 60%,
    var(--text-1) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: comingShimmer 3.2s var(--ease) infinite;
}

/* ---- Pull-quote ----------------------------------------------------- */

.p-quote {
  max-width: 52ch;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(40px, 6vh, 72px);
}
.p-quote__mark {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: 80px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.5;
}
.p-quote blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-0);
  margin-block: 12px 18px;
}
.p-quote cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
}

/* ---- Stats strip ---------------------------------------------------- */

.p-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.55), rgba(20, 20, 20, 0.3));
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px rgba(0, 0, 0, 0.35);
}
@media (max-width: 720px) { .p-stats { grid-template-columns: repeat(2, 1fr); } }

.p-stat {
  position: relative;
  padding: 28px 22px;
  text-align: left;
}
.p-stat + .p-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--border);
}
@media (max-width: 720px) {
  .p-stat + .p-stat::before { display: none; }
  .p-stats > .p-stat { border-top: 1px solid var(--border); }
  .p-stats > .p-stat:nth-child(-n+2) { border-top: 0; }
  .p-stats > .p-stat:nth-child(even) { border-left: 1px solid var(--border); }
}
.p-stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  /* Numbers dominate: larger display scale, labels pull back */
  font-size: clamp(42px, 5.8vw, 68px);
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--text-0);
  margin-bottom: 14px;
}
.p-stat__num .accent { color: var(--accent); }
.p-stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  opacity: 0.72;
}
.p-stat { padding: 36px 26px; }

/* ---- Code-callout strip (for macOS gotcha drama) -------------------- */

.p-callout {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
  background: rgba(20, 20, 20, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}
.p-callout__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.p-callout__text {
  color: var(--text-0);
  font-size: 15px;
  line-height: 1.6;
}
.p-callout__text code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent-hi);
}

/* ---- Inline SVG feature illustrations ------------------------------- */

.p-illus {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  aspect-ratio: 16 / 10;
  display: block;
}
.p-illus svg { width: 100%; height: 100%; display: block; }

/* Reveal for deep-dives */
.reveal-ready .deep__copy > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal-ready .deep.is-in .deep__copy > * { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-ready .deep.is-in .deep__copy > *:nth-child(1) { transition-delay: 0ms; }
.reveal-ready .deep.is-in .deep__copy > *:nth-child(2) { transition-delay: 80ms; }
.reveal-ready .deep.is-in .deep__copy > *:nth-child(3) { transition-delay: 160ms; }
.reveal-ready .deep.is-in .deep__copy > *:nth-child(4) { transition-delay: 240ms; }
.reveal-ready .deep.is-in .deep__copy > *:nth-child(5) { transition-delay: 320ms; }
.reveal-ready .deep.is-in .deep__copy > *:nth-child(6) { transition-delay: 400ms; }

.reveal-ready .deep__shot {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-ready .deep.is-in .deep__shot { opacity: 1; transform: scale(1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .p-hero__glow { animation: none !important; }
  .p-hero__copy h1 .word,
  .p-hero__sub,
  .p-hero__ctas,
  .p-hero__shot { opacity: 1 !important; transform: none !important; animation: none !important; }
  .p-feature:hover { transform: none; }
  a.p-loz:hover { transform: none; }
  .p-loz.is-soon .p-loz__tag {
    animation: none !important;
    background: none !important;
    -webkit-text-fill-color: var(--text-1) !important;
    color: var(--text-1) !important;
  }
  .reveal-ready .p-features > .p-feature,
  .reveal-ready .deep__copy > *,
  .reveal-ready .deep__shot {
    transform: none !important;
  }
}

/* =========================================================================
   PREMIUM POLISH — per-platform page refinements
   ========================================================================= */

/* ---- 1. Deep-dive shot: poster-weight shadow & border-radius ---------- */
.deep__shot {
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 50px 100px rgba(0, 0, 0, 0.55),
    0 16px 40px rgba(0, 0, 0, 0.38);
}

/* ---- 2. Deep-dive typography: editorial italic cadence ---------------- */
.deep__copy h2 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.deep__copy p.lede {
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.deep__copy p { line-height: 1.65; }

/* ---- 3. Section rhythm — match home page exactly ---------------------- */
/* One cadence across the site: every chapter the same breath. */
.p-hero { padding-bottom: clamp(64px, 11vh, 128px); }

/* ---- 4. Crumb polish: sharper divider, breath -------------------------- */
.crumb { gap: 10px; letter-spacing: 0.18em; }
.crumb__sep { color: var(--text-1); opacity: 0.35; }

/* ---- 5. Sec-head: tighter rhythm between eyebrow / h2 / support body --- */
.sec-head { margin-bottom: 72px; }
.sec-head h2 {
  letter-spacing: -0.018em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.sec-head p { line-height: 1.62; }

/* ---- 6. p-feature — tighten icon/text rhythm -------------------------- */
.p-feature {
  padding: 28px 26px;
  gap: 14px;
  min-height: 232px;
}
.p-feature h3 {
  font-size: 18px;
  letter-spacing: -0.008em;
  line-height: 1.28;
}
.p-feature p { line-height: 1.62; }
.p-feature:active { transform: translateY(-1px) scale(0.997); transition: transform 0.1s var(--ease); }

/* ---- 7. Platform picker: equalize lozenges, subtler press state ------- */
.p-loz {
  min-height: 124px;
  padding: 24px 16px;
}
.p-loz__name { font-size: 14px; letter-spacing: -0.005em; }
.p-loz__tag { font-size: 10px; letter-spacing: 0.14em; opacity: 0.82; }
.p-loz.is-current .p-loz__tag { opacity: 1; }

/* ---- 8. Pull quote: more editorial, quieter mark ---------------------- */
.p-quote__mark {
  opacity: 0.38;
  font-size: 92px;
  line-height: 0.55;
}
.p-quote blockquote {
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.28;
}
.p-quote cite { letter-spacing: 0.16em; opacity: 0.7; }

/* ---- 9. Callout: slightly warmer, more paper-like -------------------- */
.p-callout {
  background: linear-gradient(180deg, rgba(227, 155, 86, 0.04), rgba(20, 20, 20, 0.6));
  border-color: rgba(227, 155, 86, 0.18);
}
.p-callout__label { letter-spacing: 0.16em; opacity: 0.92; }
.p-callout__text { line-height: 1.62; }

/* ---- 10. p-hero sub — consistent lede rhythm with home ----------------- */
.p-hero__sub {
  line-height: 1.58;
  margin-bottom: 40px;
}

/* ---- 11. Reduced motion additions ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .p-feature:active { transform: none !important; }
}

/* =========================================================================
   12. Screenshot showcase (.p-shots / .p-shot) — alternating image+copy
   Each row = real app screenshot on one side, feature copy on the other.
   ========================================================================= */
.p-shots {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 7vh, 112px);
  margin-top: 48px;
  padding: 0;
  list-style: none;
}
.p-shot {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.p-shot--reverse .p-shot__media { order: 2; }
.p-shot--reverse .p-shot__copy  { order: 1; }
@media (max-width: 900px) {
  .p-shot { grid-template-columns: 1fr; gap: 28px; }
  .p-shot--reverse .p-shot__media,
  .p-shot--reverse .p-shot__copy { order: initial; }
}

.p-shot__media {
  margin: 0;
  /* No background, border, or forced aspect — let the screenshot's native
     window shadow (transparent PNG) render on the page background. */
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.p-shots.is-in .p-shot__media { opacity: 1; transform: translateY(0); }
.p-shot__media img {
  width: 100%;
  height: auto;
  display: block;
}
/* tvOS JPGs have no transparent shadow — add a soft frame + glow */
.p-shot__media img[src$=".jpg"] {
  border-radius: 14px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.p-shot__copy .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.p-shot__copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-0);
  margin-bottom: 16px;
  font-variation-settings: "opsz" 144;
}
.p-shot__copy p {
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.65;
  max-width: 48ch;
}
.p-shot__copy code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(227, 155, 86, 0.08);
  color: var(--accent-hi);
  padding: 2px 6px;
  border-radius: 4px;
}

/* =========================================================================
   13. Deep-dive rows (.p-deep) — wider cinematic screenshot blocks
   ========================================================================= */
.p-deep {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 8vh, 128px);
  margin-top: 56px;
  padding: 0;
  list-style: none;
}
.p-deep__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.p-deep__row--reverse .p-deep__media { order: 2; }
.p-deep__row--reverse .p-deep__copy  { order: 1; }
@media (max-width: 960px) {
  .p-deep__row { grid-template-columns: 1fr; gap: 32px; }
  .p-deep__row--reverse .p-deep__media,
  .p-deep__row--reverse .p-deep__copy { order: initial; }
}
.p-deep__media {
  margin: 0;
  /* No background, border, or forced aspect — preserve PNG transparency
     so the macOS window shadow blends naturally into the page. */
}
/* Portrait modifier for tall Mini Player screenshots (412x944, 513x706).
   Constrain column width, center in cell, let PNG show at natural height. */
.p-deep__media--portrait {
  max-width: 420px;
  margin-inline: auto;
}
.p-deep__media img {
  width: 100%;
  height: auto;
  display: block;
}
.p-deep__media img[src$=".jpg"] {
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.p-deep__copy .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.p-deep__copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--text-0);
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144;
}
.p-deep__copy p {
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 20px;
}
.p-deep__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-deep__list li {
  padding-left: 22px;
  position: relative;
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.5;
}
.p-deep__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(227, 155, 86, 0.4);
}

/* =========================================================================
   14. Compatibility grid (.p-compat) — servers / hardware / audio / privacy
   ========================================================================= */
.p-compat__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 960px) { .p-compat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-compat__grid { grid-template-columns: 1fr; } }
.p-compat__cell {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.6), rgba(20, 20, 20, 0.3));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.p-compat__cell:hover {
  border-color: rgba(227, 155, 86, 0.32);
  transform: translateY(-2px);
}
.p-compat__cell h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.p-compat__cell ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-compat__cell li {
  color: var(--text-1);
  font-size: 14.5px;
  line-height: 1.45;
  padding-left: 16px;
  position: relative;
}
.p-compat__cell li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(227, 155, 86, 0.55);
}

