:root {
  --bg: #07080c;
  --bg-raised: #0d0f16;
  --surface: #11141d;
  --surface-strong: #161a25;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6fa;
  --text-muted: #b6bdca;
  --cyan: #3cc8ff;
  --cyan-soft: rgba(60, 200, 255, 0.16);
  --pink: #ff4fa8;
  --pink-soft: rgba(255, 79, 168, 0.16);
  --focus: #7fdcff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --header-h: 72px;
  --container: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  hyphens: manual;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  padding: 0.25rem;
  margin-left: -0.25rem;
}

/* The source PNG has an opaque black square behind the rounded icon (adaptive-icon safe zone). */
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile navigation: collapses only when JavaScript is available. */
@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 1rem;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .js .site-nav a {
    display: flex;
    min-height: 52px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1.0625rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
  }

  html:not(.js) .site-nav {
    flex-basis: 100%;
    padding-bottom: 0.75rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #05060a;
  background: linear-gradient(135deg, var(--cyan), #8ad9ff);
  box-shadow: 0 8px 28px -10px rgba(60, 200, 255, 0.6);
}

.btn-primary:hover {
  box-shadow: 0 10px 34px -8px rgba(60, 200, 255, 0.7);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 79, 168, 0.55);
  background: var(--pink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

/* Hero */

.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 28rem at 85% 20%, rgba(60, 200, 255, 0.10), transparent 70%),
    radial-gradient(34rem 24rem at 10% 90%, rgba(255, 79, 168, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-copy {
  min-width: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(60, 200, 255, 0.35);
  border-radius: 999px;
  background: var(--cyan-soft);
  color: #d6f3ff;
  font-size: 0.9375rem;
  font-weight: 600;
}

.status-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(60, 200, 255, 0.2);
}

.hero h1 {
  font-size: clamp(2.25rem, 6.2vw, 4.25rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.accent-text {
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent-text {
    color: var(--cyan);
  }
}

.hero-lead {
  max-width: 36rem;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #000 0 92%, rgba(0, 0, 0, 0) 100%);
}

.hero-logo {
  position: absolute;
  inset: 16%;
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.orbit-outer {
  inset: 0;
  border-color: rgba(60, 200, 255, 0.14);
}

.orbit-inner {
  inset: 9%;
  border-color: rgba(255, 79, 168, 0.12);
  border-style: dashed;
}

.bubble {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.9);
}

.bubble span {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
}

.bubble-a {
  top: 6%;
  left: 0;
  width: 34%;
  border-bottom-left-radius: 4px;
}

.bubble-a span:first-child {
  width: 100%;
}

.bubble-a span:last-child {
  width: 62%;
}

.bubble-b {
  top: 44%;
  right: 0;
  width: 26%;
  border-color: rgba(255, 79, 168, 0.4);
  background: linear-gradient(135deg, rgba(255, 79, 168, 0.22), rgba(255, 79, 168, 0.08));
  border-bottom-right-radius: 4px;
}

.bubble-b span {
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
}

.bubble-c {
  bottom: 4%;
  left: 10%;
  width: 38%;
  border-color: rgba(60, 200, 255, 0.35);
  background: linear-gradient(135deg, rgba(60, 200, 255, 0.18), rgba(60, 200, 255, 0.06));
  border-bottom-left-radius: 4px;
}

.bubble-c span:first-child {
  width: 88%;
}

.bubble-c span:last-child {
  width: 54%;
}

@media (prefers-reduced-motion: no-preference) {
  .bubble-a {
    animation: float 4s ease-in-out 1;
  }

  .bubble-b {
    animation: float 4s ease-in-out 1;
  }

  .bubble-c {
    animation: float 4s ease-in-out 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Sections */

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--cyan);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 750;
}

.section-lead {
  margin-top: 1rem;
  color: var(--text-muted);
}

.card {
  position: relative;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-raised));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(60, 200, 255, 0.08), 0 18px 40px -24px rgba(60, 200, 255, 0.35);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.card p {
  color: var(--text-muted);
}

/* Intro */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.intro .section-head {
  margin-bottom: 0;
}

.intro-body {
  display: grid;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Features */

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

.feature {
  grid-column: span 2;
}

.feature:nth-child(4),
.feature:nth-child(5) {
  grid-column: span 3;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--cyan-soft);
  border: 1px solid rgba(60, 200, 255, 0.3);
}

.feature-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: var(--cyan);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.feature:nth-child(even) .feature-icon {
  background: var(--pink-soft);
  border-color: rgba(255, 79, 168, 0.3);
}

.feature:nth-child(even) .feature-icon::before {
  background: var(--pink);
}

.icon-match {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.2 3 4.5 6.6 4.5c2.1 0 3.6 1.1 5.4 3 1.8-1.9 3.3-3 5.4-3 3.6 0 5.7 3.7 4.2 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");
}

.icon-chat {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9l-5 4v-4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm3 6v2h10V9H7zm0 4v2h6v-2H7z'/%3E%3C/svg%3E");
}

.icon-call {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1l-2.2 2.23z'/%3E%3C/svg%3E");
}

.icon-shield {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3zm-4.2 6.4 9.8 9.8A8.7 8.7 0 0 1 12 20c-3.4-1.1-6-4.8-6-9V7.1l1.8-.7zM18 11c0 1.3-.3 2.6-.8 3.8L8.9 6.5 12 5.3l6 2.3V11z'/%3E%3C/svg%3E");
}

.icon-profile {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-4.4 0-8 2.2-8 5v3h16v-3c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E");
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 79, 168, 0.4);
  background: var(--pink-soft);
  color: #ffd3ea;
  font-weight: 750;
}

.step:nth-child(2) .step-num {
  border-color: rgba(154, 140, 255, 0.45);
  background: rgba(154, 140, 255, 0.14);
  color: #e1ddff;
}

.step:nth-child(3) .step-num {
  border-color: rgba(60, 200, 255, 0.4);
  background: var(--cyan-soft);
  color: #d6f3ff;
}

/* Control */

.control {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.control .section-head {
  margin-bottom: 0;
}

.control-list {
  display: grid;
  gap: 1rem;
}

.control-item {
  border-left: 3px solid rgba(60, 200, 255, 0.5);
}

.control-item:nth-child(2) {
  border-left-color: rgba(154, 140, 255, 0.55);
}

.control-item:nth-child(3) {
  border-left-color: rgba(255, 79, 168, 0.55);
}

/* Status */

.status-card {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  border-color: rgba(60, 200, 255, 0.22);
  background:
    radial-gradient(30rem 14rem at 50% 0%, rgba(60, 200, 255, 0.08), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-raised));
}

.status-card h2 {
  margin-bottom: 1rem;
}

.status-card p:last-child {
  max-width: 40rem;
  margin-inline: auto;
  font-size: 1.125rem;
}

/* FAQ */

.faq-list {
  max-width: 52rem;
  display: grid;
  gap: 0.875rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(60, 200, 255, 0.3);
}

.faq-item summary {
  position: relative;
  display: block;
  min-height: 56px;
  padding: 1rem 3.5rem 1rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-md);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3rem;
  background: var(--bg-raised);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-contact-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-contact-list a {
  color: var(--text-muted);
}

.footer-note {
  flex-basis: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* 404 */

.notfound {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding-block: 4rem;
  text-align: center;
}

.notfound h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 1rem;
}

.notfound p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Responsive */

@media (max-width: 960px) {
  .feature {
    grid-column: span 3;
  }

  .feature:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .hero-inner,
  .intro,
  .control {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    max-width: 340px;
    order: -1;
  }

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

@media (max-width: 600px) {
  .feature,
  .feature:nth-child(4),
  .feature:nth-child(5) {
    grid-column: span 6;
  }

  .hero-visual {
    max-width: 220px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep all menu entries reachable on short screens and with enlarged text. */
@media (max-width: 860px) {
  .js .site-header {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
  }

  html:not(.js) .site-header {
    position: static;
  }
}

/* System contrast themes remove gradients, so supply a visible text color. */
@media (forced-colors: active) {
  .accent-text {
    background: none;
    color: CanvasText;
  }

  .btn,
  .card,
  .faq-item {
    border: 1px solid ButtonText;
  }
}

