/* ==========================================================================
   Black Mountain Digital — base design tokens
   Mirrors the original project's src/styles.css (Tailwind v4 @theme block).
   Colors given as hex equivalents of the original oklch() values so they
   plug straight into the Tailwind CDN config in functions.php.
   ========================================================================== */

:root {
  --radius: 0.375rem;

  /* Brand palette */
  --ink: #1a1a1a;
  --charcoal: #2e2e2e;
  --slate-body: #525a62;
  --peak: #6b8fa0;       /* accent on dark surfaces */
  --peak-deep: #4e6d7c;  /* AA accent text on light surfaces */

  --stone: #eceae7;

  --background: #fafafa;
  --foreground: var(--ink);
  --card: #ffffff;
  --border: #e2dfda;
  --input: #e2dfda;
  --destructive: #dc2626;
}

* {
  border-color: var(--border);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-weight: 700; }
h2, h3 { font-weight: 600; }

::selection {
  background: var(--peak);
  color: #fff;
}

/* Tailwind utility-equivalent used throughout the original markup */
.container-page {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
  max-width: 76rem;
}

/* Accordion caret rotation for the FAQ <details>/<summary> pattern */
details.faq-item[open] > summary .faq-caret {
  transform: rotate(45deg);
}
.faq-caret {
  transition: transform 0.15s ease;
  display: inline-block;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 0.375rem 0;
}
.skip-link:focus {
  left: 0;
}
