:root {
  color-scheme: light;
  --brand: #ffbb03;
  --brand-strong: #d99d00;
  --ink: #111111;
  --ink-soft: #3f4145;
  --muted: #696c72;
  --background: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #efefeb;
  --border: #d9d9d3;
  --focus: #8a6500;
  --danger: #a52a2a;
  --shadow-sm: 0 8px 24px rgba(17, 17, 17, 0.07);
  --shadow-md: 0 20px 60px rgba(17, 17, 17, 0.1);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --container: 72rem;
  --reading: 46rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.84rem);
  --step-0: clamp(1rem, 0.99rem + 0.08vw, 1.03rem);
  --step-1: clamp(1.08rem, 1rem + 0.45vw, 1.35rem);
  --step-2: clamp(1.42rem, 1.2rem + 1vw, 1.95rem);
  --step-3: clamp(1.82rem, 1.45rem + 1.8vw, 2.9rem);
  --step-4: clamp(2.42rem, 1.72rem + 3.45vw, 4.5rem);
  --header-height: 4.75rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 600ms;
  --reveal-shift: 14px;
  --stagger: 80ms;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f8f8f5;
  --ink-soft: #d5d5cf;
  --muted: #aaa9a2;
  --background: #10110f;
  --surface: #181917;
  --surface-soft: #232420;
  --border: #383a34;
  --focus: #ffcf4c;
  --danger: #ff8d8d;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.34);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-2);
}

h3 {
  font-size: var(--step-1);
}

p,
ul,
ol {
  margin: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-7);
}

.section-compact {
  padding-block: var(--space-6);
}

.section-heading {
  display: grid;
  max-width: 46rem;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 0.25rem;
  margin-right: 0.65rem;
  border-radius: 999px;
  background: var(--brand);
  vertical-align: 0.18em;
}

.lead {
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--background);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  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 {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand-link,
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-link img {
  width: 8.2rem;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 1.6rem);
}

.desktop-nav a,
.mobile-menu a {
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 680;
  text-decoration: none;
}

.desktop-nav a {
  position: relative;
  padding-block: 0.55rem;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 0.18rem;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--background);
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.button-brand {
  border-color: var(--brand);
  background: var(--brand);
  color: #111111;
}

.button-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
}

.button-small {
  min-height: 2.5rem;
  padding: 0.58rem 0.95rem;
  font-size: var(--step--1);
}

.icon-button {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -0.36rem;
}

.menu-lines::after {
  top: 0.36rem;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.mobile-menu-inner {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-4) var(--space-5);
}

.mobile-menu a:not(.button) {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

.mobile-menu a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  width: 30rem;
  height: 30rem;
  top: -16rem;
  right: -8rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 20%, transparent);
  filter: blur(1px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.hero-copy {
  display: grid;
  gap: var(--space-4);
}

.hero-copy h1 {
  max-width: 13ch;
}

.hero-copy h1 span {
  position: relative;
}

.hero-copy h1 span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.02em;
  left: 0;
  z-index: -1;
  height: 0.2em;
  border-radius: 999px;
  background: var(--brand);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: 0;
  color: var(--muted);
  font-size: var(--step--1);
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--brand) 18%, transparent);
}

.brand-visual {
  position: relative;
  display: grid;
  min-height: 28rem;
  place-items: center;
}

.brand-visual::before,
.brand-visual::after {
  content: "";
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.brand-visual::before {
  width: 26rem;
  height: 26rem;
}

.brand-visual::after {
  width: 19rem;
  height: 19rem;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.brand-visual img {
  position: relative;
  z-index: 1;
  width: min(58%, 14rem);
  height: auto;
}

.floating-note {
  position: absolute;
  z-index: 2;
  max-width: 12rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 700;
}

.floating-note.top {
  top: 2rem;
  right: 0;
}

.floating-note.bottom {
  bottom: 2rem;
  left: 0;
}

.surface-band {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-4);
}

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

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

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

.card {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.card-accent {
  border-top: 0.4rem solid var(--brand);
}

.card-number {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #111111;
  font-weight: 820;
}

.icon-tile {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--brand) 22%, var(--surface));
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 820;
}

.icon-tile svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.feature-art {
  position: relative;
  display: grid;
  min-height: 22rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 28%, transparent), transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 2.9rem, color-mix(in srgb, var(--border) 55%, transparent) 3rem),
    repeating-linear-gradient(0deg, transparent 0 2.9rem, color-mix(in srgb, var(--border) 55%, transparent) 3rem),
    var(--surface);
}

.feature-art img {
  width: min(52%, 11rem);
}

.check-list {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-strong);
  font-weight: 900;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-5);
  padding: clamp(1.8rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--background);
}

