/* ============================================================
   cinematic-clarity-v2-light.css
   Light theme variant of the cinematic-clarity-v2 landing page.
   Pure CSS — no preprocessors. All custom properties.
   ============================================================ */

/* ----------------------------------------------------------
   0. CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Palette */
  --bg: #f8f9fc;
  --bg-deep: #eef1f7;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(0, 30, 80, 0.03);
  --surface-glass: rgba(255, 255, 255, 0.72);
  --line: rgba(0, 20, 60, 0.08);
  --line-strong: rgba(0, 20, 60, 0.16);
  --line-glow: rgba(56, 121, 240, 0.2);
  --text: #1a1e2c;
  --muted: #5b6478;
  --blue: #3070e0;
  --blue-strong: #2060d0;
  --cyan: #0ea5c0;
  --mint: #2bb887;
  --red-muted: #e05555;
  --red-surface: rgba(224, 60, 60, 0.06);
  --red-line: rgba(224, 60, 60, 0.15);

  /* Shadows & Glows — light theme uses soft diffused shadows only */
  --shadow: 0 2px 8px rgba(0, 20, 60, 0.04), 0 8px 32px rgba(0, 20, 60, 0.06);
  --shadow-lift: 0 4px 16px rgba(0, 20, 60, 0.06), 0 16px 48px rgba(0, 20, 60, 0.08);
  --glow-blue: none;
  --glow-blue-strong: none;
  --glow-cyan: none;
  --glow-cyan-strong: none;
  --inner-glow: none;

  /* Radii */
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --radius-xs: 12px;

  /* Layout */
  --container: 1220px;

  /* Transitions */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass — light theme: no glass, just clean white */
  --glass-blur: blur(0px);
  --glass-bg: rgba(255, 255, 255, 0.96);
  --glass-border: none;

  /* Gradient text */
  --gradient-primary: linear-gradient(135deg, var(--blue), var(--cyan));
  --gradient-secondary: linear-gradient(135deg, #2060d0, #3070e0);
}

/* ----------------------------------------------------------
   1. KEYFRAME ANIMATIONS
   ---------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(56, 121, 240, 0.15); }
  50% { box-shadow: 0 0 40px rgba(56, 121, 240, 0.25); }
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(56, 121, 240, 0.1); }
  50% { border-color: rgba(14, 165, 192, 0.2); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orb-drift-reverse {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 18px) scale(0.97); }
  66% { transform: translate(22px, -12px) scale(1.03); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes aurora {
  0% { background-position: 0% 50%; opacity: 0.6; }
  50% { background-position: 100% 50%; opacity: 0.9; }
  100% { background-position: 0% 50%; opacity: 0.6; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes progress-glow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes underline-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ----------------------------------------------------------
   2. RESETS & BASE
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }

/* ----------------------------------------------------------
   3. SCROLL PROGRESS BAR
   ---------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px rgba(56, 121, 240, 0.4), 0 0 4px rgba(14, 165, 192, 0.3);
  transition: width 60ms linear;
  pointer-events: none;
}

/* ----------------------------------------------------------
   4. ANIMATED BACKGROUND
   ---------------------------------------------------------- */
.page-shell {
  position: relative;
  overflow: hidden;
}

/* Aurora gradient — hidden for light theme */
.page-shell::before {
  display: none;
}

/* Grid pattern overlay — hidden for light theme */
.page-shell::after {
  display: none;
}

/* Floating gradient orbs — hidden for light theme */
.bg-orb {
  display: none;
}

.bg-orb--1 {
  top: 10%;
  left: 5%;
  width: 500px;
  height: 500px;
  background: rgba(56, 121, 240, 0.06);
  animation: orb-drift 20s ease-in-out infinite;
}

.bg-orb--2 {
  top: 50%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(14, 165, 192, 0.04);
  animation: orb-drift-reverse 25s ease-in-out infinite;
}

.bg-orb--3 {
  bottom: 10%;
  left: 30%;
  width: 350px;
  height: 350px;
  background: rgba(43, 184, 135, 0.03);
  animation: orb-drift 18s ease-in-out infinite 5s;
}

