/* Nexper marketing site. Base tokens first, then the Aurora theme at the
   bottom of this file overrides them (purple-to-dark page background). */

:root {
  --ink: #16213d;
  --ink-2: #3b4560;
  --muted: #5d6478;
  --blue: #2b5bff;
  --blue-ink: #1d47e0;
  --blue-soft: #e7edff;
  --bg: #f4f1eb;
  --hover: #ebe6dc;
  --surface: #ffffff;
  --demo-bg: #f4f1eb;
  --header-bg: rgba(244, 241, 235, 0.88);
  --screen-bg: #f6f5f2;
  --strong: #16213d;
  --on-strong: #ffffff;
  --band: #16213d;
  --phone: #16213d;
  --line: #e2dccf;
  --green: #1f8a5f;
  --green-soft: #e4f4ec;
  --amber: #b45d0e;
  --amber-soft: #fcefdf;
  --red: #c8423a;
  --red-soft: #fbe8e6;
  --wa: #1fa855;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22, 33, 61, 0.05), 0 8px 24px rgba(22, 33, 61, 0.07);
  --shadow-lg: 0 30px 60px -20px rgba(22, 33, 61, 0.35);

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--strong);
  color: var(--on-strong);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.wordmark span {
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(43, 91, 255, 0.7);
}
.btn-primary:hover {
  background: var(--blue-ink);
}
.btn-dark {
  background: var(--strong);
  color: var(--on-strong);
}
.btn-dark:hover {
  opacity: 0.9;
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--strong);
  color: var(--on-strong);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.header.scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover {
  background: var(--hover);
  color: var(--ink);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.signin {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
}
.signin:hover {
  color: var(--blue-ink);
}
.header .btn {
  padding: 10px 18px;
  font-size: 14px;
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  margin-right: -8px;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .ico {
  width: 24px;
  height: 24px;
}
.mobile-menu {
  display: none;
}

@media (max-width: 860px) {
  .nav,
  .header-actions .signin {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .header-actions {
    gap: 6px;
  }
  .mobile-menu.open {
    display: block;
    border-top: 1px solid var(--line);
    padding: 8px 20px 20px;
    background: var(--bg);
  }
  .mobile-menu a {
    display: block;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-child {
    border-bottom: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink-2);
  font-size: 15px;
}
.tagline::before,
.tagline::after {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  font-weight: 800;
  margin-top: 18px;
  letter-spacing: -0.04em;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-sub {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--ink-2);
  max-width: 34em;
  margin-top: 20px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
  color: var(--ink-2);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.checks .ico {
  width: 18px;
  height: 18px;
  color: var(--green);
  stroke-width: 2.6;
}

/* Phone mock-up */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.phone-stage::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 91, 255, 0.22), rgba(43, 91, 255, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.phone {
  position: relative;
  width: 290px;
  background: var(--phone);
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.screen {
  color: var(--ink);
  background: var(--screen-bg);
  border-radius: 33px;
  overflow: hidden;
  font-size: 13px;
}
.screen-top {
  background: var(--surface);
  padding: 22px 16px 12px;
  border-bottom: 1px solid #ece9e2;
}
.screen-top small {
  color: var(--muted);
  font-size: 11px;
  display: block;
}
.screen-top strong {
  font-family: var(--font-display);
  font-size: 15px;
}
.screen-body {
  padding: 12px;
  display: grid;
  gap: 7px;
}
.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-radius: 12px;
  padding: 9px 11px;
}
.line b {
  font-weight: 600;
  font-size: 12.5px;
  display: block;
}
.line i {
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
}
.line .amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pay {
  display: flex;
  background: var(--surface);
  border-radius: 10px;
  padding: 3px;
  margin-top: 3px;
}
.pay span {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 8px;
  color: var(--muted);
}
.pay .on {
  background: var(--blue);
  color: #fff;
}
.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 4px 2px;
  font-weight: 600;
}
.total .amt {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.screen-cta {
  background: var(--strong);
  color: var(--on-strong);
  text-align: center;
  border-radius: 12px;
  padding: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero {
    padding-top: 36px;
  }
}
@media (max-width: 480px) {
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .phone {
    width: 262px;
  }
}

/* ---------- Strip of shop types ---------- */
.shops {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.shops-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.shops p {
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
  margin-right: 6px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
}
.pill .ico {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0 0;
  scroll-margin-top: 70px;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  margin-top: 10px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 17px;
  margin-top: 14px;
}

/* Big feature rows */
.rows {
  display: grid;
  gap: 24px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border-radius: 28px;
  padding: 44px;
  border: 1px solid var(--line);
}
.row:nth-child(even) .row-copy {
  order: 2;
}
.row h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-top: 10px;
}
.row-copy > p {
  color: var(--ink-2);
  font-size: 17px;
  margin-top: 12px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ticks .ico {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--blue);
  stroke-width: 2.6;
}
.demo {
  background: var(--demo-bg);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.demo-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(22, 33, 61, 0.06);
}
.demo-card .grow {
  flex: 1;
  min-width: 0;
}
.demo-card b {
  display: block;
  font-weight: 600;
}
.demo-card small {
  color: var(--muted);
  font-size: 12.5px;
}
.demo-card .amt {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-red {
  background: var(--red-soft);
  color: var(--red);
}
.tag-amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.tag-green {
  background: var(--green-soft);
  color: var(--green);
}
.tag-blue {
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--blue-soft);
  color: var(--blue-ink);
  flex-shrink: 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 2px solid var(--blue);
  border-radius: 14px;
  padding: 11px 14px;
  color: var(--muted);
}
.search .ico {
  color: var(--blue);
}
.search .mic {
  margin-left: auto;
  color: var(--ink);
}
.wa-bubble {
  background: #dcf8c6;
  border-radius: 14px 14px 4px 14px;
  padding: 11px 13px;
  margin-left: 32px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #1c2b1c;
}
.wa-bubble small {
  display: block;
  text-align: right;
  color: #5d7a5d;
  font-size: 11px;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .row {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 28px;
  }
  .row:nth-child(even) .row-copy {
    order: 0;
  }
  .section {
    padding-top: 72px;
  }
}

/* Small feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 16px;
}
.card p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 6px;
}
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-ink);
}
@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
}
.step-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--strong);
  color: var(--on-strong);
}
.step h3 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 18px;
}
.step p {
  color: var(--ink-2);
  margin-top: 6px;
  font-size: 15px;
}
.step .time {
  display: inline-block;
  margin-top: 14px;
}
.timer {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.timer span {
  color: var(--blue-ink);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Coming soon */
.soon {
  background: var(--band);
  color: #fff;
  border-radius: 32px;
  padding: 56px 44px;
}
.soon .eyebrow {
  color: #8fa8ff;
}
.soon .section-head {
  margin-bottom: 36px;
}
.soon .section-head p {
  color: rgba(255, 255, 255, 0.72);
}
.soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.soon-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
}
.soon-card .icon-box {
  background: rgba(143, 168, 255, 0.16);
  color: #b3c4ff;
}
.soon-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-top: 16px;
}
.soon-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  margin-top: 6px;
}
@media (max-width: 860px) {
  .soon {
    padding: 40px 22px;
    border-radius: 24px;
  }
  .soon-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.early {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-weight: 700;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 auto 20px;
  max-width: 820px;
  text-align: center;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border: 2px solid var(--strong);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--strong);
  color: var(--on-strong);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.03em;
  margin-top: 8px;
}
.price small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}
.plan-note {
  color: var(--muted);
  font-size: 14px;
}
.plan .ticks {
  flex: 1;
  margin: 22px 0 26px;
  font-size: 15px;
}
.plan .btn {
  width: 100%;
}
@media (max-width: 700px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 16.5px;
  padding: 18px 0;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ico {
  transition: transform 0.2s ease;
  color: var(--muted);
}
.faq details[open] summary .ico {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--ink-2);
  padding-bottom: 20px;
  margin-top: -4px;
}

/* Closing CTA */
.closing {
  margin-top: 96px;
}
.closing-box {
  background: var(--blue);
  color: #fff;
  border-radius: 32px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-box::after {
  content: "x";
  position: absolute;
  right: -30px;
  bottom: -150px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 420px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.closing-box h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 800;
}
.closing-box p {
  margin: 14px auto 0;
  max-width: 32em;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}
.closing-box .btn {
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.footer-brand p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 22em;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer ul a {
  text-decoration: none;
}
.footer ul a:hover {
  color: var(--blue-ink);
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Simple pages (legal, contact, 404) ---------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 0;
}
.page h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
}
.page .updated {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
.page .intro {
  font-size: 18px;
  color: var(--ink-2);
  margin-top: 20px;
}
.page h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 40px 0 10px;
}
.page p,
.page li {
  color: var(--ink-2);
}
.page p + p {
  margin-top: 12px;
}
.page ul {
  padding-left: 22px;
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
}
.page a {
  color: var(--blue-ink);
  font-weight: 600;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink) !important;
}
.contact-card:hover {
  border-color: var(--blue);
}
.contact-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
}
.contact-card small {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}
@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}
.notfound {
  text-align: center;
  padding: 100px 20px 20px;
}
.notfound .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(90px, 18vw, 160px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.notfound .big span {
  color: var(--blue);
}
.notfound p {
  color: var(--ink-2);
  font-size: 18px;
  margin: 16px 0 28px;
}

/* ---------- Theme: dark glow ----------
   Near-black page with soft purple and pink light at the top, and a
   purple-to-pink gradient on the key accents. */
:root {
  --ink: #f4f2ff;
  --ink-2: rgba(244, 242, 255, 0.74);
  --muted: rgba(244, 242, 255, 0.55);
  --blue: #c4b5fd;
  --blue-ink: #d8ccff;
  --blue-soft: rgba(167, 139, 250, 0.14);
  --bg: transparent;
  --hover: rgba(255, 255, 255, 0.07);
  --surface: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --demo-bg: rgba(0, 0, 0, 0.25);
  --header-bg: rgba(9, 8, 16, 0.62);
  --strong: #ffffff;
  --on-strong: #120e24;
  --band: rgba(255, 255, 255, 0.03);
  --phone: #0c0a18;
  --green-soft: rgba(52, 199, 132, 0.16);
  --green: #6ee7b7;
  --amber-soft: rgba(245, 158, 66, 0.16);
  --amber: #fbbf6a;
  --red-soft: rgba(240, 98, 88, 0.16);
  --red: #ff8a80;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --grad: linear-gradient(90deg, #a78bfa 0%, #c084fc 45%, #f472b6 100%);
}
body {
  min-height: 100vh;
  background:
    radial-gradient(900px 620px at 12% -80px, rgba(124, 92, 255, 0.38), transparent 70%),
    radial-gradient(760px 560px at 88% 40px, rgba(236, 72, 153, 0.24), transparent 70%),
    radial-gradient(900px 700px at 80% 46%, rgba(124, 92, 255, 0.1), transparent 70%),
    radial-gradient(900px 700px at 10% 78%, rgba(236, 72, 153, 0.07), transparent 70%),
    #08070f;
}
.hero h1 em,
.wordmark span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline::before,
.tagline::after {
  background: var(--grad);
}
.btn-primary {
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(236, 72, 153, 0.6);
}
.btn-primary:hover {
  background: linear-gradient(90deg, #7c4ff0, #e03d8c);
}
.btn-light {
  color: #4b2fb8;
}
.checks .ico,
.ticks .ico {
  color: #6ee7b7;
}
.phone-stage::before {
  background: radial-gradient(circle, rgba(192, 132, 252, 0.3), rgba(192, 132, 252, 0) 70%);
}
.phone {
  border: 1px solid rgba(255, 255, 255, 0.14);
}
/* The phone screen stays light, like the real app. */
.screen {
  --ink: #1a1440;
  --muted: #6b6690;
  --surface: #ffffff;
  --strong: #24135f;
  --on-strong: #ffffff;
  --blue: #6d4aff;
  background: #f4f2ff;
  color: var(--ink);
}
.soon {
  border: 1px solid var(--line);
}
.closing-box {
  background: linear-gradient(135deg, #7c5cff 0%, #b45cf0 50%, #e85da9 100%);
}
.page .faq {
  margin-top: 28px;
}

/* ---------- Languages ---------- */
.lang-menu {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: 600 14px var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}
.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}
.lang-btn .ico {
  width: 16px;
  height: 16px;
  color: var(--ink-2);
}
.lang-btn .lang-chevron {
  transition: transform 0.15s ease;
}
.lang-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 220px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #15122a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.lang-list[hidden] {
  display: none;
}
.lang-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: 600 15px var(--font-body);
  text-align: left;
  cursor: pointer;
}
.lang-list button:hover,
.lang-list button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.lang-list .lang-en {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}
.lang-list .lang-tick {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: #c4b5fd;
  visibility: hidden;
}
.lang-list [aria-checked="true"] {
  background: rgba(167, 139, 250, 0.14);
}
.lang-list [aria-checked="true"] .lang-tick {
  visibility: visible;
}
@media (max-width: 480px) {
  /* The hero's big Start free button is right below; give the space to the language picker. */
  .header .header-start {
    display: none;
  }
}

