*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

:root {
  /* App color system */
  --bg-dark: #1D1611;
  --bg-cream: #FAF8F5;
  --fg-dark: #1A1714;
  --fg-muted: #6B7280;
  --purple-deep: #390099;
  --purple-bright: #3e00b7;
  --purple-light: #cfa5fe;
  --purple-secondary: #E8D5FF;
  --accent-terracotta: #E07A5F;
  --yellow: #ffbd00;
  --border: #E5E5E5;
  --card: #FFFFFF;
  --text-muted: #64748b;
  --pill-green-bg: #eaf6da;
  --pill-green-text: #619e1e;
  --pill-purple-bg: #f8defc;
  --pill-purple-text: #b000c8;
  --pill-blue-bg: #d8f2f7;
  --pill-blue-text: #137fa3;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --hero-dark: #110d0a;
  --pricing-bg: #f8f8f8;

  /* Z-index scale */
  --z-base: 1;
  --z-above: 2;
  --z-content: 5;
  --z-overlay: 10;
  --z-header: 100;
  --z-modal: 2000;

  /* Gradients */
  --gradient-cta: linear-gradient(135deg, #F5A030 0%, #EB7040 35%, #E05050 70%, #D64060 100%);

  /* Dark card background */
  --color-card-dark: #2D2824;

  /* Typography — only variables actually referenced in rules */
  --text-nav: 0.9375rem;
  --text-btn: 0.9375rem;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--fg-dark);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.font-display { font-family: 'DM Serif Display', serif; }
.font-sans { font-family: 'IBM Plex Sans', sans-serif; }
.container { max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.hp-hidden { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   SITE HEADER / NAVIGATION
   Base = mobile (hamburger visible, nav hidden)
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  height: 60px;
  background: transparent;
  transition: height 0.35s ease;
}

.site-header--scrolled {
  height: 72px;
  background: var(--bg-cream);
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.site-header__inner {
  width: 100%;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo + tagline */
.site-header__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  flex-shrink: 0;
  transition: gap 0.35s ease;
}
.site-header--scrolled .site-header__brand {
  gap: 3px;
}
.site-header__logo {
  display: block;
  text-decoration: none;
  position: relative;
  height: 40px;
  transition: height 0.35s ease;
}
.site-header--scrolled .site-header__logo {
  height: 33px;
}
.site-header__logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.35s ease;
}

/* Default: dark logo visible, light logo hidden */
.site-header__logo img.site-header__logo-dark  { opacity: 1; }
.site-header__logo img.site-header__logo-light { opacity: 0; }

/* Scrolled: crossfade */
.site-header--scrolled .site-header__logo img.site-header__logo-dark  { opacity: 0; }
.site-header--scrolled .site-header__logo img.site-header__logo-light { opacity: 1; }

.site-header__tagline {
  display: none;
}

/* Right side — nav + buttons */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Nav links — hidden on mobile */
.site-header__nav {
  display: none;
}
.site-header__link {
  font-size: var(--text-nav);
  font-weight: 500;
  color: white;
  text-decoration: none;
}
.site-header__link:hover {
  opacity: 0.75;
}
.site-header--scrolled .site-header__link {
  color: var(--purple-deep);
}
.site-header--scrolled .site-header__link:hover {
  opacity: 0.7;
}

/* Buttons — hidden on mobile */
.site-header__btn {
  display: none;
  font-size: var(--text-btn);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 20px;
  white-space: nowrap;
  cursor: pointer;
}
.site-header__btn:hover {
  opacity: 0.88;
}

/* Secondary (login) */
.site-header__btn--secondary {
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: transparent;
}
.site-header--scrolled .site-header__btn--secondary {
  color: var(--purple-deep);
  border-color: var(--purple-deep);
  background: transparent;
}

/* Primary (demo CTA) — purple in both default and scrolled states */
.site-header__btn--primary {
  color: white;
  background: var(--purple-deep);
  border: 1.5px solid var(--purple-deep);
}

/* ============================================
   HAMBURGER MENU (visible on mobile by default)
   ============================================ */
.site-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.site-header__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header--scrolled .site-header__hamburger span {
  background: var(--purple-deep);
}
/* 7px = bar height (2px) + gap (5px) — moves bar to center then rotates */
.site-header__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.site-header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__mobile-menu {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-cream);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  flex-direction: column;
  padding: 8px 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header__mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.site-header__mobile-link {
  display: block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  color: var(--purple-deep);
  text-decoration: none;
}
.site-header__mobile-link:hover {
  background: rgba(57,0,153,0.05);
}
.site-header__mobile-btn {
  display: block;
  margin: 8px 32px 16px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: var(--purple-deep);
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
}

/* ============================================
   HERO
   Base = small phone
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  background-color: var(--hero-dark);
  overflow: visible;
  padding-bottom: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background-image: url("./background-gradient-no-blur.svg");
  background-position: center 103%;
  background-repeat: no-repeat;
  background-size: 800px auto;
  filter: blur(80px);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: var(--z-overlay);
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 16px 0;
  text-align: center;
}
.hero__eyebrow {
  font-size: 16px;
  color: var(--purple-light);
  margin-bottom: 32px;
}
.hero__headline {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 34px;
  color: white;
  text-transform: uppercase;
  max-width: 90%;
  margin: 0 auto 32px;
}
.hero__subhead {
  font-weight: 300;
  font-size: 16px;
  line-height: normal;
  color: white;
  max-width: 90%;
  margin: 0 auto 40px;
}
.hero__screenshot {
  position: relative;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  margin-bottom: -40px;
}
.hero__screenshot img {
  width: 100%;
  height: auto;
  border-radius: 16px 16px 0 0;
  border: 4px solid rgba(23,18,15,0.75);
  border-bottom: none;
  display: block;
}
.hero__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: var(--z-content);
}
.hero__play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}
.hero__play-btn:hover {
  background: rgba(57, 0, 153, 0.85);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ============================================
   TRUST BAR
   Base = small phone
   ============================================ */
.trust-bar {
  position: relative;
  z-index: var(--z-overlay);
  width: 100%;
  background: var(--purple-bright);
  padding: 24px 0;
}

.trust-bar__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.trust-bar__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.trust-bar__item {
  font-size: 16px;
  line-height: normal;
  color: var(--purple-light);
  white-space: nowrap;
}

.trust-bar__item::after {
  content: '·';
  font-size: 24px;
  font-weight: 300;
  opacity: 0.7;
  margin-left: 24px;
}

.trust-bar__item .light { font-weight: 300; }
.trust-bar__item .medium { font-weight: 500; }

/* Requires duplicated items in HTML for seamless loop (translateX(-50%) = half of doubled content) */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   FEAR / RELIEF
   Base = stacked column, small phone sizes
   ============================================ */
.fear-relief {
  width: 100%;
  background: var(--bg-cream);
}
.fear-relief__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding: 48px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.fear-relief__text {
  flex: 1;
  text-align: center;
}
.fear-relief__visual {
  flex: 1;
  width: 100%;
}
.fear-relief__visual img {
  width: 100%;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.fear-relief__headline {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 34px;
  color: var(--fg-dark);
  margin-bottom: 24px;
}
.fear-relief__lines { display: flex; flex-direction: column; gap: 28px; }
.fear-relief__line {
  font-size: 16px;
  font-weight: 300;
  line-height: normal;
  color: var(--fg-dark);
}
.fear-relief__line .light { font-weight: 300; }
.fear-relief__line .medium { font-weight: 500; }

/* ============================================
   DOCUMENT TYPES
   Base = stacked column-reverse, small phone sizes
   ============================================ */
.doc-types {
  width: 100%;
  background: var(--bg-cream);
}
.doc-types__inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
  align-items: center;
  padding: 48px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.doc-types__visual {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-types__visual img {
  max-width: 80%;
  max-height: 640px;
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.doc-types__text {
  flex: 1;
  text-align: center;
}
.doc-types__headline {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 34px;
  color: var(--fg-dark);
  margin-bottom: 24px;
}
.doc-types__list { display: flex; flex-direction: column; gap: 16px; }
.doc-types__item { display: flex; gap: 12px; align-items: center; flex-direction: column; }
.doc-types__pill {
  padding: 4px 16px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 300;
  white-space: nowrap;
}
.doc-types__pill--green { background: var(--pill-green-bg); color: var(--pill-green-text); }
.doc-types__pill--purple { background: var(--pill-purple-bg); color: var(--pill-purple-text); }
.doc-types__pill--blue { background: var(--pill-blue-bg); color: var(--pill-blue-text); }
.doc-types__desc { font-size: 16px; font-weight: 300; color: var(--fg-dark); }

/* ============================================
   COMING SOON BAR
   Base = small phone
   ============================================ */
.coming-soon {
  width: 100%;
  background: var(--yellow);
  padding: 24px 16px;
}
.coming-soon__text {
  font-size: 16px;
  line-height: normal;
  color: var(--bg-dark);
  text-align: center;
}

/* ============================================
   DIAGNOSTICO PROMO
   Base = small phone
   ============================================ */
.diagnostico-promo {
  position: relative;
  width: 100%;
  background: var(--hero-dark);
  overflow: hidden;
  text-align: center;
}
.diagnostico-promo__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(57,0,153,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.diagnostico-promo__inner {
  position: relative;
  padding: 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.diagnostico-promo__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-light);
  margin-bottom: 1rem;
}
.diagnostico-promo__headline {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
  color: white;
  max-width: 36rem;
  margin-bottom: 1rem;
}
.diagnostico-promo__subtitle {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.diagnostico-promo__cta {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 12px;
  background: var(--gradient-cta);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.diagnostico-promo__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.diagnostico-promo__cta:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
}

/* ============================================
   PRICING
   Base = single column, small phone sizes
   ============================================ */
.pricing {
  width: 100%;
  background: var(--pricing-bg);
}
.pricing__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 16px;
}
.pricing__headline {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  line-height: 1.2;
  color: var(--fg-dark);
  text-align: center;
  margin-bottom: 32px;
}
.pricing__badge-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
.pricing__badge {
  background: var(--yellow);
  padding: 6px 18px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--bg-dark);
}
.pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.pricing__card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
}
.pricing__card--featured {
  border: 2px solid var(--purple-bright);
  position: relative;
}
.pricing__popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--purple-bright);
  color: white;
  padding: 3px 12px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.pricing__card-name {
  font-weight: 600;
  font-size: 20px;
  color: var(--fg-dark);
  margin-bottom: 4px;
}
.pricing__card-cifs {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.pricing__old-price {
  font-size: 16px;
  color: var(--gray-400);
  text-decoration: line-through;
}
.pricing__new-price {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--fg-dark);
}
.pricing__period {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing__btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.pricing__btn--dark {
  background: var(--card);
  color: var(--purple-bright);
  border: 2px solid var(--purple-bright);
}
.pricing__btn--purple {
  background: var(--purple-bright);
  color: white;
}
.pricing__footer {
  text-align: center;
}
.pricing__footer-note {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing__footer-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--purple-bright);
  text-decoration: none;
}

/* ============================================
   SECURITY — EU STRIP
   Base = stacked column, small phone
   ============================================ */
.sec-strip {
  width: 100%;
  background: var(--hero-dark);
}
.sec-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 16px;
}
.sec-strip__headline {
  font-size: 24px;
  line-height: 1.2;
  color: white;
  text-align: center;
  margin-bottom: 40px;
}
.sec-strip__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sec-strip__item {
  flex: 1;
  text-align: center;
  padding: 0;
}
.sec-strip__divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.sec-strip__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
}
.sec-strip__title {
  font-weight: 600;
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.sec-strip__desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}

