@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/barlow-condensed-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face{font-family:"Roboto Mono";src:url("./assets/roboto-mono-latin.woff2") format("woff2");font-display:swap;font-weight:100 700}

:root {
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  --ink: #141414;
  --paper: #ffffff;
  --quiet: #474747;
  --line: #d1d1d1;
  --ease: cubic-bezier(.22,.8,.24,1);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.skip-link { position: absolute; left: 0; z-index: 5; padding: .75rem 1rem; background: white; border: 1px solid var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--ink); }
.header-inner, .footer-inner { position: relative; display: flex; min-height: 4.35rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .63rem; min-height: 2.75rem; font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.025em; text-transform: uppercase; }
.brand img { display: block; }
.site-header nav, .footer-inner > div, .release-links { display: flex; flex-wrap: wrap; gap: 0 clamp(.75rem, 2.6vw, 2.25rem); }
.site-header nav a, .nav-source, .footer-inner > div a, .release-links a, .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--quiet);
  font-size: .91rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .3em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
.site-header nav a:hover, .nav-source:hover, .footer-inner > div a:hover, .release-links a:hover, .text-link:hover { color: var(--ink); text-decoration-color: currentColor; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: calc(100svh - 4.35rem); padding-block: clamp(4rem, 9vh, 7rem); overflow: hidden; border-bottom: 1px solid var(--ink); }
.hero-text { position: relative; z-index: 1; }
.hero-label { margin-bottom: 1.28rem; font-family: "Roboto Mono", monospace; font-size: .82rem; font-weight: 550; letter-spacing: .045em; text-transform: uppercase; }
.hero h1 { font-family: var(--display); font-size: clamp(5.3rem, 12.6vw, 12rem); line-height: .80; font-weight: 800; letter-spacing: -.023em; text-transform: uppercase; }
.hero h1 > span { display: block; }
.hero-lead { max-width: 29rem; margin-top: 1.85rem; color: var(--quiet); font-size: clamp(1.08rem, 1.68vw, 1.27rem); line-height: 1.51; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .58rem; margin-top: 1.4rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.1rem;
  padding: .55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .16rem;
  font-size: .95rem;
  font-weight: 640;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 230ms var(--ease);
}
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: #383838; transform: translateY(-2px); }
.button-secondary { color: var(--ink); border-color: var(--ink); background: #fff; }
.button-secondary:hover { color: var(--ink); background: #ebebeb; transform: translateY(-2px); }
.button:active { transform: translateY(1px); transition-duration: 70ms; }
.platform-meta { margin-top: .64rem; font-size: .84rem; color: var(--quiet); }

.hero-background {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 9%, #0002 36%, #000b 57%, #000 76%);
}

.m-enter .hero-label, .m-enter .hero-lead, .m-enter .hero-actions, .m-enter .platform-meta { animation: enter 600ms var(--ease) both; }
.m-enter .hero h1 > span { animation: title-in 770ms var(--ease) 45ms both; }
.m-enter .hero h1 > span + span { animation-delay: 90ms; }
.m-enter .hero-lead { animation-delay: 135ms; }
.m-enter .hero-actions, .m-enter .platform-meta { animation-delay: 180ms; }
@keyframes enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes title-in { from { opacity: .16; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pane-in { from { opacity: .56; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes bar-in { from { transform: scaleX(.14); } to { transform: scaleX(1); } }

.product { padding-block: clamp(3.5rem, 8vw, 7.2rem); color: #f7f7f7; background: #151515; }
.section-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.62fr); gap: 1rem 1.5rem; align-items: end; margin-bottom: 2rem; }
.section-intro h2, .footprint h2 { font-family: var(--display); font-size: clamp(3rem, 5.7vw, 5.2rem); font-weight: 800; line-height: .95; letter-spacing: -.023em; }
.section-intro p, .workflow dd { color: #c7c7c7; line-height: 1.6; font-size: 1.04rem; }
.section-intro > p { max-width: 25rem; }
.product-stage { padding: clamp(.9rem, 4vw, 3rem); border: 1px solid #555; background: #202020; }
.workflow { margin-top: 2.35rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.6rem; }
.workflow > div { border-top: 1px solid #505050; padding-top: 1rem; }
.workflow dt, .about-details dt { font-weight: 655; font-size: 1.15rem; letter-spacing: -.022em; }
.workflow dd { margin-top: .35rem; font-size: .97rem; }

.about { padding-block: clamp(4.2rem, 10vw, 9rem); background: #f1f1f1; border-bottom: 1px solid var(--line); }
.about-wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.62fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); }
.footprint h2 { max-width: 29rem; }
.memory-value { font-family: var(--display); font-size: clamp(5rem, 12vw, 10.5rem); line-height: .84; font-weight: 800; letter-spacing: -.034em; margin: 1.35rem 0 .5rem; white-space: nowrap; }
.memory-value span { font-size: .31em; letter-spacing: -.065em; }
.memory-label { font-size: 1.1rem; font-weight: 680; }
.memory-method, .about-details dd { color: var(--quiet); line-height: 1.58; }
.memory-method { max-width: 30rem; margin-top: .55rem; }
.about-details > div { border-top: 1px solid #d4d4d4; padding-block: 1rem 1.15rem; }
.about-details dt { font-size: 1.33rem; }
.about-details dd { margin-top: .44rem; max-width: 27rem; }
.text-link { color: var(--ink); text-decoration-color: #959595; font-weight: 600; }

.downloads { padding-block: clamp(3.7rem, 8vw, 7.2rem); }
.downloads .section-intro p { color: var(--quiet); }
.platforms { border-bottom: 1px solid var(--line); }
.platform { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 6rem; padding: .72rem 0; border-top: 1px solid var(--line); }
.platform h3 { font-size: clamp(1.26rem, 2.2vw, 1.65rem); letter-spacing: -.042em; font-weight: 650; }
.platform > div p, .download-note { margin-top: .3rem; color: var(--quiet); line-height: 1.5; }
.coming-soon { font-size: .87rem; color: var(--quiet); border: 1px solid #aaa; padding: .46rem .75rem; white-space: nowrap; }
.download-note { margin-top: 1.05rem; font-size: .92rem; }
.release-links a { text-decoration-color: #b5b5b5; }
.site-footer { border-top: 1px solid var(--line); }
.app-frame {
  position: relative;
  overflow: hidden;
  max-width: 62rem;
  margin-inline: auto;
  color: #f2f2f2;
  background: #111;
  border: 1px solid #575757;
  border-radius: .82rem;
  box-shadow: 0 28px 56px #0707077a;
  font-family: "Roboto Mono", ui-monospace, monospace;
}
.window-bar {
  position: relative;
  min-height: 2.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  padding: .35rem .8rem;
  background: #212121;
  border-bottom: 1px solid #333333;
}
.window-bar > div { display: flex; align-items: center; gap: .4rem; font-size: .77rem; }
.window-bar strong { font-weight: 600; }
.sample { color: #c7c7c7; font-size: .67rem; text-align: end; }
.chrome { display: flex; gap: .42rem; }
.chrome i { width: .41rem; height: .41rem; border: 1px solid #8b8b8b; border-radius: 50%; }
.window-body { display: grid; grid-template-columns: 9.15rem minmax(0, 1fr); min-height: 21.4rem; }
.app-nav { display: flex; flex-direction: column; gap: .25rem; padding: .85rem .5rem; background: #0e0e0e; border-right: 1px solid #2c2c2c; }
.app-nav button {
  min-height: 2.75rem;
  padding: .42rem .55rem;
  border: 1px solid transparent;
  border-radius: .36rem;
  background: transparent;
  color: #c7c7c7;
  text-align: left;
  font-size: .74rem;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.app-nav button:hover, .app-nav button[aria-selected=true] { background: #252525; color: #fff; }
.app-nav button[aria-selected=true] { border-color: #484848; }
.app-nav button:active { background: #393939; }
.product :focus-visible { outline-color: #b8b8b8; outline-offset: -2px; }
.app-content { min-width: 0; }
.app-pane { min-height: 100%; padding: 1.1rem 1.2rem; }
[data-preview-ready] .app-pane:not([hidden]) { animation: pane-in 290ms var(--ease) both; }
.pane-heading { margin-bottom: .8rem; }
.pane-heading .pane-title { margin-top: 0; color: #f2f2f2; font-size: 1.22rem; font-weight: 610; line-height: 1.2; letter-spacing: -.055em; }
.pane-heading p { margin-top: .29rem; color: #b6b6b6; font-size: .69rem; line-height: 1.45; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; }
.metrics > div { min-width: 0; padding: .65rem .62rem .62rem; background: #151515; border-top: 1px solid #414141; }
.metrics dt, .metrics .metric-detail, .app-note { color: #bebebe; font-size: .66rem; line-height: 1.4; }
.metrics dt + dd { margin: .17rem 0 .16rem; font-size: clamp(.94rem, 1.85vw, 1.47rem); font-weight: 610; font-variant-numeric: tabular-nums; line-height: 1.24; }
.metrics dd small { font-size: .55em; }
.metrics .meter { display: block; margin-top: .5rem; background: #363636; height: .2rem; width: 100%; border-radius: .2rem; overflow: hidden; }
.meter::after { content: ""; display: block; width: var(--fill); height: 100%; background: #b0b0b0; transform-origin: left; animation: bar-in 690ms var(--ease) both; }
.preview-list > div { display: flex; align-items: center; justify-content: space-between; gap: .7rem; border-top: 1px solid #373737; padding: .82rem .2rem; line-height: 1.45; font-size: .78rem; }
.preview-list dd { flex: none; color: #d0d0d0; font-weight: 650; }
.app-note { margin-top: .65rem; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero { min-height: min(42rem, calc(100svh - 4.35rem)); }
  .window-body { grid-template-columns: 7.4rem minmax(0,1fr); min-height: 18.4rem; }
  .app-pane { padding: .85rem; }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner, .footer-inner { min-height: 3.65rem; gap: .45rem; }
  .site-header nav, .footer-inner > div { gap: .55rem; }
  .site-header nav a, .footer-inner > div a { font-size: .78rem; }
  .site-header .brand { gap: .35rem; font-size: 1.3rem; }
  .site-header .brand img { width: 1.5rem; height: 1.5rem; }
  .nav-source { display: none; }
  .hero { padding-block: 3.2rem 3.55rem; min-height: min(38rem, calc(100svh - 3.65rem)); }
  .section-intro, .about-wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.65rem, 18vw, 7.2rem); }
  .hero-lead { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.05rem; }
  .hero-background { mask-image: linear-gradient(145deg, transparent 16%, #0003 62%, #0008 91%); }
  .section-intro { margin-bottom: 1.4rem; }
  .product-stage { padding: .55rem; }
  .app-frame { border-radius: .58rem; }
  .window-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 18rem; }
  .app-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: .15rem .2rem; gap: .06rem; border-right: 0; border-bottom: 1px solid #353535; }
  .app-nav button { padding: .18rem .1rem; font-size: clamp(.53rem, 2.48vw, .75rem); text-align: center; }
  .window-bar { padding-inline: .5rem; }
  .chrome { display: none; }
  .app-pane { padding: .6rem; }
  .pane-heading .pane-title { font-size: 1rem; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem; }
  .metrics > div { padding: .46rem; }
  .metrics dt + dd { font-size: .95rem; }
  .workflow { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
  .footer-inner { align-items: start; flex-direction: column; padding-block: .65rem; }
}
@media (max-width: 360px) {
  .site-header .brand img { display: none; }
  .hero-actions { align-items: start; }
  .hero-actions .button { padding-inline: .68rem; font-size: .86rem; }
  .app-nav button { font-size: .55rem; }
  .sample { font-size: .58rem; }
  .platform .button { padding-inline: .65rem; font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .button:active { transform: none; }
}