/* Hide the page briefly while a saved language loads (see the inline script in <head>). */
html[data-lang-pending] body {
  opacity: 0;
}
body {
  transition: opacity 0.15s ease;
}

/* Indian scripts: load the matching Noto Sans and give the letters room. */
:root {
  --font-indic: system-ui;
}
html[data-lang="hi"] {
  --font-indic: "Noto Sans Devanagari";
}
html[data-lang="te"] {
  --font-indic: "Noto Sans Telugu";
}
html[data-lang="kn"] {
  --font-indic: "Noto Sans Kannada";
}
html[data-lang="ta"] {
  --font-indic: "Noto Sans Tamil";
}
html[data-lang="ml"] {
  --font-indic: "Noto Sans Malayalam";
}
html[data-lang]:not([data-lang="en"]) {
  --font-display: "Manrope", var(--font-indic), system-ui, sans-serif;
  --font-body: "DM Sans", var(--font-indic), system-ui, sans-serif;
}
html[data-lang]:not([data-lang="en"]) h1,
html[data-lang]:not([data-lang="en"]) h2,
html[data-lang]:not([data-lang="en"]) h3,
html[data-lang]:not([data-lang="en"]) .eyebrow {
  letter-spacing: 0;
  line-height: 1.35;
}
html[data-lang]:not([data-lang="en"]) .hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
}
html[data-lang]:not([data-lang="en"]) .section-head h2,
html[data-lang]:not([data-lang="en"]) .closing-box h2 {
  font-size: clamp(26px, 3.6vw, 38px);
}
html[data-lang]:not([data-lang="en"]) .eyebrow {
  text-transform: none;
  letter-spacing: 0.02em;
}
html[data-lang]:not([data-lang="en"]) body {
  line-height: 1.7;
}

