/* SUPO landing page. Brand tokens mirror assets/css/app.css. */
:root {
  --ground: #f5f6f3;
  --paper: #fff;
  --ink: #24312d;
  --muted: #748078;
  --line: #e2e7e0;
  --soft: #f0f3ec;
  --green: #35644d;
  --green-dark: #254b39;
  --accent: #e5bd6c;
  --accent-deep: #d9b36a;
  --danger: #a23e38;
  --sidebar: #202c27;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 15px/1.6 "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

code, .numeric { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-variant-numeric: tabular-nums; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding-inline: 22px; }

.eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--sidebar);
  color: #e6ece5;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1;
  color: #f4f4ed;
}
.brand-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 30px;
  margin-right: 9px;
  padding-bottom: 3px;
  background: var(--accent);
  color: var(--sidebar);
  border-radius: 8px;
  font: italic 700 27px/1 Georgia, serif;
}
.brand-dot { color: var(--accent); }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 12.5px; }
.site-nav a { color: #b7c5b9; padding-block: 4px; }
.site-nav a:hover { color: #fff; }
.site-nav a.nav-cta {
  color: var(--sidebar);
  background: var(--accent);
  padding: 7px 13px;
  border-radius: 6px;
  font-weight: 650;
}
.site-nav a.nav-cta:hover { background: #f0cd84; color: var(--sidebar); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid #d6ddd4;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  transition: background .15s, border-color .15s, transform .15s;
}
.button:hover { background: var(--soft); border-color: #b6c3b8; }
.button.primary { background: var(--green); border-color: var(--green); color: #fff; }
.button.primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button.sand { background: var(--accent); border-color: var(--accent-deep); color: var(--sidebar); }
.button.sand:hover { background: #f0cd84; }
.button.ghost-light { background: transparent; border-color: #ffffff35; color: #e6ece5; }
.button.ghost-light:hover { background: #ffffff10; border-color: #ffffff60; }
.button small { display: block; font-size: 10.5px; font-weight: 500; opacity: .75; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 420px at 78% -12%, #2d4136 0%, transparent 62%),
    var(--sidebar);
  color: #e6ece5;
  padding-block: 76px 84px;
  border-bottom: 3px solid var(--accent);
}
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  margin-top: 14px;
  max-width: 17ch;
  font-size: clamp(33px, 5.2vw, 54px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.08;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede {
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(15.5px, 1.7vw, 18px);
  color: #c2d0c4;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 12px; color: #93a596; max-width: 52ch; }

.hero-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #ffffff18;
  font-size: 12px;
  color: #a7b8aa;
}
.hero-marks span::before { content: "·"; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* ---------- Sections ---------- */

section { padding-block: 72px; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 38px; }
.section-head h2 {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 680;
  letter-spacing: -1px;
  line-height: 1.18;
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 2px 3px #1c2b2010;
}

/* ---------- Módulos ---------- */

.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.module { padding: 28px 26px 30px; }
.module header { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.module .tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--green);
}
.module h3 { margin-top: 12px; font-size: 19px; font-weight: 680; letter-spacing: -.5px; }
.module header p { margin-top: 7px; font-size: 13px; color: var(--muted); }
.module ul { margin-top: 18px; display: grid; gap: 10px; }
.module li { display: flex; gap: 11px; font-size: 14px; }
.module li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--accent-deep);
}

/* ---------- Equipo / features ---------- */

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { padding: 26px 24px 28px; }
.feature .glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 18px;
}
.feature h3 { margin-top: 16px; font-size: 16.5px; font-weight: 670; letter-spacing: -.4px; }
.feature p { margin-top: 9px; font-size: 14px; color: var(--muted); }

/* ---------- Importación ---------- */

.import-block { background: var(--soft); }
.import-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.import-steps { display: grid; gap: 16px; counter-reset: step; }
.import-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 15px;
  align-items: start;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.import-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sidebar);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.import-steps strong { display: block; font-size: 14.5px; font-weight: 650; }
.import-steps span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

.policy-note { padding: 22px 24px; border-left: 3px solid var(--accent-deep); }
.policy-note h3 { font-size: 15.5px; font-weight: 670; }
.policy-note p { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.policy-note a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Descargas ---------- */

.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.download { display: flex; flex-direction: column; padding: 26px 24px 28px; }
.download.ready { border-color: #c7d3c5; box-shadow: 0 6px 22px #20302a12; }
.download h3 { font-size: 17px; font-weight: 670; letter-spacing: -.4px; }
.download .platform-meta { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.download .spec {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.download .spec div { display: flex; justify-content: space-between; gap: 14px; }
.download .spec .numeric { color: var(--ink); text-align: right; }
/* The SHA-256 is 64 characters: give it its own line instead of squeezing a
   third of the card. */
.download .spec .stacked { display: block; }
.download .spec .stacked .numeric { display: block; margin-top: 5px; text-align: left; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; color: var(--muted); }
.download .action { margin-top: 20px; padding-top: 0; }
.download .action .button { width: 100%; }
.download .soon {
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.badge-soon {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

.gatekeeper { margin-top: 26px; padding: 22px 24px; border-left: 3px solid var(--danger); }
.gatekeeper h3 { font-size: 15px; font-weight: 670; }
.gatekeeper p { margin-top: 10px; font-size: 13.5px; color: var(--muted); max-width: 78ch; }
.gatekeeper ol { margin: 12px 0 0; padding-left: 20px; font-size: 13.5px; color: var(--muted); }
.gatekeeper li { margin-bottom: 5px; }
.gatekeeper code { background: var(--soft); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; font-size: 12.5px; color: var(--ink); }

/* ---------- Contacto ---------- */

.contact { background: var(--sidebar); color: #e6ece5; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: #b4c3b7; }
.contact .eyebrow { color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-mail { margin-top: 22px; font-size: 13px; color: #93a596; }
.contact-mail a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #1a231f;
  color: #8fa094;
  padding-block: 34px;
  font-size: 12.5px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer a { color: #c6d3c7; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .modules, .features, .import-grid { grid-template-columns: minmax(0, 1fr); }
  .downloads { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 56px; }
  .hero { padding-block: 56px 62px; }
}

@media (max-width: 560px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { width: 100%; }
}

/* Hero secondary line: the Intel escape hatch, hidden until that build exists. */
.hero-alt { margin-top: 12px; min-height: 1em; font-size: 12.5px; }
.hero-alt a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hero-alt a[hidden] { display: none; }

/* The download grid is rendered from the manifest, so it must lay out with any
   number of cards rather than exactly three. */
.downloads { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.downloads > .muted { grid-column: 1 / -1; }
.download h3 { min-height: 2.6em; }
