/* Nortea web. Tokens from docs/look-and-feel.md (Suave on Océano). Mobile first, light and dark. */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f1f5f8;
  --surface: #f8fbfd;
  --sunken: #e3ebf1;
  --text: #14222b;
  --text-2: #56656d;
  --primary: #0b5f8a;
  --on-primary: #ffffff;
  --strong: #14222b;
  --on-strong: #ffffff;
  --accent: #ffb547;
  --accent-text: #8a5200;
  --accent-soft: #fff3df;
  --positive: #1e7a50;
  --negative: #b03a30;
  --primary-soft: #dcecf5;
  --border: #cfdbe3;
  --shadow: 6px 6px 16px rgba(52, 96, 128, 0.14), -6px -6px 16px rgba(255, 255, 255, 0.9);
  --radius-card: 24px;
  --radius-field: 16px;
  --focus: #0b5f8a;
  --text-3: #3f4e57;
  --track: #e3ebf1;
  --border-2: #b9d3e2;
  --card-solid: #ffffff;
  --device: #14222b;
  --device-shadow: 18px 22px 40px rgba(52, 96, 128, 0.22);
  --float-shadow: 0 10px 28px rgba(20, 34, 43, 0.18);
  --cat-green-bg: #e3f4e6;
  --cat-green-fg: #1d572e;
  --cat-olive-bg: #ecf1df;
  --cat-olive-fg: #607026;
  --cat-orange-bg: #fbebde;
  --cat-orange-fg: #be7322;
  --bar-green: #1d572e;
  --bar-green-2: #6fa27c;
  --bar-muted: #56656d;
  /* "Night" band (Tu plan): deep sea in light mode; a lighter tone with borders in dark mode. */
  --night-bg: #0b1a22;
  --night-surface: #13262f;
  --night-sunken: #0f2029;
  --night-border: #25404c;
  --night-text: #e9f1f5;
  --night-text-2: #9ab0bb;
  --night-primary: #6fb8e0;
  --night-accent: #ffb547;
  --night-accent-text: #ffc46b;
  --night-accent-soft: #2d2616;
  --night-positive: #5bd1a0;
  --night-edge: transparent;
}

/* Dark theme, kept for a future theme switch. The site is light by default and nothing sets data-theme yet. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1a22;
  --surface: #13262f;
  --sunken: #0f2029;
  --text: #e9f1f5;
  --text-2: #9ab0bb;
  --primary: #6fb8e0;
  --on-primary: #0b1a22;
  --strong: #e9f1f5;
  --on-strong: #0b1a22;
  --accent-text: #ffc46b;
  --accent-soft: #2d2616;
  --positive: #5bd1a0;
  --negative: #ff8a7e;
  --primary-soft: #16313e;
  --border: #25404c;
  --shadow: none;
  --focus: #6fb8e0;
  --text-3: #b8cad3;
  --track: #25404c;
  --border-2: #2f4f5d;
  --card-solid: #1b3541;
  --device: #2a4553;
  --device-shadow: none;
  --float-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  --cat-green-bg: #163527;
  --cat-green-fg: #7fe0b0;
  --cat-olive-bg: #26301a;
  --cat-olive-fg: #c2d37a;
  --cat-orange-bg: #3a2614;
  --cat-orange-fg: #ffb36b;
  --bar-green: #5bd1a0;
  --bar-green-2: #2f7a5a;
  --bar-muted: #9ab0bb;
  --night-bg: #112630;
  --night-surface: #183541;
  --night-sunken: #0b1a22;
  --night-border: #2f5160;
  --night-edge: #2f5160;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--strong);
  color: var(--on-strong);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h1 strong,
h1 .heavy {
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.light {
  font-weight: 300;
  color: var(--text-2);
}

.muted,
.hint {
  color: var(--text-2);
}

.hint {
  font-size: 0.875rem;
  margin: 6px 0 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-2);
}

/* Layout */

.container {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 32px 20px;
}

.container.narrow {
  max-width: 40rem;
}

.container.wide {
  max-width: 90rem;
}

.site-header {
  padding: 16px 20px 0;
  max-width: 68rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  min-height: 48px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 20px 32px;
  text-align: center;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.site-footer p {
  margin: 0 0 6px;
}

/* Cards, buttons, notices */

.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .card {
  border: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-field);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-strong {
  background: var(--strong);
  color: var(--on-strong);
  border-color: var(--strong);
  width: 100%;
}

.btn-small {
  min-height: 36px;
  padding: 0 12px;
}

.notice {
  border-radius: var(--radius-field);
  padding: 14px 16px;
  margin: 0 0 20px;
  background: var(--primary-soft);
}

.notice p {
  margin: 0;
}

.notice-warn {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--text);
}

