/* ==========================================================================
   Frontdesks — v7 "daylight"
   Light warm canvas, layered glass, real 3D, editorial typography.
   Display: Instrument Serif · UI: Plus Jakarta Sans · Brand: Quicksand · Data: JetBrains Mono
   ========================================================================== */

:root {
  /* canvas — warm paper */
  --bg: #FAF7F2;
  --bg-2: #F3EFE7;
  --bg-3: #EDE7DC;
  --surface: #FFFFFF;

  /* glass on light */
  --glass: rgba(255, 255, 255, 0.72);
  --glass-2: rgba(255, 255, 255, 0.88);
  --glass-soft: rgba(255, 255, 255, 0.45);
  --edge: rgba(36, 28, 24, 0.09);
  --edge-2: rgba(36, 28, 24, 0.16);

  /* ink */
  --ink: #241C18;
  --ink-2: #5C5248;
  --ink-3: #8B8175;

  /* brand — straight from the mark */
  --brand: #E2492B;
  --brand-2: #FF6B45;
  --brand-deep: #B33A1E;
  --brand-soft: #FBE7E0;
  --cocoa: #3A2E28;
  --cream: #EFE7DC;

  /* supporting hues so the page isn't monochrome */
  --teal: #2F6B6B;
  --teal-soft: #E1EFEC;
  --indigo: #45507F;
  --indigo-soft: #E7E9F4;
  --gold: #C98A2E;
  --gold-soft: #F8EEDB;
  --green: #3F7D5C;
  --green-soft: #E4F0E8;

  --grad-warm: linear-gradient(135deg, var(--brand-2), var(--brand) 55%, var(--brand-deep));
  --grad-text: linear-gradient(115deg, var(--cocoa) 8%, var(--brand) 78%);

  /* type — Sora display / Figtree UI / Quicksand brand. No monospace anywhere. */
  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Quicksand", var(--font-ui);
  --font-mono: var(--font-ui);
  --font-body: var(--font-ui);
  /* iOS surfaces (the phone) render in the real system font where it exists,
     and in Inter — the closest metric match — everywhere else */
  --font-ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
              "Inter", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;

  /* scale */
  --fs-hero: clamp(3rem, 1.2rem + 7vw, 6.4rem);
  --fs-h2: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1.1vw, 1.9rem);
  --fs-body: clamp(1rem, 0.96rem + 0.24vw, 1.1rem);
  --fs-small: clamp(0.78rem, 0.75rem + 0.15vw, 0.85rem);

  /* rhythm — generous */
  --space-section: clamp(4.5rem, 3rem + 5vw, 8.5rem);
  --wrap-max: 82rem;
  --wrap-pad: clamp(1.4rem, 0.9rem + 2.6vw, 3.5rem);

  /* radii */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 38px;
  --r-pill: 999px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(36, 28, 24, 0.05), 0 4px 12px -6px rgba(36, 28, 24, 0.08);
  --sh-2: 0 2px 6px rgba(36, 28, 24, 0.05), 0 18px 40px -22px rgba(36, 28, 24, 0.22);
  --sh-3: 0 3px 8px rgba(36, 28, 24, 0.05), 0 40px 80px -40px rgba(36, 28, 24, 0.32);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);
  --dur-1: 160ms;
  --dur-2: 320ms;
  --dur-3: 640ms;

  /* legacy aliases */
  --line: var(--edge);
  --line-strong: var(--edge-2);
  --red: var(--brand);
  --red-bright: var(--brand-2);
  --red-deep: var(--brand-deep);
  --amber: var(--brand);
  --rust: var(--brand);
  --rust-2: var(--brand-2);
  --dark: var(--cocoa);
  --dark-2: #2C231E;
}

html[data-rm] { --dur-1: 60ms; --dur-2: 120ms; --dur-3: 160ms; }

/* ---------- Reset & canvas ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* unbreakable strings — emails, cal.com URLs, long business names in the
   mockups — must wrap rather than push a container wider than the viewport */
body { overflow-wrap: break-word; }

html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[data-rm] { scroll-behavior: auto; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(50rem 34rem at 82% -6%, rgba(255, 107, 69, 0.13), transparent 62%),
    radial-gradient(40rem 30rem at 4% 10%, rgba(201, 138, 46, 0.10), transparent 60%),
    radial-gradient(46rem 38rem at 60% 102%, rgba(47, 107, 107, 0.09), transparent 64%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol, dl, dd, dt { margin: 0; padding: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.display em { font-style: normal; color: var(--brand); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.wrap { max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--wrap-pad); }
.mono { font-family: var(--font-ui); letter-spacing: 0.01em; }

/* long-form copy only — keeps a lone word off the last line.
   Deliberately not applied to the device mockups, whose narrow columns
   are laid out to fixed line counts. */
.section-sub, .hero-sub, .feature-desc, .footer-tag,
.faq-a-inner p, .signup-intro-sub, .price-note { text-wrap: pretty; }

::selection { background: var(--brand); color: #FFF; }
/* the final CTA is near-black, where rust-on-rust loses the text */
.final-cta ::selection, .final-cta::selection { background: #FBF7F2; color: #16110F; }

/* scrollbar tuned to the paper canvas rather than the OS default grey */
html { scrollbar-color: var(--ink-3) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(36, 28, 24, 0.22);
  border: 3px solid transparent; background-clip: content-box; border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(36, 28, 24, 0.4); background-clip: content-box; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: 0.65rem 1.1rem; border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  transition: top var(--dur-1) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* for text that only screen readers need */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* glass primitive */
.glass, .call-card, .feature-panel, .price-card, .reviews-card,
.signup-card, .ind-photo-wrap, .overview-caps li, .demo-card {
  background: var(--glass);
  border: 1px solid var(--edge);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
}

/* ---------- View transitions ---------- */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: page-vt-out 220ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: page-vt-in 340ms var(--ease-out) both; }
}
@keyframes page-vt-out { to { opacity: 0; transform: scale(0.99); } }
@keyframes page-vt-in { from { opacity: 0; transform: scale(1.01); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; min-height: 48px; padding: 0.8rem 1.7rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-ui); font-size: 0.96rem; font-weight: 500;
  letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
              transform var(--dur-2) var(--ease-out);
}
.btn-primary {
  font-weight: 500;
  background: linear-gradient(180deg, #2E251F, #1B1512);
  color: #FDF9F4;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, var(--sh-2);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 16px 34px -14px rgba(226, 73, 43, 0.6);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }
html[data-rm] .btn-primary:hover { transform: none; }

.btn-ghost {
  background: var(--glass-2); border-color: var(--edge-2); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-1);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-2); }
html[data-rm] .btn-ghost:hover { transform: none; }

.btn-outline-light { background: transparent; border-color: var(--edge-2); color: var(--ink-2); }
.btn-outline-light:hover { color: var(--ink); border-color: var(--ink); background: var(--glass); }

.btn-lg { min-height: 56px; padding: 1rem 2.1rem; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---------- Section furniture ---------- */
.section-head { max-width: 50rem; margin-bottom: clamp(3.5rem, 2.6rem + 2.6vw, 5.5rem); }

/* hairline separator that fades out at both ends */
.rule {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--edge) 18%, var(--edge) 82%, transparent);
}

.section-tab, .section-tab-light {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.71rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--brand);
  border: 1px solid var(--edge); background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-pill); padding: 0.45rem 1.1rem; margin-bottom: 1.5rem;
  box-shadow: var(--sh-1);
}
.section-tab::before, .section-tab-light::before {
  content: ""; width: 0.36rem; height: 0.36rem; border-radius: 50%;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title em { font-style: normal; font-weight: 500; color: var(--brand); }
.section-sub { margin-top: 1.4rem; color: var(--ink-2); max-width: 44rem; }

.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: var(--grad-warm); transform: scaleX(0); transform-origin: left; will-change: transform;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(1rem, 2.4vw, 2rem); bottom: clamp(1rem, 2.4vw, 2rem); z-index: 55;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--edge-2); border-radius: 50%;
  background: var(--glass-2); backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink-2); cursor: pointer;
  /* visibility, not just opacity — otherwise the button stays in the tab
     order while invisible at the top of the page */
  opacity: 0; visibility: hidden; translate: 0 12px;
  transition: opacity var(--dur-2) var(--ease-out), translate var(--dur-2) var(--ease-out),
              visibility 0s linear var(--dur-2),
              color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.to-top[hidden] { display: none; }
.to-top.is-in {
  opacity: 1; visibility: visible; translate: 0 0;
  transition-delay: 0s;
}
html[data-rm] .to-top { translate: 0 0; }
.to-top:hover { color: var(--brand); border-color: var(--brand); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- Interactive dot field ---------- */
.dotfield {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  mask-image: radial-gradient(75% 75% at 50% 40%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000 35%, transparent 100%);
}
.dotfield i {
  position: absolute;
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(58, 46, 40, 0.22);
  transform: translate3d(var(--dx, 0), var(--dy, 0), 0) scale(var(--s, 1));
  transition: transform 620ms var(--ease-out), background-color 620ms var(--ease-out);
  will-change: transform;
}
.dotfield i.is-near { background: var(--brand); }
html[data-rm] .dotfield i { transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: transform var(--dur-2) var(--ease-out);
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid transparent;
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.site-header.is-scrolled::after { opacity: 1; border-bottom-color: var(--edge); }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex; align-items: center; gap: 1.6rem;
  min-height: 5rem; transition: min-height var(--dur-2) var(--ease-out);
}
.is-scrolled .header-inner { min-height: 4.1rem; }

/* logo lockup: mark + wordmark */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 2.15rem; height: 2.15rem; flex: none; transition: transform var(--dur-2) var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
html[data-rm] .brand:hover .brand-mark { transform: none; }
.brand-mark path:nth-child(1) { fill: var(--cocoa); }
.brand-mark path:nth-child(2) { fill: var(--brand); }
.brand-mark path:nth-child(3) { fill: var(--cream); }

.brand-word {
  font-family: var(--font-brand);
  font-size: 1.42rem; font-weight: 600; letter-spacing: -0.005em;
  color: var(--cocoa);
}

.site-nav { display: flex; gap: 0.1rem; }
.site-nav a {
  white-space: nowrap;
  font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
  padding: 0.6rem 0.95rem; border-radius: var(--r-pill);
  transition: color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out);
}
.site-nav a:hover { color: var(--ink); background: var(--glass-2); }
/* scroll-spy: the section you're actually looking at */
.site-nav a[aria-current="true"] { color: var(--ink); background: var(--glass-2); }
.site-nav a[aria-current="true"]::after {
  content: ""; display: block; height: 2px; margin: 0.32rem auto -0.2rem; width: 1.1rem;
  border-radius: 2px; background: var(--brand);
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.header-actions .btn { min-height: 42px; padding: 0.55rem 1.3rem; font-size: 0.9rem; }

/* ---------- Entrance & reveals ---------- */
[data-entrance] {
  opacity: 0; translate: 0 30px;
  transition: opacity var(--dur-3) var(--ease-out), translate var(--dur-3) var(--ease-out);
}
html[data-rm] [data-entrance] { translate: 0 0; }
body.is-loaded [data-entrance] { opacity: 1; translate: 0 0; }
body.is-loaded [data-entrance="2"] { transition-delay: 90ms; }
body.is-loaded [data-entrance="3"] { transition-delay: 200ms; }
body.is-loaded [data-entrance="4"] { transition-delay: 320ms; }
body.is-loaded [data-entrance="5"] { transition-delay: 430ms; }

[data-reveal] {
  opacity: 0; translate: 0 34px;
  transition: opacity var(--dur-3) var(--ease-out), translate var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}
html[data-rm] [data-reveal] { translate: 0 0; }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

body.is-departing { animation: page-out 260ms var(--ease-out) forwards; }
@keyframes page-out { to { opacity: 0; transform: scale(0.995); } }
html[data-rm] body.is-departing { animation: none; opacity: 0.4; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(3.5rem, 2rem + 5vw, 7rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}
.hero-watermark {
  position: absolute; left: -13vw; top: 4%;
  width: 44vw; max-width: 38rem; opacity: 0.05; pointer-events: none; z-index: 0;
}
/* graphic leads: copy column is deliberately the narrow one */
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); align-items: center;
}

.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  background: var(--glass-2); border: 1px solid var(--edge);
  border-radius: var(--r-pill); padding: 0.45rem 1.1rem; margin-bottom: 1.8rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-1);
}
.kicker-pulse {
  flex: none; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(63, 125, 92, 0.15);
}

.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: var(--fs-hero); letter-spacing: -0.035em; line-height: 1.0;
  max-width: 12ch;
}
.swap { display: inline-block; vertical-align: baseline; overflow: hidden; }
.swap-track { display: inline-grid; }
.swap-static { display: none; }
.swap-word {
  grid-area: 1 / 1; opacity: 0; translate: 0 0.7em; white-space: nowrap;
  color: var(--brand); font-weight: 400;
  transition: opacity var(--dur-2) var(--ease-out), translate var(--dur-2) var(--ease-out);
}
.swap-word.is-current { opacity: 1; translate: 0 0; }
.swap-word.is-out { opacity: 0; translate: 0 -0.7em; }
html[data-rm] .swap-word { translate: 0 0; }

.hero-sub {
  margin-top: 1.8rem; font-size: clamp(1.02rem, 0.97rem + 0.32vw, 1.18rem);
  color: var(--ink-2); max-width: 35rem;
}
.hero-sub em { font-style: normal; font-weight: 700; color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.6rem; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2rem; }
.hero-badges li {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.03em; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.hero-badges li::before {
  content: ""; width: 0.85rem; height: 0.85rem; flex: none; border-radius: 50%;
  background: var(--green-soft); border: 1px solid rgba(63, 125, 92, 0.45);
}

/* ---------- 3D hero stage ---------- */
.hero-visual { position: relative; perspective: 1500px; perspective-origin: 50% 40%; }
.hero-blob {
  position: absolute; inset: -14% -18%; border-radius: 42%;
  background:
    radial-gradient(closest-side, rgba(255, 107, 69, 0.30), transparent 70%),
    radial-gradient(closest-side at 72% 68%, rgba(201, 138, 46, 0.20), transparent 70%);
  filter: blur(44px); pointer-events: none;
  animation: orb-drift 16s var(--ease-soft) infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 3%, 0) scale(1.08); }
}
html[data-rm] .hero-blob { animation: none; }

.scene {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 5deg)) rotateY(var(--ry, -12deg));
  transition: transform 420ms var(--ease-out); will-change: transform;
}
html[data-rm] .scene { transform: none; }

/* ---------- Hero scene composition: console + phone ---------- */
.hero-visual .scene { padding: 2.6rem 5.5rem 3.5rem 0; }
.hero-visual .call-card {
  width: 77%;
  transform: translateZ(0);
}
.hero-visual .feed-stage { min-height: 12.5rem; }

/* rings behind the whole composition, sitting deep in Z */
.scene-rings {
  position: absolute; inset: -12% -6% -6% -14%;
  transform: translateZ(-160px); pointer-events: none;
}
.scene-rings i {
  position: absolute; inset: 0; margin: auto;
  border-radius: 50%; border: 1px solid rgba(36, 28, 24, 0.10);
}
.scene-rings i:nth-child(1) { width: 74%; aspect-ratio: 1; }
.scene-rings i:nth-child(2) { width: 96%; aspect-ratio: 1; border-color: rgba(226, 73, 43, 0.14); border-style: dashed; animation: ring-spin 46s linear infinite; }
.scene-rings i:nth-child(3) { width: 118%; aspect-ratio: 1; border-color: rgba(36, 28, 24, 0.06); }
@keyframes ring-spin { to { transform: rotate(360deg); } }
html[data-rm] .scene-rings i { animation: none; }

/* ---------- The console: the panel the hero is built around ---------- */
.console { display: grid; }
.con-head {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.62);
}
.con-mark {
  flex: none; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
}
.con-mark img { width: 100%; height: 100%; object-fit: contain; }
.con-h-b { display: grid; line-height: 1.3; min-width: 0; }
.con-h-b strong { font-size: 0.92rem; font-weight: 700; letter-spacing: -0.015em; }
.con-h-b span { font-size: 0.7rem; color: var(--ink-3); }

