/* QuoteKit website — matches app theme (dark bg, blue primary) */
:root {
  --bg: #050507;
  --bg-elevated: #0a0b0f;
  --panel: rgba(255, 255, 255, 0.04);
  --panel2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f5f9;
  --text-muted: rgba(244, 245, 249, 0.7);
  --dim: rgba(244, 245, 249, 0.5);
  --primary: #5ba3ff;
  --primary-hover: #7bb5ff;
  --primary-glow: rgba(91, 163, 255, 0.35);
  --glass: rgba(10, 12, 18, 0.85);
  --radius: 12px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  color-scheme: dark;
}

/* Ensure no white anywhere */
body, .nav, .hero, section, footer, .feature-card, .pricing-card, .faq-item,
.btn-secondary, .hero-screenshot-wrap, .workflow-screenshot {
  background-color: transparent;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
}

/* Subtle background gradient like app */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(1000px 700px at 20% 10%, rgba(91, 163, 255, 0.08), transparent 50%),
              radial-gradient(800px 600px at 80% 80%, rgba(91, 163, 255, 0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: float 18s infinite ease-in-out;
}
.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 14s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: -2s; animation-duration: 16s; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: -4s; animation-duration: 15s; }
.particle:nth-child(4) { left: 70%; top: 80%; animation-delay: -1s; animation-duration: 17s; }
.particle:nth-child(5) { left: 85%; top: 40%; animation-delay: -3s; animation-duration: 13s; }
.particle:nth-child(6) { left: 55%; top: 70%; animation-delay: -5s; animation-duration: 18s; }
.particle:nth-child(7) { left: 15%; top: 85%; animation-delay: -2.5s; }
.particle:nth-child(8) { left: 90%; top: 15%; animation-delay: -1.5s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  50% { transform: translate(20px, -30px) scale(1.1); opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .particle { animation: none; opacity: 0.2; }
  .reveal { transition: none; }
  html { scroll-behavior: auto; }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

/* Nav — matches app sidebar feel */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: transparent;
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  background: transparent;
  /* Makes white background in PNG blend with dark nav so it looks clear */
  mix-blend-mode: multiply;
}
.logo-text {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 24px var(--primary-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text);
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 768px) {
  .nav {
    padding: 12px 0;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 80px 24px 24px;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    z-index: 99;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-links .nav-cta {
    margin-top: 16px;
    justify-content: center;
    padding: 16px 24px;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: max(80px, env(safe-area-inset-bottom));
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 88px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 48px;
    min-height: auto;
  }
}
@media (max-width: 480px) {
  .hero {
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 40px;
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  animation: fadeInUp 0.6s ease 0.15s both;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease 0.2s both;
}
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
.hero-stats {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.25s both;
}
@media (max-width: 480px) {
  .hero-stats {
    gap: 16px;
    margin-bottom: 32px;
  }
}
.hero-stats strong {
  color: var(--text);
}
.hero-visual {
  animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-screenshot-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: transparent;
  box-shadow: var(--shadow);
  max-width: 780px;
  margin: 0 auto;
}
.hero-screenshot {
  width: 100%;
  height: auto;
  display: block;
}
.hero-screenshot-float {
  display: none;
}
@media (min-width: 900px) {
  .hero-screenshot-wrap {
    display: grid;
  }
  .hero-screenshot {
    grid-column: 1;
    grid-row: 1;
    object-fit: cover;
    object-position: top;
    max-height: 360px;
  }
  .hero-screenshot-float {
    display: block;
    position: absolute;
    width: 48%;
    max-width: 300px;
    right: 5%;
    bottom: 5%;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 2;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons — app primary style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--primary-glow);
}
.btn-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }
}
@media (max-width: 480px) {
  section {
    padding: 40px 0;
  }
}
.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
@media (max-width: 600px) {
  .section-subtitle {
    margin-bottom: 32px;
    font-size: 1rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
@media (max-width: 620px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  contain: layout style;
}
@media (max-width: 480px) {
  .feature-card {
    padding: 20px;
  }
}
.feature-card:hover {
  border-color: rgba(91, 163, 255, 0.35);
  box-shadow: 0 0 32px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.04);
  transform: translateY(-2px);
}
.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px var(--primary-glow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: box-shadow 0.25s ease;
}
.feature-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 40px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 14px;
  color: #fff;
  box-shadow: 0 0 24px var(--primary-glow);
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text);
}
.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.workflow-screenshot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}
.workflow-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section alt background */
.section-alt {
  background: var(--bg-elevated);
}

