/* AI Skills Check — Buzz Communications styling */
:root {
  --teal: #00AAB1;
  --blue: #0051A4;
  --orange: #F8991C;
  --red: #ED1C24;
  --ink: #1A1A1A;
  --muted: #5c6670;
  --teal-tint: #EBF8F9;
  /* Darkened Buzz teal for text links. Full-strength #00AAB1 only reaches 2.8:1 on white,
     which fails WCAG AA. This is the same hue at 70% and clears 5.3:1. */
  --teal-link: #00777C;
  --bg: #f5f8f9;
  --card: #ffffff;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Aptos", "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
}
.test-banner {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 6px 12px;
}
.app {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 2px 14px rgba(0, 40, 60, 0.08);
  margin-bottom: 16px;
}
h1 { font-size: 1.7rem; line-height: 1.2; color: var(--blue); margin-bottom: 12px; }
h2 { font-size: 1.25rem; color: var(--blue); margin-bottom: 10px; }
h3 { font-size: 1.02rem; color: var(--teal); margin-bottom: 6px; }
p { margin-bottom: 12px; }
.meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.fine-print { color: var(--muted); font-size: 0.78rem; margin-top: 14px; }
.who-for-h { margin-top: 4px; }
/* Sits inside the lockup under the product name. Uses the darkened teal because at this
   size full-strength #00AAB1 is 2.8:1 on white. */