.notice-ok {
  background: var(--primary-soft);
  border: 1px solid var(--primary);
}

/* Forms */

.form {
  display: grid;
  gap: 24px;
}

.field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.field label,
.field legend {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 8px;
  padding: 0;
}

.req,
.opt {
  font-weight: 400;
  color: var(--text-2);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  font: inherit;
  color: var(--text);
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: 12px 16px;
}

textarea {
  resize: vertical;
  min-height: 9rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  margin: 0 !important;
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sunken);
  border: 1px solid var(--border);
  font-weight: 600;
}

.chip input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sent {
  background: var(--sunken);
  border-radius: var(--radius-field);
  padding: 12px 16px;
}

.sent summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
}

.sent ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.promise {
  font-weight: 700;
  margin: 0;
}

/* Honeypot: off-screen, not display:none, so simple bots still fill it. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent input {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--primary);
}

.consent label {
  font-weight: 400 !important;
  margin: 0 !important;
}

/* Landing */

.hero {
  padding-top: 24px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(60vw, 260px);
  height: auto;
}

/* Waitlist states: shown with the URL fragment (:target), so no JavaScript is needed. */
.state {
  display: none;
}

.state:target {
  display: block;
}

body:has(#lista-ok:target) #lista-form {
  display: none;
}

/* Prose (privacy policy) */

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 1.8em;
}

.prose h3 {
  margin-top: 1.4em;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
  margin-bottom: 1em;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

/* Thank-you */

.center {
  text-align: center;
}

.center .hero-art {
  margin-bottom: 16px;
}

/* Admin */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 32px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  background: var(--surface);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
}

th,
td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

td.msg {
  min-width: 18rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.row-new td:first-child {
  border-left: 4px solid var(--accent);
}

@media (min-width: 48rem) {
  .container {
    padding: 48px 32px;
  }

  .btn-strong {
    width: auto;
    min-width: 14rem;
  }
}

/* Landing v2. Class-only styling (the CSP forbids inline styles). Width helpers at the end. */

.btn-header {
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.page-landing .btn-strong.btn-lg {
  width: auto;
}

.page-landing form .btn-strong.btn-lg {
  width: 100%;
}

.tab {
  font-variant-numeric: tabular-nums;
}

.b {
  font-weight: 700;
}

/* Layout blocks */

.l-wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 20px;
}

.l-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 56px;
}

.l-split-rev {
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.l-split-top {
  align-items: flex-start;
}

.l-col {
  min-width: 0;
  flex: 1 1 100%;
}

@media (min-width: 48rem) {
  .l-col-380 {
    flex: 1 1 380px;
  }

  .l-col-400 {
    flex: 1 1 400px;
  }

  .l-col-420 {
    flex: 1 1 420px;
  }

  .phone-col {
    flex: 0 1 360px;
  }
}

.sec-pad {
  padding-top: 56px;
  padding-bottom: 56px;
}

.sec-pad-metas {
  padding-bottom: 24px;
}

.kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.page-landing h1 {
  margin: 0 0 20px;
  font-size: clamp(2.25rem, 9vw, 3.375rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 300;
}

.page-landing h2 {
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.h2-light {
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 300;
}

.h2-light strong {
  font-weight: 800;
}

.h2-bold {
  font-size: clamp(1.625rem, 6vw, 2.25rem);
  font-weight: 800;
}

.l-lead {
  margin: 0 0 24px;
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 40rem;
}

.l-lead-3 {
  color: var(--text-3);
  margin-bottom: 40px;
}

/* Hero */

.hero2 {
  padding-top: 24px;
  padding-bottom: 56px;
}

.hello {
  margin: 0 0 8px;
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--text-2);
}

.hello strong {
  font-weight: 800;
  color: var(--text);
}

.hero2 .l-lead {
  margin-bottom: 28px;
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-2);
}

.phone-col {
  display: flex;
  justify-content: center;
}

.phone-wrap {
  position: relative;
  width: 340px;
  max-width: 100%;
  padding-top: 8px;
  padding-bottom: 40px;
}

.phone {
  margin-left: auto;
  width: 288px;
  max-width: 100%;
  padding: 10px;
  border-radius: 42px;
  background: var(--device);
  box-shadow: var(--device-shadow);
}

.phone-screen {
  border-radius: 33px;
  background: var(--bg);
  padding: 22px 14px 18px;
  height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.phone-screen p {
  margin: 0;
}

.ph-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px;
}

.ph-hello {
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-2);
}

