/* =========================================================================
   NaviBeat marketing site — dark-canvas editorial
   Tokens per marketing-site-brief.md §2
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --bg-0: #0a0a0a;
  --bg-1: #141414;
  --bg-2: #1c1c1c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-0: #f2efe8;
  --text-1: #a8a39a;
  --accent: #E39B56;
  --accent-hi: #F5B877;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --max-w: 1280px;
  --gutter: 96px;
  --rhythm: 128px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
    --rhythm: 64px;
  }
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--text-0); text-decoration: none; }
a:hover { color: var(--accent-hi); }

::selection { background: var(--accent); color: var(--bg-0); }

/* Focus — WCAG 2.2 SC 2.4.11 (2px outline, accent, off-set) */
:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================================
   Type utilities
   ========================================================================= */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-1);
}

.eyebrow--accent { color: var(--accent); }

h1, h2, h3 { color: var(--text-0); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(44px, 7.2vw, 72px);
  /* Upright Fraunces Roman — editorial presence without slant. */
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.008em;
}

.lede {
  /* 17–19/28 — Apple Music body rhythm */
  font-size: 19px;
  line-height: 1.58;
  color: var(--text-1);
  max-width: 52ch;
}

.muted { color: var(--text-1); }

/* =========================================================================
   Layout
   ========================================================================= */

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--rhythm); }

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #1a1208;
}
.btn--primary:hover {
  background: var(--accent-hi);
  color: #1a1208;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(227, 155, 86, 0.28);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-0);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hi);
}

.link-quiet {
  color: var(--text-1);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-quiet:hover { color: var(--accent-hi); border-color: var(--accent); }

/* =========================================================================
   Nav
   ========================================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.86);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 18px;
  transition: padding-block 0.3s var(--ease);
}
.nav.is-scrolled .nav__inner { padding-block: 12px; }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text-0);
  position: relative;
}
.nav__mark {
  position: relative;
  display: inline-flex;
  width: 30px;
  height: 30px;
}
.nav__mark img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(227, 155, 86, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: transform 0.3s var(--ease);
}
.nav__brand:hover .nav__mark img { transform: scale(1.05); }
.nav__pulse {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg-0), 0 0 12px var(--accent);
  animation: navPulse 2.4s var(--ease) infinite;
}
@keyframes navPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--bg-0), 0 0 8px var(--accent); opacity: 0.85; }
  50%      { box-shadow: 0 0 0 2px var(--bg-0), 0 0 16px var(--accent-hi); opacity: 1; }
}
.nav__word {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  align-items: center;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-1);
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 4px 2px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--text-0); }
.nav__link:hover::after { transform: scaleX(1); }

.btn--compact {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .nav__links a.nav__link-hide-sm { display: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  --lineup-parallax: 0px;
  position: relative;
  padding-top: clamp(48px, 8vh, 96px);
  padding-bottom: clamp(48px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}

/* Ambient background */
.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero__ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: opacity, transform;
}
.hero__ambient-glow--a {
  top: 20%; left: 40%;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(227, 155, 86, 0.38) 0%, rgba(227, 155, 86, 0.06) 45%, transparent 70%);
  animation: heroPulse 8s var(--ease) infinite;
}
.hero__ambient-glow--b {
  top: 55%; left: 12%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245, 184, 119, 0.22) 0%, rgba(245, 184, 119, 0.04) 50%, transparent 75%);
  animation: heroPulse 10s var(--ease) infinite 1.5s;
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.45; transform: translate3d(0, 0, 0) scale(1); }
  50%      { opacity: 0.7;  transform: translate3d(0, -10px, 0) scale(1.04); }
}
.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 60% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.6;
}

.hero__wrap {
  position: relative;
}

.hero__copy {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 28px;
  font-size: 12px;
}
.hero__eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: navPulse 2.4s var(--ease) infinite;
}

.hero__h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 28px;
  max-width: 18ch;
  margin-inline: auto;
  font-variation-settings: "opsz" 144;
}

.hero__h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: wordIn 0.55s var(--ease) forwards;
}
.hero__h1 .word + .word { margin-left: 0.22em; }

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  margin: 0 auto 40px;
  max-width: 60ch;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-1);
  opacity: 0;
  transform: translateY(8px);
  animation: wordIn 0.6s var(--ease) 0.5s forwards;
}

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

/* =========================================================================
   Hero: device lineup
   ========================================================================= */

.lineup {
  position: relative;
  width: 100%;
  margin-top: clamp(32px, 5vh, 72px);
  opacity: 0;
  animation: lineupFade 0.8s var(--ease) 0.8s forwards;
}
@keyframes lineupFade { to { opacity: 1; } }

.lineup__stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 1280 / 680;
  transform: translate3d(0, var(--lineup-parallax, 0px), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}