/* ============================================
   SECURITY — MINIMAL CHECKMARKS
   Base = small phone
   ============================================ */
.sec-check {
  width: 100%;
  background: var(--bg-cream);
  padding: 48px 16px;
}
.sec-check__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.sec-check__headline {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  line-height: 1.2;
  color: var(--fg-dark);
  text-align: center;
  margin-bottom: 40px;
}
.sec-check__list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sec-check__item {
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.sec-check__mark {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1;
}
.sec-check__title {
  font-weight: 600;
  font-size: 20px;
  color: var(--fg-dark);
  margin-bottom: 6px;
}
.sec-check__desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   Base = single column, small phone
   ============================================ */
.app-footer {
  width: 100%;
  background: var(--purple-deep);
  display: flex;
  flex-direction: column;
}
.app-footer__main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.app-footer__title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  line-height: 1.1;
  color: white;
  text-align: center;
  margin-bottom: 40px;
}
.app-footer__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.app-footer__about p {
  font-size: 18px;
  line-height: 1.6;
  color: white;
  margin-bottom: 16px;
}
.app-footer__about .highlight {
  font-weight: 600;
}
.app-footer__about .muted {
  color: rgba(255,255,255,0.9);
}
.app-footer__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-footer__input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  border: none;
  background: var(--card);
  color: var(--fg-dark);
  outline: none;
}
.app-footer__input:focus-visible {
  outline: 2px solid var(--purple-deep);
  outline-offset: 2px;
}
.app-footer__input::placeholder {
  color: var(--fg-muted);
}
.app-footer__submit {
  width: 100%;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  background: var(--gradient-cta);
}
.app-footer__privacy {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
}
.app-footer__privacy a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}
.app-footer__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 32px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  animation: footerSuccessFadeIn 0.4s ease-out;
}
.app-footer__success svg {
  filter: drop-shadow(0 0 12px rgba(235, 112, 64, 0.35));
}
.app-footer__success h3 {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.app-footer__success p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 0;
}
@keyframes footerSuccessFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-page {
  padding: 120px 24px 64px;
  min-height: 100vh;
}
.legal-page__inner {
  max-width: 720px;
  margin: 0 auto;
}
.legal-page__title {
  font-size: 2.25rem;
  color: var(--fg-dark);
  margin: 0 0 8px;
}
.legal-page__updated {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 48px;
}
.legal-page__section {
  margin-bottom: 32px;
}
.legal-page__heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-dark);
  margin: 0 0 12px;
}
.legal-page__text {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
}
.legal-page__list {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
  padding-left: 24px;
}
.legal-page__item {
  margin-bottom: 4px;
}
.legal-page__link {
  color: var(--purple-deep);
}
.legal-page__back {
  display: inline-block;
  margin-top: 32px;
  color: var(--purple-deep);
  font-size: 15px;
  text-decoration: none;
}
.legal-page__back:hover {
  text-decoration: underline;
}
@media (min-width: 1280px) {
  .legal-page__title {
    font-size: clamp(2.25rem, 2vw + 1rem, 2.75rem);
  }
}

