:root {
  color-scheme: dark;
  --graphite: #14161a;
  --plate: #1b1e23;
  --plate-hi: #23272e;
  --content: #ede9e0;
  --muted: #aaa79d;
  --faint: #77766e;
  --divider: rgba(255, 255, 255, 0.08);
  --seam-lit: rgba(255, 255, 255, 0.07);
  --seam-shade: rgba(0, 0, 0, 0.48);
  --signal: #ff5a2b;
  --signal-ink: #1a0a03;
  --signal-dim: rgba(255, 90, 43, 0.13);
  --page: 1180px;
  --reading: 740px;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 180px),
    var(--graphite);
  color: var(--content);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--content);
  color: var(--graphite);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--seam-shade);
}

.site-header::after,
.seam::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--seam-lit);
}

.nav {
  width: min(calc(100% - 40px), var(--page));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--content);
  color: var(--graphite);
  box-shadow: inset 0 1px rgba(255,255,255,.55), 0 1px 2px rgba(0,0,0,.35);
}

.brand-mark svg { width: 18px; height: 18px; }

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 130ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--content); }

.shell { width: min(calc(100% - 40px), var(--page)); margin: 0 auto; }

.hero {
  min-height: calc(100svh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
  padding: clamp(80px, 12vh, 140px) 0;
}

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

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(52px, 7vw, 94px);
  line-height: .96;
  letter-spacing: -.04em;
  font-weight: 620;
  text-wrap: balance;
}

.hero h1 span { color: var(--muted); }

.hero-copy > p {
  max-width: 580px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  letter-spacing: -.012em;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  outline: none;
  transition: transform 130ms cubic-bezier(.2,0,0,1), background 130ms ease;
}

.button:active { transform: translateY(1px); }
.button:focus-visible, a:focus-visible { outline: 2px solid var(--content); outline-offset: 4px; }
.button-primary { background: var(--content); color: var(--graphite); }
.button-primary:hover { background: #fffdf7; }
.button-secondary { background: var(--plate); color: var(--content); box-shadow: inset 0 1px var(--seam-lit), 0 1px var(--seam-shade); }
.button-secondary:hover { background: var(--plate-hi); }

.instrument {
  position: relative;
  padding: 22px;
  border-radius: 20px;
  background: var(--plate);
  box-shadow: inset 0 1px var(--seam-lit), 0 24px 60px rgba(0,0,0,.28), 0 1px var(--seam-shade);
}

.instrument::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 14px;
  pointer-events: none;
}

.instrument-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.register { font-variant-numeric: tabular-nums; }
.register strong { display: block; font-size: 76px; line-height: .9; font-weight: 620; letter-spacing: -.04em; }
.legend { color: var(--muted); font-size: 11px; line-height: 1.25; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.register .legend { margin-top: 10px; }
.status { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 2px 8px rgba(255,90,43,.26); }
.seam { height: 2px; margin: 26px 0; background: var(--seam-shade); }

.task-list { list-style: none; margin: 0; padding: 0; }
.task { min-height: 62px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--divider); font-size: 17px; }
.task:last-child { border-bottom: 0; }
.task-box { flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid var(--muted); border-radius: 6px; }
.task.done { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1px; }
.task.done .task-box { display: grid; place-items: center; border-color: var(--content); background: var(--content); color: var(--graphite); }

.release {
  position: relative;
  margin-top: 24px;
  padding: 17px 18px;
  border-radius: 10px;
  background: var(--signal-dim);
  box-shadow: inset 0 1px rgba(255,90,43,.35), 0 1px var(--seam-shade);
  color: var(--content);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.release strong { font-size: 15px; }
.release .legend { color: #cfb3a8; }

.story { border-top: 1px solid var(--seam-lit); }
.story-row { min-height: 330px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 12vw; align-items: center; border-bottom: 1px solid var(--divider); padding: 68px 0; }
.story-row h2 { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.02; letter-spacing: -.035em; font-weight: 620; text-wrap: balance; }
.story-row p { margin: 0; color: var(--muted); max-width: 620px; font-size: 19px; line-height: 1.58; }
.story-row strong { color: var(--content); font-weight: 600; }

.closing { min-height: 470px; display: grid; place-items: center; text-align: center; padding: 100px 20px; }
.closing-inner { max-width: 780px; }
.closing h2 { margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: 1; letter-spacing: -.04em; font-weight: 620; text-wrap: balance; }
.closing p { margin: 24px auto 0; max-width: 580px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.closing .actions { justify-content: center; }

.legal-main { width: min(calc(100% - 40px), var(--reading)); margin: 0 auto; padding: 88px 0 120px; }
.legal-title { padding-bottom: 48px; border-bottom: 1px solid var(--divider); }
.legal-title h1 { margin: 0; font-size: clamp(42px, 7vw, 68px); line-height: 1; letter-spacing: -.04em; font-weight: 620; }
.legal-title p { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.legal-content { padding-top: 42px; }
.legal-content section { scroll-margin-top: 24px; margin-top: 52px; }
.legal-content section:first-child { margin-top: 0; }
.legal-content h2 { margin: 0 0 18px; font-size: 25px; line-height: 1.25; letter-spacing: -.025em; font-weight: 620; }
.legal-content h3 { margin: 30px 0 12px; font-size: 18px; line-height: 1.35; font-weight: 620; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 20px; padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content strong { color: var(--content); font-weight: 600; }
.legal-content a { color: var(--content); text-decoration-color: var(--faint); text-underline-offset: 3px; }
.legal-note { margin-top: 48px; padding: 18px 20px; border-radius: 10px; background: var(--plate); box-shadow: inset 0 1px var(--seam-lit), 0 1px var(--seam-shade); }
.legal-note p { margin: 0; font-size: 14px; }

.site-footer { border-top: 1px solid var(--seam-lit); }
.footer-inner { width: min(calc(100% - 40px), var(--page)); min-height: 110px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--faint); font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--content); }

@media (max-width: 800px) {
  .nav { min-height: 64px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 64px; padding: 72px 0 88px; }
  .hero h1 { max-width: 560px; }
  .instrument { width: min(100%, 500px); }
  .story-row { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 58px 0; }
  .story-row p { font-size: 17px; }
}

@media (max-width: 560px) {
  .shell, .nav, .footer-inner, .legal-main { width: min(calc(100% - 32px), var(--page)); }
  .nav { align-items: flex-start; padding: 17px 0; }
  .brand span:last-child { display: none; }
  .nav-links { width: 100%; justify-content: flex-end; gap: 14px; }
  .nav-links a { font-size: 12px; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(46px, 15vw, 67px); }
  .hero-copy > p { margin-top: 24px; font-size: 18px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .instrument { padding: 18px; border-radius: 16px; }
  .register strong { font-size: 64px; }
  .legal-main { --reading: 100%; padding-top: 62px; }
  .legal-title { padding-bottom: 36px; }
  .legal-content { padding-top: 34px; }
  .legal-content section { margin-top: 42px; }
  .footer-inner { min-height: 140px; flex-direction: column; justify-content: center; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