/* Legal pages are English only; say so when another language is chosen. */
.lang-note {
  display: none;
  background: var(--blue-soft);
  color: var(--blue-ink) !important;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-weight: 600;
}
html[data-lang]:not([data-lang="en"]) .lang-note {
  display: block;
}
/* Translated button text runs long: let it wrap instead of pushing the page wider. */
html[data-lang]:not([data-lang="en"]) .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
html[data-lang]:not([data-lang="en"]) body {
  overflow-wrap: break-word;
}
.row-copy,
.plan,
.card,
.step,
.soon-card,
.hero-grid > * {
  min-width: 0;
}
.rows,
.row {
  grid-template-columns: minmax(0, 1fr);
}
.row {
  min-width: 0;
}
@media (min-width: 861px) {
  .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  html[data-lang]:not([data-lang="en"]) .row h3 {
    font-size: 22px;
  }
}
html[data-lang]:not([data-lang="en"]) .demo-card .tag {
  white-space: normal;
  text-align: center;
  max-width: 40%;
}
/* Translated menu labels are longer: keep them on one line, and switch to
   the compact menu sooner so the header never wraps. */
.header .btn,
.nav a,
.signin {
  white-space: nowrap;
}
@media (max-width: 1180px) {
  html[data-lang]:not([data-lang="en"]) .nav,
  html[data-lang]:not([data-lang="en"]) .header-actions .signin {
    display: none;
  }
  html[data-lang]:not([data-lang="en"]) .menu-btn {
    display: block;
  }
  html[data-lang]:not([data-lang="en"]) .mobile-menu.open {
    display: block;
    border-top: 1px solid var(--line);
    padding: 8px 20px 20px;
    background: var(--bg);
  }
  html[data-lang]:not([data-lang="en"]) .mobile-menu a {
    display: block;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
}
html[data-lang]:not([data-lang="en"]) .nav a {
  font-size: 14px;
  padding: 8px 9px;
}
html[data-lang] .header .btn {
  white-space: nowrap;
}