.cta-panel h2 {
  color: inherit;
}

.cta-panel p {
  max-width: 44rem;
  color: color-mix(in srgb, var(--background) 75%, transparent);
}

.ai-banner {
  border-left: 0.4rem solid var(--brand);
  background: var(--surface);
  color: var(--ink);
}

.ai-banner p {
  color: var(--ink-soft);
}

.status-pill {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: var(--step--1);
  font-weight: 760;
  white-space: nowrap;
}

.category-card {
  place-items: center;
  min-height: 10rem;
  text-align: center;
}

.category-card h3 {
  font-size: var(--step-0);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-4);
}

.audience-card-dark {
  background: var(--ink);
  color: var(--background);
}

.audience-card-dark h2,
.audience-card-dark h3,
.audience-card-dark p,
.audience-card-dark .eyebrow {
  color: inherit;
}

.text-link {
  width: fit-content;
  color: var(--brand);
  font-weight: 780;
}

.waitlist-actions {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  font-size: var(--step--1);
}

.qr-link {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.qr-link img {
  width: clamp(8rem, 14vw, 11rem);
  height: auto;
  padding: 0.45rem;
  border: 1px solid color-mix(in srgb, var(--background) 24%, transparent);
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.qr-link:hover img {
  transform: translateY(-0.15rem);
  box-shadow: var(--shadow-sm);
}

.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  display: grid;
  max-width: 52rem;
  gap: var(--space-4);
}

.page-hero h1 {
  font-size: var(--step-3);
}

.legal-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, var(--reading));
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.toc {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: grid;
  gap: 0.5rem;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.toc h2,
.toc-title {
  margin-bottom: 0.4rem;
  font-size: var(--step-0);
  font-weight: 780;
}

.toc a {
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.legal-content {
  min-width: 0;
}

.markdown-content > h1 {
  margin-bottom: var(--space-4);
  font-size: var(--step-3);
}

.markdown-content > p {
  margin-bottom: var(--space-3);
  color: var(--ink-soft);
}

.legal-content > section {
  display: grid;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.legal-content > section:first-child {
  padding-top: 0;
}

.legal-content h2 {
  font-size: var(--step-2);
}

.legal-content h3 {
  margin-top: var(--space-3);
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.3rem;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.table-scroll:focus-visible {
  outline-offset: 0.2rem;
}

table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  background: var(--surface);
  font-size: var(--step--1);
}

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

th {
  background: var(--surface-soft);
  color: var(--ink);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.document-actions {
  display: flex;
  justify-content: flex-end;
}

.legal-note {
  padding: var(--space-4);
  border-left: 0.35rem solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface-soft);
}

.back-top {
  display: inline-flex;
  margin-top: var(--space-5);
  color: var(--ink-soft);
  font-weight: 700;
}

.faq-list {
  display: grid;
  max-width: 54rem;
  margin-inline: auto;
  gap: var(--space-3);
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.faq-list summary {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.55rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.2rem 1.2rem;
  color: var(--ink-soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-aside {
  display: grid;
  align-content: space-between;
  gap: var(--space-5);
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--ink);
  color: var(--background);
}

.contact-aside h2 {
  color: inherit;
}

.contact-aside p {
  color: color-mix(in srgb, var(--background) 72%, transparent);
}

.contact-main {
  display: grid;
  align-content: center;
  gap: var(--space-4);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.mail-card {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
}

.mail-card a:not(.button) {
  overflow-wrap: anywhere;
  font-weight: 760;
}

.site-footer {
  margin-top: var(--space-7);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
}

.footer-grid > * {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-grid h2 {
  margin-bottom: 0.35rem;
  font-size: var(--step-0);
}

.footer-grid a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-logo img {
  width: 9rem;
  height: auto;
}

.footer-brand p,
.footer-grid section p {
  color: var(--muted);
  font-size: var(--step--1);
}

.footer-bottom {
  padding-block: var(--space-3);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--step--1);
}

.error-page {
  display: grid;
  min-height: 66vh;
  place-items: center;
  padding-block: var(--space-7);
}

.error-card {
  display: grid;
  max-width: 42rem;
  justify-items: center;
  gap: var(--space-4);
  text-align: center;
}

.error-code {
  color: var(--brand-strong);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  line-height: 0.8;
}

@media (max-width: 64rem) {
  .desktop-cta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 52rem) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero-grid,
  .split-feature,
  .contact-panel,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .brand-visual {
    min-height: 22rem;
  }

  .brand-visual::before {
    width: 21rem;
    height: 21rem;
  }

  .brand-visual::after {
    width: 15rem;
    height: 15rem;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    max-height: 12rem;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .status-pill {
    width: fit-content;
    white-space: normal;
  }
}

@media (max-width: 38rem) {
  :root {
    --space-7: 3.5rem;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .brand-link img {
    width: 7.1rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-grid {
    gap: var(--space-5);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .brand-visual {
    min-height: 19rem;
  }

  .brand-visual::before {
    width: 18rem;
    height: 18rem;
  }

  .brand-visual::after {
    width: 13rem;
    height: 13rem;
  }

  .floating-note {
    max-width: 9.5rem;
    padding: 0.7rem;
    font-size: 0.75rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.25rem;
  }
}

/* Movimiento
   Solo se animan opacity, translate y transform (capa de composición). Cada
   aparición se ejecuta una sola vez, el desplazamiento nunca supera 16 px y no
   se anima ningún filtro ni desenfoque.
   La lista de selectores de aparición debe mantenerse sincronizada con
   revealSelector en assets-src/js/main.js. */

html.js :is(
    .hero-copy > *,
    .brand-visual,
    .page-hero-inner > *,
    .section-heading,
    .card,
    .cta-panel,
    .contact-panel,
    .feature-art,
    .faq-list details,
    .error-card > *,
    .toc,
    .markdown-content > h1
  ) {
  opacity: var(--reveal-o, 0);
  translate: 0 var(--reveal-t, var(--reveal-shift));
}

html.js .is-visible {
  animation: tg-reveal var(--dur-3) var(--ease-out) both;
}

@keyframes tg-reveal {
  from {
    opacity: 0;
    translate: 0 var(--reveal-shift);
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

html.js :is(.hero-copy, .page-hero-inner, .error-card) > *:nth-child(2) {
  animation-delay: var(--stagger);
}

html.js :is(.hero-copy, .page-hero-inner, .error-card) > *:nth-child(3) {
  animation-delay: calc(var(--stagger) * 2);
}

html.js :is(.hero-copy, .page-hero-inner, .error-card) > *:nth-child(4) {
  animation-delay: calc(var(--stagger) * 3);
}

html.js .grid-4 > .card:nth-child(4n + 2) {
  animation-delay: calc(var(--stagger) * 0.75);
}

html.js .grid-4 > .card:nth-child(4n + 3) {
  animation-delay: calc(var(--stagger) * 1.5);
}

html.js .grid-4 > .card:nth-child(4n + 4) {
  animation-delay: calc(var(--stagger) * 2.25);
}

html.js :is(.grid-2, .audience-grid) > .card:nth-child(2n) {
  animation-delay: var(--stagger);
}

html.js .hero-copy > h1 span::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 700ms var(--ease-out) 420ms;
}

html.js .hero-copy > h1.is-visible span::after {
  transform: scaleX(1);
}

.brand-visual img {
  animation: tg-float 6s var(--ease-soft) infinite alternate;
}

.brand-visual::before {
  animation: tg-breathe 9s var(--ease-soft) infinite alternate;
}

@keyframes tg-float {
  from {
    transform: translateY(-5px);
  }

  to {
    transform: translateY(5px);
  }
}

@keyframes tg-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.03);
  }
}

html.is-page-hidden .brand-visual img,
html.is-page-hidden .brand-visual::before {
  animation-play-state: paused;
}

.card {
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}

.category-card:hover,
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.category-card .icon-tile {
  transition: transform var(--dur-1) var(--ease-out);
}

.category-card:hover .icon-tile {
  transform: rotate(-4deg) scale(1.06);
}

.button:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 90ms;
}

.icon-button {
  transition: transform var(--dur-1) var(--ease-out);
}

.icon-button:active {
  transform: scale(0.94);
}

.site-header {
  transition: box-shadow var(--dur-2) var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.faq-list summary::after {
  transition: transform var(--dur-1) var(--ease-out);
}

.faq-list summary:hover::after {
  transform: scale(1.15);
}

.faq-list details[open] .faq-answer {
  animation: tg-faq-open var(--dur-2) var(--ease-out) both;
}

@keyframes tg-faq-open {
  from {
    opacity: 0;
    translate: 0 -6px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 52rem) {
  html.js .grid-4 > .card:nth-child(n) {
    animation-delay: 0ms;
  }

  html.js .grid-4 > .card:nth-child(2n) {
    animation-delay: calc(var(--stagger) * 0.75);
  }

  html.js .audience-grid > .card:nth-child(n) {
    animation-delay: 0ms;
  }
}

@media (max-width: 38rem) {
  html.js :is(.grid-2, .grid-4, .audience-grid) > .card:nth-child(n) {
    animation-delay: 0ms;
  }
}

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

  html.js {
    --reveal-o: 1;
    --reveal-t: 0px;
    --reveal-shift: 0px;
  }

  html.js .hero-copy > h1 span::after {
    transform: scaleX(1);
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
