/* Cyber Express. Estética del mockup v8 (covercap-proposals, mockups/cyber-quote-landing-v8.html). */

@font-face {
  font-family: "Sk-Modernist";
  src: url("assets/fonts/sk-modernist-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sk-Modernist";
  src: url("assets/fonts/sk-modernist-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Sk-Modernist-Mono";
  src: url("assets/fonts/sk-modernist-mono-regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --orange: #ff521c; /* cc-orange: CTA y nave */
  --ship: #ff521c;
  --tint: rgba(255, 82, 28, 0.16);
  --page: #f9fafb;
  --dot: #d1d5db;
  --card: #ffffff;
  --sunk: #f6f8fa;
  --ink: #0e1b24;
  --ink-2: #374151;
  --mute: #526270;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --tint-solid: #fff1eb;
  --ok-bg: #e9f6ef;
  --ok-fg: #17784a;
  --warn-bg: #fdf3e2;
  --warn-fg: #9a5b00;
  --info-bg: #e8f0fb;
  --info-fg: #1f5aa6;
  --bad: #d1435b;
  --bad-bg: #fdecef;
  --sans: "Sk-Modernist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Sk-Modernist-Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b1218;
    --dot: #1f2a33;
    --card: #111a22;
    --sunk: #0d151c;
    --ink: #eef2f5;
    --ink-2: #cbd5e1;
    --mute: #94a3b8;
    --faint: #64748b;
    --line: #1f2d38;
    --line-2: #2b3b48;
    --tint-solid: #2a1a14;
    --tint: rgba(255, 82, 28, 0.28);
    --ok-bg: #12301f;
    --ok-fg: #6fd39f;
    --warn-bg: #33270f;
    --warn-fg: #f2b452;
    --info-bg: #15263d;
    --info-fg: #8fb8ee;
    --bad-bg: #3a1a22;
    --bad: #f07a8e;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  background: var(--page);
  color: var(--ink);
  margin: 0;
}
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  padding-block: 20px 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 24px 24px;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mockbanner {
  margin: 0;
  padding: 8px 14px;
  border: 1px dashed var(--warn-fg);
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn-fg);
  font-size: 13px;
  font-weight: 700;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--mute);
}
.brand b {
  color: var(--ink);
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand b i {
  font-style: normal;
  color: var(--orange);
}

.top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 820px) {
  .top {
    grid-template-columns: 1fr;
  }
}
.pitch {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-top: 8px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  color: var(--orange);
}
.lede {
  color: var(--mute);
  margin: 0;
  max-width: 56ch;
}
.checks {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.checks .ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--tint-solid);
  display: grid;
  place-items: center;
}
.checks .ic svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checks b {
  display: block;
  font-size: 14.5px;
}
.checks span {
  color: var(--mute);
  font-size: 13.5px;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  box-shadow: 0 10px 30px -18px rgba(14, 27, 36, 0.35);
}
@media (max-width: 420px) {
  .card {
    padding: 18px;
  }
}
.card h2 {
  margin: 0;
  font-size: 19px;
  text-wrap: balance;
}
.card h2:focus {
  outline: none;
}
.card .sub {
  margin: -8px 0 0;
  color: var(--mute);
  font-size: 13.5px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}
.grid2 .full {
  grid-column: 1/-1;
}
label.f {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  min-width: 0;
}
label.f .lbl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.inp {
  width: 100%;
  min-width: 0;
  font: 15px var(--sans);
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 11px 12px;
}
/* Debajo de 16px, Safari de iOS hace zoom al enfocar el campo. */
@media (max-width: 420px) {
  .inp {
    font-size: 16px;
  }
}
textarea.inp {
  resize: vertical;
  min-height: 72px;
  line-height: 1.45;
}
.inp:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: transparent;
}
.inp.bad,
.inp[aria-invalid="true"] {
  border-color: var(--bad);
}
.missing .inp {
  border-color: var(--warn-fg);
  background: var(--warn-bg);
}
.hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
}
.domain {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mute);
  min-height: 24px;
}
.chip {
  font: 400 12.5px var(--mono);
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tint-solid);
  color: var(--orange);
  overflow-wrap: anywhere;
}
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--sunk);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}
.consent input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.consent b {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.consent a[href] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent a[href]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.ts {
  min-height: 0;
}
.ts:empty {
  display: none;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  font: 700 15px var(--sans);
  color: #fff;
  background: var(--orange);
  cursor: pointer;
}
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn:focus-visible,
.seg button:focus-visible,
.linkish:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.btn.ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  font-weight: 600;
}
.small {
  font-size: 12px;
  color: var(--faint);
  margin: 0;
}
.small.mute {
  color: var(--mute);
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* mensajes de error: role="alert", vacíos no ocupan lugar */
.err {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bad-bg);
  color: var(--bad);
  font-size: 13.5px;
  font-weight: 700;
}
.err:empty {
  display: none;
}
.alert {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 22px 20px;
}

/* origen de cada dato */
.src {
  font: 400 11px var(--sans);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.src:empty {
  display: none;
}
.src.site {
  background: var(--info-bg);
  color: var(--info-fg);
}
.src.reg {
  background: var(--ok-bg);
  color: var(--ok-fg);
}
.src.est {
  background: var(--sunk);
  color: var(--mute);
  border: 1px solid var(--line);
}
.src.ask {
  background: var(--warn-bg);
  color: var(--warn-fg);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section h3 {
  margin: 0;
  font-size: 15px;
}
.yn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
}
.yn p {
  margin: 0;
  font-size: 14.5px;
}
.seg {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
}
.seg button {
  font: 600 13.5px var(--sans);
  border: 0;
  background: var(--card);
  color: var(--ink-2);
  padding: 8px 16px;
  cursor: pointer;
}
.seg button + button {
  border-left: 1px solid var(--line-2);
}
.seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--card);
}

