/* Distribewt site foundation (2026-11-27): shared by every page.
   Paper and ink, one dark field for the product, the mascot's red as the only colour.
   House rules: no blur, no hairline boxes, no shadows at rest; surfaces differ by tone. */

:root {
  --paper: #f4f4f2;
  --paper-2: #eaeae7;
  --paper-3: #dfdfdb;
  --card: #ffffff;
  --ink: #111012;
  --ink-2: #3b383e;
  --muted: #605b63;
  --dw-red: #e5202e;
  --dw-red-soft: #fbe3e5;
  --night: #141316;
  --night-2: #1f1e23;
  --night-3: #2a282e;
  --night-text: #ecebef;
  --night-muted: #9a96a0;
  --green: #22a55b;

  --sans: 'General Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 3vw, 32px);
}

/* ---------- nav: wordmark, a few links, one action ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--paper); transition: background-color .2s ease; }
.topbar.is-scrolled { background: var(--paper-2); }
.topbar-in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.topbar .brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 600 19px/1 var(--sans); letter-spacing: -0.02em; }
.topbar .brand img { width: 32px; height: 32px; image-rendering: pixelated; background: none; }
.topbar-links { display: flex; gap: 28px; }
.topbar-links a, .topbar .signin { color: var(--ink-2); text-decoration: none; font: 400 15px/1 var(--sans); }
.topbar-links a:hover, .topbar .signin:hover, .topbar-links a[aria-current] { color: var(--ink); }
.topbar-links a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.topbar-end { display: flex; align-items: center; gap: 18px; }
.topbar .menu { display: none; position: relative; }
.topbar .menu summary { list-style: none; cursor: pointer; font: 500 15px/1 var(--sans); padding: 11px 16px; border-radius: 999px; background: var(--paper-3); color: var(--ink); }
.topbar .menu summary::-webkit-details-marker { display: none; }
.topbar .menu-sheet { position: absolute; right: 0; top: 50px; background: var(--paper-3); border-radius: 16px; padding: 8px; display: grid; min-width: 220px; outline: 0; }
.topbar .menu-sheet a { padding: 12px 14px; text-decoration: none; border-radius: 10px; color: var(--ink); font: 400 16px/1.2 var(--sans); }
.topbar .menu-sheet a:hover { background: var(--paper-2); }
@media (max-width: 900px) {
  .topbar-links, .topbar .signin { display: none; }
  .topbar .menu { display: block; }
}

/* ---------- buttons: fully round, flat, one fill ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .14s ease, background-color .18s ease; }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-light { background: var(--paper-3); color: var(--ink); }
.btn-light:hover { background: #d6d6d1; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper-2); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
:focus-visible { outline: 2px solid var(--dw-red); outline-offset: 3px; }

/* ---------- footer: the name returns, then the links ---------- */
.sitefoot { background: var(--night); color: var(--night-text); padding: clamp(72px, 9vw, 128px) 0 36px; font-family: var(--sans); }
.sitefoot-in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sitefoot-close { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sitefoot-close h2 { margin: 0; font: 600 clamp(40px, 6vw, 84px)/0.98 var(--sans); letter-spacing: -0.035em; max-width: 14ch; color: #fff; }
.sitefoot-close img { width: clamp(96px, 10vw, 140px); height: auto; image-rendering: pixelated; background: none; }
.sitefoot .btn-light { background: var(--night-3); color: #fff; }
.sitefoot .btn-light:hover { background: #38353d; }
.sitefoot-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.sitefoot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 96px); font-size: 15px; }
.sitefoot h3 { margin: 0 0 14px; font: 500 15px/1.2 var(--sans); color: #fff; }
.sitefoot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sitefoot a { color: var(--night-muted); text-decoration: none; }
.sitefoot a:hover { color: #fff; }
.sitefoot-about p { margin: 0 0 12px; color: var(--night-muted); max-width: 34ch; line-height: 1.55; }
.sitefoot-about .mail { color: #fff; font-size: 18px; }
.sitefoot-base { margin-top: 56px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--night-muted); }
@media (max-width: 820px) { .sitefoot-grid { grid-template-columns: 1fr 1fr; } .sitefoot-about { grid-column: 1 / -1; } }

/* Agent logos (Simple Icons, CC0): the clients that steer the agent. */
.logo-mark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; background: none; }
@media (max-width: 520px) {
  .topbar-end { gap: 10px; }
  .topbar .btn-sm { display: none; }
  .topbar .menu-sheet a.menu-go { background: var(--ink); color: #fff; text-align: center; border-radius: 999px; margin-top: 6px; }
}
.topbar .menu-sheet a.menu-go { display: none; }
@media (max-width: 520px) { .topbar .menu-sheet a.menu-go { display: block; } }
