@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/space-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/space-mono-latin-700-normal.woff2") format("woff2"); }

/* «Mesa de montaje»: the dark editing room — graphite, vectorscope accents, colour bars, clips and the playhead. */
:root {
  --bg: #121419;
  --panel: #1b1e25;
  --raised: #242832;
  --sunk: #0c0e12;
  --line: #2c313c;
  --line-strong: #465063;
  --ink: #eef0f4;
  --soft: #b4bbc8;
  --faint: #8c94a3;
  --magenta: #f2558e;
  --magenta-dark: #c93a70;
  --cyan: #38c6d9;
  --amber: #f2b33d;
  --green: #5ccb8a;
  --violet: #a08cf5;
  --red: #ff6b5e;
  --display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --text: "Public Sans", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --wrap: 1120px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: auto; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
p, li, dd, dt, summary { overflow-wrap: break-word; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--magenta); color: var(--sunk); padding: 10px 16px; z-index: 10; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

.kicker { font: 700 0.82rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--soft); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.15rem/1.1 var(--display); min-width: 0; }
.brand img { border-radius: 9px; flex: none; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 0.98rem; display: inline-block; padding: 10px 0; min-height: 44px; }
.nav a:hover, .nav a.here { color: var(--ink); box-shadow: inset 0 -3px 0 var(--magenta); }
.bars { display: flex; height: 4px; }
.bars span { flex: 1; }
.bars span:nth-child(1) { background: #c7c7c7; } .bars span:nth-child(2) { background: #d8c531; } .bars span:nth-child(3) { background: #38c6d9; }
.bars span:nth-child(4) { background: #5ccb8a; } .bars span:nth-child(5) { background: #c04fb0; } .bars span:nth-child(6) { background: #e2524a; } .bars span:nth-child(7) { background: #3e5bd8; }

/* Hero: text and two monitors (programme + source) */
.hero { padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 22px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.facts li { font: 700 0.8rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); border: 1px solid var(--line-strong); border-radius: 4px; padding: 8px 10px; }
.hero-monitors { position: relative; display: flex; justify-content: center; min-height: 0; padding-bottom: 40px; }
.monitor { margin: 0; background: var(--sunk); border: 2px solid var(--line-strong); border-radius: 14px; padding: 10px 10px 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.monitor figcaption { font: 700 0.72rem/1 var(--mono); letter-spacing: 0.12em; color: var(--faint); padding: 2px 4px 10px; }
.monitor img { border-radius: 8px; }
.monitor-main { width: min(340px, 72%); }
.monitor-main figcaption::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--magenta); margin-right: 8px; vertical-align: 0; }
.monitor-side { position: absolute; width: min(220px, 44%); right: 0; bottom: 0; }
.monitor-side figcaption::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); margin-right: 8px; }

