/* Self-hosted, same files the app itself uses. This stylesheet also ships
   inside the iOS and Android bundles, so a Google Fonts import here meant the
   native apps phoned home to a third party on every landing view. */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/sora-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
  color-scheme: dark;
}

body.fh-static {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0e1117;
  color: #e6eaf0;
  font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.fh-static a {
  color: inherit;
}

.fh-landing {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.fh-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.fh-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 18px;
}

.fh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.fh-brand img {
  width: 34px;
  height: 34px;
}

.fh-brand strong {
  color: #ff7a1a;
}

.fh-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(230, 234, 240, 0.14);
  border-radius: 8px;
  background: #161b22;
}

.fh-lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: #9aa4b2;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 120ms ease;
}

.fh-lang-option:hover {
  background: #1c2128;
  color: #ffffff;
}

.fh-lang-option:active {
  transform: translateY(1px);
}

.fh-lang-option[aria-current='page'],
.fh-lang-option.is-active {
  background: #ff7a1a;
  color: #1a0e05;
}

.fh-stage {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px 0 28px;
}

.fh-chooser {
  width: min(720px, 100%);
  margin: auto;
  padding: 28px;
  border: 1px solid rgba(230, 234, 240, 0.14);
  border-radius: 8px;
  background: #161b22;
}

.fh-chooser h1 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.fh-chooser p {
  margin: 14px 0 0;
  color: #9aa4b2;
  font-size: 16px;
}

.fh-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.fh-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(230, 234, 240, 0.14);
  background: #1c2128;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 120ms ease;
}

.fh-choice:hover {
  border-color: rgba(255, 122, 26, 0.58);
  background: #222832;
}

.fh-choice:active {
  transform: translateY(1px);
}

.fhd,
.fhd * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.fhd {
  --bg: #0e1117;
  --surface: #161b22;
  --surface2: #1c2128;
  --primary: #ff7a1a;
  --emerald: #2dbe84;
  --danger: #f2545b;
  --ink: #e6eaf0;
  --muted: #9aa4b2;
  --faint: #7c8595;
  --border: rgba(230, 234, 240, 0.08);
  --border2: rgba(230, 234, 240, 0.14);
  --sans: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  width: 100%;
  color: var(--ink);
  font-family: var(--sans);
}

.fhd-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.fhd-phone {
  justify-self: center;
  width: 100%;
  max-width: 380px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 28px;
  box-shadow: 0 28px 70px -34px rgba(0, 0, 0, 0.88);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fhd-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 4px;
  color: var(--faint);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.fhd-dotrow {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fhd-dotrow i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--faint);
}

.fhd-appbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 14px;
  border-bottom: 1px solid var(--border);
}

.fhd-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.fhd-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: none;
  display: grid;
  place-items: center;
  background: #ff7a1a;
  color: #1a0e05;
  font-size: 15px;
  font-weight: 800;
}

