:root {
  --bg: #111114;
  --text: #f5f5f7;
  --muted: #a8a8ae;
  --orange: #ff9f0a;
  --orange-deep: #e88700;
  --quiet: #2c2c2e;
  --line: rgba(255, 255, 255, 0.1);
  --max: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.glow {
  position: fixed;
  inset: -20% auto auto -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(37, 99, 196, 0.28), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.nav, main, footer {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand:hover { text-decoration: none; }

.nav nav {
  display: flex;
  gap: 22px;
}

.nav nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 28px 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.tagline {
  margin: 12px 0 0;
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lede {
  margin: 22px 0 0;
  max-width: 38rem;
  color: var(--muted);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-arm,
.btn-quiet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  padding: 12px 22px 13px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
}

.btn-arm:hover,
.btn-quiet:hover { text-decoration: none; }

.btn-arm {
  background: var(--orange);
  color: #1a1204;
}

.btn-arm:hover { background: #ffb340; }

.btn-quiet {
  background: var(--quiet);
}

.btn-quiet:hover { background: #3a3a3c; }

.btn-arm strong,
.btn-quiet strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.btn-arm span,
.btn-quiet span {
  font-size: 12px;
  opacity: 0.78;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.wander {
  position: absolute;
  inset: -4% -8% auto;
  width: 118%;
  height: 360px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.wander-path {
  stroke: rgba(120, 190, 255, 0.35);
  stroke-width: 2;
  stroke-dasharray: 3 9;
}

.wander-dot {
  fill: #fff;
  offset-path: path("M36 270 C 110 60, 210 310, 390 88");
  offset-rotate: 0deg;
  animation: wander 7.5s ease-in-out infinite alternate;
}

@keyframes wander {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.menu-stage {
  position: relative;
  z-index: 1;
  width: min(326px, 100%);
  margin: 36px auto 0;
}

.menu-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle button,
.segmented button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle button[aria-selected="true"],
.segmented button[aria-selected="true"] {
  background: var(--orange);
  color: #1a1204;
}

.menu-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.tour {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 28px 72px;
}

.tour-copy {
  max-width: 36rem;
  margin-bottom: 28px;
}

.tour-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.tour-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.segmented {
  display: flex;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 4px;
  border-radius: 12px;
  background: #2c2c2e;
}

.window-stage {
  margin: 0 auto;
  max-width: 760px;
}

.window-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 28px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
  border-top: 1px solid var(--line);
}

.features h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.features p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 48px;
  color: var(--muted);
  font-size: 13px;
}

footer p { margin: 0 0 6px; }

footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

.disclaimer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 38rem;
}

.disclaimer h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.disclaimer p {
  margin: 0 0 10px;
  line-height: 1.55;
}

.license-open {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: var(--orange);
  font: inherit;
  cursor: pointer;
}

.license-open:hover { text-decoration: underline; }

.license-dialog {
  width: min(36rem, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #1c1c1f;
  color: var(--text);
}

.license-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.license-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.license-dialog-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.license-close {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 6px 12px;
  background: var(--quiet);
  color: var(--text);
  font: 600 13px/1.2 inherit;
  cursor: pointer;
}

.license-text {
  display: block;
  width: 100%;
  min-height: 18rem;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111114;
  color: var(--text);
  font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
  resize: vertical;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 12px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wander-dot { animation: none; offset-distance: 70%; }
}