.con-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem; padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18));
}
.con-tab {
  display: flex; align-items: center; gap: 0.5rem; text-align: left; cursor: pointer;
  padding: 0.5rem 0.55rem; border-radius: 0.9rem; min-width: 0;
  border: 1px solid transparent; background: transparent; color: var(--ink-3);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.con-tab-i {
  flex: none; width: 1.6rem; height: 1.6rem; border-radius: 0.55rem;
  display: grid; place-items: center;
  background: var(--bg-3); color: var(--ink-3);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.con-tab-i svg { width: 0.8rem; height: 0.8rem; }
.con-tab-t { display: grid; gap: 0.02rem; min-width: 0; line-height: 1.25; }
.con-tab-t strong { font-size: 0.76rem; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.con-tab-t small { font-size: 0.64rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.con-tab:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink-2); }
.con-tab.is-active {
  background: var(--surface); border-color: var(--edge); color: var(--ink);
  box-shadow: 0 6px 16px -12px rgba(36, 28, 24, 0.5);
}
.con-tab.is-active .con-tab-i { background: var(--grad-warm); color: #FFF; }
.con-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.con-foot {
  display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
  padding: 0.7rem 1.1rem; border-top: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.5);
}
.con-chips { display: inline-flex; gap: 0.35rem; }
.con-chip {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.22rem 0.55rem; border-radius: var(--r-pill);
  border: 1px solid var(--edge); color: var(--ink-3); background: var(--bg-2);
  transition: color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out);
}
.con-chip.is-on { color: var(--green); background: var(--green-soft); border-color: rgba(63, 125, 92, 0.28); }
.con-note { margin-left: auto; font-size: 0.68rem; color: var(--ink-3); }

/* nudge: the tabs are clickable, and most people don't try */
.con-cue {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid rgba(226, 73, 43, 0.25); border-radius: var(--r-pill);
  padding: 0.2rem 0.55rem 0.2rem 0.45rem;
  animation: cue-pulse 2.1s var(--ease-soft) infinite;
  transition: opacity var(--dur-2) var(--ease-out);
}
.con-cue svg { width: 0.7rem; height: 0.7rem; }
.con-cue.is-off { opacity: 0; pointer-events: none; }
html[data-rm] .con-cue { animation: none; }
/* the tab strip picks up the same invitation until it's been used */
.con-tabs.is-cueing .con-tab:not(.is-active) { background: rgba(226, 73, 43, 0.06); color: var(--ink-2); }

/* ---------- iPhone in the hero ---------- */
.phone {
  position: absolute;
  right: -1.6rem; bottom: -0.5rem;
  width: 33%;
  transform: translateZ(140px);
  transform-style: preserve-3d;
  z-index: 3;
}
.phone-glow {
  position: absolute; inset: -18% -26%;
  background: radial-gradient(closest-side, rgba(255, 107, 69, 0.34), transparent 72%);
  filter: blur(38px); pointer-events: none;
}

/* ---------- Floating cards at depth ---------- */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  background: var(--glass-2); border: 1px solid var(--edge);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: var(--sh-2);
  animation: chip-float 8s var(--ease-soft) infinite alternate;
}
html[data-rm] .float-card { animation: none; }
.fc-ico {
  flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; color: #FFF;
}
.fc-ico svg { width: 0.95rem; height: 0.95rem; }
.fc-ico-green { background: var(--green); }
.fc-ico-brand { background: var(--grad-warm); }
.fc-body { display: grid; gap: 0.1rem; }
.fc-body strong { font-size: 0.83rem; font-weight: 600; letter-spacing: -0.01em; }
.fc-body span { font-size: 0.7rem; color: var(--ink-3); }
.fc-val { margin-left: 0.3rem; font-size: 0.85rem; font-weight: 600; color: var(--green); }

.fc-booking { top: -1.6rem; left: -1.8rem; transform: translateZ(150px); }
.fc-cal {
  display: block; top: 32%; left: -5.4rem;
  transform: translateZ(90px); animation-delay: 1.3s;
  padding: 0.85rem 0.95rem; min-width: 8.6rem;
}
.fc-cal-head { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.5rem; }
.fc-cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.28rem; }
.fc-cal-grid i { height: 0.5rem; border-radius: 3px; background: var(--bg-3); }
.fc-cal-grid i.on { background: rgba(63, 125, 92, 0.45); }
.fc-cal-grid i.now { background: var(--brand); box-shadow: 0 0 0 2px rgba(226, 73, 43, 0.18); }
.fc-cal-foot { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-size: 0.66rem; color: var(--ink-2); }
.fc-dot { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--green); }

/* speed dial: how fast a call gets picked up */
.fc-speed {
  top: -3.4rem; left: 34%; transform: translateZ(200px);
  animation-delay: 0.7s; padding: 0.55rem 0.9rem 0.55rem 0.55rem;
}
.fc-speed .fc-body span { display: none; }
.fc-ring { position: relative; flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.fc-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fc-ring circle { fill: none; stroke-width: 3.4; stroke-linecap: round; }
.fc-ring-t { stroke: var(--bg-3); }
.fc-ring-v {
  stroke: var(--brand);
  stroke-dasharray: 97.4; stroke-dashoffset: 22;
  animation: fc-ring-fill 4.5s var(--ease-out) infinite;
}
@keyframes fc-ring-fill { 0% { stroke-dashoffset: 97.4; } 45%, 100% { stroke-dashoffset: 22; } }
html[data-rm] .fc-ring-v { animation: none; }
.fc-ring b { font-size: 0.72rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand); }

/* six jobs on the board today */
.fc-rev {
  top: -3.2rem; right: 0.5rem; transform: translateZ(110px);
  animation-delay: 2.1s; padding: 0.7rem 0.9rem;
}
.fc-spark { display: flex; align-items: flex-end; gap: 0.14rem; height: 1.6rem; margin-left: 0.35rem; }
.fc-spark i {
  width: 0.24rem; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-2), rgba(226, 73, 43, 0.35));
}
.fc-spark i:last-child { background: var(--green); }

/* ---------- Hero: inspect a single piece ---------- */
.hero-part { cursor: pointer; outline: none; }
.hero-part, .scene .float-card, .scene .phone, .scene .call-card {
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out),
              filter var(--dur-2) var(--ease-out);
}
/* dim everything while one piece is being inspected */
.scene.is-inspecting > *:not(.is-focus) { opacity: 0.5; filter: saturate(0.8); }
.scene .hero-part.is-focus {
  z-index: 9;
  /* lift, a touch of scale, and a few degrees of tilt that follows the cursor */
  transform: translateZ(var(--fz, 120px)) scale(var(--fs, 1.04))
             rotateX(var(--ftx, 0deg)) rotateY(var(--fty, 0deg));
  transition: transform 260ms var(--ease-out), box-shadow 380ms var(--ease-out),
              filter 260ms var(--ease-out);
}
.scene .call-card.is-focus {
  --fz: 90px; --fs: 1.04;
  box-shadow: var(--sh-3), 0 60px 90px -46px rgba(36, 28, 24, 0.42), 0 0 70px -30px rgba(226, 73, 43, 0.35);
}
.scene .phone.is-focus { --fz: 190px; --fs: 1.05; }
.scene .phone.is-focus .device {
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.55),
    0 1px 1px rgba(255, 255, 255, 0.55) inset,
    0 -1px 1px rgba(0, 0, 0, 0.35) inset,
    0 60px 110px -40px rgba(36, 28, 24, 0.68);
}
.scene .fc-cal.is-focus { --fz: 160px; --fs: 1.06; box-shadow: var(--sh-3), 0 40px 70px -40px rgba(36, 28, 24, 0.4); }
html[data-rm] .scene .hero-part.is-focus { transform: none; }

/* ---------- Hover aura: pastel haze + a field of drifting particles ---------- */
.aura {
  position: absolute; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 560ms var(--ease-out);
}
.aura.is-on { opacity: 1; }
.aura-glow {
  position: absolute; inset: 6%; border-radius: 50%;
  /* four pastels bled together, sitting on a white core so it stays neutral */
  background:
    radial-gradient(closest-side at 34% 28%, rgba(201, 189, 236, 0.62), rgba(201, 189, 236, 0) 72%),
    radial-gradient(closest-side at 70% 32%, rgba(249, 205, 216, 0.58), rgba(249, 205, 216, 0) 74%),
    radial-gradient(closest-side at 66% 74%, rgba(253, 216, 189, 0.58), rgba(253, 216, 189, 0) 74%),
    radial-gradient(closest-side at 28% 70%, rgba(197, 223, 245, 0.58), rgba(197, 223, 245, 0) 74%),
    radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 78%);
  filter: blur(36px);
  animation: aura-breathe 8s var(--ease-soft) infinite alternate;
}
@keyframes aura-breathe {
  from { transform: scale(0.97) rotate(0deg); }
  to { transform: scale(1.05) rotate(8deg); }
}
.aura-dots { position: absolute; inset: 0; width: 100%; height: 100%; }
html[data-rm] .aura { display: none; }

.part-tip {
  position: absolute; left: 50%; bottom: -0.5rem; translate: -50% 100%;
  display: grid; gap: 0.1rem; justify-items: center; white-space: nowrap;
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill);
  background: var(--ink); color: #FDF9F4;
  font-size: 0.74rem; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: var(--sh-2);
  opacity: 0; translate: -50% calc(100% + 6px); pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), translate var(--dur-2) var(--ease-out);
  z-index: 12;
}
.part-tip b { font-size: 0.62rem; font-weight: 500; opacity: 0.6; }
.hero-part.is-focus .part-tip { opacity: 1; translate: -50% 100%; }
.hero-part:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: var(--r-lg); }

/* ---------- Hero logo rails ---------- */
.hero-rails { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); text-align: center; }
.rails-cap {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 1.6rem;
}
.hero-rails .int-rails { margin-block: 0; }
.rails-note { margin-top: 1.6rem; font-size: 0.82rem; color: var(--ink-3); }
.rails-note strong { color: var(--brand); font-weight: 600; }

/* ---------- Live call card ---------- */
.call-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3), 0 0 60px -34px rgba(226, 73, 43, 0.5);
}
.call-top {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.5);
}
.call-avatar {
  flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--grad-warm); color: #FFF;
  box-shadow: 0 8px 20px -8px rgba(226, 73, 43, 0.7);
}
.call-avatar svg { width: 1.1rem; height: 1.1rem; }
.call-meta { display: grid; line-height: 1.35; }
.call-meta strong { font-weight: 700; font-size: 0.95rem; letter-spacing: -0.015em; }
.call-meta span { font-size: 0.7rem; color: var(--ink-3); letter-spacing: 0.03em; }
.call-status {
  margin-left: auto; display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; color: var(--green);
}
.feed-dot {
  width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 125, 92, 0.16);
}
.feed-clock {
  color: var(--ink-3); font-weight: 400; margin-left: 0.3rem;
  /* the console swaps this between views — fixed-width digits keep LIVE still */
  font-variant-numeric: tabular-nums;
}

.call-wave {
  display: flex; align-items: center; justify-content: center; gap: 0.28rem;
  height: 2.7rem; border-bottom: 1px solid var(--edge);
}
.call-wave i {
  width: 3px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  height: 28%; animation: wave 1.15s var(--ease-soft) infinite;
}
.call-wave i:nth-child(2) { animation-delay: 0.1s; }
.call-wave i:nth-child(3) { animation-delay: 0.2s; }
.call-wave i:nth-child(4) { animation-delay: 0.3s; }
.call-wave i:nth-child(5) { animation-delay: 0.4s; }
.call-wave i:nth-child(6) { animation-delay: 0.5s; }
.call-wave i:nth-child(7) { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 78%; } }
html[data-rm] .call-wave i { animation: none; height: 45%; }

.feed-stage { position: relative; display: grid; min-height: 15.5rem; }
.feed-scenario {
  grid-area: 1 / 1; list-style: none; padding: 1.3rem;
  display: grid; gap: 0.6rem; align-content: start;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.feed-scenario.is-active { opacity: 1; visibility: visible; transition: opacity var(--dur-2) var(--ease-out); }

.bubble {
  max-width: 88%; font-size: 0.9rem; line-height: 1.45;
  padding: 0.65rem 0.95rem; border-radius: var(--r-md);
  opacity: 0; translate: 0 12px;
}
html[data-rm] .bubble { translate: 0 0; }
.is-active .bubble { animation: bubble-in var(--dur-3) var(--ease-out) forwards; }
.is-active .bubble:nth-child(1) { animation-delay: 150ms; }
.is-active .bubble:nth-child(2) { animation-delay: 1050ms; }
.is-active .bubble:nth-child(3) { animation-delay: 1950ms; }
.is-active .bubble:nth-child(4) { animation-delay: 2850ms; }
@keyframes bubble-in { to { opacity: 1; translate: 0 0; } }

.bubble-ai {
  justify-self: start; background: var(--bg-2); border: 1px solid var(--edge);
  color: var(--ink); border-bottom-left-radius: 6px;
}
.bubble-caller {
  justify-self: end; background: linear-gradient(180deg, #2E251F, #1B1512); color: #FDF9F4;
  border-bottom-right-radius: 6px;
}
.bubble-sys {
  justify-self: center; max-width: 100%; background: transparent;
  border: 1px dashed var(--edge-2); color: var(--ink-3); font-size: 0.73rem;
}
.bubble-win {
  justify-self: stretch; max-width: 100%; text-align: center;
  background: var(--green-soft); border: 1px solid rgba(63, 125, 92, 0.35);
  color: var(--green); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
}
.bubble.is-static { opacity: 1; translate: 0 0; animation: none; }

/* ---------- Hero console: the search view (Google + AI, side by side) ---------- */
.hs { padding: 1rem 1.1rem 0.9rem; gap: 0.75rem; align-content: start; }
.hs-bar {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.85rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--edge-2);
  box-shadow: 0 6px 16px -12px rgba(36, 28, 24, 0.4);
  font-size: 0.82rem; color: var(--ink); min-height: 2.2rem;
}
.hs-ico { flex: none; width: 0.9rem; height: 0.9rem; color: var(--ink-3); }
.hs-typed { white-space: nowrap; overflow: hidden; }
.hs-caret {
  width: 1.5px; height: 0.95rem; background: var(--brand); flex: none;
  animation: srch-blink 1s steps(1) infinite;
}
html[data-rm] .hs-caret { animation: none; }

.hs-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.7rem; }
.hs-col { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.hs-k {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; color: var(--ink-3); padding-left: 0.1rem;
}
.hs-k .srch-g i { font-size: 0.8rem; }
.hs-k-t {
  margin-left: auto; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--brand); background: var(--brand-soft); border-radius: var(--r-pill);
  padding: 0.1rem 0.4rem;
}
.hs-ai-k { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; color: var(--ink-2); }
.hs-ai-k svg { width: 0.75rem; height: 0.75rem; color: var(--brand); }

.hs-r {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.42rem 0.5rem; border-radius: 0.75rem;
  background: var(--bg-2); border: 1px solid transparent;
  opacity: 0; translate: 0 8px;
}
html[data-rm] .hs-r { opacity: 1; translate: 0 0; }
.hs.is-active .hs-r { animation: bubble-in 460ms var(--ease-out) forwards; }
.hs.is-active .hs-r:nth-of-type(1) { animation-delay: 1200ms; }
.hs.is-active .hs-r:nth-of-type(2) { animation-delay: 1400ms; }
.hs.is-active .hs-r:nth-of-type(3) { animation-delay: 1600ms; }
.hs-r-you {
  background: var(--surface); border-color: rgba(226, 73, 43, 0.28);
  box-shadow: 0 8px 20px -14px rgba(226, 73, 43, 0.7);
}
.hs-pin { flex: none; width: 1.05rem; height: 1.05rem; color: var(--brand); }
.hs-pin svg { width: 100%; height: 100%; }
.hs-pin-dim { color: var(--ink-3); opacity: 0.5; }
.hs-rb { display: grid; gap: 0.05rem; min-width: 0; }
.hs-rb strong { font-size: 0.76rem; font-weight: 600; letter-spacing: -0.01em; }
.hs-rb span {
  font-size: 0.63rem; color: var(--ink-3); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.hs-rb b { color: var(--gold); font-weight: 700; }
.hs-rb em { font-style: normal; color: var(--green); font-weight: 600; }
.hs-rank {
  margin-left: auto; flex: none; font-size: 0.6rem; font-weight: 700; color: #FFF;
  background: var(--grad-warm); border-radius: var(--r-pill); padding: 0.12rem 0.42rem;
}

.hs-ai {
  padding: 0.6rem 0.7rem; border-radius: 0.9rem;
  background: var(--bg-2); border: 1px solid var(--edge);
}
.hs-ai p { font-size: 0.72rem; line-height: 1.45; color: var(--ink-2); min-height: 4.3em; }
.hs-ai p b { color: var(--ink); font-weight: 700; }
.hs-cite {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem;
  margin-top: 0.5rem; padding-top: 0.45rem; border-top: 1px dashed var(--edge);
  opacity: 0; transition: opacity var(--dur-3) var(--ease-out);
}
.hs-cite.is-in { opacity: 1; }
.hs-cite-k { font-size: 0.54rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.hs-chip {
  font-size: 0.6rem; color: var(--green); background: var(--green-soft);
  border: 1px solid rgba(63, 125, 92, 0.28); border-radius: var(--r-pill);
  padding: 0.14rem 0.45rem;
}

.feed-progress { display: flex; gap: 0.4rem; padding: 0 1.3rem 1.2rem; }
.feed-progress span {
  flex: 1; height: 2px; border-radius: var(--r-pill); background: var(--edge);
  overflow: hidden; position: relative;
}
.feed-progress span::after {
  content: ""; position: absolute; inset: 0; background: var(--grad-warm);
  transform: scaleX(0); transform-origin: left;
}
.feed-progress span.is-done::after { transform: scaleX(1); }
.feed-progress span.is-running::after { animation: feed-bar var(--feed-cycle, 7.5s) linear forwards; }
@keyframes feed-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.call-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--glass-2); border: 1px solid var(--edge);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: var(--r-pill); padding: 0.5rem 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.71rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink);
  box-shadow: var(--sh-2);
  animation: chip-float 7s var(--ease-soft) infinite alternate;
}
.call-chip svg { color: var(--brand); }
.chip-1 { top: -1.4rem; right: 1rem; transform: translateZ(70px); }
.chip-2 { bottom: -1.3rem; left: -0.8rem; transform: translateZ(48px); animation-delay: 2s; }
@keyframes chip-float { from { translate: 0 -4px; } to { translate: 0 6px; } }
html[data-rm] .call-chip { animation: none; }

