/* Knowledge Nexus — editorial marketing page
   Ink / paper / vermillion. Mobile-first. */

:root {
  --paper: #f4efe6;
  --paper-2: #eae3d6;
  --paper-3: #ddd4c4;
  --ink: #141310;
  --ink-2: #2c2923;
  --ink-muted: #5c574d;
  --rule: #cfc6b6;
  --accent: #c4452d;
  --accent-dark: #9a3220;
  --accent-soft: #f3d5ce;
  --on-ink: #f4efe6;
  --on-ink-muted: #b8b09f;
  --focus: #c4452d;
  --shadow: 0 18px 50px rgba(20, 19, 16, 0.18);
  --nav-h: 4.25rem;
  --max: 72rem;
  --measure: 38rem;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-delay: 0ms !important;
  }
}

body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

/* Content / body links: visible underline so affordance isn’t color-only (WCAG).
   Nav jumps, mark, skip, and .btn keep text-decoration: none below. */
main a:not(.btn):not(.mark),
.footer-meta a,
.form-note a,
.offer-email a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: from-font;
}

main a:not(.btn):not(.mark):hover,
.footer-meta a:hover,
.form-note a:hover,
.offer-email a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Progressive enhancement: nicer wrapping on titles where supported */
h1,
h2 {
  text-wrap: pretty;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus,
.skip:focus-visible {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Skip target: allow programmatic focus without sticky outline on mouse */
#main:focus {
  outline: none;
}

#main:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Sticky .nav: keep skip/#hash targets clear of the chrome */
#main,
.section[id],
h2[id],
h3[id] {
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Stronger focus ring on dark surfaces (nav / CTA / footer) */
.nav a:focus-visible,
.nav .btn:focus-visible,
.cta-band a:focus-visible,
.cta-band button:focus-visible,
.cta-band input:focus-visible,
.cta-band textarea:focus-visible,
.footer a:focus-visible {
  outline-color: #fff;
}

.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;
}

.req {
  color: var(--accent-dark);
  font-weight: 700;
  margin-left: 0.15em;
}

.cta-band .req {
  color: #f0c9bf;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
}

.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.85rem;
}

/* ——— Wordmark ——— */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.mark svg {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
}

.mark-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (max-width: 420px) {
  .nav .mark-name {
    display: none;
  }

  .nav .mark {
    gap: 0;
  }

  .nav-jump {
    font-size: 0.75rem;
    padding: 0.3rem 0.35rem;
  }

  .nav .btn {
    padding: 0.45rem 0.55rem;
    font-size: 0.75rem;
  }

  .nav-inner {
    gap: 0.35rem;
  }

  .nav-links {
    gap: 0.15rem;
  }
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .nav-inner {
    gap: 1rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 1;
  min-width: 0;
}

.nav-jump {
  display: inline-flex;
  align-items: center;
  color: var(--on-ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.3rem 0.45rem;
  white-space: nowrap;
}

.nav-jump:hover {
  color: #fff;
}

.nav-jump-short { display: none; }
.nav-jump-full { display: inline; }

@media (max-width: 420px) {
  .nav-jump-full { display: none; }
  .nav-jump-short { display: inline; }
}


@media (min-width: 640px) {
  .nav-links {
    gap: 0.5rem;
  }

  .nav-jump {
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.85rem 1.2rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--on-ink);
  border-color: rgba(244, 239, 230, 0.28);
}

.btn-ghost:hover {
  background: rgba(244, 239, 230, 0.08);
  border-color: var(--on-ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--on-ink);
}

.btn-ink:hover {
  background: var(--ink-2);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--on-ink);
}

.btn-lg {
  padding: 1rem 1.45rem;
  font-size: 1rem;
}

.nav .btn {
  flex-shrink: 0;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .nav .btn {
    padding: 0.65rem 0.95rem;
    font-size: 0.875rem;
  }
}

/* ——— Hero ——— */
.hero {
  background: var(--ink);
  color: var(--on-ink);
  padding: 3.25rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: 20%;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(244, 239, 230, 0.07);
  transform: rotate(45deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.8vw, 3.85rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 18ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 350;
  color: #f0c9bf;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
  color: var(--on-ink-muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.hero-flow {
  margin-top: 0.5rem;
}

.flow-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e07a66;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.flow-step {
  position: relative;
  border: 1px solid rgba(244, 239, 230, 0.16);
  padding: 0.95rem 1.1rem 0.95rem 3.1rem;
  background: rgba(244, 239, 230, 0.03);
}

.flow-step.is-ai {
  border-color: var(--accent);
  background: rgba(196, 69, 45, 0.12);
}

.flow-step.is-dead {
  border-style: dashed;
  opacity: 0.72;
}

.flow-k {
  position: absolute;
  left: 0.95rem;
  top: 1rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--accent);
}

.flow-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--on-ink-muted);
}

.flow-step strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--on-ink);
  margin-bottom: 0.2rem;
}

