:root {
  --background: #ffffff;
  --page-bg: #f4f6f8;
  --ink: #173453;
  --muted: #718190;
  --brand: #cb20ee;
  --brand-strong: #173453;
  --soft-purple: #fbf1ff;
  --soft-gray: #e9eef1;
  --line: #dce4ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

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

.page-shell {
  min-height: 100vh;
  background: #ffffff;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner,
.hero-inner,
.journey-inner,
.final-box,
.footer-inner {
  width: min(100% - 40px, 1152px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 12px;
}

.brand,
.header-actions,
.site-nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.header-actions {
  gap: 20px;
}

.site-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--ink);
}

.coming-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 24px;
  background: linear-gradient(100deg, #c51ff0 0%, #f05af7 100%);
  box-shadow: 0 10px 20px rgba(203, 32, 238, 0.18);
  color: #ffffff;
  cursor: default;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.coming-button--compact {
  min-height: 40px;
  padding: 0 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #fbfcfd;
}

.hero-glow {
  position: absolute;
  width: 288px;
  height: 288px;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
}

.hero-glow--rose {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #f8d8ff;
  opacity: 0.45;
}

.hero-glow--teal {
  right: 0;
  bottom: 0;
  background: #dff7f6;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  max-width: 768px;
  padding: 64px 20px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 20px 0 0;
  color: var(--brand-strong);
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
}

.hero-copy {
  max-width: 672px;
  margin: 24px auto 0;
  color: #41566c;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.75;
}

.hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.journey-section {
  scroll-margin-top: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 64px 20px;
}

.journey-inner {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  align-items: center;
  gap: 40px;
  scroll-margin-top: 96px;
}

.journey-copy h2 {
  margin: 12px 0 0;
  color: var(--brand-strong);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.journey-copy h2 span {
  display: block;
}

.journey-copy p:not(.eyebrow) {
  max-width: 576px;
  margin: 16px 0 0;
  color: #41566c;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
}

.journey-copy strong {
  display: block;
  margin-top: 20px;
  color: var(--brand-strong);
  font-size: 0.875rem;
}

.module-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(23, 52, 83, 0.1);
}

.selector-accent {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 128px;
  height: 56px;
  color: var(--brand);
  opacity: 0.25;
  pointer-events: none;
}

.module-card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.module-card-header p,
.module-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.module-card-header h3 {
  margin: 4px 0 0;
  color: var(--brand-strong);
  font-size: 1.25rem;
  font-weight: 700;
}

.module-card-header > span {
  border-radius: 999px;
  background: var(--soft-purple);
  padding: 4px 12px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.module-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.module-tile {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 16px;
}

.module-tile--active {
  border-color: #e7d8ee;
  background: #fffaff;
}

.module-tile > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.module-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 900;
}

.module-tile--active .module-symbol {
  border-color: var(--brand);
  color: var(--brand);
}

.module-state {
  border-radius: 999px;
  background: var(--soft-gray);
  padding: 4px 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.module-tile--active .module-state {
  background: #fde7ff;
  color: var(--brand);
}

.module-tile h4 {
  margin: 16px 0 0;
  color: var(--brand-strong);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.module-note {
  position: relative;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  padding: 16px;
}

.module-note strong {
  display: block;
  margin-top: 8px;
  color: var(--brand-strong);
  font-size: 0.875rem;
  line-height: 1.5;
}

.final-section {
  scroll-margin-top: 96px;
  padding: 64px 20px;
}

.final-box {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--brand-strong);
  padding: 40px;
  color: #ffffff;
  box-shadow: 0 18px 60px rgba(23, 52, 83, 0.14);
}

.final-box h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.final-box p {
  max-width: 672px;
  margin: 12px 0 0;
  color: #d8e2ec;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
}

.final-box strong {
  display: block;
  margin-top: 20px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.8;
  text-transform: uppercase;
}

.final-visual {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.final-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
}

.final-orb {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.final-orb--left {
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
}

.final-orb--right {
  top: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 28px 20px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--brand-strong);
}

.footer-inner a:hover {
  color: var(--brand);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .journey-inner,
  .final-box {
    grid-template-columns: 1fr;
  }

  .final-visual {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .hero-inner,
  .journey-inner,
  .final-box,
  .footer-inner {
    width: min(100% - 32px, 1152px);
  }

  .header-inner {
    padding-inline: 0;
  }

  .brand span {
    font-size: 1rem;
  }

  .coming-button--compact {
    display: none;
  }

  .hero-inner,
  .journey-section,
  .final-section {
    padding-block: 56px;
  }

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

  .module-card,
  .final-box {
    padding: 20px;
  }

  .module-card-header {
    flex-direction: column;
  }

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

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