/* meeterd — shared sheet for the document pages (soporte, legal).
   The landing carries its own inline copy of the tokens; both must agree with
   Meeterd/DesignSystem/Tokens/. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/Archivo.ttf") format("truetype-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Chivo";
  src: url("/fonts/Chivo.ttf") format("truetype-variations");
  font-weight: 100 900; font-display: swap;
}

:root {
  --brand-a: #4FC3B5; --brand-b: #0089FF;
  --coral-500: #EA5D3C; --orange-500: #F58A1F; --violet: #7A5CFF;
  --bg: #FFFFFF; --bg-tint: #F4F7FA;
  --fg: #0F263F; --fg-body: #2F4359; --fg-muted: #677686;
  --rule: #D5DADF; --rule-hard: #0F263F; --link: #005BB5;
  --offset-ink: #0F263F;
  --r-tag: 5px; --r-control: 9px; --r-card: 13px;
  --grad-brand: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  --grad-deep: linear-gradient(160deg, #0F263F, #0B3A38);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08192B; --bg-tint: #0E2439;
    --fg: #EAF2F8; --fg-body: #C4D4E1; --fg-muted: #8FA5B8;
    --rule: #22405C; --rule-hard: #EAF2F8; --link: #8FC2FF;
    --offset-ink: #04101E;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg-body);
  font-family: "Chivo", system-ui, sans-serif;
  font-size: 17px; line-height: 1.6;
}

.poster {
  font-family: "Archivo", sans-serif; font-weight: 900;
  font-variation-settings: "wdth" 74, "wght" 900;
  line-height: .86; text-transform: uppercase; letter-spacing: 0; color: var(--fg);
}
.tight {
  font-family: "Archivo", sans-serif; font-weight: 800;
  font-variation-settings: "wdth" 84, "wght" 800;
  line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--fg);
}
.label {
  font-family: "Archivo", sans-serif; font-weight: 800;
  font-variation-settings: "wdth" 92, "wght" 800;
  text-transform: uppercase; letter-spacing: .15em; font-size: 12px;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.spectrum { height: 8px; display: flex; }
.spectrum i { flex: 1; }
.spectrum i:nth-child(1) { background: var(--brand-a); }
.spectrum i:nth-child(2) { background: var(--brand-b); }
.spectrum i:nth-child(3) { background: var(--violet); }
.spectrum i:nth-child(4) { background: var(--coral-500); }
.spectrum i:nth-child(5) { background: var(--orange-500); }

.masthead { border-bottom: 3px solid var(--rule-hard); }
.masthead .wrap { display: flex; align-items: baseline; gap: 14px; padding: 22px 24px 14px; }
.masthead .mark { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-brand); align-self: center; flex: none; }
.wordmark {
  font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 74, "wght" 900;
  font-size: 30px; color: var(--fg); text-transform: lowercase; text-decoration: none;
}
.masthead .where { margin-left: auto; color: var(--fg-muted); }
.masthead .where a { color: var(--link); text-decoration: none; }

/* the reading column */
.doc .wrap, main .wrap { padding-top: 44px; padding-bottom: 64px; }
.doc h1, main h1 { font-size: clamp(44px, 9vw, 84px); margin-bottom: 30px; }
.doc h2, main h2 { font-size: 24px; margin: 36px 0 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.doc p + p, main p + p { margin-top: 12px; }
.doc strong, main strong { color: var(--fg); }
.doc a, main a { color: var(--link); }
hr { border: none; border-top: 3px solid var(--rule-hard); margin: 36px 0; }

.doc-list { list-style: none; border-top: 1px solid var(--rule); margin: 14px 0; }
.doc-list li { padding: 11px 2px 11px 22px; border-bottom: 1px solid var(--rule); position: relative; }
.doc-list li::before {
  content: ""; position: absolute; left: 2px; top: 1.05em;
  width: 9px; height: 9px; background: var(--fg); /* a printed square, not a dot */
}

/* `> ` in the documents — the one thing that must not be skimmed past.
   Coral, because these callouts are the urgent ones (911). */
.callout {
  margin: 18px 0; padding: 14px 18px;
  border: 2px solid var(--coral-500); border-radius: var(--r-tag);
  color: var(--fg); font-weight: 500;
}

footer { border-top: 1px solid var(--rule); }
footer .wrap { padding: 26px 24px 40px; display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: baseline; }
footer a { color: var(--fg-body); text-decoration: none; }
footer a:hover { color: var(--link); }
footer .edad { color: var(--fg); }
footer .resto { color: var(--fg-muted); font-size: 14px; margin-left: auto; }