.lineup__glow {
  position: absolute;
  inset: -10% 0 -20% 0;
  background:
    radial-gradient(ellipse 45% 55% at 50% 58%, rgba(227, 155, 86, 0.42) 0%, rgba(227, 155, 86, 0.08) 40%, transparent 70%),
    radial-gradient(ellipse 25% 40% at 50% 70%, rgba(245, 184, 119, 0.25) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  /* 6.5s "breathing" cycle — intentional, stage-lit, not attention-grabbing */
  animation: lineupGlow 6.5s var(--ease) infinite;
}
@keyframes lineupGlow {
  0%, 100% { opacity: 0.78; filter: blur(40px) hue-rotate(0deg); }
  50%      { opacity: 1;    filter: blur(52px) hue-rotate(3deg); }
}

.lineup__floor {
  position: absolute;
  left: 0; right: 0; bottom: -4%;
  height: 120px;
  background: radial-gradient(ellipse 55% 100% at 50% 0%, rgba(0, 0, 0, 0.75) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Shared device styles */
.lineup__device {
  position: absolute;
  bottom: 0;
  z-index: 2;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  /* 0.95s with eased cubic-bezier — "stately" rather than "snappy" */
  animation: deviceIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--stagger, 0ms);
  will-change: opacity, transform;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}
.lineup__device img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes deviceIn {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Individual placements — percentages keep proportion at every breakpoint */
.lineup__device--tv {
  left: 0;
  bottom: 4%;
  width: 30%;
  z-index: 2;
}
.lineup__device--mac {
  left: 50%;
  bottom: 8%;
  width: 58%;
  transform-origin: 50% 100%;
  translate: -50% 24px;
  animation-name: deviceInMac;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
@keyframes deviceInMac {
  to { opacity: 1; translate: -50% 0; }
}
.lineup__device--ipad {
  right: 10%;
  bottom: 10%;
  width: 36%;
  z-index: 4;
}
.lineup__device--iphone {
  right: 3%;
  bottom: 0;
  width: 12%;
  z-index: 6;
}
.lineup__device--watch {
  right: 18%;
  bottom: -2%;
  width: 9%;
  z-index: 7;
}

.lineup__caption {
  margin-top: 48px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-1);
}
.lineup__caption span {
  display: inline-block;
  padding: 0 12px;
  opacity: 0;
  animation: wordIn 0.5s var(--ease) forwards;
}
.lineup__caption span:nth-child(1) { animation-delay: 1.7s; }
.lineup__caption span:nth-child(2) { animation-delay: 1.88s; color: var(--accent); }
.lineup__caption span:nth-child(3) { animation-delay: 2.06s; }

/* Responsive: collapse lineup */
@media (max-width: 960px) {
  .lineup__stage {
    aspect-ratio: 1;
  }
  .lineup__device--tv     { left: 0;   bottom: 2%;  width: 44%; }
  .lineup__device--mac    { left: 50%; bottom: 22%; width: 84%; }
  .lineup__device--ipad   { right: 2%; bottom: 4%;  width: 50%; }
  .lineup__device--iphone { right: 4%; bottom: 0;   width: 18%; }
  .lineup__device--watch  { right: 26%; bottom: 0;  width: 13%; }
}

@media (max-width: 600px) {
  .hero__copy { margin-bottom: 24px; }
  .hero__h1 { font-size: clamp(38px, 11vw, 58px); }
  .lineup__caption { margin-top: 32px; font-size: 10px; letter-spacing: 0.18em; }
  .lineup__caption span { padding: 0 8px; }
}

/* =========================================================================
   Platforms band
   ========================================================================= */

.platforms {
  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.35), transparent 40%);
}

.platforms__eyebrow {
  text-align: center;
  margin-bottom: 48px;
}
.platforms__eyebrow .eyebrow { margin-bottom: 12px; }
.platforms__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-inline: auto;
}

.plat-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  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: 960px) { .plat-band { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .plat-band { grid-template-columns: repeat(2, 1fr); } }

.plat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 16px;
  min-height: 96px;
  transition: background 0.3s var(--ease);
}
@media (max-width: 1140px) { .plat { padding: 20px 14px; gap: 10px; } }
.plat:hover { background: rgba(227, 155, 86, 0.05); }
.plat:focus-within { background: rgba(227, 155, 86, 0.08); }

/* Vertical dividers between items */
.plat + .plat::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--border);
}
@media (max-width: 960px) {
  .plat + .plat::before { display: none; }
  .plat-band > li { border-top: 1px solid var(--border); }
  .plat-band > li:nth-child(-n+3) { border-top: 0; }
  .plat-band > li:nth-child(3n+2),
  .plat-band > li:nth-child(3n) { border-left: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .plat-band > li { border-top: 1px solid var(--border); border-left: 0; }
  .plat-band > li:nth-child(-n+2) { border-top: 0; }
  .plat-band > li:nth-child(even) { border-left: 1px solid var(--border); }
}

.plat__icon {
  flex: 0 0 40px;
  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.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.plat__icon svg {
  width: 22px;
  height: 22px;
}
.plat.is-live .plat__icon {
  color: var(--accent);
  background: rgba(227, 155, 86, 0.14);
  border-color: rgba(227, 155, 86, 0.42);
  box-shadow: 0 0 18px rgba(227, 155, 86, 0.2);
}
.plat:hover .plat__icon { transform: translateY(-1px); }

.plat__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.plat__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--text-0);
  white-space: nowrap;
}
.plat__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
/* Narrow-column fallback: let long status wrap cleanly below dot */
@media (max-width: 1140px) {
  .plat__status { white-space: normal; line-height: 1.3; }
}
.plat__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.plat__status.is-coming {
  color: var(--text-1);
  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;
}
.plat__status.is-coming .plat__dot {
  background: var(--text-1);
  box-shadow: none;
  animation: comingDotPulse 1.8s var(--ease) infinite;
}

