:root {
  color-scheme: light;
  --forest: #174b3a;
  --forest-deep: #10372b;
  --ink: #1b3029;
  --muted: #596b64;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --line: #ccd4cd;
  --yellow: #f2be3e;
  --yellow-dark: #d99d0d;
  --error: #a02c2c;
  --focus: #1f6be0;
  --shadow: 0 1rem 2.5rem rgb(23 75 58 / 7%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

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

html {
  min-width: 20rem;
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.22rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--forest-deep);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(100% - 2rem, 76rem);
  min-height: 5.5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  display: block;
  width: clamp(14rem, 19vw, 17rem);
  height: auto;
  mix-blend-mode: multiply;
}

#main-content {
  display: block;
}

.site-footer {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgb(23 75 58 / 18%);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

.public-header,
.public-footer,
.public-article {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.public-header {
  padding: 1rem 0;
}

.public-header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.public-header .brand img,
.public-footer .brand img {
  width: clamp(10.5rem, 15vw, 13rem);
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.public-nav a,
.public-footer nav a {
  color: var(--forest-deep);
  font-weight: 750;
  text-decoration: none;
}

.public-nav a:hover,
.public-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.public-nav .public-nav-action {
  min-height: 2.9rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.public-article {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.public-hero {
  min-height: min(38rem, calc(100svh - 7rem));
  display: grid;
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.public-hero > div {
  max-width: 58rem;
}

.public-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.7rem, 6.6vw, 5.5rem);
  line-height: 0.98;
}

.public-lead {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.public-section,
.public-note,
.public-example,
.public-cta {
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
}

.public-section > h2,
.public-note h2,
.public-example h2,
.public-cta h2 {
  max-width: 28ch;
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  line-height: 1.08;
}

.public-prose {
  max-width: 48rem;
}

.public-prose p:not(.eyebrow),
.public-note p:not(.eyebrow),
.public-example dd,
.public-cta p:not(.eyebrow),
.public-card-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.public-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.public-card-grid article {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--paper);
}

.public-card-grid h3 {
  margin: 0;
  color: var(--forest-deep);
  font-size: 1.1rem;
}

.public-card-grid p {
  margin: 0.65rem 0 0;
}

.public-note,
.public-example {
  max-width: 58rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 0.35rem solid var(--yellow);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.public-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: public-step;
}

.public-step-list li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--paper);
  counter-increment: public-step;
}

.public-step-list li::before {
  content: counter(public-step);
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--forest);
  font-weight: 800;
}

.public-step-list strong,
.public-step-list span {
  display: block;
}

.public-step-list strong {
  color: var(--forest-deep);
}

.public-step-list span {
  margin-top: 0.35rem;
  color: var(--muted);
}

.public-step-list-wide li {
  min-height: 10rem;
}

.public-reasoning-list {
  max-width: 58rem;
  margin: 2rem 0 0;
}

.public-reasoning-list > div {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.public-reasoning-list dt {
  color: var(--forest-deep);
  font-weight: 800;
}

.public-reasoning-list dd {
  margin: 0;
  color: var(--muted);
}

.public-example dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
}

.public-example dl > div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.public-example dt {
  color: var(--forest-deep);
  font-weight: 800;
}

.public-example dd {
  margin: 0.45rem 0 0;
}

.public-cta {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 2px solid var(--forest);
  border-radius: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 19rem);
  gap: 2rem;
  align-items: center;
  background: var(--paper);
}

.public-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgb(23 75 58 / 18%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 1fr);
  gap: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.public-footer > div p {
  max-width: 28rem;
  margin: 1rem 0 0;
}

