/* ============================================================
   Remerge — Marketing site styles
   Design language pulled from the app wireframes:
   purple gradients, deep-navy headings, rounded pill shapes.
   ============================================================ */

:root {
  --violet-50:  #f5f0ff;
  --violet-100: #ede4ff;
  --violet-200: #d8bbff;
  --violet-300: #c39bf7;
  --violet-400: #a855f7;
  --violet-500: #9333ea;
  --violet-600: #7c2fd6;
  --violet-700: #6b21c9;

  --navy:       #141225;
  --navy-soft:  #2b2a4d;
  --ink:        #3a3a52;
  --muted:      #6f6e86;

  --bg:         #ffffff;
  --bg-soft:    #f5f2fb;
  --card:       #ffffff;
  --cream:      #fdfbf1;
  --line:       #ece9f4;

  --radius-sm: 16px;
  --radius:    24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 20px rgba(20, 18, 37, 0.06);
  --shadow:    0 20px 50px rgba(20, 18, 37, 0.10);
  --shadow-lg: 0 40px 80px rgba(76, 29, 149, 0.18);

  --maxw: 1200px;
  --display: "Space Grotesk", "Poppins", system-ui, sans-serif;
  --grad: linear-gradient(120deg, #a855f7 0%, #7c2fd6 100%);
  --grad-hero: linear-gradient(160deg, #efe2ff 0%, #c79bf5 45%, #7c2fd6 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--primary {
  background: var(--grad);
  color: #fff;
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid rgba(20,18,37,0.14);
}
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--dark {
  background: var(--navy);
  color: #fff;
}
.btn--dark:hover { transform: translateY(-2px); background: var(--navy-soft); }

/* ---------- Shared bits ---------- */
.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--violet-600);
  background: var(--violet-100);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.pill--light { background: rgba(255,255,255,0.18); color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--violet-500);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 540px;
  margin-top: 18px;
}

/* ---------- Brand / logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}
.brand__name {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: .2px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav__links {
  display: flex;
  gap: 34px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color .18s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width .22s ease;
}
.nav__links a:hover { color: var(--violet-600); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: .25s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.nav__mobile a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(124,47,214,.07);
}
.nav__mobile .btn { margin: 12px 0 18px; }
.nav__mobile.open { max-height: 400px; padding-bottom: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -280px; right: -160px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(168,85,247,.35), transparent 62%);
  filter: blur(20px);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(42px, 6.8vw, 80px);
  line-height: 0.98;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero__waitlist { display: flex; align-items: center; gap: 14px; }
.hero__waitlist p { color: var(--muted); font-size: 15px; }
.hero__waitlist strong { color: var(--navy); }

/* ---------- Hero phones ---------- */
.hero__art { position: relative; min-height: 540px; display: grid; place-items: center; }
.phone {
  position: relative;
  z-index: 2;
  width: 260px;
  border-radius: 40px;
  padding: 10px;
  background: #14132a;
  box-shadow: var(--shadow-lg);
  border: 2px solid #26243f;
}
.phone img { border-radius: 30px; }
.phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #14132a;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone--front {
  transform: rotate(4deg) translateY(6px);
  animation: floaty 6s ease-in-out infinite;
}
.phone--back {
  position: absolute;
  z-index: 1;
  width: 232px;
  transform: rotate(-9deg) translate(-96px, -22px);
  opacity: .95;
  animation: floaty2 7s ease-in-out infinite;
}
@keyframes floaty  { 0%,100%{transform:rotate(4deg) translateY(6px);} 50%{transform:rotate(4deg) translateY(-10px);} }
@keyframes floaty2 { 0%,100%{transform:rotate(-9deg) translate(-96px,-22px);} 50%{transform:rotate(-9deg) translate(-96px,-38px);} }
/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: clamp(50px, 7vw, 90px) 0; }
.about__inner { text-align: center; max-width: 780px; margin-inline: auto; }
.about__inner .lead { margin-inline: auto; max-width: 640px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: clamp(48px, 7vw, 96px) 0; }
.features__head { text-align: center; margin-bottom: 52px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 14px 14px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 24px;
  background: transparent;
}
.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(20,18,37,.18);
}
.feature-card h3 { font-family: var(--display); color: var(--navy); font-size: 22px; font-weight: 700; letter-spacing: -.5px; margin: 0 10px 8px; }
.feature-card p { color: var(--muted); font-size: 15.5px; margin: 0 10px; }

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase { padding: clamp(50px, 7vw, 90px) 0; }
.showcase--alt { background: var(--bg-soft); }
.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.showcase__art { position: relative; display: grid; place-items: center; min-height: 480px; }
.showcase__art::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #f3ecff, #e0d0fb);
  z-index: 0;
}
.showcase--alt .showcase__art::before { background: linear-gradient(165deg, #fdfbff, #ece1fb); }
.showcase__art .phone { position: relative; z-index: 2; animation: floaty3 7s ease-in-out infinite; }
@keyframes floaty3 { 0%,100%{transform:translateY(0) rotate(-2deg);} 50%{transform:translateY(-14px) rotate(-2deg);} }
.showcase__copy .btn { margin-top: 26px; }
.showcase__inner--rev .showcase__copy { order: 1; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(50px, 7vw, 90px) 0; }
.faq__head { text-align: center; margin-bottom: 40px; }
.faq__list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--violet-500);
  transition: transform .25s ease;
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ============================================================
   CTA / EARLY ACCESS
   ============================================================ */
.cta { padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 110px); }
.cta__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 4.5vw, 56px) 24px;
  box-shadow: var(--shadow-lg);
}
.cta__glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 62%);
  top: -220px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
