@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-800.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Spline Mono";
  src: url("/fonts/spline-sans-mono-400.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --ink: #0d0d0d;
  --signal: #8c1f1a;
  --olive: #6b6a4a;
  --rule: #0d0d0d;
  --gutter: clamp(18px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- masthead ---------- */

.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--gutter);
  align-items: baseline;
  padding: 18px var(--gutter);
  border-bottom: 1.5px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}

.mark {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.34em;
}

.strap,
.masthead nav a,
.kicker,
.note,
figcaption,
dt,
.status,
.or,
.vat,
.disclosure,
.links {
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.045em;
  text-transform: lowercase;
}

.strap { margin: 0; color: var(--olive); }

.masthead nav { display: flex; gap: 20px; }
.masthead nav a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: transparent; }
.masthead nav a:hover { text-decoration-color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--gutter);
  align-items: end;
  padding: clamp(28px, 5vw, 72px) var(--gutter) clamp(24px, 3vw, 44px);
  border-bottom: 1.5px solid var(--rule);
}

.kicker {
  margin: 0 0 18px;
  color: var(--signal);
}

h1 {
  margin: 0;
  font-size: clamp(2.9rem, 6.4vw, 5.9rem);
  line-height: 0.9;
  letter-spacing: -0.022em;
  font-weight: 800;
}

.lede {
  margin: 26px 0 0;
  max-width: 34ch;
  font-size: 1.02rem;
}

.sheet {
  margin: 0;
  position: relative;
}

.sheet img {
  width: 100%;
  border: 1.5px solid var(--rule);
}

.sheet figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  color: var(--olive);
}

.sheet .tag { color: var(--signal); }

.legend {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(13, 13, 13, 0.22);
  max-width: 40ch;
}

.legend li {
  display: grid;
  grid-template-columns: 11ch 1fr;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.22);
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.legend span { color: var(--signal); }

.stamp {
  display: inline-block;
  margin: 26px 0 0;
  padding: 8px 12px;
  background: var(--signal);
  color: var(--paper);
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

/* ---------- spec ---------- */

.spec {
  border-bottom: 1.5px solid var(--rule);
  padding: 0 var(--gutter);
}

.spec dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.spec dl > div {
  padding: 16px 18px 18px 0;
  border-right: 1px solid rgba(13, 13, 13, 0.22);
}

.spec dl > div:last-child { border-right: 0; }

.spec dt { color: var(--olive); margin-bottom: 6px; }
.spec dd { margin: 0; font-weight: 600; font-size: 0.95rem; }

/* ---------- serie ---------- */

.serie {
  padding: clamp(34px, 5vw, 76px) var(--gutter);
  border-bottom: 1.5px solid var(--rule);
}

.serie-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--gutter);
  align-items: baseline;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.note { margin: 0; color: var(--olive); max-width: 46ch; text-transform: none; }

.strip {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  padding-right: var(--gutter);
  scrollbar-width: none;
}

.strip::-webkit-scrollbar { display: none; }

.strip-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1.5px solid var(--rule);
  padding-top: 10px;
  margin-bottom: 14px;
}

.counter {
  margin: 0;
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--olive);
}

.arrows { display: flex; gap: 8px; }

.arrows button {
  width: 34px;
  height: 30px;
  background: transparent;
  border: 1.5px solid var(--rule);
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
}

.arrows button:hover { background: var(--ink); color: var(--paper); }

.strip li { scroll-snap-align: start; }
.strip figure { margin: 0; }
.strip img { border: 1.5px solid var(--rule); }

.strip figcaption {
  padding-top: 8px;
  display: flex;
  gap: 8px;
  align-items: baseline;
  text-transform: none;
}

.strip b {
  color: var(--signal);
  font-weight: 600;
}

/* ---------- offer ---------- */

.offer {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
  padding: clamp(34px, 5vw, 76px) var(--gutter);
  border-bottom: 1.5px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}

.offer .kicker { color: #f0a9a2; }
.offer h2 { margin-bottom: 22px; }

.includes {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid rgba(244, 241, 234, 0.3);
}

.includes li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.3);
  display: flex;
  gap: 14px;
}

.includes li::before {
  content: "+";
  color: #e08b84;
}

.price {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span { font-size: 1em; }
.vat { margin: 10px 0 0; color: rgba(244, 241, 234, 0.62); text-transform: none; }

.offer-action { display: flex; flex-direction: column; }

.buy {
  display: block;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 18px 22px;
  text-align: center;
  border: 1.5px solid var(--paper);
}

.buy:hover { background: transparent; color: var(--paper); }

.or { margin: 14px 0 25px; color: rgba(244, 241, 234, 0.62); text-transform: none; }

form label {
  display: block;
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.045em;
  color: rgba(244, 241, 234, 0.78);
  margin-bottom: 5px;
}

form input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(244, 241, 234, 0.55);
  color: var(--paper);
  font: inherit;
  padding: 11px 12px;
  margin-bottom: 14px;
}

form input::placeholder { color: rgba(244, 241, 234, 0.55); }
form input:focus { outline: 2px solid #e08b84; outline-offset: 2px; }

form button {
  width: 100%;
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(244, 241, 234, 0.75);
  font: inherit;
  font-weight: 800;
  padding: 15px;
  cursor: pointer;
}

form button:hover { background: var(--paper); color: var(--ink); }

.path {
  margin: 0 0 8px;
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #f0a9a2;
}

form button:disabled { opacity: 0.55; cursor: progress; }

.status { margin: 12px 0 0; min-height: 1.2em; color: #e08b84; text-transform: none; }
.status a { text-decoration: underline; }

/* ---------- footer ---------- */

footer {
  padding: 30px var(--gutter) 44px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
}

.disclosure { margin: 0; max-width: 62ch; color: var(--olive); text-transform: none; }
.links { margin: 0; display: flex; gap: 18px; justify-content: flex-end; }
.links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero,
  .serie-head,
  .offer,
  footer { grid-template-columns: minmax(0, 1fr); }

  .spec dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec dl > div { border-right: 0; border-bottom: 1px solid rgba(13, 13, 13, 0.22); }
  .spec dl > div:nth-child(2n) { padding-right: 0; }
  .strip { grid-auto-columns: 72vw; }
  .links { justify-content: flex-start; }
  .masthead { grid-template-columns: auto 1fr; row-gap: 8px; }
  .masthead nav { grid-column: 1 / -1; justify-content: flex-start; }
  .strap { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
