:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: rgba(13, 24, 39, 0.82);
  --panel: rgba(11, 18, 32, 0.72);
  --panel-strong: rgba(17, 28, 49, 0.92);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eaf0ff;
  --muted: #9bb0cf;
  --accent: #6ef3d6;
  --accent-strong: #2ee9c2;
  --accent-alt: #7da8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(110, 243, 214, 0.18), transparent 28%),
    radial-gradient(circle at right top, rgba(125, 168, 255, 0.15), transparent 26%),
    linear-gradient(180deg, #040812 0%, var(--bg) 36%, #050a14 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  width: 24rem;
  height: 24rem;
  top: -8rem;
  left: -6rem;
  background: rgba(110, 243, 214, 0.18);
}

.orb-b {
  width: 28rem;
  height: 28rem;
  right: -10rem;
  top: 22rem;
  background: rgba(125, 168, 255, 0.12);
}

.topbar,
main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.8rem;
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), #b9ffe8);
  box-shadow: 0 12px 30px rgba(110, 243, 214, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 14, 25, 0.56);
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-divider {
  color: rgba(155, 176, 207, 0.45);
}

.auth-links-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.auth-links-inline a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.auth-links-inline a:hover,
.auth-links-inline a:focus-visible {
  color: var(--text);
}

.auth-separator {
  color: rgba(155, 176, 207, 0.45);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), #b2f5ff);
  box-shadow: 0 16px 32px rgba(110, 243, 214, 0.2);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-head h2,
.cta-section h2 {
  margin: 0.75rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero p,
.section-head p,
.feature p,
.step p,
.number-card p,
.cta-section p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.03rem;
}

.hero-copy > p {
  max-width: 36rem;
  margin: 1.2rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats div,
.panel-card,
.card,
.step,
.feature,
.cta-section {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  padding: 1rem;
  border-radius: 1.1rem;
}

.hero-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.hero-stats span,
.card-top,
.card-bottom,
.number-meta,
.search-top {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.card,
.step,
.feature,
.cta-section {
  border-radius: 1.5rem;
}

.search-card,
.featured-number {
  padding: 1.25rem;
  background: linear-gradient(160deg, rgba(15, 25, 42, 0.95), rgba(6, 10, 20, 0.7));
}

.search-top,
.card-top,
.card-bottom,
.number-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.status-dot::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(110, 243, 214, 0.1);
}

.search-bar {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.search-bar span {
  flex: 1;
  color: var(--muted);
}

.search-bar button {
  border: 0;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  font-family: inherit;
  font-weight: 800;
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), #c7ffe9);
}

.featured-number {
  padding: 1.4rem;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: #06111d;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #b1fff3);
}

.featured-number h2,
.number-card h3,
.step h3,
.feature h3 {
  margin: 0.9rem 0 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel-grid article {
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem 0 2rem;
}

.ticker div {
  padding: 0.95rem 1rem;
  text-align: center;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.section-head h2,
.cta-section h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.02;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.number-card {
  padding: 1.35rem;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
}

.badge {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), #cdfcf1);
}

.badge.muted {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.number-card p {
  flex: 1;
}

.card-bottom a {
  color: var(--accent);
}

.split-section {
  display: grid;
  gap: 1rem;
}

.steps,
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step,
.feature {
  padding: 1.35rem;
}

.step span {
  display: inline-flex;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-band {
  padding-top: 2rem;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem;
  margin: 2rem 0 4rem;
  background:
    radial-gradient(circle at left top, rgba(110, 243, 214, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.cta-section p {
  max-width: 38rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 0 0 4rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form span {
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 10, 20, 0.65);
  color: var(--text);
  font: inherit;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(155, 176, 207, 0.7);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(110, 243, 214, 0.5);
  box-shadow: 0 0 0 4px rgba(110, 243, 214, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
}

.field-error {
  min-height: 1rem;
  color: #ff8f9f;
  font-size: 0.78rem;
  line-height: 1.35;
}

.contact-form .is-invalid {
  border-color: rgba(255, 143, 159, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 143, 159, 0.1);
}

.form-response {
  display: none;
  padding: 0.8rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-response.is-visible {
  display: block;
}

.form-response.is-success {
  border-color: rgba(110, 243, 214, 0.45);
  color: #bfffee;
  background: rgba(46, 233, 194, 0.16);
}

.form-response.is-error {
  border-color: rgba(255, 143, 159, 0.5);
  color: #ffd6dd;
  background: rgba(255, 143, 159, 0.12);
}

.full-width {
  grid-column: 1 / -1;
}

.submit-button {
  width: 100%;
}

.site-footer {
  padding: 1.5rem 0 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  max-width: 34rem;
  color: var(--muted);
}

.footer-mark {
  margin-bottom: 0.8rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-columns h3 {
  margin: 0 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.footer-columns a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.footer-columns a:hover,
.footer-columns a:focus-visible {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-bottom span:last-child {
  display: inline-flex;
  gap: 0.9rem;
}

.footer-bottom a {
  color: var(--muted);
}

.legal-page {
  padding: 1rem 0 4rem;
}

.legal-hero {
  padding: 3rem 0 1.5rem;
  max-width: 55rem;
}

.legal-hero h1 {
  margin: 0.75rem 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal-hero p,
.policy-section p,
.policy-section li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-section {
  padding: 1.5rem 0;
  max-width: 56rem;
}

.policy-section h2 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
}

.policy-section h3 {
  margin: 1.1rem 0 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.policy-section ul {
  margin: 0.6rem 0 0.6rem 1.2rem;
  padding: 0;
}

.legal-footer {
  margin-top: 2.5rem;
}

.reveal {
  animation: rise 700ms ease both;
}

.hero-copy.reveal {
  animation-delay: 80ms;
}

.hero-panel.reveal {
  animation-delay: 160ms;
}

.section .reveal:nth-child(1) { animation-delay: 80ms; }
.section .reveal:nth-child(2) { animation-delay: 140ms; }
.section .reveal:nth-child(3) { animation-delay: 200ms; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .cta-section,
  .steps,
  .feature-list,
  .numbers-grid,
  .ticker {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-section,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .ticker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar,
  main {
    width: min(100% - 1rem, 1180px);
  }

  .nav {
    gap: 0.9rem;
  }

  .hero h1,
  .section-head h2,
  .cta-section h2 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .hero-actions,
  .search-bar {
    flex-direction: column;
  }

  .search-bar button {
    width: 100%;
  }

  .contact-section {
    padding-bottom: 3rem;
  }

  .footer-columns,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .ticker {
    grid-template-columns: 1fr;
  }
}