.ph-hello strong {
  font-weight: 800;
  color: var(--text);
}

.ph-month {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
}

.ph-card {
  padding: 16px;
  border-radius: 22px;
}

.track {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: none;
}

.dot-done {
  background: var(--primary);
}

.dot-todo {
  background: var(--border);
}

.dot-now {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 3px solid var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.seg {
  flex: 1;
  height: 3px;
  background: var(--track);
}

.seg-done {
  background: var(--primary);
}

.ph-step {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-2);
}

.ph-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px !important;
}

.ph-amount {
  font-size: 1.625rem;
  font-weight: 300;
  line-height: 1.2;
}

.ph-amount strong {
  font-weight: 700;
}

.ph-of {
  font-size: 0.75rem;
  color: var(--text-2);
  margin-bottom: 10px !important;
}

.ph-note {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
  margin-top: 8px !important;
}

.ph-today {
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 4px 4px 0 !important;
}

.tx-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tx {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 16px;
}

.tx-now {
  background: var(--primary-soft);
}

.tx-text {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.tx-name,
.tx-sub {
  display: block;
}

.tx-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.tx-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-2);
}

.tx-amt {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}

.bar-sm {
  height: 8px;
}

.bar-md {
  height: 10px;
}

.bar-md .fill {
  height: 10px;
}

.bar-rel {
  position: relative;
}

.fill {
  height: 8px;
  border-radius: 999px;
}

.fill-abs {
  position: absolute;
  top: 0;
  border-radius: 0 999px 999px 0;
}

.fill-accent,
.fill-amber {
  background: var(--accent);
}

.fill-primary {
  background: var(--primary);
}

.fill-positive {
  background: var(--positive);
}

.fill-muted {
  background: var(--bar-muted);
}

.fill-green {
  background: var(--bar-green);
}

.fill-green-2 {
  background: var(--bar-green-2);
}

/* Icon chips */

.ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ico-xs {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.ico-round {
  border-radius: 999px;
  background: var(--surface);
}

.ico-green {
  background: var(--cat-green-bg);
  color: var(--cat-green-fg);
}

.ico-olive {
  background: var(--cat-olive-bg);
  color: var(--cat-olive-fg);
}

.ico-orange {
  background: var(--cat-orange-bg);
  color: var(--cat-orange-fg);
}

.ico-gray {
  background: var(--track);
  color: var(--text-2);
}

/* Notification */

.notif {
  position: absolute;
  left: 0;
  /* Over the phone's last rows, so the highlighted Mercado row it created stays visible. */
  bottom: 0;
  width: 232px;
  max-width: calc(100% - 24px);
  background: var(--card-solid);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--float-shadow);
}

.notif-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.notif-src {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-2);
}

