/* ============================================================
   Sommer Leadership — 12Q Leadership Snapshot prototype
   Brand source: Brand Governance Cheat Sheet (Locked April 2026, v1.0)
   ------------------------------------------------------------
   Colors
     Primary Teal    #006C80   headings, rules, accent bars, bars
     Card Background  #EEF3F4   cards, callouts, alt rows
     Dark Text        #1A2A33   body text
     Muted Text       #5E6F78   footers, captions
     White            #FFFFFF   page backgrounds, text on teal
   Type
     Display/Titles   EB Garamond (Bold)  — headings & wordmark
     Body/Content     Segoe UI (Regular)
     Accent/Labels    Segoe UI (Semibold) — eyebrows, labels
   ============================================================ */

/* EB Garamond for display type (free, open-source per brand sheet) */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;600;700&display=swap');

:root {
  /* Accent aligned to sommerleadership.com header/buttons (July 13, 2026).
     Variable names kept as --teal/--teal-dark so all references still work. */
  --teal:        #3F4E8B;
  --teal-dark:   #32406F;
  --card-bg:     #EEF3F4;
  --dark:        #1A2A33;
  --muted:       #5E6F78;
  --white:       #FFFFFF;
  --border:      #D6E0E3;

  /* tier accents (derived from brand teal + standard signal hues) */
  --tier-reliable:   #006C80;
  --tier-functional: #4E8A3A;  /* steady green-teal */
  --tier-friction:   #C98A1E;  /* amber */
  --tier-disabling:  #B23A2E;  /* red */

  --display: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --radius: 8px;
  --shadow: 0 1px 3px rgba(26, 42, 51, 0.08), 0 4px 16px rgba(26, 42, 51, 0.05);
  --maxw: 760px;
}

* { box-sizing: border-box; }

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

body {
  font-family: var(--body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Headings ---- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); }

