/* Abastece Hoje web. Mismos colores, letra y panel de precios que la app (ui/Theme.kt, ui/SegmentDisplay.kt). */
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlowsemicondensed-600.woff2) format("woff2") }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlowsemicondensed-700.woff2) format("woff2") }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlowsemicondensed-800.woff2) format("woff2") }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/assets/fonts/barlow-400.woff2) format("woff2") }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-500.woff2) format("woff2") }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-600.woff2) format("woff2") }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-700.woff2) format("woff2") }

:root {
  --bg: #F3F6F4; --surface: #FFFFFF; --surface-2: #E6EEE9; --line: #D8E2DC;
  --ink: #0F1A14; --ink-2: #4A5E53; --brand: #15803D; --on-brand: #FFFFFF; --brand-soft: #DCFCE7;
  --up: #B91C1C; --up-soft: #FEE2E2; --down: #15803D; --down-soft: #DCFCE7; --warn: #B45309; --warn-soft: #FEF3C7;
  --seg-bg: #050706; --seg-edge: rgba(255,255,255,.07); --seg-on: #F4F7F5; --seg-label: #9FB0A6;
  --f-display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #08130E; --surface: #0F2018; --surface-2: #16301F; --line: #23402F;
  --ink: #EEF4F0; --ink-2: #A3B8AB; --brand: #22C55E; --on-brand: #04210F; --brand-soft: #0F3A26;
  --up: #F87171; --up-soft: #3B1212; --down: #4ADE80; --down-soft: #0F3A26; --warn: #FBBF24; --warn-soft: #3A2A06;
  color-scheme: dark } }

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f-body); font-variant-numeric: tabular-nums }
::selection { background: var(--brand-soft); color: var(--ink) }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.01em }
p { margin: 0; text-wrap: pretty }
a { color: inherit; text-underline-offset: 3px }
button, select, input { font: inherit; color: inherit }
button { cursor: pointer }
img, svg { max-width: 100% }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px }
[hidden] { display: none !important }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.skip { position: absolute; left: -999px; top: 8px } .skip:focus { left: 16px; z-index: 30; background: var(--surface); padding: 8px 12px; border-radius: 8px }
.muted { color: var(--ink-2) }

/* Cabecera y pie */
header.top { position: sticky; top: 0; z-index: 9; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line) }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; border-radius: 8px }
.brand img { display: block; height: 44px; width: auto }
nav.main { display: flex; gap: 2px; margin-left: 6px }
nav.main a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap }
nav.main a:hover { color: var(--ink); background: var(--surface-2) }
nav.main a[aria-current="page"] { color: var(--ink); background: var(--brand-soft) }
header .btn { margin-left: auto }
@media (max-width: 920px) { nav.main { display: none } }

/* Menú del móvil (details/summary: funciona también sin JavaScript) */
.menu { display: none }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 700 15px/1 var(--f-display); letter-spacing: .02em; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent }
.menu summary::-webkit-details-marker { display: none }
.menu summary svg path { transition: transform .2s ease-out, opacity .2s ease-out; transform-origin: 12px 12px }
.menu[open] summary { background: var(--surface-2) }
.menu[open] summary .l1 { transform: translateY(5px) rotate(45deg) }
.menu[open] summary .l2 { opacity: 0 }
.menu[open] summary .l3 { transform: translateY(-5px) rotate(-45deg) }
.menu .panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(8,19,14,.45); max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain }
.menu .panel .wrap { padding-block: 8px 20px; display: block; height: auto }
.menu .mh { font-size: 13px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin: 14px 4px 6px }
.menu ul { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden }
.menu li + li { border-top: 1px solid var(--line) }
.menu ul a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; text-decoration: none; min-height: 60px }
.menu ul a:active { background: var(--surface-2) }
.menu ul a[aria-current="page"] { background: var(--brand-soft) }
.menu ul b { display: block; font: 700 18px/1.2 var(--f-display) }
.menu ul small { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.3 }
.menu .mi { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; flex: none; color: var(--brand) }
.menu .mi i { width: 14px; height: 14px; border-radius: 50%; background: var(--c) }
.menu .panel .btn { display: flex; margin-left: 0; width: 100%; margin: 18px 0 0 }
@media (max-width: 920px) { .menu { display: block } header.top .wrap { gap: 10px } }
@media (max-width: 480px) { header.top > .wrap > .btn { display: none } .menu { margin-left: auto } }
@media (prefers-reduced-motion: no-preference) { .menu[open] .panel { animation: drop .18s ease-out } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) } }
body.menu-open { overflow: hidden }

