/* ==========================================================================
   FramesOnDemand — shared design system (marketing pages)
   Crafted, national, accountable. Light page, dark hero moments.
   Funnel Display (display) + Funnel Sans (body). FOD blue as rare accent.
   ========================================================================== */

:root {
  /* Color — OKLCH, warm paper + cool ink, blue kept rare */
  --paper: oklch(97.5% 0.008 85);
  --paper-deep: oklch(95.5% 0.012 85);
  --surface: #fcfaf8;           /* app card surface */
  --ink: oklch(18% 0.012 265);
  --ink-2: oklch(30% 0.014 265);
  --mute: oklch(48% 0.016 265);
  --line: #e7e2da;              /* app border */
  --line-soft: #efece6;
  --panel: oklch(14% 0.014 265);          /* dark hero/museum panels */
  --panel-2: oklch(20% 0.016 265);
  --panel-ink: oklch(96% 0.006 85);        /* text on dark panels */
  --panel-mute: oklch(72% 0.012 85);
  --accent: #004dff;                       /* FOD blue, matched to the app */
  --accent-deep: #0040d6;
  --accent-soft: oklch(93% 0.045 264);
  --accent-on-dark: oklch(72% 0.16 264);
  --gold: oklch(72% 0.11 85);              /* museum-line accent, dark panels only */
  --ok: oklch(56% 0.13 155);
  --ok-soft: oklch(94% 0.05 155);
  --wip: oklch(64% 0.11 75);
  --wip-soft: oklch(95% 0.045 85);

  /* Space (4pt) */
  --space-xs: 4px; --space-sm: 8px; --space-md: 12px; --space-lg: 16px;
  --space-xl: 24px; --space-2xl: 32px; --space-3xl: 48px; --space-4xl: 64px;
  --space-5xl: 96px;

  --radius-md: 8px; --radius-lg: 12px; --radius-xl: 20px; --ring: 0 0 0 2px rgb(0 77 255 / 0.06), 0 0 0 4px rgb(0 77 255 / 0.28);

  --font-display: 'Hanken Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --shadow-plate: 0 24px 60px -24px oklch(20% 0.02 265 / 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* WCAG 1.4.1 (link-in-text-block): in-copy links must be distinguishable without color. */
main p a:not(.btn), main li a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 var(--space-lg); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.028em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.022em; font-weight: 800; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.012em; font-weight: 700; margin-bottom: var(--space-sm); }

/* Platform logo row ------------------------------------------------------- */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-md); }
.logo-row .logo-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-right: var(--space-xs); }
.hero-panel-photo .logo-row .logo-label { color: var(--panel-mute); }
/* full-color brand logos ride in warm-white chips so they read true on the dark hero */
.logo-chip { display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 34px; padding: 0 10px; background: var(--paper); border-radius: 9px; box-shadow: 0 1px 4px oklch(0% 0 0 / 0.22); transition: transform .25s var(--ease-out); }
.logo-chip:hover { transform: translateY(-2px); }
.logo-chip img { height: 19px; width: auto; opacity: 1; filter: none; }
.logo-chip img.logo-wide { height: 15px; }

/* Pricing duel ------------------------------------------------------------- */
.duel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-xl); align-items: stretch; }
@media (max-width: 800px) { .duel { grid-template-columns: 1fr; } }
.duel-them, .duel-us { border-radius: var(--radius-xl); padding: var(--space-2xl); }
.duel-them { background: var(--paper-deep); border: 1px solid var(--line); color: var(--mute); }
.duel-them h3 { color: var(--ink-2); }
.duel-us { background: linear-gradient(160deg, var(--panel) 55%, var(--panel-2)); color: var(--panel-ink); box-shadow: var(--shadow-plate); }
.duel-us h3 { color: var(--panel-ink); }
.duel-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: var(--space-lg); }
.duel-them .duel-tag { background: var(--line-soft); color: var(--mute); }
.duel-us .duel-tag { background: var(--accent); color: oklch(98% 0.005 264); }
.duel-price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; margin: var(--space-sm) 0 var(--space-lg); }
.duel-them .duel-price { color: var(--mute); }
.duel-us .duel-price { color: var(--panel-ink); }
.duel-price small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; }
.duel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.duel li { display: flex; gap: 10px; align-items: baseline; }
.duel-them li::before { content: "✕"; color: oklch(60% 0.12 25); font-weight: 700; flex: none; }
.duel-us li::before { content: "✓"; color: var(--accent-on-dark); font-weight: 700; flex: none; }
.duel-us li { color: var(--panel-mute); }

