/* Home — layout scale from apple.com/apple-vision-pro (not their assets). */

:root {
  --o2-ink: #1d1d1f;
  --o2-ink-soft: #86868b;
  --o2-gray: #6e6e73;
  --o2-paper: #f5f5f7;
  --o2-frost: rgba(250, 250, 252, 0.8);
  --o2-white: #fff;
  --o2-black: #000;
  --o2-blue: #0071e3;
  --o2-blue-hover: #0077ed;
  --o2-line: rgba(0, 0, 0, 0.16);
  /*
    Edge inset — measured vs Apple AVP “closer look” crop (~700px wide):
    Apple ~77px / 11.1% · CreatorPAD was ~28px / 4%.
    Formula: max(floor, ~11vw capped, centered 980 column).
  */
  --o2-edge: max(
    40px,
    env(safe-area-inset-left, 0px),
    min(120px, 11vw),
    calc((100vw - 980px) / 2)
  );
  --o2-edge-end: max(
    40px,
    env(safe-area-inset-right, 0px),
    min(120px, 11vw),
    calc((100vw - 980px) / 2)
  );
  --o2-gutter: var(--o2-edge);
  --o2-measure: 980px;
  --o2-wide: 1260px;
  --o2-section-y: 120px;
  --o2-section-y-sm: 88px;
  --o2-radius-lg: 28px;
  --o2-radius-md: 22px;
  --o2-radius-sm: 18px;
  --o2-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 52px;
}

body {
  margin: 0;
  color: var(--o2-ink);
  background: var(--o2-paper);
  font-family: var(--o2-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img,
video {
  max-width: 100%;
}

/* Cover the layout box: scale uniformly, crop overflow. Never stretch. */
.media-fill {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Local nav overlays hero, then sticks with frost */
.local-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 52px;
  margin-bottom: -52px;
  overflow: visible;
}

.local-nav-bg {
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 252, 0.4);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease;
}

html.is-scrolled .local-nav-bg {
  background: rgba(250, 250, 252, 0.8);
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.16);
}

html.is-on-dark .local-nav-bg {
  background: rgba(22, 22, 23, 0.72);
}

html.is-on-dark .local-title,
html.is-on-dark .btn-ghost-sm {
  color: #f5f5f7;
}

html.is-on-dark .btn-ghost-sm {
  border-color: rgba(255, 255, 255, 0.72);
}

.local-nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  padding: 0 var(--o2-edge-end) 0 var(--o2-edge);
}

.local-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
}

.local-nav-end {
  display: flex;
  align-items: center;
  gap: 22px;
}

.local-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  /* Match .btn-local / Join waitlist height */
  min-height: 24px;
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.55);
}

.local-menu-btn:hover {
  background: rgba(0, 0, 0, 0.09);
}

html.is-on-dark .local-menu-btn {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.22);
  color: #f5f5f7;
}

.local-menu-dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 4px;
}

.local-menu-dots span {
  display: block;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: currentColor;
}

.local-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.local-links a {
  padding: 5px 11px;
  border-radius: 980px;
  color: var(--o2-ink-soft);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.local-links a:hover {
  color: var(--o2-ink);
  background: rgba(0, 0, 0, 0.04);
}

.local-links a.is-current {
  color: var(--o2-ink);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.75),
    0 0.5px 1px rgba(0, 0, 0, 0.06);
}

/* Community / Support only in mobile ⋯ panel */
.local-link-extra {
  display: none;
}

html.is-on-dark .local-links a {
  color: rgba(245, 245, 247, 0.72);
}

html.is-on-dark .local-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

html.is-on-dark .local-links a.is-current {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.28),
    0 0.5px 1px rgba(0, 0, 0, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn-local {
  min-height: 24px;
  padding: 3px 11px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 12px;
}

.btn-local:hover {
  background: #000;
  opacity: 0.88;
}

/* One CTA on screen: header pill only after hero CTA leaves view.
   Waitlist sits before menu links (not trailing edge). */
.local-cta {
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-width: 0;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s,
    max-width 0.22s ease,
    padding 0.22s ease;
}

html.is-hero-cta-past .local-cta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-width: 12rem;
  padding: 3px 11px;
  transform: none;
}