@keyframes comingShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes comingDotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.plat--carplay .plat__icon {
  background: rgba(227, 155, 86, 0.04);
  border-color: rgba(227, 155, 86, 0.14);
}

/* =========================================================================
   Apple TV flagship
   ========================================================================= */

.apple-tv-flagship {
  --tv-parallax: 0px;
  position: relative;
  overflow: hidden;
}

.tv-flag {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: center;
}
@media (max-width: 960px) { .tv-flag { grid-template-columns: 1fr; gap: 40px; } }

.tv-flag__copy .eyebrow { margin-bottom: 24px; }
.tv-flag__copy h2 { margin-bottom: 24px; }
.tv-flag__copy p { margin-bottom: 32px; }

.tv-flag__shot {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  will-change: transform;
  transform: translate3d(0, var(--tv-parallax, 0px), 0);
  transition: transform 0.08s linear;
}

/* =========================================================================
   Mac mini player — craft moment
   ========================================================================= */

.craft {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
@media (max-width: 960px) { .craft { grid-template-columns: 1fr; gap: 40px; } }

.craft__shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.craft__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.craft__cell {
  background: var(--bg-0);
  padding: 26px 22px;
}
.craft__cell .eyebrow { font-size: 11px; margin-bottom: 10px; color: var(--accent); }
.craft__cell h4 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.craft__cell p {
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.55;
}

@media (max-width: 520px) { .craft__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Feature grid — 4×2 asymmetric
   ========================================================================= */

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

.f-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  background: transparent;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
}
.f-card.is-in { opacity: 1; transform: translateY(0); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.2s var(--ease); }
.f-card:hover { border-color: rgba(227, 155, 86, 0.4); }

.f-card__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-1);
}
.f-card h3 { margin-bottom: 4px; }
.f-card p { color: var(--text-1); font-size: 15px; line-height: 1.6; }

.f-card--wide { grid-column: span 2; }
@media (max-width: 1080px) { .f-card--wide { grid-column: span 2; } }
@media (max-width: 560px)  { .f-card--wide { grid-column: span 1; } }

.f-card__kicker {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--accent-hi);
  margin-top: auto;
  font-variation-settings: "opsz" 144;
}

/* =========================================================================
   Privacy manifesto band
   ========================================================================= */

.manifesto {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(227, 155, 86, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.manifesto__nos {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
.manifesto__nos span { color: var(--accent); }

.manifesto__diagram {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  background: rgba(10, 10, 10, 0.5);
}

/* =========================================================================
   Screenshot strip — horizontal scroll
   ========================================================================= */

.strip {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-block: 16px 32px;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.strip__track {
  display: flex;
  gap: 24px;
}
.strip__item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: clamp(280px, 42vw, 520px);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-1);
}
.strip__item--tall { width: clamp(220px, 28vw, 320px); }
.strip__item img { display: block; width: 100%; height: auto; }
.strip__caption {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-1);
  border-top: 1px solid var(--border);
  text-transform: uppercase;
}

/* =========================================================================
   Price band
   ========================================================================= */

.price {
  text-align: center;
  padding-block: clamp(80px, 12vh, 140px);
}
.price .eyebrow { margin-bottom: 28px; }
.price__h {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.1;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144;
}
.price__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(84px, 12vw, 144px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144;
}
.price__sub {
  color: var(--text-1);
  font-size: 17px;
  margin-bottom: 40px;
}
.price__ctas {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.price__trial {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-1);
}

/* =========================================================================
   FAQ accordion
   ========================================================================= */

.faq {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq__inner { max-width: 820px; margin-inline: auto; }
.faq h2 { margin-bottom: 48px; }

.faq__item {
  border-top: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: 1px solid var(--border); }

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 4px;
  background: transparent;
  border: 0;
  color: var(--text-0);
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}
.faq__q:hover { color: var(--accent-hi); }

.faq__icon {
  width: 20px; height: 20px; flex: 0 0 20px;
  position: relative;
  opacity: 0.6;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.faq__icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }

.faq__item[open] .faq__icon { opacity: 1; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a {
  padding: 0 4px 24px;
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.7;
  max-width: 64ch;
}

/* =========================================================================
   Footer
   ========================================================================= */

.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding-block: 56px 40px;
  color: var(--text-1);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

.footer__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--text-0); margin-bottom: 10px;
}
.footer__brand img { width: 24px; height: 24px; border-radius: 6px; }

.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 12px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: var(--text-0); font-size: 14px; }
.footer ul a:hover { color: var(--accent-hi); }

.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-1);
}

/* =========================================================================
   Prose (support + privacy) — shared palette/type
   ========================================================================= */