/* ----------------------------------------------------------
   5. CONTAINER & LAYOUT
   ---------------------------------------------------------- */
.container {
  position: relative;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  z-index: 1;
}

.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

/* ----------------------------------------------------------
   6. TOPBAR (STICKY HEADER)
   ---------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: padding var(--transition);
}

.topbar.is-scrolled {
  padding: 10px 0;
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-inner::before {
  content: "";
  position: absolute;
  inset: -10px -20px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 20, 60, 0.04);
}

.topbar.is-scrolled .topbar-inner::before {
  inset: -6px -16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(0, 20, 60, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gradient-primary);
}

.topbar-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #3d4660;
  font-size: 0.94rem;
}

.topbar-nav a {
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.topbar-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-nav a:hover::after,
.topbar-nav a:focus-visible::after {
  transform: scaleX(1);
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible {
  color: var(--blue);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  margin-top: 12px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 20, 60, 0.08);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav a:hover {
  background: rgba(0, 20, 60, 0.04);
  color: var(--blue);
}

/* ----------------------------------------------------------
   7. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    filter var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-small {
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.94rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: white;
  box-shadow: 0 18px 44px rgba(48, 112, 224, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 52px rgba(48, 112, 224, 0.3), 0 0 20px rgba(48, 112, 224, 0.2);
}

.btn-secondary {
  background: rgba(0, 20, 60, 0.04);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(0, 20, 60, 0.07);
  box-shadow: 0 4px 16px rgba(0, 20, 60, 0.06);
}

/* ----------------------------------------------------------
   8. GLASSMORPHISM CARD (base mixin via class)
   ---------------------------------------------------------- */
.glass-card,
.setup-card,
.roles-grid article,
.proof-card,
.proof-mini-card,
.capability-card,
.diagram-card,
.security-card,
.decision-grid article,
.reassurance-card,
.faq-card,
.comparison-card,
.tech-card {
  background: var(--glass-bg);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.glass-card:hover,
.setup-card:hover,
.capability-card:hover,
.tech-card:hover,
.comparison-card:hover,
.decision-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

/* ----------------------------------------------------------
   9. GRADIENT TEXT
   ---------------------------------------------------------- */
.gradient-text,
.section-head h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy h1 {
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.gradient-text-secondary,
.roles-copy h3,
.decision-copy h2 {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----------------------------------------------------------
   10. TYPOGRAPHY & LABELS
   ---------------------------------------------------------- */
.variant-pill,
.eyebrow,
.section-kicker,
.card-kicker,
.capability-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.variant-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 20, 60, 0.03);
  color: #3d4660;
}

.eyebrow,
.section-kicker,
.card-kicker,
.capability-label {
  color: var(--cyan);
}

.hero-copy h1,
.section-head h2,
.roles-copy h3,
.proof-card h3,
.proof-mini-card h3,
.capability-card h3,
.diagram-card h3,
.security-card h3,
.reassurance-card h3,
.faq-card h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1;
}

.section-head--wide {
  max-width: 56rem;
}

/* ----------------------------------------------------------
   11. MUTED TEXT (shared)
   ---------------------------------------------------------- */
.hero-lead,
.section-head > p:not(.section-kicker),
.setup-card p,
.roles-copy p,
.roles-grid span,
.proof-card p,
.proof-mini-card p,
.capability-card p,
.flow-step p,
.boundary-note,
.security-list span,
.decision-copy > p:not(.section-kicker):not(.microcopy),
.decision-grid p,
.reassurance-card li,
.faq-card p,
.microcopy,
.comparison-card p,
.comparison-card li,
.tech-card p {
  color: var(--muted);
  line-height: 1.72;
}

/* ----------------------------------------------------------
   12. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  padding-top: 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: calc(100dvh - 140px);
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-right: 40px;
}

/* Soft white fade that makes text readable over overlapping devices */
.hero-copy::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  bottom: -40px;
  left: -40px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 60%,
    rgba(255, 255, 255, 0.4) 85%,
    transparent 100%
  );
  z-index: -1;
  border-radius: 20px;
  pointer-events: none;
}

