/* Kanter Solutions brand system — matched to kantersolutions.com
   Palette, type scale and section rhythm are lifted from the live site. */

:root {
  --ink:       #0B0D0C;   /* page dark   */
  --ink-2:     #161A19;   /* raised dark */
  --mint:      #78D6B4;   /* accent      */
  --mint-lift: #8CE0C2;   /* accent hover */
  --green:     #1B5A44;   /* deep green  */
  --off:       #F8FAF9;   /* alt light bg */
  --white:     #FFFFFF;
  --body:      #333333;
  --muted:     #9E9E9E;

  --glass:     rgba(255, 255, 255, .07);
  --hairline:  rgba(255, 255, 255, .12);

  --maxw:      1300px;
  --pad-y:     clamp(72px, 9vw, 120px);
  --pad-x:     clamp(20px, 5vw, 50px);
  --r-card:    15px;
  --r-btn:     4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- type ---------- */

.display {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
  letter-spacing: .075em;
  line-height: 1.45;
}
.display-green { color: var(--green); }
.display-ink   { color: var(--ink); }

.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--mint);
}
.eyebrow-green { color: var(--green); }

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  max-width: 62ch;
}

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 16px 30px;
  border: 2px solid var(--mint);
  border-radius: var(--r-btn);
  background: var(--mint);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: inherit;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--mint-lift); border-color: var(--mint-lift); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- nav ---------- */

.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 30px var(--pad-x);
}

/* Absolutely positioned so the tall mark sits in the header band without
   inflating the nav row — same technique as the live site. */
.wordmark {
  position: absolute;
  top: 25px;
  left: 50px;
  z-index: 100;
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Black artwork on a transparent ground — inverted to white on dark. Height and
   breakpoint mirror the live kantersolutions.com header exactly. */
.wordmark-mark {
  height: 150px;
  width: auto;
  filter: brightness(0) invert(1);
}
@media (max-width: 1200px) {
  .wordmark { left: 20px; }
  .wordmark-mark { height: 70px; }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--mint); }

.menu-checkbox, .hamburger { display: none; }

/* ---------- header ---------- */

/* Holds the absolutely-positioned nav. Height is driven by the logo:
   25px top offset + the mark's height + breathing room. Background matches the
   dark section that follows so the two read as one field. */
.site-header {
  position: relative;
  min-height: 120px;
  background: var(--ink);
}
@media (min-width: 1201px) {
  .site-header { min-height: 215px; }
}

/* ---------- layout ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; }

.section { padding: var(--pad-y) var(--pad-x); }
.section-light { background: var(--white); color: var(--body); }
.section-alt   { background: var(--off);   color: var(--body); }
.section-dark  { background: var(--ink);   color: rgba(255, 255, 255, .9); }

.section-head { max-width: 78ch; margin-bottom: 56px; }
.section-head .lede { margin-top: 26px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* The phase row holds a known number of cards, so the column count is explicit:
   auto-fit wrapped awkwardly and stranded the last CTA on its own row. */
.grid-phases { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .grid-phases { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */

.card {
  padding: 30px;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--hairline);
}
.card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--mint);
}
.card p { color: rgba(255, 255, 255, .8); }

.card-light {
  background: var(--white);
  border: 1px solid #E4EAE7;
  box-shadow: 0 1px 3px rgba(11, 13, 12, .05);
}
.card-light h3 { color: var(--green); }
.card-light p  { color: var(--body); }

.stat-num {
  display: block;
  margin-bottom: 6px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--mint);
}
.card-light .stat-num { color: var(--green); }

.stat-src {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Phase cards carry a step index. They are flex columns so the CTA can be
   pushed to the bottom — grid already stretches the cards to equal height, so
   this lines every button up on one baseline no matter how long the copy runs. */
.phase {
  position: relative;
  display: flex;
  flex-direction: column;
}
.phase p { margin-bottom: 22px; }
.phase .btn-card {
  margin-top: auto;      /* takes up the slack above the button */
  align-self: flex-start; /* without this the button stretches the card width */
}
.phase .btn-card[disabled] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}
.phase-num {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--mint);
}
.card-light .phase-num { color: var(--green); opacity: .55; }

/* ---------- callout / cta ---------- */

.rule {
  margin: 56px 0 0;
  padding-top: 30px;
  border-top: 1px solid rgba(11, 13, 12, .12);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--green);
}
.section-dark .rule { border-top-color: var(--hairline); color: var(--mint); }