.prose {
  max-width: 680px;
  margin: 80px auto;
  padding: 0 var(--gutter);
}
.prose h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(36px, 4.5vw, 48px);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.prose .meta {
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.prose h2 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  margin: 48px 0 14px;
  color: var(--text-0);
  letter-spacing: -0.005em;
}
.prose p, .prose li {
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.prose ul { padding-left: 20px; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(227, 155, 86, 0.3); padding-bottom: 1px; }
.prose a:hover { color: var(--accent-hi); border-bottom-color: var(--accent-hi); }
.prose code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text-0);
}
.prose .contact-box {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  margin-top: 12px;
}
.prose .contact-box p { margin: 0; color: var(--text-0); font-size: 16px; }

/* =========================================================================
   Scroll-triggered reveal system (middle + lower sections)
   ---------------------------------------------------------------
   Graceful degradation: content is visible by default. When JS loads,
   it adds `.reveal-ready` to <html>, which re-hides reveal targets.
   The IntersectionObserver then adds `.is-in` to reveal each.
   ========================================================================= */

.reveal-ready .reveal,
.reveal-ready .reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 32px, 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);
  will-change: opacity, transform;
}

.reveal-ready .reveal.is-in,
.reveal-ready .reveal-stagger.is-in > *,
.reveal-ready .reveal-stagger > .is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Staggered children — 80ms per child (up to 12), top-down inside a section. */
.reveal-ready .reveal-stagger > *:nth-child(1)  { transition-delay: 0ms; }
.reveal-ready .reveal-stagger > *:nth-child(2)  { transition-delay: 80ms; }
.reveal-ready .reveal-stagger > *:nth-child(3)  { transition-delay: 160ms; }
.reveal-ready .reveal-stagger > *:nth-child(4)  { transition-delay: 240ms; }
.reveal-ready .reveal-stagger > *:nth-child(5)  { transition-delay: 320ms; }
.reveal-ready .reveal-stagger > *:nth-child(6)  { transition-delay: 400ms; }
.reveal-ready .reveal-stagger > *:nth-child(7)  { transition-delay: 480ms; }
.reveal-ready .reveal-stagger > *:nth-child(8)  { transition-delay: 560ms; }
.reveal-ready .reveal-stagger > *:nth-child(9)  { transition-delay: 640ms; }
.reveal-ready .reveal-stagger > *:nth-child(10) { transition-delay: 720ms; }
.reveal-ready .reveal-stagger > *:nth-child(11) { transition-delay: 800ms; }
.reveal-ready .reveal-stagger > *:nth-child(12) { transition-delay: 880ms; }

/* ---- Craft (Mac mini-player) — screenshot scale-in + callout slide-from-left */
.reveal-ready .craft__shot {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-ready .craft__shot.is-in {
  opacity: 1;
  transform: scale(1);
}

.reveal-ready .craft__cell {
  opacity: 0;
  transform: translate3d(-12px, 0, 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);
  will-change: opacity, transform;
}
.reveal-ready .craft__grid.is-in .craft__cell:nth-child(1) { transition-delay: 0ms; }
.reveal-ready .craft__grid.is-in .craft__cell:nth-child(2) { transition-delay: 60ms; }
.reveal-ready .craft__grid.is-in .craft__cell:nth-child(3) { transition-delay: 120ms; }
.reveal-ready .craft__grid.is-in .craft__cell:nth-child(4) { transition-delay: 180ms; }
.reveal-ready .craft__grid.is-in .craft__cell:nth-child(5) { transition-delay: 240ms; }
.reveal-ready .craft__grid.is-in .craft__cell:nth-child(6) { transition-delay: 300ms; }
.reveal-ready .craft__grid.is-in .craft__cell {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ---- Feature grid wave (top-left → bottom-right, 50ms per card) */
.reveal-ready .features > .f-card {
  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);
}
.reveal-ready .features.is-in > .f-card:nth-child(1) { transition-delay: 0ms; }
.reveal-ready .features.is-in > .f-card:nth-child(2) { transition-delay: 50ms; }
.reveal-ready .features.is-in > .f-card:nth-child(3) { transition-delay: 100ms; }
.reveal-ready .features.is-in > .f-card:nth-child(4) { transition-delay: 150ms; }
.reveal-ready .features.is-in > .f-card:nth-child(5) { transition-delay: 200ms; }
.reveal-ready .features.is-in > .f-card:nth-child(6) { transition-delay: 250ms; }
.reveal-ready .features.is-in > .f-card:nth-child(7) { transition-delay: 300ms; }
.reveal-ready .features.is-in > .f-card:nth-child(8) { transition-delay: 350ms; }
.reveal-ready .features.is-in > .f-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Override the legacy per-card observer defaults (feature grid is now group-observed) */
.f-card { opacity: 1; transform: none; }

/* ---- Privacy diagram: node pop + line draw */
.manifesto__diagram svg { width: 100%; height: auto; display: block; }

.reveal-ready .privacy-node {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transform-origin: center center;
  transform-box: fill-box;
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal-ready .manifesto__diagram.is-in .privacy-node { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-ready .manifesto__diagram.is-in .privacy-node:nth-of-type(1) { transition-delay: 0ms; }
.reveal-ready .manifesto__diagram.is-in .privacy-node:nth-of-type(2) { transition-delay: 120ms; }
.reveal-ready .manifesto__diagram.is-in .privacy-node:nth-of-type(3) { transition-delay: 240ms; }

.reveal-ready .privacy-line {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 360ms;
}
.reveal-ready .manifesto__diagram.is-in .privacy-line { stroke-dashoffset: 0; }

/* ---- Screenshots horizontal strip — per-tile reveal + arrow affordances */
.strip-wrap { position: relative; }

.reveal-ready .strip__item {
  opacity: 0;
  transform: translate3d(0, 18px, 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);
}
.reveal-ready .strip__item.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.strip__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-0);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  z-index: 2;
}
.strip__arrow:hover { background: rgba(10, 10, 10, 0.9); border-color: var(--accent); color: var(--accent-hi); }
.strip__arrow:focus-visible { opacity: 1; }
.strip-wrap:hover .strip__arrow { opacity: 1; }
.strip__arrow--prev { left: 8px; }
.strip__arrow--next { right: 8px; }
.strip__arrow svg { width: 18px; height: 18px; }
.strip__arrow[disabled] { opacity: 0 !important; pointer-events: none; }

/* Momentum + snap smoothing (extends existing .strip) */
.strip { scroll-behavior: smooth; }

/* ---- Price band spring */
.reveal-ready .price__num {
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}
.reveal-ready .price.is-in .price__num {
  opacity: 1;
  transform: scale(1);
}

.reveal-ready .price__sub,
.reveal-ready .price__ctas,
.reveal-ready .price__trial {
  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);
}
.reveal-ready .price.is-in .price__sub   { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 200ms; }
.reveal-ready .price.is-in .price__ctas  { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 300ms; }
.reveal-ready .price.is-in .price__trial { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 400ms; }