.hero-lead {
  margin: 20px 0 0;
  max-width: 32rem;
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.microcopy {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

/* Hero scene — dual-device lifestyle composition */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  margin-left: -28%;
  padding: 20px 0;
  overflow: visible;
}

.hero-scene {
  position: relative;
  width: 115%;
  max-width: 760px;
  aspect-ratio: 5 / 4;
}

/* Subtle ambient glow behind devices */
.hero-scene::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(56, 121, 240, 0.06) 0%, rgba(14, 165, 192, 0.03) 50%, transparent 80%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero-macbook {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  z-index: 1;
}

.hero-macbook-screen {
  position: relative;
  border-radius: 8px 8px 0 0;
  border: 3px solid #1d1d1f;
  border-bottom: none;
  background: #1d1d1f;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 12px 50px rgba(0, 20, 60, 0.12);
}

.hero-macbook-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 5px;
  background: #1d1d1f;
  border-radius: 0 0 3px 3px;
  z-index: 1;
}

.hero-macbook-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-macbook-base {
  height: 10px;
  background: linear-gradient(to bottom, #c8c8cc, #d8d8dc);
  border-radius: 0 0 2px 2px;
}

.hero-macbook-base::before {
  content: "";
  display: block;
  width: 20%;
  height: 3px;
  margin: 0 auto;
  background: #b0b0b5;
  border-radius: 0 0 4px 4px;
}

/* iPhone frame — overlapping MacBook, suggesting control */
.hero-iphone {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 28%;
  border-radius: 22px;
  border: 3.5px solid #1d1d1f;
  background: #1d1d1f;
  overflow: hidden;
  box-shadow:
    0 28px 70px rgba(0, 20, 60, 0.22),
    0 10px 30px rgba(0, 20, 60, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  z-index: 2;
}

.hero-iphone::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 12px;
  background: #1d1d1f;
  border-radius: 0 0 8px 8px;
  z-index: 1;
}

.hero-iphone img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* Shared grid containers */
.roles-grid,
.capability-grid,
.trust-layout,
.decision-grid,
.decision-sidebar {
  display: grid;
  gap: 18px;
}

/* Shared strong font sizing */
.roles-grid strong,
.setup-card h3,
.proof-card h3,
.proof-mini-card h3,
.capability-card h3,
.flow-step strong,
.security-list strong,
.decision-grid strong,
.reassurance-card h3,
.faq-card h3,
.diagram-card h3,
.security-card h3 {
  font-size: 1.05rem;
}

/* ----------------------------------------------------------
   13. LEGACY DEVICE COMPOSITION (removed – using hero-product-shot)
   ---------------------------------------------------------- */
.hero-stage,
.ambient,
.ambient--blue,
.ambient--cyan,
.stage-haze,
.device,
.device--qr,
.device figcaption,
.callout,
.stage-pill,
.annotation {
  display: none;
}

/* Screenshot image aspect ratio (used in setup, proof, trust sections) */
.setup-card img,
.trust-media img {
  aspect-ratio: 706 / 1600;
  object-fit: cover;
  object-position: top center;
}

.proof-mini-card .iphone-frame--sm {
  width: 100%;
}

/* ----------------------------------------------------------
   14. SETUP SECTION (3 Steps)
   ---------------------------------------------------------- */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

/* Flow line connecting cards */
.setup-grid::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(56, 121, 240, 0.2) 20%,
    rgba(14, 165, 192, 0.2) 50%,
    rgba(56, 121, 240, 0.2) 80%,
    transparent
  );
  z-index: -1;
  pointer-events: none;
}

.setup-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  position: relative;
}

.step-number,
.decision-index,
.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(56, 121, 240, 0.08);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
}

.setup-card img {
  width: 100%;
  border-radius: 20px;
  background: rgba(0, 20, 60, 0.02);
}

.setup-card ul,
.reassurance-card ul,
.security-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.setup-card li,
.reassurance-card li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.setup-card li::before,
.reassurance-card li::before {
  content: "✦";
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* Two-app clarity panel */
.roles-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-deep);
  border: none;
}

.roles-copy {
  display: grid;
  gap: 14px;
}

.roles-copy h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.05;
}

