/* superbot.me — shared design tokens */

:root {
  /* Brand */
  --c-brand: #1F8AE0;
  --c-brand-soft: #5BC4FF;
  --c-brand-deep: #1559B5;
  --c-accent-warm: #FFB547; /* tangerine — for stars / accents */
  --c-accent-pink: #FF7AA2; /* warm gradient endpoint */
  --c-max: #FF5A2B; /* MAX messenger orange */
  --c-tg: #229ED9;  /* Telegram blue */
  --c-success: #2BB673;
  --c-danger: #E5484D;

  /* Type */
  --f-display: "Manrope", "Inter", system-ui, sans-serif;
  --f-text: "Inter", system-ui, sans-serif;

  /* Radius (tweakable) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Light theme defaults */
  --c-bg: #F4F7FB;
  --c-bg-elev: #FFFFFF;
  --c-bg-sunken: #ECEFF5;
  --c-fg: #0D1B2A;
  --c-fg-soft: #3D4A5C;
  --c-muted: #6B7A8E;
  --c-line: #E2E8F0;
  --c-line-strong: #C9D2E0;
  --c-tint: #E8F3FE; /* soft brand wash */
  --shadow-sm: 0 1px 2px rgba(15, 30, 60, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 30, 60, 0.12);
  --shadow-lg: 0 24px 48px -16px rgba(15, 30, 60, 0.18);
}

[data-theme="dark"] {
  --c-bg: #0B1220;
  --c-bg-elev: #131C2E;
  --c-bg-sunken: #0A0F1B;
  --c-fg: #F0F4FA;
  --c-fg-soft: #C2CCDB;
  --c-muted: #7E8AA0;
  --c-line: #1F2B40;
  --c-line-strong: #2B3954;
  --c-tint: #14253D;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--f-text);
  color: var(--c-fg);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

/* Utility focus state */
:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
  border-radius: 4px;
}
