@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Iosevka Fixed";
  src: url("fonts/IosevkaFixed-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  --bg: #111216;
  --surface: #1c1e24;
  --surface-2: #23262e;
  --text: #e4e7ee;
  --muted: #a3a9b8;
  --line: #2c2f39;
  --accent: #8aa4ff;
  --sans: "Instrument Sans", Arial, sans-serif;
  --mono: "Iosevka Fixed", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
p, h1, h2 { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 96px, 1280px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 11px/1.5 var(--mono); letter-spacing: 1px; color: var(--muted); }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px #8aa4ff40; }
h1, h2 { font-weight: 500; }
h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.1; letter-spacing: -.05em; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 14px; }
.text-link:hover { color: var(--accent); }
.text-link span, .button span { transition: transform .2s ease; }
.text-link:hover span, .button:hover span { transform: translate(2px, -2px); }
.button { min-height: 50px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; border: 1px solid var(--line); border-radius: 5px; font-size: 15px; font-weight: 500; background: transparent; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: var(--surface-2); border-color: var(--muted); }
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.button-primary:hover { background: #a6baff; border-color: #a6baff; }
.skip { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: var(--accent); color: var(--bg); z-index: 20; }
.skip:focus { top: 20px; }
.top { position: sticky; top: 0; z-index: 10; background: rgb(17 18 22 / 94%); backdrop-filter: blur(12px); }
.nav-inner { height: 86px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; font-size: 35px; font-weight: 600; letter-spacing: -2px; line-height: 1; color: var(--text); }
.brand-icon { width: 40px; height: 40px; margin-right: 10px; }
.brand-dot { color: var(--accent); }
.links { display: flex; gap: 32px; margin-left: auto; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-cta { margin-left: 42px; min-height: 42px; padding: 9px 17px; gap: 32px; }
.hero { position: relative; }
.hero-stage { padding-block: 62px 48px; text-align: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow { justify-content: center; margin-bottom: 22px; color: var(--muted); }
h1 { font-size: clamp(58px, 8.2vw, 116px); line-height: 1.03; letter-spacing: -.07em; }
h1 > span { display: inline-block; }
h1 .accent { color: var(--accent); }
.hero-description { margin-top: 24px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; letter-spacing: -.02em; color: var(--muted); }
.hero-description > span { display: inline-block; }
.hero-actions { display: flex; align-items: center; justify-content: center; margin-top: 28px; }
.hero-actions .button { min-width: 170px; justify-content: center; }
.showcase { position: relative; padding: 0 0 80px; overflow: clip; }
.showcase::before { content: ""; position: absolute; top: 0; left: 10%; width: 80%; height: 65%; pointer-events: none; background: radial-gradient(ellipse 50% 46% at 50% 6%, #8aa4ff22, transparent); }
.editor-stage { position: relative; perspective: 1800px; padding: 4px; }
.editor-stage::before { content: ""; position: absolute; inset: 8% 6% -3%; border-radius: 30%; background: #8aa4ff; opacity: .07; filter: blur(70px); pointer-events: none; }
.editor-preview { --light-x: 50%; --light-y: 10%; --tilt-x: 0deg; --tilt-y: 0deg; position: relative; margin: 0; padding: 1px; overflow: hidden; isolation: isolate; border-radius: 12px; background: radial-gradient(ellipse 70% 60% at var(--light-x) var(--light-y), #a9baffaa, #414654 50%, #2c2f39 100%); box-shadow: 0 40px 90px -35px #000b, 0 1px 0 #c2ceff26 inset; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.editor-preview img { width: 100%; border-radius: 11px; background: #17181c; }
.editor-light { position: absolute; inset: 1px; border-radius: 11px; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 65% 65% at var(--light-x) var(--light-y), #becaff0c, transparent 70%); }
.showcase-toolbar { display: flex; justify-content: center; margin: 34px auto 0; }
.view-switcher { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); background: #17191f; border-radius: 12px; }
.view-button { background: transparent; border: 1px solid transparent; padding: 9px 23px; border-radius: 7px; color: var(--muted); font-size: 13px; transition: background .2s, color .2s, border-color .2s; }
.view-button:hover { background: var(--surface-2); color: var(--text); }
.view-button[aria-pressed="true"] { background: #292e3d; color: #b8c7ff; border-color: #3c455f; }
.theme-controls { display: flex; align-items: center; gap: 24px; max-width: 1200px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.theme-picker { display: flex; gap: 14px; }
.theme-picker button { border: 4px solid var(--swatch); border-radius: 50%; width: 30px; height: 30px; background: linear-gradient(140deg, var(--swatch) 50%, var(--swatch-accent) 50%); outline: 1px solid #646b80; outline-offset: 3px; padding: 0; }
.theme-picker button:hover { transform: translateY(-2px); }
.theme-picker button[aria-pressed="true"] { outline: 2px solid var(--accent); }
.theme-picker button:focus-visible { outline: 3px solid var(--text); outline-offset: 5px; }
.theme-name { font: 12px var(--mono); }
.theme-count { font: 10px var(--mono); color: var(--muted); margin-left: auto; }
.install-section { padding: 90px 0; border-bottom: 1px solid var(--line); }
.install-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.install-layout > div > p { color: var(--muted); font-size: 14px; margin-top: 18px; }
.install-layout .text-link { margin-top: 25px; color: var(--accent); }
.install-box { padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.install-box-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; font: 10px var(--mono); letter-spacing: .8px; color: var(--muted); border-bottom: 1px solid var(--line); }
.command { display: flex; align-items: start; gap: 14px; padding-block: 24px; }
.command code { font: 15px/1.6 var(--mono); overflow-wrap: anywhere; }
.prompt { color: var(--accent); font: 16px/1.6 var(--mono); }
.copy { width: 100%; background: var(--surface-2); color: var(--text); font-size: 14px; min-height: 45px; padding-block: 10px; }
.copy:hover { border-color: var(--accent); }
.copy-status { display: block; font-size: 12px; margin-top: 12px; color: var(--accent); }
.copy-status:empty { display: none; }
footer { padding: 32px 0 24px; }
.footer-bottom { display: flex; gap: 24px; align-items: center; font-size: 12px; color: var(--muted); }
.footer-bottom .brand { font-size: 28px; }
.footer-bottom > span > span { padding: 0 8px; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; }
.footer-bottom a:hover, .font-licenses a:hover { color: var(--accent); }
.font-licenses { font-size: 10px; color: var(--muted); margin-top: 18px; }
.font-licenses summary { cursor: pointer; width: fit-content; }
.font-licenses[open] summary { margin-bottom: 8px; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .6px; }
  .install-layout { gap: 40px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  .wrap { width: calc(100% - 40px); }
  .nav-inner { height: 76px; }
  .brand { font-size: 30px; }
  .brand-icon { width: 36px; height: 36px; margin-right: 8px; }
  .links { gap: 20px; }
  .links a:not(:first-child) { display: none; }
  .nav-cta { margin-left: 24px; gap: 22px; font-size: 13px; padding: 9px 12px; }
  .hero-stage { padding-block: 48px 36px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .9px; margin-bottom: 24px; }
  h1 { font-size: clamp(53px, 10.8vw, 80px); line-height: 1.04; }
  h1 > span { display: block; }
  .hero-description { max-width: 280px; margin: 20px auto 0; font-size: 17px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { min-height: 46px; }
  .showcase { padding-bottom: 46px; }
  .showcase > .wrap { width: calc(100% - 32px); }
  .editor-stage { padding: 0; perspective: none; }
  .editor-preview { border-radius: 7px; transform: none; }
  .editor-preview img, .editor-light { border-radius: 6px; }
  .showcase-toolbar { margin-top: 22px; }
  .view-switcher { gap: 2px; width: 100%; padding: 4px; border-radius: 9px; }
  .view-button { flex: 1; min-height: 40px; padding: 8px 3px; font-size: 11px; border-radius: 5px; }
  .theme-controls { flex-wrap: wrap; gap: 20px; }
  .theme-picker { width: 100%; gap: 18px; }
  .theme-name { font-size: 11px; }
  .theme-count { font-size: 9px; }
  .install-section { padding-block: 52px; }
  .install-layout { grid-template-columns: 1fr; gap: 30px; }
  .install-box { padding: 20px; }
  .footer-bottom { gap: 20px; flex-wrap: wrap; }
  .footer-bottom > span { font-size: 11px; margin-left: auto; }
  .footer-bottom nav { gap: 24px; margin-left: 0; width: 100%; }
}
@media (max-width: 380px) {
  .links { display: none; }
  .nav-cta { margin-left: auto; }
  .theme-picker { gap: 15px; }
  .theme-picker button { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .editor-preview { transform: none; }
}
