/* ==========================================================================
   Intakra — site stylesheet
   Plain CSS, no build step. Mobile first. See ../design-notes.md for markup.
   No web fonts are loaded (privacy: no third-party requests). Manrope / Inter
   are used only if installed locally; otherwise the system UI font is used.
   Heading weights are set to 700 so they look deliberate in Segoe UI,
   San Francisco and Roboto, not just in Manrope.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (brand.md) */
  --ink: #0F2A43;          /* Ink Navy: text, headings, dark sections */
  --teal: #0E9F8E;         /* Signal Teal: fills, icons, large text ONLY */
  --teal-deep: #0B7F72;    /* Deep Teal: small links, buttons with small labels */
  --paper: #F7F8FA;        /* Page background */
  --white: #FFFFFF;        /* Cards */
  --slate: #4A5868;        /* Secondary body text */
  --mist: #DDE3EA;         /* Borders */

  /* Derived (kept within the palette's hue family) */
  --teal-darker: #096A5F;  /* Hover for Deep Teal fills */
  --teal-tint: #E6F5F3;    /* Soft accent background (ink text passes AAA) */
  --teal-on-dark: #5FD4C4; /* Teal for text/links on Ink Navy (about 8:1) */
  --ink-soft: #1A3A57;     /* Raised surface on dark sections */
  --on-dark-muted: #C3CEDA;/* Secondary text on Ink Navy (about 9:1) */
  --error: #B42318;        /* Form errors (about 6:1 on white) */

  /* Typography */
  --font-head: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-sm: 0.9375rem;                                         /* 15px */
  --fs-base: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);       /* 17 -> 18px */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);     /* 18 -> 21px */
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);       /* 19 -> 22px */
  --fs-h2: clamp(1.75rem, 1.45rem + 1.1vw, 2.125rem);         /* 28 -> 34px */
  --fs-h1: clamp(2.125rem, 1.55rem + 2.3vw, 3rem);            /* 34 -> 48px */
  --fs-price: clamp(2.5rem, 2rem + 2vw, 3.25rem);

  --lh-body: 1.6;
  --lh-head: 1.15;

  /* Spacing (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* Layout */
  --container: 72rem;      /* 1152px */
  --measure: 40rem;        /* Comfortable line length */
  --gutter: clamp(1rem, 0.6rem + 1.6vw, 2rem);

  /* Shape and depth */
  --radius: 8px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 67, 0.06);
  --shadow-md: 0 1px 2px rgba(15, 42, 67, 0.05), 0 6px 18px rgba(15, 42, 67, 0.07);

  /* Focus */
  --focus: var(--teal-deep);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 150ms;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  overflow-x: hidden; /* safety net; layouts are built not to overflow */
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: var(--lh-head);
  color: var(--ink);
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-base); font-weight: 700; }

p, ul, ol, dl { margin: 0 0 var(--s-4); }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--teal-darker); text-decoration-thickness: 2px; }

strong { font-weight: 600; }

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

::selection { background: var(--teal-tint); color: var(--ink); }

/* Screen-reader only */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--s-4); color: var(--white); }

/* --------------------------------------------------------------------------
   3. Layout utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

.grid { display: grid; gap: var(--s-5); }
.grid > * { min-width: 0; }
@media (min-width: 48em) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 40em) and (max-width: 59.99em) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 60em) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.measure { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--slate); }
.small { font-size: var(--fs-sm); }
.lead { font-size: var(--fs-lead); color: var(--slate); line-height: 1.55; }

/* --------------------------------------------------------------------------
   4. Header and navigation (no JS: nav wraps to its own row on small screens)
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
  padding-block: var(--s-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 28px; height: 28px; flex: none; }

.site-nav { order: 3; flex-basis: 100%; }
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-3);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
}
.site-nav__link:hover { background: var(--paper); color: var(--ink); }
.site-nav__link[aria-current="page"] {
  color: var(--teal-deep);
  box-shadow: inset 0 -2px 0 var(--teal);
  border-radius: 0;
}
.site-nav__link { white-space: nowrap; }

.site-header__cta { order: 2; }

@media (max-width: 26em) {
  .site-header__cta .btn { padding-inline: var(--s-4); }
}

/* Phones: nav is one horizontally scrollable row (the page itself never scrolls sideways) */
@media (max-width: 29.99em) {
  .site-nav { min-width: 0; }
  .site-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: calc(var(--gutter) - var(--s-3));
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav__list::-webkit-scrollbar { display: none; }
  .site-nav__link:focus-visible { outline-offset: -3px; }
}