.notif-text {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.notif-text-md {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.notif-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Como funciona */

.band-soft {
  background: var(--primary-soft);
  padding: 56px 0;
}

.private-box {
  position: relative;
  border: 2px dashed var(--primary);
  border-radius: 32px;
  padding: 40px 16px 24px;
}

.private-pill {
  position: absolute;
  top: -17px;
  left: 16px;
  max-width: calc(100% - 32px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.private-pill svg {
  flex: none;
}

.flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.flow-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.flow-card {
  flex: 1;
  padding: 18px;
}

.flow-card-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-note {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--text-2);
}

.flow-card-stack .flow-note {
  margin: 4px 0 0;
}

.flow-small {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.flow-arrow svg {
  transform: rotate(90deg);
}

@media (min-width: 64rem) {
  .private-box {
    padding: 40px 24px 28px;
  }

  .private-pill {
    left: 24px;
  }

  .flow {
    flex-direction: row;
  }

  .flow-col {
    flex: 1 1 0;
  }

  .flow-arrow {
    flex: 0 0 32px;
  }

  .flow-arrow svg {
    transform: none;
  }
}

.notif-inline {
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
}

mark {
  color: var(--text);
  border-radius: 4px;
  padding: 0 3px;
}

.mark-amber {
  background: var(--accent-soft);
  outline: 1px solid var(--accent);
}

.mark-blue {
  background: var(--primary-soft);
  outline: 1px solid var(--primary);
}

.kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--track);
  font-size: 0.875rem;
}

.kv-last {
  padding-bottom: 0;
  border-bottom: 0;
}

.kv .k {
  color: var(--text-2);
}

.kv .v {
  font-weight: 700;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 6px;
  border-radius: 999px;
  background: var(--cat-green-bg);
  font-size: 0.8125rem;
  font-weight: 700;
}

.cat-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-name {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 700;
}

.cat-sum {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}

.trust {
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border-2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.trust svg {
  flex: none;
  color: var(--primary);
}

.trust-link {
  margin: 12px 0 0;
  font-size: 0.9375rem;
}

.how3 {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 24px;
}

.how3 li {
  display: flex;
  gap: 14px;
}

.n3 {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.how3 p {
  margin: 0;
}

.how3-t {
  font-weight: 700;
  margin-bottom: 2px !important;
}

.how3-d {
  font-size: 0.9375rem;
  color: var(--text-3);
}

/* Shared card bits */

.card-lg {
  border-radius: 28px;
  padding: 24px;
}

.split-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
}

.split-base {
  align-items: baseline;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ticks li {
  display: flex;
  gap: 12px;
}

.tick {
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}

/* Budget card */

.budget {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bud-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.bud-unit {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
}

.bud-income {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bud-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--track);
  border-bottom: 1px solid var(--track);
}

.bud-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bud-row .v {
  font-weight: 600;
  white-space: nowrap;
}

.bud-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bud-left-t {
  font-size: 1rem;
  font-weight: 800;
}

.bud-left-v {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--positive);
}

.bud-left-v strong {
  font-weight: 800;
}

.bud-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-2);
}

.reminder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--track);
  font-size: 0.8125rem;
  font-weight: 500;
}

.reminder-ico {
  flex: none;
  color: var(--primary);
}

/* Plan (night band) */

.band-night {
  background: var(--night-bg);
  color: var(--night-text);
  border-top: 1px solid var(--night-edge);
  border-bottom: 1px solid var(--night-edge);
  padding: 56px 0;
}

.band-night .kicker {
  color: var(--night-primary);
}

.band-night .l-lead,
.band-night .sub {
  color: var(--night-text-2);
}

.band-night .l-lead {
  margin-bottom: 28px;
}

.plan-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-steps li {
  display: flex;
  gap: 14px;
}

.pn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.pn-blue {
  background: var(--night-primary);
  color: var(--night-bg);
}

.pn-amber {
  background: var(--night-accent);
  color: #14222b;
}

.pn-ring {
  background: var(--night-surface);
  border: 2px solid var(--night-primary);
  color: var(--night-primary);
}

.plan-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.night-card {
  background: var(--night-surface);
  border: 1px solid var(--night-border);
  border-radius: 20px;
  padding: 12px 16px;
}

.night-card p {
  margin: 0;
}

.night-lead {
  border-radius: 24px;
  padding: 18px 20px;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.35;
}

.night-lead strong {
  font-weight: 800;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tl-row {
  display: flex;
  gap: 14px;
}

.tl-date {
  width: 68px;
  flex: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--night-text-2);
  text-align: right;
  padding-top: 14px;
}

.tl-date-1 {
  padding-top: 4px;
}

.tl-date-now {
  padding-top: 2px;
  font-weight: 800;
  color: var(--night-primary);
}

.tl-date-amber {
  padding-top: 18px;
  font-weight: 700;
  color: var(--night-accent-text);
}

.tl-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
}

.tl-line {
  flex: 1;
  width: 3px;
  min-height: 24px;
  background: var(--night-border);
}

.tl-line-done {
  background: var(--night-primary);
}

.tl-mark {
  flex: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tl-mark-done {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  background: var(--night-primary);
  color: var(--night-bg);
}

.tl-mark-today {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  background: var(--night-text);
}

.tl-mark-here {
  width: 22px;
  height: 22px;
  margin-top: 18px;
  background: var(--night-accent);
  border: 4px solid var(--night-accent-soft);
}

.tl-mark-pending {
  width: 16px;
  height: 16px;
  margin-top: 16px;
  background: var(--night-bg);
  border: 3px solid var(--night-text-2);
}

.tl-body {
  min-width: 0;
}

.tl-body-card {
  flex: 1;
  padding-bottom: 16px;
}

.tl-row:last-child .tl-body-card {
  padding-bottom: 0;
}

.tl-body-1 {
  padding: 4px 0 20px;
}

.tl-body-2 {
  padding: 2px 0 20px;
}

.tl-body p {
  margin: 0;
}

.tl-t {
  font-weight: 700;
}

.tl-d {
  font-size: 0.875rem;
  color: var(--night-text-2);
}

.tl-good {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--night-positive);
}

