/* ============================================================
   Kameleon AI — Landing "SEÑAL" (Expowinners Bogotá)
   Design tokens per README.md — Manrope + JetBrains Mono
   ============================================================ */

:root {
  --royal-violet: #8E3CE8;
  --fucsia-kam: #E04BD8;
  --dark-purple: #4A2168;
  --lavender-light: #F8EEFF;
  --ink-bg: #0A0710;
  --ink-text: #12081E;
}

html, body {
  margin: 0;
  background: var(--ink-bg);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

* { box-sizing: border-box; }

a { color: var(--fucsia-kam); text-decoration: none; }

input, button { font-family: inherit; }

.mono { font-family: 'JetBrains Mono', monospace; }

/* No hover states anywhere (touch experience); only :active */
button:active, a.btn-cta:active {
  opacity: .85;
  transform: scale(.99);
  transition: opacity .12s, transform .12s;
}

 
.iti { width: 100%; display: block; }
 
/* El padding-left lo calcula el plugin inline: no lo pisamos, solo el resto */
.iti input#field-phone {
  width: 100%;
}
 
/* Selector de país integrado al fondo oscuro de la landing */
.iti__selected-country,
.iti--separate-dial-code .iti__selected-country {
  background: transparent;
  border-radius: 0;
}
.iti__selected-country:hover,
.iti--separate-dial-code .iti__selected-country:hover {
  background: rgba(255, 255, 255, .06);
}
.iti__selected-dial-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .875rem;
  opacity: .75;
}
 
/* Dropdown en dark */
.iti__dropdown-content {
  background: #14121c;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
}
.iti__country-list { background: transparent; }
.iti__country { color: rgba(255, 255, 255, .82); }
.iti__country.iti__highlight,
.iti__country:hover { background: rgba(255, 255, 255, .08); }
.iti__dial-code { color: rgba(255, 255, 255, .45); }
.iti__search-input {
  background: rgba(255, 255, 255, .05);
  color: #fff;
  border: 0;
}
 
/* Estado inválido coherente con .is-invalid actual */
.iti input#field-phone.is-invalid { border-color: #ff4d6d; }

/* ---------- Page shell ---------- */
#landing-app {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  background: var(--ink-bg);
  overflow-x: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(248, 238, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 238, 255, .045) 1px, transparent 1px);
  background-size: 39px 39px;
}

/* ---------- Bloque A — Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 26px 24px calc(34px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}

.hero-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-logo { width: 120px; height: auto; }

.hero-tag {
  font-size: 9.5px;
  color: rgba(224, 75, 216, .9);
  letter-spacing: .14em;
}

.signal-graph {
  margin-top: 34px;
  height: 74px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.signal-bar {
  width: 10px;
  border-radius: 1px;
  transition: height .2s ease-in-out;
}
.signal-bar.b1 { height: 22%; background: rgba(142, 60, 232, .35); }
.signal-bar.b2 { height: 46%; background: rgba(142, 60, 232, .5); }
.signal-bar.b3 { height: 34%; background: rgba(142, 60, 232, .4); }
.signal-bar.b4 { height: 70%; background: #8E3CE8; }
.signal-bar.b5 { height: 52%; background: rgba(224, 75, 216, .6); }
.signal-bar.b6 { height: 88%; background: #E04BD8; box-shadow: 0 0 18px rgba(224, 75, 216, .6); }
.signal-bar.b7 { height: 60%; background: rgba(224, 75, 216, .4); }
.signal-bar.b8 { height: 100%; background: linear-gradient(180deg, #E04BD8, #8E3CE8); }

.signal-caption {
  margin-top: 12px;
  font-size: 9.5px;
  color: rgba(255, 255, 255, .32);
  letter-spacing: .14em;
}

.hero-h1 {
  margin: 30px 0 0;
  font-weight: 800;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 16px 0 0;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .58);
}

.hero-spacer { flex: 1; min-height: 20px; }

.hero-anchor {
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(248, 238, 255, .45);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.btn-cta-primary {
  margin-top: 18px;
  width: 100%;
  height: 62px;
  border-radius: 4px;
  background: var(--royal-violet);
  border: 1px solid var(--royal-violet);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fade-rise {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeRise .2s ease-out forwards;
}
.fade-rise.delay-1 { animation-delay: .05s; }

@keyframes fadeRise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fade-rise { animation: none; opacity: 1; transform: none; }
  .signal-bar { transition: none; }
}

/* ---------- Bloque B — Aprende / Automatiza / Escala ---------- */
.block-b {
  position: relative;
  background: var(--lavender-light);
  padding: 52px 24px;
}

.block-b-eyebrow {
  font-size: 10px;
  color: rgba(74, 33, 104, .55);
  letter-spacing: .2em;
}

.block-b-rows {
  margin-top: 24px;
  display: grid;
  gap: 26px;
}

