/* Stephanie Brackett — production styles
   Base resets, web-font wiring, and hover/focus states.
   Layout styling is kept inline in index.html so it matches the approved design exactly. */

*{ box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', system-ui, sans-serif;
  color: #1e1b17;
  background: #f6f2ea;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p { margin: 0; }

a { color: #1e1b17; text-decoration: none; }
a:hover { color: oklch(0.55 0.13 45); }

img { max-width: 100%; }

/* Visually-hidden labels (kept for accessibility; design is unchanged) */
.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;
}

/* ---- Button / CTA hover states (were style-hover in the source) ---- */
.btn-primary { transition: background 0.15s ease; }
.btn-primary:hover { background: oklch(0.47 0.13 45); color: #f6f2ea; }

.btn-primary-light { transition: background 0.15s ease; }
.btn-primary-light:hover { background: oklch(0.62 0.13 45); color: #f6f2ea; }

.btn-outline { transition: background 0.15s ease, color 0.15s ease; }
.btn-outline:hover { background: #1e1b17; color: #f6f2ea; }

.btn-dark { transition: background 0.15s ease; }
.btn-dark:hover { background: oklch(0.47 0.13 45); color: #f6f2ea; }

/* ---- FAQ accordion ---- */
.faq-item .faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }

.faq-toggle { transition: color 0.15s ease; }

/* Keyboard focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid oklch(0.55 0.13 45);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
