/* Shared Midnight + Ice site styles. */

/* ─── tokens ───────────────────────────────────────────────────────── */
    :root {
      --bg:      oklch(0.16 0.025 250);
      --surface: oklch(0.205 0.025 250);
      --fg:      oklch(0.96 0.012 95);
      --muted:   oklch(0.72 0.025 250);
      --border:  oklch(0.31 0.025 250);
      --accent:  oklch(0.78 0.14 230);

      /* derived — do not change */
      --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);
      --fg-soft:     color-mix(in oklch, var(--fg) 6%, transparent);

      /* type — display = serif (default), body = sans, mono for numerics */
      --font-display: 'Iowan Old Style', 'Palatino Linotype', 'Palatino', Georgia, serif;
      --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
      --font-mono:    ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

      /* scale — clamp() so it works at 1280, 1440, 1920 without media queries */
      --fs-h1: clamp(58px, 7vw, 96px);
      --fs-h2: clamp(34px, 4.4vw, 58px);
      --fs-h3: 22px;
      --fs-lead: 19px;
      --fs-body: 16px;
      --fs-meta: 13px;

      /* spacing — 8-point grid */
      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 20px;
      --gap-lg: 32px;
      --gap-xl: 56px;
      --gap-2xl: 96px;
      --container: 1120px;
      --gutter: 32px;

      --radius: 10px;
      --radius-lg: 16px;
    }

    /* ─── reset & base ──────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.55;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; }
    a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
    p { text-wrap: pretty; }
    h1, h2, h3, h4 { text-wrap: balance; }

    /* ─── accessibility helpers ─────────────────────────────────────── */
    .skip-link {
      position: fixed;
      z-index: 100;
      top: 12px;
      left: 12px;
      padding: 10px 14px;
      border: 1px solid var(--accent);
      border-radius: var(--radius);
      background: var(--surface);
      color: var(--fg);
      transform: translateY(-160%);
      transition: transform 160ms ease;
    }
    .skip-link:focus { transform: translateY(0); }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* ─── layout primitives ─────────────────────────────────────────────────────────── */
    .container {
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }
    .section {
      padding-block: clamp(48px, 8vw, var(--gap-2xl));
    }
    .section + .section { border-top: 1px solid var(--border); }
    .row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }

    /* ─── type ──────────────────────────────────────────────────────── */
    h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
    h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
    h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; margin: 0; }
    .lead   { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
    .eyebrow {
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0 0 var(--gap-md);
    }
    .meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }

    /* ─── chrome: nav + footer ──────────────────────────────────────── */
    .topnav {
      position: sticky; top: 0; z-index: 10;
      background: color-mix(in oklch, var(--bg) 92%, transparent);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .topnav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
    .topnav .logo { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
    .topnav nav { display: flex; gap: var(--gap-lg); }
    .topnav nav a { font-size: 14px; color: var(--muted); }
    .topnav nav a:hover { color: var(--fg); }
    .pagefoot { padding-block: var(--gap-xl); color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
    .pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }

    /* ─── buttons ───────────────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 11px 20px;
      border-radius: var(--radius);
      border: 1px solid transparent;
      font-size: 15px;
      font-weight: 500;
      letter-spacing: -0.005em;
      transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
    }
    .btn:active { transform: translateY(1px); }
    .btn-primary { background: var(--accent); color: var(--surface); border-color: var(--accent); }
    .btn-primary:hover { background: color-mix(in oklch, var(--accent) 88%, black); }
    .btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
    .btn-secondary:hover { border-color: var(--fg); }

    /* hero layout primitives */
    .hero          { padding-block: clamp(80px, 12vw, 160px); }
    .hero h1       { margin-bottom: var(--gap-md); }
    .hero .lead    { margin-bottom: var(--gap-lg); }
    .hero-cta      { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; }
    .hero-split    { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-2xl); align-items: center; }
    @media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; } }

    /* ─── Midnight + Ice refresh ──────────────────────────────────── */
    .topnav { background: color-mix(in oklch, var(--bg) 90%, transparent); }
    .topnav-inner { min-height: 74px; padding-block: 10px; }
    .topnav .logo { color: var(--fg); font-size: 18px; }
    .topnav nav { align-items: center; gap: 26px; }
    .topnav nav a { color: var(--muted); font-size: 13px; }
    .topnav nav a:hover { color: var(--fg); }
    .topnav nav a[aria-current="page"], .topnav nav a[aria-current="true"] { color: var(--accent); }
    .refresh-brand { display: inline-flex; align-items: center; gap: 11px; }
    .refresh-mark {
      display: block; flex: 0 0 34px; width: 34px; height: 34px;
    }
    .nav-support { padding: 8px 13px; color: var(--fg) !important; border-color: var(--border); }
    .nav-support:hover { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 14%, transparent); }
    .menu-toggle { display: none; }
    .hero-refresh { min-height: 690px; padding-block: 86px 110px; }
    .hero-refresh .hero-split { gap: clamp(48px, 7vw, 104px); }
    .hero-refresh .eyebrow { margin-bottom: 23px; color: var(--muted); font-size: 12px; line-height: 1.4; }
    .hero-refresh h1 { max-width: 9ch; line-height: 0.98; letter-spacing: -0.045em; }
    .hero-refresh h1 span { display: block; }
    .hero-refresh .lead { max-width: 31ch; margin-top: 28px; color: var(--muted); font-size: 18px; line-height: 1.6; }
    .hero-refresh .hero-cta { margin-top: 34px; }
    .hero-refresh .btn-primary { min-height: 48px; padding-inline: 22px; }
    .hero-refresh .btn-secondary { color: var(--fg); border-color: var(--border); }
    .hero-refresh .btn-secondary:hover { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 10%, transparent); }
    .hero-meta { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 48px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.045em; line-height: 1.5; text-transform: uppercase; }
    .hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
    .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
    .statement-refresh { padding-block: 52px; }
    .statement-refresh h2 { max-width: 20ch; line-height: 1.02; letter-spacing: -0.04em; }
    .detail-refresh { padding-block: 112px; }
    .detail-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 9vw, 132px); align-items: start; }
    .detail-grid h2 { max-width: 12ch; line-height: 1.02; letter-spacing: -0.04em; }
    .detail-grid .eyebrow, .cta-refresh .eyebrow { color: var(--muted); }
    .detail-grid > div > p { max-width: 36ch; margin: 22px 0 0; color: var(--muted); line-height: 1.7; }
    .detail-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
    .detail-list li { padding: 22px 0; border-bottom: 1px solid var(--border); }
    .detail-list strong { font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: -0.025em; }
    .detail-list p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
    .cta-refresh { padding-block: 86px 110px; border-top: 1px solid var(--border); }
    .cta-refresh h2 { max-width: 16ch; line-height: 1.02; letter-spacing: -0.04em; }
    .cta-refresh .lead { margin-top: 20px; font-size: 17px; }
    .cta-refresh .btn { margin-top: 28px; }
    .cta-refresh .hero-cta { margin-top: 28px; }
    .cta-refresh .hero-cta .btn { margin-top: 0; }
    .pagefoot { background: color-mix(in oklch, var(--bg) 82%, black); }
    .pagefoot .meta { font-size: 12px; line-height: 1.45; }
    .pagefoot a:hover { color: var(--accent); }
    @media (max-width: 920px) {
      .hero-refresh { min-height: 0; padding-block: 72px 88px; }
      .hero-refresh h1 { max-width: 12ch; }
      .detail-grid { grid-template-columns: 1fr; }
    }
    /* Five header links need more room than the old three, so the collapsed menu starts at 820px. */
    @media (max-width: 820px) {
      .topnav-inner { position: relative; }
      .topnav nav { position: absolute; top: 63px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 42px color-mix(in oklch, black 42%, transparent); }
      .topnav nav.is-open { display: flex; }
      .topnav nav a { padding: 11px 8px; }
      .nav-support { justify-content: center; margin-top: 4px; }
      .menu-toggle { display: grid; width: 44px; height: 44px; place-items: center; padding: 9px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--fg); }
      .menu-toggle > span:not(.sr-only) { display: block; width: 20px; height: 1px; background: currentColor; }
      .menu-toggle > span:not(.sr-only) + span:not(.sr-only) { margin-top: 6px; }
    }
    @media (max-width: 700px) {
      .hero-refresh .hero-split { gap: 56px; }
      .hero-refresh h1 { font-size: clamp(56px, 16vw, 84px); }
      .hero-refresh .lead { font-size: 17px; }
      .detail-refresh { padding-block: 82px; }
      .cta-refresh { padding-block: 72px 86px; }
    }

    .page-hero-refresh { padding-block: 86px 78px; }
    .page-hero-refresh h1 { max-width: 12ch; line-height: 1.01; letter-spacing: -0.045em; }
    .page-hero-refresh .lead { max-width: 38ch; margin-top: 24px; }
    .collection-refresh { padding-block: 44px 112px; }
    .collection-heading { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: baseline; margin-bottom: 28px; }
    .collection-heading h2 { line-height: 1.03; letter-spacing: -0.04em; }
    .apps-grid-refresh { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
    .app-card-refresh { position: relative; min-height: 320px; overflow: hidden; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--fg); }
    .app-card-featured-refresh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
    .app-card-featured-refresh:hover { border-color: color-mix(in oklch, var(--accent) 62%, var(--border)); background: color-mix(in oklch, var(--surface) 90%, var(--accent)); transform: translateY(-2px); }
    .app-card-refresh h3 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); font-weight: 400; letter-spacing: -0.06em; line-height: 0.95; }
    .app-card-copy-refresh p { max-width: 36ch; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
    .app-card-link-refresh { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; border-bottom: 1px solid var(--border); color: var(--fg); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; transition: border-color 180ms ease, gap 180ms ease; }
    .app-card-featured-refresh:hover .app-card-link-refresh { gap: 13px; border-color: var(--accent); }
    .app-card-icon-refresh { flex-shrink: 0; width: 82px; height: 82px; border-radius: 19px; }
    .app-card-status-refresh { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; line-height: 1.3; text-transform: uppercase; }
    .app-card-status-refresh span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
    .page-hero-refresh + .section { border-top: 1px solid var(--border); }
    .privacy-directory-refresh { padding-block: 44px 112px; }
    .privacy-directory-heading { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: baseline; margin-bottom: 28px; }
    .privacy-directory-heading h2 { line-height: 1.03; letter-spacing: -0.04em; }
    .privacy-directory-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
    .privacy-directory-entry { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--border); }
    .privacy-directory-entry h3 { margin: 0; font-family: var(--font-display); font-size: 25px; font-weight: 400; letter-spacing: -0.025em; }
    .privacy-directory-entry h3 a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; }
    .privacy-directory-entry h3 a:hover { color: var(--accent); text-decoration-color: var(--accent); }
    .privacy-directory-entry p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; }
    .privacy-directory-status { justify-self: end; color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
    @media (max-width: 700px) {
      .page-hero-refresh { padding-block: 72px 62px; }
      .collection-heading { grid-template-columns: 1fr; gap: 12px; }
      .apps-grid-refresh { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
      .app-card-refresh { min-height: 280px; padding: 28px 24px; border-radius: 12px; }
      .app-card-featured-refresh { gap: 16px; }
      .app-card-copy-refresh p { font-size: 15px; }
      .privacy-directory-heading { grid-template-columns: 1fr; gap: 12px; }
      .privacy-directory-entry { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
      .privacy-directory-status { grid-column: 2; justify-self: start; margin-top: 4px; }
      .app-card-icon-refresh { width: 72px; height: 72px; }
    }

    .about-story-refresh { padding-block: 96px 116px; }
    .about-story-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(48px, 9vw, 132px); align-items: start; }
    .about-story-grid h1 { max-width: 10ch; line-height: 1.01; letter-spacing: -0.045em; }
    .about-story-copy { max-width: 49ch; padding-top: 13px; }
    .about-story-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
    .about-story-copy p + p { margin-top: 24px; }
    .about-story-copy .about-story-intro { color: var(--fg); font-size: clamp(20px, 2vw, 25px); line-height: 1.55; }
    .about-story-copy a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; }
    .about-story-copy a:hover { color: var(--accent); text-decoration-color: var(--accent); }
    .team-refresh { padding-block: 84px 104px; }
    .team-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(48px, 9vw, 132px); align-items: start; }
    .team-grid .eyebrow { color: var(--muted); }
    .team-grid h2 { max-width: 8ch; line-height: 1.02; letter-spacing: -0.04em; }
    .team-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
    .team-list li { padding: 24px 0 25px; border-bottom: 1px solid var(--border); }
    .team-list h3 { font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 29px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.18; }
    .team-list p { max-width: 52ch; margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
    @media (max-width: 920px) {
      .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
      .about-story-copy { padding-top: 0; }
      .team-grid { grid-template-columns: 1fr; gap: 40px; }
    }
    @media (max-width: 700px) {
      .about-story-refresh { padding-block: 72px 82px; }
      .about-story-grid { gap: 32px; }
      .about-story-copy p { font-size: 16px; line-height: 1.7; }
      .about-story-copy .about-story-intro { font-size: 19px; }
      .team-refresh { padding-block: 72px 82px; }
      .team-grid { gap: 32px; }
      .team-list li { padding-block: 21px; }
      .team-list h3 { font-size: 22px; }
      .team-list p { font-size: 15px; }
    }

    .page-hero-refresh { padding-block: 86px 68px; }
    .page-hero-refresh .lead { max-width: 48ch; }
    .vr-player-privacy h1 { overflow-wrap: anywhere; }
    .page-hero-refresh .support-intro { margin-top: 24px; margin-bottom: 0; }
    .page-hero-refresh .support-intro + .support-intro { margin-top: 16px; }
    .support-direct-contact { margin-top: 52px; }
    .support-choice-label { font-size: 14px; letter-spacing: 0.1em; }
    .support-direct-label { margin-bottom: 16px; color: var(--muted); }
    .support-email-or { margin: 40px 0 14px; color: var(--muted); }
    .support-email-cta { display: flex; width: fit-content; margin-top: 0; }
    .support-direct-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
    .contact-email {
      display: inline-block;
      max-width: 100%;
      overflow-wrap: anywhere;
      color: var(--fg);
      font-family: var(--font-display);
      font-size: clamp(24px, 3vw, 35px);
      line-height: 1.16;
      text-decoration-line: underline;
      text-decoration-color: var(--border);
      text-decoration-thickness: 1px;
      text-underline-offset: 8px;
      transition: color 180ms ease, text-decoration-color 180ms ease;
    }
    .contact-email:hover { color: var(--accent); text-decoration-color: var(--accent); }
    .support-copy-email {
      min-height: 48px;
    }
    .support-copy-email:active { transform: translateY(1px); }
    .legal-refresh { padding-block: 44px 112px; }
    .legal-layout { max-width: 800px; }
    .legal-copy { border-top: 1px solid var(--border); }
    .legal-copy section { padding: 25px 0; border-bottom: 1px solid var(--border); }
    .legal-copy h2 { font-family: var(--font-body); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
    .legal-copy p { margin: 11px 0 0; color: var(--muted); line-height: 1.75; }
    .legal-copy a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
    .legal-copy a:hover { color: var(--accent); text-decoration-color: var(--accent); }
    .legal-summary { max-width: 900px; margin-bottom: 48px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--border); border-left: 3px solid var(--accent); background: color-mix(in oklch, var(--surface) 72%, transparent); }
    .legal-summary p { margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
    .legal-summary strong { display: block; max-width: 26ch; margin-top: 10px; overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(30px, 4vw, 50px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.04; }
    @media (max-width: 700px) {
      .support-direct-contact { margin-top: 42px; }
      .support-direct-row { align-items: flex-start; flex-direction: column; gap: 17px; }
      .support-copy-email { width: fit-content; }
    }

    .not-found-refresh { min-height: calc(100vh - 160px); display: grid; place-items: center; text-align: center; }
    .not-found-refresh .container { max-width: 760px; }
    .not-found-refresh h1 { max-width: 12ch; margin-inline: auto; line-height: 1.01; letter-spacing: -0.045em; }
    .not-found-refresh .lead { max-width: 38ch; margin: 24px auto 0; }
    .not-found-refresh .btn { margin-top: 30px; }

    /* ─── ActuallyWorks VR Player 360 Mac ─────────────────────────── */
    .vr-player-hero .hero-split { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
    .vr-player-hero .hero-split > * { min-width: 0; }
    .vr-player-hero h1 { max-width: 16ch; font-size: clamp(50px, 4.6vw, 66px); letter-spacing: -0.05em; overflow-wrap: anywhere; }
    .vr-player-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
    .vr-player-lockup .eyebrow { margin: 0; }
    .vr-player-icon-small { flex-shrink: 0; width: 64px; height: 64px; border-radius: 23%; box-shadow: 0 10px 24px color-mix(in oklch, black 40%, transparent); }
    .vr-player-hero-shot { margin: 0; }
    .vr-player-hero-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 24px 60px color-mix(in oklch, black 45%, transparent); }
    /* Large framed app icon. Kept as a reusable component; currently used in the release section. */
    .vr-player-icon-panel {
      display: grid;
      min-height: 420px;
      place-items: center;
      align-content: center;
      padding: 54px;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 16px;
      background: color-mix(in oklch, var(--surface) 88%, black);
      box-shadow: 0 24px 60px color-mix(in oklch, black 45%, transparent);
    }
    .vr-player-icon-frame {
      width: min(68%, 280px);
      aspect-ratio: 1;
      overflow: hidden;
      border: 1px solid color-mix(in oklch, var(--accent) 42%, var(--border));
      border-radius: 23%;
      background: var(--bg);
      box-shadow: 0 20px 42px color-mix(in oklch, black 48%, transparent);
    }
    .vr-player-icon-frame img { width: 100%; height: 100%; object-fit: cover; }
    .vr-player-icon-caption { margin: 27px 0 0; color: var(--fg); font-family: var(--font-display); font-size: 22px; letter-spacing: -0.025em; line-height: 1.25; text-align: center; }

    .vr-player-gallery { padding-block: 96px 112px; }
    .vr-player-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; margin-top: 36px; }
    .vr-player-shot { min-width: 0; margin: 0; }
    .vr-player-shot-featured { grid-column: 1 / -1; }
    .vr-player-shot picture { display: block; }
    .vr-player-shot img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 18px 42px color-mix(in oklch, black 35%, transparent); }
    .vr-player-shot figcaption { padding-top: 18px; }
    .vr-player-shot figcaption strong { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.18; }
    .vr-player-shot figcaption p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

    .vr-player-copy { padding-block: 96px 112px; border-top: 1px solid var(--border); }
    .vr-player-copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 8vw, 112px); align-items: start; }
    .vr-player-copy-block { min-width: 0; }
    .vr-player-copy-block + .vr-player-copy-block { padding-left: clamp(32px, 5vw, 72px); border-left: 1px solid var(--border); }
    .vr-player-copy .eyebrow { color: var(--muted); }
    .vr-player-copy h2 { max-width: 10ch; line-height: 1.02; letter-spacing: -0.04em; }
    .vr-player-copy-block > p:last-child { max-width: 42ch; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

    .vr-player-release { border-top: 1px solid var(--border); }
    .vr-player-release .lead { max-width: 44ch; }
    .vr-player-release-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
    .vr-player-release-links .btn { margin-top: 0; }
    .faq-group { padding-block: 72px; border-top: 1px solid var(--border); }
    .faq-list { border-top: 1px solid var(--border); }
    .faq-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
    .faq-item h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: -0.025em; line-height: 1.25; }
    .faq-item p, .faq-item ul, .faq-item ol { max-width: 62ch; margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
    .faq-item ul, .faq-item ol { padding-left: 1.2em; }
    .faq-item li + li { margin-top: 6px; }
    .faq-item ol + p, .faq-item ul + p { margin-top: 18px; }
    .faq-item strong { color: var(--fg); font-weight: 500; }
    .faq-item a, .support-inline-link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
    .faq-item a:hover, .support-inline-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
    .vr-player-release-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
    .vr-player-release-grid > * { min-width: 0; }

    @media (max-width: 920px) {
      .vr-player-hero .hero-split { grid-template-columns: minmax(0, 1fr); }
      .vr-player-release-grid { grid-template-columns: 1fr; }
      .vr-player-icon-panel { min-height: 340px; }
      .vr-player-copy-grid { grid-template-columns: 1fr; gap: 40px; }
      .vr-player-copy-block + .vr-player-copy-block { padding-top: 40px; padding-left: 0; border-top: 1px solid var(--border); border-left: 0; }
    }

    @media (max-width: 700px) {
      .vr-player-hero h1 { max-width: 100%; font-size: clamp(42px, 11.5vw, 74px); }
      .vr-player-icon-panel { min-height: 0; padding: 40px 24px; }
      .vr-player-icon-frame { width: min(52vw, 200px); }
      .vr-player-icon-small { width: 52px; height: 52px; }
      .vr-player-gallery { padding-block: 72px 82px; }
      .vr-player-gallery-grid { grid-template-columns: 1fr; gap: 34px; }
      .vr-player-shot-featured { grid-column: auto; }
      .vr-player-shot figcaption strong { font-size: 22px; }
      .vr-player-copy { padding-block: 72px 82px; }
      .vr-player-copy-block > p:last-child { font-size: 16px; line-height: 1.7; }
      .vr-player-release-links { align-items: flex-start; flex-direction: column; }
    }

    .legal-copy ol, .legal-copy ul { margin: 11px 0 0; padding-left: 22px; color: var(--muted); line-height: 1.75; }
    .legal-copy ul li + li { margin-top: 8px; }
    .legal-copy li strong { color: var(--fg); font-weight: 600; }

    /* ─── Computer Reads Pretty product page ──────────────────────── */
    /* clip, not hidden: the demo glow bleeds past the container but must not widen the page. */
    .crp-hero { padding-block: 86px 104px; overflow-x: clip; }
    /* Flex column so the lockup (icon + tagline), which comes after the title in the HTML for reading order,
       still shows above it. */
    .crp-hero-copy { max-width: 760px; display: flex; flex-direction: column; }
    .crp-lockup { order: -1; display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
    .crp-lockup .eyebrow { margin: 0; color: var(--muted); }
    .crp-icon-small { flex-shrink: 0; width: 64px; height: 64px; border-radius: 23%; box-shadow: 0 10px 24px color-mix(in oklch, black 40%, transparent); }
    .crp-hero h1 { max-width: 11ch; line-height: 0.98; letter-spacing: -0.045em; }
    /* Matches the app's player title, which colors "Reads" with macOS systemBlue (dark-appearance value). */
    .crp-title-accent { color: #0a84ff; }
    .crp-hero .lead { max-width: 44ch; margin: 26px 0 0; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
    .crp-cta { margin-top: 34px; }
    .crp-cta .btn { min-height: 48px; padding-inline: 22px; }
    .crp-cta .btn-secondary:hover { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 10%, transparent); }
    .crp-hero-meta { margin-top: 34px; }

    /* Demo video: a still cover with a play button; script.js swaps in the video on click. */
    .crp-demo { position: relative; margin: clamp(48px, 7vw, 76px) 0 0; }
    .crp-demo::before {
      content: "";
      position: absolute;
      inset: -12% -6% auto;
      z-index: -1;
      height: 90%;
      background: radial-gradient(closest-side, color-mix(in oklch, var(--accent) 16%, transparent), transparent);
      filter: blur(30px);
      pointer-events: none;
    }
    .crp-demo-cover, .crp-demo-video {
      position: relative;
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: var(--surface);
      box-shadow: 0 24px 60px color-mix(in oklch, black 45%, transparent);
    }
    .crp-demo-cover picture, .crp-demo-cover img { width: 100%; height: 100%; }
    .crp-demo-cover img { object-fit: cover; transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease; }
    .crp-demo-cover:hover img { transform: scale(1.012); filter: brightness(0.92); }
    .crp-demo-cover:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
    .crp-demo-play {
      position: absolute;
      top: 50%;
      left: 50%;
      display: grid;
      width: 88px;
      height: 88px;
      place-items: center;
      padding-left: 5px;
      border-radius: 50%;
      background: var(--accent);
      color: var(--surface);
      box-shadow: 0 0 0 10px color-mix(in oklch, var(--accent) 22%, transparent), 0 18px 42px color-mix(in oklch, black 45%, transparent);
      transform: translate(-50%, -50%);
      transition: transform 200ms ease, box-shadow 200ms ease;
    }
    .crp-demo-cover:hover .crp-demo-play, .crp-demo-cover:focus-visible .crp-demo-play {
      transform: translate(-50%, -50%) scale(1.06);
      box-shadow: 0 0 0 16px color-mix(in oklch, var(--accent) 18%, transparent), 0 18px 42px color-mix(in oklch, black 45%, transparent);
    }
    .crp-demo-label {
      position: absolute;
      bottom: 18px;
      left: 18px;
      display: inline-flex;
      align-items: baseline;
      gap: 10px;
      padding: 9px 14px;
      border: 1px solid color-mix(in oklch, var(--fg) 14%, transparent);
      border-radius: var(--radius);
      background: color-mix(in oklch, var(--bg) 78%, transparent);
      backdrop-filter: blur(10px);
      color: var(--fg);
      font-size: 14px;
      font-weight: 500;
    }
    .crp-demo-length { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
    .crp-demo-video { height: auto; background: black; }

    /* Shared feature-section pieces */
    .crp-feature { padding-block: clamp(80px, 9vw, 112px); }
    .crp-feature .eyebrow { color: var(--muted); }
    .crp-feature h2 { line-height: 1.02; letter-spacing: -0.04em; }
    .crp-feature .detail-grid h2 { max-width: 13ch; }
    .crp-feature .detail-list strong { display: block; }
    .crp-shot { min-width: 0; margin: 0; }
    .crp-shot picture { display: block; }
    .crp-shot img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 18px 42px color-mix(in oklch, black 35%, transparent); }
    .crp-shot figcaption { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
    .crp-shot-wide { margin-top: clamp(48px, 6vw, 72px); }
    kbd {
      display: inline-block;
      padding: 1px 7px;
      border: 1px solid var(--border);
      border-bottom-width: 2px;
      border-radius: 6px;
      background: var(--fg-soft);
      color: var(--fg);
      font-family: var(--font-mono);
      font-size: 0.86em;
      line-height: 1.5;
      white-space: nowrap;
    }

    .crp-split { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
    .crp-split-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); }
    .crp-split-copy { min-width: 0; }
    .crp-split-copy h2 { max-width: 14ch; }
    .crp-split-copy > p:not(.eyebrow) { max-width: 44ch; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
    .crp-split-copy > p:not(.eyebrow) + p { margin-top: 14px; }
    .crp-facts { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
    .crp-facts li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); color: var(--fg); font-size: 15px; }
    .crp-facts li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--muted); }

    .crp-section-heading { max-width: 640px; }
    .crp-section-heading h2 { max-width: 16ch; }
    .crp-section-heading > p:not(.eyebrow) { margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
    .crp-size-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 44px; }
    .crp-size { min-width: 0; margin: 0; }
    .crp-size-well {
      display: grid;
      aspect-ratio: 4 / 3;
      place-items: center;
      padding: clamp(16px, 2.4vw, 28px);
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: radial-gradient(120% 90% at 50% 0%, color-mix(in oklch, var(--surface) 80%, var(--accent)) 0%, var(--surface) 55%, color-mix(in oklch, var(--surface) 70%, black) 100%);
    }
    .crp-size-well img { width: auto; max-width: 100%; max-height: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 30px color-mix(in oklch, black 40%, transparent); }
    .crp-size figcaption { padding-top: 18px; }
    .crp-size figcaption strong { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.2; }
    .crp-size figcaption p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

    .crp-shot-themes img { max-width: 560px; margin-inline: auto; }
    .crp-stats { display: grid; margin: 0; border-top: 1px solid var(--border); }
    .crp-stats > div { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--border); }
    .crp-stats dt { font-family: var(--font-display); font-size: clamp(48px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.04em; color: var(--fg); }
    .crp-stats dd { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

    .crp-faq-list { max-width: 820px; margin-top: 40px; border-top: 1px solid var(--border); }
    .crp-faq-item { border-bottom: 1px solid var(--border); }
    .crp-faq-item summary { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 20px 0; color: var(--fg); font-family: var(--font-display); font-size: clamp(19px, 2vw, 22px); letter-spacing: -0.02em; line-height: 1.3; list-style: none; cursor: pointer; }
    .crp-faq-item summary::-webkit-details-marker { display: none; }
    .crp-faq-item summary::after { content: "+"; flex: none; color: var(--muted); font-family: var(--font-mono); font-size: 18px; line-height: 1; transition: transform 160ms ease, color 160ms ease; }
    .crp-faq-item[open] summary::after { transform: rotate(45deg); }
    .crp-faq-item summary:hover::after { color: var(--accent); }
    .crp-faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
    .crp-faq-item p { max-width: 62ch; margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
    .crp-guides { max-width: 820px; margin: 28px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
    .crp-guides-label { margin-right: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
    .crp-compare .crp-section-heading { max-width: 720px; }
    .crp-compare .crp-section-heading h2 { max-width: 20ch; }
    .crp-compare-table { width: 100%; margin-top: 44px; border-collapse: collapse; border-top: 1px solid var(--border); text-align: left; }
    .crp-compare-table th, .crp-compare-table td { padding: 15px 20px 15px 0; border-bottom: 1px solid var(--border); font-size: 16px; line-height: 1.5; vertical-align: top; }
    .crp-compare-table thead th { padding-block: 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; line-height: 1.4; text-transform: uppercase; color: var(--muted); }
    .crp-compare-table thead th:nth-child(2) { color: var(--fg); }
    .crp-compare-table tbody th { width: 42%; font-weight: 400; color: var(--fg); }
    .crp-compare-table td { color: var(--muted); }
    .crp-compare-table td:nth-child(2) { color: var(--fg); }
    .crp-compare-table th:last-child, .crp-compare-table td:last-child { padding-right: 0; }
    .crp-compare-subhead { margin-top: clamp(40px, 5vw, 56px); font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; letter-spacing: -0.025em; }
    .crp-cost-table { margin-top: 20px; }
    .crp-cost-table thead th:nth-child(2) { color: var(--muted); }
    .crp-cost-table tbody tr:first-child td { color: var(--fg); }
    .crp-cost-table tbody tr:not(:first-child) td { color: var(--muted); }
    .faq-item .crp-compare-table { margin-top: 0; border-top: 0; }
    .faq-item .crp-compare-table tbody tr:last-child > * { border-bottom: 0; }
    .crp-compare-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

    .crp-privacy-panel {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
      gap: clamp(32px, 7vw, 96px);
      align-items: start;
      padding: clamp(28px, 5vw, 56px);
      border: 1px solid var(--border);
      border-left: 3px solid var(--accent);
      border-radius: var(--radius-lg);
      background: color-mix(in oklch, var(--surface) 72%, transparent);
    }
    .crp-privacy-panel h2 { max-width: 12ch; }
    .crp-privacy-list { border-top: 0; }
    .crp-privacy-list li:first-child { padding-top: 0; }
    .crp-privacy-list li:last-child { padding-bottom: 0; border-bottom: 0; }

    .crp-price-card {
      padding: clamp(28px, 4vw, 40px);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: linear-gradient(180deg, color-mix(in oklch, var(--surface) 88%, var(--accent)) 0%, var(--surface) 45%);
      box-shadow: 0 24px 60px color-mix(in oklch, black 45%, transparent);
    }
    .crp-price { display: flex; align-items: baseline; gap: 12px; margin: 0; }
    .crp-price-amount { font-family: var(--font-display); font-size: clamp(64px, 7vw, 88px); line-height: 1; letter-spacing: -0.045em; }
    .crp-price-term { color: var(--muted); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
    .crp-price-terms { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
    .crp-price-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
    .crp-price-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--border); font-size: 15px; }
    .crp-price-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 600; }
    .crp-buy { justify-content: center; width: 100%; min-height: 50px; margin-top: 28px; }
    .crp-price-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }

    .crp-after-buy { margin-top: clamp(56px, 7vw, 80px); padding-top: 32px; border-top: 1px solid var(--border); }
    .crp-after-buy h3 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); font-weight: 400; letter-spacing: -0.025em; }
    .crp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: crp-step; }
    .crp-steps li { counter-increment: crp-step; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); font-size: 15px; line-height: 1.6; }
    .crp-steps li::before { content: "Step " counter(crp-step); display: block; margin-bottom: 8px; color: var(--fg); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
    .crp-after-buy-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

    .crp-closing h2 { max-width: 13ch; }
    .crp-closing .lead { max-width: 46ch; }
    .crp-support { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
    .crp-support p { margin: 0; color: var(--muted); }
    .crp-support .btn { margin-top: 0; }
    .crp-support .crp-support-email { font-family: var(--font-body); font-size: inherit; text-underline-offset: 4px; }

    @media (max-width: 920px) {
      .crp-split, .crp-split-reverse { grid-template-columns: minmax(0, 1fr); }
      .crp-split-reverse .crp-shot { order: -1; }
      .crp-privacy-panel { grid-template-columns: minmax(0, 1fr); }
      .crp-size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .crp-size:first-child { grid-column: 1 / -1; }
      .crp-size:first-child .crp-size-well { aspect-ratio: 16 / 9; }
    }
    @media (max-width: 700px) {
      .crp-hero { padding-block: 64px 80px; }
      .crp-hero h1 { font-size: clamp(50px, 14vw, 74px); }
      .crp-icon-small { width: 52px; height: 52px; }
      .crp-cta { display: flex; flex-direction: column; align-items: stretch; }
      .crp-cta .btn { justify-content: center; }
      .crp-demo-play { width: 64px; height: 64px; }
      .crp-demo-play svg { width: 22px; height: 22px; }
      .crp-demo-label { bottom: 10px; left: 10px; padding: 6px 10px; font-size: 13px; }
      .crp-demo-length { display: none; }
      .crp-size-grid { grid-template-columns: minmax(0, 1fr); }
      .crp-size:first-child .crp-size-well, .crp-size-well { aspect-ratio: 16 / 9; }
      .crp-stats > div { grid-template-columns: 72px 1fr; gap: 16px; }
      .crp-steps { grid-template-columns: minmax(0, 1fr); }
      .crp-privacy-panel { border-radius: 12px; }
      .crp-compare-table { margin-top: 32px; }
      .crp-compare-table th, .crp-compare-table td { padding: 12px 12px 12px 0; font-size: 14px; line-height: 1.45; overflow-wrap: break-word; }
      .crp-compare-table thead th { font-size: 11px; letter-spacing: 0.04em; }
      .crp-compare-table tbody th { width: 45%; }
      .crp-cost-table { margin-top: 16px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .crp-demo-cover img, .crp-demo-play { transition: none; }
      .crp-demo-cover:hover img { transform: none; }
    }