.roles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roles-grid article,
.capability-card,
.decision-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-md);
}

/* ----------------------------------------------------------
   15. PROOF SECTION (spotlight)
   ---------------------------------------------------------- */
.proof-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: 32px;
  align-items: start;
}

.proof-screen {
  margin: 0;
  padding: 0;
}

/* ── Unified iPhone 17 device frame ── */
.iphone-frame {
  position: relative;
  border-radius: 28px;
  border: 3.5px solid #1d1d1f;
  background: #1d1d1f;
  overflow: hidden;
  box-shadow:
    0 20px 56px rgba(0, 20, 60, 0.14),
    0 8px 24px rgba(0, 20, 60, 0.08);
}

.iphone-frame::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 12px;
  background: #1d1d1f;
  border-radius: 0 0 8px 8px;
  z-index: 2;
}

.iphone-frame img {
  width: 100%;
  display: block;
  border-radius: 24px;
}

/* Small variant for mini-cards / trust section */
.iphone-frame--sm {
  border-width: 2.5px;
  border-radius: 18px;
  flex-shrink: 0;
}

.iphone-frame--sm::before {
  height: 8px;
  width: 26%;
  border-radius: 0 0 6px 6px;
  top: 3px;
}

.iphone-frame--sm img {
  border-radius: 15px;
}

/* Setup card variant – fixed 180px width for step cards */
.iphone-frame--setup {
  width: 180px;
  margin: 0 auto;
}

/* ── Proof section (proof-screen is now iphone-frame) ── */

.annotation {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.annotation--one {
  top: 26px;
  left: 24px;
  animation-delay: 0.5s;
}

.annotation--two {
  top: 220px;
  right: 24px;
  animation-delay: 1.5s;
}

.annotation--three {
  bottom: 34px;
  left: 24px;
  animation-delay: 2.5s;
}

.proof-column {
  display: grid;
  gap: 20px;
}

.proof-card,
.security-card,
.reassurance-card,
.faq-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.proof-mini-card {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
}

.proof-mini-card img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.proof-mini-card--accent {
  background: rgba(56, 121, 240, 0.04) !important;
}

/* ----------------------------------------------------------
   16. COMPARISON SECTION (Before/After)
   ---------------------------------------------------------- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.comparison-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.comparison-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.comparison-card li::before {
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 2px;
}

/* Without (pain) card */
.comparison-card--without {
  background: rgba(224, 60, 60, 0.03);
  box-shadow: var(--shadow);
}

.comparison-card--without h3 {
  color: var(--red-muted);
}

.comparison-card--without li::before {
  content: "✕";
  color: var(--red-muted);
}

.comparison-card--without:hover {
  box-shadow: var(--shadow-lift);
}

/* With (benefit) card */
.comparison-card--with {
  background: rgba(43, 184, 135, 0.03);
  box-shadow: var(--shadow);
}

.comparison-card--with h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comparison-card--with li::before {
  content: "✓";
  color: var(--mint);
}

.comparison-card--with:hover {
  box-shadow: var(--shadow-lift);
}

/* ----------------------------------------------------------
   17. TECH STACK SECTION
   ---------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

.tech-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.tech-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: var(--radius-xs);
  background: rgba(56, 121, 240, 0.06);
  font-size: 1.6rem;
}

.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.tech-card p {
  font-size: 0.92rem;
}

/* ----------------------------------------------------------
   18. CAPABILITY / USE-CASE SECTION
   ---------------------------------------------------------- */
.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-label {
  margin-bottom: 0;
  color: #2c5ab0;
}

.capability-card {
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

/* Gradient top border on each card */
.capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px 3px 0 0;
}

.capability-card-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

/* ----------------------------------------------------------
   19. TRUST SECTION
   ---------------------------------------------------------- */
.trust-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}

.diagram-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.trust-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.trust-media > img {
  width: 100%;
  border-radius: 18px;
  background: rgba(0, 20, 60, 0.02);
}

.trust-media .iphone-frame--sm {
  width: 100%;
}

.flow-list {
  display: grid;
  gap: 14px;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(0, 20, 60, 0.02);
  transition: background var(--transition);
}

