/* ============================================
   ROOTS — v5  Tabbed, premium, privacy-forward
   ============================================ */

:root {
  --primary: #00B383;
  --primary-dark: #009A70;
  --primary-light: #CAECE1;
  --primary-ghost: rgba(0, 179, 131, 0.06);
  --primary-glow: rgba(0, 179, 131, 0.18);
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #111;
  --text-2: rgba(17, 17, 17, 0.55);
  --text-3: rgba(17, 17, 17, 0.32);
  --border: rgba(0, 0, 0, 0.07);
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 56px;
  --max-w: 1040px;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }

/* ============================================
   PAGE-LEVEL MOUSE EFFECTS
   ============================================ */
.page-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.page-orb { position: absolute; border-radius: 50%; pointer-events: none; transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1); will-change: transform; filter: blur(40px); }
.page-orb--1 {
  width: 600px; height: 600px; top: -15%; right: -10%;
  background: radial-gradient(circle, rgba(0, 179, 131, 0.4) 0%, rgba(0, 179, 131, 0.1) 40%, transparent 70%); opacity: 0.7;
}
.page-orb--2 {
  width: 450px; height: 450px; bottom: -5%; left: -8%;
  background: radial-gradient(circle, rgba(0, 179, 131, 0.3) 0%, rgba(0, 179, 131, 0.08) 40%, transparent 70%); opacity: 0.6;
}
.page-orb--3 {
  width: 350px; height: 350px; top: 35%; left: 45%;
  background: radial-gradient(circle, rgba(0, 179, 131, 0.25) 0%, rgba(0, 179, 131, 0.06) 40%, transparent 70%); opacity: 0.5;
}
.page-glow {
  position: absolute; width: 400px; height: 400px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 179, 131, 0.18) 0%, rgba(0, 179, 131, 0.06) 35%, transparent 65%);
  filter: blur(30px);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease, background 0.8s ease;
  will-change: transform, opacity;
}

/* Per-tab gradient themes */
.page-bg .page-orb, .page-bg .page-glow { transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.8s ease, opacity 0.8s ease; }

/* Home — green (default) */

/* Why Roots — teal/cyan shift */
.page-bg--why .page-orb--1 { background: radial-gradient(circle, rgba(0, 160, 160, 0.4) 0%, rgba(0, 160, 160, 0.1) 40%, transparent 70%); top: -10%; right: -15%; }
.page-bg--why .page-orb--2 { background: radial-gradient(circle, rgba(0, 140, 170, 0.3) 0%, rgba(0, 140, 170, 0.08) 40%, transparent 70%); bottom: -10%; left: -5%; }
.page-bg--why .page-orb--3 { background: radial-gradient(circle, rgba(0, 150, 155, 0.25) 0%, rgba(0, 150, 155, 0.06) 40%, transparent 70%); top: 50%; left: 30%; }
.page-bg--why .page-glow { background: radial-gradient(circle, rgba(0, 160, 160, 0.18) 0%, rgba(0, 160, 160, 0.06) 35%, transparent 65%); }

/* Features — warm green/emerald */
.page-bg--features .page-orb--1 { background: radial-gradient(circle, rgba(16, 185, 110, 0.4) 0%, rgba(16, 185, 110, 0.1) 40%, transparent 70%); top: -20%; right: -5%; }
.page-bg--features .page-orb--2 { background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0.08) 40%, transparent 70%); bottom: 0; left: -12%; }
.page-bg--features .page-orb--3 { background: radial-gradient(circle, rgba(5, 170, 100, 0.25) 0%, rgba(5, 170, 100, 0.06) 40%, transparent 70%); top: 25%; left: 55%; }
.page-bg--features .page-glow { background: radial-gradient(circle, rgba(16, 185, 110, 0.18) 0%, rgba(16, 185, 110, 0.06) 35%, transparent 65%); }

