@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #07080c;
  --surface: #10131c;
  --surface-2: #171c28;
  --surface-glass: rgba(16, 19, 28, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text: #f8fafc;
  --text-muted: #9aa6bc;
  --text-dim: #64748b;

  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --accent-border: rgba(16, 185, 129, 0.38);

  --rec: #ef4444;
  --rec-bright: #ff4d57;
  --rec-soft: rgba(239, 68, 68, 0.14);
  --rec-border: rgba(239, 68, 68, 0.42);
  --rec-glow: 0 0 12px rgba(239, 68, 68, 0.85), 0 0 24px rgba(239, 68, 68, 0.35);

  --gold: #f5b92a;
  --gold-soft: rgba(245, 185, 42, 0.14);
  --radius: 14px;
  --grid: 48px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: var(--bg); overflow-x: clip; }

/* Strict 48px architectural grid anchored to header bottom (y = 72px -> 72 mod 48 = 24px) and horizontal center */
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(239, 68, 68, 0.11), transparent 38%),
    radial-gradient(circle at 82% 12%, rgba(16, 185, 129, 0.11), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: center top, center top, calc(50% - 24px) 24px, calc(50% - 24px) 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.container {
  width: 100%;
  max-width: 1152px; /* inner content = 1104px = 23 exact 48px squares (528+48+528 and 336+48+336+48+336) */
  margin: 0 auto;
  padding: 0 24px;
}

/* Studio Red Microphone LED */
.rec-led {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9ea4, var(--rec) 60%, #991b1b 100%);
  box-shadow: var(--rec-glow);
  animation: recPulse 2.1s infinite ease-in-out;
  flex-shrink: 0;
}

.emerald-led {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  flex-shrink: 0;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.86); }
}

/* Header: exact 72px height so its bottom border sits on a horizontal grid line */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 72px;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
}

.brand-rec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  color: #fca5a5;
  background: var(--rec-soft);
  border: 1px solid var(--rec-border);
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 16px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.15s ease;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Sleek FR | EN | PT Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 19, 28, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 2px;
  height: 34px;
  gap: 2px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 7px;
  height: 28px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}
.lang-cycle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 38px;
  padding: 0 8px;
  border-radius: 9px;
  background: rgba(16, 19, 28, 0.9);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}
.lang-switch-drawer {
  margin-top: 8px;
  width: 100%;
  height: 38px;
  justify-content: space-between;
}
.lang-switch-drawer .lang-btn { flex: 1; height: 32px; font-size: 0.76rem; }

.menu-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.15rem;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 24px 18px;
  background: rgba(11, 13, 20, 0.98);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer.open { display: flex; }
.mobile-drawer a { padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--text-muted); }
.mobile-drawer a:hover, .mobile-drawer a.active { background: var(--surface-2); color: var(--text); }

/* Buttons sized to snap cleanly INSIDE a single 48px grid row (40px height + 4px top/bottom = 48px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #12d090, #0ea572);
  color: #041610;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover { box-shadow: 0 10px 26px rgba(16, 185, 129, 0.38); }

.btn-rec {
  background: linear-gradient(135deg, #f43f5e, #dc2626);
  color: #fff;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.btn-secondary {
  background: rgba(23, 28, 40, 0.85);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.28); background: var(--surface-2); }

.btn-sm { height: 34px; padding: 0 12px; font-size: 0.8rem; border-radius: 9px; white-space: nowrap; }

/* Hero: strict 48px grid vertical rhythm */
.hero {
  padding: 48px 0 48px;
  text-align: center;
}

