/*
 * voxtar.ai website: tokens, type, buttons and header. Based on docs/04-design/Design-System.md
 * (IBM Plex, shared neutrals, brand blue as the accent), with a deep navy hero for the public site.
 */
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --brand-50: #eef4ff;
  --brand-100: #dce7ff;
  --brand-200: #bfd3ff;
  --brand-300: #93b4ff;
  --brand-500: #3d7bff;
  --brand-600: #1f5fe6; /* white on it: 5.5:1 */
  --brand-700: #1a4fc2;
  --deep-950: #070f2b;
  --deep-900: #0c1a45;
  --on-deep: #d6e2ff; /* 13:1 on deep-900 */
  --on-deep-muted: #9aa9cf; /* 7.2:1 on deep-900 */
  --on-deep-line: rgb(214 226 255 / 0.12);
  --canvas: #ffffff;
  --sunken: #f7f7f9;
  --line: #e4e4e8;
  --line-strong: #8a8d99;
  --ink: #111318;
  --body: #3a3e48;
  --muted: #676b78;
  --success: #16a34a;
  --success-soft: #ecf8f0;
  --success-text: #15803d;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --shadow-card: 0 1px 2px rgb(16 24 40 / 0.04), 0 8px 24px -12px rgb(16 24 40 / 0.12);
  --shadow-lift: 0 2px 4px rgb(7 15 43 / 0.2), 0 32px 64px -24px rgb(7 15 43 / 0.6);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(2.375rem, 4.6vw, 3.75rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
p,
figure {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--brand-600);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection {
  background: var(--brand-200);
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-md);
  z-index: 30;
}
.skip:focus {
  top: 12px;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.icon-sm {
  width: 16px;
  height: 16px;
}
.icon-xs {
  width: 13px;
  height: 13px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--brand-600);
  border-radius: var(--radius-md);
  background: var(--brand-600);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.button:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
}
.button:active {
  transform: translateY(1px);
}
.button .icon {
  transition: transform 160ms ease;
}
.button:hover .icon {
  transform: translateX(2px);
}
.button-ghost {
  background: transparent;
  border-color: rgb(214 226 255 / 0.28);
  color: #fff;
}
.button-ghost:hover {
  background: rgb(214 226 255 / 0.08);
  border-color: rgb(214 226 255 / 0.5);
}
.button-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
}
.button-large {
  min-height: 50px;
  padding: 0 24px;
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--brand-600);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
}
.lead {
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}
.small {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Header: dark, over the hero */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(7 15 43 / 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--on-deep-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}
.brand img {
  width: 140px;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--on-deep-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 120ms ease;
}
.nav a:hover {
  color: #fff;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
}
.lang {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--on-deep-line);
  border-radius: var(--radius-md);
  color: var(--on-deep);
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-decoration: none;
}
.lang:hover {
  border-color: rgb(214 226 255 / 0.4);
  color: #fff;
}
