@font-face {
  font-family: Archivo;
  src: url("/fonts/archivo-latin-wdth-wght.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #e9ecef;
  --panel: #f6f7f8;
  --ink: #111417;
  --muted: #5a636c;
  --line: #cdd3d9;
  --field: #6d7781;
  --signal: #e4501a;
  --signal-ink: #a6340d;
  --screen: #14181c;
  --screen-ink: #d9e2ea;
  --mono: "JetBrains Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101316;
    --panel: #171b1f;
    --ink: #e8ecef;
    --muted: #96a1ab;
    --line: #353e46;
    --field: #75828e;
    --signal-ink: #ff8a5c;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101316;
  --panel: #171b1f;
  --ink: #e8ecef;
  --muted: #96a1ab;
  --line: #353e46;
  --field: #75828e;
  --signal-ink: #ff8a5c;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 8rem; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.58 "Instrument Sans", system-ui, sans-serif;
  overflow-wrap: anywhere;
}
main { flex: 1; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, .brand {
  font-family: Archivo, "Arial Black", system-ui, sans-serif;
  font-stretch: 115%;
  font-weight: 800;
  line-height: 1.12;
}
h1 { font-size: clamp(2.35rem, 5.25vw, 5.15rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.55rem, 3.15vw, 2.75rem); letter-spacing: -.04em; }
h3 { font-size: 1.16rem; letter-spacing: -.025em; }
p { color: var(--muted); }
a { color: var(--signal-ink); text-underline-offset: .23em; }
:focus-visible { outline: 3px solid var(--signal-ink); outline-offset: 4px; }
.wrap { width: min(1320px, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.skip { position: fixed; z-index: 3; left: 1rem; top: 1rem; transform: translateY(-160%); padding: .65rem 1rem; background: var(--panel); }
.skip:focus { transform: none; }
.top { position: sticky; top: 0; z-index: 2; background: var(--panel); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: clamp(.65rem, 2.5vw, 2rem); min-height: 4.25rem; }
.brand { color: var(--ink); display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; letter-spacing: .045em; font-size: 1rem; }
.brand img { flex: none; }
.top nav { display: flex; gap: clamp(.65rem, 2.5vw, 2rem); margin-left: auto; }
.top nav a, .footer nav a { color: var(--ink); font-weight: 650; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a[aria-current="page"], .top nav a:hover, .footer nav a:hover { color: var(--signal-ink); text-decoration: underline; }
.theme { min-width: 44px; min-height: 44px; padding: 0; background: var(--bg); color: var(--ink); border: 1px solid var(--field); border-radius: 4px; font-size: 1.35rem; cursor: pointer; }
.theme:hover { color: var(--signal-ink); }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 8vw, 8rem); }
.label, .price { font: 600 .77rem/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.eyebrow, .page-intro .label { color: var(--signal-ink); margin-bottom: 1rem; }
.lead { font-size: clamp(1.12rem, 1.8vw, 1.4rem); max-width: 42rem; margin-top: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero .actions { margin-top: 1.75rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--signal);
  color: #111417;
  font: 750 1rem/1.3 "Instrument Sans", system-ui, sans-serif;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.button:hover { background: #fa7544; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--field); }
.button.secondary:hover { background: var(--ink); color: var(--bg); }
.screen { border-radius: 10px; background: var(--screen); color: var(--screen-ink); border: 1px solid #46525c; box-shadow: 0 1.25rem 2.5rem #0003; }
.screen figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; padding: .9rem 1rem; border-bottom: 1px solid #39454f; font: 500 .74rem/1.45 var(--mono); }
.screen-light { width: .55rem; height: .55rem; border-radius: 2px; background: var(--signal); }
.sample { margin-left: auto; color: #a8b8c6; }
.screen-body { padding: clamp(1rem, 3.1vw, 2.25rem); }
.screen-body .label { color: #a8b8c6; }
.readout { font: 650 clamp(3rem, 7vw, 6rem)/1.1 var(--mono); color: var(--screen-ink); letter-spacing: -.09em; }
.bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 4px;
  height: clamp(4rem, 8vw, 7rem);
  margin: .7rem 0 1rem;
  background: repeating-linear-gradient(to top, #39454f 0 1px, transparent 1px 25%);
}
.bars i { height: 38%; background: #7b8893; border-radius: 2px 2px 0 0; }
.bars i:nth-child(3n) { height: 66%; }
.bars i:nth-child(4n + 1) { height: 46%; }
.bars i:nth-child(5n) { height: 81%; }
.bars i:nth-last-child(-n+3) { background: var(--signal); }
.bars i:last-child { height: 97%; }
.screen-log { display: grid; grid-template-columns: 1fr auto; gap: .4rem .75rem; font: 500 .73rem/1.5 var(--mono); }
.screen-log span:nth-child(even) { color: #a8b8c6; }
.section { margin-bottom: clamp(3.25rem, 7vw, 7rem); }
.section-head { margin-bottom: 1.1rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.section-head p { margin-top: .4rem; }
.grid { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: 8px; overflow: clip; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { background: var(--panel); padding: clamp(1.15rem, 2.65vw, 2.3rem); }
.tile p { margin-top: .65rem; }
.tile h2 { font-size: clamp(1.35rem, 2.15vw, 2rem); }
.product { display: flex; flex-direction: column; }
.product h3 a { color: var(--ink); text-decoration: none; }
.product h3 a:hover { color: var(--signal-ink); text-decoration: underline; }
.product h3 span { color: var(--signal-ink); }
.product .audience { margin-bottom: 1rem; }
.product .price { margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--field); color: var(--signal-ink); }
.product:target { box-shadow: inset 0 0 0 2px var(--signal-ink); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.steps li { border-top: 2px solid var(--field); padding-top: 1rem; }
.steps li:last-child { border-color: var(--signal); }
.steps p { margin-top: .4rem; }
.callout { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--signal); border-radius: 8px; padding: clamp(1.25rem, 4vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.callout p { margin-top: .45rem; }
.page-intro { padding-block: clamp(2.75rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); }
.company-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.company-layout .tile { border: 1px solid var(--line); border-radius: 8px; }
.company { display: grid; gap: .55rem; margin-top: .85rem; }
.company dt { color: var(--muted); font: 600 .72rem/1.4 var(--mono); text-transform: uppercase; }
.company dd { color: var(--ink); }
.company + .button { margin-top: 1rem; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.25rem, 2.3vw, 1.8rem); }
.prose h2:not(:first-child) { margin-top: 1.75rem; }
.prose p, .prose li { color: var(--ink); margin-top: .55rem; }
.prose ol { padding-left: 1.4rem; }
form { display: grid; gap: .4rem; margin-top: .85rem; }
form label { font-weight: 650; }
form label span { color: var(--muted); font-weight: 400; }
form input, form textarea { width: 100%; min-height: 44px; padding: .6rem .75rem; border: 1px solid var(--field); border-radius: 4px; background: var(--bg); color: var(--ink); font: inherit; margin-bottom: .55rem; }
form textarea { resize: vertical; }
form .button { justify-self: start; }
.footer { background: var(--panel); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding-block: 2.5rem; }
.footer nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .75rem 1.3rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .screen { width: min(100%, 38rem); }
  .grid.three, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .top-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 .75rem; padding-top: .5rem; }
  .top nav { grid-row: 2; grid-column: 1 / -1; min-width: 0; flex-wrap: wrap; justify-content: space-between; margin-left: 0; }
  .top nav a { font-size: .95rem; }
  .grid.three, .grid.two, .company-layout { grid-template-columns: minmax(0, 1fr); }
  .footer nav { gap: .5rem 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .theme { transition: background-color 160ms ease, color 160ms ease; }
}

#catalogo .product:last-child { grid-column: span 2; }
@media (max-width: 900px) {
  #catalogo .product:last-child { grid-column: auto; }
}
