/* HCOMS brand tokens. Logo: cyan-blue #00ADEF + ink #231F20 + grey #949599 */
:root {
  /* Core */
  --hcoms-blue: #00ADEF;
  --hcoms-blue-600: #0098D4;
  --hcoms-blue-700: #0077A8;
  --hcoms-blue-50: #E5F7FE;
  --hcoms-blue-100: #CCEFFD;
  --hcoms-ink: #1A1A1F;
  --hcoms-ink-soft: #2A2A30;
  --hcoms-grey-900: #2E2E33;
  --hcoms-grey-700: #58585E;
  --hcoms-grey-500: #949599;
  --hcoms-grey-300: #C9CACE;
  --hcoms-grey-200: #DEDFE2;
  --hcoms-grey-100: #ECEDEF;
  --hcoms-grey-50: #F5F6F7;
  --hcoms-paper: #FAFAF9;
  --hcoms-white: #FFFFFF;

  /* Semantic */
  --good: #00A86B;
  --warn: #E8A33B;
  --bad: #D74E4E;

  /* Type */
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--hcoms-ink);
  background: var(--hcoms-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

.hcoms-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--hcoms-ink);
}
.hcoms-wordmark .dot { color: var(--hcoms-blue); }

/* Common UI mock primitives — mimic Nova-style admin chrome at sales fidelity */
.mock {
  background: var(--hcoms-white);
  border: 1px solid var(--hcoms-grey-200);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(20,20,30,0.02), 0 12px 40px -16px rgba(20,20,30,0.12);
  overflow: hidden;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hcoms-grey-100);
  background: var(--hcoms-grey-50);
  font-size: 12px;
  color: var(--hcoms-grey-700);
}
.dot-r { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dot-y { width: 10px; height: 10px; border-radius: 50%; background: #febc2e; }
.dot-g { width: 10px; height: 10px; border-radius: 50%; background: #28c840; }
.tl-dots { display: flex; gap: 6px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--hcoms-grey-100);
  color: var(--hcoms-grey-700);
}
.pill.green { background: rgba(0,168,107,0.12); color: #00754B; }
.pill.amber { background: rgba(232,163,59,0.15); color: #A66E1A; }
.pill.red   { background: rgba(215,78,78,0.12); color: #A33333; }
.pill.blue  { background: var(--hcoms-blue-50); color: var(--hcoms-blue-700); }

/* hairline */
.rule { height: 1px; background: var(--hcoms-grey-200); }

/* selection */
::selection { background: var(--hcoms-blue); color: white; }

/* Pin the site to its light palette regardless of OS preference. The previous
   dark-mode block flipped --hcoms-ink, which broke every dark-band section
   (header CTA, footer, hero, CTA bands) by inverting their background to
   near-white while their text stayed hardcoded white. */
:root { color-scheme: light; }