/* Como chegar: elegir app de mapas */
.route { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 480px; background: transparent; color: var(--ink) }
.route::backdrop { background: rgba(4,12,8,.5) }
.route .sheet { background: var(--surface); border-radius: 22px 22px 0 0; padding: 10px 16px max(18px, env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 40px -10px rgba(0,0,0,.35) }
.route .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px }
.route h2 { font-size: 22px; font-weight: 800 }
.route .to { color: var(--ink-2); font-size: 15px; margin-top: 2px }
.route ul { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden }
.route li + li { border-top: 1px solid var(--line) }
.route ul a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; min-height: 60px; text-decoration: none; font: 700 18px/1.2 var(--f-display) }
.route ul a:hover, .route ul a:active { background: var(--bg) }
.route ul a small { display: block; font: 400 14px/1.3 var(--f-body); color: var(--ink-2) }
.route .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff }
.route .close { display: flex; width: 100%; margin-top: 12px }
@media (min-width: 600px) { .route { margin: auto } .route .sheet { border-radius: 22px; padding-bottom: 18px } .route .grab { display: none } }
@media (prefers-reduced-motion: no-preference) { .route[open] .sheet { animation: up .22s cubic-bezier(.2,.7,.2,1) } }
@keyframes up { from { transform: translateY(24px); opacity: 0 } }

footer.foot { margin-top: 64px; padding-block: 44px 56px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2) }
footer.foot .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px }
footer.foot h2 { font: 700 15px/1.2 var(--f-body); color: var(--ink); margin-bottom: 10px; letter-spacing: 0 }
footer.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
footer.foot a { text-decoration: none } footer.foot a:hover { text-decoration: underline; color: var(--ink) }
footer.foot .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; display: grid; gap: 4px }
@media (max-width: 760px) { footer.foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; font: 700 16px/1 var(--f-display); letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: transform .15s ease-out, filter .15s ease-out }
.btn:hover { filter: brightness(1.06) } .btn:active { transform: scale(.97) }
.btn-brand { background: var(--brand); color: var(--on-brand) }
.btn-line { border: 1px solid var(--line); background: var(--surface); color: var(--ink) }

/* Panel de 7 segmentos */
.seg { position: relative; display: inline-flex; align-items: flex-end; gap: 6px; background: var(--seg-bg); border-radius: 8px; padding: 6px 10px 6px 14px; box-shadow: inset 0 0 0 1px var(--seg-edge); line-height: 0; max-width: 100%; flex: none; vertical-align: middle }
.seg::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 8px 0 0 8px; background: var(--bar, transparent) }
.seg svg { display: block; height: var(--h, 21px); width: auto; overflow: visible }
.seg .on { color: var(--seg-on) } .seg .off { color: var(--seg-on); opacity: .075 }
.seg .u { font: 600 12px/1 var(--f-body); color: var(--seg-label); padding-bottom: 2px }
.seg-s { --h: 16px; padding: 5px 8px 5px 11px; border-radius: 6px } .seg-s::before { width: 3px; border-radius: 6px 0 0 6px }
.seg-l { --h: 40px; padding: 12px 14px 12px 20px; border-radius: 10px } .seg-l::before { width: 6px; border-radius: 10px 0 0 10px } .seg-l .u { font-size: 13px; padding-bottom: 3px }
.seg-xl { --h: clamp(54px, 9vw, 88px); padding: 16px 20px 16px 26px; border-radius: 12px } .seg-xl::before { width: 8px; border-radius: 12px 0 0 12px } .seg-xl .u { font-size: 16px; padding-bottom: 6px }

/* Cabeza de página */
.hero { padding-block: 26px 48px }
.crumbs { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none }
.crumbs li + li::before { content: "›"; margin-right: 8px }
.crumbs a { text-decoration: none } .crumbs a:hover { text-decoration: underline }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1; font-weight: 800; margin-top: 14px; max-width: 18ch }
.hero .sub { margin-top: 14px; color: var(--ink-2); max-width: 62ch; font-size: 18px }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); display: inline-block; margin-right: 8px; vertical-align: 2px }

/* Bloques */
section.block { padding-block: 52px; border-top: 1px solid var(--line) }
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px }
.head h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.05; font-weight: 800 }
.head p { color: var(--ink-2); max-width: 60ch; margin-top: 8px }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r) }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px }
@media (max-width: 860px) { .grid2 { grid-template-columns: minmax(0, 1fr) } }

/* Tablero de precios medios (portada) */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 28px }
.cell { background: var(--surface); padding: 22px 20px; display: grid; gap: 10px; align-content: start; justify-items: start; text-decoration: none; transition: background .15s ease-out }
a.cell:hover { background: var(--bg) }
.cell .fuel { display: flex; align-items: center; gap: 8px; font: 700 20px/1.2 var(--f-display) }
.cell .note { font-size: 14px; font-weight: 600; color: var(--ink-2) }
@media (max-width: 900px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 440px) { .board { grid-template-columns: minmax(0, 1fr) } }
.trend { width: 20px; height: 20px; flex: none }
.trend.up { color: var(--up) } .trend.down { color: var(--down) }