/* precio */
.restitle {
  font-size: 24px !important;
}
.result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 720px) {
  .result {
    grid-template-columns: 1fr;
  }
}
.distcol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.distcol .sub {
  margin: 0;
}
.dist {
  display: grid;
  gap: 8px;
}
.dist div {
  display: grid;
  grid-template-columns: 96px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--mute);
}
.dist i {
  display: block;
  height: 12px;
  border-radius: 3px;
  background: var(--line-2);
}
.dist div.on {
  color: var(--ink);
  font-weight: 700;
}
.dist div.on i {
  background: var(--orange);
}
.dist em {
  font-style: normal;
  text-align: right;
}
.price {
  background: var(--sunk);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.price > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.big {
  font-size: clamp(36px, 6vw, 46px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.big small {
  font-size: 15px;
  font-weight: 400;
  color: var(--mute);
  letter-spacing: 0;
}
.tent {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--warn-bg);
  color: var(--warn-fg);
}
.advisor {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}
dl.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0;
  font-size: 14px;
}
dl.facts dt {
  color: var(--mute);
}
dl.facts dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  overflow-wrap: anywhere;
}
ul.cov {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  font-size: 13.5px;
  color: var(--ink-2);
}
@media (max-width: 560px) {
  ul.cov {
    grid-template-columns: 1fr;
  }
}
ul.cov li::before {
  content: "✓ ";
  color: var(--ok-fg);
  font-weight: 700;
}
/* "Quiero avanzar" es un enlace mailto con forma de botón */
a.btn {
  text-decoration: none;
}
.buynote {
  margin: 0;
  color: var(--mute);
  font-size: 13.5px;
  flex: 1 1 220px;
}
.buynote b {
  overflow-wrap: anywhere;
}

/* el aviso del mail con el informe */
.sent {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ok-bg);
  color: var(--ok-fg);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
}
.sent b {
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* la escena de la nave */
.how {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
}
.how header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 18px 22px 4px;
}
.how header h2 {
  margin: 0;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.how header h2:focus {
  outline: none;
}
.how header p {
  margin: 0;
  font-size: 13px;
  color: var(--mute);
}
.scene {
  position: relative;
  height: 300px;
  background: var(--sunk);
  margin: 12px 22px 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.scene svg.g {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.edge {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.5;
  stroke-dasharray: 1.5 6;
  stroke-linecap: round;
}
.edge.hot {
  stroke: var(--ship);
  stroke-opacity: 0.55;
  animation: flow 0.8s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -7.5;
  }
}
.star {
  fill: var(--line-2);
}
.planet .body {
  fill: var(--card);
  stroke: var(--line-2);
  stroke-width: 1.5;
  transition:
    stroke 0.5s,
    fill 0.5s;
}
.planet .orbit {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.planet .ico {
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.5s;
}
.planet .moon {
  fill: var(--line-2);
}
.planet .lbl {
  font: 400 10.5px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: var(--mute);
}
.planet .scanfill {
  fill: var(--tint-solid);
}
.planet .scanline {
  fill: var(--ship);
  opacity: 0;
}
.planet.lit .body {
  stroke: var(--ship);
  fill: var(--tint-solid);
}
.planet.lit .ico {
  stroke: var(--ship);
}
.planet.lit .lbl {
  fill: var(--ship);
}
.beam {
  opacity: 0;
}
#ship {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  z-index: 4;
  pointer-events: none;
}
.mote {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ship);
  z-index: 3;
  pointer-events: none;
}
.domainTag {
  position: absolute;
  left: 14px;
  top: 12px;
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 400 12px var(--mono);
  color: var(--mute);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  z-index: 5;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 14px 22px 20px;
}
.steps div {
  padding: 10px 12px;
  border-top: 2px solid var(--line);
  transition: border-color 0.4s;
  min-width: 0;
}
.steps div.on {
  border-top-color: var(--orange);
}
.steps b {
  display: block;
  font-size: 13.5px;
}
.steps span {
  display: block;
  font-size: 12.5px;
  color: var(--mute);
  overflow-wrap: anywhere;
}
.steps div.found span {
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .scene {
    height: 380px;
  }
}
@media (max-width: 420px) {
  .scene {
    margin: 12px 12px 0;
  }
  .how header,
  .steps {
    padding-left: 12px;
    padding-right: 12px;
  }
  .alert {
    margin: 0 12px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .edge.hot {
    animation: none;
  }
  .mote {
    display: none;
  }
  .steps div,
  .planet .body,
  .planet .ico {
    transition: none;
  }
}

/* Política de privacidad (privacidad.html) */
.legal article {
  max-width: 46rem;
  padding: 2rem 0 4rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.legal h1 {
  color: var(--ink);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.legal h2 {
  color: var(--ink);
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
}
.legal h3 {
  color: var(--ink);
  font-size: 1rem;
  margin: 1.25rem 0 0.25rem;
}
.legal ul {
  padding-left: 1.25rem;
}
.legal li + li {
  margin-top: 0.4rem;
}
.legal a {
  color: var(--orange);
}
.legal-meta {
  color: var(--mute);
  font-size: 0.9rem;
}
.legal mark.todo {
  background: var(--warn-bg);
  color: var(--warn-fg);
  padding: 0 0.2rem;
  border-radius: 0.2rem;
}
.legal-back {
  margin-top: 2.5rem;
}