.app-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 24px 24px;
}
.app-footer__legal-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}
.app-footer__copy {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.app-footer__links { display: flex; gap: 24px; justify-content: center; }
.app-footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

/* ============================================
   PRICING PAGE — Header initial state
   On precios.html, header starts scrolled (cream bg)
   since there's no dark hero section
   ============================================ */
.site-header--scrolled-initial {
  background: var(--bg-cream);
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}
.site-header--scrolled-initial .site-header__link {
  color: var(--purple-deep);
}
/* Active nav link — visible only at 769px+ where nav is shown */
.site-header--scrolled-initial .site-header__btn--secondary {
  color: var(--purple-deep);
  border-color: var(--purple-deep);
}
.site-header--scrolled-initial .site-header__logo img.site-header__logo-dark { opacity: 0; }
.site-header--scrolled-initial .site-header__logo img.site-header__logo-light { opacity: 1; }
.site-header--scrolled-initial .site-header__hamburger span {
  background: var(--purple-deep);
}
.site-header--scrolled-initial .site-header__tagline {
  color: var(--text-muted);
}

/* ============================================
   PRICING PAGE — Hero
   Base = mobile
   ============================================ */
.pp-hero {
  background: var(--bg-cream);
  padding-top: 80px;
}
.pp-hero--dark {
  background: var(--bg-dark);
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.pp-hero--dark .pp-hero__gradient {
  position: absolute;
  inset: 0;
  background-image: url("./background-gradient-no-blur.svg");
  background-position: center 120%;
  background-repeat: no-repeat;
  background-size: 1740px auto;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.7;
}
.pp-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px 24px;
  text-align: center;
}
.pp-hero--dark .pp-hero__inner {
  position: relative;
  z-index: var(--z-above);
  padding-bottom: 32px;
}

.pp-hero__headline {
  font-size: 28px;
  line-height: 1.15;
  color: var(--fg-dark);
  margin-bottom: 16px;
}
.pp-hero--dark .pp-hero__headline {
  color: white;
}
.pp-hero__subhead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--gray-600);
}
.pp-hero--dark .pp-hero__subhead {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   PRICING PAGE — Founding Program Banner
   Base = mobile (stacked)
   ============================================ */
/* Founding banner is now inside .pp-hero--dark */
.pp-hero--dark .pp-founding__inner {
  position: relative;
  z-index: var(--z-above);
  max-width: 1280px;
  margin: 0 auto 0;
  padding: 24px 20px;
}
.pp-founding__card {
  background: var(--color-card-dark);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 16px;
}
.pp-founding__icon-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.pp-founding__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.pp-founding__icon {
  font-size: 20px;
}
/* SVG icon variant */
.pp-founding__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.pp-founding__tiers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.pp-founding__tier {
  border-radius: 12px;
  padding: 20px;
}
.pp-founding__tier--green {
  background: linear-gradient(135deg, rgba(97,158,30,0.12) 0%, rgba(97,158,30,0.18) 100%);
  border: 1.5px solid rgba(97,158,30,0.35);
}
.pp-founding__tier--blue {
  background: linear-gradient(135deg, rgba(19,127,163,0.12) 0%, rgba(19,127,163,0.18) 100%);
  border: 1.5px solid rgba(19,127,163,0.35);
}
.pp-founding__tier-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.pp-founding__tier-discount {
  font-size: 28px;
  color: white;
  margin-bottom: 8px;
}
.pp-founding__tier-detail {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.pp-founding__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}
.pp-founding__badge--green {
  background: var(--pill-green-bg);
  color: var(--pill-green-text);
}
.pp-founding__badge--blue {
  background: var(--pill-blue-bg);
  color: var(--pill-blue-text);
}
.pp-founding__status {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.pp-founding__status strong {
  color: white;
}

/* ============================================
   PRICING PAGE — Toggle
   Base = mobile
   ============================================ */
/* Purple toggle band */
.pp-toggle-bar {
  background: var(--purple-bright);
  padding: 24px 16px;
}
.pp-toggles {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pp-toggle {
  display: flex;
  justify-content: center;
}
.pp-toggle__inner {
  position: relative;
  display: inline-flex;
  background: white;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  padding: 4px;
}
.pp-toggle__btn {
  position: relative;
  z-index: var(--z-above);
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.pp-toggle__btn--active {
  color: white;
}
.pp-toggle__btn:focus-visible {
  outline: 2px solid var(--purple-deep);
  outline-offset: 2px;
}
.pp-toggle__save {
  font-size: 11px;
  font-weight: 600;
  background: var(--yellow);
  color: var(--fg-dark);
  padding: 2px 8px;
  border-radius: 9999px;
}
.pp-toggle__slider {
  position: absolute;
  z-index: var(--z-base);
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--purple-deep);
  border-radius: 9999px;
  transition: transform 0.3s ease, width 0.3s ease;
}

/* Tier toggle — smaller variant */
.pp-toggle__inner--tier {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
}
.pp-toggle__btn--tier {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.pp-toggle__discount {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.7;
}
.pp-toggle__btn--active .pp-toggle__discount {
  opacity: 1;
}

/* ============================================
   PRICING PAGE — Cards
   Base = mobile, single column
   ============================================ */
.pp-cards {
  background: var(--bg-cream);
  padding: 32px 16px;
}
.pp-cards__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.pp-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pp-card--featured {
  border: 2px solid var(--purple-bright);
}
.pp-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-bright);
  color: white;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pp-card__head {
  margin-bottom: 20px;
}
.pp-card__name {
  font-size: 24px;
  color: var(--fg-dark);
  margin-bottom: 4px;
}
.pp-card__cifs {
  font-size: 14px;
  color: var(--text-muted);
}
.pp-card__price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pp-card__old {
  font-size: 16px;
  color: var(--gray-400);
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
  transition: opacity 0.15s ease;
}
.pp-card__current {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pp-card__amount {
  font-size: 40px;
  color: var(--fg-dark);
  transition: opacity 0.15s ease;
}
.pp-card__period {
  font-size: 16px;
  color: var(--text-muted);
}
.pp-card__tier {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-deep);
  margin-top: 6px;
}
.pp-card__includes {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.pp-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-card__features li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-dark);
  padding-left: 22px;
  position: relative;
}
.pp-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple-deep);
  font-weight: 700;
  font-size: 13px;
}
.pp-card__pitch {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
  margin-top: auto;
}
.pp-card__btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.pp-card__btn:hover {
  transform: scale(1.03);
}
.pp-card__btn:focus-visible {
  outline: 2px solid var(--purple-deep);
  outline-offset: 2px;
}
.pp-card__btn--outline {
  background: white;
  color: var(--purple-bright);
  border: 2px solid var(--purple-bright);
}
.pp-card__btn--solid {
  background: var(--purple-bright);
  color: white;
  border: 2px solid var(--purple-bright);
}