/* ---------- Demo player ---------- */
.player-wrap { max-width: var(--wrap-max); }
.player {
  border-radius: var(--r-xl);
  border: 1px solid var(--edge);
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: var(--sh-3);
  overflow: hidden;
}

.player-stage {
  position: relative;
  aspect-ratio: 2.45 / 1;
  background:
    radial-gradient(34rem 20rem at 22% 18%, rgba(255, 107, 69, 0.18), transparent 65%),
    linear-gradient(160deg, #2E241F, #1A1512 60%, #241C18);
  color: #FBF6F1;
  overflow: hidden;
}
.player-glow {
  position: absolute; inset: auto -10% -40% -10%; height: 70%;
  background: radial-gradient(closest-side, rgba(226, 73, 43, 0.34), transparent 72%);
  filter: blur(50px); pointer-events: none;
  opacity: 0; transition: opacity var(--dur-3) var(--ease-out);
}
.player.is-playing .player-glow { opacity: 1; }

.player-scene {
  position: absolute; inset: 0;
  display: grid; align-content: space-between;
  padding: clamp(1.2rem, 0.9rem + 1.4vw, 2.2rem);
}

.player-caller { display: flex; align-items: center; gap: 0.85rem; }
.player-avatar {
  flex: none; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-warm); color: #FFF;
  box-shadow: 0 10px 26px -10px rgba(226, 73, 43, 0.8);
}
.player-avatar svg { width: 1.15rem; height: 1.15rem; }
.player-who { display: grid; line-height: 1.35; }
.player-who strong { font-weight: 600; font-size: 1rem; letter-spacing: -0.015em; }
.player-who span { font-size: 0.74rem; opacity: 0.62; }
.player-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em;
  color: #FFCDBC; background: rgba(226, 73, 43, 0.22);
  border: 1px solid rgba(255, 150, 120, 0.35);
  border-radius: var(--r-pill); padding: 0.32rem 0.8rem;
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.player.is-playing .player-live { opacity: 1; }
.player-live i { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: #FF7A55; }

/* waveform reacts to playback */
.player-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 0.25rem; height: 22%;
}
.player-wave i {
  width: 3px; height: 20%; border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255, 178, 148, 0.9), rgba(226, 73, 43, 0.75));
  transition: height 180ms var(--ease-out), opacity var(--dur-2) var(--ease-out);
  opacity: 0.5;
  /* idles quietly at rest so the stage never reads as an empty black box */
  animation: pw-idle 3.6s var(--ease-soft) infinite;
}
@keyframes pw-idle { 0%, 100% { height: 14%; } 50% { height: 32%; } }
.player.is-playing .player-wave i { opacity: 1; animation: pw 1.05s var(--ease-soft) infinite; }
.player-wave i:nth-child(3n) { animation-delay: 0.12s; }
.player-wave i:nth-child(3n+1) { animation-delay: 0.26s; }
.player-wave i:nth-child(4n) { animation-delay: 0.4s; }
@keyframes pw { 0%, 100% { height: 14%; } 50% { height: 72%; } }
html[data-rm] .player-wave i { animation: none !important; height: 40%; }

.player-caption {
  display: grid; gap: 0.5rem; justify-items: start;
  max-width: 40rem;
}
.player-speaker {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #FFB79C;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-pill); padding: 0.28rem 0.75rem;
}
.player-caption p {
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.35rem);
  font-weight: 400; line-height: 1.4; letter-spacing: -0.015em;
  text-wrap: balance;
}
.player-caption.is-caller .player-speaker { color: #CFE6D8; }

.player-result {
  position: absolute; right: clamp(1.2rem, 0.9rem + 1.4vw, 2.2rem); bottom: clamp(1.2rem, 0.9rem + 1.4vw, 2.2rem);
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1rem; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--sh-2);
  opacity: 0; translate: 0 14px; pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), translate var(--dur-2) var(--ease-out);
}
.player.is-done .player-result { opacity: 1; translate: 0 0; }
.pr-ico { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #FFF; }
.pr-ico svg { width: 0.95rem; height: 0.95rem; }
.player-result strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.player-result span { font-size: 0.72rem; color: var(--ink-3); }

.player-big {
  position: absolute; inset: 0; margin: auto;
  width: 4.6rem; height: 4.6rem; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.94); color: #1B1512;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.65);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.player-big svg { width: 1.7rem; height: 1.7rem; margin-left: 0.18rem; }
.player-big:hover { transform: scale(1.07); }
html[data-rm] .player-big:hover { transform: none; }
.player.is-playing .player-big { opacity: 0; pointer-events: none; transform: scale(0.9); }

/* control bar */
.player-bar {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem clamp(0.9rem, 0.7rem + 0.8vw, 1.4rem);
  border-top: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.6);
}
.player-btn {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: #FDF9F4; border: 0;
  transition: background-color var(--dur-1) var(--ease-out);
}
.player-btn:hover { background: var(--brand); }
.player-btn svg { width: 0.95rem; height: 0.95rem; grid-area: 1 / 1; }
.player-btn .ico-pause { display: none; }
.player.is-playing .player-btn .ico-play { display: none; }
.player.is-playing .player-btn .ico-pause { display: block; }

.player-track {
  position: relative; flex: 1; height: 0.4rem;
  border-radius: var(--r-pill); background: var(--bg-3);
  cursor: pointer;
}
.player-track:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.player-buffer { position: absolute; inset: 0; border-radius: inherit; background: var(--edge); }
.player-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  border-radius: inherit; background: var(--grad-warm);
}
.player-fill::after {
  content: ""; position: absolute; right: -0.32rem; top: 50%; translate: 0 -50%;
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background: #FFF; border: 2px solid var(--brand);
  box-shadow: var(--sh-1);
}
.player-cues { position: absolute; inset: 0; pointer-events: none; }
.player-cues i {
  position: absolute; top: 50%; translate: -50% -50%;
  width: 2px; height: 0.7rem; border-radius: 1px;
  background: rgba(36, 28, 24, 0.28);
}
.player-time { font-size: 0.76rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--edge-2); border-radius: var(--r-pill);
  padding: 0.28rem 0.7rem;
}

/* chapters */
.player-chapters {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--edge); border-top: 1px solid var(--edge);
}
.chapter {
  display: flex; align-items: center; gap: 0.8rem; text-align: left;
  padding: 1.1rem 1.2rem; cursor: pointer; border: 0;
  background: rgba(255, 255, 255, 0.55);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.chapter:hover { background: rgba(255, 255, 255, 0.85); }
.chapter.is-active { background: var(--surface); }
.ch-n {
  flex: none; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--ink-3);
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--edge-2);
}
.chapter.is-active .ch-n { background: var(--grad-warm); color: #FFF; border-color: transparent; }
.ch-b { display: grid; gap: 0.1rem; min-width: 0; }
.ch-b strong { font-size: 0.86rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.ch-b small { font-size: 0.72rem; color: var(--ink-3); }

/* ==========================================================================
   "Press this" cues — one shared affordance for anything interactive
   ========================================================================== */
/* doubled class so the cue wins over a target's own idle animation */
.is-cue.is-cue { position: relative; animation: cue-pulse 2.1s var(--ease-soft) infinite; }
@keyframes cue-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 73, 43, 0); }
  55% { box-shadow: 0 0 0 9px rgba(226, 73, 43, 0.15); }
}
html[data-rm] .is-cue.is-cue { animation: none; box-shadow: 0 0 0 3px rgba(226, 73, 43, 0.25); }
/* optional label that floats above the target */
.is-cue[data-cue]::after {
  content: attr(data-cue);
  position: absolute; z-index: 20; left: 50%; bottom: 100%;
  translate: -50% -0.5rem; white-space: nowrap; pointer-events: none;
  padding: 0.22rem 0.55rem; border-radius: var(--r-pill);
  background: var(--brand); color: #FFF;
  font-family: var(--font-ui); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -10px rgba(226, 73, 43, 0.9);
  animation: cue-bob 1.7s var(--ease-soft) infinite;
}
@keyframes cue-bob {
  0%, 100% { translate: -50% -0.5rem; }
  50% { translate: -50% -0.85rem; }
}
html[data-rm] .is-cue[data-cue]::after { animation: none; }
/* calendar events clip their own overflow — let the cue label out */
.gc-ev.is-cue { overflow: visible; }

/* ---------- Explore / zoom ---------- */
/* sits under the scene in normal flow, so it never covers the composition */
.hero-explore { position: relative; z-index: 6; display: flex; justify-content: flex-start; margin-top: 2.4rem; }
.explore-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.55rem; text-align: left;
  padding: 0.4rem 0.55rem 0.4rem 0.4rem; border-radius: var(--r-pill); cursor: pointer;
  background: var(--grad-warm); border: 1px solid transparent;
  color: #FFF;
  box-shadow: 0 16px 34px -16px rgba(226, 73, 43, 0.85), 0 2px 6px rgba(36, 28, 24, 0.08);
  animation: xb-pulse 2.6s var(--ease-soft) infinite;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
              filter var(--dur-1) var(--ease-out);
}
@keyframes xb-pulse {
  0%, 100% { box-shadow: 0 16px 34px -16px rgba(226, 73, 43, 0.85), 0 0 0 0 rgba(226, 73, 43, 0); }
  55% { box-shadow: 0 16px 34px -16px rgba(226, 73, 43, 0.85), 0 0 0 10px rgba(226, 73, 43, 0.14); }
}
html[data-rm] .explore-btn { animation: none; }
.xb-ico {
  flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.2); color: #FFF;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}
.xb-ico svg { width: 0.8rem; height: 0.8rem; }
.xb-txt { display: grid; gap: 0.05rem; line-height: 1.25; }
.xb-txt strong { font-size: 0.74rem; font-weight: 700; letter-spacing: -0.01em; }
.xb-txt small { font-size: 0.62rem; color: rgba(255, 255, 255, 0.82); }
.xb-go {
  flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center; color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.14);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1) var(--ease-out);
}
.xb-go svg { width: 0.7rem; height: 0.7rem; }
.explore-btn:hover {
  transform: translateY(-3px); filter: saturate(1.08) brightness(1.04);
  box-shadow: 0 22px 44px -18px rgba(226, 73, 43, 0.95); animation: none;
}
.explore-btn:hover .xb-go { transform: translateX(3px); background: rgba(255, 255, 255, 0.28); }
.explore-btn:focus-visible { outline: 3px solid rgba(226, 73, 43, 0.35); outline-offset: 3px; }
html[data-rm] .explore-btn:hover, html[data-rm] .explore-btn:hover .xb-go { transform: none; }

.zoomer { position: fixed; inset: 0; z-index: 90; }
.zoomer[hidden] { display: none; }
.zoom-scrim {
  position: absolute; inset: 0;
  background: rgba(26, 20, 17, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: zs-in var(--dur-2) var(--ease-out);
}
@keyframes zs-in { from { opacity: 0; } }
.zoom-panel {
  position: absolute; inset: 0; margin: auto;
  width: min(72rem, calc(100vw - 2.5rem));
  height: min(45rem, calc(100vh - 2.5rem));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--edge);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.6);
  animation: zp-in 380ms var(--ease-out);
}

