/* GENERADO por tool/gen-landing-tokens.ps1 — NO EDITAR A MANO.
 * Fuente: packages/design_system/lib/src/tokens/*.dart
 * Regenerar: pwsh -File tool/gen-landing-tokens.ps1
 */

:root {
  color-scheme: light;

  /* app_colors.dart */
  --color-primary: #1c3d5a;
  --color-secondary: #2a4a6d;
  --color-tertiary: #35567a;
  --color-accent: #4a90e2;
  --color-error: #e74c3c;
  --color-success: #2ecc71;
  --color-warning: #f1c40f;
  --color-success-on-light: #0e6b37;
  --color-warning-on-light: #6f5600;
  --color-error-on-light: #b33a2c;
  --color-accent-on-light: #1760a8;
  --color-error-on-dark: #ff8a82;
  --color-info-on-dark: #8fc2f5;
  --color-text-light: #f5f6f9;
  --color-text-light-muted: rgba(245, 246, 249, 0.702);
  --color-text-dark: #2c3e50;
  --color-text-primary: #264653;
  --color-text-secondary: #6b6b6b;
  --color-background-light: #ffffff;
  --color-background-dark: #121212;
  --color-surface-dark: #1e1e1e;
  --color-surface-dark-raised: #252b33;
  --color-surface-subtle: #f4f6f9;
  --color-border: #e0e0e0;
  --color-border-dark: #333b45;
  --color-glass-fill: rgba(255, 255, 255, 0.102);
  --color-glass-border: rgba(255, 255, 255, 0.2);
  --color-shadow-soft: rgba(0, 0, 0, 0.078);
  --color-shadow-soft-dark: rgba(0, 0, 0, 0.4);
  --color-shadow-panel: rgba(0, 0, 0, 0.259);
  --color-shadow-panel-dark: rgba(0, 0, 0, 0.6);
  --color-map-route: #2b5278;
  --color-shimmer-base: #e0e0e0;
  --color-shimmer-highlight: rgba(255, 255, 255, 0.851);
  --color-shimmer-base-dark: #2a313a;
  --color-shimmer-highlight-dark: #3a434e;

  /* firma de marca: primaryGradient */
  --gradient-brand: linear-gradient(135deg, #1c3d5a 0%, #234567 100%);

  /* app_radii.dart */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-card: 16px;
  --radius-glass: 16px;
  --radius-dialog: 24px;

  /* app_spacing.dart */
  --xs: 4px;
  --sm: 6px;
  --md: 12px;
  --lg: 16px;
  --xl: 24px;
  --xxl: 32px;
  --button-height: 56px;
  --min-touch-target: 48px;

  /* app_motion.dart */
  --motion-fast: 200ms;
  --motion-normal: 300ms;
  --motion-slow: 400ms;
  --ease-in: cubic-bezier(0.42, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.58, 1);

  /* app_typography.dart */
  --fs-h1: 32px;
  --fw-h1: 700;
  --ls-h1: -0.5px;
  --fs-h2: 24px;
  --fw-h2: 500;
  --ls-h2: -0.3px;
  --fs-h3: 20px;
  --fw-h3: 600;
  --ls-h3: -0.2px;
  --fs-h3-light: 20px;
  --fw-h3-light: 400;
  --ls-h3-light: -0.4px;
  --fs-modal-title: 24px;
  --fw-modal-title: 600;
  --fs-body: 16px;
  --fs-body-bold: 16px;
  --fw-body-bold: 700;
  --fs-body-small: 14px;
  --fs-secondary: 14px;
  --fw-secondary: 300;
  --fs-label: 14px;
  --fw-label: 500;
  --fs-navigation: 12px;
  --fw-navigation: 500;
  --fs-caption: 12px;
  --fs-button: 18px;
  --fw-button: 600;
  --fs-button-small: 14px;
  --fw-button-small: 600;
  --fs-price: 24px;
  --fw-price: 700;
  --ls-price: 0.2px;
  --fs-status: 14px;
  --fw-status: 500;
  --ls-status: 0.1px;
  /* Extensión web (no existe en la app): titular del hero, fluido. */
  --fs-display: clamp(2.25rem, 1.15rem + 3.4vw, 3.25rem);
  --leading-display: 1.05;
  --leading-heading: 1.12;
  --leading-body: 1.55;
  --measure: 68ch;

  /* Semántica de app_palette.dart (claro) */
  --bg: var(--color-background-light);
  --surface: var(--color-background-light);
  --surface-raised: var(--color-surface-subtle);
  --ink: var(--color-text-primary);
  --ink-strong: var(--color-primary);
  --ink-muted: var(--color-text-secondary);
  --line: var(--color-border);
  --brand: var(--color-primary);
  --brand-ink: var(--color-text-light);
  --accent: var(--color-accent-on-light);
  --shadow-card: 0 1px 2px var(--color-shadow-soft), 0 8px 24px var(--color-shadow-soft);
  --shadow-panel: 0 12px 40px var(--color-shadow-panel);
}

/* Modo oscuro explícito. No se usa prefers-color-scheme a propósito: el
 * sitio arranca en claro y el visitante decide (theme.js). Así la primera
 * impresión no depende del tema del sistema operativo. */
[data-theme="dark"] {
  color-scheme: dark;
  /* Semántica de app_palette.dart (oscuro) */
  --bg: var(--color-background-dark);
  --surface: var(--color-surface-dark);
  --surface-raised: var(--color-surface-dark-raised);
  --ink: var(--color-text-light);
  --ink-strong: var(--color-text-light);
  --ink-muted: var(--color-text-light-muted);
  --line: var(--color-border-dark);
  --brand: var(--color-accent);
  --brand-ink: var(--color-background-dark);
  --accent: var(--color-info-on-dark);
  /* Elevación x1.5 en oscuro (AGENTS.md 7.6): sin esto, la sombra de las
   * cards se calculaba como negro sobre negro y la UI se veía plana. */
  --shadow-card: 0 1px 2px var(--color-shadow-soft-dark), 0 12px 36px var(--color-shadow-soft-dark);
  --shadow-panel: 0 12px 40px var(--color-shadow-panel-dark);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 0ms;
    --motion-normal: 0ms;
    --motion-slow: 0ms;
  }
}