/* Pricing page card hover */
.pp-card.reveal-child {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease;
}
.reveal-stagger.is-visible > .pp-card.reveal-child {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reveal-stagger.is-visible > .pp-card.reveal-child:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}



/* ============================================
   PRICING PAGE — FAQ
   Base = mobile
   ============================================ */
.pp-faq {
  background: var(--pricing-bg);
  padding: 48px 16px;
}
.pp-faq__inner {
  max-width: 720px;
  margin: 0 auto;
}
.pp-faq__headline {
  font-size: 24px;
  line-height: 1.2;
  color: var(--fg-dark);
  text-align: center;
  margin-bottom: 32px;
}
.pp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pp-faq__item {
  border-bottom: 1px solid var(--border);
}
.pp-faq__item:first-child {
  border-top: 1px solid var(--border);
}
.pp-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.pp-faq__question:focus-visible {
  outline: 2px solid var(--purple-deep);
  outline-offset: 2px;
}
.pp-faq__icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--purple-deep);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.pp-faq__item.is-open .pp-faq__icon {
  transform: rotate(45deg);
}
.pp-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.pp-faq__item.is-open .pp-faq__answer {
  grid-template-rows: 1fr;
}
.pp-faq__answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.35s ease;
}
.pp-faq__item.is-open .pp-faq__answer-inner {
  padding-bottom: 20px;
}
.pp-faq__answer p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray-600);
}

