/* Argos landing: single stylesheet, no JavaScript, no external requests.
   Palette: docs/ESTADO.md (Diseño visual). Dark theme only. */

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-latin-wght.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('/assets/fonts/roboto-slab-latin-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a1226;
  --bg-raised: #101a33;
  --bg-card: #121e3b;
  --line: #24325a;
  --fg: #eef1f9;
  --fg-muted: #aab4cd;
  --blue: #1f56e0;
  --blue-hover: #2f63f0;
  --blue-soft: #8fb0ff;
  --amber: #f5b301;
  --radius: 14px;
  --font-title: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --font-body:
    'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--blue-soft);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--amber);
  color: #1a1300;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgb(10 18 38 / 92%);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fg);
  text-decoration: none;
}

.brand:hover {
  color: var(--fg);
}

.isotype {
  width: 2rem;
  height: 2rem;
  color: var(--amber);
  flex: none;
}

.wordmark {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  display: none;
  gap: 1.5rem;
}

.nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.975rem;
}

.nav a:hover {
  color: var(--fg);
}

.bar-end {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang {
  display: flex;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.lang a {
  display: inline-block;
  padding: 0.35rem 0.5rem;
  min-width: 2.25rem;
  text-align: center;
  color: var(--fg-muted);
  text-decoration: none;
  border-radius: 6px;
}

.lang a:hover {
  color: var(--fg);
}

.lang a[aria-current='true'] {
  color: var(--fg);
  background: var(--bg-card);
  font-weight: 600;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--blue-soft);
  color: #fff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

/* Hero */

.hero {
  padding: 3rem 0 3.5rem;
  background: radial-gradient(60rem 28rem at 85% -10%, rgb(31 86 224 / 28%), transparent 60%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 6.2vw, 3.4rem);
  font-weight: 700;
}

.lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--fg-muted);
  font-size: 1.15rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.visual {
  width: 100%;
  height: auto;
  max-width: 34rem;
  justify-self: center;
}

.v-card {
  fill: var(--bg-raised);
  stroke: var(--line);
}

.v-dot {
  fill: var(--line);
}

.v-tile {
  fill: var(--bg-card);
  stroke: var(--line);
}

.v-bar {
  fill: var(--blue);
}

.v-bar-hi {
  fill: var(--blue-hover);
}

.v-line {
  fill: none;
  stroke: var(--amber);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v-point {
  fill: var(--amber);
}

.v-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.v-text {
  fill: var(--line);
}

.v-bubble {
  fill: var(--blue);
}

.v-bubble-in {
  fill: var(--bg-card);
  stroke: var(--line);
}

.v-bubble-text {
  fill: rgb(255 255 255 / 80%);
}

/* Sections */

section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.2rem);
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--fg-muted);
}

.cards {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card .icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--amber);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--fg-muted);
  font-size: 1rem;
}

.note {
  margin-top: 1.75rem;
  color: var(--fg-muted);
  font-size: 1rem;
}

.alt {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checks {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 2rem;
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  transform: translateY(-50%) rotate(-45deg);
}

.compliance {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--blue);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact {
  text-align: center;
}

.contact .section-head {
  margin-left: auto;
  margin-right: auto;
}

.mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 5vw, 1.6rem);
  font-weight: 600;
  color: var(--fg);
  word-break: break-all;
}

/* Footer */

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--fg-muted);
  font-size: 0.925rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.foot p + p {
  flex-basis: 100%;
}

/* 404 */

.lost {
  padding: 5rem 0;
}

.lost h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.lost p {
  margin-top: 1rem;
  color: var(--fg-muted);
}

/* Very narrow phones: keep the header on one line */

@media (max-width: 26rem) {
  .bar {
    gap: 0.5rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .isotype {
    width: 1.75rem;
    height: 1.75rem;
  }

  .wordmark {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
  }

  .bar-end {
    gap: 0.4rem;
  }

  .lang a {
    padding: 0.35rem 0.3rem;
    min-width: 1.9rem;
  }

  .btn-sm {
    padding: 0.45rem 0.8rem;
  }
}

/* Larger screens */

@media (min-width: 44rem) {
  .nav {
    display: flex;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .checks {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 2.5rem;
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }

  section {
    padding: 4.5rem 0;
  }

  .foot p + p {
    flex-basis: auto;
  }
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
  }

  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
