/* iMediq landing — dark glass aesthetic matching the iOS app */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg: #000;
  --fg: #fff;
  --accent: oklch(0.67 0.24 12); /* rgb(255,45,85) — SwiftUI pink */
  --fg-45: rgba(255,255,255,0.45);
  --fg-35: rgba(255,255,255,0.35);
  --fg-28: rgba(255,255,255,0.28);
  --surface-06: rgb(15,15,15);
  --surface-08: rgb(20,20,20);
  --surface-10: rgb(26,26,26);
  --surface-12: rgb(31,31,31);
  --surface-14: rgb(36,36,36);
  --hairline: rgba(255,255,255,0.06);
  --hairline-strong: rgba(255,255,255,0.12);
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01","cv11";
  overflow-x: hidden;
}

/* Animated background blobs — same feel as AnimatedBlobView */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-blobs::before,
.bg-blobs::after,
.bg-blobs .b3 {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.bg-blobs::before {
  width: 400px; height: 400px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.12), transparent 60%);
  left: 8%; top: -12%;
  animation: drift1 14s linear infinite;
}
.bg-blobs::after {
  width: 340px; height: 340px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.10), transparent 60%);
  right: 4%; top: 30%;
  animation: drift2 18s linear infinite;
}
.bg-blobs .b3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle at center, rgba(255, 80, 110, 0.14), transparent 60%);
  left: 38%; top: 65%;
  animation: drift3 22s linear infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(60px, 40px); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-70px, 60px); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(40px, -80px); }
}

/* Section container */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Mono-tracked label */
.meta {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* Glass card */
.glass {
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.05);
  border-radius: 32px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.glass-16 { border-radius: 16px; }
.glass-24 { border-radius: 24px; }

/* Pill buttons — match SwiftUI `Capsule()` */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.pill:active { transform: scale(0.98); }
.pill-primary {
  background: #fff;
  color: #000;
}
.pill-primary:hover { background: rgba(255,255,255,0.92); }
.pill-secondary {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.18);
}
.pill-secondary:hover { background: rgba(255,255,255,0.14); }
.pill-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.12);
  padding: 12px 16px;
  font-size: 14px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(0,0,0,0.55);
  border-bottom: 0.5px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.wordmark-dot {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: #000;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.15), 0 8px 20px rgba(0,0,0,0.5);
}
.wordmark-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.nav-links a { color: inherit; text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: #fff; }

@media (max-width: 760px) { .nav-links { display: none; } }

/* Hero */
.hero {
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 48px; }
}
.hero h1 {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 18px 0 20px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,0.38);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.25); }

/* Pulse ring */
.pulse-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pulse-ring::before,
.pulse-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  animation: pulse 2.4s ease-out infinite;
}
.pulse-ring::after { animation-delay: 1.2s; }
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Phone frame */
.phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.phone {
  position: relative;
  width: 320px;
  height: 660px;
  border-radius: 54px;
  background: #000;
  padding: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.8),
    0 0 0 6px rgb(28,28,30),
    0 0 0 7px rgba(255,255,255,0.05);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 48px;
  background: #000;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 108px; height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 8px;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 6;
}
.phone-status .right { display: flex; gap: 5px; align-items: center; }

/* Sections */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 14px 0 14px;
  line-height: 1.05;
  text-wrap: balance;
}
.section-head p {
  color: rgba(255,255,255,0.5);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature {
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}
.feature:hover { background: rgba(255,255,255,0.06); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 8px;
}
.feature h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  font-size: 14px;
}
.feature-visual {
  margin-top: auto;
  padding-top: 16px;
}

/* Biomarker sample (used in a feature) */
.biomarker-stat {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  padding: 14px;
  border: 0.5px solid var(--hairline);
}
.biomarker-stat .cell {
  flex: 1;
  text-align: center;
}
.biomarker-stat .num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.biomarker-stat .lab {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border-radius: 28px;
  border: 0.5px solid rgba(255,255,255,0.06);
  position: relative;
}
.step-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.step h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
}

/* Panel row (recommended panels) */
.panels-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .panels-row { grid-template-columns: 1fr; } }
.panel-card {
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--hairline);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel-card .top { display: flex; align-items: center; gap: 10px; }
.panel-card .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
}
.panel-card .title { font-size: 15px; font-weight: 600; flex: 1; }
.panel-card .chev { color: rgba(255,255,255,0.3); }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.biomarker-pill {
  padding: 5px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.biomarker-pill.muted {
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.03);
}

/* Testimonial / privacy callouts */
.quote-card {
  padding: 40px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 32px;
  max-width: 760px;
  margin: 0 auto;
}
.quote-card blockquote {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #fff;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  font-weight: 500;
  text-wrap: pretty;
}
.quote-card .who { font-size: 13px; color: rgba(255,255,255,0.45); }