.flow-step.is-dead strong {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

@media (min-width: 900px) {
  .hero {
    padding: 5.5rem 0 6.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 3rem;
  }

  .hero-flow {
    border-left: 1px solid rgba(244, 239, 230, 0.14);
    padding-left: 2rem;
  }
}

/* ——— Sections ——— */
.section {
  padding: 4.5rem 0;
}

@media (min-width: 800px) {
  .section {
    padding: 6rem 0;
  }
}

.section-head {
  margin-bottom: 2rem;
  max-width: 38rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.lede {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: var(--measure);
}

.muted {
  color: var(--ink-muted);
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ——— Problem ——— */
.problem {
  background: var(--paper);
}

.problem-grid {
  display: grid;
  gap: 2.5rem;
}

.problem-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.problem-copy p + p {
  margin-top: 1.1rem;
}

.insight {
  background: var(--ink);
  color: var(--on-ink);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.insight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.insight blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.insight cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}

@media (min-width: 880px) {
  .problem-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
  }

  .insight {
    margin-top: 2.4rem;
    padding: 2.25rem 2rem;
  }
}

/* ——— Sell / don't ——— */
.split-band {
  background: var(--paper-2);
}

.split {
  display: grid;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.split-col {
  padding: 2rem 1.5rem;
}

.split-col + .split-col {
  border-top: 1px solid var(--rule);
}

.split-col h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 1.15rem;
}

.split-col p + p {
  margin-top: 1rem;
}

.split-list {
  margin-top: 1.25rem;
}

.split-list li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.split-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.tick,
.cross {
  font-family: var(--serif);
  font-weight: 500;
  flex-shrink: 0;
  width: 1.1rem;
}

.tick {
  color: var(--accent);
}

.cross {
  color: var(--ink-muted);
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split-col {
    padding: 2.75rem 2.5rem;
  }

  .split-col + .split-col {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}

/* ——— Founder ——— */
.founder {
  background: var(--paper);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  min-width: 0;
  max-width: 100%;
}

.founder-portrait {
  margin: 0;
  background: var(--ink);
  border: 1px solid var(--ink);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.founder-portrait img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: center 12%;
}

.founder-portrait figcaption {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  background: var(--ink);
  padding: 0.75rem 1rem 0.9rem;
}

.founder-copy {
  min-width: 0;
  max-width: 100%;
}

.founder-copy h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin-bottom: 0.4rem;
}

.founder-role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}

.founder-copy p + p {
  margin-top: 1rem;
  color: var(--ink-2);
}

.founder-voice {
  margin: 1.75rem 0 0;
  padding: 1.4rem 1.35rem 1.5rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: var(--paper-2);
}

.founder-voice p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Narrow screens: photo + text stack, no image overflow, readable margins.
   Scoped to .founder only — does not touch FAQ/nav. */
@media (max-width: 879px) {
  .founder .wrap.founder-grid,
  .founder-grid {
    width: min(100% - 2.5rem, var(--max));
    gap: 1.5rem;
  }

  .founder-portrait img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 12%;
  }

  .founder-voice {
    margin-top: 1.35rem;
    padding: 1.15rem 1rem 1.25rem 1.1rem;
  }
}