/* =========================================================================
   FAQ accordion — grid-rows trick for smooth height animation
   (overrides legacy <details>/<summary> pattern)
   ========================================================================= */

.faq__item { border-top: 1px solid var(--border); }

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 4px;
  background: transparent;
  border: 0;
  color: var(--text-0);
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}

.faq__icon {
  width: 20px; height: 20px; flex: 0 0 20px;
  position: relative;
  opacity: 0.7;
  transition: opacity 0.25s var(--ease), transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor;
  border-radius: 1px;
}
.faq__icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%) rotate(45deg); transform-origin: center; }
.faq__icon::after  { width: 10px; height: 1.5px; transform: translate(-50%, -50%) rotate(-45deg); transform-origin: center; }

.faq__q[aria-expanded="true"] .faq__icon { opacity: 1; transform: rotate(180deg); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.faq__panel-inner {
  overflow: hidden;
  min-height: 0;
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }

.faq__a {
  padding: 0 4px 24px;
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.7;
  max-width: 64ch;
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition:
    opacity 0.35s cubic-bezier(0.2, 0.6, 0.2, 1) 0.05s,
    transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1) 0.05s;
}
.faq__item.is-open .faq__a {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =========================================================================
   Reduced motion
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__h1 .word { opacity: 1; transform: none; }
  .hero__sub, .hero__ctas { opacity: 1; transform: none; }
  .hero__ambient-glow { animation: none !important; }
  .lineup, .lineup__device { opacity: 1 !important; transform: none !important; translate: none !important; }
  .lineup__device--mac { translate: -50% 0 !important; }
  .lineup__stage { transform: none !important; }
  .lineup__glow { animation: none !important; }
  .lineup__caption span { opacity: 1; }
  .plat__status.is-coming { animation: none !important; background: none !important; -webkit-text-fill-color: var(--text-1) !important; color: var(--text-1) !important; }
  .plat__status.is-coming .plat__dot { animation: none !important; }
  .nav__pulse, .hero__eyebrow-dot { animation: none !important; }
  .f-card { opacity: 1; transform: none; }
  .btn--primary:hover { transform: none; }
  html { scroll-behavior: auto; }

  /* Reveal system: keep opacity transitions, drop every transform/scale/translate. */
  .reveal-ready .reveal,
  .reveal-ready .reveal-stagger > *,
  .reveal-ready .craft__shot,
  .reveal-ready .craft__cell,
  .reveal-ready .features > .f-card,
  .reveal-ready .privacy-node,
  .reveal-ready .strip__item,
  .reveal-ready .price__num,
  .reveal-ready .price__sub,
  .reveal-ready .price__ctas,
  .reveal-ready .price__trial,
  .reveal-ready .faq__a {
    transform: none !important;
  }
  .tv-flag__shot { transform: none !important; transition: none !important; }
  .reveal-ready .privacy-line { stroke-dashoffset: 0 !important; transition: none !important; }
  .faq__panel { transition: none !important; }
  .faq__icon { transition: opacity 0.2s var(--ease) !important; }
  .faq__q[aria-expanded="true"] .faq__icon { transform: none !important; }
}