/* Manrope variable, subset latin (cubre tildes y signos del español).
 * Self-hosted: sin requests a Google, compatible con `font-src 'self'`.
 * Licencia OFL en /fonts/OFL.txt. */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-latin-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Alias de profundidad del sitio. Se derivan de los tokens generados con
 * color-mix: ningún color nuevo se escribe a mano aquí. */
:root {
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Planos: el `--surface-raised` de la app es casi blanco y no se percibe. */
  --surface-tint: color-mix(in srgb, var(--color-primary) 7%, var(--color-background-light));
  --surface-tint-strong: color-mix(in srgb, var(--color-primary) 12%, var(--color-background-light));

  --line-strong: color-mix(in srgb, var(--color-primary) 24%, var(--color-border));
  --hairline: color-mix(in srgb, var(--color-primary) 10%, transparent);
  --hairline-light: color-mix(in srgb, var(--color-text-light) 65%, transparent);

  /* Elevación en tres niveles. --elev-1/2 nacen de --shadow-card. */
  --elev-1: var(--shadow-card);
  --elev-2: 0 2px 4px var(--color-shadow-soft), 0 18px 36px var(--color-shadow-soft);
  --elev-3: var(--shadow-panel);

  --glow-brand: color-mix(in srgb, var(--brand) 30%, transparent);

  /* Filo superior de las cards: más oscuro en claro (lee como sombra),
   * iluminado en oscuro (lee como luz). */
  --card-edge: var(--hairline);

  /* Avisos y placeholders legales: el ámbar "onLight" desaparece en oscuro. */
  --notice-line: var(--color-warning-on-light);
  --notice-fill: color-mix(in srgb, var(--color-warning) 20%, transparent);
}