/* main column: head + view tabs + stage */
.zoom-main {
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  min-height: 0; overflow: hidden;
}
.zoom-head { padding: 2rem 2.4rem 1.2rem; display: grid; gap: 1.3rem; }
.zoom-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.zv-tab {
  padding: 0.5rem 1.05rem; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--edge); background: var(--glass);
  font-size: 0.83rem; font-weight: 600; color: var(--ink-3);
  transition: color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out);
}
.zv-tab:hover { color: var(--ink); border-color: var(--edge-2); }
.zv-tab.is-active {
  background: linear-gradient(180deg, #2E251F, #1B1512); color: #FDF9F4; border-color: transparent;
}

.zoom-stage {
  position: relative; min-height: 0;
  display: grid; padding: 0 2.4rem 2.4rem;
  overflow: hidden;
}
.zv {
  grid-area: 1 / 1; min-height: 0;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center; gap: 1.1rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.zv.is-active { opacity: 1; visibility: visible; transition: opacity var(--dur-2) var(--ease-out); }
.zv-cap { font-size: 0.83rem; color: var(--ink-3); text-align: center; max-width: 34rem; }

/* ==========================================================================
   iPhone — chassis + iOS surfaces
   One device shell, used by the hero and the explore overlay. Everything
   inside the screen is sized in cqw so the same iOS layout holds at any size
   (rem values are declared first as a fallback for older engines).
   ========================================================================== */
.device {
  position: relative;
  aspect-ratio: 1 / 2.06;
  padding: 1.35%;
  border-radius: 13.6% / 6.6%;
  background:
    linear-gradient(145deg, #E8E4DF 0%, #8E877F 16%, #4A443E 32%, #6E675F 52%, #2E2A26 74%, #B4ADA4 100%);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.55),
    0 1px 1px rgba(255, 255, 255, 0.55) inset,
    0 -1px 1px rgba(0, 0, 0, 0.35) inset,
    0 40px 80px -34px rgba(36, 28, 24, 0.62);
  isolation: isolate;
}
.device::after {
  /* inner black bezel between the titanium band and the glass */
  content: ""; position: absolute; inset: 1.1%;
  border-radius: 12.6% / 6.1%;
  background: #050505;
  z-index: 0;
}
.device { height: 100%; max-height: 100%; }

/* side buttons */
.dv-b { position: absolute; width: 1.5%; border-radius: 2px; z-index: 2; }
.dv-b::after { content: ""; position: absolute; inset: 0 -0.5px; border-radius: inherit; background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(0,0,0,.35)); }
.dv-b-mute { left: -1.2%; top: 15%; height: 3.4%; background: #6E675F; }
.dv-b-up { left: -1.2%; top: 21.5%; height: 6.4%; background: #6E675F; }
.dv-b-down { left: -1.2%; top: 29.5%; height: 6.4%; background: #6E675F; }
.dv-b-power { right: -1.2%; top: 24%; height: 9%; background: #6E675F; }

.device-screen {
  position: relative; z-index: 1; height: 100%; overflow: hidden;
  border-radius: 12.4% / 6%;
  container-type: inline-size;
  color: #FFF;
  font-family: var(--font-ios);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
}

/* ---------- wallpaper ---------- */
.ios-wall {
  background:
    radial-gradient(80% 55% at 18% 6%, rgba(255, 178, 120, 0.55), transparent 62%),
    radial-gradient(95% 60% at 88% 22%, rgba(226, 73, 43, 0.55), transparent 66%),
    radial-gradient(120% 80% at 70% 92%, rgba(58, 46, 40, 0.85), transparent 70%),
    radial-gradient(90% 70% at 10% 88%, rgba(120, 62, 120, 0.5), transparent 68%),
    linear-gradient(168deg, #2A2036 0%, #3E2A2C 34%, #1C1B24 68%, #0B0A0E 100%);
}
.ios-wall::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.5));
}

/* ---------- Dynamic Island + status bar ---------- */
.ios-island {
  position: absolute; z-index: 7; top: 2.9cqw; left: 50%; translate: -50% 0;
  width: 31.5cqw; height: 9.4cqw; border-radius: 999px;
  background: #000;
  display: grid; align-items: center; justify-items: end;
  padding-right: 2.4cqw;
}
.ios-island i {
  width: 2.6cqw; height: 2.6cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #35405C, #0B0E16 70%);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.08);
}
.ios-status {
  position: absolute; z-index: 6; top: 0; left: 0; right: 0;
  height: 13.5cqw; padding: 0 7.4cqw;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.62rem; font-size: 4.3cqw;
  font-weight: 600; letter-spacing: -0.01em;
  text-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.28);
}
.ios-time { margin-top: 0.6cqw; font-variant-numeric: tabular-nums; }
.ios-ind { display: inline-flex; align-items: center; gap: 1.3cqw; margin-top: 0.6cqw; }
.ios-i { height: 0.6rem; height: 3.1cqw; width: auto; }
.ios-batt { height: 0.62rem; height: 3.35cqw; }

/* ---------- lock screen ---------- */
.ios-lock {
  position: absolute; inset: 0; z-index: 3;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 15cqw 4cqw 3.5cqw;
  transition: opacity var(--dur-2) var(--ease-out), filter var(--dur-2) var(--ease-out);
}
.ios-lockhead { display: grid; justify-items: center; text-align: center; }
.ios-padlock { width: 4.4cqw; height: 4.4cqw; opacity: 0.92; margin-bottom: 1.6cqw; }
.ios-date { font-size: 0.66rem; font-size: 4.3cqw; font-weight: 600; letter-spacing: -0.01em; opacity: 0.95; }
.ios-clock {
  font-family: var(--font-ios);
  font-size: 3.3rem; font-size: 24cqw;
  font-weight: 500; line-height: 1.02; letter-spacing: -0.02em;
  margin-top: 0.4cqw;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
  font-variant-numeric: tabular-nums;
}
.ios-notifs { align-self: end; display: grid; gap: 2cqw; padding: 0 1.2cqw; margin-bottom: 2cqw; }

/* notification card */
.ln, .pn {
  display: flex; gap: 2.6cqw; align-items: flex-start;
  padding: 3cqw 3.2cqw; border-radius: 5.4cqw;
  background: rgba(255, 255, 255, 0.17);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.6);
  animation: ln-in 520ms var(--ease-out) backwards;
  text-align: left;
}
@keyframes ln-in { from { opacity: 0; translate: 0 14px; scale: 0.96; } }
html[data-rm] .ln, html[data-rm] .pn { animation: none; }
.ln.is-out, .pn.is-out { animation: ln-out 380ms var(--ease-out) forwards; }
@keyframes ln-out { to { opacity: 0; translate: 0 -10px; scale: 0.97; } }
.ln-app {
  flex: none; width: 9.4cqw; height: 9.4cqw; border-radius: 2.6cqw;
  display: grid; place-items: center; background: var(--grad-warm);
  box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.5);
}
.ln-app svg { width: 80%; height: 80%; }
.ln-b { min-width: 0; flex: 1; }
.ln-top { display: flex; align-items: baseline; gap: 1.2cqw; }
.ln-name { font-size: 0.55rem; font-size: 3.1cqw; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; opacity: 0.86; }
.ln-when { margin-left: auto; font-size: 0.55rem; font-size: 3.1cqw; opacity: 0.66; }
.ln-t { font-size: 0.7rem; font-size: 3.8cqw; font-weight: 600; line-height: 1.28; letter-spacing: -0.01em; margin-top: 0.3cqw; }
.ln-s { font-size: 0.64rem; font-size: 3.7cqw; opacity: 0.82; line-height: 1.3; letter-spacing: -0.01em; }

/* torch + camera, home indicator */
.ios-tray {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3.4cqw 1.6cqw;
}
.ios-tray-b {
  width: 12.7cqw; height: 12.7cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.28); color: #FFF;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ios-tray-b svg { width: 5.6cqw; height: 5.6cqw; }
.ios-home {
  display: block; width: 35.5cqw; height: 1.35cqw; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); margin: 1.4cqw auto 0;
}

/* ---------- hero phone: notifications only ---------- */
.phone .ios-lock { padding-top: 14cqw; }
.phone .lock-cta { display: none; }

/* ---------- interactive phone view (explore) ---------- */
.pv {
  display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center;
  width: 100%; max-width: 40rem; min-height: 0; align-self: stretch;
}
.pv > .device { justify-self: center; align-self: center; height: 100%; max-height: 30rem; }
.pv.is-busy .pv-lock { opacity: 0; filter: blur(3px); }
.pv.is-busy .lock-cta { opacity: 0; }

.lock-cta { display: grid; place-items: center; padding-bottom: 2cqw; }
.pv-demo {
  display: inline-flex; align-items: center; gap: 2cqw; cursor: pointer;
  padding: 2.2cqw 4.4cqw 2.2cqw 2.2cqw; border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #FFF; font-family: var(--font-ios);
  font-size: 0.74rem; font-size: 3.9cqw; font-weight: 600; letter-spacing: -0.01em;
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  animation: vm-nudge 2.6s var(--ease-soft) infinite;
}
.pv-demo:hover { background: var(--brand); border-color: transparent; transform: translateY(-2px); animation: none; }
html[data-rm] .pv-demo { animation: none; }
.pv-demo-i { flex: none; width: 8cqw; height: 8cqw; border-radius: 2.4cqw; display: grid; place-items: center; background: var(--grad-warm); }
.pv-demo-i svg { width: 76%; height: 76%; }

/* ---------- iOS call screens ---------- */
.pv-screenlayer {
  position: absolute; inset: 0; z-index: 4;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 17cqw 6cqw 3.5cqw; text-align: center;
  background:
    linear-gradient(180deg, rgba(14, 12, 11, 0.42), rgba(10, 9, 8, 0.72) 45%, rgba(8, 7, 7, 0.88));
  backdrop-filter: blur(26px) saturate(1.15); -webkit-backdrop-filter: blur(26px) saturate(1.15);
  animation: pv-fade 320ms var(--ease-out);
}
.pv-screenlayer[hidden] { display: none; }
@keyframes pv-fade { from { opacity: 0; } }
html[data-rm] .pv-screenlayer { animation: none; }

.ic-top { display: grid; justify-items: center; align-content: start; }
.ic-avatar {
  width: 20cqw; height: 20cqw; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 3.4cqw;
  background: rgba(255, 255, 255, 0.2);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  font-size: 1.15rem; font-size: 7.4cqw; font-weight: 400; color: #FFF;
}
.ic-avatar-fd { background: var(--grad-warm); border-color: transparent; }
.ic-avatar-fd svg { width: 54%; height: 54%; }
.ic-name { font-size: 1.32rem; font-size: 8.6cqw; font-weight: 400; letter-spacing: -0.02em; line-height: 1.14; }
.ic-sub { font-size: 0.72rem; font-size: 4.3cqw; opacity: 0.68; margin-top: 0.8cqw; font-variant-numeric: tabular-nums; }

.ic-bottom { display: grid; gap: 4.5cqw; align-content: end; }
.ic-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; }
.ic-mini-b { display: grid; justify-items: center; gap: 1.6cqw; font-size: 0.6rem; font-size: 3.4cqw; opacity: 0.92; }
.ic-mini-b i {
  width: 13.5cqw; height: 13.5cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.17); color: #FFF;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ic-mini-b svg { width: 5.8cqw; height: 5.8cqw; }

.ic-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; padding: 0 3cqw; }
.ic-act { display: grid; justify-items: center; gap: 2cqw; font-size: 0.64rem; font-size: 3.6cqw; opacity: 0.95; }
.ic-btn {
  width: 18.3cqw; height: 18.3cqw; border-radius: 50%;
  display: grid; place-items: center; color: #FFF;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.8);
}
.ic-btn svg { width: 8cqw; height: 8cqw; }
.ic-decline { background: #FF3B30; }
.ic-decline svg { transform: rotate(135deg); }
.ic-accept { background: #34C759; animation: ic-jiggle 1.6s var(--ease-soft) infinite; }
@keyframes ic-jiggle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
html[data-rm] .ic-accept { animation: none; }

/* in-call */
.lv-mid { display: grid; align-content: center; justify-items: center; gap: 1cqw; padding: 0 2cqw; }
.lv-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4.2cqw 6cqw; margin-bottom: 5cqw; }
.lv-key { display: grid; justify-items: center; gap: 1.4cqw; font-size: 0.56rem; font-size: 3.2cqw; opacity: 0.92; }
.lv-key i {
  width: 17.3cqw; height: 17.3cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.17); color: #FFF;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lv-key svg { width: 7.4cqw; height: 7.4cqw; }
.lv-end { display: grid; place-items: center; gap: 1cqw; }

.cs-kicker { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.62; }
.cs-kicker-on { display: inline-flex; align-items: center; gap: 0.4rem; opacity: 1; color: #9FE3BE; }
.cs-kicker-on i { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: #6FD79E; }

.cs-wave { display: flex; align-items: center; justify-content: center; gap: 0.9cqw; height: 7cqw; margin-bottom: 1.5cqw; }
.cs-wave i {
  width: 0.8cqw; height: 20%; border-radius: 999px;
  background: linear-gradient(180deg, #FFB79C, #E2492B);
  animation: cs-talk 1s var(--ease-soft) infinite;
}
.cs-wave i:nth-child(2n) { animation-delay: 0.12s; }
.cs-wave i:nth-child(3n) { animation-delay: 0.26s; }
.cs-wave i:nth-child(4n) { animation-delay: 0.4s; }
@keyframes cs-talk { 0%, 100% { height: 16%; } 50% { height: 90%; } }
html[data-rm] .cs-wave i { animation: none; height: 45%; }

.cs-speaker { font-size: 0.56rem; font-size: 3cqw; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #FFB79C; }
.cs-cap { font-size: 0.76rem; font-size: 4.1cqw; line-height: 1.38; min-height: 3.2em; letter-spacing: -0.01em; }

/* the one thing you actually click */
.pv-vm {
  display: flex; align-items: center; gap: 2.4cqw; width: 100%; cursor: pointer;
  padding: 2.4cqw 3cqw; border-radius: 999px; text-align: left;
  background: rgba(255, 255, 255, 0.16);
  border: 0.5px solid rgba(255, 255, 255, 0.26);
  color: #FFF; font-family: var(--font-ios);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  animation: vm-nudge 2.6s var(--ease-soft) infinite;
}
@keyframes vm-nudge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 100, 0); }
  50% { box-shadow: 0 0 0 6px rgba(255, 138, 100, 0.14); }
}
html[data-rm] .pv-vm { animation: none; }
.pv-vm:hover, .pv-vm:focus-visible {
  background: var(--brand); border-color: transparent; transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(226, 73, 43, 0.9);
  animation: none;
}
.pv-vm.is-hit { background: var(--brand); border-color: transparent; transform: scale(0.96); animation: none; }
.pv-vm-i {
  flex: none; width: 8.4cqw; height: 8.4cqw; border-radius: 2.4cqw;
  display: grid; place-items: center; background: var(--grad-warm);
}
.pv-vm:hover .pv-vm-i, .pv-vm.is-hit .pv-vm-i { background: rgba(0, 0, 0, 0.25); }
.pv-vm-i svg { width: 74%; height: 74%; }
.pv-vm-t { font-size: 0.7rem; font-size: 3.8cqw; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.pv-vm-t small { display: block; font-size: 0.58rem; font-size: 3.2cqw; font-weight: 400; opacity: 0.74; }

/* side rail */
.pv-side, .cs-side { display: grid; gap: 1.2rem; align-content: center; justify-items: start; }
.pv-hint {
  font-size: 0.86rem; color: var(--ink-2); font-weight: 500;
  padding: 0.7rem 0.95rem; border-radius: var(--r-md);
  background: var(--brand-soft); border: 1px solid rgba(226, 73, 43, 0.22);
}
.cs-steps { list-style: none; display: grid; gap: 1rem; }
.cs-steps li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem;
  opacity: 0.4; transition: opacity var(--dur-2) var(--ease-out);
}
.cs-steps li.is-on { opacity: 1; }
.cs-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%; margin-top: 0.35rem;
  background: var(--edge-2);
  transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.cs-steps li.is-on .cs-dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(226, 73, 43, 0.14); }
.cs-steps strong { display: block; font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em; }
.cs-steps span { font-size: 0.78rem; color: var(--ink-3); }
.cs-replay {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  padding: 0.45rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--edge-2); background: var(--glass);
  font-size: 0.78rem; font-weight: 600; color: var(--ink-2);
  transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.cs-replay:hover { color: var(--ink); border-color: var(--ink); }
.cs-replay svg { width: 0.8rem; height: 0.8rem; }
.pv-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pv-torecord {
  display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer;
  padding: 0.45rem 1rem; border-radius: var(--r-pill); border: 0;
  background: linear-gradient(180deg, #2E251F, #1B1512); color: #FDF9F4;
  font-size: 0.78rem; font-weight: 600;
  transition: background-color var(--dur-1) var(--ease-out);
}
.pv-torecord[hidden] { display: none; }
.pv-torecord:hover { background: var(--brand); }
.pv-torecord svg { width: 0.8rem; height: 0.8rem; }


/* event detail popover */
.gc-pop {
  position: absolute; z-index: 8; left: 50%; top: 50%; translate: -50% -50%;
  width: min(15rem, 88%);
  display: grid; gap: 0.3rem;
  padding: 0.95rem 1rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--edge-2);
  box-shadow: var(--sh-3);
  animation: gc-pop 240ms var(--ease-out);
}
.gc-pop[hidden] { display: none; }
html[data-rm] .gc-pop { animation: none; }
.gc-pop-x {
  position: absolute; top: 0.35rem; right: 0.5rem; cursor: pointer;
  border: 0; background: transparent; color: var(--ink-3);
  font-size: 1.1rem; line-height: 1; padding: 0.2rem;
}
.gc-pop-x:hover { color: var(--ink); }
.gc-pop-k {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: var(--r-pill); justify-self: start;
}
.gc-pop-k.k-fd { color: var(--brand-deep); background: var(--brand-soft); }
.gc-pop-k.k-own { color: #1A4FA8; background: #E3ECFD; }
.gc-pop strong { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em; }
.gc-pop-when { font-size: 0.75rem; color: var(--ink-3); }
.gc-pop-rows { display: grid; gap: 0.25rem; margin-top: 0.4rem; padding-top: 0.5rem; border-top: 1px solid var(--edge); }
.gc-pop-rows span { font-size: 0.72rem; color: var(--ink-2); }
.gc-pop-rows b { color: var(--ink-3); font-weight: 500; }

/* ============ 2. Call record ============ */
.cd {
  width: 100%; max-width: 33rem; align-self: center;
  display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  max-height: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--edge); background: var(--surface);
  box-shadow: var(--sh-2);
}
.cd-head {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--edge);
  background: var(--bg-2);
}
.cd-av {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-warm); color: #FFF;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
}
.cd-who { display: grid; gap: 0.12rem; min-width: 0; }
.cd-who strong { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em; }
.cd-who span { font-size: 0.72rem; color: var(--ink-3); }
.cd-dur {
  margin-left: auto; flex: none; font-size: 0.75rem; font-weight: 600;
  color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--edge-2); border-radius: var(--r-pill); padding: 0.24rem 0.65rem;
  font-variant-numeric: tabular-nums;
}

.cd-rec {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--edge);
}
.cd-play {
  flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 0;
  background: var(--ink); color: #FDF9F4;
  transition: background-color var(--dur-1) var(--ease-out);
}
.cd-play:hover { background: var(--brand); }
.cd-play svg { width: 0.8rem; height: 0.8rem; grid-area: 1 / 1; }
.cd-play .ico-play { margin-left: 0.1rem; }
.cd-play .ico-pause { display: none; }
.cd-play.is-on .ico-play { display: none; }
.cd-play.is-on .ico-pause { display: block; }

