@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../assets/fonts/syne-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../assets/fonts/syne-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --void: #050604;
  --ink: #0b0c09;
  --panel: #12140f;
  --line: rgba(198, 255, 58, 0.14);
  --line-weak: rgba(255, 255, 255, 0.08);
  --paper: #f3f4ee;
  --lime: #c6ff3a;
  --lime-2: #9be01c;
  --mist: #d7dacb;
  --fog: #9aa090;
  --header-h: 4.5rem;
  --max: 72rem;
  --gutter: clamp(1.1rem, 3.4vw, 2.4rem);
  --font-display: "Syne", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.8rem);
}

::selection {
  background: var(--lime);
  color: #101308;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--mist);
  background: var(--void);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: #f8f9f2;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
}

p { margin: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 90;
  background: var(--lime);
  color: var(--void);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0.8rem; }

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

.placeholder-chip { display: none; }

.owner-banner {
  position: relative;
  z-index: 30;
  background: #14180c;
  color: #dbe3c4;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.owner-banner .wrap { padding: 0.65rem 0; }
.owner-banner strong { color: var(--lime); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(5, 6, 4, 0.62);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(198, 255, 58, 0.55);
}
.site-header.is-scrolled { border-bottom-color: var(--line-weak); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #f7f8f2;
}
.brand-mark { width: 1.9rem; height: 1.9rem; flex: none; }
.brand-type {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.05em;
}
.brand-type span { color: var(--lime); }

.nav-toggle {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--line-weak);
  border-radius: 0.8rem;
  background: rgba(18, 20, 15, 0.8);
  color: #f7f8f2;
  cursor: pointer;
  place-items: center;
  position: relative;
  z-index: 50;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.4px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.4rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--mist);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover { color: #fff; }

.header-cta { margin-left: 0.45rem; }
.header-cta-mobile { display: none; }
.header-tools { display: flex; align-items: center; gap: 0.55rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.05rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.btn-primary {
  background: var(--lime);
  color: #101308;
  box-shadow: 0 0 0 0 rgba(198, 255, 58, 0.45);
}
.btn-primary:hover {
  background: #d8ff6a;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(198, 255, 58, 0.22);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #f7f8f2;
  border-color: var(--line-weak);
}
.btn-secondary:hover { border-color: #fff; transform: translateY(-2px); }
.btn-compact { min-height: 2.45rem; padding: 0.35rem 1rem; font-size: 0.92rem; }
.btn.is-disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  background: transparent;
  color: var(--lime);
  border: 1px solid color-mix(in srgb, var(--lime) 45%, transparent);
  box-shadow: none;
}
.btn.is-disabled:hover,
.btn[aria-disabled="true"]:hover { transform: none; background: transparent; }

.hero {
  position: relative;
  min-height: min(100vh, 54rem);
  display: grid;
  align-items: center;
  padding: 5.5rem 0 4.2rem;
  overflow: hidden;
}
.hero-ambient {
  position: absolute;
  inset: -10% -5% auto;
  height: 80%;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(198, 255, 58, 0.16), transparent 42%),
    radial-gradient(ellipse at 10% 80%, rgba(198, 255, 58, 0.06), transparent 46%);
  pointer-events: none;
}
.hero-ambient::before {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 4.2rem 4.2rem;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 12%, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}
.hero-copy-block { max-width: 38rem; }

.hero h1 {
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  font-weight: 800;
  text-wrap: balance;
}
.hero h1 span {
  display: block;
  color: var(--lime);
  text-shadow: 0 0 48px rgba(198, 255, 58, 0.28);
}

.lede {
  margin-top: 1.1rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  color: #f3f5ea;
  max-width: 28rem;
}
.hero-copy {
  margin-top: 0.85rem;
  max-width: 32rem;
  color: var(--fog);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
  padding: 0;
}
.stats li {
  min-width: 7.2rem;
  padding: 0.7rem 0.85rem 0.65rem;
  border: 1px solid var(--line-weak);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}
.stats strong {
  display: block;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.stats span {
  display: block;
  margin-top: 0.12rem;
  color: var(--fog);
  font-size: 0.78rem;
}

.hero-visual { perspective: 1400px; }
.device {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(198, 255, 58, 0.22);
  background: #0c0d0a;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(198, 255, 58, 0.08);
  transform: rotateY(-12deg) rotateX(6deg) translateY(0);
  transform-origin: center;
  animation: float-card 7s ease-in-out infinite;
}
.device img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.45rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line-weak);
  color: var(--fog);
  font-size: 0.8rem;
  background: #10120d;
}
.device-dots { display: flex; gap: 0.32rem; }
.device-dots i {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: #2e3228;
  display: block;
}
.device-dots i:last-child { background: var(--lime); }
.device-meter {
  height: 4px;
  background: #1b1e16;
}
.device-meter span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(198, 255, 58, 0.65);
  animation: fill-bar 1.8s var(--ease) both;
}
@keyframes float-card {
  0%, 100% { transform: rotateY(-12deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateY(-12deg) rotateX(6deg) translateY(-10px); }
}
@keyframes fill-bar {
  from { width: 12%; }
  to { width: 68%; }
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line-weak);
  background: #090a07;
  padding: 0.85rem 0;
}
.ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
}
.ticker-track span { white-space: nowrap; }
.ticker-track b { color: var(--lime); font-weight: 800; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 5.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section-head p { margin-top: 0.9rem; color: var(--fog); }

.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}
.bento article {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.55rem 1.45rem;
  border: 1px solid var(--line-weak);
  border-radius: 1.35rem;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(198, 255, 58, 0.08), transparent 46%),
    var(--panel);
}
.bento article:first-child { grid-row: span 2; min-height: 22rem; }
.bento h3 {
  font-size: 1.55rem;
  margin: 1.1rem 0 0.45rem;
}
.bento p { color: var(--fog); max-width: 34rem; }
.icon-blob {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: rgba(198, 255, 58, 0.1);
  color: var(--lime);
  border: 1px solid var(--line);
}
.icon-blob svg { width: 1.35rem; height: 1.35rem; }

