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

:root {
  color-scheme: light;
  --font-display: 'Manrope', 'Segoe UI', sans-serif;
  --font-ui: 'Inter', 'Segoe UI', sans-serif;

  --blue-25: #f5f9ff;
  --blue-50: #edf5ff;
  --blue-100: #dcecff;
  --blue-200: #bddbff;
  --blue-300: #8ec2ff;
  --blue-400: #579fff;
  --blue-500: #2f7df4;
  --blue-600: #175cd3;
  --blue-700: #144aa8;
  --blue-800: #153f85;
  --blue-900: #17376b;

  --mint-50: #edfcf6;
  --mint-100: #d5f8e9;
  --mint-200: #b8f3db;
  --mint-500: #2bbd83;
  --mint-600: #169b6a;
  --mint-700: #127c58;

  --amber-50: #fff8e8;
  --amber-500: #f0a11f;
  --red-50: #fff1f2;
  --red-500: #e84c64;

  --ink-950: #07111f;
  --ink-900: #0e1a2b;
  --ink-800: #1a2a40;
  --ink-700: #31445f;
  --ink-600: #526780;
  --ink-500: #71849a;
  --ink-400: #9aaabd;
  --ink-300: #c1ccda;
  --ink-200: #dce3eb;
  --ink-100: #edf1f5;
  --ink-50: #f7f9fb;
  --white: #ffffff;

  --surface-page: #f7f9fb;
  --surface-card: #ffffff;
  --surface-soft: #eef4fb;
  --surface-inverse: #07111f;
  --text-strong: #0e1a2b;
  --text-default: #31445f;
  --text-muted: #71849a;
  --text-inverse: #f7fbff;
  --border-soft: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #175cd3;
  --accent-hover: #144aa8;
  --accent-soft: #edf5ff;
  --success: #169b6a;
  --success-soft: #edfcf6;
  --warning: #d7890c;
  --warning-soft: #fff8e8;
  --danger: #d63c55;
  --danger-soft: #fff1f2;

  --shadow-xs: 0 1px 2px rgba(7, 17, 31, 0.05);
  --shadow-sm: 0 8px 24px rgba(19, 44, 80, 0.08);
  --shadow-md: 0 18px 50px rgba(19, 44, 80, 0.12);
  --shadow-blue: 0 16px 40px rgba(23, 92, 211, 0.22);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 160ms var(--ease-out);
  --transition-base: 260ms var(--ease-out);
}

[data-theme='dark'] {
  color-scheme: dark;
  --surface-page: #07111f;
  --surface-card: #0e1a2b;
  --surface-soft: #132238;
  --surface-inverse: #f7f9fb;
  --text-strong: #f4f8fc;
  --text-default: #c8d4e2;
  --text-muted: #8da0b7;
  --text-inverse: #0e1a2b;
  --border-soft: #21324a;
  --border-strong: #344961;
  --accent: #579fff;
  --accent-hover: #8ec2ff;
  --accent-soft: rgba(47, 125, 244, 0.14);
  --success: #63d6a7;
  --success-soft: rgba(43, 189, 131, 0.13);
  --warning: #f7bd55;
  --warning-soft: rgba(240, 161, 31, 0.13);
  --danger: #ff8596;
  --danger-soft: rgba(232, 76, 100, 0.13);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.3);
  --shadow-blue: 0 18px 42px rgba(40, 120, 255, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text-strong);
  background: var(--surface-page);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  color: var(--text-strong);
}

.brand-lockup img {
  width: 34px;
  height: 34px;
}

.brand-lockup em {
  color: var(--accent);
  font-style: normal;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  content: '';
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  color: var(--text-default);
  background: var(--surface-card);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.chip.success {
  color: var(--success);
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success) 24%, transparent);
}

.chip.warning {
  color: var(--warning);
  background: var(--warning-soft);
  border-color: color-mix(in srgb, var(--warning) 24%, transparent);
}

.chip.danger {
  color: var(--danger);
  background: var(--danger-soft);
  border-color: color-mix(in srgb, var(--danger) 24%, transparent);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.icon-btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent);
  outline-offset: 3px;
}

.btn-primary {
  color: #ffffff;
  background: var(--blue-600);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn-secondary {
  color: var(--text-strong);
  background: var(--surface-card);
  border-color: var(--border-soft);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-quiet {
  min-height: 40px;
  color: var(--text-default);
  background: transparent;
  border-color: var(--border-soft);
  box-shadow: none;
}

.icon-btn {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  color: var(--text-default);
  background: var(--surface-card);
  cursor: pointer;
  transition: var(--transition-fast);
}

.icon-btn:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border-soft));
}

.card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-xs);
}

.metric-value {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.money-value.is-hidden {
  filter: blur(7px);
  user-select: none;
}

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

.only-mobile {
  display: none !important;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .only-desktop {
    display: none !important;
  }

  .only-mobile {
    display: flex !important;
  }

  .btn {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
