/* BAS Buddy landing + legal pages. Light theme default, dark theme via
   [data-theme="dark"] on <html>. Flat backgrounds only; type scale and
   spacing follow the landing page design system tokens. */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;
  --card: #FFFFFF;
  --chip: #ECECEC;
  --line: rgba(17, 17, 17, 0.1);
  --text: #111111;
  --text-2: #525252;
  --text-3: #6B6B6B; /* 4.6:1 on --bg, 4.5:1 on --bg-alt (WCAG AA) */
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --focus: #2563EB;
  --green: #166534; /* 5:1 on --green-tint over --bg */
  --amber: #B45309;
  --green-tint: rgba(21, 128, 61, 0.1);
  --amber-tint: rgba(180, 83, 9, 0.12);
  --accent-tint: rgba(37, 99, 235, 0.1);
  --nav-glass: rgba(255, 255, 255, 0.72);
  --overlay-glass: rgba(255, 255, 255, 0.85);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --doc-text: #3F3F3F;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #181818;
  --card: #1F1F1F;
  --chip: #272727;
  --line: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-2: #9B9B9B;
  --text-3: #8A8A8A; /* 5.2:1 on --bg, 5.3:1 on --bg-alt in dark */
  --accent-hover: #3B82F6;
  --focus: #60A5FA;
  --green: #4ADE80;
  --amber: #FBBF24;
  --green-tint: rgba(74, 222, 128, 0.12);
  --amber-tint: rgba(251, 191, 36, 0.12);
  --accent-tint: rgba(59, 130, 246, 0.14);
  --nav-glass: rgba(0, 0, 0, 0.55);
  --overlay-glass: rgba(0, 0, 0, 0.8);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --doc-text: #CFCFCF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}

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

a { color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.7s var(--ease);
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--accent-tint); }

/* ---------- Typography helpers ---------- */

h1, h2, h3 { font-weight: 700; text-wrap: balance; }

p { text-wrap: pretty; }

.gradient-text {
  background: linear-gradient(90deg, #000000 0%, #666666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
[data-theme="dark"] .gradient-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--accent);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: 36px; line-height: 1.1; margin-bottom: 16px; }
.section-head p { color: var(--text-2); font-size: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease),
    border-color 0.7s var(--ease), color 0.7s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-large { font-size: 18px; padding: 12px 20px; }

.btn-sm { font-size: 14px; padding: 12px 16px; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-3); }

/* ---------- Island nav ---------- */

.nav {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 8px 8px 12px;
  border-radius: 9999px;
  background: var(--nav-glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: max-content;
  transition: background-color 0.7s var(--ease);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo-img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.7s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-cta-group { display: flex; align-items: center; gap: 8px; }
.nav-signin {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.7s var(--ease);
}
.nav-signin:hover { color: var(--text); }

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.7s var(--ease), border-color 0.7s var(--ease),
    transform 0.7s var(--ease);
}
/* extend the 36px control to a 46px touch target without layout shift */
.theme-toggle::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--text-3);
  transform: translateY(-1px);
}
.theme-toggle:active { transform: scale(0.96); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Hamburger */
.burger {
  display: none;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 9px;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.7s var(--ease);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}
/* extend the 36px control to a 46px touch target without layout shift */
.burger::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
}

/* Mobile overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--overlay-glass);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-overlay ul { list-style: none; text-align: center; }
.nav-overlay li {
  transform: translateY(48px);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.nav-overlay.open li { transform: translateY(0); opacity: 1; }
.nav-overlay.open li:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.open li:nth-child(2) { transition-delay: 0.15s; }
.nav-overlay.open li:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.open li:nth-child(4) { transition-delay: 0.25s; }
.nav-overlay.open li:nth-child(5) { transition-delay: 0.3s; }
.nav-overlay li a {
  display: block;
  padding: 16px;
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.nav-overlay .overlay-cta { margin-top: 24px; }

/* ---------- Hero ---------- */

.hero {
  padding: 176px 0 96px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 8px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--green-tint);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--green);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: 48px;
  line-height: 1.05;
  max-width: 680px;
  margin-bottom: 24px;
}

.hero .sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-2);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--green); flex-shrink: 0; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin-top: 40px;
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .stat b {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}
.hero-stats .stat span { font-size: 14px; color: var(--text-2); }

/* App mockup */
.mock-wrap {
  position: relative;
  max-width: 960px;
  margin: 64px auto 0;
}