/* Precio de hoy + próxima semana (páginas de combustible) */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; align-items: stretch }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr) } }
.today { padding: 24px; display: grid; gap: 18px; align-content: start }
.today-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.today-top h2 { font-size: 20px; font-weight: 700 }
.chg { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; border-radius: 8px; padding: 6px 10px; width: max-content; max-width: 100% }
.chg.up { color: var(--up); background: var(--up-soft) } .chg.down { color: var(--down); background: var(--down-soft) } .chg.flat { color: var(--ink-2); background: var(--surface-2) }
.range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; border: 1px solid var(--line) }
.range div { background: var(--bg); padding: 12px 14px; display: grid; gap: 2px; align-content: start; min-width: 0 }
.range span { font-size: 13px; color: var(--ink-2) } .range b { font: 700 22px/1.1 var(--f-display) }
.range a { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
@media (max-width: 520px) { .range { grid-template-columns: minmax(0, 1fr) } }
.next { background: var(--seg-bg); color: var(--seg-on); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; align-content: start }
.next h2 { font-size: 20px; font-weight: 700 }
.next .say { font: 800 34px/1.04 var(--f-display) }
.next .say.up { color: #F87171 } .next .say.down { color: #4ADE80 } .next .say.unclear { color: #FBBF24 }
.next p, .next li { color: var(--seg-label); font-size: 16px }
.next ul { margin: 0; padding-left: 18px; display: grid; gap: 6px }
.next a { color: var(--seg-on); font-weight: 600 }

/* Listas de postos */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden }
.row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); text-decoration: none; transition: background .15s ease-out }
.row:first-child { border-top: 0 } a.row:hover { background: var(--bg) }
.tile { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font: 800 12px/1 var(--f-display); letter-spacing: .03em; color: var(--ink-2); text-align: center; overflow: hidden }
.tile.logo { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); padding: 4px }
.tile img { width: 100%; height: 100%; object-fit: contain; display: block }
.brand-logo { width: 104px; height: 104px; border-radius: 22px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -16px rgba(8,19,14,.4); padding: 14px; display: grid; place-items: center; margin-top: 20px }
.brand-logo img { width: 100%; height: 100%; object-fit: contain }
.brand-logo.wide { width: 248px; height: 88px; padding: 14px 22px }
@media (max-width: 520px) { .brand-logo { width: 84px; height: 84px; padding: 12px } .brand-logo.wide { width: 200px; height: 72px } }
.row .n { font: 700 18px/1.15 var(--f-display); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.row .a { font-size: 14px; color: var(--ink-2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.row .km { font-size: 14px; color: var(--ink-2); white-space: nowrap }
.best { margin-left: 8px; font: 700 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--down); background: var(--down-soft); border-radius: 5px; padding: 4px 6px; vertical-align: 3px }
@media (max-width: 520px) { .row { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 12px } .row .km { display: none } .tile { width: 40px; height: 40px } }
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: end }
.controls label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2) }
select { font-weight: 600; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; min-height: 44px; color: var(--ink) }
.chips { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); flex-wrap: wrap }
.chips button { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; min-height: 38px; font-weight: 600; font-size: 15px; color: var(--ink-2) }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg) }
.status { font-size: 15px; color: var(--ink-2); margin: 14px 0 12px; min-height: 1.5em }
.status b { color: var(--ink) }
.linkish { border: 0; background: none; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.chips.fuels { margin-bottom: 14px; border-radius: 16px }
.chips.fuels button { display: inline-flex; align-items: center; gap: 8px }
.chips.fuels i { width: 10px; height: 10px; border-radius: 3px; display: inline-block }
.controls .btn svg { flex: none }

/* Gráfico */
.chart-card { padding: 20px 20px 12px }
.chart-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 10px }
.chart-stats div { display: grid } .chart-stats span { font-size: 13px; color: var(--ink-2) } .chart-stats b { font: 700 22px/1.2 var(--f-display) }
.chart { width: 100%; height: auto; display: block }
.chart text { fill: var(--ink-2); font: 500 12px var(--f-body) }
.empty { padding: 28px; color: var(--ink-2); max-width: 70ch }