.block-b-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.block-b-index {
  font-size: 10px;
  padding-top: 9px;
  color: var(--royal-violet);
}
.block-b-index.pink { color: var(--fucsia-kam); }

.block-b-title {
  font-weight: 800;
  font-size: 34px;
  line-height: .95;
  letter-spacing: -.032em;
  color: var(--ink-text);
  text-transform: uppercase;
}
.block-b-title.accent { color: var(--royal-violet); }

.block-b-desc {
  margin-top: 8px;
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(18, 8, 30, .62);
}

.block-b-sep {
  height: 1px;
  background: rgba(74, 33, 104, .14);
}

/* ---------- Bloque C — Compatibilidad ---------- */
.block-c {
  position: relative;
  background: var(--ink-bg);
  padding: 48px 24px;
}

.block-c-lead {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: #fff;
}

.compat-rows {
  margin-top: 26px;
  display: grid;
  gap: 9px;
}

.compat-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compat-mark {
  width: 9px;
  height: 9px;
  border: 1px solid var(--royal-violet);
  flex-shrink: 0;
}
.compat-mark.round { border-radius: 50%; }
.compat-mark.pink { border-color: var(--fucsia-kam); }
.compat-mark.light { border-color: var(--lavender-light); }

.compat-label {
  flex: 1;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .1em;
}

.compat-line {
  width: 60px;
  height: 1px;
}
.compat-line.violet { background: linear-gradient(90deg, rgba(142, 60, 232, .15), var(--royal-violet)); }
.compat-line.pink { background: linear-gradient(90deg, rgba(224, 75, 216, .15), var(--fucsia-kam)); }
.compat-line.light { background: linear-gradient(90deg, rgba(248, 238, 255, .15), var(--lavender-light)); }

.compat-node {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(142, 60, 232, .45);
  background: rgba(142, 60, 232, .12);
}

.compat-node img { width: 20px; height: auto; }

.compat-node span {
  font-size: 10.5px;
  color: var(--lavender-light);
  letter-spacing: .12em;
}

/* ---------- Bloque D — Formulario ---------- */
.block-d {
  position: relative;
  padding: 48px 24px calc(70px + env(safe-area-inset-bottom, 0px));
  background: var(--ink-bg);
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.block-d-eyebrow {
  font-size: 10px;
  color: rgba(224, 75, 216, .85);
  letter-spacing: .2em;
}

.block-d-h2 {
  margin: 14px 0 0;
  font-weight: 800;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.028em;
  color: #fff;
  text-transform: uppercase;
}

.form-fields {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.field-wrap { position: relative; }

.form-input {
  width: 100%;
  box-sizing: border-box;
  height: 58px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .03);
  color: #fff;
  font-size: 16px; /* obligatorio: evita zoom de iOS */
  outline: none;
}

.form-input::placeholder { color: rgba(255, 255, 255, .4); }

.form-input.is-invalid { border-color: var(--fucsia-kam); }

.field-error {
  display: none;
  margin-top: 8px;
  font-size: 10px;
  color: var(--fucsia-kam);
  letter-spacing: .14em;
}
.field-error.show { display: block; }

.vol-label {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .16em;
  margin-bottom: 9px;
}

.vol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.vol-chip {
  height: 54px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .75);
}

.vol-chip.active {
  background: rgba(224, 75, 216, .18);
  border: 1px solid var(--fucsia-kam);
  color: #fff;
}

