/* Shared inverse foundation for The Marketing Engineer public pages. */
@font-face {
  font-family: "Inter Variable";
  src: url("/fonts/InterVariable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-faint: #8f8f99;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --field-bg: rgba(255, 255, 255, 0.035);
  --field-bg-focus: rgba(255, 255, 255, 0.065);
  --surface-raised: #0a0a0b;
  --surface-hover: rgba(255, 255, 255, 0.055);
  --radius: 12px;
  --marketing-focus-ring: #737373;
  --marketing-shadow-focus: 0 0 0 3px var(--marketing-focus-ring);
  --sans: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-feature-settings: "cv01", "ss02", "ss03", "cv05";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--marketing-shadow-focus);
}

:where(button, input, textarea, select) { font-family: var(--sans); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
