/* ============================================================
   Business Amplification Assessment — Brand Design System
   Colors and usage rules per Lacey Newman 2026 External Brand Guidelines
   ============================================================ */

@font-face {
  font-family: 'Noir et Blanc';
  src: url('/fonts/noiretblanc-webfont.woff2') format('woff2'),
       url('/fonts/noiretblanc-webfont.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Noir et Blanc';
  src: url('/fonts/noiretblanc_medium_bold-webfont.woff2') format('woff2'),
       url('/fonts/noiretblanc_medium_bold-webfont.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

:root {
  --teal: #062A2E;       /* Tealicious — primary */
  --rust: #BF5E3D;       /* Regal Rust — accent */
  --gold: #F5DFBB;       /* Golden Hour — neutral */
  --cream: #FBF6EC;      /* soft page background derived from gold family */
  --white: #FFFFFF;
  --ink: #062A2E;
  --ink-soft: rgba(6, 42, 46, 0.72);
  --display: 'Noir et Blanc', 'Prata', serif;
  --body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Layout: centered card, desktop-first, collapses on mobile ---------- */
.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.card {
  width: 100%;
  max-width: 720px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(6, 42, 46, 0.10);
  overflow: hidden;
}

/* ---------- Welcome ---------- */
.welcome-band {
  background: var(--teal);
  padding: 44px 48px 38px;
  text-align: center;
}
.welcome-band img.logo { width: min(340px, 72%); }
.welcome-body { padding: 40px 48px 48px; }
.welcome-title {
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.14;
  margin-bottom: 18px;
}
.framing {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
  font-weight: 500;
}
.field input, .field select {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(6, 42, 46, 0.22);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--rust); border-color: transparent; }
.microcopy { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; font-style: italic; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.revenue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 9px; }
.chip {
  font-family: var(--body); font-size: 14px; font-weight: 400;
  padding: 12px 8px; border: 1px solid rgba(6,42,46,0.22); border-radius: 9px;
  background: var(--white); color: var(--ink); cursor: pointer; text-align: center;
  transition: all 0.14s ease;
}
.chip.selected { background: var(--teal); color: var(--gold); border-color: var(--teal); }

.btn-primary {
  display: block; width: 100%;
  font-family: var(--body); font-weight: 500; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--rust); color: var(--white);
  border: none; border-radius: 9px; padding: 17px; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(191,94,61,0.35); }
.consent { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 16px; }

/* ---------- Statement screens ---------- */
.progress-track { height: 3px; background: rgba(6,42,46,0.10); }
.progress-fill { height: 3px; background: var(--rust); transition: width 0.35s ease; }
.statement-wrap { padding: 72px 56px 64px; text-align: center; position: relative; }
.statement {
  font-family: var(--display);
  font-size: clamp(23px, 3.4vw, 31px);
  line-height: 1.34;
  margin-bottom: 46px;
  min-height: 3.6em;
}
.answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; max-width: 560px; margin: 0 auto; }
.answer {
  font-family: var(--body); font-size: 13.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 17px 10px; border: 1.5px solid rgba(6,42,46,0.25); border-radius: 10px;
  background: var(--white); color: var(--ink); cursor: pointer;
  transition: all 0.13s ease;
}
.answer:hover { border-color: var(--rust); color: var(--rust); }
.answer:active, .answer.picked { background: var(--rust); border-color: var(--rust); color: var(--white); }
.key-hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 22px; letter-spacing: 0.06em; }
.halfway {
  position: absolute; top: 26px; left: 0; right: 0;
  font-size: 13px; color: var(--rust); letter-spacing: 0.08em;
  animation: fadeInOut 3.4s ease forwards;
}
@keyframes fadeInOut { 0%{opacity:0} 18%{opacity:1} 78%{opacity:1} 100%{opacity:0} }
.back-arrow {
  position: absolute; top: 22px; left: 26px;
  background: none; border: none; color: var(--ink-soft); font-size: 20px; cursor: pointer;
}

/* ---------- Pause ---------- */
.pause-wrap { padding: 120px 48px; text-align: center; }
.pause-line { font-family: var(--display); font-size: 24px; color: var(--ink-soft); }
.dot { animation: blink 1.2s infinite; } .dot:nth-child(2){animation-delay:.2s} .dot:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,100%{opacity:.2} 50%{opacity:1} }

/* ---------- Results ---------- */
.results-head { background: var(--teal); padding: 40px 48px 44px; text-align: center; }
.results-head img.logo { width: 220px; margin-bottom: 26px; }
.results-name { color: var(--gold); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.score-num { font-family: var(--display); font-size: 88px; line-height: 1; color: var(--white); }
.score-denom { font-size: 15px; color: var(--gold); letter-spacing: 0.1em; margin-top: 4px; }
.profile-name { font-family: var(--display); font-size: 27px; color: var(--gold); margin-top: 18px; }
.results-body { padding: 42px 48px 48px; }
.profile-para { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 36px; }

.bars { margin-bottom: 38px; }
.bar-row { display: grid; grid-template-columns: 148px 1fr 34px; align-items: center; gap: 14px; margin-bottom: 15px; }
.bar-label { font-size: 14px; font-weight: 500; }
.bar-tag { display: inline-block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); margin-left: 6px; }
.bar-track { height: 9px; background: rgba(6,42,46,0.08); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--teal); border-radius: 6px; }
.bar-fill.leverage { background: var(--rust); }
.bar-score { font-size: 14px; font-weight: 500; text-align: right; }

.hlf-hero { background: var(--gold); border-radius: 12px; padding: 30px 32px; margin-bottom: 36px; }
.hlf-kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); font-weight: 500; margin-bottom: 10px; }
.hlf-name { font-family: var(--display); font-size: 32px; margin-bottom: 12px; }
.hlf-framing { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 38px; }
.col h3 { font-size: 16px; margin-bottom: 14px; }
.col li { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 12px; list-style: none; padding-left: 18px; position: relative; }
.col.ready li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.col.problem li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); }

.shifts { margin-bottom: 38px; }
.shift { border-left: 3px solid var(--rust); padding: 4px 0 4px 18px; margin-bottom: 16px; font-size: 15.5px; line-height: 1.55; }

.next-step { background: var(--teal); border-radius: 12px; padding: 34px 36px; text-align: center; }
.next-step p { color: var(--gold); font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.next-step img { width: 180px; margin-bottom: 10px; }
.next-step a.btn-primary { display: inline-block; width: auto; padding: 15px 42px; text-decoration: none; }
.download-row { text-align: center; margin-bottom: 34px; }

@media (max-width: 620px) {
  .welcome-band, .welcome-body, .results-head, .results-body { padding-left: 24px; padding-right: 24px; }
  .statement-wrap { padding: 64px 24px 48px; }
  .grid-2, .cols { grid-template-columns: 1fr; }
  .answers { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 110px 1fr 30px; }
  .score-num { font-size: 68px; }
}

.framing strong, .profile-para strong { color: var(--ink); font-weight: 500; }
.next-step p strong { color: var(--white); font-weight: 500; }

.inbox-note { font-size: 13.5px; font-style: italic; color: var(--ink-soft); text-align: center; padding: 6px 0 2px; }
.results-head { padding-top: 34px; }
