/* LMNOP LABS LLC — site.css
   Dark "tech lab" surface language + Material Design 3 tokens/components
   (top app bar, filled/outlined buttons, chips, cards, state layers + ripple).
   Dark is the house look; a matching light scheme follows the visitor's
   system setting (prefers-color-scheme: light). */

:root {
  color-scheme: dark;

  /* Material 3 colour roles (dark scheme) */
  --md-sys-color-background: #07080b;
  --md-sys-color-surface: #0d0f14;
  --md-sys-color-surface-container: #12151c;
  --md-sys-color-surface-container-high: #181c25;
  --md-sys-color-on-surface: #eef0f5;
  --md-sys-color-on-surface-variant: #98a0b0;
  --md-sys-color-outline: rgba(255, 255, 255, 0.14);
  --md-sys-color-outline-variant: rgba(255, 255, 255, 0.07);
  --md-sys-color-primary: #a9b8ff;
  --md-sys-color-on-primary: #0b1340;
  --md-sys-color-primary-container: #27346f;
  --md-sys-color-on-primary-container: #dde2ff;
  --md-sys-color-secondary: #7fd6e8;

  /* surfaces and effects that change between light and dark */
  --appbar-bg: rgba(7, 8, 11, 0.62);
  --menu-bg: #090a0e;
  --glow-a: rgba(110, 130, 255, 0.20);
  --glow-b: rgba(70, 210, 230, 0.09);
  --glow-c: rgba(255, 150, 110, 0.07);
  --grid-line: rgba(255, 255, 255, 0.035);
  --grad: linear-gradient(100deg, #fff 10%, #b6c2ff 45%, #7fd6e8 90%);
  --tint: rgba(169, 184, 255, 0.10);
  --tint-ring: rgba(169, 184, 255, 0.22);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  --card-ring-hover: rgba(255, 255, 255, 0.16);
  --spot: rgba(169, 184, 255, 0.12);
  --chip-bg: rgba(255, 255, 255, 0.02);
  --cta-glow: rgba(120, 140, 255, 0.28);
  --cta-bg: rgba(255, 255, 255, 0.02);
  --well: rgba(255, 255, 255, 0.03);

  /* device frames stay dark in both schemes, like a real tablet */
  --frame-bg: linear-gradient(145deg, #262a33, #0d0f14);
  --frame-ring: rgba(255, 255, 255, 0.1);
  --bezel: #14161c;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1180px;
  --font: "Inter", "SF Pro Display", "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-emph: cubic-bezier(0.05, 0.7, 0.1, 1);

  --elev-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 1px 3px 1px rgba(0, 0, 0, 0.3);
  --elev-2: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 6px 2px rgba(0, 0, 0, 0.3);
  --elev-3: 0 4px 8px 3px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --md-sys-color-background: #f5f6fa;
    --md-sys-color-surface: #ffffff;
    --md-sys-color-surface-container: #ffffff;
    --md-sys-color-surface-container-high: #eef0f6;
    --md-sys-color-on-surface: #11131a;
    --md-sys-color-on-surface-variant: #4b5366;
    --md-sys-color-outline: rgba(17, 19, 40, 0.16);
    --md-sys-color-outline-variant: rgba(17, 19, 40, 0.09);
    --md-sys-color-primary: #3a4cc0;
    --md-sys-color-on-primary: #ffffff;
    --md-sys-color-primary-container: #dde2ff;
    --md-sys-color-on-primary-container: #1b2563;
    --md-sys-color-secondary: #0b7d96;

    --appbar-bg: rgba(245, 246, 250, 0.78);
    --menu-bg: #f5f6fa;
    --glow-a: rgba(110, 130, 255, 0.16);
    --glow-b: rgba(40, 180, 210, 0.08);
    --glow-c: rgba(255, 150, 110, 0.08);
    --grid-line: rgba(20, 30, 80, 0.05);
    --grad: linear-gradient(100deg, #161a33 10%, #3a4cc0 50%, #0b7d96 90%);
    --tint: rgba(58, 76, 192, 0.08);
    --tint-ring: rgba(58, 76, 192, 0.22);
    --card-bg: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.78));
    --card-ring-hover: rgba(17, 19, 40, 0.18);
    --spot: rgba(58, 76, 192, 0.07);
    --chip-bg: rgba(255, 255, 255, 0.75);
    --cta-glow: rgba(110, 130, 255, 0.18);
    --cta-bg: #ffffff;
    --well: rgba(17, 19, 40, 0.035);

    --elev-1: 0 1px 2px rgba(20, 24, 40, 0.14), 0 1px 3px 1px rgba(20, 24, 40, 0.06);
    --elev-2: 0 1px 2px rgba(20, 24, 40, 0.14), 0 2px 6px 2px rgba(20, 24, 40, 0.08);
    --elev-3: 0 4px 10px 3px rgba(20, 24, 40, 0.10), 0 1px 3px rgba(20, 24, 40, 0.14);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--md-sys-color-background);
  color: var(--md-sys-color-on-surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--md-sys-color-primary); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 18px;
  background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary);
  border-radius: 999px; font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- ambient background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, var(--glow-a), transparent 62%),
    radial-gradient(700px 420px at 4% 18%, var(--glow-b), transparent 60%),
    radial-gradient(800px 500px at 50% 112%, var(--glow-c), transparent 60%);
}
.bg-grid::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- Material state layer + ripple ---------- */
.state { position: relative; overflow: hidden; isolation: isolate; }
.state::before {
  content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0;
  transition: opacity 0.15s var(--ease); z-index: -1; border-radius: inherit;
}
.state:hover::before { opacity: 0.08; }
.state:focus-visible::before { opacity: 0.12; }
.state:active::before { opacity: 0.12; }
.ripple {
  position: absolute; border-radius: 50%; background: currentColor; opacity: 0.22;
  transform: scale(0); animation: ripple 0.6s var(--ease-emph) forwards; pointer-events: none; z-index: -1;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Material buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: 0.1px; white-space: nowrap;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-filled { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); box-shadow: var(--elev-1); }