.shot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}
.shot {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-weak);
  border-radius: 1.2rem;
  background: #0d0e0b;
  overflow: hidden;
  cursor: zoom-in;
  width: 100%;
  text-align: left;
  color: inherit;
  position: relative;
}
.shot:first-child { grid-row: span 2; }
.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.shot:first-child img { aspect-ratio: 4 / 5; min-height: 100%; }
.shot:hover img { transform: scale(1.04); }
.shot .caption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(8, 9, 6, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  color: var(--mist);
}

.download-band {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(70% 80% at 80% 20%, rgba(198, 255, 58, 0.12), transparent 50%),
    #0a0c08;
  border-block: 1px solid var(--line);
}
.download-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.1rem;
}
.download-card,
.side-card {
  border: 1px solid var(--line-weak);
  border-radius: 1.4rem;
  background: rgba(18, 20, 15, 0.9);
}
.download-card { padding: 1.8rem 1.7rem 1.55rem; }
.download-card h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0.2rem 0 0.7rem; }
.filename {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.9rem;
  color: var(--lime);
  background: rgba(198, 255, 58, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}
.meta-table {
  width: 100%;
  margin: 1.3rem 0 1.4rem;
  border-collapse: collapse;
}
.meta-table th, .meta-table td {
  text-align: left;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line-weak);
  font-size: 0.95rem;
}
.meta-table th { color: var(--fog); font-weight: 500; width: 38%; }
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.fallback-link { color: var(--lime); font-weight: 700; font-size: 0.95rem; }
.notice {
  margin-top: 1.15rem;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: rgba(198, 255, 58, 0.07);
  border: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.92rem;
}
.hash { margin-top: 1rem; font-size: 0.85rem; color: var(--fog); }
.hash code { display: block; margin-top: 0.3rem; word-break: break-all; color: var(--mist); font-size: 0.8rem; }

.side-card { padding: 1.4rem 1.45rem; }
.side-card + .side-card { margin-top: 1rem; }
.side-card h3 { font-size: 1.25rem; margin-bottom: 0.9rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; }
.step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--lime);
  color: #101308;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.req-list { margin: 0; }
.req-list div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.55rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-weak);
}
.req-list dt { color: var(--fog); font-weight: 500; }

.faq-list { display: grid; gap: 0.7rem; }
.faq-item {
  border: 1px solid var(--line-weak);
  border-radius: 1rem;
  background: var(--panel);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 700;
  color: #f4f5f0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--lime);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.2rem 1.15rem; color: var(--fog); }

.site-footer {
  border-top: 1px solid var(--line-weak);
  padding: 2.5rem 0 2.7rem;
  background: #080906;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.9rem 1.3rem; }
.footer-links a { color: var(--fog); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.fineprint { margin-top: 1.4rem; color: #6b705f; font-size: 0.82rem; max-width: 46rem; }

.page-main { padding: 4.8rem 0 5.2rem; }
.prose { max-width: 42rem; }
.prose h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.prose p + p { margin-top: 0.9rem; }
.prose a { color: var(--lime); }

.error-page {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding: 4rem 0 5rem;
}
.error-page p.code {
  font-family: var(--font-display);
  color: var(--lime);
  letter-spacing: 0.16em;
  font-size: 0.9rem;
}
.error-page h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 0.4rem 0 1rem; }

.lightbox {
  width: min(92vw, 70rem);
  max-height: 92vh;
  border: 1px solid var(--line-weak);
  border-radius: 1rem;
  padding: 0;
  background: var(--ink);
  color: #fff;
}
.lightbox::backdrop { background: rgba(5, 6, 4, 0.82); }
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line-weak);
}
.lightbox img { max-height: calc(92vh - 3.4rem); margin: 0 auto; }
.lightbox-close {
  background: transparent;
  border: 1px solid var(--line-weak);
  color: #fff;
  border-radius: 999px;
  min-height: 2.2rem;
  padding: 0 0.8rem;
  cursor: pointer;
}

.nav-backdrop { display: none; }

@media (max-width: 880px) {
  .bento, .shot-grid, .download-shell { grid-template-columns: 1fr; }
  .bento article:first-child { grid-row: auto; min-height: 0; }
  .shot:first-child { grid-row: auto; }
  .shot:first-child img { aspect-ratio: 16 / 10; }
  .nav-toggle { display: grid; }
  .header-cta-mobile { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(22rem, 88vw);
    height: 100dvh;
    background: #0d0f0a;
    border-left: 1px solid var(--line-weak);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.3rem 1.5rem;
    gap: 0.35rem;
    transform: translateX(110%);
    transition: transform 280ms var(--ease);
    z-index: 45;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a, .site-nav .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.8rem 0.2rem;
    font-size: 1.15rem;
  }
  .header-cta { margin: 0.6rem 0 0; }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 42;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .hero { min-height: 0; padding-top: 4.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .device { transform: none; animation: none; }
  .req-list div { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .site-nav, .shot img, .ticker-track, .device, .device-meter span {
    transition: none;
    animation: none;
  }
  .btn:hover, .shot:hover img { transform: none; }
  .device { transform: none; }
}
