/* ============================================================
   agentic10 — Competitor Landing — compiled styles
   Concatenated from the design system's tokens + base reset.
   ============================================================ */

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

:root {
  /* ---------- Base neutrals ---------- */
  --n-0: #ffffff;
  --n-25: #fcfcfb;
  --n-50: #f7f6f4;
  --n-100: #efeee9;
  --n-150: #e7e5df;
  --n-200: #dcdad2;
  --n-300: #c3c0b6;
  --n-400: #9d9a8f;
  --n-500: #7a776d;
  --n-600: #5c5a52;
  --n-700: #443f38;
  --n-800: #2c2925;
  --n-900: #1a1815;
  --n-950: #100f0d;

  /* ---------- Brand green (primary) ---------- */
  --g-50: #e6f6ef;
  --g-100: #c1ecdb;
  --g-200: #8ddcc0;
  --g-300: #58cba3;
  --g-400: #2ab588;
  --g-500: #038b58;
  --g-600: #027a4d;
  --g-700: #026640;
  --g-800: #015234;
  --g-900: #013d27;

  /* ---------- Semantic: status ---------- */
  --amber-400: #f5a524;
  --amber-600: #b45309;
  --red-400: #f0645f;
  --red-600: #d1352e;
  --blue-500: #2563eb;

  /* ---------- Semantic aliases: surfaces ---------- */
  --surface-page: var(--n-25);
  --surface-canvas: var(--n-50);
  --surface-card: var(--n-0);
  --surface-card-alt: var(--n-50);
  --surface-inverse: var(--n-900);
  --surface-brand: var(--g-500);
  --surface-brand-subtle: var(--g-50);
  --surface-overlay: rgba(26, 24, 21, 0.5);
  --surface-code: var(--n-900);

  /* ---------- Semantic aliases: text ---------- */
  --text-primary: var(--n-900);
  --text-secondary: var(--n-600);
  --text-tertiary: var(--n-400);
  --text-on-brand: #ffffff;
  --text-on-dark: var(--n-50);
  --text-brand: var(--g-600);
  --text-link: var(--g-600);
  --text-link-hover: var(--g-700);
  --text-danger: var(--red-600);
  --text-success: var(--g-600);
  --text-warning: var(--amber-600);

  /* ---------- Semantic aliases: borders ---------- */
  --border-subtle: var(--n-150);
  --border-default: var(--n-200);
  --border-strong: var(--n-300);
  --border-brand: var(--g-500);
  --border-focus: var(--g-500);

  /* ---------- Semantic aliases: interactive ---------- */
  --accent: var(--g-500);
  --accent-hover: var(--g-600);
  --accent-active: var(--g-700);
  --accent-subtle: var(--g-50);
  --accent-subtle-hover: var(--g-100);

  --danger: var(--red-600);
  --danger-hover: #b32a24;
  --warning: var(--amber-600);
  --success: var(--g-600);
  --info: var(--blue-500);

  /* ---------- Focus ring ---------- */
  --focus-ring: 0 0 0 3px rgba(3, 139, 88, 0.25);

  /* ---------- Type ---------- */
  --font-sans: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --text-display-2xl: 72px;
  --text-display-xl: 56px;
  --text-display-lg: 44px;
  --text-heading-lg: 32px;
  --text-heading-md: 24px;
  --text-heading-sm: 20px;
  --text-body-lg: 18px;
  --text-body-md: 16px;
  --text-body-sm: 14px;
  --text-caption: 13px;
  --text-mono-md: 15px;
  --text-mono-sm: 13px;

  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --tracking-tight: -0.02em;
  --tracking-tighter: -0.035em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;

  /* ---------- Spacing ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ---------- Radius ---------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* ---------- Borders ---------- */
  --border-width-hairline: 1px;
  --border-width-thick: 1.5px;

  /* ---------- Shadows ---------- */
  --shadow-xs: 0 1px 2px rgba(16, 20, 18, 0.04);
  --shadow-sm: 0 1px 3px rgba(16, 20, 18, 0.05), 0 1px 2px rgba(16, 20, 18, 0.04);
  --shadow-md: 0 6px 16px rgba(16, 20, 18, 0.06), 0 1px 2px rgba(16, 20, 18, 0.04);
  --shadow-lg: 0 16px 40px rgba(16, 20, 18, 0.09), 0 2px 6px rgba(16, 20, 18, 0.05);
  --shadow-brand: 0 8px 24px rgba(3, 139, 88, 0.18);

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 400ms;

  /* ---------- Layout ---------- */
  --content-max-width: 1120px;
  --content-max-width-wide: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: #f1f3f6;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-body-md);
  line-height: var(--leading-normal);
  position: relative;
}

a {
  color: var(--text-link);
  text-decoration: none;
}

a:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

code, kbd, pre, samp {
  font-family: var(--font-mono);
}

::selection {
  background: var(--g-200);
  color: var(--n-900);
}

/* ---------- Page background effects ---------- */
#bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 45%, transparent 100%);
}
#bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px 420px at 50% 0%, rgba(3,139,88,0.14), rgba(3,139,88,0) 70%);
  animation: a10-glow-drift 14s ease-in-out infinite;
}
@keyframes a10-glow-drift {
  0%, 100% { background-position: 46% 0%; opacity: 0.85; }
  50% { background-position: 54% 2%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #bg-glow { animation: none; }
}
#root {
  position: relative;
  z-index: 1;
}