.mock {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

/* Demo video frame (section #demo) */
.video-frame {
  max-width: 920px;
  margin: 48px auto 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.video-frame .mock-chrome { margin-bottom: 12px; }
.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: var(--bg);
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.mock-chrome .dots { display: flex; gap: 8px; }
.mock-chrome .dots i {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--chip);
}
.mock-chrome .url {
  margin-left: 12px;
  flex: 1;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
.mock-grid > * { min-width: 0; }

.mock-list { display: flex; flex-direction: column; gap: 8px; }
.mock-h {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.mock-row .file { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mock-row .file b {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-row .file span { font-size: 12px; color: var(--text-3); }
.mock-row .amt {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
  flex-shrink: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.chip-ok { background: var(--green-tint); color: var(--green); }
.chip-review { background: var(--amber-tint); color: var(--amber); }

.mock-panel { display: flex; flex-direction: column; gap: 8px; }
.mock-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.mock-field .label { font-size: 12px; color: var(--text-3); }
.mock-field .value {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-field .value.good { color: var(--green); }

.conf { display: flex; align-items: center; gap: 8px; }
.conf .track {
  width: 64px;
  height: 4px;
  border-radius: 9999px;
  background: var(--chip);
  overflow: hidden;
}
.conf .fill { height: 100%; border-radius: 9999px; background: var(--green); }
.conf .pct { font-family: var(--mono); font-size: 12px; color: var(--text-2); }

.sync-chip {
  position: absolute;
  left: 24px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-2);
  box-shadow: var(--shadow);
}
.sync-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--green);
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

/* Tagline reveal */
.tagline {
  padding: 128px 0;
}
.tagline p {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  max-width: 680px;
  text-wrap: balance;
}
.tagline .tw {
  color: var(--text-3);
  opacity: 0.4;
  transition: color 0.7s var(--ease), opacity 0.7s var(--ease);
}
.tagline .tw.on { color: var(--text); opacity: 1; }

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.benefit .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--focus);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--text-2); }

@media (min-width: 961px) {
  .benefit:last-child { grid-column: span 2; }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.step .num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--focus);
  background: var(--accent-tint);
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); }
.step .hint {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
}

/* Free access */
.free-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--text-2);
}
.check-list b { color: var(--text); font-weight: 600; }
.check-list svg { color: var(--green); flex-shrink: 0; margin-top: 4px; }

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  box-shadow: var(--shadow);
}
.price-card .plan { font-size: 14px; font-weight: 600; color: var(--text-2); }
.price-card .price {
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  margin: 16px 0 4px;
}
.price-card .price sup {
  font-size: 24px;
  font-weight: 600;
  vertical-align: super;
  color: var(--text-2);
}
.price-card .note { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.price-card ul { list-style: none; margin: 24px 0; }
.price-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul svg { color: var(--green); flex-shrink: 0; }
.price-card .fineprint { font-size: 13px; color: var(--text-3); margin-top: 16px; }

/* FAQ */
.faq { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.7s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--focus); }
.faq-item summary svg { flex-shrink: 0; color: var(--text-2); transition: transform 0.7s var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .answer { padding: 0 0 24px; color: var(--text-2); max-width: 640px; }
.faq-item .answer a { color: var(--focus); }

/* Final CTA */
.final {
  text-align: center;
  padding: 128px 0;
}
.final h2 {
  font-size: 48px;
  line-height: 1.05;
  max-width: 680px;
  margin: 0 auto 24px;
}
.final p { color: var(--text-2); font-size: 18px; max-width: 680px; margin: 0 auto 32px; }
.final .hero-proof { justify-content: center; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 48px;
  background: var(--bg);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-logo { width: 128px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-2); }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h3 { font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 16px; }
.footer-cols ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-cols a {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.7s var(--ease);
}
.footer-cols a:hover { color: var(--text); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-3);
}

/* ---------- Legal document pages ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 148px 24px 96px;
}
.doc h1 { font-size: 36px; line-height: 1.1; margin-bottom: 8px; }
.doc .doc-meta { font-size: 14px; color: var(--text-3); margin-bottom: 48px; }
.doc h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 48px 0 16px;
  text-wrap: balance;
}
.doc h3 { font-size: 18px; margin: 32px 0 8px; }
.doc p, .doc li {
  color: var(--doc-text);
  font-size: 16px;
  text-wrap: pretty;
}
.doc p { margin-bottom: 16px; }
.doc ul, .doc ol { padding-left: 24px; margin-bottom: 16px; display: grid; gap: 8px; }
.doc a { color: var(--focus); }
.doc strong { color: var(--text); font-weight: 600; }
.doc .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.7s var(--ease);
}
.doc .back:hover { color: var(--text); }

/* ---------- 404 ---------- */

.notfound { min-height: 100vh; display: flex; align-items: center; text-align: center; }
.notfound h1 { font-size: 96px; line-height: 1; margin-bottom: 16px; }
.notfound p { color: var(--text-2); margin-bottom: 32px; }
.notfound .inner { margin: 0 auto; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero h1 { font-size: 36px; }
  .tagline p, .final h2 { font-size: 36px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .free-grid { grid-template-columns: 1fr; gap: 32px; }
  .mock-grid { grid-template-columns: 1fr; }
  .footer-cols { gap: 40px; }
}

@media (max-width: 820px) {
  .nav-links, .nav-signin { display: none; }
  .burger { display: block; }
}

@media (max-width: 640px) {
  .hero { padding: 144px 0 64px; }
  .section { padding: 64px 0; }
  .tagline { padding: 96px 0; }
  .hero h1, .tagline p, .final h2 { font-size: 36px; }
  .price-card .price { font-size: 48px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .hero-stats { gap: 24px; }
  .final { padding: 96px 0; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .tagline .tw { color: var(--text); opacity: 1; }
}