/* Privacy — deep green/dark teal */
.page-bg--privacy .page-orb--1 { background: radial-gradient(circle, rgba(0, 130, 110, 0.4) 0%, rgba(0, 130, 110, 0.1) 40%, transparent 70%); top: -5%; right: -12%; }
.page-bg--privacy .page-orb--2 { background: radial-gradient(circle, rgba(0, 110, 130, 0.3) 0%, rgba(0, 110, 130, 0.08) 40%, transparent 70%); bottom: -8%; left: -3%; }
.page-bg--privacy .page-orb--3 { background: radial-gradient(circle, rgba(0, 120, 120, 0.25) 0%, rgba(0, 120, 120, 0.06) 40%, transparent 70%); top: 45%; left: 40%; }
.page-bg--privacy .page-glow { background: radial-gradient(circle, rgba(0, 130, 110, 0.18) 0%, rgba(0, 130, 110, 0.06) 35%, transparent 65%); }

/* Beta — bright green, more vibrant */
.page-bg--beta .page-orb--1 { background: radial-gradient(circle, rgba(0, 200, 120, 0.45) 0%, rgba(0, 200, 120, 0.12) 40%, transparent 70%); opacity: 0.75; top: -18%; right: -8%; }
.page-bg--beta .page-orb--2 { background: radial-gradient(circle, rgba(0, 210, 140, 0.35) 0%, rgba(0, 210, 140, 0.1) 40%, transparent 70%); opacity: 0.65; bottom: -3%; left: -10%; }
.page-bg--beta .page-orb--3 { background: radial-gradient(circle, rgba(0, 195, 130, 0.3) 0%, rgba(0, 195, 130, 0.08) 40%, transparent 70%); opacity: 0.55; top: 30%; left: 50%; }
.page-bg--beta .page-glow { background: radial-gradient(circle, rgba(0, 200, 120, 0.22) 0%, rgba(0, 200, 120, 0.07) 35%, transparent 65%); }

/* ============================================
   ANIMATIONS
   ============================================ */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  height: 100%; display: flex; align-items: center; gap: 8px;
}
.nav__logo { display: flex; align-items: center; gap: 6px; cursor: pointer; margin-right: auto; }
.nav__logo-img { width: 24px; }
.nav__logo-text { font-size: 17px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }

.nav__tabs {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav__tab {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 6px 14px; border-radius: 100px;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.nav__tab:hover { color: var(--text); background: rgba(0,0,0,0.03); }
.nav__tab--active { color: var(--primary); background: var(--primary-ghost); }

.nav__cta {
  font-size: 12px; font-weight: 700; color: white;
  background: var(--primary); padding: 7px 16px;
  border-radius: 100px; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.nav__cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ============================================
   PANELS — tab content
   ============================================ */
.panel {
  display: none;
  min-height: calc(100vh - var(--nav-h));
  padding-top: var(--nav-h);
}

.panel__scroll {
  overflow-y: auto;
}

/* Entrance animation */
.panel--entering { animation: panelIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO (home tab)
   ============================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  padding: 48px 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 40px; text-align: center;
  position: relative; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__content { max-width: 560px; position: relative; z-index: 2; }
.hero__headline {
  font-size: clamp(32px, 8vw, 54px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.035em;
  margin-bottom: 18px; display: flex; flex-direction: column;
}
.hero__line {
  display: block; opacity: 0; transform: translateY(16px);
  animation: lineIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.1s; }
.hero__line:nth-child(2) { animation-delay: 0.28s; }
.hero__line:nth-child(3) { animation-delay: 0.46s; }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }

.hero__gradient {
  background: linear-gradient(90deg, #00B383, #00D4AA, #0A8F6A, #34D399, #00B383);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lineIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             gradientShift 4s ease infinite 1.1s;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero__sub {
  font-size: clamp(15px, 3.5vw, 18px); font-weight: 500;
  color: var(--text-2); line-height: 1.55; margin-bottom: 24px;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.hero__visual { position: relative; z-index: 2; }

/* PHONE */
.phone {
  width: 260px; height: 594px; background: none;
  border-radius: 0; padding: 0; position: relative;
  box-shadow: none;
  margin: 0 auto; animation: drift 7s ease-in-out infinite;
}
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.phone__notch {
  display: none;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 0;
  overflow: visible; position: relative; background: none;
}
.carousel { width: 100%; height: 100%; position: relative; overflow: hidden; }
.carousel__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill; border-radius: 0;
  opacity: 0; transform: scale(1.01);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.carousel__slide--active { opacity: 1; transform: scale(1); }

/* Hotspot overlays */
.hotspot {
  position: absolute; width: 42px; height: 42px;
  transform: translate(-50%, -50%);
  background: transparent; border: 2.5px solid white;
  border-radius: 50%; cursor: pointer; z-index: 10;
  display: none; align-items: center; justify-content: center;
  padding: 0; transition: background 0.3s;
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}
.hotspot--visible { display: flex; }
.hotspot:hover { background: rgba(255, 255, 255, 0.6); }
.hotspot__ring {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.8); opacity: 0;
  animation: hotspotPulse 2s ease-out infinite;
}
@keyframes hotspotPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.hotspot__tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%); white-space: nowrap;
  font-size: 13px; font-weight: 800; color: white;
  background: linear-gradient(90deg, #00B383, #00D4AA, #0A8F6A, #34D399, #00B383);
  background-size: 300% 100%;
  padding: 7px 14px;
  border-radius: 14px; pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 179, 131, 0.4);
  letter-spacing: 0.01em;
  animation: tipBounce 2s ease-in-out infinite, gradientShift 4s ease infinite;
}
.hotspot__tip::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #00B383;
}
/* Tooltip above for hotspots near the bottom edge */
.hotspot__tip--above {
  bottom: auto; top: calc(100% + 10px);
}
.hotspot__tip--above::after {
  top: auto; bottom: 100%;
  border-top-color: transparent; border-bottom-color: #00B383;
}
@keyframes tipBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}
.carousel__labels {
  position: relative; margin-top: 20px;
  overflow: hidden; height: 44px;
}
.carousel__labels-track {
  display: flex; gap: 10px; position: absolute; left: 50%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: center; height: 100%;
}
.carousel__label {
  font-size: 13px; font-weight: 700; padding: 8px 18px;
  border-radius: 100px; cursor: pointer;
  background: white; color: #1a1a1a;
  border: 1.5px solid #ddd;
  transition: all 0.4s ease;
  white-space: nowrap; flex-shrink: 0;
  opacity: 0.35; transform: scale(0.9);
}
.carousel__label:hover { opacity: 0.7; }
.carousel__label--adjacent { opacity: 0.5; transform: scale(0.95); }
.carousel__label--active {
  background: var(--primary); color: white;
  border-color: var(--primary); box-shadow: 0 2px 12px rgba(0, 179, 131, 0.35);
  font-weight: 800; opacity: 1; transform: scale(1);
}

/* ============================================
   TAB SECTIONS (inside panels)
   ============================================ */
.tab-section {
  padding: 60px 24px;
}
.tab-section--tinted { background: transparent; position: relative; }
.tab-section--tinted::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--primary-ghost) 15%, var(--primary-ghost) 85%, transparent 100%);
  pointer-events: none;
}
.tab-section--hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
}
.tab-section__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.tab-section__heading {
  font-size: clamp(24px, 5vw, 38px); font-weight: 800;
  line-height: 1.18; letter-spacing: -0.025em;
  text-align: center; margin-bottom: 14px;
}
.tab-section__body {
  font-size: clamp(14px, 3vw, 17px); color: var(--text-2);
  max-width: 520px; line-height: 1.65;
  margin-bottom: 36px; text-align: center;
}

/* ============================================
   FORM
   ============================================ */
.form-row {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 400px; margin: 0 auto;
}
.form-input {
  width: 100%; padding: 12px 18px; border-radius: 100px;
  background: white; border: 1.5px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s; text-align: center;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-ghost); }
.form-input::placeholder { color: var(--text-3); }
.form-note { font-size: 11px; color: var(--text-3); text-align: center; margin-top: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,179,131,0.3); }
.btn--primary:active { transform: translateY(0); }
.btn--shine::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shine 5s ease-in-out infinite;
}
@keyframes shine { 0% { left: -100%; } 30%, 100% { left: 100%; } }

/* ============================================
   PILLARS
   ============================================ */
.pillars {
  display: grid; grid-template-columns: 1fr;
  gap: 14px; width: 100%; max-width: 800px;
}
.pillar {
  padding: 28px 22px; background: white;
  border-radius: 14px; border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,0.05); }
.pillar__icon { color: var(--primary); margin-bottom: 12px; display: flex; justify-content: center; }
.pillar__title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.pillar__text { font-size: 13px; color: var(--text-2); }