/* Pill snapped cleanly INSIDE one 48px grid row: 32px height + 8px top + 8px bottom = 48px */
.studio-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 14px;
  margin: 8px 0 8px;
  border-radius: 999px;
  background: rgba(16, 19, 28, 0.92);
  border: 1px solid var(--border-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #e2e8f0;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

.studio-pill .sep { color: var(--text-dim); }
.studio-pill .rec-txt { color: #fda4af; }
.studio-pill .ok-txt { color: #34d399; }

/* Headings: slightly reduced typo, line-height = 48px so EVERY line sits dead-center inside a 48px grid row! */
h1 {
  font-size: clamp(1.85rem, 3.3vw, 2.5rem);
  font-weight: 800;
  line-height: 48px;
  letter-spacing: -0.03em;
  max-width: 864px;
  margin: 0 auto 24px;
  background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 .hl-green {
  background: linear-gradient(120deg, #34d399, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 .hl-red {
  background: linear-gradient(120deg, #ff6b73, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitles: line-height 24px (exact half of 48px) so text sits cleanly inside grid rows without lines slicing glyphs */
.hero-sub {
  font-size: 0.98rem;
  line-height: 24px;
  color: var(--text-muted);
  max-width: 672px;
  margin: 0 auto 24px;
}

/* CTA Row: exact 48px row slot (4px top + 40px btn + 4px bottom = 48px) */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  min-height: 48px;
  margin-bottom: 0;
}

.hero-proof {
  font-size: 0.82rem;
  line-height: 48px;
  height: 48px;
  color: var(--text-dim);
}

/* Studio Hardware Console Centerpiece */
.console-wrap {
  max-width: 912px; /* 19 x 48px — snaps left & right onto exact vertical grid lines */
  margin: 24px auto 0;
  background: linear-gradient(160deg, rgba(22, 27, 39, 0.92) 0%, rgba(13, 16, 24, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(239, 68, 68, 0.12);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.console-wrap::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.16), transparent 70%);
  pointer-events: none;
}

.console-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.mic-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--rec-border);
  padding: 0 12px;
  border-radius: 9px;
}

.telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.telemetry strong { color: var(--accent); }

.console-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.mic-capsule {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 30%, rgba(239, 68, 68, 0.14), #090b10 75%);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.mic-emblem-img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.26);
  margin-bottom: 8px;
}

.vu-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  margin-bottom: 12px;
}

.vu-bars span {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--rec-bright) 0%, var(--accent) 100%);
  animation: vuDance 1.3s infinite ease-in-out alternate;
}

@keyframes vuDance {
  0% { height: 18%; opacity: 0.65; }
  100% { height: 95%; opacity: 1; }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.metric-item {
  background: rgba(7, 8, 12, 0.55);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.metric-val {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 24px;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.metric-lbl {
  font-size: 0.78rem;
  line-height: 20px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Sections: strict 48px multiples */
section { padding: 48px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* Eyebrow dead-center inside ONE 48px grid row */
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  line-height: 48px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* Section H2: every line sits dead-center inside a 48px grid row */
.section-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 48px;
  letter-spacing: -0.025em;
  margin: 0 0 0;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 24px;
  margin-top: 0;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; align-items: stretch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: stretch; }

.card {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.card-accent {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.09), var(--surface));
}

.card-rec {
  border-color: var(--rec-border);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.08), var(--surface));
}

.card h3 { font-size: 1.06rem; line-height: 24px; font-weight: 700; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 24px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1;
  background: var(--surface-2);
  color: var(--accent);
  border: 1px solid var(--border);
}

.tag-rec { background: var(--rec-soft); border-color: var(--rec-border); color: #fca5a5; }
.tag-gold { background: var(--gold-soft); border-color: rgba(245, 185, 42, 0.38); color: var(--gold); }

.emblem-card-row { display: flex; align-items: flex-start; gap: 16px; }
.emblem-card {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(16, 19, 28, 0.78);
  backdrop-filter: blur(8px);
}

table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 12px 18px; height: 48px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; line-height: 24px; }
th { background: rgba(23, 28, 40, 0.88); font-weight: 800; color: var(--text); }
td { color: var(--text-muted); }
tr:last-child td { border-bottom: none; }
.ok { color: var(--accent); font-weight: 700; }
.no { color: #f87171; font-weight: 600; }

/* Pricing */
.price-val { font-size: 1.9rem; line-height: 48px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 8px 0 16px; color: var(--text-muted); font-size: 0.88rem; line-height: 24px; }
.price-list li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* Demo & Simulator */
.demo-box {
  background: rgba(16, 19, 28, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  max-width: 912px; /* 19 x 48px exact vertical grid alignment */
  margin: 0 auto;
}

.demo-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.demo-output {
  background: rgba(7, 8, 12, 0.88);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.84rem;
  color: #cbd5e1;
  white-space: pre-wrap;
  line-height: 24px;
}

/* FAQ: each closed FAQ sits cleanly inside one 48px grid slot */
.faq-list { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details.faq {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 18px;
}
details.faq summary {
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq summary::after { content: "+"; color: var(--accent); font-size: 1.15rem; }
details.faq[open] summary::after { content: "−"; color: var(--rec); }
details.faq p { margin-top: 8px; color: var(--text-muted); font-size: 0.9rem; line-height: 24px; }

/* Waitlist */
.waitlist {
  background:
    radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.12), transparent 50%),
    rgba(16, 19, 28, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.waitlist h2 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); line-height: 48px; margin-bottom: 0; }

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.waitlist-form input,
.waitlist-form select {
  background: rgba(7, 8, 12, 0.9);
  border: 1px solid var(--border-strong);
  color: var(--text);
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  min-width: 220px;
}

.waitlist-confirm {
  max-width: 620px;
  margin: 16px auto 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 22px;
  display: none;
}

/* Compact Translucent Footer — Grid passes visibly through, aligned to 48px! */
footer {
  margin-top: auto;
  flex-shrink: 0;
  height: 72px; /* compact single sleek bar */
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 0;
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 24px;
  background: rgba(7, 8, 12, 0.42); /* translucent so the 48px grid shines right through! */
  backdrop-filter: blur(4px);
}

.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; width: 100%; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 0.84rem; }
.footer-sub { color: var(--text-dim); font-size: 0.78rem; margin-left: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; font-weight: 600; }
.footer-links a:hover { color: var(--text); }

/* Niche Sub-Page Hero: Single Giant Translucent Emblem on the Right, strict 48px text rhythm */
.niche-hero {
  position: relative;
  padding: 48px 0 48px;
  overflow: hidden;
}

.niche-hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 384px; /* 8 x 48px exact */
}

.niche-hero-backdrop {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 432px; /* 9 x 48px */
  height: 432px;
  object-fit: contain;
  opacity: 0.27;
  mix-blend-mode: lighten;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 38%, rgba(0,0,0,0.55) 58%, rgba(0,0,0,0) 76%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 38%, rgba(0,0,0,0.55) 58%, rgba(0,0,0,0) 76%);
  filter: drop-shadow(0 0 44px rgba(16, 185, 129, 0.22));
}

.niche-hero-backdrop.gold-glow { filter: drop-shadow(0 0 44px rgba(245, 185, 42, 0.24)); }
.niche-hero-backdrop.red-glow { filter: drop-shadow(0 0 44px rgba(239, 68, 68, 0.28)); }

.niche-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 576px; /* 12 x 48px exact */
  text-align: left;
}