.eyebrow,
.gear-eyebrow {
  font-family: var(--body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  color: var(--teal);
  margin: 0 0 .5em;
}

.lede {
  font-size: 1.2rem;
  color: var(--dark);
  font-family: var(--display);
  font-weight: 500;
}
.muted { color: var(--muted); }
.fine-print { color: var(--muted); font-size: .92rem; }

/* ============================================================
   Header / Footer
   ============================================================ */
.site-header {
  border-bottom: 3px solid var(--teal-dark);
  background: var(--teal);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo-link { display: inline-block; line-height: 0; }
.logo { height: 46px; width: auto; display: block; }
.header-link {
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.header-link:hover { text-decoration: underline; }

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
}
.footer-contact {
  color: var(--muted);
  font-size: .85rem;
  margin: 0 0 .35em;
}
.footer-contact a { color: var(--muted); }
.footer-copy {
  color: var(--muted);
  font-size: .8rem;
  margin: 0;
}

/* ============================================================
   Cards & buttons
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  padding: 12px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-primary:disabled {
  background: #9CB4BB;
  border-color: #9CB4BB;
  cursor: not-allowed;
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--teal); }
.btn-ghost:disabled { color: #B6C3C8; cursor: default; }
.btn-lg { font-size: 1.08rem; padding: 14px 34px; margin-top: 8px; }

/* ============================================================
   Landing
   ============================================================ */
.landing { padding: 48px 20px 20px; }
.hero { text-align: center; padding: 44px 36px; }
.hero h1 { margin-bottom: .25em; }
.hero p { max-width: 56ch; margin-left: auto; margin-right: auto; }

.gear-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.gear-chip {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gear-chip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: .78rem;
}

/* ============================================================
   Snapshot (questionnaire)
   ============================================================ */
.snapshot { padding: 36px 20px 24px; }

.progress-block { margin-bottom: 22px; }
.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.progress-count {
  font-weight: 600;
  font-size: .95rem;
  color: var(--dark);
}
.progress-gear {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--teal);
  text-align: right;
}

.bar {
  width: 100%;
  height: 8px;
  background: var(--card-bg);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 999px;
  transition: width .3s ease;
}

.question-card { padding: 32px; }
.q-title {
  font-family: var(--display);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.15rem;
  margin: 0 0 .6em;
}
.q-statement {
  font-size: 1.32rem;
  font-family: var(--display);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: .5em;
}
.q-amplify {
  color: var(--muted);
  font-size: .98rem;
  margin-bottom: 1.4em;
}

.scale {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scale-legend {
  font-weight: 600;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 12px;
  padding: 0;
}
.scale-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
  background: var(--white);
}
.scale-option:hover { border-color: var(--teal); background: var(--card-bg); }
.scale-option.selected {
  border-color: var(--teal);
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.scale-option input { accent-color: var(--teal); width: 18px; height: 18px; flex: 0 0 auto; }
.scale-num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.25rem;
  width: 1.4ch;
  text-align: center;
}
.scale-text { font-weight: 600; }

.snapshot-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

/* ============================================================
   Report
   ============================================================ */
.report { padding: 36px 20px 24px; }

.report-head { text-align: left; }
.report-head .lede { margin-bottom: 1.2em; }

.overall-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 18px 0 16px;
}
.overall-dial {
  flex: 0 0 auto;
  width: 150px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border-left: 6px solid var(--teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 8px;
}
.overall-dial.tier-reliable   { border-left-color: var(--tier-reliable); }
.overall-dial.tier-functional { border-left-color: var(--tier-functional); }
.overall-dial.tier-friction   { border-left-color: var(--tier-friction); }
.overall-dial.tier-disabling  { border-left-color: var(--tier-disabling); }
.overall-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
}
.overall-denom { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.overall-meta { flex: 1 1 280px; min-width: 240px; }
.overall-caption {
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 .5em;
}
.overall-interp { margin-top: .8em; }
.scale-note {
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

/* tier pills */
.tier-pill {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 3px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal);
}
.tier-pill.tier-reliable   { background: var(--tier-reliable); }
.tier-pill.tier-functional { background: var(--tier-functional); }
.tier-pill.tier-friction   { background: var(--tier-friction); }
.tier-pill.tier-disabling  { background: var(--tier-disabling); }

.tier-text-reliable   { color: var(--tier-reliable); }
.tier-text-functional { color: var(--tier-functional); }
.tier-text-friction   { color: var(--tier-friction); }
.tier-text-disabling  { color: var(--tier-disabling); }

/* bar fill tints by tier */
.bar-fill.tier-reliable   { background: var(--tier-reliable); }
.bar-fill.tier-functional { background: var(--tier-functional); }
.bar-fill.tier-friction   { background: var(--tier-friction); }
.bar-fill.tier-disabling  { background: var(--tier-disabling); }

/* gear sections */
.gear { padding: 26px 28px; }
.gear-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}
.gear-titleblock { flex: 1 1 auto; }
.gear-desc { color: var(--muted); font-size: .92rem; margin: 0; }
.gear-scoreblock {
  flex: 0 0 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.gear-score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--teal);
}
.gear-interp { margin-top: 14px; }