.cd-wave {
  flex: 1; height: 1.6rem; border-radius: 3px;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px);
  mask-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px);
  background-image:
    linear-gradient(180deg, transparent 22%, var(--brand) 22% 78%, transparent 78%),
    linear-gradient(180deg, transparent 8%, var(--edge-2) 8% 92%, transparent 92%);
  background-size: var(--pos, 0%) 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
  transition: background-size 120ms linear;
}
.cd-rt { font-size: 0.72rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

.cd-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.85rem 1.25rem 0.2rem; }
.cd-tag {
  font-size: 0.68rem; font-weight: 600; color: var(--ink-2);
  background: var(--bg-2); border: 1px solid var(--edge);
  border-radius: var(--r-pill); padding: 0.26rem 0.7rem;
}
.cd-tag-red { color: var(--brand); background: var(--brand-soft); border-color: rgba(226, 73, 43, 0.3); }
.cd-tag-green { color: var(--green); background: var(--green-soft); border-color: rgba(63, 125, 92, 0.3); }

.cd-thread { display: grid; gap: 0.7rem; padding: 1rem 1.25rem; overflow-y: auto; min-height: 0; }
.cd-line { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.7rem; align-items: start; }
.cd-ts { font-size: 0.68rem; color: var(--ink-3); padding-top: 0.45rem; font-variant-numeric: tabular-nums; }
.cd-msg { padding: 0.6rem 0.85rem; border-radius: var(--r-md); font-size: 0.86rem; line-height: 1.45; }
.cd-sp { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.2rem; }
.cd-ai { background: var(--bg-2); border: 1px solid var(--edge); color: var(--ink); border-top-left-radius: 6px; }
.cd-ai .cd-sp { color: var(--brand); }
.cd-them { background: var(--indigo-soft); border: 1px solid rgba(69, 80, 127, 0.22); color: var(--ink); border-top-left-radius: 6px; }
.cd-them .cd-sp { color: var(--indigo); }

.cd-out {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.95rem 1.25rem; border-top: 1px solid var(--edge);
  background: var(--green-soft);
}
.cd-out-i {
  flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #FFF;
}
.cd-out-i svg { width: 0.9rem; height: 0.9rem; }
.cd-out strong { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.cd-out span { font-size: 0.73rem; color: var(--ink-2); }

/* ============ 3. Google-Calendar-style week ============ */
.gc {
  width: 100%; max-width: 40rem; align-self: center; max-height: 100%;
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--edge); background: var(--surface);
  box-shadow: var(--sh-2);
}
.gc-bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--edge);
}
.gc-burger { display: grid; gap: 3px; padding: 0.2rem; }
.gc-burger i { display: block; width: 1rem; height: 1.6px; border-radius: 2px; background: var(--ink-3); }
.gc-brand { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; }
.gc-today-btn {
  font-size: 0.72rem; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--edge-2); border-radius: 4px; padding: 0.25rem 0.65rem;
}
.gc-arrows { display: inline-flex; gap: 0.1rem; color: var(--ink-3); }
.gc-arrows i { width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; }
.gc-arrows svg { width: 0.8rem; height: 0.8rem; }
.gc-title { font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; }
.gc-views { margin-left: auto; display: inline-flex; border: 1px solid var(--edge-2); border-radius: var(--r-pill); overflow: hidden; }
.gc-vb {
  font-size: 0.72rem; font-weight: 600; padding: 0.34rem 0.85rem; cursor: pointer;
  border: 0; background: transparent; color: var(--ink-3);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.gc-vb:hover { color: var(--ink); }
.gc-vb.is-active { background: var(--ink); color: #FDF9F4; }

/* month grid */
.gc-week[hidden], .gc-month[hidden] { display: none; }
.gc-month { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.gm-head {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--edge); background: var(--bg-2);
}
.gm-head span {
  padding: 0.5rem 0.3rem; text-align: center;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.09em; color: var(--ink-3);
}
.gm-grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: minmax(3.4rem, 1fr); min-height: 0; overflow-y: auto;
}
.gm-cell {
  border-right: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  padding: 0.28rem 0.3rem; display: grid; align-content: start; gap: 0.15rem;
  animation: gc-pop 340ms var(--ease-out) backwards;
}
html[data-rm] .gm-cell { animation: none; }
.gm-cell:nth-child(7n) { border-right: 0; }
.gm-out { background: var(--bg-2); }
.gm-cell b {
  font-size: 0.66rem; font-weight: 500; color: var(--ink-3);
  width: 1.25rem; height: 1.25rem; display: grid; place-items: center; border-radius: 50%;
}
.gm-today b { background: #1A73E8; color: #FFF; font-weight: 600; }
.gm-ev {
  font-style: normal; font-size: 0.52rem; font-weight: 600; line-height: 1.25;
  padding: 0.12rem 0.28rem; border-radius: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gm-own { background: #4285F4; color: #FFF; }
.gm-fd { background: var(--brand); color: #FFF; }

.gc-days {
  display: grid; grid-template-columns: 3.2rem repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--edge); background: var(--bg-2);
}
.gc-day { display: grid; justify-items: center; gap: 0.15rem; padding: 0.5rem 0.2rem 0.45rem; }
.gc-day i { font-style: normal; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-3); }
.gc-day b {
  font-size: 1.15rem; font-weight: 400; color: var(--ink-2);
  width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%;
}
/* today marker follows the calendar's own convention, not our brand */
.gc-today b { background: #1A73E8; color: #FFF; font-weight: 500; }
.gc-today i { color: #1A73E8; font-weight: 600; }

.gc-body {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr);
  overflow-y: auto; min-height: 0;
}
.gc-hours { display: grid; }
.gc-hours span {
  height: 3rem; font-size: 0.62rem; color: var(--ink-3);
  padding-right: 0.5rem; text-align: right; transform: translateY(-0.4em);
}
.gc-grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gc-lines { position: absolute; inset: 0; display: grid; grid-column: 1 / -1; pointer-events: none; }
.gc-lines i { height: 3rem; border-top: 1px solid var(--edge); }
.gc-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--edge) calc(20% - 1px) 20%);
}
/* current-time indicator */
.gc-now {
  position: absolute; left: 0; right: 0; top: 34%; z-index: 4; pointer-events: none;
  border-top: 2px solid var(--brand);
}
.gc-now i {
  position: absolute; left: -3px; top: -5px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.gc-ev {
  position: absolute; z-index: 3; cursor: pointer; text-align: left;
  border: 0; border-left-style: solid; font-family: inherit;
  margin: 1px 3px; padding: 0.3rem 0.4rem;
  border-radius: 6px; overflow: hidden;
  display: grid; align-content: start; gap: 0.05rem;
  font-size: 0.63rem; line-height: 1.2;
  animation: gc-pop 420ms var(--ease-out) backwards;
}
@keyframes gc-pop { from { opacity: 0; translate: 0 6px; } }
html[data-rm] .gc-ev { animation: none; }
.gc-ev strong { font-weight: 600; font-size: 0.65rem; }
.gc-ev span { opacity: 0.78; font-size: 0.58rem; }
/* solid event chips, the way a calendar actually renders them */
.gc-own { background: #4285F4; color: #FFF; border-left: 0; }
.gc-fd { background: var(--brand); color: #FFF; border-left: 0; }
.gc-ev strong { font-weight: 500; }
.gc-ev span { opacity: 0.85; }
.gc-ev:hover, .gc-ev:focus-visible {
  filter: brightness(0.97);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(36, 28, 24, 0.5);
  outline: none;
}
.gc-ev.is-sel { box-shadow: 0 0 0 2px var(--ink); }
.gc-ev:nth-of-type(2) { animation-delay: 90ms; }
.gc-ev:nth-of-type(3) { animation-delay: 160ms; }
.gc-ev:nth-of-type(4) { animation-delay: 230ms; }
.gc-ev:nth-of-type(5) { animation-delay: 300ms; }
.gc-ev:nth-of-type(6) { animation-delay: 370ms; }

.gc-legend {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem;
  padding: 0.75rem 1.15rem; border-top: 1px solid var(--edge); background: var(--bg-2);
}
.gc-legend span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.71rem; color: var(--ink-3); }
.gc-k { width: 0.85rem; height: 0.85rem; border-radius: 3px; }
.gc-k-own { background: #4285F4; }
.gc-k-fd { background: var(--brand); }

/* side rail */
.zs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.zs-stat {
  display: grid; gap: 0.15rem; padding: 0.85rem 0.6rem; text-align: center;
  border-radius: var(--r-md); border: 1px solid var(--edge); background: var(--glass);
}
.zs-stat strong {
  font-family: var(--font-display); font-weight: 500; font-size: 1.35rem;
  letter-spacing: -0.03em; color: var(--brand);
}
.zs-stat span { font-size: 0.66rem; color: var(--ink-3); line-height: 1.3; }
.zs-lede { font-size: 0.92rem; color: var(--ink-2); }
.zs-cta { display: grid; gap: 0.6rem; width: 100%; }
@keyframes zp-in { from { opacity: 0; transform: scale(0.96) translateY(12px); } }
html[data-rm] .zoom-scrim, html[data-rm] .zoom-panel { animation: none; }

.zoom-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 5;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--edge);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  transition: background-color var(--dur-1) var(--ease-out);
}
.zoom-close:hover { background: var(--surface); }
.zoom-close svg { width: 1rem; height: 1rem; }

.zoom-side {
  display: grid; align-content: start; gap: 1.3rem; justify-items: start;
  padding: 2.2rem 2rem;
  border-left: 1px solid var(--edge);
  background: var(--bg-2);
  overflow-y: auto;
}
.zoom-title { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; letter-spacing: -0.025em; }
.zoom-sub { color: var(--ink-2); font-size: 0.94rem; }
.zoom-list { list-style: none; display: grid; gap: 0.65rem; margin-top: 0.3rem; }
.zoom-list li { position: relative; padding-left: 1.6rem; font-size: 0.89rem; color: var(--ink-2); }
.zoom-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--grad-warm);
}
body.zoom-open { overflow: hidden; }

/* ---------- Demo widget (legacy) ---------- */
.demo { position: relative; padding-block: var(--space-section); overflow: clip; }
.demo-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center;
}
.demo-copy { display: grid; justify-items: start; gap: 1.3rem; }
.demo-scenarios { list-style: none; display: grid; gap: 0.7rem; width: 100%; max-width: 26rem; }
.demo-pick {
  display: flex; align-items: center; gap: 0.9rem; width: 100%;
  text-align: left; cursor: pointer;
  background: var(--glass); border: 1px solid var(--edge);
  border-radius: var(--r-md); padding: 0.95rem 1.15rem;
  font-size: 0.94rem; font-weight: 600; color: var(--ink-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out),
              transform var(--dur-2) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.demo-pick:hover { transform: translateX(4px); border-color: var(--edge-2); color: var(--ink); }
html[data-rm] .demo-pick:hover { transform: none; }
.demo-pick.is-active {
  background: var(--surface); border-color: var(--brand); color: var(--ink);
  box-shadow: var(--sh-2);
}
.demo-pick .pick-ico {
  flex: none; width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
}
.demo-pick.is-active .pick-ico { background: var(--grad-warm); color: #FFF; }
.demo-pick .pick-ico svg { width: 1.05rem; height: 1.05rem; }
.demo-pick small { display: block; font-weight: 400; font-size: 0.78rem; color: var(--ink-3); }

.demo-stage { position: relative; perspective: 1500px; }
.demo-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3);
  transform: rotateY(-6deg) rotateX(3deg); transform-style: preserve-3d;
  transition: transform var(--dur-3) var(--ease-out);
}
.demo-stage:hover .demo-card { transform: rotateY(0) rotateX(0); }
html[data-rm] .demo-card { transform: none; }
.demo-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid rgba(226, 73, 43, 0.28);
  border-radius: var(--r-pill); padding: 0.3rem 0.7rem;
}
.demo-thread { display: grid; gap: 0.6rem; padding: 1.3rem; min-height: 16rem; align-content: start; }
.demo-thread .bubble { opacity: 0; translate: 0 12px; animation: bubble-in 460ms var(--ease-out) forwards; }
.demo-thread .bubble:nth-child(1) { animation-delay: 80ms; }
.demo-thread .bubble:nth-child(2) { animation-delay: 620ms; }
.demo-thread .bubble:nth-child(3) { animation-delay: 1240ms; }
.demo-thread .bubble:nth-child(4) { animation-delay: 1860ms; }
.demo-thread .bubble:nth-child(5) { animation-delay: 2480ms; }
.demo-foot {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.3rem; border-top: 1px solid var(--edge);
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-3);
  background: rgba(255, 255, 255, 0.5);
}
.demo-replay {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: 1px solid var(--edge-2); border-radius: var(--r-pill);
  padding: 0.35rem 0.9rem; font-size: 0.7rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: border-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.demo-replay:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Integrations ---------- */
.integrations { position: relative; padding-block: var(--space-section); overflow: clip; }

/* two logo rails, alternating direction.
   Each rail pads itself so a lifted chip's shadow isn't sliced by the
   overflow box (that was the horizontal cut across the glow on hover). */
.int-rails {
  display: grid; gap: 0;
  margin-block: clamp(2.5rem, 2rem + 2vw, 4rem);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.int-rail { overflow: hidden; padding-block: 1.15rem; }
/* the track is cloned in JS until it is at least twice the rail's width, so a
   full set is always waiting off-screen — the rail can never show a gap. The
   gap lives on the chips (not on the flex container) so one set is an exact
   fraction of the track and the loop point is seamless. */
.int-track {
  display: flex; width: max-content;
  animation: int-scroll linear infinite;
  animation-duration: var(--rail-dur, 62s);
}
.int-track > * { margin-right: 0.9rem; }
.int-rail-rev .int-track { animation-direction: reverse; }
.int-rails:hover .int-track { animation-play-state: paused; }
html[data-rm] .int-track { animation: none; }
html[data-rm] .int-rail { overflow-x: auto; }
@keyframes int-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / var(--rail-sets, 2))); }
}

.int-chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1.25rem 0.7rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--edge); background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2);
  white-space: nowrap;
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.int-chip:hover {
  transform: translateY(-4px) scale(1.03); border-color: rgba(226, 73, 43, 0.4);
  color: var(--ink); background: var(--surface);
  box-shadow: 0 10px 24px -12px rgba(36, 28, 24, 0.28), 0 0 0 5px rgba(226, 73, 43, 0.07);
}
html[data-rm] .int-chip:hover { transform: none; }

.int-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 1.6rem + 1.5vw, 3rem); }
.int-tab {
  font-size: 0.9rem; font-weight: 600; color: var(--ink-2);
  background: var(--glass); border: 1px solid var(--edge); border-radius: var(--r-pill);
  padding: 0.6rem 1.25rem; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.int-tab:hover { color: var(--ink); border-color: var(--edge-2); transform: translateY(-2px); }
html[data-rm] .int-tab:hover { transform: none; }
.int-tab.is-active {
  background: linear-gradient(180deg, #2E251F, #1B1512); color: #FDF9F4;
  border-color: transparent; box-shadow: var(--sh-2);
}
.int-tab .int-count { opacity: 0.55; font-weight: 500; margin-left: 0.35rem; font-size: 0.82em; }

.int-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  grid-auto-rows: 1fr; gap: 0.8rem;
}
.int-grid[hidden] { display: none; }

.int-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: var(--glass); border: 1px solid var(--edge);
  border-radius: var(--r-md);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2);
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out), color var(--dur-1) var(--ease-out);
  opacity: 0; translate: 0 16px;
}
.int-grid.is-shown .int-item { animation: int-pop 420ms var(--ease-out) forwards; }
@keyframes int-pop { to { opacity: 1; translate: 0 0; } }
html[data-rm] .int-item { opacity: 1; translate: 0 0; }
.int-item:hover {
  transform: translateY(-4px); border-color: var(--edge-2);
  box-shadow: var(--sh-2); color: var(--ink);
}
html[data-rm] .int-item:hover { transform: none; }

.int-logo {
  flex: none; width: 2.3rem; height: 2.3rem;
  display: grid; place-items: center; border-radius: 10px;
  background: #FFF; border: 1px solid var(--edge);
  overflow: hidden; position: relative;
}
.int-logo img {
  width: 1.35rem; height: 1.35rem; object-fit: contain;
  transition: transform var(--dur-2) var(--ease-out);
}
.int-chip:hover .int-logo img, .int-item:hover .int-logo img { transform: scale(1.12); }
html[data-rm] .int-chip:hover .int-logo img, html[data-rm] .int-item:hover .int-logo img { transform: none; }
.int-logo .int-mono {
  display: none;
  font-size: 0.72rem; font-weight: 800; letter-spacing: -0.02em; color: var(--brand);
}
.int-logo.no-icon { background: var(--brand-soft); }
.int-logo.no-icon img { display: none; }
.int-logo.no-icon .int-mono { display: block; }
.int-logo-glyph { background: var(--brand-soft); color: var(--brand); }
.int-logo-glyph svg { width: 1.2rem; height: 1.2rem; }