[data-theme='dark'] {
  --surface-tint: color-mix(in srgb, var(--color-accent) 7%, var(--color-background-dark));
  --surface-tint-strong: color-mix(in srgb, var(--color-accent) 12%, var(--color-background-dark));

  --line-strong: color-mix(in srgb, var(--color-text-light) 22%, var(--color-border-dark));
  --hairline: color-mix(in srgb, var(--color-text-light) 9%, transparent);

  /* En oscuro la sombra sola no alcanza: se suma un filo superior iluminado
   * y la elevación sube x1.5 (AGENTS.md 7.6). */
  --elev-1: var(--shadow-card), inset 0 1px 0 var(--hairline);
  --elev-2: 0 2px 6px var(--color-shadow-soft-dark), 0 20px 44px var(--color-shadow-soft-dark),
    inset 0 1px 0 var(--hairline);
  --elev-3: var(--shadow-panel), inset 0 1px 0 var(--hairline);

  --notice-line: color-mix(in srgb, var(--color-warning) 72%, transparent);
  --notice-fill: color-mix(in srgb, var(--color-warning) 16%, transparent);

  --card-edge: var(--hairline-light);
}

/* Reset mínimo */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--button-height) + var(--xl));
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    background-color var(--motion-normal) var(--ease-out),
    color var(--motion-normal) var(--ease-out);
}

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

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--color-accent);
  color: var(--color-text-light);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--lg);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--xl);
  }
}

.section {
  position: relative;
  padding-block: calc(var(--xxl) * 1.5);
}

@media (min-width: 768px) {
  .section {
    padding-block: calc(var(--xxl) * 2.5);
  }
}

/* Ritmo vertical: dos tonos que sí se distinguen. */
.section--tinted {
  background: var(--surface-tint);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--lg);
}

.grid {
  display: grid;
  gap: var(--lg);
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Tipografía: escala de app_typography.dart */
.display {
  font-size: var(--fs-display);
  font-weight: var(--fw-h1);
  letter-spacing: -0.035em;
  line-height: var(--leading-display);
  text-wrap: balance;
}

.h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  letter-spacing: var(--ls-h1);
  line-height: var(--leading-heading);
  text-wrap: balance;
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  letter-spacing: var(--ls-h2);
  line-height: var(--leading-heading);
  text-wrap: balance;
}

.h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  letter-spacing: var(--ls-h3);
  line-height: var(--leading-heading);
}

.lead {
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3-light);
  letter-spacing: var(--ls-h3-light);
  line-height: var(--leading-body);
  color: var(--ink-muted);
  max-width: var(--measure);
  text-wrap: pretty;
}

.body-small {
  font-size: var(--fs-body-small);
  line-height: var(--leading-body);
  color: var(--ink-muted);
  text-wrap: pretty;
}

.caption {
  font-size: var(--fs-caption);
  color: var(--ink-muted);
}

/* Etiqueta de sección */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sm);
  font-size: var(--fs-navigation);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}

/* Botones: altura 56, radios de app_radii */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sm);
  min-height: var(--min-touch-target);
  padding: var(--md) var(--xl);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--fs-button-small);
  font-weight: var(--fw-button-small);
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  min-height: var(--button-height);
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--color-text-light) 20%, transparent),
    0 2px 6px var(--glow-brand),
    0 14px 30px color-mix(in srgb, var(--brand) 22%, transparent);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--color-text-light) 28%, transparent),
    0 4px 10px color-mix(in srgb, var(--brand) 38%, transparent),
    0 22px 44px color-mix(in srgb, var(--brand) 26%, transparent);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--line-strong);
  background: var(--surface-tint);
}

.btn--on-brand {
  background: var(--color-text-light);
  color: var(--color-primary);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 16px 32px color-mix(in srgb, var(--color-background-dark) 28%, transparent);
}

.btn--on-brand:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 22px 44px color-mix(in srgb, var(--color-background-dark) 34%, transparent);
}

.btn[aria-disabled='true'],
.btn:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--md);
  padding: var(--xl);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--elev-1);
  transition:
    transform var(--motion-normal) var(--ease-out),
    box-shadow var(--motion-normal) var(--ease-out),
    border-color var(--motion-normal) var(--ease-out);
}

/* Filo superior: lo que hace que la card se lea como superficie y no como
 * rectángulo. En oscuro es el único indicio de relieve posible. */
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--card-edge), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--elev-3);
}

.card--accent {
  overflow: hidden;
}

.card--accent::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    color-mix(in srgb, var(--accent) 85%, var(--brand)) 100%
  );
}