@media (min-width: 60em) {
  .site-header__inner { flex-wrap: nowrap; padding-block: var(--s-4); }
  .site-nav { order: 2; flex-basis: auto; margin-left: auto; }
  .site-header__cta { order: 3; }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0.75rem 1.375rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.btn:hover { text-decoration: none; }

/* Primary: Deep Teal fill, white label (about 4.9:1, safe at any size) */
.btn--primary { background: var(--teal-deep); color: var(--white); }
.btn--primary:hover { background: var(--teal-darker); color: var(--white); }

/* Secondary: outline */
.btn--secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--mist);
}
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }

/* Text-style button/link with arrow */
.btn--text {
  min-height: 44px;
  padding-inline: 0;
  background: none;
  color: var(--teal-deep);
}
.btn--text::after { content: "\2192"; transition: transform var(--t-fast) var(--ease); }
.btn--text:hover { color: var(--teal-darker); }
.btn--text:hover::after { transform: translateX(3px); }

.btn--lg { min-height: 56px; padding-inline: 1.75rem; font-size: 1.1875rem; }
@media (max-width: 30em) {
  .btn--lg { font-size: 1.0625rem; padding-inline: 1.25rem; }
  .hero .btn--primary,
  .form [type="submit"] { width: 100%; }
}
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); border-block: 1px solid var(--mist); }
.section--tint { background: var(--teal-tint); }
.section--dark { background: var(--ink); color: var(--white); }

.section__head { max-width: var(--measure); margin-bottom: var(--s-6); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--slate); font-size: var(--fs-lead); }

/* Small label above a heading */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* Dark section overrides */
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p,
.section--dark .section__head p,
.section--dark .muted { color: var(--on-dark-muted); }
.section--dark a:not(.btn) { color: var(--teal-on-dark); }
.section--dark a:not(.btn):hover { color: var(--white); }
.section--dark .eyebrow { color: var(--teal-on-dark); }
.section--dark :focus-visible { outline-color: var(--teal-on-dark); }
.section--dark .btn--primary { background: var(--teal-on-dark); color: var(--ink); }
.section--dark .btn--primary:hover { background: var(--white); color: var(--ink); }
.section--dark .btn--secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.section--dark .btn--secondary:hover { border-color: var(--white); }

/* --------------------------------------------------------------------------
   7. Hero + reply timeline motif
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) var(--section-y);
}
.hero__inner {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
.hero__inner > * { min-width: 0; }
.hero__title { max-width: 20ch; text-wrap: balance; }
.hero__title em {
  font-style: normal;
  white-space: nowrap;
  color: var(--teal-deep);
}
.hero__lead { max-width: 34rem; margin-bottom: var(--s-5); }
.hero__note {
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--slate);
}

@media (min-width: 60em) {
  .hero__inner { grid-template-columns: 1.15fr 1fr; gap: var(--s-8); }
}

/*
  Reply timeline: an illustrative card showing the sequence
  inquiry -> reply within a minute -> qualified -> booked.
  Not a screenshot and carries no stats.
*/
.timeline {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: var(--s-5);
}
.timeline__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--mist);
  font-size: 0.8125rem;
  color: var(--slate);
}
.timeline__label {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.timeline__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Track */
.timeline__list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--mist);
}
/* Fill that "draws" down the track */
.timeline__list::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--teal);
  transform-origin: top;
  animation: timeline-draw 1.6s var(--ease) 0.3s both;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: var(--s-4);
  padding-bottom: var(--s-5);
  z-index: 1;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
}
.timeline__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.timeline__item--done .timeline__dot { background: var(--teal); }
.timeline__item--done .timeline__dot::after {
  width: 10px;
  height: 6px;
  border-radius: 0;
  background: none;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translateY(-1px) rotate(-45deg);
}
.timeline__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  margin: 1px 0 2px;
}
.timeline__text {
  font-size: var(--fs-sm);
  color: var(--slate);
  margin: 0;
}
/* Chat-like bubble for the reply step */
.timeline__bubble {
  margin-top: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: var(--teal-tint);
  border-radius: var(--radius) var(--radius) var(--radius) 2px;
  font-size: var(--fs-sm);
  color: var(--ink);
  line-height: 1.5;
}
.timeline__time {
  display: inline-block;
  margin-left: var(--s-2);
  padding: 0 var(--s-2);
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--mist);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate);
  vertical-align: 2px;
  white-space: nowrap;
}
.timeline__foot {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--mist);
  font-size: 0.8125rem;
  color: var(--slate);
}