.flow-step:hover {
  background: rgba(0, 20, 60, 0.04);
}

.flow-step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.88rem;
}

.boundary-note {
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(0, 20, 60, 0.02);
}

.security-list li {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 20, 60, 0.06);
  transition: border-color var(--transition);
}

.security-list li:hover {
  border-color: rgba(0, 20, 60, 0.12);
}

.security-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* ----------------------------------------------------------
   20. FINAL CTA / DECISION SECTION
   ---------------------------------------------------------- */
.final-section {
  padding-bottom: 120px;
}

.decision-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 28px;
  padding: 32px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(180deg, #f8f9fc, #f0f3f8);
  box-shadow: 0 4px 24px rgba(0, 20, 60, 0.06);
  position: relative;
  overflow: hidden;
}

/* Ambient glow behind decision panel */
.decision-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(56, 121, 240, 0.04), transparent 70%);
  pointer-events: none;
}

.decision-copy {
  display: grid;
  gap: 14px;
  position: relative;
}

.decision-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.decision-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-grid article {
  background: rgba(0, 20, 60, 0.02);
}

.decision-sidebar {
  align-content: start;
  position: relative;
}

/* Reassurance card */
.reassurance-card ul {
  margin-top: 14px;
}

/* FAQ accordion */
.faq-card details {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 20, 60, 0.06);
}

.faq-card details:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 4px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color var(--transition);
  min-height: 44px;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56, 121, 240, 0.06);
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.faq-card details[open] summary::before {
  content: "−";
  transform: rotate(180deg);
  background: rgba(14, 165, 192, 0.1);
}

.faq-card summary:hover {
  color: var(--blue);
}

.faq-card details[open] summary {
  color: var(--text);
}

.faq-card p {
  margin: 8px 0 0 40px;
  animation: reveal-up 300ms ease forwards;
}

/* ----------------------------------------------------------
   21. FOOTER
   ---------------------------------------------------------- */
.footer {
  position: relative;
  padding: 48px 0 38px;
  color: #5b6478;
  font-size: 0.95rem;
  z-index: 1;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 121, 240, 0.2) 30%, rgba(14, 165, 192, 0.2) 70%, transparent);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  transition: color var(--transition);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 20, 60, 0.06);
  color: rgba(0, 20, 60, 0.3);
  font-size: 0.85rem;
}

/* ----------------------------------------------------------
   22. SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  filter: blur(4px);
  transition:
    opacity 500ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 500ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger children */
[data-reveal-stagger] > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger] > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger] > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger] > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger] > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger] > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger] > *:nth-child(7) { transition-delay: 480ms; }
[data-reveal-stagger] > *:nth-child(8) { transition-delay: 560ms; }

.has-js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  filter: blur(3px);
  transition:
    opacity 500ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 500ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ----------------------------------------------------------
   23. UTILITY / ACCENT HELPERS
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   23a. PRICING SECTION
   ---------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.pricing-card--free {
  border: 2px solid var(--blue);
  position: relative;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pricing-amount {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-features {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.pricing-features li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(43, 184, 135, 0.1);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-card .btn {
  margin-top: auto;
}

/* 3-column pricing grid */
.pricing-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
}

/* Best Value card highlight */
.pricing-card--best {
  border: 2px solid var(--blue);
  position: relative;
  background: linear-gradient(180deg, rgba(56, 121, 240, 0.03), #fff 40%);
  box-shadow: 0 8px 40px rgba(56, 121, 240, 0.12), var(--shadow);
  transform: translateY(-4px);
}

.pricing-card--best:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 50px rgba(56, 121, 240, 0.18), var(--shadow-lift);
}

/* Promo & save accent text */
.pricing-promo {
  color: var(--mint) !important;
  font-weight: 700;
}

.pricing-save {
  color: var(--blue) !important;
  font-weight: 700;
}

/* Pricing note section */
.pricing-note {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(0, 20, 60, 0.02);
  text-align: center;
}

.pricing-note h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 24px;
  text-align: left;
  font-size: 0.92rem;
  color: var(--text);
}

.pricing-host-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 20, 60, 0.06);
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-reasons {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-reasons li {
  display: grid;
  gap: 4px;
}

.pricing-reasons strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-reasons span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Gradient border card accent via pseudo */
.accent-border {
  position: relative;
}

.accent-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 121, 240, 0.25), rgba(14, 165, 192, 0.15), rgba(43, 184, 135, 0.1));
  z-index: -1;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}