/* Guarantee (centered, one voice) ------------------------------------------ */
.guarantee-band { text-align: center; }
.guarantee-band .g-stat { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.025em; color: var(--panel-ink); max-width: 22ch; margin: 0 auto var(--space-lg); line-height: 1.1; }
.guarantee-band .g-how { color: var(--panel-mute); font-size: 0.95rem; max-width: 52ch; margin: 0 auto var(--space-2xl); }
.guarantee-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-xl); max-width: 860px; margin: 0 auto; text-align: center; }
.guarantee-points strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--panel-ink); margin-bottom: 6px; }
.guarantee-points span { color: var(--panel-mute); font-size: 0.88rem; }

/* Substrate 2x2 grid ------------------------------------------------------- */
.substrate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
@media (max-width: 1000px) { .substrate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .substrate-grid { grid-template-columns: 1fr; } }
.substrate-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.substrate-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.substrate-card .s-body { padding: var(--space-lg) var(--space-xl) var(--space-xl); }
.substrate-card .s-tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.substrate-card h3 { margin-top: 6px; font-size: 1.05rem; }
.substrate-card p { font-size: 0.88rem; color: var(--mute); margin: 0; }
p { margin: 0 0 var(--space-lg); max-width: 68ch; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--space-xl); }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 var(--space-xl); }
section { padding: var(--space-5xl) 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--surface); padding: 10px 18px;
  border-radius: 0 0 var(--radius-md) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Anchor jumps land below the 64px sticky nav, with breathing room */
html { scroll-padding-top: 88px; }

/* Media safety net: video never exceeds its container */
video { max-width: 100%; height: auto; }
.app-video { display: block; width: 100%; height: auto; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow-plate); background: #000; }

/* Nav ---------------------------------------------------------------------*/
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklch, var(--paper) 88%, white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-lockup:hover { text-decoration: none; }
.brand-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-wordmark .on { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: var(--space-xl); }
.nav-links a { color: var(--ink-2); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.nav-cta {
  background: var(--ink); color: var(--surface) !important;
  padding: 0 24px; border-radius: 999px; font-weight: 600;
  height: 42px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap; flex: none; line-height: 1; font-size: 0.9rem;
}
.nav-links a.nav-cta:hover { background: var(--panel-2); text-decoration: none; }
.nav-cta:hover { background: var(--panel-2); text-decoration: none; }

/* Mobile nav toggle ---------------------------------------------------------
   Hidden at desktop (no layout impact via display:none). At mobile it becomes
   the only way to reach Products/Materials/Platforms/etc, so the button and
   the dropdown it opens both need real touch targets, not a cosmetic icon. */
.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0; margin: 0; flex: none;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .22s var(--ease-out), opacity .18s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: oklch(98% 0.005 264); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-dark { background: var(--ink); color: var(--surface); }
.btn-dark:hover { background: var(--panel-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.on-dark .btn-ghost, .hero-panel-photo .btn-ghost, .cta-band .btn-ghost { color: var(--panel-ink); border-color: oklch(40% 0.02 265); }
.on-dark .btn-ghost:hover, .hero-panel-photo .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: var(--panel-mute); }

/* Section furniture ------------------------------------------------------ */
.section-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-md);
}
.on-dark .section-eyebrow { color: var(--accent-on-dark); }
.section-header { margin-bottom: var(--space-3xl); }
.section-header.center { text-align: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }
.section-sub { color: var(--mute); font-size: 1.08rem; }

/* Hero object plate (photography hero) ------------------------------------*/
.hero-shell { padding: var(--space-2xl) 0 var(--space-4xl); }
.hero-panel-photo {
  background: linear-gradient(160deg, var(--panel) 55%, var(--panel-2));
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  overflow: hidden; position: relative;
}
.hero-panel-photo h1 { color: var(--panel-ink); }
.hero-panel-photo .hero-sub { color: var(--panel-mute); font-size: 1.06rem; max-width: 54ch; }
.hero-accent-line { color: var(--accent-on-dark); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--panel-mute);
  border: 1px solid oklch(34% 0.02 265); border-radius: 999px;
  padding: 6px 14px; margin-bottom: var(--space-xl);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-on-dark); }
.hero-object { position: relative; }
.hero-object img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-plate);
}
.hero-object figcaption {
  margin-top: var(--space-lg);
  font-size: 0.82rem; color: var(--panel-mute);
  display: flex; align-items: baseline; gap: 10px;
}
.hero-object figcaption strong { color: var(--panel-ink); font-weight: 600; }

/* Fact ribbon (replaces stat cards) ---------------------------------------*/
.fact-ribbon {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-sm) var(--space-3xl);
  margin: var(--space-2xl) auto 0; padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fact-ribbon .fact { display: flex; align-items: baseline; gap: 10px; }