@keyframes timeline-draw {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* --------------------------------------------------------------------------
   8. Problem section
   -------------------------------------------------------------------------- */
.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 48em) {
  .problem-list { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}
.problem-list__item {
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--mist);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
}
.problem-list__item h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.problem-list__item p { color: var(--slate); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   9. Steps (how it works, async buying steps)
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: var(--s-5);
}
.steps__item {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  min-width: 0;
}
.steps__item::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
}
.steps__item h3 { font-size: 1.125rem; margin: 0.4rem 0 var(--s-2); }
.steps__item p { color: var(--slate); font-size: var(--fs-sm); }

/* Horizontal layout with a connecting line on wide screens */
@media (min-width: 60em) {
  .steps--row { grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s-6); }
  .steps--row .steps__item { padding-left: 0; padding-top: 3.75rem; }
  .steps--row .steps__item::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 3.25rem;
    right: calc(-1 * var(--s-6) + 0.75rem);
    height: 2px;
    background: var(--mist);
  }
  .steps--row .steps__item:last-child::after { display: none; }
}

/* Compact variant for the async buying steps */
.steps--compact { gap: var(--s-4); }
.steps--compact .steps__item::before {
  width: 2rem;
  height: 2rem;
  font-size: 0.9375rem;
  background: var(--teal-tint);
  color: var(--teal-deep);
  border: 1px solid var(--teal);
}
.steps--compact .steps__item { padding-left: 3rem; }
.steps--compact .steps__item h3 { margin-top: 0.15rem; font-size: 1.0625rem; }
@media (min-width: 60em) {
  .steps--compact.steps--row .steps__item { padding-left: 0; padding-top: 3.25rem; }
  .steps--compact.steps--row .steps__item::after { top: 1rem; left: 2.75rem; }
}

.section--dark .steps__item::before { background: var(--teal-on-dark); color: var(--ink); }
.section--dark .steps__item p { color: var(--on-dark-muted); }
.section--dark .steps--row .steps__item::after { background: rgba(255,255,255,0.18); }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card__title { font-size: var(--fs-h3); margin: 0; }
.card__text { color: var(--slate); margin: 0; }
.card__footer { margin-top: auto; padding-top: var(--s-3); }
.card--link { transition: border-color var(--t-fast) var(--ease); }
.card--link:hover { border-color: var(--teal-deep); }

/* Check list (used in cards, pricing, ethics) */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}
.checklist li {
  position: relative;
  padding-left: 1.875rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--teal-tint);
  border: 1px solid var(--teal);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: calc(0.3em + 0.33rem);
  width: 0.45rem;
  height: 0.26rem;
  border-left: 2px solid var(--teal-deep);
  border-bottom: 2px solid var(--teal-deep);
  transform: rotate(-45deg);
}
/* "Does not" list */
.checklist--no li::before { background: var(--paper); border-color: var(--slate); }
.checklist--no li::after {
  left: 0.3rem;
  top: calc(0.3em + 0.5rem);
  width: 0.55rem;
  height: 0;
  border-left: 0;
  border-bottom: 2px solid var(--slate);
  transform: none;
}