/* Glow pulse ring — disabled for clean light theme */
.glow-ring {
  position: relative;
}

.glow-ring::after {
  display: none;
}

/* Shimmer on hover */
.shimmer-hover {
  position: relative;
  overflow: hidden;
}

.shimmer-hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 600ms ease;
  pointer-events: none;
}

.shimmer-hover:hover::after {
  left: 120%;
}

/* ----------------------------------------------------------
   24. DECORATIVE DIVIDERS
   ---------------------------------------------------------- */
.section-divider {
  width: 100%;
  height: 1px;
  border: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(56, 121, 240, 0.15) 20%,
    rgba(14, 165, 192, 0.18) 50%,
    rgba(56, 121, 240, 0.15) 80%,
    transparent
  );
  margin: 0;
}

/* ----------------------------------------------------------
   25. FOCUS VISIBLE (accessibility)
   ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
details:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------
   26. SELECTION
   ---------------------------------------------------------- */
::selection {
  background: rgba(48, 112, 224, 0.2);
  color: #1a1e2c;
}

/* ----------------------------------------------------------
   27. SCROLLBAR
   ---------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(56, 121, 240, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 121, 240, 0.35);
}

/* ----------------------------------------------------------
   28. PREFERS-REDUCED-MOTION
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .bg-orb,
  .page-shell::before {
    animation: none;
  }

  .scroll-progress {
    animation: none;
  }
}

/* ----------------------------------------------------------
   29. RESPONSIVE — 1120px
   ---------------------------------------------------------- */