.btn-filled:hover { box-shadow: var(--elev-2); }
.btn-tonal { background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
.btn-outlined { background: transparent; color: var(--md-sys-color-primary); box-shadow: inset 0 0 0 1px var(--md-sys-color-outline); }
.btn-text { background: transparent; color: var(--md-sys-color-primary); padding: 0 12px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 15px; }

/* ---------- Top app bar ---------- */
.appbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 68px;
  display: flex; align-items: center;
  background: var(--appbar-bg);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  transition: background 0.3s var(--ease);
}
.appbar-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.01em; font-size: 17px; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--md-sys-color-on-surface-variant); transition: color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--md-sys-color-on-surface); }
.nav a[aria-current="page"] { background: var(--tint); }
.nav .nav-mobile { display: none; }
.appbar .btn { height: 38px; padding: 0 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; margin-left: auto; }
.menu-btn svg { width: 24px; height: 24px; }

/* ---------- Layout ---------- */
.section { position: relative; padding: 120px 24px; }
.section.tight { padding-top: 48px; padding-bottom: 48px; }
.container { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  width: fit-content; justify-self: start;
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px;
  border-radius: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--md-sys-color-primary); background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--tint-ring);
}
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(44px, 6.6vw, 84px); font-weight: 700; }
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--md-sys-color-on-surface-variant); max-width: 56ch; margin: 0; }
.lead strong { color: var(--md-sys-color-on-surface); }
.section-head { max-width: 720px; margin-bottom: 56px; display: grid; gap: 18px; }
.text-link { color: var(--md-sys-color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Google's official "Get it on Google Play" badge, used as is (no recolouring or cropping). The picture has
   Google's clear space built in: at 78 px tall the black badge is 52 px, the height of .btn-lg. */
.play-badge { display: inline-block; flex: none; line-height: 0; border-radius: 10px; }
.play-badge img { height: 78px; width: auto; }
.footer .foot-play { margin-top: 16px; }
.footer .play-badge img { height: 60px; }

/* ---------- Hero ---------- */
.hero { padding-top: 132px; padding-bottom: 40px; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 24px; align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--md-sys-color-on-surface-variant);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline); background: var(--chip-bg);
}