/* =========================================================================
   /* -- home-page trim tokens --
   Platform-link affordance + Explore-each-app grid + coming-soon hero.
   Added when the index was slimmed down to a high-level pitch and per-platform
   pages were introduced (iphone.html / ipad.html / applewatch.html + macos /
   appletv deep-dives). Only additive rules — no token overrides.
   ========================================================================= */

/* Platform lozenges as links (clickable + arrow glyph that slides on hover) */
.plat--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  width: 100%;
  min-height: 44px;
}
.plat__arrow {
  display: inline-block;
  margin-left: 6px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  font-family: var(--font-sans);
  font-weight: 500;
}
.plat--link:hover .plat__arrow,
.plat--link:focus-visible .plat__arrow {
  opacity: 1;
  transform: translateX(0);
}
.plat--link:hover .plat__name,
.plat--link:focus-visible .plat__name {
  color: var(--accent-hi);
}
.plat--link:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: -2px;
  border-radius: 0;
}

/* ===========================================================================
   Explore-each-app grid: uniform 3-col x 2-row, all 6 cards equal weight.
   3 cols >=1024px, 2 cols >=640px, 1 col below. grid-auto-rows: 1fr keeps
   every row the same height; internal card grid pins CTA footer to bottom.
   =========================================================================== */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}
@media (max-width: 1023px) {
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 639px) {
  .explore-grid { grid-template-columns: 1fr; gap: 16px; }
}

.xcard {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-columns: minmax(0, 1fr) 72px;
  column-gap: 20px;
  row-gap: 10px;
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.45), rgba(20, 20, 20, 0.25));
  color: var(--text-0);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.xcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(227, 155, 86, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: -1;
}
a.xcard:hover,
a.xcard:focus-visible {
  border-color: rgba(227, 155, 86, 0.42);
  background: linear-gradient(180deg, rgba(36, 32, 28, 0.55), rgba(24, 22, 20, 0.32));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}
a.xcard:hover::before,
a.xcard:focus-visible::before { opacity: 1; }
.xcard:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}

.xcard__eyebrow {
  grid-column: 1 / 2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.xcard__h {
  grid-column: 1 / 2;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text-0);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xcard__tag {
  grid-column: 1 / 2;
  color: var(--text-1);
  font-family: "Inter Tight", var(--font-sans, system-ui), sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Spacer row (row 4 = 1fr) pins the footer to the card bottom. */
.xcard__foot {
  grid-column: 1 / -1;
  grid-row: 5 / 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.xcard__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.4);
  color: var(--text-1);
  white-space: nowrap;
}
.xcard__badge--live {
  color: var(--accent);
  border-color: rgba(227, 155, 86, 0.42);
}
.xcard__badge--coming {
  color: var(--text-1);
}
.xcard__badge--pipeline {
  color: var(--text-1);
  border-style: dashed;
  background: transparent;
}
.xcard__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.xcard__badge--coming .xcard__dot,
.xcard__badge--pipeline .xcard__dot { box-shadow: none; opacity: 0.55; }

.xcard__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
a.xcard:hover .xcard__cta,
a.xcard:focus-visible .xcard__cta {
  color: var(--accent-hi);
  transform: translateX(3px);
}

.xcard__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-1);
  opacity: 0.75;
}

/* Device silhouette — fixed 72x72 box, top-right of every card. */
.xcard__art {
  grid-column: 2 / 3;
  grid-row: 1 / 4;
  width: 72px;
  height: 72px;
  justify-self: end;
  align-self: start;
  color: var(--accent);
  opacity: 0.45;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.xcard__art svg { width: 100%; height: 100%; display: block; }
a.xcard:hover .xcard__art,
a.xcard:focus-visible .xcard__art {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Pipeline (CarPlay) card — non-interactive, muted. */
.xcard--pipeline {
  cursor: default;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.4), rgba(16, 16, 16, 0.2));
}
.xcard--pipeline .xcard__art { opacity: 0.32; }
.xcard--pipeline .xcard__eyebrow { color: var(--text-1); }

@media (prefers-reduced-motion: reduce) {
  .xcard,
  .xcard::before,
  .xcard__art,
  .xcard__cta {
    transition: none !important;
  }
  a.xcard:hover .xcard__cta,
  a.xcard:focus-visible .xcard__cta { transform: none; }
  a.xcard:hover .xcard__art,
  a.xcard:focus-visible .xcard__art { transform: none; }
}

@media (max-width: 639px) {
  .xcard { padding: 24px 22px; column-gap: 16px; grid-template-columns: minmax(0, 1fr) 56px; }
  .xcard__art { width: 56px; height: 56px; }
  .xcard__h { font-size: 22px; }
}

/* Coming-soon hero page (used on iphone.html / ipad.html / applewatch.html) */
.cs-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
.cs-hero__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.cs-hero__ambient::before,
.cs-hero__ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}
.cs-hero__ambient::before {
  top: 10%; left: 55%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(227, 155, 86, 0.32) 0%, rgba(227, 155, 86, 0.06) 45%, transparent 70%);
}
.cs-hero__ambient::after {
  bottom: -10%; left: 10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245, 184, 119, 0.2) 0%, rgba(245, 184, 119, 0.04) 50%, transparent 75%);
}

