/* Subscriptions Platform design tokens
   Enterprise billing-platform palette: deep navy canvas, restrained blue accent,
   generous neutral ramp for dense data screens. */

:root {
  /* Brand */
  --brand-navy-900: #0a1a35;
  --brand-navy-800: #0e2447;
  --brand-navy-700: #12305c;
  --brand-blue-600: #1b64d8;
  --brand-blue-500: #2b7cf0;
  --brand-blue-400: #5b9bf5;
  --brand-blue-050: #eef4fe;
  --brand-accent: #ff6b35;

  /* Neutrals */
  --gray-950: #10141c;
  --gray-900: #1c2330;
  --gray-800: #2c3646;
  --gray-700: #445064;
  --gray-600: #5a6779;
  --gray-500: #7c889a;
  --gray-400: #a3adbd;
  --gray-300: #cbd2dc;
  --gray-200: #e2e7ee;
  --gray-100: #f1f4f8;
  --gray-050: #f8fafc;
  --white: #ffffff;

  /* Status */
  --danger-600: #c62828;
  --danger-050: #fdecec;
  --success-600: #1b7f4d;
  --success-050: #e8f6ee;
  --warning-600: #a86100;
  --warning-050: #fdf3e3;

  /* Typography */
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Radius + elevation */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 20, 28, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 20, 28, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 26, 53, 0.14);

  --focus-ring: 0 0 0 3px rgba(43, 124, 240, 0.28);
  --transition: 140ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* The browser's own [hidden] rule is an author-style loss waiting to happen:
   any `display` declaration on the element outranks it and the element stays
   visible. Enforce it once here so `hidden` always means hidden. */
[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--gray-900);
  background: var(--gray-050);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-blue-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