.btn-cta-convert {
  margin-top: 24px;
  width: 100%;
  height: 62px;
  border: none;
  border-radius: 4px;
  background: var(--fucsia-kam);
  color: var(--ink-text);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.form-close-mark {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.form-close-mark img { width: 16px; height: auto; opacity: .28; }

/* ---------- Post-registro ---------- */
.post-register {
  position: fixed;
  inset: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--lavender-light);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 34px 28px calc(34px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  z-index: 20;
}
.post-register.show { display: flex; }

.post-eyebrow {
  font-size: 10px;
  color: rgba(74, 33, 104, .6);
  letter-spacing: .2em;
}

.post-h2 {
  margin: 20px 0 0;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.032em;
  color: var(--ink-text);
  text-transform: uppercase;
}

.post-p {
  margin: 16px 0 0;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(18, 8, 30, .66);
}

.btn-whatsapp {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  border-radius: 4px;
  background: var(--royal-violet);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.btn-back {
  margin-top: 14px;
  height: 44px;
  background: none;
  border: none;
  color: rgba(18, 8, 30, .4);
  font-size: 10.5px;
  letter-spacing: .14em;
  width: 100%;
}

/* ---------- Responsive: 360px ---------- */
@media (max-width: 360px) {
  .hero-h1 { font-size: 28px; }
  .block-b-title { font-size: 30px; }
  .vol-grid { grid-template-columns: 1fr 1fr; }
}

#lead-form .iti {
  width: 100%;
}

/* Contenedor adaptable */
#landing-app {
  width: 100%;
  max-width: 1440px;
}

/* Hero: móvil */
.hero {
  min-height: auto;
  gap: 0;
  padding: 26px clamp(20px, 5vw, 64px) 40px;
}

.hero-topbar {
  gap: 16px;
  flex-wrap: wrap;
}

.hero-logo {
  width: clamp(120px, 17vw, 180px);
}

.hero-h1 {
  font-size: clamp(30px, 4.3vw, 60px);
  line-height: 1.08;
  max-width: 850px;
  overflow-wrap: break-word;
}

.hero-subtitle {
  max-width: 660px;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.65;
}

.hero-anchor {
  margin-top: 8px;
}

.btn-cta-primary,
.btn-cta-convert,
.btn-whatsapp {
  height: auto;
  min-height: 62px;
  padding: 18px 20px;
  white-space: normal;
}

/* Tarjeta de ejemplo */
.ai-preview {
  width: 100%;
  max-width: 460px;
  min-width: 0;
  margin: 32px auto;
  padding: clamp(20px, 3vw, 32px);
  color: #fff;
  border: 1px solid rgba(224, 75, 216, .3);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(224, 75, 216, .22),
      transparent 65%
    ),
    linear-gradient(145deg, #542274, #321444);
  box-shadow: 0 20px 65px rgba(142, 60, 232, .16);
}

.ai-preview__header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ai-preview__header h2 {
  margin: 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
}

.ai-preview__icon {
  color: #ed8de8;
  font-size: 24px;
}

.ai-preview__badge {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  color: #eedcf8;
}

.ai-preview__question {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(10, 7, 16, .3);
  font-size: 14px;
  line-height: 1.5;
}

.ai-preview__answer {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.ai-preview__spark {
  color: #e04bd8;
  font-size: 26px;
  line-height: 1;
}

.ai-preview__answer p {
  margin: 0;
  color: #f1e3fa;
  font-size: 14px;
  line-height: 1.7;
}

.ai-preview__lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.ai-preview__lines span {
  height: 3px;
  border-radius: 3px;
  background: rgba(248, 238, 255, .65);
}

.ai-preview__lines span:nth-child(2) {
  width: 85%;
}

.ai-preview__lines span:nth-child(3) {
  width: 65%;
  background: #e04bd8;
}

.ai-preview__footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #dec8ec;
  font-size: 12px;
}

/* Tablet */
@media (min-width: 768px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .ai-preview {
    max-width: 520px;
    margin: 40px auto;
  }

  .btn-cta-primary {
    max-width: 520px;
  }

  .block-b,
  .block-c,
  .block-d {
    padding: 64px clamp(32px, 5vw, 80px);
  }

  .block-b-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .block-b-sep {
    display: none;
  }

  .block-b-title {
    font-size: clamp(26px, 3vw, 40px);
  }

  .compat-rows,
  .compat-node {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  #lead-form {
    max-width: 680px;
    margin: 0 auto;
  }

  .block-d-eyebrow,
  .block-d-h2 {
    text-align: center;
  }
}

/* Laptop y escritorio */
@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-areas:
      "topbar topbar"
      "signal preview"
      "caption preview"
      "title preview"
      "subtitle preview"
      "anchor preview"
      "cta preview";
    column-gap: clamp(32px, 5vw, 80px);
    align-content: center;
    min-height: 760px;
    min-height: max(760px, 100svh);
  }

  .hero-topbar {
    grid-area: topbar;
    margin-bottom: 24px;
  }

  .signal-graph { grid-area: signal; }
  .signal-caption { grid-area: caption; }
  .hero-h1 { grid-area: title; }
  .hero-subtitle { grid-area: subtitle; }

  .hero-anchor {
    grid-area: anchor;
    margin-top: 32px;
  }

  .btn-cta-primary {
    grid-area: cta;
    max-width: 100%;
  }

  .ai-preview {
    grid-area: preview;
    align-self: center;
    justify-self: center;
    max-width: 460px;
    margin: 0;
  }
}

/* Pantalla de confirmación */
.post-register {
  width: 100%;
  max-width: none;
  align-items: center;
  text-align: center;
  overflow-y: auto;
}

.post-register > * {
  width: 100%;
  max-width: 520px;
}

.hero-h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-transform: none;
}

.hero-h1 span {
  color: #e78de6;
}

.hero-subtitle {
  max-width: 42ch;
  margin-top: 20px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
}

.hero .btn-cta-primary {
  width: 100%;
  max-width: 380px;
  margin-top: 28px;
  justify-self: start;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-areas:
      "topbar topbar"
      "signal preview"
      "caption preview"
      "title preview"
      "subtitle preview"
      "cta preview";
  }
}