.cs-hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .cs-hero__wrap { grid-template-columns: 1fr; gap: 48px; }
}

.cs-hero__copy .eyebrow { margin-bottom: 20px; }

.cs-hero__h {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  /* Upright Fraunces Roman — parity with macos/appletv hero scale */
  font-size: clamp(48px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 14ch;
  font-variation-settings: "opsz" 144;
}

.cs-hero__sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.58;
  color: var(--text-1);
  max-width: 52ch;
  margin-bottom: 40px;
}

.cs-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}
.cs-hero__visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}
.cs-hero__visual--tall img { max-width: 320px; }
.cs-hero__visual--watch img { max-width: 280px; }

/* Notify-me form — no JS, mailto handoff */
.notify {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 460px;
  flex-wrap: wrap;
}
.notify__field {
  flex: 1 1 240px;
  min-height: 44px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-0);
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.notify__field::placeholder { color: var(--text-1); }
.notify__field:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(20, 20, 20, 0.8);
}
.notify__field:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 2px;
}

.notify__hint {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-1);
}

/* "In the meantime" try-now band on coming-soon pages */
.meantime {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.35), transparent 80%);
}
.meantime__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 720px) {
  .meantime__inner { grid-template-columns: 1fr; text-align: center; }
  .meantime__ctas { justify-content: center; }
}
.meantime__h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.meantime__sub { color: var(--text-1); font-size: 15px; }
.meantime__ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================================
   PREMIUM POLISH PASS — additive-only refinements
   Added in a dedicated block so nothing tokened upstream is overridden.
   ---------------------------------------------------------------------------
   Intent: close the last 15% of craft between "functional" and "expensive".
   Focus: press-states, typographic discipline, dramatic timings, restraint.
   ========================================================================= */