/* --------------------------------------------------------------------------
   11. Ownership / integrations note
   -------------------------------------------------------------------------- */
.ownership {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-6) var(--s-5);
  background: var(--white);
  border: 1px solid var(--mist);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}
@media (min-width: 48em) {
  .ownership { grid-template-columns: 1.2fr 1fr; padding: var(--s-6); gap: var(--s-6); }
}
.ownership > * { min-width: 0; }
.ownership__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }

/* Text chips: plain names of tools, never logos */
.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.chip {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--mist);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: var(--fs-sm);
  color: var(--ink);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. Pricing card + Intake Audit card
   -------------------------------------------------------------------------- */
.offer-grid {
  display: grid;
  gap: var(--s-5);
  align-items: stretch;
}
@media (min-width: 56em) {
  .offer-grid { grid-template-columns: 1.35fr 1fr; gap: var(--s-6); }
}
.offer-grid > * { min-width: 0; }

.price-card {
  position: relative;
  padding: var(--s-6) var(--s-5);
  background: var(--white);
  border: 1px solid var(--mist);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
@media (min-width: 40em) { .price-card { padding: var(--s-6); } }

.price-card__name {
  font-size: var(--fs-h3);
  margin-bottom: var(--s-2);
}
.price-card__desc { color: var(--slate); margin-bottom: var(--s-5); }

.price-card__prices {
  display: grid;
  gap: var(--s-4);
  margin: 0 0 var(--s-5);
  padding: var(--s-4) 0;
  border-block: 1px solid var(--mist);
}
@media (min-width: 30em) {
  .price-card__prices { grid-template-columns: 1fr 1fr; }
  .price-card__prices > div + div { border-left: 1px solid var(--mist); padding-left: var(--s-4); }
}
.price-card__prices dt {
  font-size: var(--fs-sm);
  color: var(--slate);
  margin-bottom: var(--s-1);
}
.price-card__prices dd { margin: 0; }
.price {
  font-family: var(--font-head);
  font-size: var(--fs-price);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price__unit {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--slate);
}
.price-card__terms {
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--slate);
}
.price-card .checklist { margin-bottom: var(--s-5); }

/* Intake Audit: smaller, quieter card */
.audit-card {
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
}
.audit-card__tag {
  display: inline-block;
  margin-bottom: var(--s-3);
  padding: 0.125rem 0.625rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.audit-card__name { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.audit-card .price { font-size: 2.25rem; }
.audit-card__price { margin-bottom: var(--s-3); }
.audit-card p { color: var(--slate); font-size: var(--fs-sm); }
.audit-card .checklist { margin-block: var(--s-4); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   13. Founding-client callout
   -------------------------------------------------------------------------- */
.callout {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--teal-tint);
  border: 1px solid #B9E3DD;
  border-radius: var(--radius);
}
@media (min-width: 48em) {
  .callout { grid-template-columns: auto 1fr; align-items: center; gap: var(--s-5); padding: var(--s-6); }
}
.callout > * { min-width: 0; }
.callout__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--teal);
  display: grid;
  place-items: center;
  color: var(--teal-deep);
}
.callout__icon svg { width: 24px; height: 24px; }
.callout__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.callout__text { margin: 0; color: var(--ink); }
.callout__fine { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--slate); }

/* --------------------------------------------------------------------------
   14. Ethics section (law page)
   -------------------------------------------------------------------------- */
