/* Outfitter - outfitter.style
   Tokens from BRANDING.md. Light is default; dark via prefers-color-scheme. */

:root {
  --brand: #FF9A4E;
  --brand-on: #0F0B09;
  --brand-pressed: #EB7F3B;
  --brand-text: #A1481C;
  --brand-subtle: #FFF3E8;
  --accent: #8B3742;
  --bg: #FFFDFB;
  --surface: #F5F2ED;
  --line: #EAE5E0;
  --fg: #1D1815;
  --fg-muted: #746B65;
  --footer-bg: #1A1512;
  --footer-fg: #F5F2ED;
  --footer-muted: #B4ACA6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-pressed: #FFBB85;
    --brand-text: #FFBB85;
    --brand-subtle: #3A2213;
    --accent: #E4A1AA;
    --bg: #1A1512;
    --surface: #241E1A;
    --line: #38312C;
    --fg: #F5F2ED;
    --fg-muted: #B4ACA6;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { color: var(--brand-pressed); }

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

img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.hero-wordmark { width: min(320px, 70vw); margin-bottom: 2rem; }

.hero p.tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--fg-muted);
  max-width: 34em;
  margin-bottom: 2rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.store-badges img { height: 52px; width: auto; }

.store-badges a { display: inline-block; border-radius: 8px; }

/* ---------- sections ---------- */

.section { padding: clamp(3rem, 7vw, 5rem) 0; }

.section.alt { background: var(--surface); }

.section .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 0.75rem;
}

.section p { max-width: 44em; color: var(--fg-muted); font-size: 1.05rem; }

.section p strong { color: var(--fg); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1.5px solid var(--line);
  border-radius: 9999px;
  padding: 0.35em 1em;
  font-size: 0.9rem;
  color: var(--fg-muted);
  background: var(--bg);
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 44rem) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--brand-subtle);
  color: var(--brand-text);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.steps h3 { margin-bottom: 0.35em; }

.steps p { font-size: 0.98rem; margin: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 46rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.75rem 0;
  list-style-position: outside;
}

.faq summary:hover { color: var(--brand-text); }

.faq details p {
  padding-bottom: 1rem;
  margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, #FFBB85 0%, #FF9A4E 55%, #E9762F 100%);
  color: #0F0B09;
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-band h2 { color: #0F0B09; }

.cta-band p { color: rgba(15, 11, 9, 0.75); max-width: 38em; margin: 0 auto 2rem; }

.cta-band .store-badges { justify-content: center; }

/* ---------- footer ---------- */

footer {
  background: var(--footer-bg);
  color: var(--footer-muted);
  padding: 3.5rem 0 2.5rem;
}

footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

footer .footer-wordmark { width: 180px; }

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer a { color: #FF9A4E; text-decoration: none; }

footer a:hover { color: #FFBB85; text-decoration: underline; }

footer .fineprint { font-size: 0.85rem; margin: 0; }

/* ---------- legal pages ---------- */

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.legal-header .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.legal-header img { width: 128px; }

.legal-header a.back {
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--line);
  border-radius: 9999px;
  padding: 0.4em 1.1em;
  color: var(--fg);
}

.legal-header a.back:hover {
  border-color: var(--brand);
  color: var(--brand-text);
}

.legal {
  max-width: 65ch;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem 5rem;
}

.legal h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 1rem; }

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}

.legal .dates {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal ul { padding-left: 1.3rem; }

.legal li { margin-bottom: 0.5em; }
