/* =========================================================================
   ModoPro — hoja de estilos
   Paleta tomada del logotipo oficial: azul intenso → turquesa, sobre blanco.
   ========================================================================= */

:root {
  /* Marca */
  --navy: #071033;
  --blue: #0d5df6;
  --blue-dark: #0a4ad0;
  --cyan: #22cffa;
  --gradient: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);

  /* Texto y superficies */
  --ink: #0b1020;
  --ink-soft: #48566d;
  --line: #e3e9f2;
  --line-strong: #cfd9e8;
  --paper: #ffffff;
  --tint: #f4f8ff;
  --tint-deep: #eaf3ff;

  /* Acentos por aplicación (suaves, nunca compiten con la marca) */
  --tone-coral: #ffe6e2;
  --tone-amber: #fff2cf;
  --tone-violet: #ece6ff;
  --tone-mint: #ddf6ec;
  --tone-sky: #e0f0ff;
  --tone-ink: #101a33;

  /* Sistema */
  --shell: 1160px;
  --gutter: 24px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(11, 22, 48, 0.05);
  --shadow: 0 14px 34px rgba(11, 22, 48, 0.08);
  --shadow-lg: 0 26px 60px rgba(11, 22, 48, 0.13);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.7rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.shell {
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ------------------------------------------------------------- tipografías */

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow-pill {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  font-weight: 600;
}

.chip {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tint-deep);
  color: var(--blue-dark);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lead {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.section-sub {
  margin-top: 14px;
  max-width: 60ch;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------------- botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 93, 246, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  background: var(--tint);
  color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--blue-dark);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.94rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* --------------------------------------------------------------- encabezado */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.wordmark img {
  width: 158px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}

.site-nav a[aria-current="page"] {
  color: var(--blue-dark);
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
}

.menu-bars::before {
  transform: translateY(-6px);
}

.menu-bars::after {
  transform: translateY(6px);
}

.menu-open .menu-bars {
  background: transparent;
}

.menu-open .menu-bars::before {
  transform: rotate(45deg);
}

.menu-open .menu-bars::after {
  transform: rotate(-45deg);
}

/* -------------------------------------------------------------------- hero */

.hero {
  background: linear-gradient(180deg, var(--tint-deep) 0%, #fbfdff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: 60px;
  padding-block: clamp(52px, 7vw, 92px);
}

.hero-copy h1 {
  max-width: 15ch;
}

.hero-figure {
  margin: 0;
  position: relative;
}

.hero-figure img {
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid #fff;
  box-shadow: var(--shadow-lg);
}

.hero-figure figcaption {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: -26px auto 0;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  white-space: nowrap;
}

.hero-figure figcaption strong {
  font-family: var(--font-display);
}

.hero-figure figcaption span {
  color: var(--ink-soft);
}

/* ---------------------------------------------------------- dos caminos */

.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.path-card {
  display: block;
  padding: 30px 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.path-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.path-card--alt .path-num {
  background: linear-gradient(120deg, #ff8a3d, #ffc24b);
}

.path-card h2 {
  font-size: 1.4rem;
}

.path-card p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.path-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-dark);
}

/* --------------------------------------------------------------- secciones */

.section {
  padding-block: clamp(56px, 7vw, 96px);
}

.section-tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40ch;
  margin-bottom: 40px;
}

.page-hero {
  padding-block: clamp(48px, 6vw, 84px);
  background: linear-gradient(180deg, var(--tint-deep) 0%, #fbfdff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 18ch;
}

/* ------------------------------------------------------------------- tabs */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tab {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.tab:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ----------------------------------------------------- tarjetas de app */

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.app-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.app-card-body {
  flex: 1;
  padding: 24px 24px 6px;
}

.app-card-text {
  margin-top: 10px;
  color: var(--ink-soft);
}

.app-card-actions {
  display: grid;
  gap: 10px;
  padding: 20px 24px 24px;
}

/* Panel del logotipo: superficie de color, logo siempre contenido */
.logo-panel {
  display: grid;
  place-items: center;
  padding: 26px;
  min-height: 150px;
  background: var(--tint-deep);
}

.tone-coral { background: var(--tone-coral); }
.tone-amber { background: var(--tone-amber); }
.tone-violet { background: var(--tone-violet); }
.tone-mint { background: var(--tone-mint); }
.tone-sky { background: var(--tone-sky); }
.tone-ink { background: var(--tone-ink); }

.brand-logo {
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Los topes van en alto y ancho a la vez: cada logotipo crece hasta donde
   su propia proporción lo permite, sin deformarse ni desbordar el panel. */
.shape-wide {
  max-height: 68px;
  max-width: 88%;
}

.shape-square {
  max-height: 92px;
  max-width: 68%;
}

.shape-badge {
  max-height: 92px;
  max-width: 92px;
  border-radius: 50%;
}

.logo-panel-sm {
  min-height: 0;
  width: 62px;
  height: 62px;
  padding: 12px;
  border-radius: 16px;
  flex: none;
}

.logo-panel-sm .shape-square,
.logo-panel-sm .shape-badge {
  max-height: 38px;
  max-width: 38px;
}

.logo-panel-sm .shape-wide {
  max-height: 26px;
  max-width: 100%;
}

.logo-panel-lg {
  min-height: 300px;
  border-radius: var(--radius-lg);
  padding: 48px;
}

.logo-panel-lg .shape-square,
.logo-panel-lg .shape-badge {
  max-height: 150px;
  max-width: 150px;
}

.logo-panel-lg .shape-wide {
  max-height: 96px;
  max-width: 82%;
}

/* Listas con palomita */
.ticks {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.ticks-lg li {
  font-size: 1rem;
  color: var(--ink);
}

/* ------------------------------------------------------------ sobre Alan */

.about-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-split h2 {
  margin-bottom: 18px;
}

.about-split p {
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 30px;
  margin-bottom: 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 26px 0 28px;
}

.facts div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.facts dt {
  font-family: var(--font-display);
  font-weight: 700;
}

.facts dd {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* -------------------------------------------------------------- afiliados */

.affiliate-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.steps-wide {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.steps li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps li > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.link-list a {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.link-list a:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.promo-item {
  display: flex;
  flex-direction: column;
}

.promo-item .promo-main {
  flex: 1;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

.promo-item .promo-main:hover {
  transform: none;
}

.promo-cta,
.promo-soon {
  display: block;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.promo-cta {
  background: var(--tint-deep);
  color: var(--blue-dark);
  transition: background-color 0.18s ease;
}

.promo-cta:hover {
  background: var(--blue);
  color: #fff;
}

.promo-soon {
  background: #fff;
  color: var(--ink-soft);
  font-weight: 500;
}

.detail-site {
  margin-top: 18px;
}

.detail-site a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-dark);
  border-bottom: 2px solid var(--tint-deep);
  padding-bottom: 2px;
}

.detail-site a:hover {
  border-bottom-color: var(--blue);
}

.link-list strong {
  display: block;
  font-family: var(--font-display);
}

.link-list span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ------------------------------------------------------- página de producto */

.crumbs {
  padding-block: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crumbs a:hover {
  color: var(--blue);
}

.detail-hero {
  padding-bottom: clamp(44px, 6vw, 76px);
}

.detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 52px;
  align-items: center;
}

.detail-visual .logo-panel-lg {
  box-shadow: var(--shadow);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.benefit {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.benefit h3 {
  margin-bottom: 10px;
}

.benefit p {
  color: var(--ink-soft);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.mini-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.mini-card strong {
  display: block;
  font-family: var(--font-display);
}

.mini-card span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* -------------------------------------------------------------- banda CTA */

.band {
  padding-block: clamp(56px, 7vw, 88px);
  background: var(--navy);
  background-image: radial-gradient(circle at 15% 15%, rgba(34, 207, 250, 0.28), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(13, 93, 246, 0.4), transparent 55%);
  color: #fff;
  text-align: center;
}

.band-inner {
  max-width: 44ch;
  margin-inline: auto;
}

.band p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.band .btn-row {
  justify-content: center;
}

/* ------------------------------------------------------------------- pie */

.site-footer {
  padding-top: clamp(48px, 6vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(150px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 170px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--ink-soft);
  max-width: 30ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h2 {
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------- hoja modal */

.sheet {
  width: min(460px, calc(100vw - 32px));
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.sheet::backdrop {
  background: rgba(7, 16, 51, 0.55);
  backdrop-filter: blur(3px);
}

.sheet-close-form {
  display: flex;
  justify-content: flex-end;
  margin: -12px -12px 0 0;
}

.sheet-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.sheet h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.sheet-copy {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.sheet-message {
  margin: 18px 0;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--tint);
  user-select: all;
}

.sheet-note {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
}

/* --------------------------------------------------- movimiento reducido */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .hero-inner,
  .detail-inner,
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-figure {
    max-width: 340px;
    margin-inline: auto;
  }

  .about-figure {
    order: -1;
    max-width: 380px;
    margin-inline: auto;
  }

  .detail-visual {
    max-width: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
    position: relative;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    z-index: 39;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 18px var(--gutter) 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-top: 14px;
    border-bottom: 0;
    justify-content: center;
  }

  .menu-open .site-nav {
    transform: translateY(0);
    visibility: visible;
  }

  .menu-open {
    overflow: hidden;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  :root {
    --gutter: 18px;
  }

  .paths {
    margin-top: -20px;
  }

  .btn {
    width: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  .hero-figure img {
    width: min(100%, 268px);
    border-width: 7px;
  }

  .hero-figure figcaption {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .app-grid,
  .benefit-grid,
  .mini-grid,
  .link-list,
  .steps-wide {
    grid-template-columns: 1fr;
  }

  .logo-panel-lg {
    min-height: 220px;
    padding: 32px;
  }

  .logo-panel-lg .shape-square,
  .logo-panel-lg .shape-badge {
    max-height: 108px;
    max-width: 108px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sheet {
    padding: 22px;
  }
}