.btn-ghost-sm {
  min-height: 24px;
  padding: 3px 10px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  font-size: 12px;
}

.btn-hero {
  min-height: 44px;
  padding: 11px 21px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 17px;
}

.btn-hero:hover {
  background: #000;
  opacity: 0.88;
}

.btn-hero-ghost {
  min-height: 44px;
  padding: 11px 21px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  font-size: 17px;
}

/* Hero — pinned media, next section frosts over it */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--o2-paper);
}

.hero-pin {
  position: relative;
  height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, #d8d8dc 0%, #f5f5f7 62%);
}

.hero.is-video-ready .hero-fallback {
  opacity: 0;
}

.hero-gradient {
  position: absolute;
  inset: 42% 0 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  /* Full-bleed bar — edge inset only once (do not nest inside 980) */
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--o2-edge-end) max(56px, env(safe-area-inset-bottom, 0px)) var(--o2-edge);
  color: #000;
  transition: opacity 160ms linear;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(44px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #000;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.65);
}

.hero-tagline {
  margin-top: 10px;
  max-width: 25em;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.004em;
  line-height: 1.18;
  color: #000;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.55);
}

.hero-accent-more {
  color: #0071e3;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(0, 113, 227, 0.35), 0 1px 10px rgba(255, 255, 255, 0.7);
}

.hero-swap {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  white-space: nowrap;
  vertical-align: baseline;
  color: #0071e3;
  font-weight: 700;
  font-kerning: none;
  font-variant-ligatures: none;
  text-shadow: 0 0 16px rgba(0, 113, 227, 0.35), 0 1px 10px rgba(255, 255, 255, 0.7);
}

.hero-swap-brack {
  display: inline-block;
  font-weight: 600;
  opacity: 0.55;
  transform: translateY(0.015em);
}

.hero-swap-track {
  display: inline-flex;
  align-items: baseline;
  overflow: hidden;
  padding: 0 0.14em;
  min-height: 1.2em;
}

.hero-swap-ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  flex: 0 0 auto;
  line-height: 1.2;
}

.hero-swap-g {
  display: inline-block;
  white-space: pre;
}

.hero-ai-unit {
  white-space: nowrap;
}

.hero-ai-accent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0071e3;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: baseline;
  text-shadow: 0 0 16px rgba(0, 113, 227, 0.35), 0 1px 10px rgba(255, 255, 255, 0.7);
}

.hero-ai-accent .ai-sparkle-icon {
  width: 0.88em;
  height: 0.88em;
  fill: currentColor;
  display: inline-block;
  flex-shrink: 0;
  transform: translateY(-0.06em);
}

.hero-note {
  margin: 10px 0 0;
  max-width: 36em;
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.55);
}

.hero-note a {
  color: #0071e3;
  font-weight: 600;
  text-decoration: none;
}

.hero-note a:hover {
  text-decoration: underline;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 10px;
}

.hero-award-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 980px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #1d1d1f;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1;
}

.hero-award-badge .award-icon {
  width: 16px;
  height: 16px;
  color: #c98500;
  flex-shrink: 0;
}

.hero-micro {
  margin: 0;
  max-width: 28em;
  color: rgba(245, 245, 247, 0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Foundation copy — slides over pinned hero with blur, then paper */
/* Feature rail follows hero naturally */
#features.rail {
  margin-top: 0;
  padding-top: 80px;
}

.media-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.media-ctrl {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  cursor: pointer;
}

.media-ctrl svg {
  display: block;
  margin: 10px auto;
}

/* Closer look */
.look {
  padding: 100px 0 80px;
  background: var(--o2-paper);
}

.look-head {
  max-width: var(--o2-measure);
  margin: 0 auto 48px;
  padding: 0 22px;
}

.look-head h2 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.07;
}

