@font-face {
  font-family: "Zalando Expanded";
  src: url("assets/fonts/ZalandoSansExpanded-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #19211c;
  --muted: #435048;
  --desk: #dbe2d6;
  --rule: #a3afa0;
  --ivory: #f5eedf;
  --blue: #2846c1;
  --stone: url("assets/limestone-texture.jpg");
  --display: "Zalando Expanded", "Instrument Sans", sans-serif;
  --mono: "Geist Mono", monospace;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--desk);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #2849c4; outline-offset: 5px; }
section[id] { scroll-margin-top: 20px; }

.frame { width: min(1160px, calc(100% - 112px)); margin-inline: auto; }
.hero {
  position: relative;
  width: 100%;
  background: #c0cbbe;
  aspect-ratio: 3 / 2;
  max-height: min(88svh, 860px);
  container-type: inline-size;
  overflow: hidden;
}
.hero__art {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 64%;
}
.hero__nav {
  position: absolute;
  z-index: 1;
  top: clamp(18px, 3.6vw, 58px);
  inset-inline: clamp(17px, 5.55vw, 83px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.small-wordmark {
  text-transform: uppercase;
  font: 610 clamp(15px, 1.5vw, 22px) / 1 var(--mono);
  letter-spacing: .19em;
}
.hero__nav nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 2.45vw, 37px);
  font: 570 12px/1 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.hero__nav nav a:not(.nav-download):hover, .text-link:hover, .tuck__intro a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 40px;
  padding: 9px 13px;
  background: linear-gradient(155deg, #fff8ed80, #f1e8d47f), var(--stone) center / 410px, var(--ivory);
  border: 1px solid #c2baa5;
  border-top-color: #f4ece4;
  border-radius: 6px;
  box-shadow: 0 3px #a49e8a, 0 7px 11px -5px #33413891;
}
.nav-download:hover { background-color: #fffaec; filter: brightness(1.04); }
.nav-download:active { transform: translateY(2px); box-shadow: 0 1px #a49e8a; }
.hero h1 {
  position: absolute;
  inset-inline: 4%;
  top: 21%;
  text-align: center;
  text-transform: uppercase;
  color: #0d100e;
  font: 800 clamp(32px, 8.4cqw, 153px) / .89 var(--display);
  letter-spacing: .018em;
}

.desk-body {
  background: #dbe2d6;
  border-top: 1px solid #b6c1b2;
}
.stone {
  background: linear-gradient(151deg, #fff9ed80, #e9deca44), var(--stone) center / 550px, var(--ivory);
  border: 1px solid #c5bcaa;
  border-top-color: #fff8e9;
  border-left-color: #e6dece;
  border-radius: 11px;
  box-shadow: 0 5px #beb5a1, 0 15px 28px -17px #4651478f;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 35px;
  padding: clamp(42px, 6.3vw, 90px) 0 42px;
  border-bottom: 1px solid var(--rule);
}
.intro h2, .metrics h2, .tuck h2, .family h2 {
  font: 800 clamp(28px, 3.45vw, 51px) / 1.08 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.intro p, .metrics p, .tuck p, .family p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 48ch;
}
.intro__download { display: grid; justify-items: start; gap: 14px; }
.intro__download > span { font: 500 11px/1 var(--mono); letter-spacing: .035em; color: var(--muted); }
.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #253d9a;
  border-top-color: #6d83de;
  border-radius: 6px;
  background: linear-gradient(155deg, #435ed4, #2b43aa 85%), var(--stone) center / 450px;
  background-blend-mode: multiply;
  box-shadow: 0 4px #233582, 0 10px 17px -10px #131f5fcc;
  color: white;
  padding: 13px 16px;
  font: 540 13px/1.2 var(--mono);
}
.button:hover { filter: brightness(1.09); }
.button:active { transform: translateY(2px); box-shadow: 0 2px #233582; }

.metrics {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 7vw, 101px);
  align-items: center;
  padding: 59px 0 63px;
  border-bottom: 1px solid var(--rule);
}
.metrics h2 { font-size: clamp(27px, 3.05vw, 44px); max-width: 19ch; }
.metrics dl { margin: 23px 0 0; }
.metrics dl div { padding: 12px 0; border-top: 1px solid var(--rule); }
.metrics dt { font: 620 12px/1.4 var(--mono); letter-spacing: .045em; text-transform: uppercase; color: #263f89; }
.metrics dd { color: var(--muted); margin: 3px 0 0; font-size: 15px; line-height: 1.5; }
.metrics figure { margin: 0; }
.instrument { padding: clamp(12px, 2.1vw, 25px); }
.instrument__inset {
  overflow: hidden;
  background: #17213c;
  border: 1px solid #2f3850;
  border-radius: 5px;
  box-shadow: 0 1px 0 #fbf5e7, 0 -2px 3px #776f5a;
}
.metrics img { width: 100%; height: auto; }
.metrics figcaption { font: 570 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .075em; color: #4b4c41; margin-top: 11px; }

.tuck {
  margin-top: 46px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(23px, 5vw, 60px);
  align-items: center;
}
.tuck__intro { display: flex; align-items: start; gap: 14px; }
.tuck__intro > img { width: 46px; height: 46px; object-fit: contain; }
.tuck h2 { font-size: clamp(23px, 2.8vw, 39px); }
.tuck p { font-size: 15px; margin-top: 8px; }
.tuck__intro a, .text-link {
  display: inline-block;
  margin-top: 12px;
  font: 570 12px/1.3 var(--mono);
  color: #263f89;
}
.tuck__demo { padding: 17px; }
.menu-preview {
  background: #d6dfd1;
  border: 1px solid #98a797;
  border-radius: 5px;
  box-shadow: inset 0 2px 4px #384a3638, 0 1px #fff8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  min-height: 47px;
  padding: 8px 10px;
  font: 500 12px/1.3 var(--mono);
}
.menu-preview__items { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 8px; }
.menu-preview__items span { white-space: nowrap; }
.menu-preview__items span[data-network] { color: #294237; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.demo-controls button {
  padding: 7px 9px;
  background: #f9f1df;
  color: var(--ink);
  border: 1px solid #b9af9a;
  border-radius: 4px;
  box-shadow: 0 2px #b4a995;
  font: 530 11px/1.25 var(--mono);
}
.demo-controls button[aria-pressed="true"] {
  color: white;
  background: #344a3a;
  border-color: #344a3a;
  box-shadow: inset 0 1px 2px #18281f;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.family {
  display: grid;
  grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr);
  gap: clamp(23px, 6vw, 80px);
  padding: 65px 0 51px;
}
.family h2 { font-size: clamp(26px, 3.05vw, 45px); }
.family__shelf { list-style: none; display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 4px 14px; }
.family li { min-width: 0; }
.family li:nth-child(odd) { border-right: 1px solid #c9c0ad; }
.family li:nth-child(-n+4) { border-bottom: 1px solid #c9c0ad; }
.family li a {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  height: 100%;
  padding: 12px 10px;
}
.family li a:hover { background: #fff9ea68; }
.family li img {
  width: 38px;
  height: 38px;
  justify-self: center;
  transform: scale(var(--app-icon-scale, 1));
}
/* Match the visible artwork inside each PNG, accounting for transparent padding. */
.family img[src$="/tuck.png"] { --app-icon-scale: .91; }
.family img[src$="/facet.png"],
.family img[src$="/peekmark.png"] { --app-icon-scale: 1.13; }
.family img[src$="/exitglass.png"] { --app-icon-scale: .96; }
.family img[src$="/disksteward.png"] { --app-icon-scale: .94; }
.family img[src$="/lemvia.png"] { --app-icon-scale: 1.04; }
.family strong, .family small { display: block; }
.family strong { font-weight: 670; }
.family small { color: #4e554c; font-size: 13px; line-height: 1.32; margin-top: 3px; }
.footer { display: flex; align-items: center; justify-content: space-between; padding: 21px 0; border-top: 1px solid var(--rule); color: var(--muted); font: 500 11px/1.3 var(--mono); }
.footer .small-wordmark { font-size: 13px; }

@media (max-width: 900px) {
  .frame { width: calc(100% - 54px); }
  .family { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .frame { width: calc(100% - 36px); }
  .hero { max-height: none; }
  .hero__nav { top: 12px; }
  .hero__nav nav { gap: 9px; font-size: 9px; letter-spacing: .045em; }
  .hero__nav .small-wordmark { font-size: 12px; letter-spacing: .13em; }
  .nav-download { min-height: 26px; gap: 5px; padding: 5px 7px; }
  .hero h1 { top: 22.3%; font-size: 8.3cqw; }
  .intro, .metrics, .tuck, .family { grid-template-columns: 1fr; gap: 22px; }
  .intro, .metrics, .family { padding-block: 29px; }
  .intro p, .metrics p, .family p { font-size: 15px; }
  .intro__download { gap: 12px; }
  .metrics h2 { max-width: 20ch; }
  .metrics dl { margin-top: 15px; }
  .tuck { margin-top: 28px; gap: 16px; }
  .tuck__intro > img { width: 36px; height: 36px; }
  .tuck__demo { padding: 12px; }
  .menu-preview { font-size: 10px; }
  .menu-preview__items img { width: 14px; height: 14px; }
  .family__shelf { padding: 4px 6px; }
  .family li a { grid-template-columns: 27px minmax(0, 1fr); gap: 6px; padding: 8px 5px; }
  .family li a > span:last-child { display: none; }
  .family li img { width: 27px; height: 27px; }
  .family strong { font-size: 13px; }
  .family small { font-size: 11px; }
}
@media (max-width: 365px) {
  .nav-features { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-download:active, .button:active { transform: none; }
}