/* Store button */
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 20px; border-radius: var(--radius); background: var(--magenta); color: #17080f; text-decoration: none; line-height: 1.15; }
.store:hover { background: #ff6f9f; color: #17080f; }
.store-small { font-size: 0.78rem; font-weight: 600; }
.store-big { font: 700 1.15rem var(--display); }
.store-soon { background: var(--raised); color: var(--soft); border: 1.5px dashed var(--line-strong); cursor: default; }
.btn-line { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 700; }
.btn-line:hover { border-color: var(--magenta); color: var(--ink); }

/* Pipeline: clips on a track, playhead on the current stage */
.pipeline { padding: 72px 0; background: var(--panel); border-bottom: 1px solid var(--line); }
.track { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 34px 0 22px; padding-top: 22px; border-bottom: 3px solid var(--line); padding-bottom: 12px; }
.clip { background: #2b3c55; border-radius: 6px; min-height: 64px; padding: 10px; display: flex; align-items: flex-end; }
.clip span { font: 700 0.8rem/1.2 var(--display); color: var(--ink); overflow-wrap: anywhere; hyphens: auto; }
.clip:nth-child(1) { background: #2e4a55; } .clip:nth-child(2) { background: #4a4128; } .clip:nth-child(3) { background: #2e3d52; } .clip:nth-child(4) { background: #3b2f4f; }
.clip-now { background: var(--magenta) !important; }
.clip-now span { color: #17080f; }
.clip-next { background: var(--sunk) !important; border: 1px dashed var(--line-strong); }
.clip-next span { color: var(--faint); }
.playhead { position: absolute; top: 0; bottom: -6px; left: calc((100% - 36px) / 7 * 4.5 + 24px); width: 3px; background: var(--ink); }
.playhead::before { content: ""; position: absolute; top: 0; left: -8px; border-left: 9.5px solid transparent; border-right: 9.5px solid transparent; border-top: 12px solid var(--ink); }
.approvals { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; }
.ap { font-weight: 700; font-size: 0.92rem; padding: 6px 12px; border-radius: 4px; border: 1.5px solid currentColor; }
.ap-borrador { color: var(--soft); } .ap-enviada { color: var(--cyan); } .ap-comentarios { color: var(--amber); } .ap-aprobada { color: var(--green); } .ap-rechazada { color: var(--red); }
.note { color: var(--soft); max-width: 760px; }

/* Feature stories along a vertical track */
.stories { padding: 40px 0 24px; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0 56px 28px; border-left: 3px solid var(--line); position: relative; }
.story::before { content: ""; position: absolute; left: -10px; top: 64px; width: 17px; height: 17px; border-radius: 3px; background: var(--bg); border: 3px solid var(--magenta); }
.story-flip .story-text { order: 2; }
.story-num { font: 700 0.85rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.story-num span { color: var(--magenta); }
.story-text p { color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-radius: 2px; background: var(--green); }
.story-shots { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.story-shots .shot, .overview-shots .shot { border-radius: 12px; border: 2px solid var(--line-strong); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.shots-1 .shot { width: min(340px, 82%); }
.shots-2 .shot { width: calc(50% - 9px); max-width: 260px; }
.shots-2 .shot:nth-child(2) { margin-top: 48px; }

/* Overview */
.overview { padding: 72px 0; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.overview p { color: var(--soft); }
.overview-shots { display: flex; gap: 18px; justify-content: center; }
.overview-shots figure { margin: 0; width: calc(50% - 9px); max-width: 260px; }
.overview-shots figcaption { font: 700 0.78rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 10px; text-align: center; }

/* More */
.more { padding: 72px 0; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.more-grid div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.more-grid dt { font: 700 1.12rem var(--display); margin-bottom: 6px; }
.more-grid dt::before { content: "▸"; color: var(--magenta); margin-right: 8px; }
.more-grid dd { margin: 0; color: var(--soft); }

/* Limits and privacy */
.limits { padding: 56px 0; }
.limits ul { padding-left: 1.2em; color: var(--soft); }
.limits li { margin-bottom: 8px; }
.limits li::marker { color: var(--amber); }
.privacy-band { padding: 64px 0; background: var(--sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-band p { color: var(--soft); }

/* Download */
.download { padding: 64px 0 72px; }
.download-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.download-inner > div { flex: 1 1 320px; min-width: 0; }
.download-inner img { border-radius: 20px; flex: none; }
.download p { color: var(--soft); margin: 0; }

/* Inner pages */
.page { padding: 48px 0 72px; }
.page h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 1.6em; }
.legal p, .legal li { color: var(--soft); }
.meta { font-size: 0.92rem; color: var(--faint); border-left: 3px solid var(--line-strong); padding-left: 12px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 26px 60px; border-left: 3px solid var(--line); margin-left: 18px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: -20px; top: 0; width: 38px; height: 38px; border-radius: 6px; background: var(--magenta); color: #17080f; font: 700 0.95rem/38px var(--mono); text-align: center; }
.steps h2 { margin: 4px 0 6px; font-size: 1.3rem; }
.steps p { color: var(--soft); }
.sub { margin-top: 2em; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; list-style-position: outside; }
.faq summary::marker { color: var(--magenta); }
.faq details p { color: var(--soft); margin: 0 0 14px; }
.contact { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.contact h2 { margin-top: 0; }
.contact p { color: var(--soft); }
.notfound { min-height: 40vh; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; background: var(--sunk); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.foot-brand img { border-radius: 10px; flex: none; }
.foot-name { font: 700 1.1rem var(--display); margin: 0; }
.foot-small { margin: 0; color: var(--faint); font-size: 0.9rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0; }
.foot-links a { color: var(--soft); display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .hero-grid, .overview-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .story { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-left: 22px; }
  .story-flip .story-text { order: 0; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 52px; }
  .top-inner { padding-top: 6px; padding-bottom: 4px; gap: 4px 16px; }
  .nav { gap: 0 14px; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; border-bottom: 0; }
  .clip { min-height: 48px; }
  .playhead { display: none; }
  .clip-now { outline: 3px solid var(--ink); outline-offset: 2px; }
  .more-grid { grid-template-columns: minmax(0, 1fr); }
  .more-grid div { padding-right: 0; }
  .shots-2 .shot:nth-child(2) { margin-top: 28px; }
  .monitor { padding: 6px 6px 8px; border-radius: 10px; }
  .monitor figcaption { font-size: 0.62rem; padding-bottom: 6px; }
  .steps li { padding-left: 40px; }
}