@media (max-width: 480px) {
  .founder .wrap.founder-grid,
  .founder-grid {
    width: min(100% - 2.75rem, var(--max));
    gap: 1.25rem;
  }

  .founder-portrait figcaption {
    padding: 0.65rem 0.85rem 0.8rem;
    font-size: 0.7rem;
  }

  .founder-copy h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.4rem);
  }
}

@media (min-width: 880px) {
  .founder-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 3.5rem;
    align-items: start;
  }

  .founder-portrait {
    position: sticky;
    top: calc(var(--nav-h) + 1.25rem);
  }

  .founder-portrait img {
    aspect-ratio: 4 / 5;
    min-height: 28rem;
  }
}

/* ——— Early CTA band ——— */
.cta-band {
  background: var(--ink);
  color: var(--on-ink);
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(244, 239, 230, 0.08);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

.cta-band-inner {
  display: grid;
  gap: 1.75rem;
}

.cta-band-copy h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  color: var(--on-ink);
  margin-bottom: 0.65rem;
}

.cta-band-copy p {
  color: var(--on-ink-muted);
  max-width: 36rem;
}

.cta-band-mail {
  margin-top: 0.75rem !important;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: #f0c9bf !important;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-band .btn-outline {
  color: var(--on-ink);
  border-color: rgba(244, 239, 230, 0.35);
}

.cta-band .btn-outline:hover {
  background: rgba(244, 239, 230, 0.1);
  color: #fff;
  border-color: var(--on-ink);
}

.cta-band .contact-form-compact {
  margin-top: 0.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
}

.cta-band .field label {
  color: var(--on-ink-muted);
}

.cta-band .field input,
.cta-band .field textarea {
  background: rgba(244, 239, 230, 0.06);
  border-color: rgba(244, 239, 230, 0.22);
  color: var(--on-ink);
}

.cta-band .field input::placeholder,
.cta-band .field textarea::placeholder {
  color: rgba(244, 239, 230, 0.45);
}

.cta-band .btn-ink {
  background: var(--paper);
  color: var(--ink);
}

.cta-band .btn-ink:hover {
  background: #fff;
}

@media (min-width: 800px) {
  .cta-band {
    padding: 3rem 0 3.5rem;
  }

  .cta-band-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 2rem 3rem;
  }

  .cta-band .contact-form-compact {
    grid-column: 1 / -1;
  }
}

/* ——— Before / after ——— */
.before-after {
  background: var(--paper);
}

.ba-question {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: 1.1rem;
  color: var(--ink-2);
}

.ba-grid {
  display: grid;
  gap: 1.25rem;
}

.ba-card {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 1.5rem 1.35rem 1.4rem;
}

.ba-before {
  border-style: dashed;
}

.ba-after {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: inset 4px 0 0 var(--accent);
}

.ba-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.85rem;
}

.ba-answer {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.ba-note {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Mobile: stack cleanly under ~700px with readable padding.
   Scoped to .ba-* only — does not touch FAQ/nav. */
@media (max-width: 700px) {
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ba-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 1.25rem 1.15rem 1.2rem;
  }

  .ba-question {
    margin-bottom: 1.15rem;
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .ba-label {
    letter-spacing: 0.1em;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  .ba-answer {
    font-size: 1.1rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .ba-note {
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

@media (min-width: 800px) {
  .ba-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--rule);
  }

  .ba-card {
    border: 0;
    padding: 2rem 1.85rem 1.85rem;
  }

  .ba-before {
    border-right: 1px dashed var(--rule);
    background: var(--paper-2);
  }

  .ba-after {
    box-shadow: inset 4px 0 0 var(--accent);
  }
}

/* ——— Contact form ——— */
.contact-form {
  margin-top: 1.25rem;
}

.contact-form-grid {
  display: grid;
  gap: 0.15rem 1rem;
  margin-bottom: 1rem;
}

.contact-form .field-span {
  grid-column: 1 / -1;
}

.field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
  line-height: 1.45;
  resize: vertical;
  min-height: 4.5rem;
}

.field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--ink);
}

/* Honeypot: visually hidden, kept out of AT via aria-hidden on the element */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.offer-email {
  margin-top: 1rem !important;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-2);
}