.cta { text-align: center; }
.cta .display { margin-inline: auto; max-width: 16ch; }
.cta .lede { margin: 26px auto 0; }
.cta .btn-row { justify-content: center; }

/* ---------- assessment dialog ---------- */

.btn-card {
  margin-top: 22px;
  padding: 13px 24px;
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
}
.btn-card:hover { background: #174B39; border-color: #174B39; }

.dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: clamp(26px, 4vw, 42px);
  border: none;
  border-radius: var(--r-card);
  background: var(--white);
  color: var(--body);
  overflow-y: auto;
}
.dialog::backdrop { background: rgba(11, 13, 12, .72); }

.dialog-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--green);
}
.dialog-lede { margin-bottom: 26px; max-width: 46ch; }

.dialog-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { background: var(--off); color: var(--ink); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
}
.field .req { color: #B4432F; }

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D8E1DD;
  border-radius: var(--r-btn);
  background: var(--white);
  color: var(--body);
  font: inherit;
  font-size: 15px;
}
.field textarea { resize: vertical; min-height: 96px; }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}
.field input.has-error,
.field textarea.has-error { border-color: #B4432F; }

.field-error {
  margin: 6px 0 0;
  min-height: 1em;
  font-size: 13px;
  color: #B4432F;
}

.field-row { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 4px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 700;
}
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: #B4432F; }

.dialog .btn-row { margin-top: 20px; }
.dialog .btn { cursor: pointer; font-family: inherit; }
.dialog .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- scorecard ----------
   Uses the home page's own idiom: off-white section, white cards, deep-green
   headings and buttons, mint reserved for accents on dark. */

.wrap-narrow { max-width: 860px; }
.sc-main { padding-top: clamp(48px, 6vw, 76px); }
.sc-main .display { margin-bottom: 22px; }
.sc-main .lede { margin-bottom: 4px; }

/* --- gate --- */

.sc-gate-form { max-width: 420px; margin-top: 30px; }

.sc-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D8E1DD;
  border-radius: var(--r-btn);
  background: var(--white);
  color: var(--body);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.sc-select:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.sc-code-input {
  font-size: 24px !important;
  font-weight: 900;
  letter-spacing: 10px;
  text-align: center;
}

.btn-ghost-light {
  background: transparent;
  color: var(--green);
  border-color: rgba(27, 90, 68, .35);
}
.btn-ghost-light:hover { background: rgba(27, 90, 68, .06); border-color: var(--green); }

/* --- progress --- */

.sc-progress { margin: 0 0 40px; }

.sc-rootline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.sc-rootline-item {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #A9B5B0;
  transition: color .15s ease;
}
.sc-rootline-item.is-done { color: var(--green); opacity: .6; cursor: pointer; }
.sc-rootline-item.is-done:hover { opacity: 1; }
.sc-rootline-item.is-current { color: var(--green); opacity: 1; }

.sc-bar {
  height: 6px;
  border-radius: 999px;
  background: #E1E8E5;
  overflow: hidden;
}
.sc-bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--green);
  transition: width .25s ease;
}
.sc-progress-meta {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6B7B75;
}
.sc-dot { margin: 0 6px; }

/* --- questions: the home page's white card --- */

.sc-question {
  margin-bottom: 20px;
  padding: 26px 28px;
  border: 1px solid #E4EAE7;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(11, 13, 12, .05);
}
.sc-question.has-error { border-color: #B4432F; }
.sc-question.has-error .sc-q-text { color: #B4432F; }

.sc-q-text {
  display: block;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.sc-q-optional {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--off);
  border: 1px solid #E1E8E5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6B7B75;
  vertical-align: 2px;
}

.sc-q-help {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #6B7B75;
}

.sc-section-note {
  margin: 0 0 26px;
  padding: 16px 20px;
  border-left: 3px solid var(--green);
  background: var(--white);
  border-radius: 0 var(--r-btn) var(--r-btn) 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}

.sc-options { display: grid; gap: 8px; }

.sc-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid #E1E8E5;
  border-radius: var(--r-btn);
  background: var(--white);
  color: var(--body);
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.sc-option:hover { background: var(--off); border-color: #C7D5CF; }
.sc-option input { margin: 3px 0 0; accent-color: var(--green); flex: none; }
.sc-option:has(input:checked) {
  border-color: var(--green);
  background: #EFF6F3;
  color: var(--ink);
  font-weight: 700;
}
.sc-option:focus-within { outline: 2px solid var(--green); outline-offset: 1px; }

.sc-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D8E1DD;
  border-radius: var(--r-btn);
  background: var(--white);
  color: var(--body);
  font: inherit;
  font-size: 15px;
  resize: vertical;
}
.sc-textarea::placeholder { color: #A9B5B0; }
.sc-textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }

/* --- navigation --- */

.sc-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}
.sc-nav-start { justify-content: flex-start; }
.sc-nav .btn { cursor: pointer; font-family: inherit; margin-top: 0; }
.sc-nav .btn[disabled] { opacity: .6; cursor: progress; }

/* --- result --- */

.result-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 30px 0 34px;
  padding-bottom: 28px;
  border-bottom: 3px solid var(--green);
}
.result-score {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: var(--green);
  letter-spacing: -2px;
}
.result-score-max {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  color: #9AA9A3;
  margin-left: 8px;
}
.result-caption {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6B7B75;
}
.result-tier {
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .4px;
}