.fhd-word {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.fhd-word b {
  color: var(--primary);
  font-weight: 800;
}

.fhd-league {
  margin-left: auto;
  text-align: right;
}

.fhd-league small {
  display: block;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fhd-league span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.fhd-screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.fhd-pot,
.fhd-card,
.fhd-actwrap,
.fhd-remind {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.fhd-pot {
  border-color: rgba(255, 122, 26, 0.42);
  padding: 18px;
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.05);
}

.fhd-eyebrow {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fhd-potrow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}

.fhd-potval {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.fhd-delta {
  padding: 3px 8px;
  border: 1px solid rgba(45, 190, 132, 0.3);
  border-radius: 999px;
  background: rgba(45, 190, 132, 0.12);
  color: var(--emerald);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.fhd-delta.on {
  opacity: 1;
  transform: translateY(0);
}

.fhd-pot p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.fhd-member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.fhd-av {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: #241b33;
  color: #ffffff;
  flex: none;
  font-size: 15px;
  font-weight: 700;
}

.fhd-status {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--danger);
  transition: background 180ms ease;
}

.fhd-info {
  min-width: 0;
  flex: 1;
}

.fhd-info b {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.fhd-info small {
  color: var(--faint);
  font-size: 12px;
}

.fhd-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.fhd-bal {
  color: var(--danger);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: color 180ms ease;
}

.fhd-bal.paid {
  color: var(--emerald);
}

.fhd-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.fhd-pill i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.fhd-pill.late {
  border-color: rgba(242, 84, 91, 0.3);
  background: rgba(242, 84, 91, 0.12);
  color: var(--danger);
}

.fhd-pill.late i {
  background: var(--danger);
}

.fhd-pill.paid {
  border-color: rgba(45, 190, 132, 0.3);
  background: rgba(45, 190, 132, 0.12);
  color: var(--emerald);
}

.fhd-pill.paid i {
  background: var(--emerald);
}

.fhd-pay,
.fhd-cta {
  font-family: var(--sans);
  cursor: pointer;
}

.fhd-pay {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  margin-top: 2px;
  padding: 6px 11px;
  border: 1px solid rgba(45, 190, 132, 0.3);
  border-radius: 8px;
  background: rgba(45, 190, 132, 0.1);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease, transform 120ms ease;
}

.fhd-pay:hover {
  background: var(--emerald);
  color: #04130c;
}

.fhd-pay:active {
  transform: scale(0.97);
}

.fhd-pay svg,
.fhd-check svg,
.fhd-cta svg,
.fhd-z svg,
.fhd-bot svg {
  flex: none;
}

.fhd-pay svg {
  width: 13px;
  height: 13px;
}

.fhd-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(45, 190, 132, 0.35);
  border-radius: 8px;
  background: rgba(45, 190, 132, 0.15);
  color: var(--emerald);
}

.fhd-check svg {
  width: 15px;
  height: 15px;
}

.fhd-remind {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: start;
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  border-width: 0;
  border-color: rgba(255, 122, 26, 0.28);
  opacity: 0;
  transition: max-height 280ms ease, opacity 220ms ease, padding 220ms ease, border-width 220ms ease;
}

.fhd-remind.on {
  max-height: 180px;
  padding: 12px;
  border-width: 1px;
  opacity: 1;
}

.fhd-bot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 122, 26, 0.3);
  border-radius: 8px;
  background: rgba(255, 122, 26, 0.12);
  color: var(--primary);
}

.fhd-bot svg {
  width: 17px;
  height: 17px;
}

.fhd-rhead {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fhd-rhead b {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.fhd-inline-strong {
  color: #ffffff;
}

.fhd-rhead span {
  margin-left: auto;
  color: var(--faint);
  font-size: 10px;
}

.fhd-remind p {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.fhd-actwrap {
  padding: 14px;
}

.fhd-acthead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.fhd-z {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 122, 26, 0.2);
  border-radius: 8px;
  background: rgba(255, 122, 26, 0.1);
  color: var(--primary);
}

.fhd-z svg {
  width: 14px;
  height: 14px;
}

.fhd-acthead b {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.fhd-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fhd-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.fhd-ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(45, 190, 132, 0.25);
  border-radius: 8px;
  background: rgba(45, 190, 132, 0.12);
  color: var(--emerald);
  flex: none;
  font-weight: 700;
}

.fhd-tx {
  font-size: 13px;
  line-height: 1.35;
}

.fhd-tx b {
  color: #ffffff;
  font-weight: 600;
}

.fhd-tx span {
  color: var(--muted);
}

.fhd-tx small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 11px;
}

.fhd-item.fresh {
  animation: fhd-slidein 280ms ease both;
}

.fhd-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.fhd-kicker {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fhd-h {
  max-width: 12ch;
  margin-top: 8px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.fhd-h b {
  color: var(--primary);
  font-weight: 800;
}

.fhd-lead {
  max-width: 42ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.fhd-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.fhd-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  transition: background 180ms ease;
}

.fhd-step.active {
  background: rgba(255, 122, 26, 0.08);
}

.fhd-num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border2);
  border-radius: 7px;
  background: var(--surface2);
  color: var(--faint);
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.fhd-step.active .fhd-num {
  border-color: var(--primary);
  background: var(--primary);
  color: #1a0e05;
}

.fhd-step.done .fhd-num {
  border-color: rgba(45, 190, 132, 0.4);
  background: rgba(45, 190, 132, 0.15);
  color: var(--emerald);
}

.fhd-num svg {
  width: 13px;
  height: 13px;
}

.fhd-slabel {
  padding-top: 3px;
  color: var(--muted);
  font-size: 13.5px;
  transition: color 180ms ease;
}

.fhd-step.active .fhd-slabel {
  color: #ffffff;
  font-weight: 600;
}

.fhd-step.done .fhd-slabel {
  color: var(--ink);
}

.fhd-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: #ff7a1a;
  color: #1a0e05;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 10px 24px -14px rgba(255, 122, 26, 0.85);
  transition: background 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}

.fhd-cta:hover {
  background: #ff8a33;
  box-shadow: 0 14px 30px -18px rgba(255, 122, 26, 0.9);
}

.fhd-cta:active {
  transform: translateY(1px);
}

.fhd-cta:disabled {
  cursor: default;
  opacity: 0.58;
  transform: none;
}

.fhd-cta svg {
  width: 16px;
  height: 16px;
}

.fh-static :focus-visible {
  outline: 2px solid #ff7a1a;
  outline-offset: 3px;
}

@keyframes fhd-slidein {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

@media (min-width: 780px) {
  .fh-landing {
    padding: 24px 34px 34px;
  }

  .fh-stage {
    padding: 24px 0 36px;
  }

  .fhd-wrap {
    grid-template-columns: minmax(320px, 380px) 1fr;
    gap: 44px;
    align-items: stretch;
  }

  .fhd-h {
    font-size: 44px;
  }

  .fhd-cta {
    width: auto;
    align-self: flex-start;
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 520px) {
  .fh-topbar {
    align-items: flex-start;
  }

  .fh-brand span {
    max-width: 100px;
    line-height: 1.1;
  }

  .fhd-member {
    gap: 9px;
    padding: 12px;
  }

  .fhd-right {
    max-width: 116px;
  }

  .fhd-pay {
    white-space: normal;
  }

  .fhd-h {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fh-static *,
  .fh-static *::before,
  .fh-static *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.fh-landing {
  /* `clip` en vez de `hidden`: recorta igual en horizontal pero no crea un
     contenedor de scroll, que era lo que dejaba sin efecto los `position:
     sticky` de dentro (barra superior y titular del hero). */
  overflow-x: clip;
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.08) 0, rgba(255, 122, 26, 0) 320px),
    #0e1117;
}

.fh-main {
  width: 100%;
}

.fh-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(230, 234, 240, 0.08);
  background: rgba(14, 17, 23, 0.92);
  backdrop-filter: blur(16px);
}

.fh-nav {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.fh-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: #9aa4b2;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.fh-nav a:hover {
  background: #161b22;
  color: #ffffff;
}

.fh-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fh-button,
.fh-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(230, 234, 240, 0.14);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}

.fh-button:active {
  transform: translateY(1px);
}

.fh-button-primary {
  border-color: #ff7a1a;
  background: #ff7a1a;
  color: #1a0e05;
  box-shadow: 0 14px 30px -18px rgba(255, 122, 26, 0.9);
}

.fh-button-primary:hover {
  background: #ff8a33;
  border-color: #ff8a33;
}

.fh-button-secondary {
  background: #161b22;
  color: #ffffff;
}

.fh-button-secondary:hover {
  border-color: rgba(255, 122, 26, 0.5);
  background: #1c2128;
}

.fh-button-quiet {
  min-height: 36px;
  padding: 0 12px;
  background: transparent;
  color: #9aa4b2;
}

.fh-button-quiet:hover {
  background: #161b22;
  color: #ffffff;
}

.fh-button-pending {
  color: #7c8595;
  cursor: default;
}

.fh-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 42px;
}

.fh-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fh-eyebrow {
  color: #ff7a1a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fh-title {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.fh-title span {
  color: #ff7a1a;
}

.fh-lede {
  max-width: 58ch;
  margin: 0;
  color: #b2bac6;
  font-size: clamp(16px, 2vw, 19px);
}

.fh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fh-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(520px, 100%);
}