/* Who it's for */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 560px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.who-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  contain: layout style;
}
@media (max-width: 480px) {
  .who-card {
    padding: 20px;
  }
}
.who-card:hover {
  border-color: rgba(91, 163, 255, 0.35);
  box-shadow: 0 0 24px var(--primary-glow);
  transform: translateY(-2px);
}
.who-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--primary);
  background: rgba(91, 163, 255, 0.12);
  border-radius: var(--radius);
  border: 1px solid rgba(91, 163, 255, 0.2);
  flex-shrink: 0;
}
.who-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.who-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.who-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Why QuoteKit list */
.why-list {
  list-style: none;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
}
.why-list li {
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  transition: border-color 0.25s;
}
.why-list li:hover {
  border-color: rgba(91, 163, 255, 0.3);
}
.why-list li strong {
  color: var(--text);
}

/* Trust strip */
.trust-strip {
  padding: 48px 24px;
  background: rgba(91, 163, 255, 0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pricing */
#pricing {
  padding: 80px 0 100px;
}
.pricing-grid {
  max-width: 400px;
  margin: 0 auto;
}
.pricing-grid-dual {
  max-width: 820px;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  display: grid;
}
@media (max-width: 700px) {
  .pricing-grid-dual {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .pricing-card {
    padding: 24px;
  }
  #pricing {
    padding: 56px 0 64px;
  }
}
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  border-color: rgba(91, 163, 255, 0.4);
  box-shadow: 0 0 40px var(--primary-glow);
  transform: translateY(-4px);
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 32px var(--primary-glow);
}
.pricing-card.popular::before {
  content: 'Best value';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.pricing-badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}
.pricing-period-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}
.pricing-trust {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}
.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pricing-features {
  list-style: none;
  flex: 1;
}
.pricing-features li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}
.pricing-card .btn {
  margin-top: 24px;
  width: 100%;
}
.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(91, 163, 255, 0.25);
  background: var(--panel2);
}
.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 0 24px var(--primary-glow);
  background: rgba(91, 163, 255, 0.06);
}
.faq-q {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: inherit;
  transition: color 0.2s ease;
  line-height: 1.5;
}
.faq-q-text {
  flex: 1 1 0%;
  min-width: 0;
  text-align: left;
  padding-right: 8px;
}
.faq-q:hover {
  color: var(--primary);
}
.faq-item.open .faq-q {
  color: var(--primary);
}
.faq-q:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.faq-q .faq-chevron {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 6px;
  background: rgba(91, 163, 255, 0.15);
  color: var(--primary);
  font-size: 0.65rem;
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-item:hover .faq-q .faq-chevron {
  background: rgba(91, 163, 255, 0.25);
}
.faq-item.open .faq-q .faq-chevron {
  transform: rotate(180deg);
  background: rgba(91, 163, 255, 0.3);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
  padding: 0 20px 20px;
  border-top: 1px solid transparent;
  transition: border-color 0.2s ease;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  font-weight: 400;
  text-align: left;
}
.faq-item.open .faq-a-inner {
  border-top-color: rgba(91, 163, 255, 0.2);
  padding-top: 16px;
  padding-bottom: 20px;
}
.faq-a-inner a {
  color: var(--primary);
  text-decoration: none;
}
.faq-a-inner a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .faq-list {
    margin-left: -4px;
    margin-right: -4px;
  }
  .faq-q {
    padding: 16px 16px;
  }
  .faq-a-inner {
    padding: 0 16px 16px;
  }
  .faq-item.open .faq-a-inner {
    padding-top: 14px;
    padding-bottom: 18px;
  }
}

/* CTA */
.cta-section {
  padding: 80px 0;
  text-align: center;
}
.cta-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.cta-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: transparent;
}
.footer-trust {
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.footer-trust a { color: var(--primary); text-decoration: none; }
.footer-trust a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
}

/* Legal pages (privacy, terms) */
.legal-page .legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .legal-page .legal {
    padding-top: 88px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 56px;
  }
}
@media (max-width: 480px) {
  .legal-page .legal {
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 40px;
  }
}
.legal h1 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--text);
}
.legal h2 {
  font-size: 1.125rem;
  margin: 28px 0 12px;
  color: var(--text);
}
.legal p,
.legal li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal a {
  color: var(--primary);
  text-decoration: none;
}
.legal a:hover {
  text-decoration: underline;
}
.legal .back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}
.legal .back:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print: clean, readable, no decorative stuff */
@media print {
  .particles, .nav-toggle, .hero-buttons .btn-secondary, .skip-link { display: none !important; }
  body { background: #fff; color: #111; }
  .nav { background: #fff; border-color: #ddd; }
  .hero, section { padding: 1.5rem 0; }
  .feature-card, .who-card, .pricing-card, .faq-item { border-color: #ddd; background: #f9f9f9; }
  .btn-primary { background: #2563eb; color: #fff; }
  a[href="#main-content"] { display: none; }
}
