/* Landing v2: dark Gydo brand with the flxkzy-style structure (demo hero, 3 objections, ticket price).
   Tokens mirror the Gydo Design System in Paper (page "4 Landing Videos v2"). */
:root {
  --bg: #0A0B0E;
  --bg-2: #121419;
  --surface: #16181D;
  --fill: #1B1D22;
  --line: #2B2E34;
  --line-2: #474D57;
  --ink: #FAFAF9;
  --muted: #8E939B;
  --soft: #B8BCC2;
  --orange: #FF6A2B;
  --orange-hi: #FF8A57;
  --orange-deep: #E2470E;
  --orange-ink: #2A140B;
  --amber: #F5B544;
  --green: #5DD3A6;
  --red: #FF7B72;
  --display: "Outfit", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --hand: "Caveat", cursive;
  --night: #0A0B0E;
  --paper: #FAFAF9;
  --text: var(--ink);
  --accent: var(--orange);
  --border: var(--line);
  --wash-1: color-mix(in srgb, #FF6A2B 22%, #0A0B0E);
  --wash-2: color-mix(in srgb, #8B5CF6 20%, #0A0B0E);
  --wash-3: color-mix(in srgb, #FF6A2B 12%, #0A0B0E);
  --d-fondo: 24s;
  --wrap: 1200px;
  --gut: clamp(18px, 5vw, 64px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; text-transform: uppercase; line-height: 0.98; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cur { font-size: .7em; opacity: .8; }
.hl { display: inline-block; background: var(--orange); color: #fff; border-radius: .14em; padding: 0 .16em; }
.hl.tilt { transform: rotate(-1.5deg); }
.hand { font-family: var(--hand); font-weight: 600; color: var(--amber); font-size: clamp(22px, 2.4vw, 30px); display: inline-block; transform: rotate(-3deg); }
.muted { color: var(--muted); }

/* Buttons: orange slab with a hard ink shadow */
.btn { display: inline-flex; align-items: center; gap: 12px; font: 800 19px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--orange); border: 2px solid var(--ink); border-radius: 12px; padding: 16px 22px; box-shadow: 5px 6px 0 var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--orange-hi); outline-offset: 4px; }
.btn .tag { font: 600 16px/1 var(--mono); color: var(--paper); background: var(--night); border-radius: 6px; padding: 5px 8px; letter-spacing: 0; }
.btn .tag s { opacity: .55; margin-right: 6px; font-size: .85em; }
.btn .tag .cur, .ticket .cur { display: none; }
.btn-sm { font-size: 15px; padding: 9px 14px; box-shadow: 3px 4px 0 var(--ink); border-radius: 10px; }
.btn-sm .tag { font-size: 13px; padding: 3px 6px; }
.btn-dark { background: var(--night); color: var(--paper); border-color: var(--night); box-shadow: 5px 6px 0 #fff; }
.btn-dark .tag { background: var(--orange); color: var(--night); }
.btn-outline-night { background: transparent; color: var(--night); border-color: var(--night); box-shadow: 5px 6px 0 var(--night); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: 4px 5px 0 var(--orange); }
.sticker { white-space: nowrap; display: inline-flex; flex-direction: column; gap: 2px; background: var(--amber); color: var(--night); border: 2px solid var(--night); padding: 8px 12px; transform: rotate(3deg); box-shadow: 3px 3px 0 var(--ink); font: 700 14px/1.25 var(--mono); }
.sticker small { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* Price banner (static; app.js rewrites it when the offer expires or sales close) */
.banner { display: flex; justify-content: center; align-items: center; gap: 8px 20px; flex-wrap: wrap; background: var(--orange); color: var(--night); text-decoration: none; padding: 10px 16px; font: 600 15px/1.3 var(--sans); text-align: center; }
.banner b { font-weight: 800; }
.banner .banner-timer { font-weight: 600; background: var(--night); color: var(--paper); border-radius: 999px; padding: 3px 12px; }
.banner .banner-timer b { font-family: var(--mono); }
.banner.expired { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.banner u { text-underline-offset: 3px; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.logo { font: 800 24px/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.logo span { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--soft); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 1.5px solid var(--line-2); border-radius: 7px; overflow: hidden; font: 600 13px/1 var(--mono); }
.lang a { text-decoration: none; padding: 5px 8px; color: var(--muted); }
.lang a[aria-current] { background: var(--ink); color: var(--bg); }

/* Hero */
.hero-wrap { position: relative; isolation: isolate; }
.fondo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.fondo__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease-out; }
.fondo--vivo .fondo__lienzo { opacity: 1; }
.fondo__lineas { position: absolute; inset: 0 0 auto; width: 100%; aspect-ratio: 1440 / 900; min-height: 45%; -webkit-mask-image: radial-gradient(ellipse 58% 50% at 50% 22%, transparent 50%, #000 100%); mask-image: radial-gradient(ellipse 58% 50% at 50% 22%, transparent 50%, #000 100%); }
.fondo__lineas path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 16 104; stroke-dashoffset: 16; animation: fondo-trazo calc(var(--d-fondo) * (.26 + .04 * var(--v))) linear calc(var(--d-fondo) * -.047 * var(--i)) infinite; }
.fondo--quieto .fondo__lineas path { animation-play-state: paused; }
@keyframes fondo-trazo { to { stroke-dashoffset: -104; } }
.l-gris1 { stroke: var(--text); stroke-opacity: .16; }
.l-gris2 { stroke: var(--text); stroke-opacity: .24; }
.l-gris3 { stroke: var(--text); stroke-opacity: .3; }
.l-verde { stroke: var(--accent); stroke-opacity: .9; }
.l-morado { stroke: #8B5CF6; stroke-opacity: .8; }
.floaters { position: absolute; inset: 40px 0 0; max-width: 1360px; margin-inline: auto; pointer-events: none; z-index: 1; }
.floater { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 10px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--border); font-size: 14px; font-weight: 500; white-space: nowrap; backdrop-filter: blur(6px); box-shadow: 0 0 24px -6px color-mix(in srgb, var(--accent) 45%, transparent), 0 10px 30px -10px rgb(0 0 0 / .5); animation: bob 6s ease-in-out infinite; animation-delay: var(--d); }
.floater img { width: 22px; height: 22px; }
@keyframes bob { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(6px, -14px) rotate(2deg); } }
.agents { display: flex; gap: 10px 18px; justify-content: center; align-items: center; flex-wrap: wrap; position: relative; z-index: 2; }
.agents img { width: 26px; height: 26px; }
.agents span { font-size: 14px; color: var(--muted); font-weight: 500; }
.hero { position: relative; z-index: 2; text-align: center; padding-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero h1 { font-size: clamp(54px, 9vw, 112px); }
.hero h1 .row { display: flex; gap: .22em; justify-content: center; flex-wrap: wrap; align-items: center; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.prompt { width: min(660px, 100%); display: flex; align-items: center; gap: 14px; background: var(--surface); border: 2px solid var(--line-2); border-radius: 14px; padding: 15px 15px 15px 22px; text-align: left; }
.prompt .caret { color: var(--orange); font: 600 18px var(--mono); }
.prompt .typed { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font: 500 17px var(--mono); }
.prompt .typed::after { content: ""; display: inline-block; width: 9px; height: 1.05em; vertical-align: -3px; margin-left: 2px; background: var(--orange); animation: blink 1s steps(1) infinite; }
.prompt .mode { font: 700 12px var(--mono); letter-spacing: .08em; background: var(--ink); color: var(--bg); border-radius: 6px; padding: 6px 9px; white-space: nowrap; }
@keyframes blink { 50% { opacity: 0; } }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--muted); }

/* Fan of phones */
.fan { position: relative; height: 540px; margin-top: 30px; overflow: hidden; }
.phone { position: absolute; left: 50%; bottom: -40px; width: 230px; background: var(--fill); border: 2px solid var(--line-2); border-radius: 30px; padding: 8px; }
.phone video, .phone img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #000; }
.phone.p1 { transform: translateX(calc(-50% - 470px)) rotate(-13deg); bottom: -110px; width: 210px; }
.phone.p2 { transform: translateX(calc(-50% - 260px)) rotate(-6deg); bottom: -60px; }
.phone.p3 { transform: translateX(-50%); width: 270px; bottom: -20px; border-color: var(--ink); box-shadow: 6px 8px 0 var(--orange); z-index: 2; }
.phone.p4 { transform: translateX(calc(-50% + 260px)) rotate(6deg); bottom: -60px; }
.phone.p5 { transform: translateX(calc(-50% + 470px)) rotate(13deg); bottom: -110px; width: 210px; }
.fan.wrap { max-width: 1900px; }
.phone.p6 { transform: translateX(calc(-50% - 660px)) rotate(-19deg); bottom: -140px; width: 190px; }
.phone.p7 { transform: translateX(calc(-50% + 660px)) rotate(19deg); bottom: -140px; width: 190px; }
.phone.p8 { transform: translateX(calc(-50% - 800px)) rotate(-25deg); bottom: -190px; width: 170px; }
.phone.p9 { transform: translateX(calc(-50% + 800px)) rotate(25deg); bottom: -190px; width: 170px; }
@media (max-width: 1760px) { .phone.p8, .phone.p9 { display: none; } }
@media (max-width: 1420px) { .phone.p6, .phone.p7 { display: none; } }
.phone .label { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-4deg); white-space: nowrap; background: var(--orange); color: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 4px 10px; font: 800 14px/1.2 var(--display); letter-spacing: .04em; text-decoration: none; z-index: 3; }
.phone .label.light { background: var(--ink); color: var(--bg); border-color: var(--bg); }
.phone .sound { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 9px 14px; font: 700 13px var(--mono); letter-spacing: .04em; cursor: pointer; z-index: 3; }
.phone.playing .sound { display: none; }

/* Sections */
.band { padding-top: 110px; padding-bottom: 110px; }
.band.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 { font-size: clamp(40px, 5.4vw, 66px); }
.objection { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.num-pill { font: 700 15px var(--mono); color: var(--orange); border: 2px solid var(--orange); border-radius: 999px; padding: 3px 10px; }
.struck { font: 700 clamp(20px, 2.2vw, 30px) var(--display); color: var(--muted); text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.band .lede { margin-top: 16px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 640px; }

/* "Seguro estás pensando" */
.thinking { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.thinking h2 { font-size: clamp(40px, 6vw, 82px); }
.chips { display: flex; flex-direction: column; gap: 14px; min-width: min(440px, 100%); }
.chips a { display: flex; gap: 14px; align-items: center; text-decoration: none; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 17px; }
.chips a:hover { border-color: var(--orange); }
.chips b { font: 700 15px var(--mono); color: var(--orange); }

/* Objection 1: reel cards */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.reel-card { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 2px solid var(--ink); border-radius: 16px; padding: 16px; box-shadow: 5px 6px 0 var(--orange); text-decoration: none; min-width: 0; }
.reel-card:nth-child(1) { transform: rotate(-1deg); }
.reel-card:nth-child(2) { transform: rotate(.8deg); }
.reel-card:nth-child(3) { transform: rotate(-.6deg); }
.reel-card img { width: 88px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.reel-card .views { font: 800 clamp(34px, 3.4vw, 46px)/1 var(--display); letter-spacing: -0.03em; }
.reel-card .views-label { font: 700 12px var(--mono); letter-spacing: .1em; color: var(--orange); }
.reel-card .title { font-weight: 600; font-size: 16px; line-height: 1.35; margin-top: 4px; }
.reel-card .meta { font: 13px var(--mono); color: var(--muted); }
.stats-line { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.stats-line div { display: flex; flex-direction: column; }
.stats-line b { font: 800 34px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats-line span { font-size: 14px; color: var(--muted); }

/* Objection 2: terminal */
.how { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: center; margin-top: 44px; }
.terminal { background: var(--surface); border: 2px solid var(--line-2); border-radius: 16px; overflow: hidden; min-width: 0; }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line); font: 13px var(--mono); color: var(--muted); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; }
.terminal-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 13px; font: 15px var(--mono); }
.terminal-body .cmd { font-weight: 500; font-size: 16px; }
.terminal-body .cmd::before { content: "› "; color: var(--orange); }
.terminal-body .row { display: flex; justify-content: space-between; gap: 16px; opacity: .25; transition: opacity .4s; }
.terminal-body .row.done { opacity: 1; }
.terminal-body .row span::before { content: "✓ "; color: var(--green); }
.terminal-body .row small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.terminal-body .out { align-self: flex-start; margin-top: 6px; background: var(--orange-ink); color: var(--orange-hi); border-radius: 8px; padding: 8px 12px; font-weight: 600; font-size: 14px; }
.side-phone { position: relative; width: 240px; background: var(--fill); border: 2px solid var(--ink); border-radius: 30px; padding: 8px; transform: rotate(4deg); box-shadow: 6px 8px 0 var(--orange); }
.side-phone video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 24px; align-items: start; margin-top: 56px; }
.steps .arrow { font: 700 40px/1 var(--hand); color: var(--muted); padding-top: 2px; }
.step h3 { display: inline-block; font-size: 22px; letter-spacing: .01em; padding: 4px 12px; margin-bottom: 12px; }
.step:nth-of-type(1) h3 { background: var(--ink); color: var(--bg); transform: rotate(-2deg); }
.step:nth-of-type(2) h3 { background: var(--orange); color: #fff; transform: rotate(1.5deg); }
.step:nth-of-type(3) h3 { background: var(--amber); color: var(--night); transform: rotate(-1deg); }
.step p { color: var(--muted); }

/* Objection 3: formats */
.formats { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: center; margin-top: 44px; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tab { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 2px solid var(--line-2); border-radius: 14px; padding: 8px; cursor: pointer; color: var(--muted); font: 800 14px var(--display); letter-spacing: .04em; text-transform: uppercase; text-align: center; transition: transform .15s; }
.tab img, .tab .soon { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 8px; }
.tab .soon { display: grid; place-items: center; background: var(--fill); font: 700 26px var(--hand); text-transform: none; letter-spacing: 0; }
.tab[aria-selected="true"] { border-color: var(--orange); color: var(--ink); box-shadow: 4px 5px 0 var(--orange); transform: rotate(-2deg); }
.tab:disabled { cursor: default; }
.format-copy { margin-top: 26px; font-size: 18px; max-width: 620px; }
.more-formats { margin-top: 72px; }
.more-formats h3 { font: 800 clamp(26px, 3vw, 36px)/1.1 var(--display); }
.fmt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin-top: 28px; }
.fmt-card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fmt-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--fill); border: 2px solid var(--line-2); border-radius: 14px; }
.fmt-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 800 13px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.fmt-card .beta { font: 700 11px var(--display); letter-spacing: .06em; color: var(--muted); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 1px 7px; }
.niches { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.niches span { border: 1.5px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 500; }
.niches span:first-child { border: 0; padding-left: 0; color: var(--muted); font-weight: 600; }

/* What's inside */
.inside { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 48px; }
.inside li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 2px solid var(--line); }
.inside li b.n { font: 800 40px/1 var(--display); color: var(--orange); width: 56px; flex-shrink: 0; }
.inside li h3 { font-size: 22px; letter-spacing: 0; margin-bottom: 6px; }
.inside li p { color: var(--muted); }
.inside ul { list-style: none; margin: 0; padding: 0; }

/* Price: receipt + copy, plus the done-for-you card */
.price { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 96px; align-items: center; }
.ticket { background: var(--paper); color: var(--night); border: 2px solid var(--night); border-radius: 6px; padding: 30px 30px 24px; transform: rotate(-2.5deg); box-shadow: 8px 10px 0 var(--orange); font: 14px var(--mono); display: flex; flex-direction: column; gap: 12px; }
.ticket .head { text-align: center; }
.ticket .head b { display: block; font: 800 28px var(--display); letter-spacing: -0.01em; }
.ticket .head span { font-size: 12px; color: #5F6670; }
.ticket hr { border: 0; border-top: 2px dashed #B8BCC2; width: 100%; margin: 4px 0; }
.ticket .li { display: flex; justify-content: space-between; }
.ticket .li i { font-style: normal; color: #0B6E4F; }
.ticket .total { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 4px 12px; }
.ticket .total b { font: 800 24px var(--display); }
.ticket .total .big { font: 800 56px/1 var(--display); letter-spacing: -0.03em; color: var(--orange-deep); }
.ticket .total .big s { display: block; font-size: 18px; color: #5F6670; text-align: right; letter-spacing: 0; }
.ticket .left { align-self: flex-start; background: var(--amber); font-weight: 700; padding: 3px 8px; font-size: 13px; }
.ticket .soft { color: #5F6670; font-size: 13px; }
.ticket .barcode { height: 44px; margin-top: 6px; background: repeating-linear-gradient(90deg, var(--night) 0 3px, transparent 3px 5px, var(--night) 5px 6px, transparent 6px 9px, var(--night) 9px 13px, transparent 13px 15px); width: 70%; }
.ticket .thanks { font: 600 22px var(--hand); color: #5F6670; text-align: center; }
.price-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.price-copy h2 { font-size: clamp(40px, 5vw, 64px); }
.reqs { display: flex; gap: 10px; flex-wrap: wrap; }
.reqs span { border: 1.5px solid var(--line-2); border-radius: 8px; padding: 7px 12px; font-size: 14px; font-weight: 500; }
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input { flex: 1; min-width: 220px; background: var(--surface); border: 2px solid var(--line-2); border-radius: 10px; padding: 12px 14px; color: var(--ink); font: 16px var(--sans); }
.waitlist .fine { width: 100%; }
.fine.ok { color: var(--green); }
.fine.err { color: var(--red); }

.dfy { margin-top: 90px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; padding: 44px 48px; box-shadow: 8px 10px 0 var(--amber); position: relative; }
.dfy .kicker { font: 700 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.dfy h3 { font-size: clamp(32px, 3.6vw, 48px); margin: 10px 0 14px; }
.dfy p { color: var(--muted); max-width: 620px; font-size: 17px; }
.dfy ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.dfy li { font-weight: 500; }
.dfy li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.dfy .actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dfy .btn { background: var(--amber); color: var(--night); }
.dfy .note { position: absolute; top: -22px; right: 48px; transform: rotate(3deg); }

/* Fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.fit div { background: var(--surface); border: 2px solid var(--line-2); border-radius: 16px; padding: 28px; }
.fit h3 { font-size: 24px; letter-spacing: 0; margin-bottom: 14px; }
.fit ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fit .yes li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.fit .no li::before { content: "✕ "; color: var(--red); font-weight: 700; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 40px; align-items: start; }
.faq-col { border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 17px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 18px var(--mono); border: 1.5px solid var(--line-2); border-radius: 6px; width: 28px; text-align: center; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Final */
.final { background: var(--orange); color: var(--night); padding-top: 100px; padding-bottom: 100px; }
.final h2 { font-size: clamp(48px, 7vw, 92px); color: #fff; }
.final h2 .hl { background: var(--night); color: var(--paper); }
.final .sub { font-size: 20px; font-weight: 500; margin: 22px 0 26px; }
.countdown { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.countdown .box { display: flex; flex-direction: column; align-items: center; background: var(--night); color: var(--paper); border-radius: 10px; padding: 10px 16px; min-width: 76px; }
.countdown .box b { font: 800 36px/1.05 var(--display); font-variant-numeric: tabular-nums; }
.countdown .box small { font: 11px var(--mono); letter-spacing: .1em; color: var(--muted); }
.countdown p { font-weight: 500; font-size: 17px; }
.final .fine { color: var(--night); }

.footer { padding-top: 32px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.footer .top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer p { font-size: 14px; color: var(--muted); }
.footer .terms { font-size: 13px; max-width: 900px; }

/* Checkout overlay (markup and behavior from app.js) */
.checkout-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(5, 6, 8, .78); display: grid; place-items: center; padding: 20px; }
.checkout-wrap[hidden] { display: none; }
.checkout { width: min(560px, 100%); max-height: 92vh; overflow: auto; background: #fff; color: #111; border-radius: 16px; border: 2px solid var(--ink); box-shadow: 6px 8px 0 var(--orange); }
.checkout-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eee; font-weight: 600; }
.checkout-head .close { background: none; border: 0; font-size: 26px; cursor: pointer; }
#checkout-mount { padding: 12px; min-height: 160px; }
.loading, .demo-msg { padding: 30px; text-align: center; color: #555; }

@media (max-width: 1180px) { .floaters { display: none; } }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .phone.p1, .phone.p5 { display: none; }
  .how, .formats { grid-template-columns: 1fr; }
  .side-phone, .formats > .side-phone { justify-self: center; }
  .price { grid-template-columns: 1fr; gap: 64px; }
  .ticket { max-width: 420px; justify-self: center; width: 100%; }
  .dfy { grid-template-columns: 1fr; }
  .dfy .actions { align-items: flex-start; }
}
@media (max-width: 760px) {
  .band { padding-top: 76px; padding-bottom: 76px; }
  .nav-actions .lang { display: none; }
  .fan { height: 420px; }
  .phone { width: 170px; }
  .agents img { width: 22px; height: 22px; }
  .agents span { width: 100%; }
  .phone.p2 { transform: translateX(calc(-50% - 150px)) rotate(-8deg); }
  .phone.p4 { transform: translateX(calc(-50% + 150px)) rotate(8deg); }
  .phone.p3 { width: 200px; bottom: -30px; }
  .reels, .inside, .fit, .faq, .thinking { grid-template-columns: 1fr; }
  .chips { min-width: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps .arrow { display: none; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prompt .mode { display: none; }
  .btn { font-size: 17px; padding: 14px 18px; }
  .ticket { padding: 24px 20px 20px; }
  .dfy { padding: 32px 22px; }
  .dfy .note { right: 20px; }
  .thinking .hand { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .prompt .typed::after, .floater, .fondo__lineas path { animation: none; }
  html { scroll-behavior: auto; }
}

/* Light theme: <html data-theme="light"> (v2/tema.js sets it from ?tema=claro). Same layout, light ground, ink borders. */
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F3F3F1;
  --surface: #FFFFFF;
  --fill: #F3F3F1;
  --line: #E8E8E5;
  --line-2: #0A0B0E;
  --ink: #0A0B0E;
  --muted: #5F6670;
  --soft: #474D57;
  --orange-ink: #FFEDE5;
  --orange-hi: #C93D0B;
  --amber-ink: #A15C00;
  --wash-1: color-mix(in srgb, #FF6A2B 14%, #FFFFFF);
  --wash-2: color-mix(in srgb, #8B5CF6 10%, #FFFFFF);
  --wash-3: color-mix(in srgb, #FF6A2B 8%, #FFFFFF);
  color-scheme: light;
}
:root[data-theme="light"] .hand { color: var(--amber-ink); }
:root[data-theme="light"] .prompt { box-shadow: 4px 5px 0 var(--ink); }
:root[data-theme="light"] .phone { border-color: var(--ink); }
:root[data-theme="light"] .phone .label:not(.light) { border-color: var(--ink); }
:root[data-theme="light"] .terminal { background: #16181D; color: #FAFAF9; border-color: var(--ink); }
:root[data-theme="light"] .terminal-body .row small { color: #8E939B; }
:root[data-theme="light"] .terminal-body .out { background: #2A140B; color: #FF8A57; }
:root[data-theme="light"] .tab .soon { background: #E8E8E5; }
:root[data-theme="light"] .faq summary::after, :root[data-theme="light"] .chips a, :root[data-theme="light"] .niches span, :root[data-theme="light"] .reqs span { border-color: var(--ink); }
:root[data-theme="light"] .niches span:first-child { border: 0; }
:root[data-theme="light"] .fit div, :root[data-theme="light"] .tab:not([aria-selected="true"]) { border-color: #D6D6D2; }
:root[data-theme="light"] .floater { box-shadow: 0 0 24px -8px color-mix(in srgb, var(--accent) 35%, transparent), 0 10px 24px -12px rgb(0 0 0 / .25); }
:root[data-theme="light"] .floater img.on-dark { filter: invert(1); }
:root[data-theme="light"] .agents img.on-dark { filter: invert(1); }
.nav-login { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--soft); }
.nav-login:hover { color: var(--ink); }
@media (max-width: 420px) { .nav .btn-sm { font-size: 13px; padding: 8px 10px; gap: 8px; } .nav-actions { gap: 12px; } .logo { font-size: 21px; } }
@media (max-width: 350px) { .nav .btn-sm .tag { display: none; } .nav-actions { gap: 10px; } }
@media (max-width: 760px) {
  .dfy .note { position: static; transform: rotate(-2deg); justify-self: start; margin-bottom: 6px; }
  .terminal-body .row small { display: none; }
  .terminal-body { font-size: 14px; padding: 18px; }
  .how > .side-phone, .formats > .side-phone { display: none; }
  .how, .formats { margin-top: 32px; }
}
@media (max-width: 760px) { .fmt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .fmt-card figcaption { font-size: 11px; } }
@media (max-width: 340px) { .fmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Language offer (idioma-aviso.js): small dismissible bar, bottom center, never a redirect. */
.lang-offer { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px); padding: 8px 8px 8px 16px; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font: 500 14px/1.3 var(--sans); }
.lang-offer p { margin: 0; color: var(--soft); }
.lang-offer a { white-space: nowrap; color: var(--bg); background: var(--ink); border-radius: 999px; padding: 7px 12px; font: 600 13px/1 var(--mono); text-decoration: none; }
.lang-offer a:hover { background: var(--orange); color: #fff; }
.lang-offer button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.lang-offer button:hover { color: var(--ink); background: var(--fill); }
@media (max-width: 420px) {
  .lang-offer { gap: 8px; padding-left: 12px; border-radius: 14px; font-size: 13px; }
  .lang-offer p { min-width: 0; }
}