.fh-meta {
  min-height: 82px;
  padding: 13px;
  border: 1px solid rgba(230, 234, 240, 0.1);
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.72);
}

.fh-meta b {
  display: block;
  color: #ffffff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 20px;
  line-height: 1.1;
}

.fh-meta span {
  display: block;
  margin-top: 8px;
  color: #7c8595;
  font-size: 12px;
  font-weight: 700;
}

.fh-demo-panel {
  padding: 14px;
  border: 1px solid rgba(230, 234, 240, 0.1);
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.68);
}


.fh-demo-panel .fhd-phone {
  max-width: 360px;
}

.fh-demo-panel .fhd-side {
  padding: 14px;
  border: 1px solid rgba(230, 234, 240, 0.08);
  border-radius: 8px;
  background: #0e1117;
}

.fh-demo-panel .fhd-h {
  max-width: none;
  font-size: 24px;
}

.fh-demo-panel .fhd-lead {
  font-size: 13px;
}

.fh-section {
  padding: 54px 0;
  border-top: 1px solid rgba(230, 234, 240, 0.08);
}

.fh-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.fh-section-head h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4.8vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

.fh-section-head p {
  max-width: 58ch;
  margin: 0;
  color: #9aa4b2;
  font-size: 16px;
}

.fh-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.fh-feature-card {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(230, 234, 240, 0.1);
  border-radius: 8px;
  background: #161b22;
}