.offer-email a {
  color: var(--accent-dark);
  /* underline from content-link rule above */
}

.offer-email a:hover {
  text-decoration-thickness: 2px;
}

.founder-copy a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.founder-copy a:hover {
  color: var(--accent-dark);
  text-decoration-thickness: 2px;
}

/* ——— Expert quotes ——— */
.quotes {
  background: var(--paper);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  min-width: 0;
}

.quote-card {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 1.6rem 1.4rem 1.5rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.quote-card blockquote {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.quote-card blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.quote-card cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  line-height: 1.45;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.quote-why {
  font-size: 0.95rem;
  color: var(--ink-muted);
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
  line-height: 1.5;
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* Mobile: stack cleanly with readable padding, no overflow.
   Scoped to .quote-* only — does not touch FAQ/nav. */
@media (max-width: 899px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quote-card {
    padding: 1.35rem 1.2rem 1.3rem;
    gap: 0.9rem;
  }

  .quote-card blockquote p {
    font-size: clamp(1.1rem, 4.2vw, 1.28rem);
    line-height: 1.4;
  }

  .quote-card cite {
    letter-spacing: 0.06em;
    line-height: 1.5;
  }

  .quote-why {
    padding-top: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .quote-card {
    padding: 1.2rem 1.05rem 1.15rem;
  }

  .quote-card cite {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }
}

@media (min-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: 1px solid var(--rule);
  }

  .quote-card {
    border: 0;
    padding: 2rem 1.75rem 1.85rem;
  }

  .quote-card + .quote-card {
    border-left: 1px solid var(--rule);
  }
}

/* ——— Steps ——— */
.steps-section {
  background: var(--paper);
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
  position: relative;
}

.step:last-child {
  border-bottom: 1px solid var(--rule);
}

.step-num {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.15rem;
}

.step h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin-bottom: 0.55rem;
}

.step p {
  color: var(--ink-2);
  max-width: 40rem;
}

@media (min-width: 800px) {
  .steps {
    margin-top: 1rem;
  }

  .step {
    grid-template-columns: 5.5rem 1fr;
    gap: 1.5rem;
    padding: 2.15rem 0;
  }

  .step-num {
    font-size: 2.4rem;
  }
}

/* Mobile: stack step items with readable spacing under ~700px.
   Scoped to .steps / .step only — does not touch FAQ/nav. */
@media (max-width: 700px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1.5rem 0;
    min-width: 0;
  }

  .step > div {
    min-width: 0;
  }

  .step-num {
    font-size: 1.55rem;
    padding-top: 0.12rem;
  }

  .step h3 {
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .step p {
    max-width: none;
    line-height: 1.55;
    overflow-wrap: break-word;
  }
}

/* ——— Audience ——— */
.audience {
  background: var(--ink);
  color: var(--on-ink);
}

.audience .kicker {
  color: #e07a66;
}

.audience-grid {
  display: grid;
  gap: 1.25rem;
}

.aud-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(244, 239, 230, 0.14);
}

.aud-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
}

.aud-card p + p,
.aud-card li + li {
  margin-top: 0.65rem;
}

.aud-card ul {
  color: var(--on-ink-muted);
}

.aud-card li {
  padding-left: 1.1rem;
  position: relative;
}

.aud-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.aud-card.not {
  background: transparent;
}

.aud-card.yes {
  background: rgba(244, 239, 230, 0.05);
}

@media (min-width: 800px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(244, 239, 230, 0.14);
  }

  .aud-card {
    border: 0;
    padding: 2.5rem;
  }

  .aud-card + .aud-card {
    border-left: 1px solid rgba(244, 239, 230, 0.14);
  }
}