.hero > .hero-anchor {
  display: block;
  min-width: 0;
  margin-top: 24px;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .06em;
  color: rgba(248, 238, 255, .55);
}

@media (min-width: 1024px) {
  .hero {
    grid-template-areas:
      "topbar topbar"
      "signal preview"
      "caption preview"
      "title preview"
      "subtitle preview"
      "anchor preview"
      "cta preview";
  }

  .hero > .hero-anchor {
    grid-area: anchor;
  }
}

/* Tema */
:root {
  color-scheme: dark;
  --page-bg: #0a0710;
  --page-text: #f8eeff;
  --page-muted: #b9adc6;
  --page-line: rgba(248, 238, 255, .16);
  --page-surface: #171020;
  --page-accent: #e78de6;
  --page-grid: rgba(248, 238, 255, .045);
}

:root[data-theme="light"] {
  color-scheme: light;
  --page-bg: #fcf9ff;
  --page-text: #21112f;
  --page-muted: #665473;
  --page-line: rgba(74, 33, 104, .18);
  --page-surface: #f0e7f8;
  --page-accent: #8130ae;
  --page-grid: rgba(74, 33, 104, .06);
}

body,
#landing-app,
.block-c,
.block-d {
  background: var(--page-bg);
  color: var(--page-text);
}

.grid-overlay {
  background-image:
    linear-gradient(var(--page-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--page-grid) 1px, transparent 1px);
}

.hero-h1,
.block-c-lead,
.block-d-h2,
.compat-label,
.compat-node span {
  color: var(--page-text);
}

.hero-h1 span,
.hero-tag,
.block-d-eyebrow {
  color: var(--page-accent);
}

.hero-subtitle,
.hero .hero-anchor,
.signal-caption,
.vol-label {
  color: var(--page-muted);
}

.block-d {
  border-color: var(--page-line);
}

/* Cabecera y switch */
.hero-topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-topbar .hero-tag {
  margin-left: auto;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--page-line);
  border-radius: 999px;
  background: var(--page-surface);
  color: var(--page-text);
  font-size: 12px;
  cursor: pointer;
}

.theme-toggle__icon {
  font-size: 20px;
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--page-accent);
  outline-offset: 4px;
}

/* Hace visible el logo blanco sobre fondo claro */
:root[data-theme="light"] .hero-logo,
:root[data-theme="light"] .form-close-mark img {
  filter: brightness(0) saturate(100%);
}

/* Formulario */
.form-input,
.vol-chip {
  background: var(--page-surface);
  border-color: var(--page-line);
  color: var(--page-text);
}

.form-input::placeholder {
  color: var(--page-muted);
}

.vol-chip.active {
  background: var(--royal-violet);
  border-color: var(--royal-violet);
  color: #fff;
}

.form-input.is-invalid {
  border-color: #e04bd8;
}

:root[data-theme="light"] .field-error,
:root[data-theme="light"] .mono.vol-label {
  color: #8130ae;
}

/* Selector de teléfono */
.iti__selected-country,
.iti__selected-dial-code {
  color: var(--page-text);
}

.iti__dropdown-content {
  background: var(--page-surface);
  border-color: var(--page-line);
}

.iti__country {
  color: var(--page-text);
}

.iti__dial-code {
  color: var(--page-muted);
}

.iti__search-input {
  background: var(--page-bg);
  color: var(--page-text);
}

.iti__country.iti__highlight,
.iti__country:hover {
  background: rgba(142, 60, 232, .12);
}

/* Resultados */
.traction {
  position: relative;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 64px);
  background: var(--page-surface);
  border-block: 1px solid var(--page-line);
}

.traction__intro {
  text-align: center;
}

.traction__eyebrow {
  color: var(--page-accent);
  font-size: 10px;
  letter-spacing: .14em;
}

.traction__intro h2 {
  margin: 12px 0 0;
  color: var(--page-text);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.25;
}

.traction__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 36px auto;
}

.traction__metrics > div {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 8px;
}

.traction__metrics dt {
  color: var(--page-muted);
  font-size: clamp(12px, 1.4vw, 16px);
}

.traction__metrics dd {
  order: -1;
  margin: 0;
  color: var(--page-text);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.traction__recognitions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--page-line);
  list-style: none;
  text-align: center;
  color: var(--page-muted);
  font-size: 12px;
  line-height: 1.6;
}

.traction__recognitions strong {
  color: var(--page-text);
}

@media (max-width: 480px) {
  .hero-topbar .hero-tag {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .traction__recognitions {
    flex-direction: column;
  }
}

.hero-topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  width: 100%;
  min-width: 0;
}

.hero-topbar .hero-tag {
  margin-left: auto;
}

.hero-topbar .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 44px;
  padding: 8px 14px;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-topbar .theme-toggle {
    margin-left: auto;
  }

  .hero-topbar .hero-tag {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }
}