/* The hero picture is a real <img>. When WebGL is available (and motion is
   allowed), scene.js draws the same screenshot on a 3D tablet and fades the
   canvas in over it; the <img> stays in the page for search and screen readers. */
.stage-figure { margin: 0 -24px 0 0; display: grid; gap: 10px; }
.stage { position: relative; height: min(80vh, 760px); min-height: 500px; }
.stage-img { position: absolute; inset: 0; transition: opacity 0.6s var(--ease); }
.stage-img img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); height: 86%; width: auto; max-width: none; border-radius: 28px; box-shadow: var(--elev-3), 0 0 0 8px var(--bezel), 0 30px 80px -20px rgba(40, 50, 120, 0.45); }
.stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab;
  opacity: 0; transition: opacity 0.6s var(--ease);
  /* fade to nothing at every edge, so the glow never shows a hard box */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.stage canvas:active { cursor: grabbing; }
.stage.is-3d canvas { opacity: 1; }
.stage.is-3d .stage-img { opacity: 0; pointer-events: none; }
.stage-hint { font-size: 13px; text-align: center; color: var(--md-sys-color-on-surface-variant); padding: 0 16px; }
.stage-hint .drag { display: none; }
.stage.is-3d + .stage-hint .drag { display: inline; }

/* ---------- Inner page header ---------- */
.page-head { padding: 140px 24px 40px; }
.page-head .container { display: grid; gap: 20px; justify-items: start; }
.page-head h1 { font-size: clamp(40px, 5.4vw, 66px); }
.page-head .lead { max-width: 60ch; }

/* ---------- Screens in a device frame ---------- */
.frame { margin: 0; display: grid; gap: 12px; }
.frame .bezel { padding: 8px; border-radius: 26px; background: var(--frame-bg); box-shadow: 0 0 0 1px var(--frame-ring), var(--elev-3); }
.frame img { border-radius: 19px; width: 100%; }
.frame figcaption { font-size: 14px; color: var(--md-sys-color-on-surface-variant); padding: 0 4px; }
.frame figcaption b { display: block; color: var(--md-sys-color-on-surface); font-size: 15px; margin-bottom: 2px; }
.frame figcaption a { color: var(--md-sys-color-primary); font-weight: 600; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.split-copy { display: grid; gap: 22px; justify-items: start; }
.split-copy p { margin: 0; color: var(--md-sys-color-on-surface-variant); font-size: 17px; max-width: 52ch; }

.shots { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.6fr); gap: 28px; align-items: start; }
.shots .portrait { grid-row: span 2; }

/* ---------- Cards / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: var(--radius-lg); padding: 28px; overflow: hidden;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--card-ring-hover), var(--elev-3); }
.card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card p { margin: 0; color: var(--md-sys-color-on-surface-variant); font-size: 15px; }
.card p a, .card dd a { color: var(--md-sys-color-primary); font-weight: 600; }
.card .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--md-sys-color-primary); margin-bottom: 6px; }
.card .icon svg { width: 24px; height: 24px; }
.c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; } .c-2 { grid-column: span 2; } .c-6 { grid-column: span 6; }
.card.still:hover { transform: none; box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant); }
.card.still::before { display: none; }

/* ---------- Company / fact lists ---------- */
.company { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.company .card { padding: 36px; }
.company h2, .card h2 { font-size: clamp(24px, 2.6vw, 32px); }
.dl { display: grid; gap: 0; margin: 8px 0 0; }
.dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--md-sys-color-outline-variant); font-size: 15px; }
.dl dt { color: var(--md-sys-color-on-surface-variant); }
.dl dd { margin: 0; }
.dl a { color: var(--md-sys-color-primary); }
.quote { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.4; margin: 0; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--md-sys-color-on-surface-variant); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px;
  border-left: 2px solid var(--md-sys-color-secondary); border-bottom: 2px solid var(--md-sys-color-secondary); transform: rotate(-45deg);
}
.ticks li strong { color: var(--md-sys-color-on-surface); }

