@font-face {
  font-family: "Saira";
  src: url("assets/brand/saira.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}

:root {
  --ink: #09090b;
  --panel: #131316;
  --line: #2a2a30;
  --text: #f5f5f3;
  --muted: #a6a6ad;
  --yellow: #ece81a;
  --crewdle-dark: #15110d;
  --crewdle-offwhite: #f1ebe2;
  --crewdle-orange: #ff5322;
  --crewdle-purple: #4c17ca;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Saira", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, figure, ul, dl, dd { margin: 0; }
h1, h2 { font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
p { color: var(--muted); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.eyebrow { color: var(--yellow); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.eyebrow::before { content: "// "; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 4px;
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--primary { background: var(--yellow); color: #0a0a0a; }
.btn--primary:hover { background: #fff; }
.btn--ghost { border-color: #55555d; color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: #0a0a0a; color: #fff; }
.btn--dark:hover { background: #2b2b2b; }
.btn[aria-disabled="true"] { background: transparent; border: 1px dashed #55555d; color: var(--muted); cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.beta {
  display: inline-block; padding: 0 9px; border: 1px solid currentColor; border-radius: 999px;
  font-size: 12px; font-weight: 500; line-height: 20px; vertical-align: 2px;
}

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 20px;
  height: 72px; padding: 0 var(--gutter);
  background: rgba(9, 9, 11, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand img { width: 128px; }
.nav__name { padding-left: 20px; border-left: 1px solid var(--line); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav__links a { color: var(--muted); text-decoration: none; }
.nav__links a:hover { color: var(--text); }

.hero { position: relative; overflow: hidden; }
.hero__copy {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) 40px;
  text-align: center;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 72px); }
.lede { max-width: 720px; margin: 24px auto 32px; font-size: clamp(18px, 1.7vw, 21px); }
.hero .actions { justify-content: center; }
.hero__stage { position: relative; padding: 24px var(--gutter) clamp(56px, 7vw, 104px); }
.hero__stage::before {
  content: ""; position: absolute; inset: -120px 0 0;
  background: url("assets/hardware/hero-art.webp") center 58% / max(1500px, 125%) auto no-repeat;
  -webkit-mask-image: linear-gradient(transparent, #000 26%, #000 72%, transparent);
  mask-image: linear-gradient(transparent, #000 26%, #000 72%, transparent);
}
.hero__stage .window { position: relative; max-width: 1100px; margin: 0 auto; }

.window {
  overflow: hidden; border: 1px solid #34343b; border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.why {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: var(--max); margin: 0 auto;
  border-block: 1px solid var(--line);
}
.why__item { padding: 36px var(--gutter); }
.why__item + .why__item { border-left: 1px solid var(--line); }
.why h2 { font-size: 23px; margin-bottom: 8px; }

.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter);
}
.feature__copy h2 { margin-bottom: 16px; }

.ticks { list-style: none; padding: 0; margin-top: 20px; }
.ticks li { position: relative; padding: 7px 0 7px 22px; color: var(--text); font-size: 17px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 9px; height: 9px; background: var(--yellow);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

.harness { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.harness p { font-size: 16px; }
.harness__title { color: var(--text) !important; font-weight: 600; margin-bottom: 4px; }
.harness__logos { display: flex; gap: 24px; margin-top: 14px; font-weight: 600; }
.harness__logos span { display: inline-flex; align-items: center; gap: 9px; }
.harness__logos img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }

.wide { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 112px); }
.wide__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: 36px; }
.points { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; color: var(--muted); font-size: 16px; }
.points strong { display: block; color: var(--text); font-size: 18px; font-weight: 600; }

.crewdle {
  background: var(--crewdle-dark);
  background-image: radial-gradient(90% 120% at 100% 0, rgba(76, 23, 202, .34), transparent 62%);
  border-block: 1px solid #2c241c;
  padding: clamp(64px, 8vw, 112px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.crewdle p { color: #b9b0a5; }
.crewdle__partner { color: var(--crewdle-orange) !important; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.crewdle__mark { width: min(300px, 70%); margin-bottom: 26px; }
.crewdle h2 { max-width: 840px; color: var(--crewdle-offwhite); }
.crewdle__body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start;
  margin-top: 36px;
}
.crewdle__body p + p { margin-top: 14px; }
.crewdle__downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.dl {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 76px; padding: 10px 14px;
  background: var(--crewdle-orange); color: #160a05; border-radius: 6px; text-decoration: none;
  transition: background-color .15s;
}
.dl:hover { background: #ff7a55; }
.dl strong { font-size: 17px; line-height: 1.2; }
.dl span { font-size: 13px; line-height: 1.25; }
.window--crewdle { border-color: #3a3026; }

.hardware {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter);
}
.hardware h2 { margin-bottom: 16px; }
.hardware p + p { margin-top: 12px; }
.hardware__img { width: min(100%, 460px); margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(146, 60, 200, .28)); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 26px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { font-weight: 600; }

.download {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 112px);
}
.download__card { padding: clamp(28px, 4vw, 48px); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; scroll-margin-top: 88px; }
.download__card h2 { margin-bottom: 14px; }
.download__card .actions { margin-top: 24px; }
.download__note { margin-top: 12px; color: var(--yellow); font-size: 15px; }
.download__card--beta { background: var(--yellow); border-color: var(--yellow); color: #0a0a0a; }
.download__card--beta p { color: #2a2a12; }
.download__card--beta .eyebrow { color: #0a0a0a; }
.download__card--beta .btn { margin-top: 24px; }
.reqs { margin-top: 22px; color: var(--muted); font-size: 16px; }
.reqs summary { cursor: pointer; color: var(--text); font-weight: 600; }
.reqs ul { margin-top: 10px; padding-left: 18px; }
.reqs li { padding: 3px 0; }
.reqs strong { color: var(--text); font-weight: 600; }

.faq {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 72px);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 112px);
}
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 600;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; color: var(--yellow); font-size: 24px; line-height: 1.1; }
.faq__list details[open] summary::after { content: "\2212"; }
.faq__list p { padding-bottom: 18px; font-size: 17px; max-width: 760px; }
.faq__list a { color: var(--text); }

.footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  padding: 32px var(--gutter); border-top: 1px solid var(--line);
  font-size: 14px;
}
.footer img { width: 110px; }
.footer p { max-width: 720px; }
.footer a { color: var(--text); }
.footer p:last-child { margin-left: auto; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .why { grid-template-columns: 1fr; }
  .why__item + .why__item { border-left: 0; border-top: 1px solid var(--line); }
  .feature, .crewdle__body, .hardware, .download, .wide__head, .faq { grid-template-columns: minmax(0, 1fr); }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hardware__img { width: min(70%, 340px); }
}
@media (max-width: 700px) {
  .hero__stage::before {
    inset: 0;
    background: radial-gradient(90% 60% at 50% 70%, rgba(150, 50, 190, .5), transparent 72%);
    -webkit-mask-image: none; mask-image: none;
  }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav { gap: 12px; height: 64px; }
  .nav__brand img { width: 96px; }
  .nav__name { padding-left: 12px; font-size: 13px; }
  .nav__name .beta { display: none; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .crewdle__downloads { grid-template-columns: minmax(0, 1fr); }
  .specs { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