/* drift + flags */
.drift h2 { margin-bottom: .4em; }
.drift-primary {
  background: var(--card-bg);
  border-left: 4px solid var(--teal);
  padding: 14px 16px;
  border-radius: 4px;
  font-weight: 600;
  margin: 16px 0 12px;
}
.drift-secondary { color: var(--muted); font-size: .95rem; }
.flag {
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 14px;
  border: 1px solid var(--border);
}
.flag-head {
  font-weight: 700;
  font-family: var(--display);
  margin: 0 0 .35em;
}
.flag-flatline { background: #F4F0E6; border-color: #E4D9BD; }
.flag-flatline .flag-head { color: var(--tier-friction); }
.flag-volatility { background: #F7ECEA; border-color: #ECCFC9; }
.flag-volatility .flag-head { color: var(--tier-disabling); }

/* CTA + email */
.cta { background: var(--card-bg); border-color: var(--border); }
.cta h2 { margin-bottom: .4em; }

.email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.email-input {
  flex: 1 1 240px;
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
}
.email-input:focus { outline: none; border-color: var(--teal); }

/* Soft gate */
.gate { background: var(--card-bg); border-color: var(--border); }
.gate .gate-head { margin-bottom: .3em; }
.gate-error { color: var(--tier-disabling); margin-top: 10px; font-size: .95rem; }

/* Share block */
.share { background: var(--card-bg); border-color: var(--border); }
.share h2 { margin-bottom: .4em; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.retake { text-align: center; margin: 8px 0 0; }
.retake a { font-weight: 600; }

.empty-state { text-align: center; }
.empty-state .btn { margin-top: 12px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .card { padding: 22px; }
  .hero { padding: 30px 22px; }
  .overall-row { gap: 16px; }
  .overall-dial { width: 100%; flex-direction: row; gap: 10px; justify-content: flex-start; padding: 14px 18px; }
  .overall-num { font-size: 2.4rem; }
  .gear-top { flex-direction: column; gap: 8px; }
  .gear-scoreblock { flex-direction: row; align-items: center; text-align: left; }
  .progress-gear { font-size: .72rem; }
  .snapshot-nav .btn { padding: 12px 20px; }
}

/* ============================================================
   26Q Leadership Behavior Diagnostic — additive styles
   (used only by report-26q.html; the 12Q pages do not reference
   these classes, so the working 12Q is unaffected.)
   ============================================================ */

/* overall percentage under the dial number */
.overall-pct {
  font-family: var(--body);
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Rob signature line in the header */
.report-signature {
  font-family: var(--display);
  font-style: italic;
  color: var(--muted);
  margin: 4px 0 14px;
}

/* strengths + friction behavior lists */
.strengths-friction .sf-block { margin-bottom: 26px; }
.strengths-friction .sf-block:last-child { margin-bottom: 0; }
.strengths-friction h2 { margin-bottom: .3em; }

.behavior-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 12px;
  background: var(--card-bg);
}
.sf-friction .behavior-row { background: #F7ECEA; border-color: #ECCFC9; }

.behavior-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.behavior-letter {
  font-family: var(--display);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.05rem;
  flex: 0 0 auto;
  width: 1.4ch;
}
.behavior-title {
  font-weight: 600;
  color: var(--dark);
  flex: 1 1 auto;
}
.behavior-score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  flex: 0 0 auto;
}
.behavior-statement {
  margin: 0;
  color: var(--dark);
  font-size: .96rem;
}

/* builds-on-12Q matched callout */
.builds-matched {
  background: var(--card-bg);
  border-left: 4px solid var(--teal);
  padding: 14px 16px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* torque map teaser */
.teaser { background: var(--card-bg); border-color: var(--border); }

/* handoff card */
.handoff h2 { margin-bottom: .4em; }
.handoff .fine-print { margin-top: 10px; }

@media (max-width: 600px) {
  .behavior-head { flex-wrap: wrap; }
  .behavior-score { width: 100%; }
}

/* Release 1.0 band classes. Colour mapping: strong=reliable, functional=functional, weak=friction, critical=disabling. */
.overall-dial.tier-strong     { border-left-color: var(--tier-reliable); }
.overall-dial.tier-functional { border-left-color: var(--tier-functional); }
.overall-dial.tier-weak       { border-left-color: var(--tier-friction); }
.overall-dial.tier-critical   { border-left-color: var(--tier-disabling); }
.tier-pill.tier-strong        { background: var(--tier-reliable); }
.tier-pill.tier-weak          { background: var(--tier-friction); }
.tier-pill.tier-critical      { background: var(--tier-disabling); }
.bar-fill.tier-strong         { background: var(--tier-reliable); }
.bar-fill.tier-weak           { background: var(--tier-friction); }
.bar-fill.tier-critical       { background: var(--tier-disabling); }
.bar-fill.tier-neutral        { background: var(--tier-functional); }
.activated-item { padding: 14px 0; border-top: 1px solid rgba(0,0,0,.08); }
.activated-item:first-of-type { border-top: 0; }
.activated-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.activated-score { font-family: var(--display); font-weight: 700; }
.activated-def { margin: 6px 0 8px; }
.activated-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 2px; }
.activated-codes { font-size: .85rem; opacity: .75; }
.activated-list { margin: 4px 0 0 18px; padding: 0; }
.activated-list li { margin: 4px 0; }

/* PDF notice under the results, 2026-10-06 */
.pdf-sent { text-align: center; margin: 18px 0 6px; color: var(--dark); }