.cta__card > *:not(.cta__glow) { position: relative; z-index: 1; }
.cta__title { font-family: var(--display); color: #fff; font-weight: 700; font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -1.4px; }
.cta__sub { color: rgba(255,255,255,.9); max-width: 520px; margin: 14px auto 30px; font-size: 17px; }
.cta__form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 18px;
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 40px rgba(30,27,58,.2);
}
.cta__form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-size: 15px;
  font-family: inherit;
  color: var(--navy);
  background: transparent;
  min-width: 0;
}
/* Spam-trap field: must stay in the markup but never be shown to people. */
.form-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cta__note { color: rgba(255,255,255,.9); font-size: 15px; }
.cta__note strong { color: #fff; }
.cta__note.success { font-weight: 600; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #cfcde6; padding-top: 60px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 50px;
  padding-bottom: 46px;
}
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__logo { border: 1px solid rgba(255,255,255,.14); }
.footer__brand p { margin: 16px 0 20px; color: #a8a6c9; max-width: 280px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--grad); transform: translateY(-3px); }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer__col a {
  display: block;
  color: #a8a6c9;
  text-decoration: none;
  font-size: 14.5px;
  padding: 6px 0;
  transition: color .18s ease;
}
.footer__col a:hover { color: #fff; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { color: #8c8ab0; font-size: 14px; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: #8c8ab0; text-decoration: none; font-size: 14px; }
.footer__legal a:hover { color: #fff; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 1; }
  .hero__art { order: 2; min-height: 500px; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__waitlist { justify-content: center; }

  .features__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }

  .showcase__inner, .showcase__inner--rev { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .showcase__inner--rev .showcase__copy { order: 2; }
  .showcase__copy .lead { margin-inline: auto; }
  .showcase__copy .eyebrow { display: inline-block; }

  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .cta__form { flex-direction: column; border-radius: var(--radius); background: transparent; box-shadow: none; padding: 0; }
  .cta__form input { background: #fff; border-radius: var(--radius-pill); }
  .cta__form .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

/* ============================================================
   Active nav state
   ============================================================ */
.nav__links a[aria-current="page"] { color: var(--violet-600); }
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__mobile a[aria-current="page"] { color: var(--violet-600); }

/* ============================================================
   PAGE HERO (sub pages)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -260px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 620px;
  background: radial-gradient(circle, rgba(168,85,247,.24), transparent 62%);
  z-index: 0;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.page-hero p { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); max-width: 620px; margin-inline: auto; }

.section { padding: clamp(44px, 6vw, 84px) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 46px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-intro__media {
  position: relative;
  display: grid; place-items: center;
  min-height: 420px;
}
.about-intro__media .phone { width: 240px; }
.about-intro__copy .lead { margin-top: 20px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tag-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.tag-list li svg { color: var(--violet-500); flex-shrink: 0; }

.why-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 56px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  max-width: 900px;
  margin-inline: auto;
}
.why-card .lead { max-width: none; }

/* Team / founder */
.team-grid {
  display: grid;
  gap: 20px;
  max-width: 940px;
  margin-inline: auto;
}
.team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: center;
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 52px);
  box-shadow: var(--shadow);
  max-width: none;
  margin-inline: 0;
}
.team-card__avatar {
  width: 130px; height: 130px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16);
  border: 3px solid rgba(255,255,255,.4);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 44px;
  color: #fff;
}
.team-card__body h3 { font-family: var(--display); color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -.6px; margin-bottom: 4px; }
.team-card__role { color: rgba(255,255,255,.85); font-weight: 600; font-size: 14px; margin-bottom: 0; text-transform: uppercase; letter-spacing: 1px; }
.team-card__body p { color: rgba(255,255,255,.94); font-size: 15.5px; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.steps {
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 88px);
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.step:nth-child(even) .step__media { order: -1; }
.step__text { max-width: 440px; }
.step__num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(58px, 9vw, 104px);
  line-height: .9;
  letter-spacing: -3px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.step__body p { color: var(--ink); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; }
.step__media { display: grid; place-items: center; }
.phone--sm {
  width: clamp(200px, 24vw, 250px);
  border-radius: 34px;
  padding: 9px;
  border-width: 2px;
}
.phone--sm img { border-radius: 26px; }
.phone--sm::before { top: 14px; width: 76px; height: 18px; border-radius: 0 0 12px 12px; }

.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.scenario-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.scenario-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.scenario-card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--grad);
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(124,47,214,.3);
}
.scenario-card h3 { font-family: var(--display); color: var(--navy); font-size: 21px; font-weight: 700; letter-spacing: -.4px; margin-bottom: 10px; }
.scenario-card p { color: var(--muted); font-size: 15px; }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-group { max-width: 820px; margin: 0 auto; }
.faq-group__head { text-align: center; margin-bottom: 34px; }
.faq-group__head h2 { font-family: var(--display); color: var(--navy); font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -1px; }
.faq-group__head p { color: var(--muted); margin-top: 8px; }
.faq-contact {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
}
.faq-contact a { color: var(--violet-600); font-weight: 600; text-decoration: none; }
.faq-contact a:hover { text-decoration: underline; }

.center-btn { text-align: center; margin-top: 36px; }

@media (max-width: 940px) {
  .about-intro { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .about-intro__copy .lead { margin-inline: auto; }
  .about-intro__copy .eyebrow { display: inline-block; }
  .tag-list { justify-content: center; }
  .about-intro__media { min-height: 360px; order: -1; }

  .scenarios { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }

  .team-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }

  .step { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .step__text { max-width: 480px; margin-inline: auto; }
  .step:nth-child(even) .step__media { order: 0; }
  .step__media { order: -1; }
}

@media (max-width: 560px) {
  .step__num { font-size: 64px; }
  .phone--sm { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.nav__actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--navy);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--violet-300); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Smooth theme transition */
body, .nav, .footer, .feature-card, .scenario-card, .faq__item, .why-card,
.tag-list li, .theme-toggle, .btn--ghost, .btn--dark {
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

/* ============================================================
   DARK THEME
   ============================================================ */
:root[data-theme="dark"] {
  --navy:      #f2f0fb;
  --navy-soft: #2a2740;
  --ink:       #d9d7ea;
  --muted:     #9a98b4;

  --bg:        #0e0d16;
  --bg-soft:   #16141f;
  --card:      #1a1826;
  --line:      rgba(255, 255, 255, 0.09);

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow:    0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 40px 80px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .nav {
  background: rgba(14, 13, 22, 0.8);
  border-bottom-color: var(--line);
}
[data-theme="dark"] .footer { background: #0a0912; }
[data-theme="dark"] .btn--dark { background: #2a2740; }
[data-theme="dark"] .btn--dark:hover { background: #383457; }
[data-theme="dark"] .btn--ghost { background: transparent; color: var(--navy); border-color: rgba(255, 255, 255, 0.18); }
[data-theme="dark"] .btn--ghost:hover { border-color: #fff; }
[data-theme="dark"] .cta__form input { color: #141225; }
[data-theme="dark"] .nav__mobile a { border-bottom-color: var(--line); }
[data-theme="dark"] .showcase__art::before { background: linear-gradient(165deg, #241b3a, #150f27); }
[data-theme="dark"] .showcase--alt .showcase__art::before { background: linear-gradient(165deg, #1d1830, #120d20); }
[data-theme="dark"] .pill { background: rgba(168, 85, 247, 0.16); color: var(--violet-300); }