/* ---- 1. Button press-state (tactile feedback) -------------------------- */
.btn { transform-origin: center center; }
.btn:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s var(--ease);
}
.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 18px rgba(227, 155, 86, 0.22);
}
/* Subtle inner highlight on the primary button (catches light) */
.btn--primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* ---- 2. Quiet link — universal hover discipline ------------------------- */
/* Any anchor inside text blocks gets a tint on hover without a color pop */
.prose a, .f-card a, .faq__a a, .manifesto a {
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

/* ---- 3. Eyebrow — mono-spaced tracked caps everywhere ------------------ */
.eyebrow {
  /* +0.1em loose letter-spacing reads as "label", not "text" — already set.
     Fine-tune size so 13px mono doesn't look heavy against Fraunces display. */
  font-size: 12px;
  line-height: 1.6;
}

/* ---- 4. Hero copy rhythm: tighten eyebrow → h1 gap --------------------- */
.hero__eyebrow { margin-bottom: 32px; }
.hero__h1 { margin-bottom: 32px; }
.hero__sub { margin-bottom: 44px; line-height: 1.58; }

/* ---- 5. Platforms title — editorial italic + tracked eyebrow ----------- */
.platforms__eyebrow .eyebrow { margin-bottom: 16px; letter-spacing: 0.14em; }
.platforms__title { line-height: 1.18; }

/* ---- 6. Plat band: add press state ------------------------------------- */
.plat--link:active { transform: scale(0.995); transition: transform 0.1s var(--ease); }

/* ---- 7. Feature card rhythm tightening --------------------------------- */
.f-card { padding: 32px 28px; min-height: 200px; gap: 14px; }
.f-card h3 { margin-bottom: 2px; }
.f-card__idx { letter-spacing: 0.12em; opacity: 0.7; }
.f-card p { font-size: 15px; line-height: 1.62; }

/* ---- 8. Price band dramaturgy: quieter byline + single CTA pulse ------- */
/* Slow the sub appearance so the $ moment lands first in silence. */
.reveal-ready .price.is-in .price__sub   { transition-delay: 320ms; opacity: 0.8; }
.reveal-ready .price.is-in .price__ctas  { transition-delay: 480ms; }
.reveal-ready .price.is-in .price__trial { transition-delay: 620ms; }

/* Subtle single-cycle pulse on the CTA just after entrance (no infinite loop) */
@keyframes pricePulseOnce {
  0%   { box-shadow: 0 10px 30px rgba(227, 155, 86, 0.0);  transform: translateY(0); }
  40%  { box-shadow: 0 18px 48px rgba(227, 155, 86, 0.36); transform: translateY(-2px); }
  100% { box-shadow: 0 10px 30px rgba(227, 155, 86, 0.14); transform: translateY(0); }
}
.reveal-ready .price.is-in .price__ctas .btn--primary {
  animation: pricePulseOnce 1.8s cubic-bezier(0.22, 1, 0.36, 1) 900ms 1 both;
}

/* ---- 9. Price__num — warmer weight on Fraunces 200 --------------------- */
.price__num {
  letter-spacing: -0.028em;
  font-variation-settings: "opsz" 144; /* optical size at display scale */
  background: linear-gradient(180deg, var(--text-0) 0%, var(--text-0) 68%, rgba(242, 239, 232, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- 10. FAQ — hover affordance (left-edge accent bar) ----------------- */
.faq__item { position: relative; transition: background 180ms var(--ease); }
.faq__item::before {
  content: "";
  position: absolute;
  left: -14px; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: center;
  transition: opacity 180ms var(--ease), transform 240ms var(--ease);
}
.faq__item:hover::before,
.faq__item.is-open::before {
  opacity: 1;
  transform: scaleY(1);
}
.faq__q[aria-expanded="true"] { color: var(--text-0); }

/* ---- 11. Footer — accent-wash top + mono section labels ---------------- */
.footer {
  position: relative;
  padding-block: 88px 40px;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(227, 155, 86, 0.04) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.footer > .wrap { position: relative; z-index: 1; }
.footer h5 {
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.footer ul { gap: 10px; }
.footer ul a {
  font-size: 14px;
  color: var(--text-1);
  transition: color 180ms var(--ease);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer ul a:hover {
  color: var(--text-0);
  border-bottom-color: rgba(227, 155, 86, 0.45);
}
.footer__brand {
  transition: color 180ms var(--ease);
}
.footer__brand img {
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
  box-shadow: 0 2px 8px rgba(227, 155, 86, 0.2);
}
.footer__brand:hover img {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(227, 155, 86, 0.32);
}
.footer__bar {
  margin-top: 48px;
  padding-top: 28px;
}

/* ---- 12. Privacy diagram — draw lines with a forward stroke stagger ---- */
/* Extends existing privacy-line reveal: one line fires ~120ms after the other. */
.reveal-ready .manifesto__diagram.is-in .privacy-line:nth-of-type(2) {
  transition-delay: 520ms;
}
/* Let the NAVIBEAT center node breathe — subtle scale ease-in */
.reveal-ready .privacy-node:nth-of-type(2) {
  transform-origin: 50% 50%;
}
.reveal-ready .manifesto__diagram.is-in .privacy-node:nth-of-type(2) {
  transition-delay: 180ms; /* settles between outer nodes for rhythmic parity */
}

/* ---- 13. Apply hover tint to link-quiet + price byline on hover --------- */
.price__trial { transition: color 180ms var(--ease); }
.price__trial a { color: var(--text-1); border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 180ms var(--ease), border-color 180ms var(--ease); }
.price__trial a:hover { color: var(--accent-hi); border-bottom-color: var(--accent); }

/* ---- 14. Section rhythm enforcement ------------------------------------ */
/* Every top-level section uses --rhythm; the two that had explicit clamps
   (hero + price + platforms) keep their bespoke values. The remaining sections
   get a consistent "breath" gap that reads as a single composition. */
main > section:not(.hero):not(.price):not(.platforms) {
  padding-block: var(--rhythm);
}
/* Scoped: FAQ should feel like a chapter break, not a different section */
.faq { padding-block: calc(var(--rhythm) * 0.9); }

/* ---- 15. Plat card status tag — slow the shimmer so it reads calm ------ */
.plat__status.is-coming { animation-duration: 4.2s; }

/* ---- 16. Hero__eyebrow — subtler dot pulse ----------------------------- */
.hero__eyebrow-dot { animation-duration: 3s; }
.nav__pulse { animation-duration: 3s; }

/* ---- 17. Smooth scroll for jump-links with offset for sticky nav ------- */
html { scroll-padding-top: 72px; }

/* ---- 18. Cross-platform picker: press state + spacing ------------------ */
a.p-loz:active { transform: translateY(-1px) scale(0.99); transition: transform 0.1s var(--ease); }
.p-lozenges { gap: 16px; }

/* ---- 19. Focus ring — 2px accent, inset when on cards ------------------ */
/* The base :focus-visible rule is outset; for cards with their own border,
   an inset ring reads cleaner. */
.xcard:focus-visible,
.plat--link:focus-visible,
.f-card:focus-visible,
.p-feature:focus-visible,
a.p-loz:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 2px;
}

/* ---- 20. Prose (support/privacy) — editorial scale -------------------- */
.prose h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(44px, 5.2vw, 64px);
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 144;
}
.prose .meta { letter-spacing: 0.14em; opacity: 0.75; margin-bottom: 56px; }
.prose h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.28;
  margin: 56px 0 16px;
}
.prose p, .prose li { line-height: 1.72; }
.prose .contact-box {
  background: linear-gradient(180deg, rgba(227, 155, 86, 0.04), rgba(20, 20, 20, 0.55));
  border-color: rgba(227, 155, 86, 0.18);
  padding: 28px 30px;
  border-radius: 16px;
  margin-bottom: 24px;
}

/* ---- 21. Reduced motion — honor all additions above --------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .price.is-in .price__ctas .btn--primary { animation: none !important; }
  .btn:active, .btn--primary:active, .plat--link:active, a.p-loz:active,
  .footer__brand:hover img {
    transform: none !important;
  }
  .faq__item::before { transition: none !important; }
  .lineup__glow { animation: none !important; }
  .lineup__caption span { opacity: 1 !important; }
}