.ethics {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 48em) { .ethics { grid-template-columns: 1fr 1fr; } }
.ethics__panel {
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  min-width: 0;
}
.ethics__panel h3 { font-size: 1.125rem; margin-bottom: var(--s-4); }
.ethics__source {
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   15. FAQ (<details>)
   -------------------------------------------------------------------------- */
.faq { max-width: 48rem; }
.faq__item {
  border-bottom: 1px solid var(--mist);
}
.faq__item:first-child { border-top: 1px solid var(--mist); }
.faq__q {
  position: relative;
  display: block;
  padding: var(--s-4) 2.5rem var(--s-4) 0;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
/* Plus / minus icon */
.faq__q::before,
.faq__q::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease);
}
.faq__q::after { transform: rotate(90deg); }
.faq__item[open] > .faq__q::after { transform: rotate(0deg); }
.faq__q:hover { color: var(--teal-deep); }
.faq__q:focus-visible { outline-offset: 4px; }
.faq__a {
  padding: 0 0 var(--s-5);
  color: var(--slate);
  max-width: var(--measure);
}

/* --------------------------------------------------------------------------
   16. Contact form (Formspree)
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 56em) { .contact { grid-template-columns: 1fr 1.25fr; gap: var(--s-7); } }
.contact > * { min-width: 0; }

.form {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
@media (min-width: 40em) {
  .form { padding: var(--s-6); }
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}
.form__row { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); min-width: 0; }
.field__label {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.field__optional { font-weight: 400; color: var(--slate); }
.field__hint { font-size: 0.875rem; color: var(--slate); margin: 0; }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6875rem 0.875rem;
  border: 1px solid #7D8A98; /* about 3.6:1 against white for non-text contrast */
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* 16px prevents iOS zoom */
  line-height: 1.4;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.textarea { min-height: 8rem; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9rem) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.input::placeholder,
.textarea::placeholder { color: #6B7785; opacity: 1; }
.input:hover,
.select:hover,
.textarea:hover { border-color: var(--slate); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(11, 127, 114, 0.25);
}
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 1px;
}
/* Error state only after the user has interacted */
.input:user-invalid,
.select:user-invalid,
.textarea:user-invalid { border-color: var(--error); }
.field__error { font-size: 0.875rem; color: var(--error); margin: 0; }

/* Checkbox (consent) */
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--slate);
}
.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--teal-deep);
}

/* Honeypot for Formspree (_gotcha) */
.form__trap {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__note { font-size: 0.875rem; color: var(--slate); margin: 0; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: var(--s-7) var(--s-6);
  font-size: var(--fs-sm);
}
.site-footer__grid {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 48em) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.site-footer__grid > * { min-width: 0; }
.site-footer .brand { color: var(--white); }
.site-footer .brand:hover { color: var(--white); }
.site-footer__heading {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--s-3);
}
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.site-footer a {
  color: var(--on-dark-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--teal-on-dark); }
.site-footer__legal {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  justify-content: space-between;
}
.site-footer address { font-style: normal; }

/* --------------------------------------------------------------------------
   17b. Page additions (components used by copy.md sections)
   -------------------------------------------------------------------------- */
/* Visible "Illustration" tag on the hero timeline */
.timeline__tag {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border: 1px solid var(--mist);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

/* Closing line under a section */
.closing {
  margin-top: var(--s-6);
  max-width: var(--measure);
  font-weight: 600;
  color: var(--ink);
}
.section--dark .closing { color: var(--white); }

/* Small print */
.fine {
  margin-top: var(--s-5);
  max-width: var(--measure);
  font-size: var(--fs-sm);
  color: var(--slate);
}

/* Body copy block */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose p, .prose ul { margin-bottom: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--s-1); }
.prose h2 {
  margin-top: var(--s-7);
  margin-bottom: 0;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
}

/* Checklist with bold lead-ins, two columns on wide screens */
.checklist strong { color: var(--ink); }
@media (min-width: 48em) {
  .checklist--2col { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); row-gap: var(--s-4); }
}

/* Single-column note box (reuses .ownership look) */
.ownership.ownership--single { grid-template-columns: 1fr; margin-top: var(--s-6); }
.ownership--single p { margin: 0; }

/* Offer: two equal price cards */
@media (min-width: 56em) {
  .offer-grid--even { grid-template-columns: 1fr 1fr; }
}
.price-card--care { border-top-color: var(--ink); }
.price-card__amount {
  margin: 0 0 var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--mist);
}
.price-card .checklist { margin-bottom: 0; }
.offer__terms {
  margin-top: var(--s-6);
  font-weight: 600;
  color: var(--ink);
}
.offer__terms + .fine { margin-top: var(--s-2); }