.fact-ribbon dt { font-size: 0.8rem; color: var(--mute); font-weight: 500; }
.fact-ribbon dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }

/* Corner/profile tiles ---------------------------------------------------- */
.corner-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl);
}
@media (max-width: 1000px) { .corner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .corner-grid { grid-template-columns: 1fr; } }
.corner-tile { position: relative; }
/* Text cell filling leftover corner-grid slots (solid-wood band, materials) */
.corner-cta-cell {
  grid-column: span 2; display: flex; flex-direction: column; justify-content: center;
  gap: 8px; padding: var(--space-xl);
  border: 1px dashed oklch(100% 0 0 / 0.28); border-radius: 12px;
}
.corner-cta-cell .cta-cell-lead { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--panel-ink); margin: 0; }
.corner-cta-cell .cta-cell-sub { font-size: 0.9rem; color: var(--panel-mute); margin: 0; max-width: 40ch; }
.corner-cta-cell .cta-cell-link { font-weight: 700; color: var(--panel-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .corner-cta-cell { grid-column: auto; } }
.corner-tile img {
  aspect-ratio: 1 / 1; object-fit: cover; width: 100%;
  border-radius: var(--radius-lg); border: 1px solid var(--line-soft);
  background: var(--surface);
}
.on-dark .corner-tile img { border-color: oklch(30% 0.02 265); }
.corner-meta { margin-top: var(--space-md); display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); }
.corner-name { font-weight: 600; font-size: 0.95rem; }
.on-dark .corner-name { color: var(--panel-ink); }
.corner-spec { font-size: 0.8rem; color: var(--mute); white-space: nowrap; }
.on-dark .corner-spec { color: var(--panel-mute); }

/* Museum band ------------------------------------------------------------ */
.museum-band { background: var(--panel); border-radius: 0; }
.museum-band .container { color: var(--panel-ink); }
.museum-band h2 { color: var(--panel-ink); }
.museum-band .section-sub { color: var(--panel-mute); }
.museum-kicker { color: var(--gold); font-weight: 600; }

/* Channel wall ------------------------------------------------------------*/
.channel-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--space-lg); }
.channel-chip {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: var(--space-lg) var(--space-xl);
  color: inherit; text-decoration: none;
  transition: border-color 0.15s ease-out, transform 0.15s ease-out;
}
a.channel-chip:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.channel-logo { width: 32px; height: 32px; object-fit: contain; object-position: left center; }
.channel-logo.logo-wide { width: auto; max-width: 84px; height: 26px; }
.channel-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.channel-note { font-size: 0.82rem; color: var(--mute); }