.look-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 22px;
}

.look-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.look-figure {
  height: 320px;
  background:
    linear-gradient(180deg, #2c2c30 0%, #111 100%);
}

.look-figure.is-a {
  background:
    radial-gradient(circle at 30% 40%, #4a5560, #1a1a1c 70%);
}

.look-figure.is-b {
  background:
    radial-gradient(circle at 70% 30%, #3d4a3a, #161616 68%);
}

.look-figure.is-c {
  background:
    radial-gradient(circle at 50% 60%, #3a3a55, #121214 70%);
}

.look-figure.is-d {
  background:
    radial-gradient(circle at 40% 20%, #5a4638, #141414 72%);
}

.look-card p {
  padding: 22px 24px 28px;
  color: var(--o2-gray);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.47;
}

/* Horizontal rails — Apple Vision Pro gallery tokens + breathing room */
.rail {
  --rail-card-w: 820px;
  --rail-card-h: 530px;
  /* Apple crop measure: gap ~30px (we had 20) */
  --rail-gap: 30px;
  --rail-inset: var(--o2-edge);
  --rail-inset-end: var(--o2-edge-end);
  --rail-radius: var(--o2-radius-lg);
  position: relative;
  z-index: 4;
  padding: var(--o2-section-y) 0 80px;
  overflow: hidden;
  background: var(--o2-white);
}

.rail-on-dark {
  background: var(--o2-white);
}

.rail-head {
  position: relative;
  margin: 0 0 56px;
  padding: 0 var(--rail-inset) 0 var(--rail-inset);
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.rail-stage-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.rail-stage-title {
  max-width: 20em;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.003em;
  line-height: 1.08349;
  color: var(--o2-ink);
  margin: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* When docked after 2s dwell */
.rail-head.is-docked .rail-stage-pill {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rail-head.is-docked .rail-stage-title {
  font-size: 44px;
}

.rail-stage-title.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.rail-lead {
  margin: 12px 0 0;
  max-width: 28em;
  color: #86868b;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.011em;
}

.rail-track {
  display: flex;
  gap: var(--rail-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-inset);
  padding: 0 var(--rail-inset-end) 4px var(--rail-inset);
  margin-bottom: 36px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.rail-card {
  flex: 0 0 var(--rail-card-w);
  width: var(--rail-card-w);
  scroll-snap-align: start;
}

.rail-figure {
  position: relative;
  width: var(--rail-card-w);
  height: var(--rail-card-h);
  overflow: hidden;
  border-radius: var(--rail-radius);
  background: #f5f5f7;
}

.rail-figure-still.is-power {
  background:
    radial-gradient(ellipse at 48% 42%, #3a4a5c 0%, #e8e8ed 62%);
}

.rail-figure-still.is-pad {
  background:
    radial-gradient(ellipse at 55% 48%, #4a5560 0%, #e8e8ed 68%);
}

.rail-card p {
  width: 85%;
  max-width: none;
  margin: 30px 0 0;
  padding: 0;
  color: #86868b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.23536;
  letter-spacing: -0.014em;
}

.rail-card p strong {
  color: var(--o2-ink);
  font-weight: 600;
}

.rail-card p strong.rail-card-title {
  display: block;
  margin-bottom: 6px;
  max-height: 32px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, max-height;
}

/* When rail docks and Stage Title takes over, gracefully hide sub-title */
.rail.is-docked .rail-card p strong.rail-card-title {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  transform: translateY(-6px);
  pointer-events: none;
  overflow: hidden;
}

.rail-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 36px;
  margin: 0;
  padding: 0 var(--rail-inset-end) 0 var(--rail-inset);
}

.rail-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rail-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d2d2d7;
  cursor: pointer;
}

.rail-dot.is-on {
  background: #1d1d1f;
}

.rail-arrows {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

.rail-paddle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 36px;
  background: rgba(210, 210, 215, 0.64);
  color: var(--o2-ink);
  cursor: pointer;
}

.rail-paddle:hover {
  background: rgba(210, 210, 215, 0.92);
}

.rail-paddle:disabled {
  opacity: 0.35;
  cursor: default;
}

.rail-paddle svg {
  width: 36px;
  height: 36px;
}

.rail-more {
  margin: 8px var(--rail-inset) 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.rail-more a {
  color: #0066cc;
  text-decoration: none;
  white-space: nowrap;
}

.rail-more a:hover {
  text-decoration: underline;
}

/* Chapter also — 2nd BGR video (Vision Pro–style overlay; media: Visuals/also_.mp4) */
.chapter-also {
  position: relative;
  margin-top: 72px;
  background: var(--o2-paper);
  color: #f5f5f7;
}

.chapter-also-pin {
  position: relative;
  height: min(92svh, 920px);
  min-height: 520px;
  overflow: hidden;
}

.chapter-also-media {
  position: absolute;
  inset: 0;
}

.chapter-also-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, #2c2c2e 0%, #0a0a0a 68%);
}

.chapter-also.is-video-ready .chapter-also-fallback {
  opacity: 0;
  transition: opacity 480ms ease;
}

.chapter-also-video {
  opacity: 0;
  transition: opacity 480ms ease;
}

.chapter-also.is-video-ready .chapter-also-video {
  opacity: 1;
}

.chapter-also-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.chapter-also-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px var(--o2-edge) 88px;
  text-align: center;
  pointer-events: none;
}

.chapter-also-kicker {
  margin: 0 0 14px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-also-title {
  margin: 0;
  max-width: 12em;
  color: #f5f5f7;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
}

.chapter-also-caption {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 38rem;
  margin: 24px auto 0;
  padding: 0;
  color: rgba(245, 245, 247, 0.82);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.45;
  pointer-events: auto;
  text-align: center;
  text-decoration: none;
  text-wrap: pretty;
}

.chapter-also-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--o2-blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  pointer-events: auto;
}

.chapter-also-explore:hover,
.chapter-also-explore:focus-visible {
  background: var(--o2-blue-hover);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 734px) {
  .chapter-also {
    margin-top: 48px;
  }

  .chapter-also-pin {
    height: min(78svh, 640px);
    min-height: 420px;
  }

  .chapter-also-kicker {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .chapter-also-title {
    font-size: clamp(28px, 8vw, 40px);
    max-width: 10em;
  }

  .chapter-also-caption {
    margin-top: 18px;
    font-size: 16px;
  }
}

@media only screen and (max-width: 1068px) {
  .rail {
    --rail-card-w: 692px;
    --rail-card-h: 446px;
    --rail-radius: var(--o2-radius-md);
    padding: 100px 0 72px;
  }

  .rail-head {
    margin-bottom: 40px;
  }

  .rail-head h2,
  .rail-stage-title {
    font-size: 40px;
    line-height: 1.1;
  }

  .rail-head.is-docked .rail-stage-title {
    font-size: 36px;
  }

  .rail-track {
    margin-bottom: 28px;
  }
}

@media only screen and (max-width: 734px) {
  .rail {
    --rail-card-w: min(280px, calc(100vw - var(--rail-inset) - var(--rail-inset-end) - 36px));
    --rail-card-h: 386px;
    --rail-gap: 20px;
    /* Keep Apple ~11% edge — do not collapse to 20px */
    --rail-inset: var(--o2-edge);
    --rail-inset-end: var(--o2-edge-end);
    --rail-radius: var(--o2-radius-sm);
    padding: 48px 0 56px;
  }

  .rail-head {
    margin-bottom: 24px;
    min-height: 80px;
  }

  .rail-stage-pill {
    font-size: 11px;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .rail-head h2,
  .rail-stage-title {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0.004em;
  }

  .rail-head.is-docked .rail-stage-title {
    font-size: 26px;
  }

  .rail-track {
    margin-bottom: 28px;
  }

  .rail-card p {
    width: 93%;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.28571;
    letter-spacing: -0.016em;
  }

  .rail-arrows {
    gap: 12px;
  }

  .rail-ui {
    padding-top: 4px;
  }
}

/* —— Post-gallery chapters (proof → stories rail → get/CTA) —— */

.chapter-proof,
.chapter-get {
  padding: var(--o2-section-y) var(--o2-gutter);
  text-align: center;
}

.chapter-proof {
  background: var(--o2-white);
}

.chapter-get {
  background: var(--o2-paper);
}

.chapter-eyebrow {
  margin-bottom: 12px;
  color: var(--o2-ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  line-height: 1.19;
}

.chapter-title {
  max-width: 16ch;
  margin: 0 auto 18px;
  font-size: clamp(36px, 5.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.08;
  text-wrap: balance;
  color: var(--o2-ink);
}

.chapter-title-wide {
  max-width: 14em;
}

.chapter-body {
  max-width: 38em;
  margin: 0 auto 48px;
  color: #86868b;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0.011em;
}

.chapter-subhead {
  max-width: 18ch;
  margin: 0 auto 28px;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.003em;
  line-height: 1.1;
  color: var(--o2-ink);
  text-wrap: balance;
}

.chapter-get .chapter-body {
  margin-bottom: 28px;
}

/* Trust / Guarantee Strip (Clean Apple style) */
.price-guarantee-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 40px);
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
}

.price-guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--o2-gray);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.price-guarantee-item svg {
  width: 18px;
  height: 18px;
  color: var(--o2-blue);
  flex-shrink: 0;
}

.price-lead {
  margin: 8px 0 20px !important;
  font-size: 15px !important;
  color: var(--o2-gray) !important;
  line-height: 1.4 !important;
}

.price-list {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  list-style: none;
  text-align: left;
}

.price-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--o2-ink);
  font-size: 14px;
  line-height: 1.4;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--o2-blue);
}

.price-once {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--o2-gray);
  vertical-align: baseline;
  margin-left: 4px;
}

.price-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.badge-trial {
  background: rgba(0, 0, 0, 0.05);
  color: var(--o2-gray);
}

.badge-standard {
  background: rgba(0, 113, 227, 0.1);
  color: var(--o2-blue);
}

.founding-note {
  max-width: 42em;
  margin: 36px auto 0;
  color: #86868b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.founding-note strong {
  color: var(--o2-ink);
  font-weight: 600;
}

/* Founder trust note — the full story lives on its own page. */
.founder-note-card {
  max-width: 460px;
  margin: 52px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.founder-note-name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--o2-ink);
}

.founder-note-role {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--o2-gray);
}

.founder-note-cta {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.founder-note-cta a {
  color: var(--o2-blue);
  text-decoration: none;
}

.founder-note-cta a:hover {
  text-decoration: underline;
}

.chapter-cta {
  max-width: 34em;
  margin: 56px auto 0;
  padding-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.chapter-cta-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.003em;
  line-height: 1.15;
  color: var(--o2-ink);
}

.chapter-cta-lead {
  margin: 0 auto 24px;
  color: #86868b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}

/* Surface moments inside the proof chapter */
.surface-moments {
  width: min(620px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
}

.surface-moment {
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.surface-moment h3 {
  margin: 0 0 6px;
  color: #1d1d1f;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.surface-moment p {
  margin: 0;
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.45;
}

.surface-foot {
  max-width: 36em;
  margin: 22px auto 0;
  color: #86868b;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.waitlist-block {
  max-width: 34em;
  margin: 0 auto;
}

.waitlist-price-link {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.waitlist-price-link a {
  color: var(--o2-blue);
  text-decoration: none;
}

.waitlist-price-link a:hover {
  text-decoration: underline;
}

/* Price cards live inside chapter-get */
.chapter-get .price-grid {
  max-width: 980px;
  margin: 0 auto;
}

.chapter-get .price-card {
  text-align: left;
}

/* Pair / use-case grid — kept for legacy; stories rail uses .rail tokens */
.pair {
  padding: var(--o2-section-y) 0 var(--o2-section-y-sm);
  background: var(--o2-white);
}

.pair-lead {
  width: min(38rem, calc(100% - var(--o2-edge) - var(--o2-edge-end)));
  max-width: 38rem;
  margin: 0 auto 48px;
  padding: 0;
  color: var(--o2-ink);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.003em;
  text-align: center;
  text-wrap: balance;
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: min(var(--o2-wide), calc(100% - var(--o2-edge) - var(--o2-edge-end)));
  max-width: var(--o2-wide);
  margin: 0 auto;
  padding: 0;
}

.pair-figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--o2-radius-lg);
  background: #f5f5f7;
}

.pair-card p {
  width: 92%;
  margin-top: 24px;
  color: #86868b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.23536;
  letter-spacing: -0.014em;
}

.pair-card p strong {
  color: var(--o2-ink);
  font-weight: 600;
}

/* Slightly tighter top when a second gallery follows “closer look” */
.rail + .rail {
  padding-top: 72px;
}

/* Dark chapters — unused in compact layout (kept off) */
.chapter {
  display: none;
}

.chapter-media.is-failed,
.rail-figure video.is-failed,
.hero-video.is-failed {
  opacity: 0;
  pointer-events: none;
}

/* Technology (legacy grid — unused) */
.tech {
  display: none;
}

/* Price */
.price {
  padding: var(--o2-section-y) var(--o2-gutter);
  background: var(--o2-paper);
  text-align: center;
}

.price h2 {
  margin-bottom: 56px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.07;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 48px 40px;
  border-radius: 24px;
  background: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card.is-featured {
  border: none;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  position: relative;
}

.price-card .label {
  color: var(--o2-ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.price-card .price-amount {
  display: block;
  margin: 8px 0 12px;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--o2-ink);
}

.price-list strong {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  color: var(--o2-ink) !important;
  display: inline !important;
  margin: 0 !important;
}

.price-card .price-cta {
  margin-top: auto;
  padding-top: 28px;
}

.price-card .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 20px;
}

.price-card p {
  color: #86868b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
}

/* Close */
.close {
  padding: var(--o2-section-y) var(--o2-gutter) 96px;
  background: var(--o2-paper);
  text-align: center;
}

.close h2 {
  max-width: 16ch;
  margin: 0 auto 18px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.005em;
}

.close-lead {
  max-width: 28em;
  margin: 0 auto 32px;
  color: #86868b;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.381;
  letter-spacing: 0.011em;
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-label {
  display: block;
  margin: 0 0 8px;
  color: var(--o2-ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.waitlist input {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--o2-line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 17px;
}

.waitlist input:focus-visible,
.waitlist .btn:focus-visible,
.rail-paddle:focus-visible,
.rail-dot:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.45);
  outline-offset: 3px;
}

.waitlist input[aria-invalid="true"] {
  border-color: #d70015;
}

.waitlist .btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.waitlist-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.waitlist-note {
  margin-top: 14px;
  color: var(--o2-gray);
  font-size: 12px;
}

.waitlist-note[data-state="error"] {
  color: #b42318;
}

.waitlist-note[data-state="success"] {
  color: #18753c;
}

/* Footer — tokens; layout owned by site-chrome.css */
.footer {
  border-top: 1px solid var(--o2-line);
  background: var(--o2-paper);
  color: var(--o2-gray);
  font-size: 12px;
}

.footer-brand {
  color: var(--o2-ink);
}

.footer-soon {
  opacity: 0.55;
  cursor: default;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer a:hover {
  text-decoration: underline;
}

/* More header links (Home…Download) — collapse earlier than old dig */
@media (max-width: 1100px) {
  .local-nav {
    height: 48px;
    margin-bottom: -48px;
  }

  body.site-page .local-nav {
    margin-bottom: 0;
  }

  .local-nav-inner {
    padding: 0 var(--o2-edge-end) 0 var(--o2-edge);
  }

  .local-nav-end {
    gap: 12px;
  }

  .local-title {
    font-size: 19px;
  }

  .local-menu-btn {
    display: inline-flex;
  }

  .local-links {
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    left: 12px;
    z-index: 2;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    --menu-pad: 10px;
    --menu-item-radius: 14px;
    padding: var(--menu-pad);
    border-radius: calc(var(--menu-item-radius) + var(--menu-pad));
    background: rgba(250, 250, 252, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    box-shadow:
      0 10px 36px rgba(0, 0, 0, 0.14),
      inset 0 0.5px 0 rgba(255, 255, 255, 0.7);
  }

  html.is-local-menu-open .local-links {
    display: flex;
  }

  .local-link-extra {
    display: block;
  }

  .local-links a {
    padding: 12px 14px;
    border-radius: var(--menu-item-radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--o2-ink);
  }

  .local-links a.is-current,
  .local-links a:hover {
    background: rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.55);
  }

  html.is-on-dark .local-links {
    background: rgba(28, 28, 30, 0.94);
    box-shadow:
      0 10px 36px rgba(0, 0, 0, 0.45),
      inset 0 0.5px 0 rgba(255, 255, 255, 0.14);
  }

  html.is-on-dark .local-links a {
    color: #f5f5f7;
  }

  html.is-on-dark .local-links a.is-current {
    background: rgba(255, 255, 255, 0.14);
  }

  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero-pin {
    position: relative;
    top: auto;
    height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .hero-gradient {
    inset: 36% 0 0;
    background: linear-gradient(
      0deg,
      rgba(245, 245, 247, 0.88) 0%,
      rgba(245, 245, 247, 0.4) 48%,
      rgba(245, 245, 247, 0) 100%
    );
  }

  .hero-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    gap: 14px;
    padding: 0 var(--o2-edge) max(32px, env(safe-area-inset-bottom, 0px));
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    width: 100%;
    font-size: clamp(28px, 6.5vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    text-align: center;
  }

  .hero-tagline {
    margin: 8px auto 0;
    font-size: clamp(16px, 2.2vw, 19px);
    max-width: min(100%, 28em);
    width: 100%;
    line-height: 1.28;
    text-align: center;
    text-wrap: balance;
  }

  .hero-note {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: auto;
    padding-bottom: 0;
  }

  .btn-hero,
  .btn-hero-ghost {
    min-height: 40px;
    padding: 10px 22px;
    font-size: 15px;
  }

  #features.rail {
    padding-top: 64px;
  }

  .chapter-proof,
  .chapter-get {
    padding: 72px var(--o2-edge);
  }

  .chapter-eyebrow {
    font-size: 19px;
  }

  .chapter-title {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .chapter-body {
    margin-bottom: 36px;
    font-size: 17px;
  }

  .chapter-subhead {
    margin-bottom: 22px;
    font-size: 28px;
  }

  .chapter-cta {
    margin-top: 40px;
    padding-top: 36px;
  }

  .founder-note-card {
    max-width: none;
    margin-top: 36px;
    padding-top: 24px;
  }

  .chapter-cta-title {
    font-size: 24px;
  }

  .pair {
    padding: 80px 0 72px;
  }

  .pair-grid,
  .price-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .offer-pillars {
    grid-template-columns: 1fr;
  }

  .hero-micro {
    text-align: center;
  }

  .pair-lead {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .pair-figure {
    border-radius: var(--o2-radius-sm);
  }

  .pair-card p {
    width: 100%;
    margin-top: 18px;
    font-size: 14px;
  }

  .price-card {
    padding: 40px 28px;
    border-radius: var(--o2-radius-sm);
    text-align: left;
  }

  .price-card strong {
    font-size: 40px;
  }
}



@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero {
    height: 100svh;
  }

  .hero-pin {
    position: relative;
    top: auto;
  }

  #features.rail {
    margin-top: 0;
  }

  .local-cta {
    transition: none;
  }
}
