@font-face {
  font-family: "Archivo Black";
  src: url("assets/ArchivoBlack-Regular.woff2") format("woff2"),
       url("assets/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0B0B0B;
  --yellow: #FFD60A;
  --white: #FFFFFF;
  --grey-bg: #F2F1EC;
  --line: #d9d7d0;
  --display: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--white); color: var(--black); font-family: var(--body); font-size: 19px; line-height: 1.6; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.narrow-in { max-width: 820px; margin-top: 44px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; }
h3 { font-size: 22px; margin-bottom: 12px; }

a { color: inherit; }

/* Nav */
.topnav { position: sticky; top: 0; z-index: 10; background: var(--black); color: var(--white); border-bottom: 1px solid #222; }
.nav-row { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 17px; }
.brand img { display: block; }
.links { list-style: none; display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.links a { text-decoration: none; opacity: 0.85; }
.links a:hover, .links a:focus-visible { opacity: 1; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cta-small { background: var(--yellow); color: var(--black); padding: 7px 14px; opacity: 1 !important; }

/* Hero */
.hero { background: var(--black); color: var(--white); padding: 92px 0 104px; }
.hero-grid { display: flex; align-items: center; gap: 60px; }
.hero-logo { width: 280px; height: 280px; flex: none; }
.hero h1 { font-size: clamp(38px, 5.6vw, 72px); }
.slogan { margin-top: 18px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; }
.ia { color: var(--yellow); }
.hero-sub { margin-top: 26px; max-width: 620px; font-size: 20px; line-height: 1.55; color: #e9e9e9; }
.btn { display: inline-block; margin-top: 34px; background: var(--yellow); color: var(--black); font-family: var(--display); font-size: 18px; padding: 14px 28px; text-decoration: none; }
.btn:hover, .btn:focus-visible { background: var(--white); outline: none; }

/* Blocks */
.block { padding: 92px 0; }
.block p + p { margin-top: 1em; }
.block h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 34px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 6px; background: var(--yellow); vertical-align: middle; margin-right: 12px; }
.yellow .kicker::before { background: var(--black); }
.lead { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.5; }

.dark { background: var(--black); color: var(--white); }
.yellow { background: var(--yellow); }
.grey { background: var(--grey-bg); }

/* Manifiesto */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.pair p { margin: 0; border-top: 6px solid var(--yellow); padding-top: 18px; font-size: 21px; line-height: 1.45; }
.pair p + p { margin-top: 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two h3 { color: var(--yellow); font-size: 28px; }
.two p { color: #e9e9e9; }
.third { margin-top: 56px !important; padding-top: 34px; border-top: 1px solid #333; font-family: var(--display); font-size: clamp(24px, 3vw, 34px); line-height: 1.25; }

/* Levels */
.levels { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.levels li { border: 2px solid var(--black); padding: 26px 22px 28px; }
.levels .n { display: block; font-family: var(--display); font-size: 44px; line-height: 1; margin-bottom: 16px; }
.levels p { font-size: 17px; line-height: 1.5; }
.levels .key { background: var(--black); color: var(--white); }
.levels .key .n { color: var(--yellow); }

.stats-title { margin-top: 52px; margin-bottom: 20px; font-size: 26px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-top: 6px solid var(--yellow); padding-top: 16px; }
.stat .num { display: block; font-family: var(--display); font-size: 52px; line-height: 1; margin-bottom: 14px; }
.stat p { font-size: 16px; line-height: 1.5; }
.stat p + p { margin-top: 0.6em; }
.stat .src { font-size: 13px; color: #6b6b6b; }

.level3 { margin-top: 48px !important; font-family: var(--display); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }

.question { margin-top: 48px; background: var(--black); color: var(--white); padding: 40px 44px; max-width: 900px; }
.question p { font-family: var(--display); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3; }
.question footer { margin-top: 18px; color: #d8d8d8; font-size: 17px; border-left: 6px solid var(--yellow); padding-left: 16px; }

/* Stages */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stage { background: var(--black); color: var(--white); padding: 34px 28px 32px; display: flex; flex-direction: column; }
.stage .n { font-family: var(--display); font-size: 46px; line-height: 1; color: var(--yellow); margin-bottom: 18px; }
.stage h3 { font-size: 22px; }
.stage p { font-size: 17px; line-height: 1.55; color: #ececec; }
.stage ul { list-style: none; margin-top: 20px; border-top: 1px solid #333; padding-top: 16px; }
.stage li { font-size: 16px; line-height: 1.45; padding-left: 20px; position: relative; margin-bottom: 9px; }
.stage li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; background: var(--yellow); }
.stage .note { margin-top: auto; padding-top: 18px; font-size: 15px; color: var(--yellow); }

.rule { margin-top: 40px; border-top: 6px solid var(--black); padding-top: 26px; max-width: 900px; }
.rule p { font-size: 21px; line-height: 1.5; font-weight: 600; }

/* Person */
.person { display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: start; }
.person img { width: 100%; height: auto; display: block; border-bottom: 8px solid var(--yellow); }
.person h2 { margin-bottom: 18px; }
.facts { list-style: none; margin: 22px 0; }
.facts li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 18px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 9px; height: 9px; background: var(--black); }

.closing .big { font-family: var(--display); font-size: clamp(26px, 3.3vw, 38px); line-height: 1.25; }

.contact h2 { margin-bottom: 16px; }
.mail { color: var(--black); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; text-decoration: none; border-bottom: 5px solid var(--yellow); }
.mail:hover, .mail:focus-visible { background: var(--yellow); outline: none; }

/* Footer */
.foot { border-top: 8px solid var(--yellow); padding: 26px 0 34px; font-size: 15px; }
.foot-row { display: flex; align-items: center; gap: 16px; }
.foot-row img { display: block; }
.foot .site { margin-left: auto; font-weight: 700; }
.foot .ia { color: var(--black); font-weight: 700; }

@media (max-width: 980px) {
  .levels { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: 1fr; }
  .links li:not(:last-child) { display: none; }
}

@media (max-width: 860px) {
  .hero { padding: 60px 0 72px; }
  .hero-grid { flex-direction: column; align-items: flex-start; gap: 34px; }
  .hero-logo { width: 180px; height: 180px; }
  .block { padding: 64px 0; }
  .pair, .two, .person { grid-template-columns: 1fr; }
  .two { gap: 36px; }
  .person img { max-width: 260px; }
  .question { padding: 30px 26px; }
  body { font-size: 18px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .levels { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .foot-row { flex-wrap: wrap; }
  .foot .site { margin-left: 0; width: 100%; }
}
