
:root {
  --bg: #04061c;
  --bg-soft: #0a0f33;
  --panel: rgba(18, 25, 67, 0.52);
  --panel-strong: rgba(18, 26, 80, 0.78);
  --line: rgba(218, 223, 255, 0.14);
  --line-strong: rgba(237, 240, 255, 0.24);
  --text: #f7f8ff;
  --muted: #b7bddc;
  --accent: #dfe3ff;
  --shadow: rgba(0, 0, 0, 0.32);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(157, 170, 255, 0.10), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(214, 218, 255, 0.08), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(130, 144, 255, 0.09), transparent 30%),
    linear-gradient(180deg, #020410 0%, #05081d 55%, #04061c 100%);
  overflow-x: hidden;
}

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

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb-1 {
  top: -80px;
  left: -50px;
  width: 320px;
  height: 320px;
  background: rgba(196, 206, 255, 0.14);
}

.bg-orb-2 {
  right: -80px;
  top: 260px;
  width: 360px;
  height: 360px;
  background: rgba(120, 133, 255, 0.12);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.28));
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(calc(100% - 32px), var(--max));
  margin: 20px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  background: rgba(9, 13, 38, 0.52);
  backdrop-filter: blur(20px) saturate(150%);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 40px rgba(0,0,0,0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: uppercase;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(203,209,255,0.54));
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 0 18px rgba(225,230,255,0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  outline: none;
  transform: translateY(-1px);
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 110px);
  padding: 60px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 38px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #c1c7eb;
  opacity: 0.8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-text,
.section-text,
.faq-list p,
.glass-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 28px;
}

.ca-panel {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 22px;
}

.ca-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 16px 35px rgba(0,0,0,0.18);
}

.ca-label {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ca-copy code {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--text);
}

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

.liquid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05)),
    rgba(14, 19, 54, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 10px 24px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.03);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.liquid-button:hover,
.liquid-button:focus-visible {
  transform: translateY(-2px) scale(1.01);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 18px 34px rgba(0,0,0,0.28),
    0 0 22px rgba(205, 211, 255, 0.10);
}

.liquid-button:active {
  transform: translateY(0) scale(0.995);
}

.ghost-button {
  min-width: 150px;
}

.edit-note {
  margin: 0;
  color: #9ba3ca;
  font-size: 13px;
  line-height: 1.65;
}

.edit-note span {
  color: var(--text);
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.liquid-frame {
  width: min(100%, 540px);
  aspect-ratio: 1;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
    rgba(10, 14, 45, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 26px 60px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
}

.hero-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.28));
  user-select: none;
  -webkit-user-drag: none;
}

.split-section {
  padding: 36px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.section-heading {
  padding-right: 12px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(14, 19, 54, 0.50);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 28px rgba(0,0,0,0.18);
  overflow: hidden;
}

summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 58px 22px 22px;
  font-size: 17px;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #d8dcff;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.disclaimer-wrap {
  padding: 0 0 90px;
}

.glass-card {
  max-width: 900px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(12, 17, 49, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 18px 42px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px);
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 18px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9aa0c7;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)),
    rgba(12, 17, 49, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 16px 34px rgba(0,0,0,0.22);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 5;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

::selection {
  background: rgba(230,234,255,0.98);
  color: #05081d;
}

@media (max-width: 980px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    order: -1;
  }

  .liquid-frame {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .nav {
    justify-content: space-between;
  }

  .nav a {
    padding-inline: 10px;
  }

  .ca-panel {
    flex-direction: column;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    margin-top: 14px;
  }

  h1 {
    font-size: clamp(38px, 16vw, 62px);
  }

  h2 {
    font-size: clamp(28px, 11vw, 42px);
  }

  .eyebrow,
  .edit-note,
  .hero-text,
  .section-text,
  .faq-list p,
  .glass-card p,
  .site-footer,
  .nav a,
  .liquid-button,
  summary,
  .ca-copy code {
    font-size: 14px;
  }

  .brand {
    font-size: 13px;
  }

  .liquid-frame {
    padding: 20px;
    border-radius: 28px;
  }

  summary {
    padding-right: 52px;
  }

  .glass-card {
    padding: 24px;
    border-radius: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
