:root {
  color-scheme: dark;
  --ink: #f7f7ff;
  --muted: #b9bbd1;
  --quiet: #8589a7;
  --night: #080814;
  --panel: rgba(19, 19, 43, 0.82);
  --panel-solid: #12122a;
  --line: rgba(167, 162, 255, 0.2);
  --violet: #8d87ff;
  --violet-soft: #bbb7ff;
  --cyan: #64d8e8;
  --mint: #7de2b8;
  --warning: #f5ca7a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(141, 135, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 135, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(92, 78, 230, 0.32), transparent 30rem),
    radial-gradient(circle at 88% 28%, rgba(30, 151, 180, 0.18), transparent 26rem),
    var(--night);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

a { color: var(--violet-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 8px;
}

.shell {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.brand-link, .legal-switch a {
  color: var(--muted);
  text-decoration: none;
}

.brand-link { font-weight: 750; letter-spacing: 0.02em; }
.brand-link:hover, .legal-switch a:hover { color: var(--ink); }

.legal-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(31, 28, 73, 0.96), rgba(10, 12, 29, 0.96));
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -76px;
  bottom: -104px;
  width: 330px;
  height: 330px;
  border: 2px solid rgba(100, 216, 232, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(141, 135, 255, 0.06),
    0 0 0 72px rgba(141, 135, 255, 0.035);
  pointer-events: none;
}

.identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.app-icon {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 19px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--cyan);
  font: 700 0.75rem/1.2 ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.identity-name { margin: 0; font-size: 1.08rem; font-weight: 760; }

h1, h2, h3 { line-height: 1.18; }

h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.2rem);
  font-weight: 790;
  letter-spacing: -0.055em;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #e6e5ff;
  font-size: 0.86rem;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(100, 216, 232, 0.25);
  border-radius: var(--radius-md);
  background: rgba(20, 65, 78, 0.28);
}

.notice-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(100, 216, 232, 0.14);
  color: var(--cyan);
  font-weight: 850;
}

.notice h2, .notice p { margin: 0; }
.notice h2 { font-size: 1.06rem; }
.notice p { margin-top: 5px; color: var(--muted); }

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

.card {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

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

.card h2 {
  margin: 0 0 14px;
  color: #eeedff;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.card h3 {
  margin: 22px 0 7px;
  color: var(--violet-soft);
  font-size: 1rem;
}

.card p { margin: 0 0 13px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--ink); }

ul { margin: 0; padding-left: 1.25rem; color: var(--muted); }
li + li { margin-top: 8px; }
li::marker { color: var(--violet); }

.data-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.data-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1.7fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.data-row:first-child { border-top: 0; padding-top: 0; }
.data-row:last-child { padding-bottom: 0; }
.data-row dt { color: var(--ink); font-weight: 750; }
.data-row dd { margin: 0; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  padding: 11px 18px;
  border: 1px solid rgba(187, 183, 255, 0.34);
  border-radius: 14px;
  background: linear-gradient(135deg, #746df0, #5149ca);
  box-shadow: 0 10px 24px rgba(75, 65, 200, 0.26);
  color: #fff;
  font-weight: 780;
  text-decoration: none;
}

.button:hover { color: #fff; filter: brightness(1.08); text-decoration: none; }

.route-steps {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.route-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 23px;
  width: 2px;
  background: linear-gradient(var(--violet), var(--cyan));
}

.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--violet);
  border-radius: 50%;
  background: var(--panel-solid);
  color: var(--ink);
  font: 800 0.9rem ui-monospace, "Cascadia Code", Consolas, monospace;
}

.route-step:last-child .step-marker { border-color: var(--cyan); }
.step-copy { padding-top: 2px; }
.step-copy h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.06rem; }
.step-copy p { margin: 0; }

.retention {
  padding: 15px 16px;
  border-left: 3px solid var(--warning);
  border-radius: 0 12px 12px 0;
  background: rgba(245, 202, 122, 0.075);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 4px 0;
  color: var(--quiet);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .shell { width: min(100% - 22px, 1040px); padding-top: 14px; }
  .topbar { align-items: flex-start; }
  .legal-switch { gap: 4px 12px; }
  .hero { border-radius: 23px; }
  .hero::after { opacity: 0.66; }
  .identity { margin-bottom: 24px; }
  .app-icon { width: 58px; height: 58px; border-radius: 17px; }
  .grid { grid-template-columns: 1fr; }
  .card.full { grid-column: auto; }
  .data-row { grid-template-columns: 1fr; gap: 4px; }
  .notice { grid-template-columns: 1fr; }
}

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