.niche-hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(1.85rem, 3.1vw, 2.35rem);
  line-height: 48px;
}

.niche-hero-copy .hero-sub {
  margin: 0 0 24px;
  max-width: 528px;
}

.niche-hero-copy .hero-cta {
  justify-content: flex-start;
}

@media (max-width: 960px) {
  .niche-hero-backdrop { width: 360px; height: 360px; opacity: 0.16; }
}

@media (max-width: 860px) {
  :root { --mg: 24px; }
  header { height: calc(var(--mg) * 3); }
  .nav { height: calc(var(--mg) * 3); gap: 8px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand-rec { display: none; }
  .nav-links { display: none; }
  /* On mobile, hide the PC QR-code button and highlight "Ouvrir l'app" directly! */
  .nav-actions a[href*="test-iphone"] { display: none; }
  .nav-actions a[href*="app.html"] {
    display: inline-flex;
    background: linear-gradient(135deg, #12d090, #0ea572);
    color: #041610;
    border: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
  }
  .nav-actions .btn-sm { height: 34px; padding: 0 12px; font-size: 0.8rem; white-space: nowrap; }
  .nav-actions .lang-switch { display: none; }
  .nav-actions .lang-cycle-btn { display: inline-flex; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; }

  .container { padding: 0 15px; }
  .hero { padding: var(--mg) 0 calc(var(--mg) * 2); }
  section { padding: calc(var(--mg) * 2) 0; }
  .studio-pill {
    height: var(--mg);
    padding: 0 10px;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    gap: 5px;
    white-space: nowrap;
    margin-bottom: var(--mg);
  }
  h1 { font-size: 1.65rem; line-height: calc(var(--mg) * 1.5); margin-bottom: var(--mg); }
  .hero-sub { font-size: 0.92rem; line-height: var(--mg); margin-bottom: var(--mg); }
  .hero-cta { flex-direction: column; align-items: stretch; gap: calc(var(--mg) * 0.5); padding: 0; }
  .hero-cta .btn { width: 100%; height: calc(var(--mg) * 2); min-height: calc(var(--mg) * 2); padding: 0 16px; }
  .hero-proof { min-height: calc(var(--mg) * 2); line-height: var(--mg); margin: var(--mg) 0 0; }

  .section-head { margin-bottom: var(--mg); }
  .section-head .eyebrow { height: var(--mg); line-height: var(--mg); margin-bottom: 0; }
  .section-head h2 { font-size: 1.38rem; line-height: calc(var(--mg) * 1.5); margin-bottom: calc(var(--mg) * 0.5); }
  .section-head p { font-size: 0.9rem; line-height: var(--mg); }

  .console-wrap { padding: 18px; margin-top: var(--mg); }
  .console-body { grid-template-columns: 1fr; gap: 16px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: var(--mg); }
  .waitlist { padding: 24px 16px; }
  .waitlist h2 { font-size: 1.35rem; line-height: calc(var(--mg) * 1.5); margin-bottom: 8px; }
  .waitlist-form { flex-direction: column; align-items: stretch; gap: calc(var(--mg) * 0.5); }
  .waitlist-form input, .waitlist-form select, .waitlist-form .btn { width: 100%; min-width: 0; height: calc(var(--mg) * 2); }

  /* Comparison tables: fit 100% inside a single card on iPhone — ZERO horizontal scrolling! */
  .table-wrap { overflow-x: hidden; border-radius: 14px; }
  table { width: 100%; min-width: 0; table-layout: fixed; }
  th, td {
    padding: 9px 7px;
    height: auto;
    font-size: 0.7rem;
    line-height: 1.34;
    word-wrap: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
  }
  th { font-size: 0.68rem; line-height: 1.25; }
  th:first-child, td:first-child { width: 32%; }
  /* 4-column comparison table (alternative-otter.html) */
  table:has(th:nth-child(4)) th,
  table:has(th:nth-child(4)) td { font-size: 0.64rem; padding: 8px 5px; }
  table:has(th:nth-child(4)) th:first-child,
  table:has(th:nth-child(4)) td:first-child { width: 28%; }

  footer { height: auto; padding: 14px 0; }
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-sub { display: none; }
  .footer-links { gap: 10px 14px; font-size: 0.76rem; }

  .niche-hero { padding: var(--mg) 0 calc(var(--mg) * 2); }
  .niche-hero-inner { min-height: auto; justify-content: center; }
  .niche-hero-backdrop {
    right: 50%;
    transform: translate(50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0.13;
  }
  .niche-hero-copy { text-align: center; margin: 0 auto; }
  .niche-hero-copy h1 { font-size: 1.65rem; line-height: calc(var(--mg) * 1.5); margin-bottom: var(--mg); }
  .niche-hero-copy .hero-sub { margin: 0 auto var(--mg); }
  .niche-hero-copy .hero-cta { justify-content: center; }
}
