:root {
  --deep-navy: #0D0D1A;
  --card-dark: #1A1830;
  --border-purple: #2A2640;
  --indigo: #5B4BFF;
  --lavender: #8B7FFF;
  --mint: #2DD4A0;

  --text-primary: #F1F0FA;
  --text-secondary: #ACA8C6;
  --text-muted: #726E90;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 760px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--deep-navy);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(139, 127, 255, 0.65) 1.8px, transparent 2.2px),
    radial-gradient(rgba(45, 212, 160, 0.5) 1.8px, transparent 2.2px);
  background-size: 130px 130px, 170px 170px;
  background-position: 20px 30px, 90px 120px;
  opacity: 0.6;
}

/* ---------- background constellation ---------- */

.bg-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1400px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-field::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 180vw;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.22) 0%, rgba(91, 75, 255, 0) 70%);
  filter: blur(10px);
}

.bg-field::after {
  content: "";
  position: absolute;
  top: 480px;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 160, 0.10) 0%, rgba(45, 212, 160, 0) 70%);
  filter: blur(10px);
}

.constellation {
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.constellation .stars circle {
  fill: var(--lavender);
}

.constellation .links line {
  stroke: var(--border-purple);
  stroke-width: 1;
}

/* ---------- layout ---------- */

.page {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px 64px;
}

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
  margin: 0 0 28px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-bottom: 56px;
  margin-bottom: 8px;
}

.hero-glow {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(139, 127, 255, 0.28) 0%, rgba(139, 127, 255, 0) 72%);
  z-index: -1;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 11ch;
}

.hero-title .accent {
  color: var(--lavender);
  background: linear-gradient(100deg, var(--indigo) 0%, var(--lavender) 60%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy {
  width: 100%;
}

.hero-visual {
  position: relative;
  width: 200px;
  height: 200px;
  margin-top: 36px;
  flex-shrink: 0;
}

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

.ring-1 {
  width: 180px;
  height: 180px;
  top: 10px;
  left: 10px;
}

.ring-2 {
  width: 240px;
  height: 240px;
  top: -20px;
  left: -20px;
  border-color: rgba(42, 38, 64, 0.6);
}

.orbit-dot {
  position: absolute;
  border-radius: 50%;
}

.dot-mint {
  width: 9px;
  height: 9px;
  background: var(--mint);
  box-shadow: 0 0 12px 2px rgba(45, 212, 160, 0.55);
  top: 4px;
  right: 6px;
}

.dot-lav {
  width: 7px;
  height: 7px;
  background: var(--lavender);
  box-shadow: 0 0 10px 2px rgba(139, 127, 255, 0.5);
  bottom: 18px;
  left: -8px;
}

.mascot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(13, 13, 26, 0.55));
}

/* ---------- highlights ---------- */

.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 40px 0 88px;
}

.card {
  background: var(--card-dark);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 28px 26px 30px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-purple);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-icon[data-tone="indigo"] { color: var(--indigo); }
.card-icon[data-tone="mint"] { color: var(--mint); }
.card-icon[data-tone="lavender"] { color: var(--lavender); }

.card-eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.card-text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- section label / lead (shared) ---------- */

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: lowercase;
  color: var(--mint);
  margin: 0 0 16px;
}

.section-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 0 36px;
}

/* ---------- areas ---------- */

.areas {
  margin-bottom: 88px;
}

.area-list {
  border-top: 1px solid var(--border-purple);
}

.area-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-purple);
}

.area-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-purple);
  flex-shrink: 0;
}

.area-icon svg {
  width: 22px;
  height: 22px;
}

.area-icon[data-tone="indigo"] { color: var(--indigo); }
.area-icon[data-tone="mint"] { color: var(--mint); }
.area-icon[data-tone="lavender"] { color: var(--lavender); }

.area-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: lowercase;
  color: var(--text-primary);
  margin: 6px 0 8px;
}

.area-text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0;
}

/* ---------- how it works ---------- */

.how {
  position: relative;
  margin-bottom: 88px;
}

.how::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 380px;
  height: 380px;
  max-width: 70vw;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.16) 0%, rgba(91, 75, 255, 0) 70%);
  filter: blur(10px);
  z-index: -1;
}

.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 21px;
  width: 1px;
  background: var(--border-purple);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-dark);
  border: 1px solid var(--border-purple);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mint);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: lowercase;
  color: var(--text-primary);
  margin: 6px 0 8px;
}

.step-text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0;
}

/* ---------- faq ---------- */

.faq {
  margin-bottom: 88px;
}

.faq-item {
  border-bottom: 1px solid var(--border-purple);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-purple);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-display);
}

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

.faq-num {
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 24px;
}

.faq-q {
  flex: 1;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-primary);
}

.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--lavender);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.faq-toggle::before {
  width: 14px;
  height: 1.6px;
  top: 8px;
  left: 2px;
}

.faq-toggle::after {
  width: 1.6px;
  height: 14px;
  top: 2px;
  left: 8px;
}

.faq-item[open] .faq-toggle::after {
  transform: scaleY(0);
}

.faq-a {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 26px 40px;
  max-width: 56ch;
}

/* ---------- closing ---------- */

.closing {
  position: relative;
  text-align: center;
  padding: 40px 0 8px;
  border-top: 1px solid var(--border-purple);
}

.closing::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  max-width: 90vw;
  background: radial-gradient(circle, rgba(45, 212, 160, 0.14) 0%, rgba(45, 212, 160, 0) 70%);
  filter: blur(10px);
  z-index: -1;
}

.closing-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  letter-spacing: -0.01em;
  margin: 0;
}

.closing-text .accent {
  color: var(--lavender);
}

/* ---------- tablet / desktop ---------- */

@media (min-width: 640px) {
  .page {
    padding: 100px 40px 80px;
  }

  .highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .faq-a {
    margin-left: 40px;
  }
}

@media (min-width: 900px) {
  .page {
    max-width: 920px;
  }

  .hero-lead {
    font-size: 1.18rem;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .hero-copy {
    width: auto;
    flex: 1;
  }

  .hero-visual {
    width: 260px;
    height: 260px;
    margin-top: 0;
  }

  .ring-1 {
    width: 230px;
    height: 230px;
  }

  .ring-2 {
    width: 300px;
    height: 300px;
    top: -25px;
    left: -25px;
  }

  .hero-title {
    max-width: 16ch;
  }
}