.int-note {
  margin-top: 2.2rem; font-size: 0.84rem; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.int-note::before {
  content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%;
  background: var(--green);
}

/* ---------- Works-with (legacy hero band) ---------- */
.works-with { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.works-inner { display: grid; justify-items: center; gap: 1.3rem; }
.works-cap {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3);
}
.works-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.works-row li:not(.int-chip) {
  font-size: 0.9rem; font-weight: 600; color: var(--ink-2);
  padding: 0.55rem 1.15rem; border-radius: var(--r-pill);
  border: 1px solid var(--edge); background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.works-row .int-chip { padding: 0.55rem 1.1rem 0.55rem 0.55rem; font-size: 0.86rem; }
.works-row .int-logo { width: 2rem; height: 2rem; }
.works-note { font-size: 0.74rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 0.5rem; }
.works-note::before { content: ""; width: 0.36rem; height: 0.36rem; border-radius: 50%; background: var(--green); }

/* ---------- Stat band ---------- */
.statband { padding-block: var(--space-section); }
.statband-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.02em;
  max-width: 24ch; display: flex; flex-direction: column; gap: 1.2rem; text-wrap: balance;
}
.statband-kicker {
  font-family: var(--font-mono);
  font-size: 0.71rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand);
}

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: clamp(3rem, 2.2rem + 2vw, 4.5rem); }
.stat {
  display: grid; align-content: space-between; gap: 1.4rem;
  padding: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem);
  border-radius: var(--r-lg); border: 1px solid var(--edge);
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
html[data-rm] .stat:hover { transform: none; }
.stat:nth-child(1) { --tint: var(--brand); }
.stat:nth-child(2) { --tint: var(--teal); }
.stat:nth-child(3) { --tint: var(--indigo); }
.stat-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3rem, 2.1rem + 3.4vw, 4.8rem); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap;
}
/* a range is twice the characters — step it down so it holds one line */
.stat-num-range { font-size: clamp(2.4rem, 1.7rem + 2.5vw, 3.6rem); }
.stat-unit, .stat-dash { color: var(--tint, var(--brand)); }
.stat-unit { font-size: 0.5em; }
.stat-num .stat-unit:first-child { font-size: 0.44em; vertical-align: 0.52em; }
.stat-label { color: var(--ink-2); font-size: 0.95rem; }
.stat-label sup { color: var(--tint, var(--brand)); }

.stat-ledger {
  margin-top: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.7rem 1.2rem;
  font-family: var(--font-mono);
  font-size: clamp(0.88rem, 0.82rem + 0.42vw, 1.08rem);
  padding: 1.5rem 1.8rem; border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: var(--glass); font-variant-numeric: tabular-nums;
}
.ledger-loss { color: var(--brand); font-weight: 700; }
.ledger-cost { color: var(--green); font-weight: 700; }
.ledger-eq, .ledger-vs { color: var(--ink-3); }
.stat-footnote { margin-top: 1.6rem; font-size: 0.83rem; color: var(--ink-3); max-width: 50rem; }
.stat-footnote sup { color: var(--brand); }
.stat-footnote em { font-style: italic; }

/* ---------- Overview band + 3D cube ---------- */
.overview { position: relative; padding-block: var(--space-section); overflow: clip; }
.overview::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(42rem 26rem at 50% 26%, rgba(255, 107, 69, 0.10), transparent 66%);
}
.overview-inner { position: relative; display: grid; justify-items: center; text-align: center; }

.cube-stage { width: 13rem; height: 13rem; perspective: 900px; margin-bottom: 3rem; display: grid; place-items: center; }
.cube {
  position: relative; width: 8.4rem; height: 8.4rem;
  transform-style: preserve-3d; animation: cube-spin 24s linear infinite;
}
.cube-face {
  position: absolute; inset: 0; display: grid; place-items: center;
  border: 1px solid rgba(36, 28, 24, 0.20); border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 0 40px -14px rgba(226, 73, 43, 0.55) inset,
    0 20px 44px -26px rgba(36, 28, 24, 0.55);
  color: var(--brand);
}
.cube-face svg { width: 46%; height: 46%; }
.cube-face.f-front  { transform: translateZ(4.2rem); }
.cube-face.f-back   { transform: rotateY(180deg) translateZ(4.2rem); }
.cube-face.f-right  { transform: rotateY(90deg) translateZ(4.2rem); }
.cube-face.f-left   { transform: rotateY(-90deg) translateZ(4.2rem); }
.cube-face.f-top    { transform: rotateX(90deg) translateZ(4.2rem); }
.cube-face.f-bottom { transform: rotateX(-90deg) translateZ(4.2rem); }
@keyframes cube-spin {
  from { transform: rotateX(-22deg) rotateY(0deg); }
  to { transform: rotateX(-22deg) rotateY(360deg); }
}
html[data-rm] .cube { animation: none; transform: rotateX(-22deg) rotateY(-28deg); }

.overview-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.02em;
  max-width: 20ch; text-wrap: balance;
}
.overview-title em { font-style: normal; font-weight: 500; color: var(--brand); }
.overview-sub { margin-top: 1.4rem; color: var(--ink-2); max-width: 42rem; }

.overview-caps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  margin-top: clamp(3rem, 2.4rem + 1.5vw, 4rem); width: 100%; max-width: 56rem;
}
.overview-caps li {
  display: grid; justify-items: center; gap: 0.4rem;
  padding: 2.1rem 1.3rem; border-radius: var(--r-lg); box-shadow: var(--sh-1);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.overview-caps li:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
html[data-rm] .overview-caps li:hover { transform: none; }
.overview-caps li:nth-child(1) { --tint: var(--brand); --tint-soft: var(--brand-soft); }
.overview-caps li:nth-child(2) { --tint: var(--teal); --tint-soft: var(--teal-soft); }
.overview-caps li:nth-child(3) { --tint: var(--gold); --tint-soft: var(--gold-soft); }
.cap-icon {
  width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--tint-soft, var(--brand-soft)); color: var(--tint, var(--brand));
  margin-bottom: 0.7rem;
}
.cap-icon svg { width: 1.25rem; height: 1.25rem; }
.overview-caps strong { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink); }
.overview-caps li > span:last-child { font-size: 0.85rem; color: var(--ink-3); }
.overview-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); }

/* ---------- Features ---------- */
.features { padding-block: var(--space-section); }
.feature-rows { display: grid; gap: clamp(5rem, 3.5rem + 5vw, 10rem); }
.feature-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 1.8rem + 3vw, 5.5rem); align-items: center; perspective: 1500px;
}
.feature-row-rev { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.feature-row-rev .feature-copy { order: 2; }
.feature-row-rev .feature-panel { order: 1; }

.feature-copy { display: grid; gap: 1.3rem; justify-items: start; }
.service-code {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; color: var(--brand);
  border: 1px solid var(--edge); background: var(--glass);
  border-radius: var(--r-pill); padding: 0.42rem 1rem;
}
.feature-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 1.9vw, 3rem); line-height: 1; letter-spacing: -0.02em;
  text-wrap: balance;
}
.feature-title em { font-style: normal; font-weight: 500; color: var(--brand); }
.feature-desc { color: var(--ink-2); }
.feature-desc em { font-style: normal; font-weight: 700; color: var(--ink); }

.service-list { list-style: none; display: grid; gap: 0.8rem; padding-top: 0.7rem; }
.service-list li { position: relative; padding-left: 1.8rem; font-size: 0.93rem; color: var(--ink-2); }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--grad-warm); box-shadow: 0 0 0 3px rgba(226, 73, 43, 0.12);
}

.feature-panel {
  border-radius: var(--r-lg); overflow: hidden;
  transform: rotateY(7deg) rotateX(3deg); transform-style: preserve-3d;
  transition: transform var(--dur-3) var(--ease-out);
  box-shadow: var(--sh-3);
}
.feature-row-rev .feature-panel { transform: rotateY(-7deg) rotateX(3deg); }
.feature-row:hover .feature-panel, .feature-row-rev:hover .feature-panel { transform: rotateY(0) rotateX(0); }
html[data-rm] .feature-panel { transform: none; }

.panel-chrome { display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--edge); background: rgba(255,255,255,0.5); }
.chrome-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--edge-2); }
.chrome-bar {
  flex: 1; margin-left: 0.7rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-3);
  background: var(--bg-2); border: 1px solid var(--edge); border-radius: var(--r-pill); padding: 0.32rem 1rem;
}
.panel-body { padding: 1.4rem; display: grid; gap: 1.1rem; }
.panel-query { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); }
.panel-answer {
  display: grid; gap: 0.55rem; padding: 1.05rem 1.15rem;
  background: var(--bg-2); border: 1px solid var(--edge);
  border-radius: var(--r-md); border-bottom-left-radius: 6px;
}
.mock-a-tag { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); }
.panel-answer p { font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); }
.panel-answer strong { color: var(--ink); }
.panel-cite { display: flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--green); border-top: 1px solid var(--edge); padding-top: 0.6rem; }
.cite-pin { width: 0.45rem; height: 0.45rem; border-radius: 50% 50% 50% 0; background: var(--green); transform: rotate(-45deg); }

.panel-rank { display: grid; gap: 0.55rem; }
.rank-row { display: grid; grid-template-columns: 6rem 1fr; align-items: center; gap: 0.7rem; }
.rank-label { font-family: var(--font-mono); font-size: 0.64rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.12em; }
.rank-bar { height: 0.5rem; border-radius: var(--r-pill); background: var(--bg-3); position: relative; overflow: hidden; }
.rank-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(0); }
.rank-you::after { background: var(--grad-warm); animation: rank-grow 1.2s var(--ease-out) 0.3s forwards; --rank: 0.92; }
.rank-them::after { background: var(--edge-2); animation: rank-grow 1.2s var(--ease-out) 0.5s forwards; --rank: 0.38; }
@keyframes rank-grow { to { transform: scaleX(var(--rank, 1)); } }
html[data-rm] .rank-bar::after { animation-duration: 1ms; }

/* ---------- Search panel: live Google / AI answer UI ---------- */
.srch { display: grid; }
.srch-tabs { display: flex; gap: 0.4rem; padding: 0.85rem 1rem 0; border-bottom: 1px solid var(--edge); }
.srch-tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.55rem 0.95rem 0.7rem; border-bottom: 2px solid transparent;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-3);
  transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.srch-tab.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.srch-g i { font-weight: 700; font-size: 0.95rem; }
