* { box-sizing: border-box; }
html, body { height: 100%; }
/* Site-wide fix for "mobile view is not stable, it's zooming while
   touching": `touch-action: manipulation` disables the browser's
   double-tap-to-zoom gesture and removes the ~300ms tap delay that causes
   two quick taps to register as a zoom, without disabling pinch-zoom —
   pinch-zoom is preserved deliberately (WCAG 1.4.4 requires users be able
   to zoom the page; the viewport meta tag is intentionally left permissive
   for the same reason). Applied at the root so every element inherits it;
   interactive elements get it explicitly too since some mobile browsers
   don't fully propagate touch-action through to nested tappable controls. */
html, body {
  touch-action: manipulation;
}
button, a, input, select, textarea, [role="button"], .btn, .bv2-cell, .stat-card {
  touch-action: manipulation;
}
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
#root { min-height: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-0);
  font-weight: 600;
  margin: 0 0 var(--sp-3);
  text-transform: none;
}
/* Letter-spacing tapers as size drops: tight/negative tracking reads best
   on Rajdhani at large display sizes (h1/h2), roughly neutral by h3, and a
   touch of positive tracking helps h4/h5's smaller, denser text (matches
   the small uppercase tech-label tracking used elsewhere, e.g. .eyebrow). */
h1 { font-size: 44px; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: 30px; line-height: 1.18; letter-spacing: -0.005em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: 0; }
h4 { font-size: 16px; line-height: 1.3; letter-spacing: 0.01em; }
h5 { font-family: var(--font-display); color: var(--text-0); font-weight: 600; margin: 0 0 var(--sp-2); font-size: 13.5px; line-height: 1.35; letter-spacing: 0.015em; }
p { margin: 0 0 var(--sp-3); color: var(--text-2); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
small { color: var(--text-3); font-size: 12.5px; }
strong { color: var(--text-0); font-weight: 600; }
code, .mono { font-family: var(--font-mono); }
/* Fixed-width digits wherever numbers are meant to line up in a column or
   swap in place (stat cards, KPIs, table amounts, countdowns) — Inter's
   default numerals aren't tabular, so adjacent rows/columns of digits
   drift out of alignment without this. */
.tabular-nums, .stat-card .value, .stat-card .delta, .kpi-grid .stat-card .value,
.data-table tbody td, .summary-line .amount, .summary-total .amount,
.detail-item .v, .position-chip, table.data-table thead th,
.aov-big, .exec-kpi-value, .ai-forecast-num, .wi-kpi-value,
.hfp-stats .stat-num, .hfp-stat-card .stat-num, .hfp-tech-ticker-num,
.efd-stat-value, .hero-stats .stat-num, .anav-insight-stat-value,
.booking-number {
  font-variant-numeric: tabular-nums;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent-bg); color: var(--text-0); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-5); }
@media (max-width: 720px) { .container { padding: 0 var(--sp-4); } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); display: inline-block; }

.section { padding: var(--sp-8) 0; }
.section-tight { padding: var(--sp-6) 0; }

.grid { display: grid; gap: var(--sp-5); }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: var(--sp-1); } .gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); } .gap-5 { gap: var(--sp-5); }
.text-center { text-align: center; }
.text-muted { color: var(--text-2); }
.text-dim { color: var(--text-3); }
.mt-0 { margin-top: 0; }
.w-full { width: 100%; }

.boot-loader { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-0); }
.boot-mark { display: flex; align-items: center; justify-content: center; }
.boot-mark-svg { animation: boot-mark-pulse 1.3s ease-in-out infinite; filter: drop-shadow(0 0 12px rgba(37,99,235,0.35)); }
@keyframes boot-mark-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .boot-mark-svg { animation: none; opacity: 0.9; }
}

@media (max-width: 860px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
}