/* Intake Audit section */
.audit {
  display: grid;
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 56em) { .audit { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
.audit > * { min-width: 0; }
.audit .section__head { margin-bottom: 0; }
.audit__price { color: var(--ink) !important; }
.audit__price strong {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.audit-card .checklist { color: var(--ink); }
.audit-card .btn { margin-top: var(--s-5); }
.audit-card .audit-card__closing { margin-top: var(--s-4); color: var(--ink); font-size: var(--fs-base); }

/* Founding callout with an H2 */
.callout h2 { margin-bottom: var(--s-3); }
.callout p { margin: 0; color: var(--ink); }
.callout p + p { margin-top: var(--s-3); }
.callout .callout__fine { color: var(--slate); }

/* Note under a step (law page demo note) */
.step-note { margin-top: var(--s-2); font-size: 0.875rem; font-style: italic; }

/* Form: privacy note */
.form__privacy { margin: 0; font-size: 0.875rem; color: var(--slate); }

/* 404 */
.notfound { padding-block: var(--section-y); }
.notfound .btn-row { margin-top: var(--s-5); }

/* Header CTA: full label, shorter label on narrow phones */
.btn--cta .cta-short { display: none; }
@media (max-width: 30em) {
  .btn--cta .cta-long { display: none; }
  .btn--cta .cta-short { display: inline; }
}

/* Intake Audit: how it works */
.audit__how { font-size: 1.125rem; margin: var(--s-5) 0 var(--s-3); }
.audit-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: audit;
  display: grid;
  gap: var(--s-3);
}
.audit-steps li {
  counter-increment: audit;
  position: relative;
  padding-left: 2.5rem;
  color: var(--ink);
  font-size: var(--fs-base);
}
.audit-steps li::before {
  content: counter(audit);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-tint);
  border: 1px solid var(--teal);
  color: var(--teal-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
}

/* CTA strip after "How it works" */
.cta-strip {
  background: var(--teal-tint);
  border-block: 1px solid #B9E3DD;
  padding-block: var(--s-5);
}
.cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.cta-strip__text {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--ink);
  min-width: 0;
}
@media (max-width: 30em) {
  .cta-strip .btn { width: 100%; }
}

/* Form: "What would you like?" radio choice */
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: var(--s-2); }
.choice__options { display: grid; gap: var(--s-2); }
@media (min-width: 40em) { .choice__options { grid-template-columns: 1fr 1fr; } }
.choice__option {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 48px;
  padding: var(--s-2) var(--s-4);
  border: 1px solid #7D8A98;
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.3;
  cursor: pointer;
}
.choice__option:hover { border-color: var(--slate); }
.choice__option input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--teal-deep);
}
.choice__option:has(input:checked) { border-color: var(--teal-deep); background: var(--teal-tint); }

/* Secondary "Request a demo" button rows */
.demo-cta { margin-top: var(--s-5); }
.offer__terms + .demo-cta + .fine { margin-top: var(--s-4); }

/* Form status (filled by /assets/form.js) */
.form__status:empty { display: none; }
.form__status {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}
.form__status:focus { outline: none; }
.form__status:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.form__status--ok { background: var(--teal-tint); border: 1px solid var(--teal); color: var(--ink); }
.form__status--error { background: #FEF3F2; border: 1px solid var(--error); color: var(--error); }
.form__status--error a { color: var(--error); }
.form[aria-busy="true"] [type="submit"] { opacity: 0.7; cursor: progress; }

/* --------------------------------------------------------------------------
   18. Motion and print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .btn { border-color: ButtonText; }
  .timeline__dot, .checklist li::before { forced-color-adjust: auto; }
}

@media print {
  .site-header, .site-nav, .form, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  .section--dark, .site-footer { background: #fff; color: #000; }
  a { color: #000; }
}