.public-footer nav {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.first-screen,
.stage-screen {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.first-screen {
  min-height: calc(100svh - 10rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(23rem, 1.05fr);
  gap: clamp(2.5rem, 5vw, 4.75rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 3rem) 0 3.5rem;
}

.hero-copy {
  max-width: 34rem;
}

.eyebrow,
.field-kicker,
.stage-kicker {
  margin: 0 0 0.7rem;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forest-deep);
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.9rem, 5.7vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero-support {
  max-width: 35rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

.journey-panel {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid rgb(23 75 58 / 14%);
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.journey-column {
  align-self: center;
}

.journey-form {
  display: grid;
  gap: 1.35rem;
}

.journey-assurance {
  margin: -0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.field {
  min-width: 0;
}

.field label,
.question-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--forest-deep);
  font-weight: 750;
  line-height: 1.35;
}

.question-label {
  font-family: inherit;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 800;
}

.field-help,
.examples,
.known-business-meta {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.examples {
  line-height: 1.45;
}

input,
textarea {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid #92a198;
  border-radius: 0.65rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 0 rgb(23 75 58 / 5%);
}

textarea {
  min-height: 6.25rem;
  resize: vertical;
}

input:hover,
textarea:hover {
  border-color: var(--forest);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
  border-width: 2px;
}

.field-error {
  margin: 0.55rem 0 0;
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 700;
}

.validation-summary {
  padding: 0.9rem 1rem;
  border-left: 0.3rem solid var(--error);
  color: #6b1d1d;
  background: #fff3f1;
}

.validation-summary p {
  margin: 0;
}

.primary-action,
.secondary-action {
  min-height: 3.35rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-action {
  width: 100%;
  border: 2px solid var(--yellow);
  color: #122f26;
  background: var(--yellow);
  box-shadow: 0 0.65rem 1.2rem rgb(217 157 13 / 20%);
}

.primary-action:hover {
  border-color: var(--yellow-dark);
  background: #f6c84f;
  transform: translateY(-1px);
}

.secondary-action {
  border: 1px solid var(--forest);
  color: var(--forest);
  background: transparent;
}

.secondary-action:hover {
  background: rgb(23 75 58 / 6%);
}

.known-business {
  padding: 1rem;
  border-left: 0.25rem solid var(--yellow);
  background: #f5f1e5;
}

.known-business strong {
  display: block;
  color: var(--forest-deep);
  font-size: 1.1rem;
}

.known-business p {
  margin: 0.2rem 0 0;
}

.research-banner {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b8c5bd;
  border-radius: 0.75rem;
  background: #edf2ed;
}

.research-banner p {
  margin: 0;
}

.research-banner .demo-label {
  margin-bottom: 0.35rem;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-banner .disclaimer {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.stage-screen {
  min-height: calc(100svh - 10rem);
  display: grid;
  place-items: center;
  padding: 2rem 0 5rem;
}

.stage-content {
  width: min(100%, 45rem);
}

.stage-content h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.stage-intro {
  max-width: 40rem;
  margin: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.clarification-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.goal-confirmation {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgb(23 75 58 / 22%);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.business-name {
  margin: 0 0 1.5rem;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 800;
}

.goal-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.goal-quote {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.confirmation-stage {
  width: min(100%, 42rem);
}

.confirmation-goal {
  max-width: 18ch !important;
  font-size: clamp(2rem, 3.8vw, 2.75rem) !important;
  line-height: 1.02 !important;
}

.confirmation-business {
  margin: 0.9rem 0 0;
  color: var(--forest);
  font-weight: 800;
}

.confirmation-stage .confirmation-copy {
  margin-top: 1.35rem;
}

.confirmation-stage .completion-actions {
  margin-top: 1.35rem;
}

.clarification-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

.confirmation-copy {
  max-width: 42rem;
  margin: 2rem 0 0;
}

.confirmation-copy strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.completion-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.text-link {
  justify-self: center;
  padding: 0.5rem;
  font-weight: 700;
}

.development-notice {
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid #b56b00;
  border-radius: 0.6rem;
  color: #633c00;
  background: #fff5d6;
  font-weight: 700;
}

.analysis-screen {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0 5rem;
}

.analysis-content {
  width: min(100%, 52rem);
  margin-inline: auto;
}

.analysis-narrow {
  max-width: 40rem;
}

.analysis-goal {
  max-width: 38rem;
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.analysis-section {
  margin-top: clamp(2.5rem, 6vw, 4.25rem);
}

.customer-view-evidence > section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(23 75 58 / 18%);
}

.analysis-section .analysis-conclusion-title,
.insufficient-card h1 {
  max-width: 30ch;
  font-size: clamp(2rem, 3.3vw, 2.55rem);
  line-height: 1.08;
}

.analysis-section h2,
.first-task h2,
.measurement-note h2 {
  max-width: 26ch;
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.12;
}

.analysis-label {
  margin: 0 0 0.7rem;
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evidence-list,
.plan-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  padding: 1rem 1.1rem;
  border-left: 0.25rem solid var(--yellow);
  background: var(--paper);
}

.evidence-list span {
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-list p,
.plan-list p,
.task-grid p,
.measurement-note p,
.insufficient-card p {
  margin: 0.35rem 0 0;
}

.evidence-source-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.direction-card,
.insufficient-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgb(23 75 58 / 20%);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.insufficient-card h2 {
  margin-top: 1.6rem;
  font-size: 1.35rem;
}

.insufficient-card form {
  margin-top: 1.5rem;
}

.next-action-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgb(23 75 58 / 24%);
  border-radius: 1rem;
  background: #eef3ed;
}

.next-action-card > p:not(.analysis-label) {
  max-width: 42rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.next-page-form {
  max-width: 42rem;
}

.investigation-details {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgb(23 75 58 / 18%);
  border-radius: 0.75rem;
  background: rgb(255 253 248 / 72%);
}

.investigation-details summary {
  color: var(--forest-deep);
  font-weight: 800;
  cursor: pointer;
}

.investigation-details ol {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.plan-list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgb(255 253 248 / 65%);
}

.plan-list li.is-first {
  border-color: var(--forest);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.plan-number {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--forest);
  font-weight: 800;
}

.plan-list h3,
.task-grid h3 {
  margin: 0;
  color: var(--forest-deep);
  font-size: 1.05rem;
}

.first-task {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 2px solid var(--forest);
  border-radius: 1.2rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.task-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.8rem;
}

.task-grid > div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.first-task details {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.7rem;
  background: #f3f0e6;
}

.first-task summary {
  color: var(--forest-deep);
  font-weight: 800;
  cursor: pointer;
}

.task-instructions {
  white-space: pre-line;
}

.phase-boundary-note,
.measurement-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.phase-boundary-note {
  margin: 1.5rem 0 0;
}

.measurement-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.measurement-note h2 {
  font-family: inherit;
  font-size: 1.05rem;
}

.website-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.analysis-back-link {
  display: flex;
  width: fit-content;
  margin: 1rem auto 0;
}

.guide-screen {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
  padding: 1.5rem 0 5rem;
}

.guide-content {
  width: min(100%, 52rem);
  margin-inline: auto;
}

.guide-back {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--forest);
  font-weight: 750;
}

.guide-header {
  margin-top: 1.5rem;
}

.guide-header h1 {
  max-width: 24ch;
  margin-top: 0.7rem;
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  line-height: 1.04;
}

.guide-header.compact {
  margin-top: 0.25rem;
}

.guide-header.compact h1 {
  max-width: 30ch;
  margin-top: 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.guide-goal-inline {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
}

.guide-goal-inline strong {
  color: var(--forest-deep);
}

.guide-goal-inline + .guide-work {
  margin-top: 1rem;
}

.guide-start-form {
  margin-top: 1.4rem;
}

.guide-preview-details {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgb(255 253 248 / 60%);
}

.guide-preview-details > summary {
  color: var(--forest-deep);
  font-weight: 800;
  cursor: pointer;
}

.guide-preview-details .guide-outline {
  margin-top: 1.5rem;
}

.guide-introduction {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.guide-offer-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guide-offer-line p {
  margin: 0;
}

.free-badge {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--forest-deep);
  background: #eef3ed;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-goal-card,
.done-definition,
.guide-practicalities,
.guide-example,
.task-complete-summary,
.free-guide-option,
.next-task-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--paper);
}

.guide-goal-card {
  margin-top: 2rem;
  border-left: 0.3rem solid var(--yellow);
}

.guide-goal-card p:last-child {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.18;
}

.guide-intro,
.guide-work,
.guide-complete {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.guide-context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.guide-context-grid > div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.guide-context-grid h2,
.guide-step-copy h3,
.guide-outline h2,
.guide-complete h2,
.free-guide-option h3,
.task-complete-summary h3 {
  margin: 0;
  color: var(--forest-deep);
}

.guide-context-grid h2,
.guide-step-copy h3,
.free-guide-option h3,
.task-complete-summary h3 {
  font-family: inherit;
  font-size: 1.05rem;
}

.guide-context-grid p,
.guide-step-copy p,
.guide-practicalities p,
.done-definition p,
.free-guide-option p,
.task-complete-summary p {
  margin: 0.45rem 0 0;
}

.guide-outline {
  margin-top: 2.5rem;
}

.guide-outline ol {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.guide-outline li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgb(255 253 248 / 65%);
}

.guide-outline li span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--forest);
  font-weight: 800;
}

.guide-outline li p {
  margin: 0;
  color: var(--forest-deep);
  font-weight: 750;
}

.done-definition,
.guide-practicalities {
  margin-top: 1.25rem;
}

.guide-intro > form {
  margin-top: 1.5rem;
}

.guide-intro > form .primary-action,
.guide-action-row .primary-action {
  width: 100%;
}

.guide-progress {
  padding: 1rem 1.2rem;
  border-radius: 0.8rem;
  background: var(--paper);
}

.guide-progress p {
  margin: 0 0 0.6rem;
  color: var(--forest-deep);
  font-weight: 800;
}

.guide-progress progress {
  width: 100%;
  height: 0.7rem;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #dfe4db;
  accent-color: var(--forest);
}

.guide-progress progress::-webkit-progress-bar {
  background: #dfe4db;
}

.guide-progress progress::-webkit-progress-value,
.guide-progress progress::-moz-progress-bar {
  background: var(--forest);
}

.guide-step-nav {
  margin-top: 1rem;
}

.guide-step-nav ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-step-nav li > a,
.guide-step-nav li > span {
  display: flex;
  min-height: 100%;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: var(--muted);
  background: rgb(255 253 248 / 55%);
  font-size: 0.78rem;
  line-height: 1.3;
  text-decoration: none;
}

.guide-step-nav li > a > span:first-child,
.guide-step-nav li > span > span:first-child {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--muted);
  font-weight: 800;
}

.guide-step-nav small {
  display: block;
  margin-top: 0.2rem;
  font-weight: 800;
}

.guide-step-nav li.completed > a,
.guide-step-nav li.current > a {
  color: var(--forest-deep);
  border-color: var(--forest);
  background: var(--paper);
}

.guide-step-nav li.completed > a > span:first-child,
.guide-step-nav li.current > a > span:first-child {
  background: var(--forest);
}

.guide-step-nav li.current > a {
  outline: 0.16rem solid rgb(23 75 58 / 18%);
}

.guide-step-nav li.needs-correction > a {
  color: #742814;
  border-color: #c86a4c;
  background: #fff2ec;
}

.guide-step-nav li.needs-correction > a > span:first-child {
  background: #9a3b24;
}

.guide-step-nav li.waiting > a {
  color: var(--forest-deep);
  border-color: #d7b24b;
  background: #fff8df;
}

.guide-step-nav li.waiting > a > span:first-child {
  background: #8b741f;
}

.guide-step-card {
  margin-top: 1rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 2px solid var(--forest);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.guide-step-card > h2 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(1.65rem, 2.7vw, 2rem);
  line-height: 1.08;
}

.guide-step-copy {
  margin-top: 1.5rem;
}

.guide-step-copy h3:not(:first-child) {
  margin-top: 1.25rem;
}

.guide-example {
  margin-top: 1.25rem;
  background: #f3f0e6;
}

.guide-step-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.implementation-input {
  display: grid;
  gap: 1.25rem;
}

.implementation-state {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.implementation-state legend {
  margin-bottom: 0.2rem;
  color: var(--forest-deep);
  font-weight: 800;
}

.implementation-state label {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fffefb;
  cursor: pointer;
}

.implementation-state input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--forest);
}

.completion-checks {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.completion-checks legend {
  margin-bottom: 0.75rem;
  color: var(--forest-deep);
  font-weight: 800;
}

.completion-checks label {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-height: 3.25rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fffefb;
  cursor: pointer;
}

.completion-checks input {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  accent-color: var(--forest);
}

.guide-feedback {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 0.65rem;
  font-weight: 700;
}

.guide-feedback.needs-correction {
  color: #742814;
  border: 1px solid #c86a4c;
  background: #fff2ec;
}

.guide-feedback.accepted {
  color: var(--forest-deep);
  border: 1px solid rgb(23 75 58 / 30%);
  background: #eef3ed;
}

.guide-feedback.waiting {
  color: #5f4e12;
  border: 1px solid #d7b24b;
  background: #fff8df;
}

.guide-pause-note {
  margin: -0.35rem 0 0;
  color: var(--muted);
}

.guide-pause-note a {
  color: var(--forest-deep);
  font-weight: 800;
}

.guide-action-row {
  display: grid;
  gap: 0.9rem;
}

.guide-action-row .text-link {
  justify-self: center;
}

.guide-done-details {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgb(255 253 248 / 60%);
}

.guide-done-details summary {
  color: var(--forest-deep);
  font-weight: 800;
  cursor: pointer;
}

.completion-message {
  padding: clamp(1.5rem, 5vw, 2.75rem);
  border: 2px solid var(--forest);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.completion-message h2 {
  max-width: 22ch;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.06;
}

.completion-message p:last-child {
  margin-bottom: 0;
}

.plan-progress-card,
.next-task-card {
  margin-top: 2rem;
}

.guide-plan-list li.completed {
  border-color: var(--forest);
  background: #eef3ed;
}

.guide-plan-list li.next {
  border-color: var(--yellow-dark);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.plan-status {
  margin: 0 0 0.25rem !important;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-result-link {
  width: 100%;
  margin-top: 1.5rem;
}

.free-guide-option,
.task-complete-summary {
  margin-top: 1.5rem;
  border-color: var(--forest);
  background: #eef3ed;
}

.free-guide-option .primary-action,
.task-complete-summary .secondary-action {
  width: 100%;
  margin-top: 1rem;
}

.plan-list li.completed {
  border-color: var(--forest);
  background: #eef3ed;
}

.wider-research-card {
  border-color: rgb(23 75 58 / 22%);
  background: rgb(255 255 255 / 58%);
}

.wider-research-card > p:not(.analysis-label) {
  max-width: 58rem;
  color: var(--muted);
}

.wider-research-card .evidence-list {
  margin-top: 1.2rem;
}

@media (max-width: 52rem) {
  .site-header {
    min-height: 4.75rem;
  }

  .brand img {
    width: clamp(12.5rem, 56vw, 14.5rem);
  }

  .first-screen {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-top: 1.25rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.6rem, 11.5vw, 4rem);
  }

  .hero-support {
    margin-top: 1.1rem;
    font-size: 1rem;
  }

  .journey-panel {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .action-row {
    grid-template-columns: 1fr;
  }

  .task-grid {
    grid-template-columns: 1fr;
  }

  .guide-context-grid {
    grid-template-columns: 1fr;
  }

  .guide-step-nav ol {
    grid-template-columns: 1fr;
  }

  .guide-step-nav li > a,
  .guide-step-nav li > span {
    min-height: 3.25rem;
    align-items: center;
  }

  .public-header-inner {
    align-items: flex-start;
  }

  .public-nav {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    font-size: 0.88rem;
  }

  .public-nav .public-nav-action {
    min-height: 2.75rem;
  }

  .public-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .public-hero h1 {
    max-width: 16ch;
  }

  .public-card-grid,
  .public-step-list,
  .public-example dl,
  .public-reasoning-list > div,
  .public-cta,
  .public-footer {
    grid-template-columns: 1fr;
  }

  .public-step-list-wide li {
    min-height: 0;
  }

  .public-reasoning-list > div {
    gap: 0.35rem;
  }

  .public-cta .primary-action {
    width: 100%;
  }
}

@media (max-width: 28rem) {
  .site-header,
  .first-screen,
  .stage-screen,
  .analysis-screen,
  .guide-screen,
  .site-footer,
  .public-header,
  .public-footer,
  .public-article {
    width: min(100% - 2rem, 76rem);
  }

  .public-header-inner {
    display: grid;
    gap: 1rem;
  }

  .public-nav {
    width: 100%;
    justify-items: stretch;
  }

  .public-nav a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .public-nav .public-nav-action {
    justify-content: center;
  }

  .first-screen {
    gap: 1.75rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12.5vw, 3.35rem);
  }

  input,
  textarea,
  .primary-action,
  .secondary-action {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Company intelligence v1 */
select {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid #92a198;
  border-radius: 0.65rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 0 rgb(23 75 58 / 5%);
  font: inherit;
}

select:hover {
  border-color: var(--forest);
}

select[aria-invalid="true"] {
  border-color: var(--error);
  border-width: 2px;
}

.impact-intake {
  padding: 1rem;
  border: 1px solid rgb(23 75 58 / 18%);
  border-radius: 0.8rem;
  background: rgb(255 253 248 / 72%);
}

.impact-intake summary {
  color: var(--forest-deep);
  font-weight: 800;
  cursor: pointer;
}

.impact-intake-intro {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.impact-intake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.1rem;
}

.impact-diagnosis {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid var(--forest);
  border-radius: 1rem;
  background: #eef3ed;
}

.impact-diagnosis-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.impact-diagnosis-heading h2 {
  margin: 0;
}

.confidence-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgb(23 75 58 / 35%);
  border-radius: 999px;
  color: var(--forest-deep);
  background: var(--paper);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: capitalize;
}

.impact-next-move {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(23 75 58 / 22%);
}

.impact-next-move p:last-child {
  margin: 0;
  color: var(--forest-deep);
  font-weight: 750;
}

.impact-evidence-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 680px) {
  .impact-intake-grid {
    grid-template-columns: 1fr;
  }
}

/* Company intelligence refinement + visual evidence */
.impact-baseline {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(23 75 58 / 18%);
  border-radius: 0.75rem;
  background: rgb(255 253 248 / 72%);
}

.impact-baseline p {
  margin: 0;
}

.impact-evidence-details,
.visual-evidence-details {
  margin-top: 1rem;
  border: 1px solid rgb(23 75 58 / 18%);
  border-radius: 0.75rem;
  background: rgb(255 253 248 / 72%);
}

.impact-evidence-details summary,
.visual-evidence-details summary {
  padding: 0.9rem 1rem;
  color: var(--forest-deep);
  font-weight: 800;
  cursor: pointer;
}

.impact-evidence-details[open] > :not(summary),
.visual-evidence-details[open] > :not(summary) {
  margin-inline: 1rem;
}

.impact-evidence-details[open] > :last-child,
.visual-evidence-details[open] > :last-child {
  margin-bottom: 1rem;
}

.visual-evidence-figure {
  margin: 1rem;
}

.visual-evidence-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(23 75 58 / 22%);
  border-radius: 0.75rem;
  background: white;
  box-shadow: 0 0.8rem 2rem rgb(23 75 58 / 10%);
}

.visual-evidence-figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.visual-evidence-status,
.visual-evidence-error {
  margin: 1rem;
  padding: 1rem;
  border-radius: 0.7rem;
  background: rgb(255 253 248 / 88%);
  color: var(--muted);
}

.visual-evidence-status {
  border: 1px dashed rgb(23 75 58 / 30%);
}

.visual-evidence-error {
  border: 1px solid rgb(160 80 50 / 28%);
}

.visual-evidence-error p {
  margin: 0 0 0.75rem;
}

.visual-evidence-error button {
  min-height: 2.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: transparent;
  color: var(--forest-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* Adaptive enquiry clue + compact wider research */
.impact-follow-up-question {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgb(23 75 58 / 24%);
  border-radius: 0.8rem;
  background: rgb(255 253 248 / 82%);
}

.impact-follow-up-question label {
  color: var(--forest-deep);
  font-weight: 800;
}

.impact-follow-up-question .secondary-action {
  width: 100%;
  margin-top: 0.15rem;
}

.wider-research-group {
  margin-top: 1.25rem;
}

.wider-research-group h3 {
  margin-bottom: 0.55rem;
}

.evidence-detail {
  margin-top: 0.65rem;
}

.evidence-detail summary {
  color: var(--forest-deep);
  font-weight: 750;
  cursor: pointer;
}

.evidence-detail[open] p {
  margin-top: 0.65rem;
}

.evidence-detail .evidence-source-link {
  display: inline-block;
  margin-top: 0.35rem;
}