/* Lista con marca */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--md);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--md);
  color: var(--ink);
}

.checklist li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--brand);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6L20.4 8.2 19 6.8z'/%3E%3C/svg%3E")
    center / 16px 16px no-repeat;
}

/* Hero de marca: gradiente primario + glows + retícula (firma visual de la app) */
.hero {
  --ink: var(--color-text-light);
  --ink-strong: var(--color-text-light);
  --ink-muted: var(--color-text-light-muted);
  --line: var(--color-glass-border);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-text-light);
  padding-block: calc(var(--xxl) * 1.5) var(--xxl);
  background:
    radial-gradient(
      120% 100% at 84% 6%,
      color-mix(in srgb, var(--color-accent) 46%, transparent) 0%,
      transparent 62%
    ),
    radial-gradient(
      90% 80% at 4% 102%,
      color-mix(in srgb, var(--color-tertiary) 62%, transparent) 0%,
      transparent 58%
    ),
    var(--gradient-brand);
}

/* Retícula fina que se desvanece: da textura sin cargar una imagen. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--color-text-light) 8%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--color-text-light) 8%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 75% at 22% 18%, #000 0%, transparent 78%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding-block: calc(var(--xxl) * 2.5) calc(var(--xxl) * 1.75);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  /* minmax(0,1fr): sin esto el SVG intrínseco ensancha la columna y el
   * contenido desborda el viewport en móvil. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--xxl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--lg);
  align-items: flex-start;
  max-width: 34rem;
}

.hero .lead {
  color: var(--ink-muted);
}

.hero .eyebrow {
  color: var(--color-info-on-dark);
}

.hero__note {
  font-size: var(--fs-body-small);
  color: var(--ink-muted);
}

.hero__figure {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 440px;
  justify-self: center;
}

/* Halo detrás de la ilustración: separa el objeto del gradiente. */
.hero__figure::before {
  content: '';
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--color-info-on-dark) 34%, transparent) 0%,
    transparent 72%
  );
  filter: blur(6px);
}

.hero__illustration {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow:
    0 2px 6px color-mix(in srgb, var(--color-background-dark) 22%, transparent),
    0 32px 64px color-mix(in srgb, var(--color-background-dark) 38%, transparent);
}

/* Prosa legal */
.prose {
  max-width: var(--measure);
  color: var(--ink);
}

.prose > * + * {
  margin-top: var(--lg);
}

.prose h2 {
  margin-top: var(--xxl);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  letter-spacing: var(--ls-h3);
  line-height: var(--leading-heading);
}

.prose h3 {
  margin-top: var(--xl);
  font-size: var(--fs-body-bold);
  font-weight: var(--fw-body-bold);
}

.prose p,
.prose li {
  font-size: var(--fs-body);
  line-height: var(--leading-body);
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: var(--sm);
  padding-left: var(--xl);
  list-style: disc;
}

.prose ol {
  display: flex;
  flex-direction: column;
  gap: var(--sm);
  padding-left: var(--xl);
  list-style: decimal;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body-small);
}

.prose th,
.prose td {
  padding: var(--md);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  font-weight: 600;
  color: var(--ink-strong);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.prose code {
  padding: 2px var(--sm);
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  font-size: 0.95em;
}

.prose .placeholder {
  padding: 0 var(--xs);
  border-bottom: 2px dashed var(--notice-line);
  background: var(--notice-fill);
  color: var(--ink);
  font-style: normal;
}

/* Motion: revelado progresivo con scroll-driven animations nativas.
 * Sin soporte (Firefox hoy) el contenido queda visible: nunca se oculta nada
 * que dependa de JavaScript o de una animación. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 6% cover 24%;
    }

    /* Escalonado por posición: el grid entra de izquierda a derecha. */
    .grid > :nth-child(2) {
      animation-range: entry 10% cover 28%;
    }

    .grid > :nth-child(3) {
      animation-range: entry 14% cover 32%;
    }

    .grid > :nth-child(4) {
      animation-range: entry 18% cover 36%;
    }

    /* Parallax leve del mapa del hero, atado al scroll del documento. */
    .hero__figure {
      animation: hero-drift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 70vh;
    }
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  to {
    transform: translateY(28px);
  }
}

