:root {
  --bg: #f4f1ec;
  --surface: #faf8f5;
  --raised: #eae5df;
  --ink: #2e2b30;
  --secondary: #68636b;
  --muted: #736b76;
  --accent: #79658c;
  --accent-soft: #e9e2ed;
  --accent-ink: #fbf8fc;
  --line: rgba(52, 43, 58, 0.16);
  --sage: #71836f;
  --terminal: #29272d;
  --terminal-ink: #e4dce9;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b191d;
    --surface: #232025;
    --raised: #2f2a32;
    --ink: #e8e1e8;
    --secondary: #b6aeb9;
    --muted: #b0a5b5;
    --accent: #bca7cc;
    --accent-soft: #332a3b;
    --accent-ink: #241e2a;
    --line: rgba(232, 218, 240, 0.18);
    --sage: #a8b6a3;
    --terminal: #141217;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1b191d;
  --surface: #232025;
  --raised: #2f2a32;
  --ink: #e8e1e8;
  --secondary: #b6aeb9;
  --muted: #b0a5b5;
  --accent: #bca7cc;
  --accent-soft: #332a3b;
  --accent-ink: #241e2a;
  --line: rgba(232, 218, 240, 0.18);
  --sage: #a8b6a3;
  --terminal: #141217;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: wait;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
img,
svg {
  max-width: 100%;
}
code,
pre,
.mono {
  font-family: var(--mono);
}
pre {
  tab-size: 2;
}
::selection {
  background: var(--accent-soft);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1200px, 100%);
  padding-inline: 40px;
  margin-inline: auto;
}
.section {
  padding-top: 88px;
}
h1 {
  font-size: clamp(42px, 4.7vw, 64px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -2.5px;
}
h2 {
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: -1px;
  font-weight: 600;
}
h3 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 10px 18px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
}
.skip:focus {
  top: 12px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 19px;
  font-weight: 650;
  white-space: nowrap;
  letter-spacing: -0.5px;
}
.brand img {
  flex: none;
}
.brand-soft {
  font-weight: 450;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 14px;
  color: var(--secondary);
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--accent);
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.github-link {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
  margin-inline: 4px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 8px;
  flex: none;
}
.icon-button:hover {
  background: var(--raised);
}
.icon-button svg {
  width: 20px;
  height: 20px;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 34px;
}
.hero-content {
  min-width: 0;
}
.release-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  font-size: 12px;
  color: var(--secondary);
  margin-bottom: 24px;
}
.release-pill:hover {
  background: var(--raised);
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.pill-separator {
  color: var(--muted);
}
.hero-description {
  max-width: 34em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--secondary);
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  min-width: 44px;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 550;
  transition: transform 0.2s;
}
.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-size: 14px;
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}
.text-link:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}
.hero-requirement {
  font-size: 14px;
  color: var(--secondary);
  margin-top: 14px;
}
.hero-badges {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin-top: 16px;
}
.optics-art {
  min-width: 0;
  align-self: center;
}
.wavefront {
  display: block;
  color: var(--accent);
  width: 100%;
  height: auto;
}
.optics-art figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: -10px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 28px;
  margin-bottom: 28px;
}
.section-heading > div {
  flex: 1;
}
.section-intro {
  color: var(--secondary);
  max-width: 27em;
  font-size: 16px;
}
.split-section {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
}
.split-section > * {
  min-width: 0;
}
.section-rail > p {
  margin-top: 16px;
  color: var(--secondary);
}
.section-rail > .text-link {
  margin-top: 12px;
}
.footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px 36px;
  padding-top: 30px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  margin-top: 72px;
}
.footer .brand {
  font-size: 18px;
}
.footer > div > p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--secondary);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: end;
}
.footer-links a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--secondary);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-credit {
  grid-column: 1/-1;
  font-size: 12px;
  color: var(--muted);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  max-width: calc(100% - 32px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
