:root {
  color-scheme: dark;
  --bg: #11100e;
  --surface: #191714;
  --surface-soft: #201d19;
  --text: #f3eee5;
  --muted: #aaa298;
  --line: rgba(243, 238, 229, 0.14);
  --gold: #d9b877;
  --gold-soft: rgba(217, 184, 119, 0.16);
  --green: #8db59d;
  --shell: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 12%, rgba(217, 184, 119, 0.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.topbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--gold);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.quiet-link,
.text-link {
  color: var(--muted);
  text-decoration-color: rgba(170, 162, 152, 0.4);
  text-underline-offset: 0.25em;
}

.quiet-link:hover,
.quiet-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding-block: 88px 104px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  max-width: 760px;
  font-size: clamp(2.8rem, 7vw, 6.7rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lede {
  max-width: 600px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}

.download-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.download-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--gold);
  color: #17130e;
  font-weight: 760;
  text-decoration: none;
}

.download-button.disabled {
  background: var(--surface-soft);
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: not-allowed;
}

.release-note {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  list-style: none;
}

.trust-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 0.08em;
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.figure {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 0.72;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 196px 196px 28px 28px;
  background:
    radial-gradient(circle at 50% 24%, rgba(217, 184, 119, 0.17), transparent 24%),
    linear-gradient(150deg, #211e19, #12110f 68%);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
}

.axis {
  position: absolute;
  inset: 14% auto 10% 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--gold) 16%, var(--gold) 84%, transparent);
  box-shadow: 0 0 24px rgba(217, 184, 119, 0.54);
}

.axis::before,
.axis::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(217, 184, 119, 0.26);
  border-radius: 50%;
  transform: translateX(-50%);
}

.axis::before {
  top: 8%;
}

.axis::after {
  bottom: 10%;
  width: 210px;
  height: 210px;
}

.signal {
  position: absolute;
  left: 50%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 238, 229, 0.42), transparent);
  transform: translateX(-50%) rotate(-8deg);
}

.signal-one {
  top: 43%;
}

.signal-two {
  top: 60%;
  transform: translateX(-50%) rotate(11deg);
}

.status-dot {
  position: absolute;
  right: 16%;
  bottom: 16%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(141, 181, 157, 0.8);
}

.visual-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.steps {
  padding-block: 100px;
  border-top: 1px solid var(--line);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  margin: 56px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.step-grid li {
  min-height: 240px;
  padding: 30px;
  background: var(--surface);
}

.step-grid span {
  display: block;
  margin-bottom: 70px;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.step-grid p,
.privacy-card > p,
.policy p {
  color: var(--muted);
  line-height: 1.65;
}

.privacy-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px 90px;
  align-items: start;
  padding-block: 100px;
  border-top: 1px solid var(--line);
}

.privacy-card .text-link {
  grid-column: 2;
  justify-self: start;
  color: var(--gold);
}

.footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.policy {
  max-width: 820px;
  padding-block: 88px 120px;
}

.policy h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.policy-intro {
  margin-bottom: 64px;
  font-size: 1.15rem;
}

.policy section {
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.policy section h2 {
  margin-bottom: 18px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.policy section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 64px 80px;
  }

  .hero-visual {
    order: -1;
  }

  .figure {
    width: min(78vw, 330px);
    max-height: 420px;
  }

  .step-grid,
  .privacy-card {
    grid-template-columns: 1fr;
  }

  .step-grid span {
    margin-bottom: 40px;
  }

  .privacy-card .text-link {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: min(100% - 28px, 1160px);
  }

  .topbar {
    min-height: 68px;
  }

  .hero {
    gap: 40px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .download-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .release-note {
    max-width: none;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