.fh-feature-card strong,
.fh-flow-step strong,
.fh-panel-title {
  display: block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

.fh-feature-card p,
.fh-flow-step p,
.fh-panel-copy,
.fh-final p {
  margin: 10px 0 0;
  color: #9aa4b2;
  font-size: 14px;
}

.fh-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 20px;
  padding: 0 9px;
  border: 1px solid rgba(255, 122, 26, 0.3);
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.1);
  color: #ff9a4c;
  font-size: 11px;
  font-weight: 800;
}

.fh-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  counter-reset: flow;
}

.fh-flow-step {
  position: relative;
  min-height: 148px;
  padding: 20px;
  border: 1px solid rgba(230, 234, 240, 0.1);
  border-radius: 8px;
  background: #10141b;
  counter-increment: flow;
}

.fh-flow-step::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  color: #ff7a1a;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
}

.fh-control-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.fh-control-grid .fh-section-head {
  display: block;
  margin-bottom: 0;
}

.fh-control-grid .fh-section-head p {
  margin-top: 14px;
}

.fh-panel {
  border: 1px solid rgba(230, 234, 240, 0.1);
  border-radius: 8px;
  background: #161b22;
  overflow: hidden;
}

.fh-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(230, 234, 240, 0.08);
}

.fh-panel-kpi {
  color: #2dbe84;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 700;
}

/* El espacio de la mono es enorme a tamano grande y "40   HC" se leia partido:
   se acerca la unidad a la cifra sin tocar el marcado de los dos idiomas. */
.fhd-potval,
.fhd-bal,
.fhd-delta,
.fh-meta b,
.fh-panel-kpi {
  word-spacing: -0.22em;
}

.fh-panel-list {
  display: grid;
  gap: 1px;
  background: rgba(230, 234, 240, 0.08);
}

.fh-panel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  background: #161b22;
}

.fh-panel-row b {
  color: #ffffff;
  font-size: 14px;
}

.fh-panel-row span {
  display: block;
  margin-top: 4px;
  color: #7c8595;
  font-size: 12px;
}

.fh-state {
  align-self: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.fh-state-ok {
  background: rgba(45, 190, 132, 0.12);
  color: #2dbe84;
}

.fh-state-late {
  background: rgba(242, 84, 91, 0.12);
  color: #f2545b;
}

.fh-final {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(255, 122, 26, 0.32);
  border-radius: 8px;
  background: #161b22;
}

.fh-final h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4.8vw, 44px);
  line-height: 1.04;
  letter-spacing: 0;
}

.fh-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 30px 0 12px;
  border-top: 1px solid rgba(230, 234, 240, 0.08);
}

.fh-footer p {
  margin: 8px 0 0;
  color: #7c8595;
  font-size: 13px;
}

.fh-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fh-footer-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(230, 234, 240, 0.12);
  border-radius: 8px;
  background: transparent;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #9aa4b2;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.fh-footer-button:hover {
  border-color: rgba(255, 122, 26, 0.36);
  background: rgba(255, 122, 26, 0.07);
  color: #ffffff;
}

@media (min-width: 760px) {
  .fh-nav {
    display: inline-flex;
  }

  .fh-hero {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .fh-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    align-items: end;
  }

  .fh-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fh-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fh-control-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
    gap: 28px;
  }

  .fh-final {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 34px;
  }

  .fh-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* El panel de demo ocupa 390-500px fijos: por debajo de ~1000px la columna del
   titular se quedaba en ~226px con la tipografia display a 65px, o sea el
   titular partido en pedazos. Hasta ahi, hero apilado. */
@media (min-width: 1000px) {
  .fh-hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
    /* El panel mide ~1000px de alto: centrado, el titular caia a media pagina y
       la primera pantalla salia vacia. Las dos columnas arrancan arriba... */
    align-items: start;
  }

  /* ...y el titular acompana el recorrido de la demo en lugar de dejar media
     pantalla en blanco a su lado (la barra superior ocupa 65px). */
  .fh-hero-copy {
    position: sticky;
    top: 88px;
    align-self: start;
  }

  /* Dentro de la columna del hero (500px) el telefono y los pasos no caben en
     paralelo; por debajo de 1000px el panel va a ancho completo y si caben. */
  .fh-demo-panel .fhd-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .fh-landing {
    padding: 14px;
  }

  .fh-topbar {
    position: static;
    flex-wrap: wrap;
  }

  .fh-button-quiet {
    display: none;
  }

  .fh-top-actions {
    margin-left: auto;
  }

  .fh-meta-row {
    grid-template-columns: 1fr;
  }

  .fh-actions .fh-button {
    width: 100%;
  }
}