.srch-g i:nth-child(1) { color: #4285F4; }
.srch-g i:nth-child(2) { color: #EA4335; }
.srch-g i:nth-child(3) { color: #FBBC05; }
.srch-g i:nth-child(4) { color: #4285F4; }
.srch-g i:nth-child(5) { color: #34A853; }
.srch-g i:nth-child(6) { color: #EA4335; }
.srch-tab:not(.is-active) .srch-g i { color: var(--ink-3); }
.srch-ai { display: inline-flex; align-items: center; gap: 0.4rem; }
.srch-ai svg { width: 0.9rem; height: 0.9rem; }

.srch-stage { position: relative; display: grid; min-height: 15.5rem; }
.srch-view {
  grid-area: 1 / 1; padding: 1.1rem 1.1rem 0.6rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.srch-view.is-active { opacity: 1; visibility: visible; transition: opacity var(--dur-2) var(--ease-out); }

.srch-bar {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--edge-2); background: var(--surface);
  box-shadow: var(--sh-1); font-size: 0.87rem; color: var(--ink);
  min-height: 2.7rem;
}
.srch-ico { width: 1rem; height: 1rem; color: var(--ink-3); flex: none; }
.srch-caret {
  display: inline-block; width: 1.5px; height: 1.05em; background: var(--brand);
  animation: caret 1s steps(2) infinite; vertical-align: -0.15em;
}
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
html[data-rm] .srch-caret { animation: none; }

.srch-results { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.sr {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.7rem 0.8rem; border-radius: var(--r-md);
  border: 1px solid var(--edge); background: var(--bg-2);
  opacity: 0; translate: 0 10px;
}
.srch-results.is-in .sr { animation: sr-in 420ms var(--ease-out) forwards; }
.srch-results.is-in .sr:nth-child(2) { animation-delay: 130ms; }
.srch-results.is-in .sr:nth-child(3) { animation-delay: 240ms; }
@keyframes sr-in { to { opacity: 1; translate: 0 0; } }
html[data-rm] .sr { opacity: 1; translate: 0 0; }
.sr-you {
  background: var(--surface); border-color: rgba(226, 73, 43, 0.35);
  box-shadow: 0 0 0 4px rgba(226, 73, 43, 0.07);
}
.sr-pin { flex: none; width: 1.5rem; height: 1.5rem; color: var(--brand); }
.sr-pin-dim { color: var(--ink-3); opacity: 0.55; }
.sr-b { display: grid; gap: 0.15rem; min-width: 0; }
.sr-b strong { font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em; }
.sr-meta { font-size: 0.74rem; color: var(--ink-3); }
.sr-meta b { color: var(--gold); font-weight: 700; }
.sr-meta em { font-style: normal; color: var(--green); font-weight: 600; }
.sr-meta i { font-style: normal; color: var(--ink-3); }
.sr-sub { font-size: 0.72rem; color: var(--ink-3); }
.sr-rank {
  margin-left: auto; flex: none; align-self: center;
  font-size: 0.7rem; font-weight: 700; color: #FFF;
  background: var(--grad-warm); border-radius: var(--r-pill); padding: 0.2rem 0.6rem;
}

/* AI answer view */
.ai-msg { display: flex; gap: 0.65rem; margin-bottom: 0.8rem; }
.ai-user {
  justify-content: flex-end; align-items: center;
  font-size: 0.85rem; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--edge);
  border-radius: var(--r-md); border-bottom-right-radius: 6px;
  padding: 0.6rem 0.85rem; width: fit-content; margin-left: auto;
  min-height: 2.2rem;
}
.ai-ico {
  flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-warm); color: #FFF;
}
.ai-ico svg { width: 0.85rem; height: 0.85rem; }
.ai-body {
  flex: 1; padding: 0.75rem 0.9rem; border-radius: var(--r-md); border-bottom-left-radius: 6px;
  background: var(--surface); border: 1px solid var(--edge);
}
.ai-body p { font-size: 0.86rem; line-height: 1.5; color: var(--ink-2); min-height: 3.6em; }
.ai-body strong { color: var(--ink); font-weight: 600; }
.ai-cite {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
  margin-top: 0.7rem; padding-top: 0.65rem; border-top: 1px dashed var(--edge);
  opacity: 0; transition: opacity var(--dur-3) var(--ease-out);
}
.ai-cite.is-in { opacity: 1; }
.ai-cite-k { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.ai-cite-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.68rem; color: var(--green);
  background: var(--green-soft); border: 1px solid rgba(63, 125, 92, 0.3);
  border-radius: var(--r-pill); padding: 0.22rem 0.6rem;
}

.srch-foot {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.1rem; border-top: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.45);
}
.srch-chip {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid rgba(226, 73, 43, 0.25);
  border-radius: var(--r-pill); padding: 0.25rem 0.6rem;
}
.srch-foot-note { margin-left: auto; font-size: 0.7rem; color: var(--ink-3); }
.srch-foot-note b { color: var(--ink-2); font-weight: 600; }

/* ---------- No-show panel: the day board ---------- */
.day { display: grid; }
.day-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 1.2rem; border-bottom: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.5);
}
.day-head strong { display: block; font-size: 0.95rem; font-weight: 600; letter-spacing: -0.015em; }
.day-head span { font-size: 0.72rem; color: var(--ink-3); }
.day-count { font-size: 0.75rem; color: var(--ink-3); }
.day-count b { font-size: 1.05rem; font-weight: 600; color: var(--ink); }

.day-slots { list-style: none; display: grid; gap: 0.5rem; padding: 1.1rem 1.2rem; }
.slot {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem 0.85rem; border-radius: var(--r-md);
  border: 1px solid var(--edge); background: var(--bg-2);
  transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.slot-t {
  flex: none; width: 2.6rem; font-size: 0.78rem; font-weight: 600;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.slot-b { display: grid; gap: 0.1rem; min-width: 0; }
.slot-b strong { font-size: 0.86rem; font-weight: 600; letter-spacing: -0.01em; }
.slot-b span { font-size: 0.73rem; color: var(--ink-3); }
.slot-s {
  margin-left: auto; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center; color: #FFF;
  transition: background-color var(--dur-2) var(--ease-out);
}
.slot-s svg { width: 0.8rem; height: 0.8rem; }
.slot.is-ok .slot-s { background: var(--green); }
.slot.is-risk { border-color: rgba(201, 138, 46, 0.5); background: var(--gold-soft); }
.slot.is-risk .slot-s { background: var(--gold); }
.slot.is-sent { border-color: rgba(69, 80, 127, 0.4); background: var(--indigo-soft); }
.slot.is-sent .slot-s { background: var(--indigo); }
.slot.is-done { border-color: rgba(63, 125, 92, 0.45); background: var(--green-soft); }
.slot.is-done .slot-s { background: var(--green); }
.slot.is-empty {
  border-style: dashed; border-color: rgba(226, 73, 43, 0.4);
  background: transparent; color: var(--ink-3);
}
.slot.is-empty .slot-s { background: var(--brand); }
.slot.is-empty strong { color: var(--brand); }

.day-wire {
  display: grid; gap: 0.5rem;
  padding: 0.9rem 1.2rem 1.1rem; border-top: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.45);
}
.day-wire-k { font-size: 0.72rem; font-weight: 600; color: var(--ink-2); }
.day-wire-bar { height: 3px; border-radius: var(--r-pill); background: var(--bg-3); overflow: hidden; }
.day-wire-bar i { display: block; height: 100%; width: 0%; background: var(--grad-warm); transition: width 600ms var(--ease-out); }

.panel-callhead, .panel-phonehead {
  display: flex; align-items: center; gap: 0.8rem; padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--edge); background: rgba(255,255,255,0.5);
}
.panel-timer { margin-left: auto; font-family: var(--font-mono); font-size: 0.77rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.panel-phonehead { justify-content: space-between; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; }
.phonehead-num { color: var(--ink-3); font-weight: 400; }
.panel-bubbles { gap: 0.6rem; }

.panel-cal, .panel-slots {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.95rem 1.25rem;
  border-top: 1px solid var(--edge); font-family: var(--font-mono); font-size: 0.7rem;
  background: rgba(255,255,255,0.4);
}
.cal-day { color: var(--ink-3); font-weight: 700; letter-spacing: 0.14em; }
.cal-slot { border: 1px solid var(--edge); border-radius: var(--r-pill); padding: 0.28rem 0.75rem; color: var(--ink-3); }
.cal-busy { background: var(--bg-2); }
.cal-new { border-color: rgba(63,125,92,0.4); color: var(--green); background: var(--green-soft); font-weight: 700; }
.slot-freed { color: var(--brand); border: 1px dashed rgba(226,73,43,0.45); border-radius: var(--r-pill); padding: 0.28rem 0.75rem; }
.slot-filled { color: var(--green); border: 1px solid rgba(63,125,92,0.4); background: var(--green-soft); border-radius: var(--r-pill); padding: 0.28rem 0.75rem; font-weight: 700; }

/* ---------- How it works ---------- */
.how { padding-block: var(--space-section); }
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 1rem + 1.5vw, 2rem); }
.how-step {
  display: grid; gap: 1.3rem; align-content: start;
  padding: 2.4rem 2rem; border-radius: var(--r-lg);
  border: 1px solid var(--edge); background: var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.how-step:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
html[data-rm] .how-step:hover { transform: none; }
.how-step:nth-child(1) { --tint: var(--brand); --tint-soft: var(--brand-soft); }
.how-step:nth-child(2) { --tint: var(--teal); --tint-soft: var(--teal-soft); }
.how-step:nth-child(3) { --tint: var(--indigo); --tint-soft: var(--indigo-soft); }
.how-num {
  font-weight: 700;
  width: 3.2rem; height: 3.2rem; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.35rem; border-radius: 50%;
  color: var(--tint, var(--brand)); background: var(--tint-soft, var(--brand-soft));
}
.how-title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.45rem;
  line-height: 1.14; letter-spacing: -0.015em;
  /* two lines reserved so every card body starts on the same line */
  min-height: 2.28em;
}
.how-body p { color: var(--ink-2); font-size: 0.94rem; margin-top: 0.7rem; }

/* ---------- Showcase collage ---------- */
.showcase { padding-block: var(--space-section); }
.showcase-head { max-width: 44rem; }

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1.2rem;
}
.sc {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--edge);
  box-shadow: var(--sh-1);
}
.sc img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.8) contrast(1.04) brightness(0.95);
  transition: transform 900ms var(--ease-out), filter var(--dur-3) var(--ease-out);
}
.sc:hover img { transform: scale(1.05); filter: saturate(1) contrast(1.04) brightness(1); }
html[data-rm] .sc:hover img { transform: none; }
.sc::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 28, 24, 0) 38%, rgba(24, 18, 15, 0.82));
}
.sc figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.3rem 1.4rem;
  display: grid; gap: 0.45rem; justify-items: start;
  color: #FDF8F2;
}
.sc figcaption strong { font-weight: 500; font-size: 1.02rem; letter-spacing: -0.015em; text-wrap: balance; }
.sc-tag {
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #FFD9C9;
  background: rgba(226, 73, 43, 0.34);
  border: 1px solid rgba(255, 168, 138, 0.45);
  border-radius: var(--r-pill); padding: 0.28rem 0.75rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.sc-hero { grid-row: span 2; min-height: 30rem; }
.sc-hero figcaption { padding: 1.8rem; }
.sc-hero figcaption strong { font-size: 1.35rem; }
.sc-a, .sc-b { min-height: 14.4rem; }
.sc-a { grid-column: 2; }
.sc-b { grid-column: 3; }

/* glass data card floating on the tall image */
.sc-overlay {
  position: absolute; z-index: 3; top: 1.4rem; left: 1.4rem; right: 1.4rem;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1rem; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: var(--sh-2);
  animation: chip-float 8s var(--ease-soft) infinite alternate;
}
html[data-rm] .sc-overlay { animation: none; }
.sc-ov-ico {
  flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #FFF;
}
.sc-ov-ico svg { width: 0.95rem; height: 0.95rem; }
.sc-overlay strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.sc-overlay span { font-size: 0.72rem; color: var(--ink-3); }

/* metrics panel completes the grid */
.sc-panel {
  grid-column: 2 / span 2;
  display: grid; align-content: start; gap: 1.4rem;
  padding: 2rem 1.9rem;
  border-radius: var(--r-lg); border: 1px solid var(--edge);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--sh-1);
}
.sc-panel-k {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand);
}
.sc-metrics { list-style: none; display: grid; gap: 1.3rem; }
.sc-metrics li { display: grid; grid-template-columns: 5.6rem 1fr; align-items: baseline; gap: 1rem; }
.sc-m-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: 2.1rem; line-height: 1; letter-spacing: -0.03em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.sc-m-u { color: var(--brand); }
.sc-m-l { font-size: 0.88rem; color: var(--ink-2); }

/* ---------- Industries ---------- */
.industries { padding-block: var(--space-section); }
.ind-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2.2rem, 1.8rem + 1.5vw, 3.2rem); }
.ind-tab {
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2);
  background: var(--glass); border: 1px solid var(--edge); border-radius: var(--r-pill);
  padding: 0.65rem 1.35rem; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.ind-tab:hover { color: var(--ink); border-color: var(--edge-2); transform: translateY(-2px); }
html[data-rm] .ind-tab:hover { transform: none; }
.ind-tab.is-active {
  background: linear-gradient(180deg, #2E251F, #1B1512); color: #FDF9F4;
  border-color: transparent; box-shadow: var(--sh-2);
}
.ind-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2vw, 4.5rem); align-items: start; }
.ind-copy { display: grid; align-content: start; }
.ind-copy .ind-points { margin-top: 2rem; }
.ind-panel[hidden] { display: none; }
.ind-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.2rem; text-wrap: balance;
}
.ind-copy p { color: var(--ink-2); max-width: 35rem; }
.ind-side { display: grid; gap: 1.6rem; align-content: start; }
.ind-photo-wrap { border-radius: var(--r-lg); overflow: hidden; padding: 0; box-shadow: var(--sh-2); }
.ind-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.85) contrast(1.02); }
.ind-points { list-style: none; display: grid; gap: 1.2rem; }
.ind-points li { display: grid; gap: 0.3rem; font-size: 0.93rem; color: var(--ink-2); }
.ind-point-k { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); }

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--space-section); }
.reviews-card {
  position: relative; max-width: 56rem; border-radius: var(--r-xl);
  padding: clamp(2.4rem, 1.8rem + 2.2vw, 4rem);
  padding-top: clamp(3.2rem, 2.4rem + 2.2vw, 4.6rem);
  overflow: hidden; box-shadow: var(--sh-2);
}
.reviews-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(30rem 18rem at 85% 0%, rgba(255, 107, 69, 0.12), transparent 70%);
}
.reviews-quote {
  font-weight: 800;
  position: absolute; top: 0.4rem; left: clamp(1.6rem, 1.2rem + 2vw, 3rem);
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--brand); opacity: 0.18; pointer-events: none;
}
.reviews-lede {
  position: relative; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.015em; line-height: 1.15;
  text-wrap: balance;
}
.reviews-body { position: relative; margin-top: 1.4rem; color: var(--ink-2); max-width: 46rem; }
.reviews-body em { font-style: normal; font-weight: 700; color: var(--ink); }
.reviews-meta {
  position: relative; margin-top: 1.9rem; padding-top: 1.4rem; border-top: 1px solid var(--edge);
  font-family: var(--font-mono); font-size: 0.73rem; letter-spacing: 0.06em; color: var(--ink-3);
}
.reviews-cta { position: relative; display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* ---------- Pricing ---------- */
.pricing { padding-block: var(--space-section); }
.price-grid {
  display: grid; grid-template-columns: minmax(0, 31rem) minmax(0, 24rem);
  justify-content: start; gap: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem); align-items: stretch;
}
.price-card {
  position: relative; border-radius: var(--r-xl); padding: 2.8rem 2.3rem 2.3rem;
  display: flex; flex-direction: column; gap: 1.5rem; overflow: hidden; box-shadow: var(--sh-3);
}
.price-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(28rem 18rem at 50% -10%, rgba(255, 107, 69, 0.14), transparent 70%);
}
.price-head, .price-figures, .price-list, .price-card .btn { position: relative; }
.price-plan { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; color: var(--brand); }
.price-name { font-family: var(--font-display); font-weight: 400; font-size: 2rem; letter-spacing: -0.02em; margin-top: 0.6rem; }
.price-figures { border-block: 1px solid var(--edge); padding-block: 1.6rem; font-variant-numeric: tabular-nums; }
.price-main { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.4rem, 2.6rem + 2vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; }
.price-cur { font-size: 0.5em; vertical-align: 0.55em; color: var(--brand); }
.price-per { font-family: var(--font-ui); font-size: 0.26em; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.price-setup { margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-2); }
.price-list { list-style: none; display: grid; gap: 0.8rem; }
.price-list li { position: relative; padding-left: 1.9rem; font-size: 0.94rem; color: var(--ink-2); }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--green-soft); border: 1px solid rgba(63,125,92,0.4);
}
.price-list li::after {
  content: ""; position: absolute; left: 0.35rem; top: 0.6em;
  width: 0.4rem; height: 0.22rem;
  border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green);
  transform: rotate(-45deg);
}
.price-list strong { color: var(--ink); }
.price-card .btn:first-of-type { margin-top: auto; }
.price-card .btn + .btn { margin-top: 0.7rem; }

.price-compare {
  align-self: stretch; align-content: start; display: grid; gap: 1.3rem; padding: 2rem 1.9rem;
  border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.compare-heading { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.compare-row { display: grid; gap: 0.25rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--edge); }
.compare-row:last-child { padding-bottom: 0; border-bottom: 0; }
.compare-figure { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.02em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.compare-per { font-family: var(--font-ui); font-size: 0.48em; color: var(--ink-3); font-weight: 500; }
.compare-label { font-size: 0.86rem; color: var(--ink-3); }
.compare-row-fd .compare-figure { color: var(--brand); }
.compare-row-fd .compare-label { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--space-section); }
.faq-wrap > * { max-width: 58rem; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  border: 1px solid var(--edge); border-radius: var(--r-md);
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  overflow: hidden;
}
.faq-item:hover { box-shadow: var(--sh-1); }
.faq-item[open] { border-color: var(--edge-2); box-shadow: var(--sh-1); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 1.6rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.32rem); letter-spacing: -0.015em;
  cursor: pointer; list-style: none;
  transition: color var(--dur-1) var(--ease-out);
}
/* Safari ignores list-style on <summary> and paints its own triangle,
   which showed up alongside our .faq-mark on every iPhone and Mac */
.faq-q::-webkit-details-marker { display: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--brand); }
.faq-mark { flex: none; width: 1rem; height: 1rem; position: relative; color: var(--ink-3); }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: currentColor; border-radius: var(--r-pill);
  transition: transform var(--dur-2) var(--ease-out);
}
.faq-mark::before { width: 100%; height: 1.5px; }
.faq-mark::after { width: 1.5px; height: 100%; }
.faq-item[open] .faq-mark { color: var(--brand); }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-2) var(--ease-out); }
.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { color: var(--ink-2); padding: 0 1.6rem 1.6rem; font-size: 0.95rem; }
.faq-a-inner em { font-style: italic; }

/* ---------- Final CTA ---------- */
/* the page closes on a dark band — the photograph carries it instead of
   sitting at 5% behind dark text, where it only ever read as a smudge */
.final-cta {
  position: relative; padding-block: calc(var(--space-section) * 1.3); overflow: clip;
  background: linear-gradient(168deg, #2B221D, #16110F 58%, #211A16);
  color: #FBF7F2;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(22, 17, 15, 0.66), rgba(22, 17, 15, 0.88)),
    url("https://images.unsplash.com/photo-1748442001865-5583ec02ae22?auto=format&fit=crop&w=1600&q=60") center / cover no-repeat;
}
.final-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(42rem 26rem at 50% 46%, rgba(255, 107, 69, 0.22), transparent 70%);
}
.final-cta-inner { position: relative; z-index: 1; max-width: 56rem; text-align: center; display: grid; justify-items: center; }
.final-cta .section-tab-light {
  color: #FFC3AE; border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(10px);
}
.final-cta-title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2);
  line-height: 0.98; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance;
  color: #FDFAF6;
}
.final-cta-title em { font-style: normal; font-weight: 500; color: var(--brand-2); }
.final-cta-sub { margin-top: 1.5rem; color: rgba(253, 250, 246, 0.72); max-width: 40rem; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: 2.6rem; }
/* on the dark band the ink button vanishes — the brand carries it instead */
.final-cta .btn-primary {
  background: var(--grad-warm); color: #FFF;
  box-shadow: 0 18px 40px -18px rgba(226, 73, 43, 0.85);
}
.final-cta .btn-primary:hover { filter: saturate(1.06) brightness(1.05); box-shadow: 0 24px 50px -20px rgba(226, 73, 43, 0.95); }
.final-cta .btn-outline-light {
  color: #FDFAF6; border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.04);
}
.final-cta .btn-outline-light:hover {
  color: #FFF; border-color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.12);
}

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--edge); padding-block: clamp(4rem, 3.2rem + 2vw, 5.5rem) 2rem; overflow: clip; }
.footer-watermark { position: absolute; right: -6vw; bottom: -14%; width: 32vw; max-width: 28rem; opacity: 0.05; pointer-events: none; }
.footer-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 2rem + 2vw, 4.5rem);
  padding-bottom: 3rem; border-bottom: 1px solid var(--edge);
}
.footer-tag { margin-top: 1.2rem; color: var(--ink-2); max-width: 26rem; font-size: 0.95rem; }
.footer-region { margin-top: 1.1rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--ink-3); }
.footer-heading { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--brand); margin-bottom: 1.1rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a, .footer-contact a {
  color: var(--ink-2); text-decoration: none; padding: 0.4rem 0; min-height: 40px;
  display: inline-flex; align-items: center; font-size: 0.93rem;
  transition: color var(--dur-1) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--brand); transform: translateX(3px); }
html[data-rm] .footer-nav a:hover, html[data-rm] .footer-contact a:hover { transform: none; }
.footer-legal {
  position: relative; display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 0.5rem 2rem; padding-top: 1.7rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-3);
}

