/*
 * Design tokens of the travel landing. Taken from the Bilingua Travel app
 * (mobile/src/theme/tokens.ts) so the site and the app read as one brand.
 * Components read only from here: no literal colors or sizes elsewhere.
 */
:root {
  /* Brand (app: colors.primary, navy, violet) */
  --primary: #1d4ed8;
  --primary-pressed: #1a43bd;
  --primary-soft: #eef3ff;
  --primary-soft-border: #c9d6fb;
  --navy: #0b132b;
  --violet: #7c3aed;
  --violet-soft: #f3eeff;
  --cyan: #22d3ee;

  /* Night sky of the 3D intro (app splash #050817) */
  --night: #050817;
  --night-2: #0b1230;
  --night-glow: rgba(124, 58, 237, 0.35);
  --night-glow-2: rgba(34, 211, 238, 0.22);

  /* Neutrals */
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-muted: #f1f4f9;
  --border: #e3e8f0;
  --text: #0b132b;
  --text-2: #4b5568;
  --text-muted: #5f6b80;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.82);
  --on-dark-3: rgba(255, 255, 255, 0.6);
  --on-dark-border: rgba(255, 255, 255, 0.16);
  --on-dark-fill: rgba(255, 255, 255, 0.07);
  --scrim: rgba(11, 19, 43, 0.45);

  /* App surfaces used inside phone mockups */
  --scanner: #141a2a;
  --scanner-surface: #232b3f;
  --paper: #f3eee4;
  --paper-ink: #2b2b2b;
  --mission: #fff4d6;
  --mission-border: #f6dd94;
  --mission-ink: #7a5300;
  --success: #1e7b3a;
  --success-soft: #eaf7ee;
  --danger: #b42318;
  --danger-soft: #fdecec;
  --streak: #c2410c;

  /* Gradients (app: gradients.ring, ai, trip, create) */
  --ring: linear-gradient(90deg, #a855f7, #3b82f6, #22d3ee);
  --ring-diag: linear-gradient(135deg, #a855f7, #3b82f6 55%, #22d3ee);
  --ai: linear-gradient(135deg, #c084fc, #60a5fa, #22d3ee);
  --ai-wash: linear-gradient(135deg, #fbf8ff, #f5f8ff);
  --trip: linear-gradient(135deg, #0369a1, #4f46e5);
  --create: linear-gradient(135deg, #6d5df6, #9333ea);
  --hero-sky: radial-gradient(120% 80% at 70% 30%, #1a1f5c 0%, #0b1230 38%, #050817 75%);

  /* Type (Manrope, same as the app) */
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  --fs-2xl: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --fs-hero: clamp(2.5rem, 1.4rem + 4.8vw, 5rem);
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extra: 800;
  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.6;

  /* Space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;
  --pad: clamp(18px, 5vw, 72px);
  --max: 1180px;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-phone: 40px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(11, 19, 43, 0.06), 0 8px 24px rgba(11, 19, 43, 0.06);
  --shadow-float: 0 24px 60px rgba(29, 78, 216, 0.18), 0 6px 18px rgba(11, 19, 43, 0.1);
  --shadow-phone: 0 40px 80px rgba(11, 19, 43, 0.28), 0 10px 24px rgba(11, 19, 43, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 420ms;
  --t-slow: 900ms;
  --globe-spin: 90s;

  /* Sizes */
  --phone-w: 290px;
  --phone-h: 600px;
  --globe: min(540px, 82vw);
  --nav-h: 68px;
}
