/* armino.io — brand of the Armiño mockup (armino-mapa-flujos.html):
   square corners, 1 px lines, no shadows; Bricolage Grotesque 800 for titles
   and figures, Hanken Grotesk for the rest; colour tells state, not decoration;
   green dark mode that follows the device and changes with the moon button. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-display: swap; src: url('fonts/hanken-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 600; font-display: swap; src: url('fonts/hanken-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 700; font-display: swap; src: url('fonts/hanken-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 800; font-display: swap; src: url('fonts/hanken-grotesk-latin-800-normal.woff2') format('woff2'); }

:root {
  --bg: #ffffff;
  --fill: #f6f7f4;
  --ink: #111111;
  --muted: #8a8f88;
  --line: #e7e7e5;
  --accent: #2a7221;
  --btnbg: #111111;
  --btnfg: #ffffff;
  --yellow: #fcb602;
  --blue: #004da8;
  --red: #c80e14;
  --disp: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #1c241e;
  --fill: #232d25;
  --ink: #eef1ec;
  --muted: #98a29a;
  --line: #2e362f;
  --accent: #8eb836;
  --btnbg: #8eb836;
  --btnfg: #152012;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #1c241e;
    --fill: #232d25;
    --ink: #eef1ec;
    --muted: #98a29a;
    --line: #2e362f;
    --accent: #8eb836;
    --btnbg: #8eb836;
    --btnfg: #152012;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }

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

/* Header: the wordmark with its three strokes, the sections, the moon. */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; }
.wm { font-family: var(--disp); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.wms { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.tri { display: flex; gap: 3px; margin-top: 6px; }
.tri span { width: 12px; height: 4px; border-radius: 2px; }
.tri span:nth-child(1) { background: var(--yellow); }
.tri span:nth-child(2) { background: var(--blue); }
.tri span:nth-child(3) { background: var(--red); }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav a { white-space: nowrap; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.15s; }
.nav a:hover, .nav a[aria-current='page'] { border-bottom-color: var(--accent); }
.nav a[aria-current='page'] { color: var(--accent); }
.moon {
  width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.moon svg { width: 18px; height: 18px; }

/* Content. */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--disp); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 56px); max-width: 18ch; }
h2 { font-size: clamp(24px, 3.5vw, 32px); margin-bottom: 16px; }
h3 { font-size: 19px; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 20px 0 0; }
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section p { max-width: 68ch; }

.grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border: 1px solid var(--line); }
.cell { padding: 24px; border: 0 solid var(--line); }
.cell + .cell { border-left-width: 1px; }
@media (max-width: 600px) {
  .cell + .cell { border-left-width: 0; border-top-width: 1px; }
}
.cell p { margin: 0; color: var(--muted); font-size: 15px; }
.cell .more { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14px; }

.btn {
  display: inline-block; background: var(--btnbg); color: var(--btnfg); font-weight: 700; font-size: 15px;
  padding: 12px 22px; text-decoration: none; margin-top: 28px;
}
.link { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; font-weight: 600; }
.link:hover { text-decoration-color: var(--accent); }

.logo-light, .logo-dark { width: 260px; margin: 0 0 8px -18px; }
.logo-dark { display: none; }
:root[data-theme='dark'] .logo-light { display: none; }
:root[data-theme='dark'] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .logo-light { display: none; }
  :root:not([data-theme='light']) .logo-dark { display: block; }
}

ul.ticks { list-style: none; padding: 0; margin: 0; max-width: 68ch; }
ul.ticks li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; }
ul.ticks li::before { content: ''; position: absolute; left: 0; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { max-width: 72ch; }

.foot { padding: 32px 0 48px; font-size: 13px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 14px; }
  .nav { gap: 14px; font-size: 13px; }
  .nav a:first-child { display: none; }
  .hero { padding: 48px 0 40px; }
}