/* ---------- Get started / thank you ---------- */
.signup { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) var(--space-section); }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: start; }
.signup-intro-title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.02em; max-width: 15ch; text-wrap: balance; }
.signup-intro-title em { font-style: normal; font-weight: 500; color: var(--brand); }
.signup-intro-sub { margin-top: 1.4rem; color: var(--ink-2); max-width: 33rem; }
.signup-steps { list-style: none; margin-top: 2.8rem; display: grid; gap: 1.3rem; }
.signup-steps li { display: flex; align-items: baseline; gap: 1rem; font-size: 0.95rem; color: var(--ink-2); }
.signup-steps .step-num {
  flex: none; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; border-radius: 50%;
}
.signup-alt { margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--edge); font-size: 0.92rem; color: var(--ink-3); }
.signup-alt a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.signup-card { border-radius: var(--r-xl); padding: clamp(1.9rem, 1.5rem + 1vw, 2.6rem); box-shadow: var(--sh-2); }
.signup-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--edge); }
.signup-plan { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.015em; }
.signup-price { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); }
.signup-price strong { color: var(--ink); font-size: 1.02rem; }

.form-field { display: grid; gap: 0.45rem; margin-bottom: 1.2rem; }
.form-label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); }
.form-label .req { color: var(--brand); }
.form-input {
  font-family: var(--font-ui); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--edge-2); border-radius: var(--r-sm);
  padding: 0.85rem 1rem; min-height: 48px;
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.form-input::placeholder { color: var(--ink-3); }
.form-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(226, 73, 43, 0.12); }
.form-input:user-invalid, .form-input.is-invalid { border-color: var(--brand); }
.form-row-2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0 1rem; }
.form-error { font-size: 0.8rem; color: var(--brand-deep); min-height: 1.1em; font-weight: 500; }
.form-submit-row { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.form-note { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-3); text-align: center; }
.form-note svg { vertical-align: -2px; margin-right: 0.3rem; }

.btn-submit { position: relative; }
.btn-submit .btn-label { transition: opacity var(--dur-1) var(--ease-out); }
.btn-submit.is-sending .btn-label { opacity: 0; }
.btn-submit-bar { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; opacity: 0; transition: opacity var(--dur-1) var(--ease-out); }
.btn-submit.is-sending .btn-submit-bar { opacity: 1; }
.btn-submit-bar .dot { width: 0.4rem; height: 0.4rem; background: currentColor; border-radius: 50%; animation: dot-bounce 0.9s ease-in-out infinite; }
.btn-submit-bar .dot:nth-child(2) { animation-delay: 0.15s; }
.btn-submit-bar .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
html[data-rm] .btn-submit-bar .dot { animation: none; }

.thanks { min-height: calc(100vh - 12rem); display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.thanks-mark {
  width: 5rem; height: 5rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-warm); color: #FFF; margin-inline: auto;
  box-shadow: 0 20px 50px -18px rgba(226, 73, 43, 0.6);
}
.thanks-title { margin-top: 2rem; max-width: 22ch; margin-inline: auto; text-wrap: balance; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.02em; }
.thanks-sub { margin-top: 1.3rem; color: var(--ink-2); max-width: 35rem; margin-inline: auto; }
.thanks-actions { margin-top: 2.4rem; display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1024px) and (min-width: 768px) {
  .header-inner { gap: 1rem; }
  .site-nav a { white-space: nowrap; padding-inline: 0.6rem; font-size: 0.85rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-title { max-width: 17ch; }
  .hero-visual { margin-top: 5.5rem; max-width: 46rem; margin-inline: auto; }
  .hero-watermark { display: none; }
  .hero-visual .scene { padding: 1.6rem 3rem 3rem 0; }
  .hero-visual .call-card { width: 74%; }
  .phone { width: 32%; right: -1.4rem; bottom: -0.5rem; }
  /* keep the floating cards clear of the copy above and the panel beside */
  .fc-booking { top: -1.4rem; left: -1rem; }
  .fc-cal { top: 40%; left: -3.6rem; }
  .fc-speed { top: -2.6rem; left: 34%; }
  .fc-rev { top: -1.6rem; right: -0.5rem; }
  .demo-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .demo-scenarios { max-width: none; }
  .feature-row, .feature-row-rev { grid-template-columns: 1fr; gap: 2.4rem; }
  .feature-row-rev .feature-copy { order: 1; }
  .feature-row-rev .feature-panel { order: 2; }
  .feature-panel, .feature-row-rev .feature-panel { transform: none; max-width: 38rem; }
  .ind-panel { grid-template-columns: 1fr; gap: 2rem; }
  .how-steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .overview-caps { grid-template-columns: 1fr; max-width: 26rem; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .sc-hero { grid-column: 1 / -1; grid-row: auto; min-height: 24rem; }
  .sc-a { grid-column: 1; }
  .sc-b { grid-column: 2; }
  .sc-panel { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: minmax(0, 32rem); justify-items: stretch; }
  .price-compare { max-width: 32rem; width: 100%; justify-self: center; }
  .signup-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) and (min-width: 768px) { .brand-word { display: none; } }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
  .header-inner { min-height: 4rem; gap: 0.7rem; }
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-cta-secondary { display: none; }
  .brand-word { font-size: 1.25rem; }

  .hero { padding-top: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-watermark { display: none; }
  .hero-title { max-width: none; }
  .hero-actions { margin-top: 2rem; gap: 0.7rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { margin-top: 3.5rem; }
  .scene { transform: none; }
  .hero-visual .scene { padding: 0; }
  .hero-visual .call-card { width: 100%; }
  .call-chip { display: none; }
  .bubble { font-size: 0.86rem; }
  .dotfield { display: none; }
  /* stack the phone under the panel rather than overlapping it */
  .phone {
    position: static; width: min(13.5rem, 62%);
    margin: 1.6rem auto 0; transform: none;
  }
  /* the console header needs the full card width on a phone */
  .fc-booking, .fc-cal, .fc-speed, .fc-rev { display: none; }
  .scene-rings { display: none; }
  .con-head { padding: 0.85rem 0.9rem; gap: 0.6rem; }
  .con-tabs { gap: 0.25rem; padding: 0.45rem; }
  .con-tab { flex-direction: column; align-items: flex-start; gap: 0.3rem; padding: 0.45rem 0.5rem; }
  .con-tab-t strong { font-size: 0.72rem; }
  .con-tab-t small { display: none; }
  .con-foot { padding: 0.65rem 0.9rem; }
  .con-note { display: none; }
  /* the search view stacks: Google above, the AI answer below */
  .hs { padding: 0.85rem; gap: 0.6rem; }
  .hs-cols { grid-template-columns: 1fr; gap: 0.6rem; }
  .hs-r:nth-of-type(3) { display: none; }
  .hs-ai p { min-height: 0; }
  .hero-explore { justify-content: stretch; margin-top: 1.6rem; }
  .hero-rails { margin-top: 3rem; }
  .rails-cap { font-size: 0.64rem; letter-spacing: 0.18em; }

  .demo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .demo-scenarios { max-width: none; }
  .demo-card { transform: none; }

  .int-grid { grid-template-columns: 1fr 1fr; }
  .int-item { font-size: 0.8rem; padding: 0.7rem 0.8rem; gap: 0.6rem; }
  .int-logo { width: 1.9rem; height: 1.9rem; }
  .int-tab { flex: 1 1 auto; font-size: 0.85rem; padding: 0.55rem 0.9rem; }

  .stat-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 3rem; }
  .stat-ledger { flex-direction: column; align-items: flex-start; gap: 0.45rem; }
  .ledger-eq, .ledger-vs { display: none; }
  .ledger-loss::before { content: "= "; }
  .ledger-cost::before { content: "vs. "; color: var(--ink-3); }

  .cube-stage { width: 9rem; height: 9rem; margin-bottom: 2.2rem; }
  .cube { width: 5.5rem; height: 5.5rem; }
  .cube-face.f-front { transform: translateZ(2.75rem); }
  .cube-face.f-back { transform: rotateY(180deg) translateZ(2.75rem); }
  .cube-face.f-right { transform: rotateY(90deg) translateZ(2.75rem); }
  .cube-face.f-left { transform: rotateY(-90deg) translateZ(2.75rem); }
  .cube-face.f-top { transform: rotateX(90deg) translateZ(2.75rem); }
  .cube-face.f-bottom { transform: rotateX(-90deg) translateZ(2.75rem); }
  .overview-caps { grid-template-columns: 1fr; max-width: 24rem; }
  .overview-cta { width: 100%; }
  .overview-cta .btn { width: 100%; }

  .feature-row, .feature-row-rev { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row-rev .feature-copy { order: 1; }
  .feature-row-rev .feature-panel { order: 2; }
  .feature-panel, .feature-row-rev .feature-panel { transform: none; }

  .how-steps { grid-template-columns: 1fr; gap: 1rem; }
  .showcase-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .sc-hero { grid-column: 1; grid-row: auto; min-height: 20rem; }
  .sc-a, .sc-b { grid-column: 1; min-height: 12rem; }
  .sc-panel { grid-column: 1; padding: 1.6rem 1.4rem; }
  .sc-metrics li { grid-template-columns: 4.6rem 1fr; gap: 0.8rem; }
  .sc-overlay { top: 1rem; left: 1rem; right: 1rem; }
  .ind-panel { grid-template-columns: 1fr; gap: 1.8rem; }
  .ind-tab { flex: 1 1 auto; padding: 0.55rem 0.9rem; font-size: 0.87rem; }
  .reviews-cta .btn { width: 100%; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 2rem 1.6rem 1.7rem; }
  .price-compare { padding: 1.5rem 1.4rem; }
  .final-cta-actions { width: 100%; }
  .final-cta-actions .btn { width: 100%; }
  .signup-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .thanks-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-watermark { display: none; }
}


/* player + zoom: small screens */
@media (max-width: 767px) {
  .player-stage { aspect-ratio: 4 / 3; }
  .player-chapters { grid-template-columns: 1fr; }
  .chapter { padding: 0.85rem 1rem; }
  .player-result { position: static; margin-top: 0.8rem; }
  .player-tag { display: none; }
  .player-caption p { font-size: 0.95rem; }
  .zoom-panel {
    grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto;
    height: calc(100dvh - 1.5rem); width: calc(100vw - 1.5rem);
  }
  .zoom-main { grid-template-rows: auto auto minmax(0, 1fr); overflow-y: auto; }
  .zoom-head { padding: 1.4rem 1.2rem 0.5rem; }
  .zoom-title { font-size: 1.4rem; }
  .zoom-nav { padding: 0.3rem 1.2rem 0; gap: 0.35rem; }
  .zv-tab { font-size: 0.76rem; padding: 0.48rem 0.8rem; }
  .zoom-stage { padding: 1.2rem; }
  .zoom-head { padding: 1.3rem 1.1rem 0.9rem; gap: 1rem; }
  .zoom-stage { padding: 0 1.1rem 1.3rem; }
  .zv { gap: 0.8rem; }
  .zv-cap { font-size: 0.76rem; }
  .ios-clock { font-size: 2.8rem; font-size: 24cqw; }
  .cd, .gc { max-width: none; }
  .cd-line { grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.5rem; }
  .cd-msg { font-size: 0.8rem; }
  .cd-rt { display: none; }
  .gc-days, .gc-body { grid-template-columns: 2.4rem repeat(5, minmax(0, 1fr)); }
  .gc-body { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .gc-hours span { font-size: 0.55rem; height: 2.4rem; }
  .gc-lines i { height: 2.4rem; }
  .gc-ev strong { font-size: 0.58rem; }
  .gc-ev span { display: none; }
  .gc-day b { font-size: 0.85rem; width: 1.5rem; height: 1.5rem; }
  .zoom-side {
    border-left: 0; border-top: 1px solid var(--edge);
    padding: 1.3rem 1.2rem; gap: 1rem; max-height: 42vh;
  }
  .zs-lede, .zoom-list { display: none; }
  .explore-btn { width: 100%; max-width: 22rem; justify-content: flex-start; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .zoom-panel {
    grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto;
    height: min(48rem, calc(100dvh - 2.5rem));
  }
  .zoom-main { overflow-y: auto; }
  .zoom-stage { padding: 1.6rem 2rem 2rem; }
  .zoom-head { padding: 1.6rem 1.8rem 1rem; }
  .zoom-stage { padding: 0 1.8rem 1.8rem; }
  .cd, .gc { max-width: 34rem; }
  .zoom-side {
    border-left: 0; border-top: 1px solid var(--edge);
    max-height: 38vh; overflow-y: auto;
  }
  .zs-lede { display: none; }
}


/* search + day panels: small screens */
@media (max-width: 767px) {
  .srch-tabs { padding: 0.7rem 0.7rem 0; }
  .srch-tab { padding: 0.45rem 0.7rem 0.6rem; font-size: 0.76rem; }
  .srch-stage { min-height: 17rem; }
  .srch-view { padding: 0.9rem 0.8rem 0.5rem; }
  .srch-bar { font-size: 0.78rem; padding: 0.55rem 0.8rem; }
  .sr { padding: 0.6rem 0.65rem; gap: 0.55rem; }
  .sr-b strong { font-size: 0.82rem; }
  .sr-sub { display: none; }
  .ai-body p { font-size: 0.8rem; }
  .ai-user { font-size: 0.78rem; max-width: 92%; }
  .srch-foot { padding: 0.7rem 0.8rem; flex-wrap: wrap; gap: 0.35rem; }
  .srch-foot-note { margin-left: 0; width: 100%; font-size: 0.66rem; }

  .day-head { padding: 0.9rem 0.9rem; }
  .day-slots { padding: 0.9rem; gap: 0.45rem; }
  .slot { padding: 0.65rem 0.7rem; gap: 0.6rem; }
  .slot-t { width: 2.2rem; font-size: 0.74rem; }
  .slot-b strong { font-size: 0.8rem; }
  .slot-b span { font-size: 0.69rem; }
  .day-wire { padding: 0.8rem 0.9rem 1rem; }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .srch-stage { min-height: 16rem; }
  .sr-sub { font-size: 0.68rem; }
  .player-chapters { grid-template-columns: 1fr 1fr 1fr; }
  .chapter { padding: 0.9rem 0.8rem; gap: 0.6rem; }
  .ch-b small { display: none; }
  .int-grid { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
}


/* call sim + month grid: small screens */
@media (max-width: 767px) {
  .pv { grid-template-columns: 1fr; gap: 1.2rem; justify-items: center; }
  .pv-side, .cs-side { justify-items: center; text-align: center; gap: 1rem; }
  .cs-steps { gap: 0.7rem; }
  .cs-steps li { grid-template-columns: auto minmax(0, 1fr); text-align: left; }
  .cs-steps span { font-size: 0.72rem; }
  .pv > .device { height: 40vh; max-height: none; }
  .zv { display: block; }
  .zv > * + * { margin-top: 0.9rem; }
  .zv-cap { margin-inline: auto; }
  .zoom-stage { overflow-y: auto; }
  .pv-hint { font-size: 0.8rem; }
  .part-tip { display: none; }
  .gm-grid { grid-auto-rows: minmax(2.6rem, 1fr); }
  .gm-cell b { font-size: 0.58rem; width: 1.05rem; height: 1.05rem; }
  .gm-ev { font-size: 0.45rem; padding: 0.08rem 0.2rem; }
  .gm-head span { font-size: 0.5rem; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .pv { max-width: 34rem; gap: 1.4rem; }
  .cs-steps span { font-size: 0.74rem; }
}

/* ---------- Anchors & print ---------- */
/* clears the sticky header, which is 5rem tall and shrinks to 4.1rem once
   scrolled — and to a flat 4rem on phones, where the nav is hidden */
main > section[id], #main, #top { scroll-margin-top: 6.5rem; }
@media (max-width: 767px) {
  main > section[id], #main, #top { scroll-margin-top: 5.2rem; }
}

@media print {
  @page { margin: 1.6cm; }
  body { background: #fff; }
  .to-top { display: none; }
  .faq-item, .ind-panel, .sc, figure { break-inside: avoid; }
  .faq-a { grid-template-rows: 1fr; }
  .faq-a-inner { overflow: visible; }
  h2, h3 { break-after: avoid; }
  body::before, .hero-watermark, .footer-watermark, .cube-stage, .dotfield,
  .site-header, .final-cta, .hero-actions, .skip-link, .showcase-grid,
  .feed-progress, .scroll-progress, .int-rails { display: none; }
  .call-card, .feature-panel, .price-card, .how-step, .stat, .demo-card {
    box-shadow: none; transform: none; break-inside: avoid; border-color: #ccc;
  }
  [data-reveal], [data-entrance], .bubble, .int-item { opacity: 1 !important; translate: 0 0 !important; }
  .feed-scenario { position: static; opacity: 1; visibility: visible; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