/* ——— Offer ——— */
.offer {
  background: var(--paper);
}

.offer-card {
  display: grid;
  background: var(--paper);
  border: 1px solid var(--ink);
  overflow: hidden;
}

.offer-spine {
  background: var(--accent);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.offer-spine span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.offer-body {
  padding: 2rem 1.5rem 2.25rem;
}

.offer-body h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 14ch;
}

.price {
  margin: 1.1rem 0 1.25rem;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price small {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 0.35rem;
}

.offer-body > p {
  max-width: 36rem;
  color: var(--ink-2);
}

.includes {
  margin: 1.75rem 0 2rem;
  display: grid;
  gap: 0.15rem;
}

.includes li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.4rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}

.includes li:first-child {
  border-top: 1px solid var(--rule);
}

.includes b {
  color: var(--accent);
  font-weight: 600;
}

@media (min-width: 860px) {
  .offer-card {
    grid-template-columns: 3.25rem 1fr;
  }

  .offer-spine {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-content: center;
    padding: 2rem 0.85rem;
  }

  .offer-body {
    padding: 2.75rem 3rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    align-items: end;
  }

  .offer-main {
    grid-column: 1;
  }

  .offer-side {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .offer-cta {
    grid-column: 1 / -1;
  }

  .offer-cta .contact-form {
    max-width: 36rem;
  }
}

/* ——— FAQ ——— */
.faq {
  background: var(--paper-2);
}

.faq-list {
  max-width: 42rem;
  margin-inline: auto;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item h3 {
  margin: 0;
  font: inherit;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 0;
  min-height: 2.75rem; /* ~44px touch target */
  padding: 0.85rem 2.5rem 0.85rem 0.25rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  pointer-events: none;
}

.faq-item button[aria-expanded="true"]::after {
  content: "–";
}

.faq-item button:hover {
  color: var(--accent-dark);
}

.faq-item button:focus {
  outline: none;
}

.faq-item button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.faq-panel {
  display: none;
  padding: 0 0.15rem 1.35rem;
  color: var(--ink-2);
  max-width: 38rem;
  line-height: 1.65;
}

.faq-panel p {
  margin: 0;
}

.faq-panel[hidden] {
  display: none !important;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* ——— Footer ——— */
.footer {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer .mark-name {
  color: var(--on-ink);
}

.footer-meta {
  max-width: 28rem;
}

.footer-meta p {
  font-size: 0.95rem;
}

.footer-meta p + p {
  margin-top: 0.55rem;
}

.footer-meta a {
  color: var(--on-ink);
  /* underline from content-link rule above */
}

.footer-meta a:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}

.footer-domain {
  margin-top: 0.85rem !important;
  font-size: 0.8rem !important;
  color: rgba(184, 176, 159, 0.75);
}

/* ——— Modal ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 16, 0.62);
}

.modal-dialog {
  position: relative;
  width: min(100%, 28rem);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}

.modal-dialog h2 {
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
}

.modal-dialog > p {
  color: var(--ink-muted);
  margin-bottom: 1.35rem;
  font-size: 1rem;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.modal-close:hover {
  color: var(--accent);
}

.field {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field input {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
}

.field input:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--ink);
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.success {
  display: none;
  padding: 0.5rem 0 0.25rem;
}

.modal.is-success .form {
  display: none;
}

.modal.is-success .success {
  display: block;
}

.success p {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

body.modal-open {
  overflow: hidden;
}

.tak { padding-top: 5rem; }
.tak h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0.4rem 0 1rem; }
.tak .lede { margin-bottom: 1.75rem; }
.tak .form { margin-top: 1.25rem; }


/* ——— Privacy line under forms ——— */
.form-privacy {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 36rem;
}

.cta-band .form-privacy {
  color: rgba(184, 176, 159, 0.9);
}

/* ——— Compact contact form (mobile safety) ——— */
.contact-form-compact {
  width: 100%;
  min-width: 0;
}

.contact-form-compact .contact-form-grid {
  width: 100%;
  min-width: 0;
}

.contact-form-compact .field,
.contact-form-compact .field input,
.contact-form-compact .field textarea,
.contact-form .field,
.contact-form .field input,
.contact-form .field textarea {
  min-width: 0;
  max-width: 100%;
}

.contact-form-compact .btn {
  width: 100%;
  max-width: 100%;
}

/* Auto-width submit from 481px up; ≤480px stays full-width (see below) */
@media (min-width: 481px) {
  .contact-form-compact .btn {
    width: auto;
  }
}

/* Keep compact form single-column longer on narrow phones */
@media (max-width: 639px) {
  .contact-form-compact .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Contact forms: light mobile polish (≤480px) ———
   Scoped to contact forms only — does not touch FAQ/nav. */
@media (max-width: 480px) {
  .contact-form .contact-form-grid,
  .contact-form-compact .contact-form-grid {
    gap: 0.4rem 0;
    margin-bottom: 1.15rem;
  }

  .contact-form .field,
  .contact-form-compact .field {
    width: 100%;
    margin-bottom: 1.05rem;
  }

  .contact-form .field input,
  .contact-form .field textarea,
  .contact-form-compact .field input,
  .contact-form-compact .field textarea {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .contact-form > .btn[type="submit"],
  .contact-form-compact > .btn[type="submit"] {
    width: 100%;
    max-width: 100%;
  }
}

/* ——— Founder LinkedIn (obvious) ——— */
.founder-linkedin {
  display: inline-block;
  margin-top: 0.15rem;
  font-weight: 700;
  color: var(--accent-dark) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.founder-linkedin:hover {
  color: var(--accent-dark) !important;
}

.tak .form-privacy {
  margin-top: 0.85rem;
}

.tak .lede a,
.tak .form-note a,
.tak .footer-meta a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Print ——— */
@media print {
  @page {
    margin: 1.25cm;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.45;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Nav chrome, skip link, modals, honeypot — not useful on paper */
  .skip,
  .nav,
  .modal,
  .hp {
    display: none !important;
  }

  /* CTA buttons / form chrome that waste ink and space */
  .hero-actions,
  .cta-band-actions,
  .contact-form,
  .btn {
    display: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* Keep layout readable; drop sticky chrome and huge gutters */
  .wrap,
  .wrap-narrow {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section,
  .hero,
  .cta-band,
  .footer,
  .offer,
  .tak {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
    margin: 0 !important;
  }

  .nav,
  .founder-portrait,
  .cta-band,
  .footer,
  [style*="position: sticky"],
  [style*="position:sticky"] {
    position: static !important;
  }

  .cta-band,
  .footer,
  .hero-flow,
  .flow-step,
  .card,
  .faq-item,
  .founder-portrait img {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border-color: #ccc !important;
  }

  .cta-band-copy h2,
  .cta-band-copy p,
  .cta-band-mail,
  .footer .mark-name,
  .footer-meta,
  .footer-meta p,
  .footer-meta a,
  .footer-domain,
  .form-privacy,
  .form-note,
  .kicker,
  .ink-muted,
  h1, h2, h3, h4, p, li, label {
    color: #000 !important;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  /* Avoid orphaned dark bands eating half a page */
  .cta-band {
    border: 1px solid #ccc !important;
    padding: 0.75rem !important;
  }

  .footer {
    border-top: 1px solid #ccc !important;
  }

  /* FAQ: show all answers when printing; drop accordion chrome */
  .faq-panel {
    display: block !important;
    color: #000 !important;
    max-width: none !important;
  }

  .faq-item button {
    cursor: default;
    padding-right: 0 !important;
  }

  .faq-item button::after {
    display: none !important;
  }

  .faq-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Nexus section: spacing for a second line after the label in the insight box */
.insight cite + blockquote {
  margin-top: 0.6rem;
}