/* Accesibilidad */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--md);
  left: var(--md);
  z-index: 100;
  padding: var(--md) var(--lg);
  border-radius: var(--radius-md);
  background: var(--brand);
  color: var(--brand-ink);
  transform: translateY(-200%);
  transition: transform var(--motion-fast) var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
}
.theme-toggle[data-astro-cid-l6lhmie6] {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--min-touch-target);
  height: var(--min-touch-target);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-muted);
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease-out),
      border-color var(--motion-fast) var(--ease-out),
      background-color var(--motion-fast) var(--ease-out),
      transform var(--motion-fast) var(--ease-out);
}

.theme-toggle[data-astro-cid-l6lhmie6][hidden] {
  display: none;
}

.theme-toggle[data-astro-cid-l6lhmie6]:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-tint);
  transform: translateY(-1px);
}

.theme-toggle__icon[data-astro-cid-l6lhmie6] {
  width: 20px;
  height: 20px;
}

.theme-toggle__icon--sun[data-astro-cid-l6lhmie6] {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon[data-astro-cid-l6lhmie6] {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun[data-astro-cid-l6lhmie6] {
  display: block;
}
.nav[data-astro-cid-wpvy4v7s] {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav__inner[data-astro-cid-wpvy4v7s] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lg);
  min-height: var(--button-height);
  padding-block: var(--sm);
}

.nav__brand[data-astro-cid-wpvy4v7s] {
  display: flex;
  align-items: center;
  flex: none;
}

.nav__brand[data-astro-cid-wpvy4v7s]:hover {
  text-decoration: none;
}

.nav__logo[data-astro-cid-wpvy4v7s] {
  height: 52px;
  width: auto;
}

.nav__logo--dark[data-astro-cid-wpvy4v7s] {
  display: none;
}

[data-theme="dark"] .nav__logo--light[data-astro-cid-wpvy4v7s] {
  display: none;
}

[data-theme="dark"] .nav__logo--dark[data-astro-cid-wpvy4v7s] {
  display: block;
}

.nav__links[data-astro-cid-wpvy4v7s] {
  display: none;
  gap: var(--xl);
}

.nav__link[data-astro-cid-wpvy4v7s] {
  padding-block: var(--sm);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  color: var(--ink-muted);
}

.nav__link[data-astro-cid-wpvy4v7s]:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav__link[data-astro-cid-wpvy4v7s][aria-current="page"] {
  color: var(--ink-strong);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}

.nav__actions[data-astro-cid-wpvy4v7s] {
  display: flex;
  align-items: center;
  gap: var(--sm);
}

.nav__cta[data-astro-cid-wpvy4v7s] {
  display: none;
  min-height: var(--min-touch-target);
  padding-inline: var(--lg);
}

.nav__menu[data-astro-cid-wpvy4v7s] {
  position: relative;
}

.nav__toggle[data-astro-cid-wpvy4v7s] {
  min-height: var(--min-touch-target);
  list-style: none;
  cursor: pointer;
}

.nav__toggle[data-astro-cid-wpvy4v7s]::-webkit-details-marker {
  display: none;
}

.nav__panel[data-astro-cid-wpvy4v7s] {
  position: absolute;
  right: 0;
  top: calc(100% + var(--sm));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  min-width: 232px;
  padding: var(--md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-panel);
}

.nav__panel-link[data-astro-cid-wpvy4v7s] {
  padding: var(--md);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  min-height: var(--min-touch-target);
  display: flex;
  align-items: center;
}

.nav__panel-link[data-astro-cid-wpvy4v7s]:hover {
  background: var(--surface-raised);
  text-decoration: none;
}

.nav__panel[data-astro-cid-wpvy4v7s] .btn[data-astro-cid-wpvy4v7s] {
  margin-top: var(--xs);
}

@media (width >= 860px) {
  .nav__links[data-astro-cid-wpvy4v7s] {
    display: flex;
  }

  .nav__cta[data-astro-cid-wpvy4v7s] {
    display: inline-flex;
  }

  .nav__menu[data-astro-cid-wpvy4v7s] {
    display: none;
  }
}
.badges[data-astro-cid-vm4peoyi] {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm);
}