/* ---------- Press kit ---------- */
.copy-block { font-size: 17px; line-height: 1.7; margin: 0; color: var(--md-sys-color-on-surface); }
.press-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.asset-well { display: grid; place-items: center; padding: 28px; border-radius: var(--radius-md); background: var(--well); box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant); }
.asset-well img { width: 160px; height: 160px; }
.downloads { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.downloads a { color: var(--md-sys-color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- CTA ---------- */
.cta { text-align: center; border-radius: var(--radius-xl); padding: 88px 24px; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, var(--cta-glow), transparent 70%), var(--cta-bg);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant); display: grid; gap: 22px; justify-items: center; }
.cta p { margin: 0; color: var(--md-sys-color-on-surface-variant); max-width: 52ch; }
.cta .contact-lines { font-size: 15px; line-height: 1.7; }
.cta .contact-lines a { color: var(--md-sys-color-primary); text-decoration: none; font-weight: 600; }
.cta .btn { white-space: normal; text-align: center; }

/* ---------- Plain text page (privacy) ---------- */
.page { max-width: 720px; margin: 0 auto; padding: 120px 24px 72px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; margin: 0 0 8px; }
.page .updated { color: var(--md-sys-color-on-surface-variant); font-size: 14px; margin: 0 0 32px; }
.page h2 { font-size: 20px; margin: 32px 0 8px; }
.page p, .page li { color: var(--md-sys-color-on-surface-variant); line-height: 1.7; }
.page a { color: var(--md-sys-color-primary); }

/* ---------- 404 ---------- */
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 72px; }
.center-page > div { display: grid; gap: 20px; justify-items: center; max-width: 560px; }
.center-page h1 { font-size: clamp(36px, 5vw, 56px); }
.center-page p { margin: 0; color: var(--md-sys-color-on-surface-variant); }
.center-page img { width: 64px; height: 64px; border-radius: 16px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--md-sys-color-outline-variant); padding: 56px 24px 40px; color: var(--md-sys-color-on-surface-variant); font-size: 14px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid p { margin: 12px 0 0; max-width: 32ch; }
.footer .brand { color: var(--md-sys-color-on-surface); font-size: 15px; }
.footer .footer-h { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--md-sys-color-on-surface); letter-spacing: 0.04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--md-sys-color-on-surface); }
.footer-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--md-sys-color-outline-variant); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom a { color: inherit; }

/* ---------- Scroll reveal (only when JavaScript runs, so text is never stuck hidden) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-emph), transform 0.8s var(--ease-emph); }
.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav, .appbar .btn { display: none; }
  .menu-btn { display: block; }
  .nav.open { display: grid; position: fixed; top: 68px; left: 0; right: 0; padding: 12px 16px 20px; margin: 0; background: var(--menu-bg); border-bottom: 1px solid var(--md-sys-color-outline-variant); }
  .nav.open a { padding: 14px 16px; }
  .nav .nav-mobile { display: block; }
  .section { padding: 84px 20px; }
  .section.tight { padding-top: 36px; padding-bottom: 36px; }
  .page-head { padding: 112px 20px 24px; }
  .hero { min-height: 0; padding-top: 108px; }
  .hero-grid, .company, .split { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .stage-figure { margin-right: 0; }
  .stage { height: 520px; min-height: 0; }
  .bento { grid-template-columns: 1fr; }
  .c-4, .c-3, .c-2, .c-6 { grid-column: auto; }
  .shots { grid-template-columns: 1fr; }
  .shots .portrait { grid-row: auto; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .appbar-inner { padding: 0 16px; gap: 12px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .page-head { padding-left: 16px; padding-right: 16px; }
  .dl > div { grid-template-columns: 1fr; gap: 4px; }
  .press-assets { grid-template-columns: 1fr; }
  .footer { padding-left: 16px; padding-right: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .company .card { padding: 24px; }
  .cta { padding: 64px 20px; }
  .stage { height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

/* card headings that sit at h3 size but are h2 in the outline */
.card h2.h3-size { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.split-copy h2 { font-size: clamp(30px, 3.6vw, 46px); }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--md-sys-color-on-surface-variant); }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; }
.crumbs a { color: var(--md-sys-color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.page > .crumbs { margin-bottom: 20px; }
#usage-terms .card > p { margin: 14px 0 16px; }
#usage-terms a { color: var(--md-sys-color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