/* Privacy strip */
.privacy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 760px) { .privacy { grid-template-columns: repeat(2, 1fr); } }
.privacy .cell {
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--hairline);
  border-radius: 20px;
  text-align: center;
}
.privacy .num {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.privacy .lab {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  margin-top: 6px;
}

/* CTA block */
.cta {
  padding: 80px 48px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,45,85,0.15), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.06), transparent 60%),
    rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.cta p {
  color: rgba(255,255,255,0.55);
  font-size: 17px;
  margin: 0 0 32px;
}

/* Footer */
.footer {
  padding-top: 60px;
  padding-bottom: 40px;
  border-top: 0.5px solid var(--hairline);
  margin-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-size: 11px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  margin: 0 0 16px;
  text-transform: uppercase;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
}
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 0.5px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
}
.footer .disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.55;
  margin-top: 14px;
  max-width: 360px;
}

/* Shimmer on loading bar — used for decoration */
.shimmer-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  position: relative;
}
.shimmer-bar .fill {
  position: absolute;
  inset: 0 30% 0 0;
  background: #fff;
  border-radius: inherit;
}
.shimmer-bar .fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Fade-in on scroll-ish (just appear) */
.fade-up { animation: fadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.fade-up.d1 { animation-delay: 0.08s; }
.fade-up.d2 { animation-delay: 0.16s; }
.fade-up.d3 { animation-delay: 0.24s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ───────── Scroll reveal system ───────── */
:root { --anim-dur: 0.7s; }
.reveal { opacity: 0; will-change: transform, opacity, filter; transition:
  opacity var(--anim-dur) cubic-bezier(0.2,0.8,0.2,1),
  transform var(--anim-dur) cubic-bezier(0.2,0.8,0.2,1),
  filter var(--anim-dur) cubic-bezier(0.2,0.8,0.2,1); }

/* Fade up (default) */
[data-anim="fade-up"] .reveal { transform: translateY(28px); }
[data-anim="fade-up"] .reveal.is-visible { opacity: 1; transform: none; }

/* Slide in from side */
[data-anim="slide-in"] .reveal { transform: translateX(-40px); }
[data-anim="slide-in"] .reveal.is-visible { opacity: 1; transform: none; }

/* Zoom */
[data-anim="zoom"] .reveal { transform: scale(0.92); }
[data-anim="zoom"] .reveal.is-visible { opacity: 1; transform: scale(1); }

/* Blur */
[data-anim="blur"] .reveal { filter: blur(14px); transform: translateY(14px); }
[data-anim="blur"] .reveal.is-visible { opacity: 1; filter: blur(0); transform: none; }

/* None */
[data-anim="none"] .reveal { opacity: 1; transform: none; filter: none; }

/* Stagger children inside grids */
.features .reveal:nth-child(2), .steps .reveal:nth-child(2),
.panels-row .reveal:nth-child(2) { transition-delay: 0.08s; }
.features .reveal:nth-child(3), .steps .reveal:nth-child(3),
.panels-row .reveal:nth-child(3) { transition-delay: 0.16s; }
.features .reveal:nth-child(4), .panels-row .reveal:nth-child(4) { transition-delay: 0.24s; }
.features .reveal:nth-child(5) { transition-delay: 0.32s; }
.features .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ───────── Hero headline stage + per-word reveal ───────── */
.hero-text { position: relative; }
.headline-stage { position: relative; min-height: 1.2em; }
.word-reveal {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 18px 0 20px;
  text-wrap: balance;
}
.word-reveal em { font-style: normal; color: rgba(255,255,255,0.38); }
.wr-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  white-space: pre;
}
.wr-inner {
  display: inline-block;
  animation: wordUp 0.75s cubic-bezier(0.2,0.8,0.2,1) both;
}
@keyframes wordUp {
  from { transform: translateY(110%) rotate(2deg); opacity: 0; filter: blur(6px); }
  to   { transform: translateY(0)      rotate(0);   opacity: 1; filter: blur(0);   }
}

/* ───────── Phone float + tilt + swap ───────── */
.phone-wrap { position: relative; }
.phone-tilt {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
:root[data-phone-float="on"] .phone-wrap {
  --mx: 0; --my: 0;
}
:root[data-phone-float="on"] .phone-tilt {
  transform:
    perspective(1400px)
    rotateY(calc(var(--mx, 0) * 8deg))
    rotateX(calc(var(--my, 0) * -8deg));
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%,100% { translate: 0 0; }
  50%     { translate: 0 -14px; }
}

/* Phone screen swap — cross-fade + zoom */
.phone-swap {
  animation: phoneSwap 0.8s cubic-bezier(0.2,0.8,0.2,1) both;
}
@keyframes phoneSwap {
  from { opacity: 0; transform: scale(0.96) rotateY(-10deg); filter: blur(6px); }
  to   { opacity: 1; transform: scale(1)    rotateY(0);      filter: blur(0);   }
}

/* Phone dots */
.phone-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.phone-dot {
  width: 24px; height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.14);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}
.phone-dot.active {
  background: var(--accent);
  width: 36px;
}
.phone-dot:hover { background: rgba(255,255,255,0.28); }
.phone-dot.active:hover { background: var(--accent); }

/* ───────── CTA pulse glow ───────── */
:root[data-cta-pulse="on"] .cta {
  animation: ctaGlow 4s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,45,85,0); }
  50%     { box-shadow: 0 0 80px -20px var(--accent); }
}
:root[data-cta-pulse="on"] .cta .pill-primary {
  animation: ctaBtn 3s ease-in-out infinite;
}
@keyframes ctaBtn {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-3px); }
}