.night-here {
  background: var(--night-accent-soft);
  border-color: var(--night-accent);
  padding: 14px 16px;
}

.here-t {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--night-accent-text);
}

.here-name {
  margin-bottom: 8px !important;
}

.bar-night {
  background: var(--night-sunken);
}

.here-sum {
  margin-top: 6px !important;
  font-size: 0.8125rem;
}

.tl-foot {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--night-text-2);
}

/* Goal card */

.goal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.goal-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.goal-field {
  min-width: 0;
  flex: 1 1 8.75rem;
}

.goal-label {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.fake-input {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-field);
  background: var(--sunken);
  border: 1px solid var(--border);
  font-weight: 600;
}

.goal-result {
  border-radius: 20px;
  background: var(--primary-soft);
  padding: 18px;
}

.goal-result p {
  margin: 0;
}

.goal-when {
  margin-bottom: 4px !important;
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1.25;
}

.goal-when strong {
  font-weight: 800;
}

.goal-sub {
  margin-bottom: 14px !important;
  font-size: 0.875rem;
  color: var(--text-3);
}

.goal-before {
  margin-bottom: 8px !important;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-3);
}

.goal-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goal-total {
  padding-top: 8px;
  border-top: 1px solid var(--border-2);
}

.fake-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius-field);
  background: var(--strong);
  color: var(--on-strong);
  font-weight: 700;
  user-select: none;
}

/* Waitlist */

.lista-sec {
  padding-top: 56px;
  padding-bottom: 48px;
}

.wl-steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.wl-steps li {
  display: flex;
  gap: 16px;
}

.wl-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
}

.wl-n {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  box-sizing: border-box;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wl-n-1 {
  background: var(--primary);
  color: var(--on-primary);
}

.wl-line {
  flex: 1;
  width: 2px;
  min-height: 20px;
  background: var(--border);
}

.wl-body {
  padding-bottom: 20px;
}

.wl-body-last {
  padding-bottom: 0;
}

.wl-body p {
  margin: 0;
}

.wl-t {
  font-weight: 700;
  margin-bottom: 2px !important;
}

.wl-d {
  font-size: 0.9375rem;
  color: var(--text-2);
}

.price-note {
  border-radius: 20px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  padding: 16px 18px;
}

.price-note p {
  margin: 0 0 4px;
}

.price-1 {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.price-2 {
  font-size: 0.875rem;
  color: var(--text-3);
}

.price-note .price-3 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-text);
}

.lista-sec .form {
  gap: 20px;
}

.other-field {
  margin-top: 12px;
}

/* "Otro" free text: shown only while "Otro" is chosen. Without :has() support the fields stay visible. */
@supports selector(:has(*)) {
  .field .other-field {
    display: none;
  }

  .field:has(option[value="Otro"]:checked) .other-field,
  .field:has(option[value="Otro Android"]:checked) .other-field {
    display: block;
  }
}

::placeholder {
  color: var(--text-2);
  opacity: 1;
}

.form-foot {
  margin: -8px 0 0;
  font-size: 0.8125rem;
  color: var(--text-2);
  text-align: center;
}

/* Width helpers for bars (no inline styles allowed by the CSP) */

.w-100 { width: 100%; }
.w-57-9 { width: 57.9%; }
.w-41 { width: 41%; }
.w-40 { width: 40%; }
.w-11-8 { width: 11.8%; }
.w-10-5 { width: 10.5%; }
.w-8-2 { width: 8.2%; }
.w-7-5 { width: 7.5%; }
.w-6-8 { width: 6.8%; }
.w-4-7 { width: 4.7%; }
.left-40 { left: 40%; }

@media (min-width: 48rem) {
  .l-wrap {
    padding: 0 32px;
  }

  .sec-pad {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .sec-pad-metas {
    padding-bottom: 24px;
  }

  .band-soft,
  .band-night {
    padding: 72px 0;
  }

  .band-night {
    padding: 88px 0;
  }

  .hero2 {
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .lista-sec {
    padding-top: 80px;
    padding-bottom: 64px;
  }
}
