:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #f2f0ec;
  --mute: #aeaca7;
  --line: #343434;
  --card: #0d0d0d;
  --display: "Anton", "Archivo", Impact, sans-serif;
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
p, dd { line-height: 1.55; }
a { color: inherit; }
a, input, label { touch-action: manipulation; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: auto; height: clamp(28px, 5vw, 42px); }
.top nav { display: flex; flex-wrap: wrap; column-gap: clamp(12px, 3vw, 28px); }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(42px, 7vw, 100px);
}
.hero h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .96;
}
.hero h1 { font-size: clamp(48px, 8.5vw, 118px); }
.hero h1 span {
  display: block;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -.045em;
}
.request-title { margin-top: 22px; font-weight: 750; font-size: clamp(1.03rem, 1.9vw, 1.25rem); }
.subtitle { margin-top: 4px; color: var(--mute); }
.intro { display: grid; gap: 7px; margin-top: 23px; max-width: 52ch; }
.notice { max-width: 56ch; margin-top: 22px; padding: 14px 16px; border: 1px solid #686865; background: var(--card); }
.primary {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 46px;
  margin-top: 20px;
  padding: 10px 19px;
  border: 1px solid var(--fg);
  font-weight: 600;
  text-decoration: none;
}
.primary:hover { background: var(--fg); color: var(--bg); }
.hero > img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 600px; object-fit: cover; filter: grayscale(1) contrast(1.12); }

.section { padding-block: clamp(46px, 7vw, 100px); }
.documents { border-top: 1px solid var(--line); }
h2 { font-size: clamp(36px, 5.5vw, 76px); }
.section-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 22px; margin-bottom: 28px; }
.progress-group { width: min(100%, 18rem); color: var(--mute); }
#progreso { font-weight: 700; color: var(--fg); }
progress { display: block; width: 100%; height: 8px; margin-block: 7px; accent-color: var(--fg); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; margin: 0; background: var(--line); list-style: none; }
.card { display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2.6vw, 34px); background: var(--card); }
.card:has(input:checked) { box-shadow: inset 0 0 0 1px var(--fg); background: #1c1c1c; }
.number, .card dt { color: var(--mute); font-size: .75rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.card h3 { font-size: clamp(1.12rem, 2vw, 1.45rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.18; }
.card dl div + div { margin-top: 11px; }
.card dd { margin-top: 3px; }
.card label { display: flex; align-items: center; gap: 10px; min-height: 46px; margin-top: auto; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 700; cursor: pointer; }
.card input { width: 20px; height: 20px; margin: 0; accent-color: var(--fg); }

.upload { color-scheme: light; background: #f2f0ec; color: #0a0a0a; }
.upload .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px; }
.upload p + p { margin-top: 8px; color: #55534e; }
.footer { padding-block: 20px; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero, .grid, .upload .wrap { grid-template-columns: 1fr; }
  .hero > img { aspect-ratio: 16 / 9; max-height: 300px; }
  .top { padding-block: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
