@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/fonts/barlow-condensed-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #10120f;
  --panel: #191c17;
  --text: #f2f3eb;
  --muted: #b2b6a9;
  --line: #373c30;
  --lime: #b5e64b;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
::selection { background: #b5e64b; color: #14170c; }
.shell { width: min(74rem, calc(100% - clamp(2.5rem, 10vw, 10rem))); margin-inline: auto; }
.symbols { display: none; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .6rem 1rem; background: var(--lime); color: #151a0a; }
.skip-link:focus { top: 1rem; }
.site-header { background: #0f110e; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header-inner { min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand img { width: 4.25rem; height: auto; display: block; }
.brand span { padding-left: .65rem; border-left: 1px solid #515648; font: 700 1.45rem/.9 var(--display); letter-spacing: .075em; text-transform: uppercase; }
.main-nav, .footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.main-nav a, .footer-inner nav a { color: #c4c9bd; font-size: .94rem; font-weight: 520; }
.main-nav a:hover, .footer-inner nav a:hover, .source-link:hover { color: var(--lime); }
.github-link { display: inline-flex; align-items: center; gap: .52rem; padding: .47rem .86rem; border: 1px solid #42483a; border-radius: 4px; font-weight: 600; font-size: .9rem; }
.github-link:hover, .button.secondary:hover { border-color: #a0ad84; background: #262b20; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #050704; }
.terrain, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.terrain { object-fit: cover; object-position: 68% 50%; }
.hero-overlay { background: linear-gradient(90deg, #0c100bf0 0%, #10150db5 26%, #10150d3b 53%, transparent 75%); }
.hero-inner { padding-block: clamp(3.25rem, 5.6vw, 5.7rem) clamp(3.5rem, 5.2vw, 5.2rem); }
.hero-context, .kicker { display: flex; align-items: center; gap: .64rem; font: 600 .79rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.hero-context { color: #d0d3bf; }
.hero-context .icon { color: var(--lime); width: 1.4rem; height: 1.4rem; }
.hero-context span { color: #858f70; }
.hero h1 { margin-top: 1.25rem; font: 700 clamp(5.2rem, 8.8vw, 8.5rem)/.84 var(--display); text-transform: uppercase; letter-spacing: -.024em; }
.hero h1 em { display: block; color: var(--lime); font-style: normal; }
.hero-lead { max-width: 31.5rem; margin-top: 1.55rem; color: #d0d3c8; font-size: clamp(1.04rem, 1.35vw, 1.18rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; gap: .6rem; padding: .72rem 1.1rem; border: 1px solid transparent; border-radius: 4px; font-size: .96rem; font-weight: 650; line-height: 1.3; }
.button.primary, .button-primary { background: var(--lime); color: #151b09; }
.button.primary:hover, .button-primary:hover { background: #cdf57b; }
.button.secondary { color: var(--text); border-color: #5b644f; background: #191d16e8; }
.release-band { background: #191d16; border-block: 1px solid #373f2e; }
.release-grid { display: grid; grid-template-columns: .94fr repeat(3, 1fr); align-items: center; padding-block: 1.1rem; }
.release-grid h2 { display: flex; align-items: center; gap: .65rem; font: 700 1.3rem/1.12 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.release-grid h2 .icon { color: var(--lime); width: 1.2rem; }
.release-item { display: flex; gap: .8rem; align-items: center; padding: .1rem clamp(.7rem, 1.8vw, 1.65rem); border-left: 1px solid #3b4233; }
.release-item > .icon { color: #9da790; width: 1.4rem; height: 1.4rem; }
.release-name { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .96rem; font-weight: 650; }
.release-name .version { display: inline-block; padding: .09rem .35rem; background: #2d3821; border-radius: 2px; color: #c5e88c; font: .75rem/1.4 var(--mono); }
.release-item time, .panel-head time { color: var(--muted); font: .8rem/1.45 var(--mono); }
.release-item time { display: block; margin-top: .28rem; }
.release-item:hover .release-name { color: var(--lime); }

.section { padding-block: clamp(3.5rem, 5.6vw, 5.5rem); }
section[id] { scroll-margin-top: .6rem; }
.section h2 { font: 700 clamp(2.8rem, 4.4vw, 4.15rem)/.99 var(--display); text-transform: uppercase; letter-spacing: -.018em; }
.kicker { color: var(--lime); }
.kicker + h2, .kicker + h3 { margin-top: .5rem; }
.section-lead, .section-intro p { max-width: 40rem; margin-top: 1rem; color: var(--muted); font-size: 1.06rem; }
.section-lead a, .hero-lead a { color: var(--text); text-decoration: underline; text-underline-offset: .18em; text-decoration-color: #838f70; }
.section-lead a:hover, .hero-lead a:hover { color: var(--lime); }
.client-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.client-features, .changelog ul { list-style: none; padding: 0; color: #c2c7b9; }
.client-features { margin: 1.4rem 0; }
.client-features li, .changelog li { padding-left: 1.05rem; position: relative; }
.client-features li + li, .changelog li + li { margin-top: .7rem; }
.client-features li::before, .changelog li::before { content: ''; position: absolute; left: .05rem; top: .67em; width: 4px; height: 4px; background: var(--lime); }
.client-features strong { color: var(--text); font-weight: 620; }
.text-link, .source-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 650; }
.text-link { color: var(--lime); }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.changelog { overflow: hidden; padding: clamp(1.3rem, 2.4vw, 2rem); border: 1px solid #414a34; border-top: 2px solid #a8ce54; border-radius: 3px; background: linear-gradient(120deg, #20261c, #171a15); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; }
.changelog h3 { margin-top: 1.15rem; font: 700 clamp(1.95rem, 2.5vw, 2.6rem)/1.1 var(--display); }
.changelog ul { margin: 1rem 0 1.2rem; }
.changelog li::before { background: #78836b; }
.changelog .text-link { display: flex; border-top: 1px solid #3b4334; padding-top: 1rem; }

.tool-section { background: #161914; border-block: 1px solid var(--line); }
.section-head, .funding-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-head > .button, .funding-intro > .button { flex: none; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2rem); margin-top: 2.2rem; }
.tool-card { display: flex; flex-direction: column; border: 1px solid #3c4435; border-radius: 5px; background: var(--panel); }
.screen-link { position: relative; display: grid; place-items: center; border-radius: 4px 4px 0 0; overflow: hidden; padding: clamp(.8rem, 1.4vw, 1.25rem); aspect-ratio: 16 / 9; background-color: #272e24; background-image: radial-gradient(#48503f 1px, transparent 1px); background-size: 10px 10px; cursor: zoom-in; }
.screen-link img { display: block; width: 100%; height: 100%; min-height: 0; border-radius: 3px; object-fit: contain; filter: drop-shadow(0 4px 8px #0008); }
.expand { display: grid; place-items: center; position: absolute; right: .65rem; bottom: .65rem; width: 2rem; height: 2rem; background: #10140f; border: 1px solid #5b634f; border-radius: 3px; }
.expand .icon { width: .95rem; }
.screen-link:hover .expand, .catalog-preview:hover .expand { color: var(--lime); border-color: var(--lime); }
.tool-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.2rem, 2vw, 1.75rem); border-top: 1px solid #3c4435; }
.tool-body h3 { font: 700 clamp(2.1rem, 3vw, 2.8rem)/1.05 var(--display); }
.tool-description { color: #c2c7ba; margin-block: .75rem 1rem; }
.platforms { margin-top: auto; color: #afb6a4; font-size: .83rem; }
.tool-actions { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.source-link { color: #c3c8ba; }
.preview-dialog { width: fit-content; max-width: min(95vw, 102rem); padding: 0; border: 1px solid #59624f; border-radius: 5px; background: #171a15; color: var(--text); }
.preview-dialog::backdrop { background: #070a07e8; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem .65rem .45rem 1rem; }
.preview-bar h2 { font: 700 1.3rem var(--display); }
.preview-bar button { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.preview-bar button:hover { color: var(--lime); }
.preview-dialog > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 80vh; }
body:has(.preview-dialog[open]) { overflow: hidden; }

.catalog-feature { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(2rem, 4.5vw, 5rem); }
.catalog-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.45rem; }
.catalog-preview { position: relative; display: block; overflow: hidden; border: 1px solid #444d3c; border-radius: 5px; background: var(--panel); cursor: zoom-in; }
.catalog-preview img { display: block; width: 100%; height: auto; }
.community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: clamp(2rem, 3.7vw, 3.25rem); }
.community-grid a { display: flex; align-items: center; gap: 1rem; min-height: 5.5rem; padding-block: .9rem; border-block: 1px solid var(--line); }
.community-grid a > .icon { width: 1.6rem; height: 1.6rem; color: var(--lime); }
.community-grid strong { display: block; font-weight: 600; }
.community-grid small { display: block; color: var(--muted); font-size: .92rem; }
.community-grid a:hover strong { color: var(--lime); }
.funding-section { border-top: 1px solid var(--line); }
.funding-overview { margin-top: 2rem; padding: clamp(1.2rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.funding-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.funding-metrics > div + div { padding-left: 2rem; border-left: 1px solid var(--line); }
.funding-metrics dt { color: var(--muted); }
.funding-metrics dd { margin: .45rem 0 0; font: 700 clamp(1.8rem, 2.5vw, 2.25rem)/1.1 var(--display); overflow-wrap: anywhere; }
.funding-status { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.funding-expenses { display: grid; grid-template-columns: 1fr .93fr; gap: clamp(2rem, 8vw, 7rem); margin-top: 2rem; }
.funding-expenses h3 { font: 700 1.7rem var(--display); }
.funding-expenses p { margin-top: .6rem; color: var(--muted); }
.funding-expense-list { margin: 0; padding: 0; list-style: none; }
.funding-expense-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-block-end: 1px solid var(--line); }
.funding-expense-name, .funding-expense-purpose { display: block; }
.funding-expense-purpose, .funding-expense-amount { color: var(--muted); }
.funding-expense-amount { flex: none; font-variant-numeric: tabular-nums; }
.site-footer { background: #0c0e0b; border-top: 1px solid var(--line); }
.footer-inner { min-height: 6.2rem; }

@media (max-width: 920px) {
  .catalog-feature { grid-template-columns: 1fr; gap: 1.75rem; }
  .shell { width: calc(100% - 3.5rem); }
  .main-nav { gap: 1.1rem; }
  .header-inner { gap: 1.2rem; }
  .release-grid { grid-template-columns: .8fr repeat(3, 1fr); }
  .release-item { gap: .5rem; }
  .release-item > .icon { display: none; }
  .client-section { gap: 2rem; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding-block: .75rem .55rem; }
  .github-link { grid-row: 1; grid-column: 2; justify-self: end; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; gap: .45rem 1rem; justify-content: space-between; }
  .main-nav a { padding-block: .35rem; font-size: .9rem; }
  .hero-inner { padding-block: 2.9rem 3.05rem; }
  .hero h1 { font-size: clamp(4.8rem, 15.5vw, 6.5rem); }
  .hero-context { font-size: .74rem; gap: .45rem; letter-spacing: .055em; }
  .hero-overlay { background: linear-gradient(90deg, #0b100bf1, #0b100bc7 48%, #080c08a1 85%); }
  .hero-lead { max-width: 29rem; }
  .release-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 0; padding-block: 1rem 1.2rem; }
  .release-grid h2 { grid-column: 1 / -1; font-size: 1.12rem; }
  .release-item { padding: 0 .75rem; }
  .release-item:nth-of-type(1) { border: 0; padding-left: 0; }
  .release-item:last-child { padding-right: 0; }
  .release-name { align-items: start; flex-direction: column; font-size: .88rem; }
  .release-item time { font-size: .73rem; }
  .client-section, .tool-grid, .funding-expenses { grid-template-columns: 1fr; }
  .section-head, .funding-intro { align-items: start; flex-direction: column; gap: 1.2rem; }
  .tool-grid { gap: 1.5rem; margin-top: 1.5rem; }
  .community-grid { grid-template-columns: 1fr; gap: 0; }
  .community-grid a + a { border-top: 0; }
  .funding-metrics { grid-template-columns: 1fr; gap: 1rem; }
  .funding-metrics > div + div { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .funding-expenses { gap: .75rem; }
  .footer-inner { align-items: start; flex-direction: column; gap: 1.25rem; padding-block: 2rem; }
  .footer-inner nav { gap: .7rem 1.2rem; }
}
@media (max-width: 440px) {
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .hero-actions .button { font-size: .9rem; padding-inline: .6rem; gap: .4rem; }
}
@media (max-width: 350px) {
  .hero-actions { grid-template-columns: 1fr; }
}
@media (max-width: 375px) {
  .main-nav { gap: .3rem .55rem; }
  .release-item { padding-inline: .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
