@font-face {
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:100 800;
  font-display:swap;
  src:url('assets/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
  color-scheme:dark;
  --surface:#0a0a0a;
  --surface-raised:#141414;
  --text:#ececec;
  --text-muted:#a3a3a3;
  --text-placeholder:#909090;
  --text-hover:#f6cf7a;
  --border:#2b2b2b;
  --border-control:#3a3a3a;
  --control-height:44px;
  --accent:oklch(.81 .16 80);
  --danger:#ff9386;
  --font-body:'JetBrains Mono',ui-monospace,'SF Mono',Menlo,monospace;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-6:24px;
  --space-8:32px;
  --space-12:48px;
  --space-16:64px;
  --radius-control:2px;
  --focus-ring:2px solid var(--accent);
  --focus-offset:4px;
  --duration-fast:120ms;
  --ease-out:cubic-bezier(.2,0,0,1);
  font-family:var(--font-body);
  color:var(--text);
  background:var(--surface);
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

::selection {
  background:var(--accent);
  color:var(--surface);
}

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

a:focus-visible,button:focus-visible,input:focus-visible {
  outline:var(--focus-ring);
  outline-offset:var(--focus-offset);
}

button,input {
  font:inherit;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:default;
}

.page {
  width:min(100%,1512px);
  padding:0 64px;
  margin:0 auto;
}

.site-header {
  height:116px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid var(--border);
}

.wordmark {
  display:inline-flex;
  align-items:center;
  min-height:var(--control-height);
  gap:12px;
  font-size:29px;
  font-weight:700;
  letter-spacing:-1.8px;
}

.wordmark img {
  width:34px;
  height:34px;
  object-fit:contain;
}

.site-nav {
  display:flex;
  align-items:center;
  gap:32px;
  font-size:12px;
}

.site-nav a {
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-height:44px;
}

.site-nav a:first-child {
  color:var(--text-muted);
}

.site-nav a:hover,.text-link:hover,footer a:hover {
  color:var(--accent);
}

.platform {
  color:var(--text-muted);
  font-size:12px;
}

.edition {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:10px;
  line-height:1.6;
  letter-spacing:.1em;
  color:var(--text-muted);
  margin-bottom:26px;
}

.status-dot {
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  flex:none;
}

h1 {
  font-size:clamp(64px,7.8vw,116px);
  font-weight:500;
  line-height:1.04;
  letter-spacing:-.085em;
  margin:0;
}

h1 em {
  font-style:normal;
  color:var(--accent);
}

.button-link {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  min-height:52px;
  padding:0 22px;
  background:var(--accent);
  color:var(--surface);
  font-size:12px;
  font-weight:700;
  border-radius:2px;
  transition:background var(--duration-fast);
}

.button-link:hover {
  background:var(--text-hover);
}

.button-link span {
  font-size:18px;
}

.availability {
  display:block;
  font-size:10px;
  color:var(--text-muted);
  margin-top:13px;
}

.shot-wrap {
  margin:0;
  min-width:0;
}

.shot .win {
  border-radius:6px;
  border:1px solid #373737;
  box-shadow:0 20px 64px -24px #000;
}

.motion-toggle {
  color:var(--text-muted);
  background:transparent;
  border:0;
  text-decoration:underline;
  text-underline-offset:4px;
  padding:12px 0;
  font-size:11px;
  min-height:44px;
}

.motion-toggle:hover {
  color:var(--text);
}

.beta-section {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
  scroll-margin-top:24px;
}

.beta-copy p {
  font-size:12px;
  line-height:1.9;
  color:var(--text-muted);
  margin:0 0 24px;
}

.text-link {
  font-size:11px;
  text-decoration:underline;
  text-underline-offset:5px;
}

.pilot-card {
  padding:28px;
  background:var(--surface-raised);
  border:1px solid var(--border);
  border-radius:4px;
}

.pilot-heading {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:26px;
}

.pilot-heading img {
  width:52px;
  height:52px;
}

.pilot-heading strong {
  font-size:14px;
  font-weight:500;
  display:block;
  margin-bottom:6px;
}

.pilot-heading span {
  font-size:10px;
  color:var(--text-muted);
  display:block;
}

.pilot-invite {
  display:flex;
}

.pilot-note {
  margin:14px 0 0;
  font-size:11px;
  line-height:1.8;
  color:var(--text-muted);
}

.field {
  display:grid;
  gap:8px;
}

.field label {
  font-size:12px;
  font-weight:500;
}

.field input {
  height:var(--control-height);
  padding:0 14px;
  color:var(--text);
  background:var(--surface-raised);
  border:1px solid var(--border-control);
  border-radius:var(--radius-control);
  font-size:13px;
  transition:border-color var(--duration-fast);
}

.field input:hover {
  border-color:var(--text-muted);
}

.field input:focus-visible {
  border-color:var(--accent);
  outline-offset:2px;
}

.field input[aria-invalid="true"] {
  border-color:var(--danger);
}

.field input::placeholder {
  color:var(--text-placeholder);
}

.hint {
  margin:0;
  font-size:11px;
  line-height:1.8;
  color:var(--text-muted);
}

.download {
  display:grid;
  gap:10px;
  width:100%;
}

.download button {
  display:flex;
  width:100%;
  justify-content:center;
  align-items:center;
  height:48px;
  padding:0 20px;
  font-size:12px;
  font-weight:700;
  border:0;
  background:var(--accent);
  color:var(--surface);
  border-radius:2px;
  transition:background var(--duration-fast);
}

.download button:hover {
  background:var(--text-hover);
}

.download button[aria-disabled="true"] {
  background:var(--text-muted);
  cursor:progress;
}

.download-status {
  margin:0;
  min-height:1.8em;
  font-size:11px;
  line-height:1.8;
  color:var(--text-muted);
}

.download-status[data-tone="error"] {
  color:var(--danger);
}

.download-status[data-tone="success"] {
  color:var(--accent);
}

.download a,.guide a {
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--text);
}

footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-top:1px solid var(--border);
  padding:28px 0 36px;
  font-size:10px;
  color:var(--text-muted);
}