.tagline { color: var(--teal-link); font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
/* Title row on the opening screen: product mark beside the headline */
/* Icon + product name lockup. Same pairing as the share tile.
   The name is set in Buzz black so the icon carries the colour; brand teal only
   reaches 2.8:1 on white and fails WCAG AA at label size. */
.lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.lockup-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.app-icon { width: 46px; height: 46px; flex-shrink: 0; }
.app-icon svg { width: 100%; height: 100%; display: block; }
.eyebrow {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #010101;
  line-height: 1;
}
.eyebrow .tm { font-size: 0.68em; letter-spacing: 0; vertical-align: 0.45em; margin-left: 1px; font-weight: 700; }
@media (max-width: 380px) { .app-icon { width: 42px; height: 42px; } .lockup { gap: 10px; } .eyebrow { font-size: 0.72rem; } .tagline { font-size: 0.86rem; } }

.domain-header { display: flex; gap: 10px; align-items: center; }
.domain-icon { width: 30px; height: 30px; flex-shrink: 0; }
.domain-icon svg { width: 100%; height: 100%; }
.who-for-p { font-size: 0.92rem; }

/* Opening screen: break the wall of text into a lead, scannable points and a note */
.lead { font-size: 1.08rem; line-height: 1.5; color: var(--ink); margin-bottom: 16px; }
.facts { list-style: none; margin: 0 0 16px; padding: 0; }
.facts li {
  position: relative;
  padding-left: 26px;
  font-size: 0.93rem;
  color: var(--ink);
  margin-bottom: 7px;
  line-height: 1.4;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 4px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--teal);
}
.facts li:nth-child(2)::before { background: var(--blue); }
.facts li:nth-child(3)::before { background: #97268F; }
.facts li:nth-child(4)::before { background: var(--orange); }
/* Orange so it separates from the teal author strip below it. At a 5-10% tint,
   warm against cool is the only pairing that reads; pale blue and pale teal look alike. */
.note-box {
  background: #FDF2E3;
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 13px 15px;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 4px;
}

/* Light copy deterrent: survey content can't be casually selected.
   Inputs stay selectable so people can edit what they type. */
.card { -webkit-user-select: none; user-select: none; }
input, textarea { -webkit-user-select: text; user-select: text; }

.btn {
  display: block;
  width: 100%;
  background: var(--teal);
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
  margin-top: 18px;
}
.btn:active { transform: scale(0.99); }
.btn:disabled { background: #b9c4c9; cursor: default; }
.back-link {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 10px;
  display: block;
}
.back-link:active { color: var(--teal-link); }
.btn-secondary {
  background: none;
  border: none;
  color: var(--teal-link);
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  display: block;
  margin: 14px auto 0;
}

/* Author strip */
.author-strip {
  display: flex;
  gap: 13px;
  align-items: center;
  border-top: 1px solid #e2e9ec;
  padding: 16px 2px 4px;
  margin: 20px 0 4px;
}
.author-strip img, .author-fallback {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-fallback {
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}
.author-strip p { font-size: 0.87rem; margin: 0; }
.how-built { margin-top: 10px; }
.how-built + .how-built { margin-top: 6px; }
.how-built[open] summary { color: var(--teal-link); }
.how-built summary {
  color: var(--teal-link);
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  list-style: none;
}
.how-built summary::-webkit-details-marker { display: none; }
.how-built .expander {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 14px;
  margin-top: 10px;
  font-size: 0.92rem;
}
.signoff { color: var(--muted); font-style: italic; }

/* Inputs */
.field-label { font-weight: 700; color: var(--blue); font-size: 0.92rem; margin-bottom: 4px; display: block; }
.field-hint { color: var(--muted); font-size: 0.8rem; margin-bottom: 6px; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #cfd8dc;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  font-size: 0.92rem;
  cursor: pointer;
}
.checkbox-row input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }

/* About You sections: four short groups instead of one long form */
.sec-head { border-top: 1px solid #e2e9ec; padding-top: 16px; margin-top: 18px; margin-bottom: 10px; }
.sec-head.first { border-top: none; padding-top: 4px; margin-top: 6px; }
.sec-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.label-row .field-label { margin-bottom: 0; }
/* Live "n of 3" counter. A number that changes as you tap is read; a static instruction is skimmed. */
.counter {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1.5px solid;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Option chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 9px 14px;
  border: 1.5px solid #cfd8dc;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.chip.selected { font-weight: 700; }
.rank-badge {
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.72rem;
  margin-right: 6px;
  vertical-align: -3px;
  flex-shrink: 0;
}

/* Sentiment / stacked options */
.stack-option {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 0.98rem;
  background: #fff;
  border: 1.5px solid #cfd8dc;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
}
.stack-option.selected { border-color: var(--teal); background: var(--teal-tint); font-weight: 700; }

/* Progress + question screens */
.progress-wrap { margin-bottom: 18px; }
.progress-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.progress-bar { height: 8px; background: #e2e9ec; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--orange); border-radius: 999px; transition: width 0.3s; }
.domain-header { margin-bottom: 6px; }
.domain-header .domain-name { color: var(--teal); font-weight: 800; font-size: 1.3rem; }
.domain-header .domain-desc { color: var(--muted); font-size: 0.92rem; }
.q-block { margin: 20px 0 4px; }
.q-text { font-size: 1rem; margin-bottom: 10px; }
.q-num { color: var(--teal); font-weight: 800; margin-right: 4px; }
.rating-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rating-btn {
  font-family: inherit;
  border: 1.5px solid #cfd8dc;
  background: #fff;
  border-radius: 10px;
  padding: 8px 4px 6px;
  cursor: pointer;
  color: var(--ink);
}
.rating-btn .num { display: block; font-weight: 800; font-size: 1.05rem; }
.rating-btn .lbl { display: block; font-size: 0.68rem; line-height: 1.2; color: var(--muted); }
.rating-btn.selected { background: var(--teal); border-color: var(--teal); color: #fff; }
.rating-btn.selected .lbl { color: #eafcfd; }

/* Result screen */
.result-band { text-align: center; padding-top: 2px; }
.result-badge { width: 58px; height: 58px; margin: 0 auto 10px; }
.result-badge svg { display: block; }
.result-score {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.result-label { font-size: 1.5rem; font-weight: 800; margin: 4px 0 14px; }
.band-text { text-align: left; }
.bars { margin: 10px 0 4px; }
.bar-row { display: grid; grid-template-columns: 118px 1fr 44px; gap: 10px; align-items: center; margin-bottom: 12px; }
.bar-name { font-size: 0.9rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.bar-desc { display: block; font-size: 0.68rem; font-weight: 400; color: var(--muted); }
.bar-track { height: 14px; background: #e2e9ec; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--teal); border-radius: 999px; }
.bar-pct { font-size: 0.85rem; color: var(--muted); text-align: right; }
.callout { border-left: 4px solid var(--teal); background: var(--teal-tint); border-radius: 0 10px 10px 0; padding: 12px 14px; margin-bottom: 12px; }
.callout.opportunity { border-left-color: #97268F; background: #f7edf6; }
.callout h3 { margin-bottom: 4px; color: var(--teal); }
.callout.opportunity h3 { color: #97268F; }
.callout.even { border-left-color: var(--blue); background: #f2f6fb; }
.callout.even h3 { color: var(--blue); }
.callout p { margin: 0; font-size: 0.95rem; }

.thanks { text-align: center; }
.thanks h2 { color: var(--teal); }
.error-msg { color: var(--red); font-size: 0.88rem; margin-top: 8px; }
.footer-brand { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 20px; }
.footer-brand a { color: var(--teal-link); }