/* Swatch strip (mats) ------------------------------------------------------*/
.swatch-strip { display: grid; grid-template-columns: repeat(23, minmax(0, 1fr)); gap: 6px; margin: var(--space-xl) 0; }
.swatch-strip span {
  width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 6px;
  border: 1px solid oklch(0% 0 0 / 0.08);
}
@media (max-width: 760px) { .swatch-strip { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

/* Detail split (materials page) -------------------------------------------*/
.detail-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
/* Grid children default to min-width:auto and refuse to shrink below their
   content (wide <pre>, tables), stretching the page on phones. */
.detail-split > * { min-width: 0; }
.detail-split.flip > .detail-media { order: 2; }
.detail-media img {
  border-radius: var(--radius-lg); border: 1px solid var(--line-soft);
  box-shadow: 0 16px 40px -20px oklch(20% 0.02 265 / 0.25);
}
/* Rotating lifestyle slot: fixed aspect so mixed-orientation photos never shift layout */
.detail-media img.rotate-lifestyle { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.spec-inline { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-2xl); padding: 0; margin: var(--space-xl) 0 0; list-style: none; }
.spec-inline li { font-size: 0.9rem; color: var(--ink-2); }
.spec-inline strong { font-family: var(--font-display); display: block; font-size: 1.05rem; color: var(--ink); }

/* FAQ ---------------------------------------------------------------------*/
.faq-wrap { display: grid; gap: var(--space-md); }
details.faq {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: var(--space-lg) var(--space-xl);
}
details.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.02rem; }
details.faq[open] summary { margin-bottom: var(--space-md); }
details.faq p { color: var(--ink-2); margin-bottom: 0; }

/* CTA band ----------------------------------------------------------------*/
.cta-band {
  background: linear-gradient(160deg, var(--panel) 55%, var(--panel-2));
  border-radius: var(--radius-xl); text-align: center;
  padding: clamp(40px, 6vw, 72px);
}
.cta-band h2 { color: var(--panel-ink); }
.cta-band p { color: var(--panel-mute); margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; margin-top: var(--space-xl); }

/* Footer ------------------------------------------------------------------*/
.site-footer { border-top: 1px solid var(--line); padding: var(--space-3xl) 0 var(--space-4xl); margin-top: var(--space-4xl); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: var(--space-2xl); justify-content: space-between; align-items: baseline; }
.site-footer, .site-footer a { color: var(--mute); font-size: 0.88rem; }
.site-footer a { margin-right: var(--space-lg); }

/* Responsive --------------------------------------------------------------*/
@media (max-width: 900px) {
  .hero-panel-photo, .detail-split { grid-template-columns: 1fr; }
  .detail-split.flip > .detail-media { order: 0; }
  .hero-object { max-width: 420px; margin: 0 auto; }
  section { padding: var(--space-4xl) 0; }
}
@media (max-width: 940px) {
  .site-nav .container { position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--space-xs);
    background: var(--paper); border: 1px solid var(--line-soft); border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-plate);
    padding: var(--space-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px var(--space-md); border-radius: var(--radius-md); }
  .nav-links a:hover, .nav-links a:focus-visible { background: var(--line-soft); text-decoration: none; }
  .nav-links a.nav-cta { margin-top: var(--space-xs); width: 100%; height: auto; padding: 14px var(--space-md); }
}
@media (max-width: 640px) {
  /* Above-the-fold system: on a phone the first viewport must carry the
     eyebrow, H1, sub, a full-width CTA pair, and the trust signals, with a
     deliberate reveal of the hero image below - never an accidental sliver. */
  .hero-shell { padding: var(--space-lg) 0 var(--space-3xl); }
  .hero-panel-photo { padding: 28px 22px 36px; gap: var(--space-2xl); }
  .hero-eyebrow { font-size: 0.72rem; padding: 5px 12px; margin-bottom: var(--space-lg); }
  .hero-panel-photo .hero-sub { font-size: 0.98rem; line-height: 1.55; }

  /* CTA pair: full-width, equal, stacked - never ragged left-aligned widths */
  .cta-actions { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Platform chips: label on its own line, then one aligned row - no ragged wrap */
  .logo-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: center; }
  .logo-row .logo-label { grid-column: 1 / -1; margin: 0 0 2px; }
  .logo-chip { height: 38px; min-width: 0; padding: 0 4px; }
  .logo-chip img { height: 15px; }
  .logo-chip img.logo-wide { height: 12px; }
  .logo-row > a:not(.logo-chip) { font-size: 0.78rem; text-align: center; }

  /* Fact ribbon: aligned 2x2 grid instead of centered ragged wrap */
  .fact-ribbon { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 0.85rem; text-align: left; }

  .hero-object { max-width: 100%; }
  .hero-object figcaption { font-size: 0.78rem; }

  /* Long hero subs: the essential pitch stays, the elaboration waits for the
     sections below. Keeps the CTA above the fold on 375px-class phones. */
  .hero-sub .sub-more { display: none; }
}

/* Footer (canonical, sitewide) --------------------------------------------*/
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: var(--space-3xl) 0 var(--space-xl); margin-top: var(--space-4xl); font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--space-2xl); align-items: start; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--mute); margin: var(--space-md) 0 0; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin: 0 0 2px; }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid var(--line-soft); margin-top: var(--space-2xl); padding-top: var(--space-lg); color: var(--mute); font-size: 0.8rem; }

/* App screenshots (real product UI, framed like a browser) ----------------*/
.app-shot { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-plate); overflow: hidden; }
.app-shot .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); background: #fff; }
.app-shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.app-shot .bar span { margin-left: 10px; font-size: 0.72rem; color: var(--mute); }
.app-shot img { display: block; width: 100%; height: auto; }
.app-shot-caption { margin-top: var(--space-md); font-size: 0.82rem; color: var(--mute); }

/* Video placeholder (pass 2 will replace with real video) -----------------*/
.video-placeholder { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 16 / 9; display: grid; place-items: center; }
.video-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.video-placeholder .vp-play { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; color: var(--panel-ink); font-weight: 600; background: rgb(0 0 0 / 0.35); border: 1px solid rgb(255 255 255 / 0.25); padding: 12px 20px; border-radius: 8px; backdrop-filter: blur(4px); }
.video-placeholder .vp-play::before { content: ""; width: 0; height: 0; border-left: 12px solid var(--panel-ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* App-style selected ring on interactive tiles -----------------------------*/
a.channel-chip:hover, a.channel-chip:focus-visible { border-color: var(--accent); box-shadow: var(--ring); }
.corner-tile:hover { border-color: var(--accent); }
