/* =========================================================
   base.css
   Reset, tokens, typography, buttons, form controls, utilities
   ========================================================= */

:root {
  --bg: #100D0A;
  --panel: #17130E;
  --paper: #F5F0E5;
  --paper-deep: #EAE1CE;
  --cream: #F3EEE3;
  --cream-dim: rgba(243, 238, 227, 0.62);
  --cream-line: rgba(243, 238, 227, 0.12);
  --ink: #17130E;
  --ink-dim: rgba(23, 19, 14, 0.62);
  --ink-line: rgba(23, 19, 14, 0.12);

  --go: #5B9464;
  --go-bg: rgba(91, 148, 100, 0.14);
  --think: #D69A3E;
  --think-bg: rgba(214, 154, 62, 0.14);
  --stop: #C25A3C;
  --stop-bg: rgba(194, 90, 60, 0.14);

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1200px;

  --font-serif: "Munday", "Playfair Display", "Times New Roman", serif;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ---- Typography ---- */

.serif,
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  margin: 0;
}

h3 {
  font-size: 1.4rem;
  margin: 0;
}

.italic {
  font-style: italic;
}

.hl-think {
  color: var(--think);
}

.hl-go {
  color: var(--go);
}

.hl-stop {
  color: var(--stop);
}

.kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0 0 1rem;
}

.kicker--light {
  color: var(--cream-dim);
}

.kicker--dark {
  color: var(--ink-dim);
}

/* ---- Container ---- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn--primary:hover {
  background: #fff;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
}

.btn--wide {
  width: 100%;
}

.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

/* ---- Form controls ---- */

.field {
  display: block;
  margin-bottom: 0.9rem;
}

.field__lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.4rem;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  width: 100%;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 0.95rem;
  transition: border 0.2s ease, background 0.2s ease;
}

.field input::placeholder {
  color: rgba(243, 238, 227, 0.35);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--think);
  background: rgba(255, 255, 255, 0.06);
}

.field__phone {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.5rem;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cream-dim) 50%),
    linear-gradient(135deg, var(--cream-dim) 50%, transparent 50%);
  background-position: right 12px top 50%, right 6px top 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 1.5rem;
  cursor: pointer;
}

/* ---- Stats row ---- */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem 2.6rem;
  margin: 2rem 0 0;
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stats__num {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.stats__num .plus {
  font-weight: 400;
  margin-left: 0.05em;
}

.stats__lbl {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.stats--light .stats__lbl {
  color: var(--cream-dim);
}

.stats--dark .stats__lbl {
  color: var(--ink-dim);
}

.stats--dark .stats__num {
  color: var(--ink);
}

/* ---- Traffic light dots ---- */

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--go {
  background: var(--go);
  box-shadow: 0 0 0 4px var(--go-bg);
}

.dot--think {
  background: var(--think);
  box-shadow: 0 0 0 4px var(--think-bg);
}

.dot--stop {
  background: var(--stop);
  box-shadow: 0 0 0 4px var(--stop-bg);
}

/* ---- Chips / tags ---- */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
}

.tag--think {
  background: var(--think-bg);
  color: var(--think);
}

.tag--stop {
  background: var(--stop-bg);
  color: var(--stop);
}

.tag--go {
  background: var(--go-bg);
  color: var(--go);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  border-radius: 100px;
  border: 1px solid transparent;
}

.chip--go {
  background: var(--go-bg);
  color: var(--go);
  border-color: rgba(91, 148, 100, 0.28);
}

.chip--think {
  background: var(--think-bg);
  color: var(--think);
  border-color: rgba(214, 154, 62, 0.28);
}

.chip--stop {
  background: var(--stop-bg);
  color: var(--stop);
  border-color: rgba(194, 90, 60, 0.28);
}

/* Placeholder marker for pending copy */
.ph {
  color: var(--stop);
  background: var(--stop-bg);
  padding: 0.5rem 0.75rem;
  border-left: 2px solid var(--stop);
  border-radius: 2px;
}

/* ---- Brand mark (bold sans-serif wordmark) ---- */

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand__name {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--cream);
}