/* ============================================
   PRICING PAGE — Enterprise CTA
   Base = mobile
   ============================================ */
.pp-enterprise {
  background: var(--bg-cream);
  padding: 32px 16px 48px;
}
.pp-enterprise__text {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.pp-enterprise__link {
  color: var(--purple-bright);
  font-weight: 600;
  text-decoration: none;
}
.pp-enterprise__link:hover {
  text-decoration: underline;
}

/* ============================================
   UTILITIES
   ============================================ */
.mb-24 { margin-bottom: 24px; }
.fw-600 { font-weight: 600; }

/* ============================================
   ANIMATIONS — Keyframes
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleReveal {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* ============================================
   ANIMATIONS — Hero Load Sequence
   Elements start hidden; JS adds .hero--animated
   to trigger the staggered entrance reliably on
   every load (fixes iOS Safari refresh issue).
   ============================================ */
.hero__gradient,
.hero__eyebrow,
.hero__headline,
.hero__subhead,
.hero__screenshot {
  opacity: 0;
}

.site-header {
  animation: fadeIn 1.8s ease-out 0.3s both;
}

.hero--animated .hero__gradient {
  animation: scaleReveal 1.8s ease-out both;
}

.hero--animated .hero__eyebrow {
  animation: fadeUp 0.7s ease-out 0.4s both;
}

.hero--animated .hero__headline {
  animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero--animated .hero__subhead {
  animation: fadeUp 0.7s ease-out 0.9s both;
}

.hero--animated .hero__screenshot {
  animation: fadeUp 0.8s ease-out 1.2s both;
}

/* ============================================
   ANIMATIONS — Scroll Reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--up {
  transform: translateY(40px);
}
.reveal--up.is-visible {
  transform: translateY(0);
}

.reveal-stagger > .reveal-child {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal-stagger.is-visible > .reveal-child {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > .reveal-child:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > .reveal-child:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > .reveal-child:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > .reveal-child:nth-child(4) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > .reveal-child:nth-child(5) { transition-delay: 0.6s; }
.reveal-stagger.is-visible > .reveal-child:nth-child(6) { transition-delay: 0.75s; }

/* Security strip: dividers between items shift nth-child indices (1,3,5,7 instead of 1,2,3,4) */
.sec-strip__grid.is-visible > .sec-strip__item.reveal-child:nth-child(1) { transition-delay: 0s; }
.sec-strip__grid.is-visible > .sec-strip__item.reveal-child:nth-child(3) { transition-delay: 0.15s; }
.sec-strip__grid.is-visible > .sec-strip__item.reveal-child:nth-child(5) { transition-delay: 0.3s; }
.sec-strip__grid.is-visible > .sec-strip__item.reveal-child:nth-child(7) { transition-delay: 0.45s; }

/* ============================================
   ANIMATIONS — Hover States
   ============================================ */
.pricing__card.reveal-child {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease;
}
.reveal-stagger.is-visible > .pricing__card.reveal-child {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reveal-stagger.is-visible > .pricing__card.reveal-child:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

.pricing__btn,
.site-header__btn,
.app-footer__submit {
  transition: transform 0.2s ease, filter 0.2s ease;
}
.pricing__btn:hover,
.site-header__btn:hover,
.app-footer__submit:hover {
  transform: scale(1.03);
}

/* Touch targets - all breakpoints */
.pricing__btn,
.app-footer__submit {
  min-height: 44px;
}

/* ============================================
   BREAKPOINT: 640px+ (larger phones, small tablets)
   ============================================ */
@media (min-width: 640px) {
  /* Hero */
  .hero__gradient {
    background-size: 1200px auto;
  }
  .hero__content {
    padding: 80px 20px 0;
  }
  .hero__eyebrow {
    margin-bottom: 32px;
  }
  .hero__headline {
    font-size: 36px;
    line-height: 42px;
  }
  .hero__subhead {
    font-size: 18px;
  }
  .hero__screenshot {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -40px;
  }

  /* Fear / Relief */
  .fear-relief__inner {
    padding: 60px 20px;
  }
  .fear-relief__headline {
    font-size: 32px;
    line-height: 38px;
  }
  .fear-relief__line {
    font-size: 18px;
  }
  .fear-relief__visual img {
    max-width: 340px;
  }

  /* Document Types */
  .doc-types__inner {
    padding: 60px 20px;
  }
  .doc-types__headline {
    font-size: 32px;
    line-height: 38px;
  }
  .doc-types__visual img {
    max-width: 340px;
  }

  /* Coming Soon */
  .coming-soon {
    padding: 24px 16px;
  }
  .coming-soon__text {
    font-size: 18px;
  }

  /* Diagnostico Promo */
  .diagnostico-promo__inner {
    padding: 3.5rem 1.25rem;
  }
  .diagnostico-promo__headline {
    font-size: 2rem;
  }

  /* Pricing */
  .pricing__inner {
    padding: 60px 20px;
  }
  .pricing__headline {
    font-size: 28px;
  }
  .pricing__badge {
    font-size: 14px;
  }
  .pricing__card {
    padding: 24px;
  }
  .pricing__card-name {
    font-size: 22px;
  }
  .pricing__card-cifs {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .pricing__old-price {
    font-size: 18px;
  }
  .pricing__new-price {
    font-size: 36px;
  }
  .pricing__period {
    font-size: 16px;
  }
  .pricing__btn {
    font-size: 15px;
  }
  .pricing__cards {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing__popular-badge {
    font-size: 14px;
    padding: 4px 16px;
    top: -16px;
  }

  /* Container */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Security — Strip */
  .sec-strip__inner {
    padding: 60px 20px;
  }
  .sec-strip__headline {
    font-size: 28px;
  }
  .sec-strip__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .sec-strip__divider {
    display: none;
  }

  /* Security — Checkmarks */
  .sec-check {
    padding: 60px 20px;
  }
  .sec-check__headline {
    font-size: 28px;
  }

  /* Footer */
  .app-footer__main {
    padding: 48px 20px;
  }
  .app-footer__title {
    font-size: 28px;
  }
  .app-footer__about {
    text-align: center;
  }
  .app-footer__form {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Pricing Page — 481px+ */
  .pp-hero__headline { font-size: 36px; }
  .pp-hero__subhead { font-size: 18px; }
  .pp-founding__tiers { flex-direction: row; gap: 16px; }
  .pp-founding__tier { flex: 1; }
  .pp-founding__tier-discount { font-size: 24px; }
  .pp-cards__inner {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .pp-card { padding: 24px; }
  .pp-card__amount { font-size: 36px; }
  .pp-hero--dark { padding-left: 20px; padding-right: 20px; }
  .pp-faq { padding: 48px 20px; }
  .pp-faq__headline { font-size: 28px; }
}

/* ============================================
   BREAKPOINT: 768px+ (tablets, desktops)
   Full nav, side-by-side layouts, 3-col pricing
   ============================================ */
@media (min-width: 768px) {
  /* Header — show full nav, hide hamburger */
  .site-header {
    height: 96px;
  }
  .site-header--scrolled {
    height: 72px;
  }
  .site-header__inner {
    padding: 0 32px;
  }
  .site-header__logo img {
    height: 100%;
  }
  .site-header__tagline {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
    color: rgba(255,255,255,0.6);
    transition: font-size 0.35s ease;
  }
  .site-header--scrolled .site-header__tagline {
    color: var(--text-muted);
    font-size: 10px;
  }
  .site-header__nav {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  .site-header__link--active {
    padding-bottom: 4px;
    border-bottom: 2px solid white;
  }
  .site-header--scrolled .site-header__link--active {
    border-bottom-color: var(--purple-deep);
  }
  .site-header--scrolled-initial .site-header__link--active {
    border-bottom-color: var(--purple-deep);
  }
  .site-header__btn {
    display: inline-block;
  }
  .site-header__hamburger {
    display: none;
  }
  .site-header__mobile-menu {
    display: none;
  }

  /* Container */
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Hero */
  .hero__gradient {
    background-size: 2390px auto;
  }
  .hero__content {
    padding: 176px 32px 0;
  }
  .hero__eyebrow {
    font-size: 24px;
    margin-bottom: 48px;
  }
  .hero__headline {
    font-size: 72px;
    line-height: 80px;
    max-width: 960px;
    margin: 0 auto 48px;
  }
  .hero__subhead {
    font-size: 32px;
    max-width: 960px;
    margin: 0 auto 80px;
  }
  .hero__screenshot {
    max-width: 1280px;
    margin-bottom: -90px;
  }
  .hero__play-btn {
    width: 72px;
    height: 72px;
  }
  .hero__play-btn svg {
    width: 28px;
    height: 28px;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 40px 0;
  }
  .trust-bar__track {
    gap: 60px;
  }
  .trust-bar__item {
    font-size: 32px;
  }
  .trust-bar__item::after {
    font-size: 48px;
    margin-left: 60px;
  }

  /* Fear / Relief — side-by-side */
  .fear-relief__inner {
    flex-direction: row;
    gap: 48px;
    padding: 120px 32px 0;
  }
  .fear-relief__text {
    text-align: left;
  }
  .fear-relief__headline {
    font-size: 44px;
    line-height: 52px;
    margin-bottom: 40px;
  }
  .fear-relief__line {
    font-size: 22px;
  }
  .fear-relief__visual img {
    max-width: 100%;
  }

  /* Document Types — side-by-side */
  .doc-types__inner {
    flex-direction: row;
    gap: 48px;
    padding: 120px 32px;
  }
  .doc-types__text {
    text-align: left;
  }
  .doc-types__headline {
    font-size: 44px;
    line-height: 52px;
    margin-bottom: 40px;
  }
  .doc-types__visual img {
    max-width: 640px;
  }
  .doc-types__list {
    gap: 28px;
  }
  .doc-types__item {
    flex-direction: row;
    gap: 24px;
    align-items: center;
  }
  .doc-types__pill {
    font-size: 20px;
  }
  .doc-types__desc {
    font-size: 20px;
  }

  /* Coming Soon */
  .coming-soon {
    padding: 48px 10px;
  }
  .coming-soon__text {
    font-size: 32px;
  }

  /* Diagnostico Promo */
  .diagnostico-promo__inner {
    padding: 4rem 2rem;
  }
  .diagnostico-promo__headline {
    font-size: 2.25rem;
  }
  .diagnostico-promo__subtitle {
    font-size: 1.0625rem;
  }

  /* Pricing — 3-column grid */
  .pricing__inner {
    padding: 100px 32px;
  }
  .pricing__headline {
    font-size: 48px;
    line-height: 72px;
  }
  .pricing__badge-wrap {
    margin-bottom: 48px;
  }
  .pricing__badge {
    font-size: 20px;
    padding: 8px 24px;
  }
  .pricing__cards {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: none;
  }
  .pricing__card {
    border-radius: 16px;
    padding: 32px;
  }
  .pricing__card--featured {
    border: 4px solid var(--purple-bright);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: scale(1.05);
  }
  .pricing__card-name {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .pricing__card-cifs {
    font-size: 18px;
    margin-bottom: 24px;
  }
  .pricing__price-row {
    gap: 12px;
    margin-bottom: 24px;
  }
  .pricing__old-price {
    font-size: 24px;
  }
  .pricing__new-price {
    font-size: 48px;
  }
  .pricing__period {
    font-size: 20px;
  }
  .pricing__btn {
    padding: 12px;
    font-size: 18px;
  }
  .pricing__footer-note {
    font-size: 18px;
  }
  .pricing__footer-link {
    font-size: 18px;
  }

  /* Featured pricing card: preserve scale(1.05) during reveal */
  .pricing__card--featured.reveal-child {
    transform: scale(1.05) translateY(16px);
  }
  .reveal-stagger.is-visible > .pricing__card--featured.reveal-child {
    transform: scale(1.05) translateY(0);
  }
  .reveal-stagger.is-visible > .pricing__card--featured.reveal-child:hover {
    transform: scale(1.05) translateY(-6px);
  }

  /* Security — Strip: horizontal with dividers */
  .sec-strip__inner {
    padding: 100px 32px;
  }
  .sec-strip__headline {
    font-size: 48px;
    margin-bottom: 72px;
  }
  .sec-strip__grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
  .sec-strip__divider {
    display: block;
    width: 1px;
    height: auto;
    align-self: stretch;
  }
  .sec-strip__item {
    padding: 0 32px;
  }

  /* Security — Checkmarks */
  .sec-check {
    padding: 100px 32px;
  }
  .sec-check__headline {
    font-size: 48px;
    margin-bottom: 64px;
  }

  /* Footer — 2-column grid */
  .app-footer__main {
    padding: 80px 32px;
  }
  .app-footer__title {
    font-size: 48px;
    margin-bottom: 64px;
  }
  .app-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .app-footer__about {
    text-align: left;
  }
  .app-footer__form {
    max-width: none;
    margin: 0;
  }
  .app-footer__legal-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .app-footer__links {
    justify-content: flex-end;
  }

  /* Pricing Page — 769px+ */
  .pp-hero { padding-top: 112px; }
  .pp-hero__inner { padding: 48px 32px 32px; }
  .pp-hero--dark { padding-left: 32px; padding-right: 32px; padding-bottom: 64px; }
  .pp-hero--dark .pp-founding__inner { padding: 32px; }
  .pp-hero__headline { font-size: 48px; }
  .pp-hero__subhead { font-size: 22px; }
  .pp-founding__tier-discount { font-size: 32px; }
  .pp-toggle-bar { padding: 28px 32px; }
  .pp-toggles { flex-direction: row; justify-content: center; gap: 16px; }
  .pp-cards { padding: 80px 32px 40px; }
  .pp-cards__inner {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1280px;
    align-items: stretch;
  }
  .pp-card {
    border-radius: 16px;
    padding: 32px;
  }
  .pp-card--featured {
    border: 4px solid var(--purple-bright);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: scale(1.05);
  }
  /* Featured card: preserve scale during reveal */
  .pp-card--featured.reveal-child {
    transform: scale(1.05) translateY(16px);
  }
  .reveal-stagger.is-visible > .pp-card--featured.reveal-child {
    transform: scale(1.05) translateY(0);
  }
  .reveal-stagger.is-visible > .pp-card--featured.reveal-child:hover {
    transform: scale(1.05) translateY(-6px);
  }
  .pp-card__name { font-size: 28px; }
  .pp-card__amount { font-size: 48px; }
  .pp-card__features li { font-size: 15px; }
  .pp-faq { padding: 64px 32px; }
  .pp-faq__headline { font-size: 40px; margin-bottom: 48px; }
  .pp-faq__question { font-size: 18px; padding: 24px 0; }
  .pp-enterprise { padding: 40px 32px 64px; }
  .pp-enterprise__text { font-size: 16px; }
}

/* ============================================
   BREAKPOINT: 1280px+ (large desktops)
   Full-size fonts for Fear/Relief and Doc Types
   ============================================ */
@media (min-width: 1280px) {
  .fear-relief__headline { font-size: 64px; line-height: 72px; }
  .fear-relief__line { font-size: 28px; }
  .doc-types__headline { font-size: 64px; line-height: 72px; }
  .doc-types__pill { font-size: 28px; }
  .doc-types__desc { font-size: 28px; }

  /* Diagnostico Promo */
  .diagnostico-promo__inner {
    padding: 5rem 2rem;
  }
  .diagnostico-promo__headline {
    font-size: clamp(2.25rem, 3vw, 2.75rem);
  }
  .diagnostico-promo__subtitle {
    font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  }
}

/* ============================================
   SUBSCRIPTION MODAL
   ============================================ */
body.modal-open { overflow: hidden; }

.sub-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sub-modal.is-open {
  display: flex;
}
.sub-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  animation: fadeIn 0.2s ease-out;
}
.sub-modal__dialog {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: fadeUp 0.3s ease-out;
}
.sub-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.sub-modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
}
.sub-modal__close:focus-visible {
  outline: 2px solid var(--purple-deep);
  outline-offset: 2px;
}
.sub-modal__plan {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--fg-dark);
  margin-bottom: 4px;
}
.sub-modal__price {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.sub-modal__spots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--bg-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
}
.sub-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sub-modal__input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--fg-dark);
  outline: none;
  transition: border-color 0.2s ease;
}
.sub-modal__input:focus-visible {
  border-color: var(--purple-deep);
}
.sub-modal__input::placeholder {
  color: var(--fg-muted);
}
.sub-modal__submit {
  width: 100%;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  background: var(--gradient-cta);
  transition: transform 0.2s ease, filter 0.2s ease;
  min-height: 44px;
}
.sub-modal__submit:hover {
  transform: scale(1.03);
}
.sub-modal__submit:focus-visible {
  outline: 2px solid var(--purple-deep);
  outline-offset: 2px;
}
.sub-modal__privacy {
  color: var(--fg-muted);
  font-size: 12px;
  text-align: center;
  margin-top: 4px;
}
.sub-modal__privacy a {
  color: var(--purple-deep);
  text-decoration: underline;
}
.sub-modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 24px 0;
  animation: footerSuccessFadeIn 0.4s ease-out;
}
.sub-modal__success svg {
  filter: drop-shadow(0 0 12px rgba(235, 112, 64, 0.35));
}
.sub-modal__success h3 {
  color: var(--fg-dark);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.sub-modal__success p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.video-modal.is-open {
  display: flex;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  animation: fadeIn 0.2s ease-out;
}
.video-modal__content {
  position: relative;
  width: 90vw;
  max-width: 1280px;
}
.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.15s ease;
}
.video-modal__close:hover {
  color: white;
}
.video-modal__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}
.video-modal__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: black;
  display: block;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html, html.lenis { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }
  .trust-bar__track {
    animation: none !important;
  }
}
