/* ============================================================
   Guardian Design System — Colors & Type
   ============================================================
   Source: kevyntoro/guardian-landing (src/styles/index.css + landing.css)
   Palette: "Negro & Eléctrico" (Black + Electric Cyan)

   Variable names are kept compatible with the original landing
   codebase so existing components (.g-section, .g-cta, .g-h2, etc.)
   work unchanged.

   Type stack: 'Outfit' (Google Fonts) — weights 300, 400, 500, 600, 700.
   Substitution: none required — Outfit is loaded from Google Fonts.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* ─── Palette: surfaces ─────────────────────────────────── */
  --bg-light:           #F1F4F7;   /* "cream" surface — used for is-cream sections */
  --bg-dark:            #000000;   /* page default — pure black */
  --g-bg-dark:          #000000;   /* alias for landing-namespaced tokens */
  --g-bg-cream:         #F1F4F7;
  --g-bg-cream-soft:    #F7F9FB;   /* hover tint on cream cards */

  /* ─── Palette: text ─────────────────────────────────────── */
  --text-light:         #0B0F14;   /* espresso-on-cream text */
  --text-dark:          #E5EEF5;   /* cream-on-dark text */
  --g-text-cream:       #E5EEF5;
  --g-text-espresso:    #0B0F14;
  --g-text-mute-dark:   rgba(229, 238, 245, 0.62);
  --g-text-mute-light:  rgba(11, 15, 20, 0.62);

  /* ─── Palette: accent + signal ──────────────────────────── */
  --g-celadon:          #4FD4FF;   /* electric cyan — the single brand accent */
  --active-toggle:      #4FD4FF;
  --g-signal-red:       #E5333F;   /* "REPORTADO" badge */
  --g-signal-red-soft:  #FF4D5A;   /* bell icon on alert cards */
  --g-signal-yellow:    #F2C61D;   /* license plates, warn icon */
  --g-signal-green:     #4ADE80;   /* "Coincidencia encontrada" */
  --g-signal-whatsapp:  #25D366;   /* WhatsApp brand green */
  --g-signal-orange:    #FF8A3D;   /* "Múltiples personas" */
  --g-signal-success:   #16a34a;   /* form success */

  /* ─── Palette: borders + surfaces over dark ─────────────── */
  --g-surface-on-dark:        rgba(79, 212, 255, 0.06);
  --g-surface-on-dark-hover:  rgba(79, 212, 255, 0.10);
  --g-border-on-dark:         rgba(79, 212, 255, 0.14);
  --g-border-on-light:        rgba(11, 15, 20, 0.12);

  /* ─── Glass / overlays ──────────────────────────────────── */
  --g-glass-dark-78:    rgba(20, 22, 28, 0.78);   /* hero alert card body */
  --g-glass-nav-dark:   rgba(0, 0, 0, 0.35);      /* navbar over dark */
  --g-glass-nav-light:  rgba(255, 255, 255, 0.55);/* navbar over cream */

  /* ─── Geometry: radii, spacing, layout ──────────────────── */
  --g-radius-card:      14px;
  --g-radius-cta:       8px;
  --g-radius-cta-lg:    10px;
  --g-radius-pill:      999px;
  --g-radius-plate:     4px;

  --g-section-y:        96px;
  --g-section-x:        48px;
  --g-max-content:      1280px;

  /* ─── Motion ────────────────────────────────────────────── */
  --transition-speed:   0.9s;
  --pull-easing:        cubic-bezier(0.32, 0, 0.67, 0);
  --return-easing:      cubic-bezier(0.175, 0.885, 0.32, 1.4);
  --ease-emphasised:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-slide:         cubic-bezier(0.32, 0.72, 0, 1);

  /* ─── Shadows + glows ───────────────────────────────────── */
  --g-shadow-cta-hover:   0 10px 24px rgba(0, 0, 0, 0.18);
  --g-shadow-card-hover:  0 14px 30px rgba(62, 52, 36, 0.08);
  --g-shadow-alert:       0 24px 60px rgba(0, 0, 0, 0.35);
  --g-glow-cyan-strong:   0 0 24px rgba(79, 212, 255, 0.55);
  --g-glow-cyan-soft:     0 0 18px rgba(125, 255, 225, 0.45);

  /* ─── Typography: family + scale ────────────────────────── */
  --font-sans:          'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Display & body sizes — clamp() values used in the landing */
  --fs-display:         clamp(48px, 6vw, 84px);    /* final CTA H2 */
  --fs-h1-hero:         56px;                       /* hero title (1100px max) */
  --fs-h2:              clamp(40px, 5.2vw, 72px);   /* section H2 */
  --fs-h2-quote:        clamp(34px, 4.2vw, 60px);   /* testimonial title */
  --fs-lead:            clamp(18px, 1.5vw, 22px);   /* section lead/sub */
  --fs-quote:           clamp(22px, 2.3vw, 30px);   /* testimonial quote */
  --fs-card-title:      28px;                       /* step / large card title */
  --fs-product-title:   24px;                       /* audience / product card */
  --fs-card-body:       16px;
  --fs-body:            15px;
  --fs-body-sm:         14px;
  --fs-meta:            13px;
  --fs-eyebrow:         12px;
  --fs-trust-num:       clamp(36px, 3.4vw, 46px);

  /* Weights — Outfit ships 300 (light) through 700 (bold). The system
     uses 300 for body / leads and 500 for display + UI labels. */
  --fw-light:           300;
  --fw-regular:         400;
  --fw-medium:          500;
  --fw-semibold:        600;
  --fw-bold:            700;

  /* Letter spacing */
  --ls-display:         -1.4px;
  --ls-h1:              -1px;
  --ls-h2-quote:        -1px;
  --ls-card-title:      -0.4px;
  --ls-eyebrow:         1.4px;
  --ls-eyebrow-strong:  1.8px;
  --ls-trust-tag:       1.8px;
  --ls-tab-label:       1.6px;

  /* Line heights */
  --lh-display:         1.02;
  --lh-h2-quote:        1.05;
  --lh-card-title:      1.15;
  --lh-body:            1.55;
  --lh-quote:           1.3;
}