.footer-brand {
  font-size:22px;
  font-weight:700;
  letter-spacing:-1.5px;
  color:var(--text);
}

footer a {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.skip {
  position:absolute;
  display:inline-flex;
  align-items:center;
  min-height:var(--control-height);
  z-index:10;
  top:16px;
  left:16px;
  padding:12px 18px;
  color:var(--surface);
  background:var(--accent);
  transform:translateY(-200%);
  font-size:12px;
}

.skip:focus {
  transform:none;
}

/* The skip link's target takes focus, so the next Tab starts in the content. It is not a
   control, so it draws no ring. */
#main:focus {
  outline:none;
}

.guide {
  max-width:760px;
  padding:64px 0 80px;
}

.guide h1 {
  font-size:clamp(36px,5vw,60px);
  letter-spacing:-3px;
  margin:0 0 24px;
}

.guide .lede {
  font-size:16px;
  line-height:1.8;
  color:var(--text-muted);
}

.steps {
  display:grid;
  list-style:none;
  margin:48px 0 0;
  padding:0;
  counter-reset:step;
}

.steps li {
  display:grid;
  grid-template-columns:32px 1fr;
  gap:16px;
  padding:28px 0;
  border-top:1px solid var(--border);
  counter-increment:step;
}

.steps li::before {
  content:counter(step,decimal-leading-zero);
  color:var(--accent);
  font-size:12px;
  padding-top:4px;
}

.steps h2 {
  font-size:17px;
  font-weight:500;
  margin:0 0 10px;
}

.steps p {
  font-size:13px;
  line-height:1.9;
  color:var(--text-muted);
  margin:0;
}

.steps p+p {
  margin-top:10px;
}

.facts {
  display:grid;
  border-bottom:1px solid var(--border);
  margin:0;
}

.facts div {
  display:grid;
  grid-template-columns:140px 1fr;
  gap:20px;
  border-top:1px solid var(--border);
  padding:20px 0;
  font-size:12px;
  line-height:1.8;
}

.facts dt {
  font-weight:500;
}

.facts dd {
  margin:0;
  color:var(--text-muted);
}

@media(max-width:1100px) {
  .page {
    padding-inline:36px;
  }
  .beta-section {
    gap:36px;
  }
}

@media(max-width:760px) {
  .page {
    padding-inline:24px;
  }
  .site-header {
    height:88px;
  }
  .wordmark {
    font-size:25px;
  }
  .site-nav {
    gap:20px;
    font-size:11px;
  }
  .beta-section {
    grid-template-columns:1fr;
    gap:28px;
  }
  .pilot-card {
    max-width:560px;
    padding:24px;
  }
  .motion-toggle {
    font-size:10px;
    flex-shrink:0;
  }
  footer {
    flex-wrap:wrap;
    gap:12px;
  }
  footer>span {
    width:100%;
    order:3;
  }
  .guide {
    padding:40px 0 48px;
  }
  .facts div {
    grid-template-columns:1fr;
    gap:6px;
  }
}

@media(max-width:390px) {
  .page {
    padding-inline:16px;
  }
  .site-nav {
    gap:16px;
  }
  .site-nav a:first-child {
    display:none;
  }
  .wordmark {
    gap:8px;
  }
  .edition {
    font-size:9px;
    letter-spacing:.04em;
  }
  .pilot-card {
    padding:18px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
  }
  .button-link,.download button,.field input {
    transition:none;
  }
}