/* Also pulse the hero primary CTA subtly */
:root[data-cta-pulse="on"] .hero-ctas .pill-primary {
  position: relative;
}
:root[data-cta-pulse="on"] .hero-ctas .pill-primary::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 18px;
  background: var(--accent);
  opacity: 0;
  z-index: -1;
  animation: ctaHalo 3s ease-in-out infinite;
  filter: blur(12px);
}
@keyframes ctaHalo {
  0%,100% { opacity: 0; transform: scale(0.95); }
  50%     { opacity: 0.35; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
}

/* ═══════════════════════════════════════════════════
   MOBILE — ≤640px
   ═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }

  /* Nav */
  .nav-inner { padding: 14px 0; }
  .wordmark { font-size: 18px; }
  .wordmark-dot { width: 28px; height: 28px; border-radius: 8px; }
  .nav .pill-ghost { padding: 8px 14px; font-size: 13px; }

  /* Hero */
  .hero { padding-top: 24px; padding-bottom: 16px; }
  .hero-grid { gap: 40px; }
  .hero h1, .word-reveal {
    font-size: clamp(40px, 11vw, 56px);
    line-height: 1.04;
    margin: 14px 0 16px;
  }
  .hero-sub { font-size: 16px; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .pill { padding: 11px 18px; font-size: 14px; }
  .hero-trust { margin-top: 20px; font-size: 12px; gap: 10px; flex-wrap: wrap; }

  /* Phone — scale it down, keep proportions */
  .phone-wrap { max-width: 320px; margin: 0 auto; }
  .phone-tilt { pointer-events: auto; }
  .phone-dots { margin-top: 18px; }

  /* Section headers */
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(30px, 8vw, 40px); }
  .section-head p { font-size: 15px; }

  /* Section spacing — reduce vertical padding */
  section.wrap { padding-top: 60px; padding-bottom: 60px; }
  .hero.wrap { padding-top: 24px; padding-bottom: 16px; }
  .footer.wrap { padding-top: 44px; padding-bottom: 32px; }

  /* Feature grid */
  .features { gap: 12px; }
  .feature { padding: 22px; border-radius: 24px; }
  .feature h3 { font-size: 19px; }
  .feature p { font-size: 14px; }

  /* Steps */
  .steps { gap: 12px; }
  .step { padding: 24px; border-radius: 24px; }

  /* Panels */
  .panels-row { gap: 12px; }
  .panel-card { padding: 18px; }

  /* Privacy grid — force to 2 cols on phone */
  .privacy { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .privacy .cell { padding: 16px; }
  .privacy .cell .num { font-size: 28px; }

  /* Quote / testimonial */
  .quote-card { padding: 28px 22px; border-radius: 28px; }
  .quote-card blockquote { font-size: 18px; }

  /* CTA block */
  .cta { padding: 56px 24px; border-radius: 32px; }
  .cta h2 { font-size: clamp(30px, 8vw, 40px); }
  .cta p { font-size: 15px; margin-bottom: 24px; }
  .cta .pill { padding: 12px 20px; font-size: 14px; }

  /* FAQ */
  .faq-item { padding: 20px; }
  .faq-item summary { font-size: 16px; }
  .faq-item > div, .faq-item p { font-size: 14px; }

  /* Footer — 1 col, stacked */
  .footer { padding-top: 44px; padding-bottom: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 28px 20px; }
  .footer h4 { font-size: 10px; }
  .footer a { font-size: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start !important; gap: 16px; text-align: left; }

  /* Background blobs — a bit smaller so they don't dominate */
  .bg-blobs::before, .bg-blobs::after, .bg-blobs .b3 {
    filter: blur(80px) !important;
  }

  /* Tone down phone tilt on touch devices */
  :root[data-phone-float="on"] .phone-tilt {
    animation-duration: 8s;
    transform: none;
  }
}

/* Very small phones — ≤380px — tighten further */
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .hero h1, .word-reveal { font-size: 38px; }
  .section-head h2, .cta h2 { font-size: 28px; }
  .phone-wrap { max-width: 280px; }
  .privacy { grid-template-columns: 1fr 1fr !important; }
}