/* ============================================================
   Base — apply to <html>/<body> when used standalone
   (the landing app does this in index.css)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-sans); }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  background-color: var(--g-bg-dark);
  color: var(--g-text-cream);
  font-family: var(--font-sans);
  font-weight: var(--fw-light);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Semantic type — utility classes for one-off documents.
   Inside the landing app, the .g-* / .hero-* classes already carry
   these styles; this block lets a fresh HTML file reach for
   .ds-display / .ds-h2 / .ds-eyebrow / .ds-lead without copying
   landing.css wholesale.
   ============================================================ */

.ds-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  opacity: 0.55;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ds-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.ds-h1 {
  font-family: var(--font-sans);
  font-size: var(--fs-h1-hero);
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: var(--ls-h1);
}

.ds-h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  margin: 0 0 24px;
  text-wrap: pretty;
}

.ds-h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-card-title);
  font-weight: var(--fw-medium);
  letter-spacing: -0.6px;
  line-height: var(--lh-card-title);
}

.ds-lead {
  font-family: var(--font-sans);
  font-size: var(--fs-lead);
  font-weight: var(--fw-light);
  line-height: 1.5;
  opacity: 0.78;
  text-wrap: pretty;
}

.ds-quote {
  font-family: var(--font-sans);
  font-size: var(--fs-quote);
  font-weight: var(--fw-regular);
  line-height: var(--lh-quote);
  letter-spacing: -0.4px;
  text-wrap: pretty;
}

.ds-body { font-size: var(--fs-body); font-weight: var(--fw-light); line-height: var(--lh-body); }
.ds-meta { font-size: var(--fs-meta); font-weight: var(--fw-medium); letter-spacing: 0.4px; opacity: 0.72; }
.ds-stat-num { font-size: var(--fs-trust-num); font-weight: var(--fw-medium); letter-spacing: -1px; line-height: 1; }

.ds-accent  { color: var(--g-celadon); }
.ds-danger  { color: var(--g-signal-red); }
.ds-warn    { color: var(--g-signal-yellow); }
.ds-success { color: var(--g-signal-green); }
.ds-wa      { color: var(--g-signal-whatsapp); }