.result-block { margin: 0 0 38px; }
.result-block > p { color: #4A5A54; margin: 0 0 14px; }
.result-headline {
  font-size: 25px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 16px;
}
.result-h {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 14px;
}
.result-sub {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  margin: 22px 0 10px;
}
.result-list { margin: 0 0 14px; padding-left: 20px; }
.result-list li { color: #4A5A54; margin-bottom: 7px; }
.result-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #E8F0EC;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 14px;
}
.result-spots { margin: 0; padding-left: 20px; }
.result-spots li { margin-bottom: 16px; }
.spot-q { display: block; font-weight: 800; color: var(--ink); }
.spot-a { display: block; font-size: 14px; color: #6B7B75; margin-top: 3px; }
.result-cta {
  padding: 32px;
  border-radius: 14px;
  background: #F4F8F6;
  border: 1px solid #DCE7E2;
}
.result-cta .btn { margin-top: 6px; }

.score-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 2fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid #E4EAE7;
}
.score-label { font-weight: 700; color: var(--ink); }
.score-bar { height: 6px; border-radius: 999px; background: #E1E8E5; overflow: hidden; }
.score-bar > span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.score-value { font-weight: 900; color: var(--green); }
.score-insight { grid-column: 1 / -1; font-size: 14px; color: #6B7B75; line-height: 1.6; }

@media (max-width: 560px) {
  .score-row { grid-template-columns: 1fr auto; }
  .score-bar { grid-column: 1 / -1; }
  .sc-nav { flex-direction: column-reverse; align-items: stretch; }
  .sc-nav .btn { width: 100%; text-align: center; }
  .sc-question { padding: 22px 20px; }
}

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

.footer {
  padding: 44px var(--pad-x);
  background: var(--ink-2);
  border-top: 1px solid var(--hairline);
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer p { margin: 0; font-size: 12px; color: var(--muted); }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--mint); }
.footer-links { display: flex; gap: 26px; }

/* ---------- mobile nav ---------- */

@media (max-width: 860px) {
  .hamburger {
    display: block;
    position: relative;
    z-index: 30;
    width: 26px;
    height: 18px;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    height: 2px;
    margin-bottom: 6px;
    background: var(--white);
    transition: transform .2s ease, opacity .2s ease;
  }
  .hamburger span:last-child { margin-bottom: 0; }

  .nav-list {
    position: fixed;
    inset: 0;
    z-index: 25;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(11, 13, 12, .97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* fade out first, then hide; opening flips visibility immediately */
    transition: opacity .2s ease, visibility 0s linear .2s;
  }
  .menu-checkbox:checked ~ .nav-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .2s ease, visibility 0s linear 0s;
  }
  .menu-checkbox:checked ~ .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-checkbox:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .menu-checkbox:checked ~ .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-link { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- plain feature list ---------- */

.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding: 0 0 0 30px;
  margin-bottom: 13px;
  color: #4A5A54;
  line-height: 1.65;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}
.section-dark .checks li { color: #C9D3CF; }
.note-small { font-size: 14px; color: #6B7B75; margin-top: 18px; }

/* --- compact identity fields --- */

/* One short value each, so these get a slim row rather than the full question
   card a scale or free-text answer needs. */
.sc-question-line {
  padding: 18px 22px;
  margin-bottom: 12px;
}
.sc-q-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--ink);
  margin-bottom: 8px;
}
.sc-line {
  width: 100%;
  max-width: 420px;
  padding: 11px 14px;
  border: 1px solid #CFDAD5;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.sc-line:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 90, 68, .15);
}
.sc-question-line.has-error .sc-line { border-color: #B4432F; }

/* --- answers needing attention --- */

.sc-question.has-error {
  box-shadow: 0 0 0 3px rgba(180, 67, 47, .12);
}
.sc-question.has-error .sc-q-label { color: #B4432F; }
.sc-q-error {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #B4432F;
}

/* --- promoted index score, CTA microcopy, near-miss blind spot --- */

.result-index-score {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--green);
  margin: 0 0 12px;
  letter-spacing: -1px;
}
.result-index-max {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  color: #9AA9A3;
  margin-left: 6px;
}
.result-microcopy {
  margin: 12px 0 0;
  font-size: 14px;
  color: #6B7B75;
}
/* A dimension that only just missed the top three is a lighter note, not a
   fourth blind spot, so it reads as an aside. */
.result-spots li.spot-near { list-style: none; margin-left: -20px; }
.result-spots li.spot-near .spot-q { font-weight: 700; color: #6B7B75; }

/* ---------- phase 04: reports ---------- */

.rp-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 30px 0;
}
.rp-input {
  padding: 14px 18px;
  border: 1px solid #E4EAE7;
  border-left: 4px solid #CFDAD5;
  border-radius: 10px;
  background: var(--white);
}
.rp-input.is-ok { border-left-color: var(--green); }
.rp-input-name { display: block; font-weight: 800; font-size: 14px; color: var(--ink); }
.rp-input-state { display: block; font-size: 13px; color: #6B7B75; margin-top: 3px; }

.rp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 0 0 40px;
}
.rp-card {
  padding: 26px 28px;
  border: 1px solid #E4EAE7;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(11, 13, 12, .05);
}
.rp-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 900; color: var(--ink); }
.rp-card p { margin: 0 0 12px; font-size: 14px; color: #4A5A54; }
.rp-when { font-size: 13px !important; color: #9AA9A3 !important; }
.rp-card .btn-row { margin-top: 16px; gap: 10px; }
.rp-card .btn { cursor: pointer; font-family: inherit; }
.rp-card .btn[disabled] { opacity: .6; cursor: progress; }

.rp-working { color: #6B7B75; font-style: italic; }

/* --- the report itself --- */

.rp-report {
  padding: 48px 52px;
  border: 1px solid #E4EAE7;
  border-radius: var(--r-card);
  background: var(--white);
  color: #333;
  line-height: 1.75;
}
.rp-report-head { margin: 0 0 34px; padding-bottom: 24px; border-bottom: 3px solid var(--green); }
.rp-report-brand {
  margin: 0 0 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green);
}
.rp-report h1 { margin: 0 0 8px; font-size: 32px; font-weight: 900; color: var(--ink); line-height: 1.2; }
.rp-report-sub { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #6B7B75; }
.rp-report-conf { margin: 0; font-size: 12px; font-weight: 800; color: #B4432F; }
.rp-report h2 {
  margin: 32px 0 12px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--green);
}
.rp-report p { margin: 0 0 13px; }
.rp-report ul { margin: 0 0 16px; padding-left: 22px; }
.rp-report li { margin-bottom: 7px; }

/* --- print: the report alone, on paper --- */

@media print {
  .rp-no-print,
  .site-header,
  .footer { display: none !important; }

  body { background: #fff; }
  .sc-main, .section { padding: 0 !important; background: #fff !important; }
  .wrap, .wrap-narrow { max-width: none !important; padding: 0 !important; }

  .rp-report {
    border: 0;
    border-radius: 0;
    padding: 0;
    font-size: 11pt;
    line-height: 1.55;
  }
  /* Keep a heading with the text it introduces rather than stranding it at a
     page foot. */
  .rp-report h2 { break-after: avoid; page-break-after: avoid; }
  .rp-report p, .rp-report li { orphans: 3; widows: 3; }

  @page { margin: 18mm 16mm; }
}

/* --- phase 04: partnership terms --- */

.rp-terms {
  padding: 18px 22px;
  border: 1px solid var(--line, #E4EAE7);
  border-radius: var(--r-card);
  background: var(--white);
  margin: 0 0 26px;
}
.rp-terms-label {
  margin: 0 0 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #1B5A44;
}
.rp-terms-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.rp-terms-row label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: #0B0D0C;
}
.rp-terms-row input {
  width: 76px; padding: 8px 10px;
  border: 1px solid #CFDAD5; border-radius: 8px;
  font: inherit; font-size: 15px; font-weight: 700; color: #0B0D0C;
  background: #fff;
}
.rp-terms-row input:focus-visible {
  outline: none; border-color: #1B5A44;
  box-shadow: 0 0 0 3px rgba(27, 90, 68, .15);
}
.rp-terms-row span { color: #6B7B75; font-weight: 700; }
.rp-terms-note { margin: 12px 0 0; font-size: 13px; color: #6B7B75; }

.rp-report-for {
  margin: 0; font-size: 14px; font-weight: 700; color: #6B7B75;
}

/* ---------- the partner-facing proposal ---------- */
/* Laid out to match the Kanter Solutions Partnership Proposal template:
   ink #0B0D0C banner with a mint rule, deep-green section bars, cream callout. */

.pp { padding: 0; border: 1px solid #E4EAE7; overflow: hidden; }

.pp-banner {
  background: #0B0D0C;
  color: #fff;
  padding: 46px 52px 40px;
  border-bottom: 5px solid #78D6B4;
  margin: 0;
}
.pp-kicker {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 800; letter-spacing: 4px;
  text-transform: uppercase; color: #78D6B4;
}
.pp-banner h1 {
  margin: 0 0 12px;
  font-size: 34px; font-weight: 900; line-height: 1.15;
  color: #fff; letter-spacing: -.5px;
}
.pp-for { margin: 0; font-size: 14px; color: #B9C6C1; }

/* Section headings become full-width bars, as in the document. */
.pp h2 {
  background: #1B5A44;
  color: #fff;
  margin: 34px 0 22px;
  padding: 13px 52px;
  font-size: 13px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase;
}
.pp h2:first-of-type { margin-top: 0; }

.pp > p, .pp > ul { margin-left: 52px; margin-right: 52px; }
.pp > p { margin-top: 0; margin-bottom: 14px; }
.pp > ul { padding-left: 20px; }

/* The labels the prompt asks for on their own line. */
.pp-label {
  font-weight: 900; color: #1B5A44;
  font-size: 15px; margin-bottom: 6px !important;
}

/* --- signatures --- */

.pp-signatures {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  margin: 34px 52px 0;
}
.pp-sig-for {
  margin: 0 0 22px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: #1B5A44;
}
.pp-sig-rule {
  border-bottom: 1px solid #0B0D0C;
  height: 30px; margin-top: 16px;
  display: flex; align-items: flex-end;
}
.pp-sig-rule span { font-size: 15px; font-weight: 700; color: #0B0D0C; padding-bottom: 3px; }
.pp-sig-label { margin: 4px 0 0; font-size: 11px; color: #6B6B6B; letter-spacing: .5px; }

.pp-footer {
  margin: 44px 0 0 !important;
  padding: 16px 52px;
  background: #F4F2EC;
  font-size: 12px; color: #6B6B6B; text-align: center;
}

@media (max-width: 620px) {
  .pp-banner { padding: 32px 24px 28px; }
  .pp h2 { padding-left: 24px; padding-right: 24px; }
  .pp > p, .pp > ul { margin-left: 24px; margin-right: 24px; }
  .pp-signatures { grid-template-columns: 1fr; gap: 30px; margin-left: 24px; margin-right: 24px; }
  .pp-footer { padding-left: 24px; padding-right: 24px; }
}

@media print {
  /* Without this the green bars and the banner print as white, and the
     document loses the thing that makes it look like the template. */
  .pp, .pp * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pp { border: 0; }
  .pp-banner { padding: 0 0 24px; background: #0B0D0C; }
  .pp-banner, .pp h2, .pp-footer { break-inside: avoid; page-break-inside: avoid; }
  .pp h2 { margin-left: -16mm; margin-right: -16mm; padding-left: 16mm; padding-right: 16mm; }
  .pp > p, .pp > ul, .pp-signatures, .pp-footer { margin-left: 0; margin-right: 0; }
  .pp-signatures { break-inside: avoid; page-break-inside: avoid; }
  .pp-footer { padding-left: 0; padding-right: 0; }
}