.badge[data-astro-cid-vm4peoyi] {
  display: inline-flex;
  align-items: center;
  gap: var(--sm);
  min-height: var(--min-touch-target);
  padding: var(--sm) var(--lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: var(--fs-button-small);
  font-weight: var(--fw-button-small);
  transition: border-color var(--motion-fast) var(--ease-out);
}

a[data-astro-cid-vm4peoyi].badge:hover {
  border-color: var(--ink-muted);
  text-decoration: none;
}

.badge__icon[data-astro-cid-vm4peoyi] {
  width: 20px;
  height: 20px;
  flex: none;
}

.badge--soon[data-astro-cid-vm4peoyi] {
  border-style: dashed;
  color: var(--ink-muted);
  cursor: default;
}

.badge__soon[data-astro-cid-vm4peoyi] {
  font-size: var(--fs-caption);
  padding: 2px var(--sm);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink-muted);
}
.footer[data-astro-cid-jo6i4kqk] {
  border-top: 1px solid var(--line);
  background: var(--surface-tint);
  padding-block: calc(var(--xxl) * 1.5) var(--xl);
}

.footer__inner[data-astro-cid-jo6i4kqk] {
  display: grid;
  gap: var(--xxl);
  grid-template-columns: 1fr;
}

.footer__brand[data-astro-cid-jo6i4kqk] {
  display: flex;
  flex-direction: column;
  gap: var(--md);
  max-width: 280px;
}

.footer__logo[data-astro-cid-jo6i4kqk] {
  height: 60px;
  width: auto;
}

.footer__logo--dark[data-astro-cid-jo6i4kqk] {
  display: none;
}

[data-theme="dark"] .footer__logo--light[data-astro-cid-jo6i4kqk] {
  display: none;
}

[data-theme="dark"] .footer__logo--dark[data-astro-cid-jo6i4kqk] {
  display: block;
}

.footer__title[data-astro-cid-jo6i4kqk] {
  font-size: var(--fs-navigation);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--md);
}

.footer__col[data-astro-cid-jo6i4kqk] ul[data-astro-cid-jo6i4kqk] {
  display: flex;
  flex-direction: column;
  gap: var(--sm);
  font-size: var(--fs-body-small);
}

.footer__col[data-astro-cid-jo6i4kqk] a[data-astro-cid-jo6i4kqk] {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}

.footer__bottom[data-astro-cid-jo6i4kqk] {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sm);
  margin-top: var(--xxl);
  padding-top: var(--lg);
  border-top: 1px solid var(--line);
}

@media (width >= 640px) {
  .footer__inner[data-astro-cid-jo6i4kqk] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width >= 960px) {
  .footer__inner[data-astro-cid-jo6i4kqk] {
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  }
}

@media (width <= 767px) {
  .footer[data-astro-cid-jo6i4kqk] {
    padding-bottom: calc(var(--xl) + 76px);
  }
}
.mobile-cta[data-astro-cid-5jkxjsho] {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: flex;
  padding: var(--md) var(--lg) calc(var(--md) + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
}

.mobile-cta[data-astro-cid-5jkxjsho] .btn[data-astro-cid-5jkxjsho] {
  width: 100%;
  min-height: 48px;
}

@media (width >= 768px) {
  .mobile-cta[data-astro-cid-5jkxjsho] {
    display: none;
  }
}
.intro[data-astro-cid-qiwbxv2n] {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  pointer-events: none;
  animation: intro-out var(--motion-normal) var(--ease-out) .1s forwards;
}

.intro__logo[data-astro-cid-qiwbxv2n] {
  width: 88px;
  height: auto;
  opacity: .96;
  animation: intro-logo var(--motion-fast) var(--ease-out) both;
}

.intro__bar[data-astro-cid-qiwbxv2n] {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--color-info-on-dark);
  transform-origin: 0;
  animation: intro-bar var(--motion-slow) var(--ease-out) both;
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes intro-logo {
  from {
    opacity: 0;
    transform: translateY(6px) scale(.98);
  }
}

@keyframes intro-bar {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro[data-astro-cid-qiwbxv2n] {
    display: none;
  }
}