/* ============================================
   CONTRASTS
   ============================================ */
.contrasts {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; max-width: 580px;
}
.contrast {
  padding: 18px 22px; background: white;
  border-radius: 12px; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.contrast:hover { transform: translateX(4px); box-shadow: 0 6px 24px rgba(0,0,0,0.04); }
.contrast__old { font-size: 14px; color: var(--text-3); font-weight: 500; text-decoration: line-through; text-decoration-color: var(--border); }
.contrast__new { font-size: 16px; color: var(--primary); font-weight: 800; }

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 14px; width: 100%; max-width: 880px;
}
.feature {
  padding: 26px 22px; background: white;
  border-radius: 14px; border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,0.05); }
.feature__icon { color: var(--primary); margin-bottom: 10px; }
.feature__title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.feature__text { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* ============================================
   PROFILES
   ============================================ */
.profiles-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 14px; width: 100%; max-width: 800px;
}
.profile-card {
  padding: 28px 22px; background: white;
  border-radius: 14px; border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,0.05); }
.profile-card__icon { color: var(--primary); margin-bottom: 12px; }
.profile-card__title { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.profile-card__text { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ============================================
   PRIVACY
   ============================================ */
.privacy-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary); margin-bottom: 14px;
}
.privacy-heading {
  font-size: clamp(26px, 6vw, 46px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 18px; text-align: center;
}
.privacy-grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
  text-align: left; max-width: 480px; margin: 0 auto; width: 100%;
}
.privacy-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.privacy-item:last-child { border-bottom: none; }
.privacy-item svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.privacy-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.privacy-item span { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ============================================
   CTA
   ============================================ */
.cta-heading {
  font-size: clamp(26px, 5vw, 42px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.025em;
  max-width: 520px; margin-bottom: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 10px 20px; background: rgba(250,250,250,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); z-index: 50;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
}
.footer__inner { display: flex; align-items: center; gap: 8px; }
.footer__copy { font-size: 11px; color: var(--text-3); }
.footer__sep { color: var(--text-3); font-size: 11px; }
.footer__link { font-size: 11px; color: var(--text-2); transition: color 0.2s; }
.footer__link:hover { color: var(--primary); }

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed; bottom: 52px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 200; opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s;
  pointer-events: none;
}
.toast--visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.toast__inner {
  background: var(--text); color: white;
  padding: 10px 20px; border-radius: 100px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2); white-space: nowrap;
}
.toast__icon {
  width: 20px; height: 20px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (min-width: 640px) {
  .nav__tabs { display: flex; }
  .form-row { flex-direction: row; }
  .form-input { text-align: left; flex: 1; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .profiles-grid { grid-template-columns: repeat(3, 1fr); }
  .contrast { flex-direction: row; align-items: baseline; gap: 14px; }
}

/* ============================================
   RESPONSIVE — DESKTOP
   ============================================ */
@media (min-width: 1024px) {
  .hero {
    flex-direction: row; text-align: left;
    padding: 56px 48px; gap: 64px;
  }
  .hero__content { max-width: 460px; flex-shrink: 0; }
  .hero__sub { margin-left: 0; margin-right: 0; }
  .form-row { margin: 0; }
  .form-input { text-align: left; }
  .phone { width: 280px; height: 640px; }
  .tab-section { padding: 70px 48px; }
  .tab-section--hero { padding: 60px 48px; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .hero__headline { font-size: 56px; }
  .phone { width: 300px; height: 686px; }
}

/* ============================================
   MOBILE NAV — horizontal scroll tabs
   ============================================ */
@media (max-width: 639px) {
  .hero { gap: 12px; padding: 32px 24px 24px; }
  .form-note { margin-bottom: 0; }
  .nav__tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    flex: 1;
    margin: 0 4px;
  }
  .nav__tabs::-webkit-scrollbar { display: none; }
  .nav__tab { font-size: 11px; padding: 5px 8px; }
  .nav__cta { font-size: 10px; padding: 6px 10px; flex-shrink: 0; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; transform: none; transition: none; }
  .hero__line { opacity: 1; transform: none; animation: none; }
  .phone { animation: none; }
  .btn--shine::after { animation: none; }
  .panel--entering { animation: none; }
}