@media (max-width: 1120px) {
  .hero-grid,
  .proof-spotlight,
  .trust-layout,
  .decision-panel,
  .roles-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-product-shot {
    max-width: 520px;
  }

  .hero-visual {
    margin-left: 0;
    justify-content: center;
  }

  .hero-copy::after {
    display: none;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-scene {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .pricing-grid {
    max-width: 100%;
  }

  .pricing-grid--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .setup-grid,
  .capability-grid,
  .decision-grid,
  .roles-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .setup-grid::after {
    display: none;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----------------------------------------------------------
   30. RESPONSIVE — 840px
   ---------------------------------------------------------- */
@media (max-width: 840px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .setup-grid,
  .capability-grid,
  .decision-grid,
  .roles-grid,
  .trust-media,
  .comparison-grid,
  .pricing-grid,
  .pricing-grid--3col,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .hero-product-shot {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .hero-visual {
    margin-left: 0;
    justify-content: center;
  }

  .hero-scene {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 5 / 4;
  }

  .pricing-card--best {
    transform: none;
  }

  .proof-mini-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   31. RESPONSIVE — 560px
   ---------------------------------------------------------- */
@media (max-width: 560px) {
  :root {
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
  }

  .section {
    padding: 68px 0;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .topbar-inner::before {
    inset: -8px -10px;
  }

  .brand {
    font-size: 0.94rem;
    justify-content: center;
  }

  .cta-row .btn,
  .cta-row .btn-small {
    width: 100%;
    min-height: 50px;
  }

  .cta-row {
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .section-head h2,
  .roles-copy h3,
  .decision-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .decision-panel,
  .proof-screen,
  .diagram-card,
  .security-card,
  .reassurance-card,
  .faq-card,
  .setup-card,
  .comparison-card,
  .tech-card {
    padding: 20px;
  }

  .roles-panel {
    padding: 20px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-scene {
    aspect-ratio: 5 / 4;
  }

  .hero-iphone {
    width: 30%;
    border-radius: 16px;
    border-width: 2px;
  }

  .hero-iphone img {
    border-radius: 14px;
  }

  .hero-macbook-screen {
    border-radius: 6px 6px 0 0;
    border-width: 2px;
  }

  .hero-macbook-base {
    height: 8px;
  }

  /* Ensure touch-friendly targets */
  .topbar-nav a,
  .footer-links a,
  .faq-card summary,
  .mobile-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ----------------------------------------------------------
   32. RESPONSIVE — very small (< 380px)
   ---------------------------------------------------------- */
@media (max-width: 380px) {
  .container {
    width: calc(100% - 20px);
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .section-head h2 {
    font-size: 1.6rem;
  }
}

/* ----------------------------------------------------------
   PATCH: Missing class rules
   ---------------------------------------------------------- */

.setup-card-media {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  flex: 1;
}

/* setup-phone-frame replaced by .iphone-frame.iphone-frame--setup */

.setup-card-media img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

/* Mac device frame for setup step 1 */
.setup-mac-frame {
  width: 100%;
  box-shadow:
    0 16px 48px rgba(0, 20, 60, 0.10),
    0 6px 20px rgba(0, 20, 60, 0.06);
}

.setup-mac-screen {
  position: relative;
  border-radius: 8px 8px 0 0;
  border: 2.5px solid #1d1d1f;
  border-bottom: none;
  background: #1d1d1f;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.setup-mac-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: #1d1d1f;
  border-radius: 0 0 3px 3px;
  z-index: 1;
}

.setup-mac-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.setup-mac-base {
  height: 8px;
  background: linear-gradient(to bottom, #c8c8cc, #d8d8dc);
  border-radius: 0 0 2px 2px;
}

.setup-mac-base::before {
  content: "";
  display: block;
  width: 18%;
  height: 2.5px;
  margin: 0 auto;
  background: #b0b0b5;
  border-radius: 0 0 3px 3px;
}

.faq-answer {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 20, 60, 0.03);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ----------------------------------------------------------
   29. LEGAL PAGE
   ---------------------------------------------------------- */
.legal-page {
  padding-top: 148px;
}

.legal-shell {
  max-width: 960px;
}

.legal-hero {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto 28px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text);
}

.legal-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}

.legal-card {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top right, rgba(48, 112, 224, 0.07), transparent 48%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-note {
  margin: 0 0 24px;
  padding: 15px 18px;
  border: 1px solid rgba(48, 112, 224, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(48, 112, 224, 0.04);
  color: var(--muted);
  line-height: 1.75;
}

.legal-note a,
.legal-contact a {
  color: var(--blue);
  font-weight: 600;
}

.legal-prose {
  display: grid;
  gap: 24px;
  color: var(--muted);
}

.legal-prose section {
  display: grid;
  gap: 12px;
}

.legal-prose h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--text);
}

.legal-prose p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.78;
}

.legal-prose strong {
  color: var(--text);
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.4rem;
}

.legal-list li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-contact {
  padding-top: 8px;
}

.topbar-nav a[aria-current="page"] {
  color: var(--text);
}

.topbar-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .legal-page {
    padding-top: 132px;
  }

  .legal-hero {
    margin-bottom: 22px;
  }

  .legal-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .legal-page {
    padding-top: 120px;
  }

  .legal-lead,
  .legal-note,
  .legal-prose p,
  .legal-list li {
    font-size: 0.96rem;
  }
}

/* ----------------------------------------------------------
   LANGUAGE SWITCHER
   ---------------------------------------------------------- */
.lang-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--body);
  box-shadow: 0 4px 16px rgba(0, 20, 60, 0.08);
  transition: box-shadow 0.2s;
}

.lang-switcher-btn:hover {
  box-shadow: 0 6px 24px rgba(0, 20, 60, 0.14);
}

.lang-switcher-icon {
  font-size: 1.1rem;
}

.lang-switcher-current {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switcher-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 8px;
  padding: 6px 0;
  min-width: 170px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 20, 60, 0.12);
  list-style: none;
  max-height: 360px;
  overflow-y: auto;
}

.lang-switcher-menu.is-open {
  display: block;
}

.lang-switcher-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--body);
  text-decoration: none;
  transition: background 0.15s;
}

.lang-switcher-menu li a:hover {
  background: rgba(0, 20, 60, 0.04);
}

.lang-switcher-menu li.is-active a {
  font-weight: 600;
  color: var(--accent);
}