/* Tablas */
.tbl { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r) }
table { width: 100%; border-collapse: collapse; font-size: 16px }
th { text-align: left; font: 600 13px/1.2 var(--f-body); color: var(--ink-2); padding: 14px 16px 10px; border-bottom: 1px solid var(--line); white-space: nowrap }
td { padding: 10px 16px; border-top: 1px solid var(--line); vertical-align: middle } tbody tr:first-child td { border-top: 0 }
td.num, th.num { text-align: right; white-space: nowrap }
td a { font-weight: 600; text-decoration: none } td a:hover { text-decoration: underline }
td small { display: block; color: var(--ink-2); font-size: 14px }
.diff { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end }
.diff .bar { height: 6px; border-radius: 3px; display: inline-block; background: currentColor }
.diff.lo { color: var(--down) } .diff.hi { color: var(--up) } .diff.eq { color: var(--ink-2) }

/* Tipos, notícias, preguntas */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px }
.type { padding: 22px; display: grid; gap: 12px; align-content: start; justify-items: start }
.type h3 { font-size: 22px; font-weight: 700 }
.type p { color: var(--ink-2); font-size: 16px }
.news { display: grid; gap: 0 }
.news a { display: grid; gap: 4px; padding: 14px 18px; border-top: 1px solid var(--line); text-decoration: none }
.news a:first-child { border-top: 0 } .news a:hover { background: var(--bg) }
.news b { font: 700 18px/1.25 var(--f-display) } .news span { font-size: 14px; color: var(--ink-2) }
.faq details { border-top: 1px solid var(--line) } .faq details:first-child { border-top: 0 }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font: 700 19px/1.3 var(--f-display); display: flex; justify-content: space-between; gap: 16px; min-height: 44px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-weight: 600; color: var(--ink-2); transition: transform .2s ease-out } .faq details[open] summary::after { transform: rotate(45deg) }
.faq .ans { padding: 0 20px 18px; color: var(--ink-2); max-width: 70ch }

/* Ficha del posto */
.prices { display: grid; gap: 0 }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line) }
.price-row:first-child { border-top: 0 }
.price-row h3 { font-size: 20px; font-weight: 700 }
.price-row .meta { font-size: 14px; color: var(--ink-2); grid-column: 1 / -1 }
.facts { padding: 22px; display: grid; gap: 14px; align-content: start }
.facts dl { margin: 0; display: grid; gap: 10px }
.facts dt { font-size: 13px; color: var(--ink-2) } .facts dd { margin: 0; font-weight: 600 }

/* Distritos */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden }
.places a { background: var(--surface); padding: 14px 16px; text-decoration: none; display: grid; gap: 2px; transition: background .15s ease-out }
.places a:hover { background: var(--bg) }
.places b { font: 700 19px/1.2 var(--f-display) } .places span { font-size: 14px; color: var(--ink-2) }

/* Banda de la app */
.app { background: #15803D; color: #fff; border-radius: 24px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center }
.app h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1; font-weight: 800 }
.app p { color: #DCFCE7; margin-top: 10px; max-width: 54ch }
.app .btn { background: #04210F; color: #fff }
@media (max-width: 720px) { .app { grid-template-columns: minmax(0, 1fr); padding: 28px 22px } .app .btn { width: 100% } }

.soon { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin-top: 24px; max-width: 620px }
.soon b { font: 700 22px/1.2 var(--f-display) } .soon p { color: var(--ink-2); margin-top: 4px }
.soon-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 5px var(--warn-soft); margin-top: 8px; flex: none }
/* Ilustraciones */
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end }
.hero-text { min-width: 0 }
.illus { width: clamp(180px, 22vw, 240px) } .illus:has(.ill-wide) { width: clamp(260px, 32vw, 360px) }
.illus:has(.ill-spot) { width: clamp(280px, 36vw, 500px); align-self: center }
.ill { display: block; width: 100%; height: auto }
.ill .on { color: #F4F7F5 } .ill .off { color: #F4F7F5; opacity: .075 }
@media (max-width: 760px) { .hero-top { grid-template-columns: minmax(0, 1fr) } .illus { display: none } }
@media (prefers-reduced-motion: no-preference) { .illus { animation: rise .6s .1s cubic-bezier(.2,.7,.2,1) both } }

/* Resumen automático */
.summary { max-width: 74ch; display: grid; gap: 12px; color: var(--ink-2); font-size: 17px }
.summary h2 { color: var(--ink); font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.1; margin-bottom: 4px }
.summary a { color: var(--ink); font-weight: 600 }

.prose { max-width: 70ch; display: grid; gap: 14px; color: var(--ink-2) }
.prose h2 { color: var(--ink); font-size: 26px; font-weight: 800; margin-top: 12px }
.prose b { color: var(--ink) }
.prose a { color: var(--ink); font-weight: 600 }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .board, .hero .hero-grid { animation: rise .5s cubic-bezier(.2,.7,.2,1) both }
  .hero .board, .hero .hero-grid { animation-delay: .06s }
  @keyframes rise { from { transform: translateY(10px) } to { transform: none } }
}
