/* =========================================================
   Beauty Room – marketing site styles
   Mobile-first. Uses ONLY the six approved colours below.
   ========================================================= */

:root {
  /* Approved palette – do not add colours */
  --cream:    #F5EDE7; /* page background */
  --blush:    #E5D1C6; /* alternate section background */
  --sand:     #D2B8A9; /* panels, borders */
  --taupe:    #B59A8B; /* accents, buttons (dark text only) */
  --white:    #FFFFFF; /* cards */
  --espresso: #29201D; /* all text, focus rings */

  /* TEMPORARY: system fonts until brand fonts are approved */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif; /* TEMPORARY */

  --wrap: 68rem;
  --gutter: 1rem;
  --radius: 0.75rem;

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 2rem; }
h3 { font-size: 1.2rem; margin-top: 1.5rem; }
p, ul, ol { margin: 0 0 1rem; }

a { color: var(--espresso); text-decoration: underline; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--espresso);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Narrow column for long-form text */
.prose { max-width: 42rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--espresso);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* ---------- Preview notice (remove before launch) ---------- */
.preview-notice {
  background: var(--espresso);
  color: var(--white);
  font-size: 0.875rem;
  text-align: center;
  padding: 0.5rem var(--gutter);
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* TEMPORARY text wordmark until the logo is approved */
.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0; /* comfortable tap target */
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 3rem 0; }
.section--alt { background: var(--blush); }

.hero { padding: 3.5rem 0 3rem; }
.hero .lead { font-size: 1.2rem; max-width: 38rem; }

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  padding: 0;
  list-style: none;
}
.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h2, .card h3 { margin-top: 0; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 3.25rem; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--taupe);
  color: var(--espresso);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--espresso);
  background: var(--espresso);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.button:hover { background: var(--white); color: var(--espresso); }
.button--secondary { background: transparent; color: var(--espresso); }
.button--secondary:hover { background: var(--taupe); }

.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Panels / notices ---------- */
.panel {
  background: var(--white);
  border: 2px solid var(--taupe);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 42rem;
}
.panel h2 { margin-top: 0; }

.draft-banner {
  background: var(--sand);
  border-left: 6px solid var(--espresso);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
  font-weight: 600;
}

/* Marks placeholder copy so it's easy to spot */
.placeholder {
  background: var(--blush);
  border: 1px dashed var(--taupe);
  border-radius: 4px;
  padding: 0 0.25em;
}

.status-panel[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.25rem 0;
}
.faq details[open] summary { margin-bottom: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blush);
  border-top: 1px solid var(--sand);
  padding: 2rem 0;
  font-size: 0.95rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-footer a { display: inline-block; padding: 0.35rem 0; }
.site-footer p { margin: 0 0 0.5rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 40rem) {
  :root { --gutter: 1.5rem; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 4rem 0; }
  .hero { padding: 5rem 0 4rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
