/* ==========================================================================
   Aftercare AI — shared stylesheet
   Plain CSS. No build step. Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts — self-hosted, so pages make no third-party requests.
   Inter and Source Serif 4 (variable; one file covers every weight), plus
   Allura for the founder signature, as served by Google Fonts and stored
   here. SIL Open Font License: assets/fonts/OFL-*.txt.
   Latin-ext is only downloaded if a page uses one of its characters.
   -------------------------------------------------------------------------- */
/* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin — founder signature only */
@font-face {
  font-family: "Allura";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/allura-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --bone:        #FAF8F4;
  --bone-sink:   #F2EEE6;
  --teal:        #0F4C4C;
  --teal-deep:   #0A3838;
  --teal-wash:   rgba(15, 76, 76, 0.06);
  --amber:       #E8A33D;
  --amber-wash:  #F8E7C9;
  --ink:         #1C1C1C;
  --muted:       #4F5A58;
  --line:        rgba(28, 28, 28, 0.13);
  --line-soft:   rgba(28, 28, 28, 0.07);
  --line-onteal: rgba(250, 248, 244, 0.22);

  --serif: "Source Serif 4", ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale. Labels stay 14px and supporting chrome stays 15px.
     Reading text that was under 16px uses --text-reading. Body stays 18px.
     Headlines and the wordmark are not on this floor. */
  --text-label: 0.875rem;
  --text-secondary: 0.9375rem;
  --text-reading: 1rem;
  --text-body: 1.125rem;
  --text-brand: 1.25rem;
  --leading-body: 1.65;
  --leading-lede: 1.55;
  --leading-heading: 1.14;
  --leading-subhead: 1.25;
  --track-label: 0.13em;
  --section-space: clamp(2.6rem, 6.5vw, 5rem);
  --section-space-tight: clamp(2rem, 4.8vw, 3.4rem);
  --bone-muted: rgba(250, 248, 244, 0.88);

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 5vw, 2.75rem);
  --radius: 14px;
  --radius-sm: 9px;

  /* Theme roles. These are the light values; the dark ones follow. The
     brand colours above stay fixed in both themes: the teal bands, the
     amber buttons and the footer look the same either way. */
  --page:         var(--bone);
  --page-sink:    var(--bone-sink);
  --surface:      #fff;
  --text:         var(--ink);
  --text-muted:   var(--muted);
  --accent:       var(--teal);
  --accent-hover: var(--teal-deep);
  --ghost-line:   rgba(15, 76, 76, 0.35);
  --header-bg:    rgba(250, 248, 244, 0.94);
  --shadow:       rgba(28, 28, 28, 0.5);
  color-scheme: light;
}

/* Dark theme. It follows the device setting, unless the visitor picks a
   theme with the header switch, which sets data-theme on <html>. The two
   blocks hold the same values. */
:root[data-theme="dark"] {
  --page:         #0E1615;
  --page-sink:    #121C1B;
  --surface:      #16211F;
  --text:         #ECE7DE;
  --text-muted:   #A9B5B2;
  --accent:       #74C2B9;
  --accent-hover: #A3DCD5;
  --ghost-line:   rgba(116, 194, 185, 0.45);
  --teal-wash:    rgba(116, 194, 185, 0.12);
  --line:         rgba(236, 231, 222, 0.16);
  --line-soft:    rgba(236, 231, 222, 0.09);
  --header-bg:    rgba(14, 22, 21, 0.92);
  --shadow:       rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page:         #0E1615;
    --page-sink:    #121C1B;
    --surface:      #16211F;
    --text:         #ECE7DE;
    --text-muted:   #A9B5B2;
    --accent:       #74C2B9;
    --accent-hover: #A3DCD5;
    --ghost-line:   rgba(116, 194, 185, 0.45);
    --teal-wash:    rgba(116, 194, 185, 0.12);
    --line:         rgba(236, 231, 222, 0.16);
    --line-soft:    rgba(236, 231, 222, 0.09);
    --header-bg:    rgba(14, 22, 21, 0.92);
    --shadow:       rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
a:hover { color: var(--accent-hover); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5em;
  letter-spacing: -0.012em;
  line-height: var(--leading-heading);
  text-wrap: balance;
  overflow-wrap: break-word;
  max-width: 100%;
}

h1 { font-size: clamp(2.35rem, 6.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); line-height: var(--leading-subhead); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.5em; }

hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--bone);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-weight: 500;
}
.skip-link:focus { left: 0; color: var(--bone); }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 760px; }

/* Between 760 and 860px the narrow column sat a few pixels in from the
   full-width sections, which read as misalignment rather than an inset. */
@media (max-width: 860px) {
  .section .wrap--narrow { max-width: none; }
}

.section { padding-block: var(--section-space); }
.section--tight { padding-block: var(--section-space-tight); }

.section--sink { background: var(--page-sink); }

.section--dark {
  background: var(--teal);
  color: var(--bone);
}
.section--dark h2,
.section--dark h3 { color: var(--bone); }
.section--dark a { color: var(--bone); }

.rule { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: 600;
  /* Stated so an <h2 class="eyebrow"> matches the <p> ones — headings carry
     line-height 1.14 and would otherwise sit 7px shorter. No-op for the p's,
     which already compute to this. */
  line-height: var(--leading-body);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--amber);
  flex: none;
}
.section--dark .eyebrow { color: var(--amber); }
.section--dark .eyebrow::before { background: var(--amber); }
/* Balanced breaks stop a two-line label ending on one word. Scoped to the
   marketing sections so the legal pages' labels stay as they are. */
.hero .eyebrow,
.section .eyebrow { text-wrap: balance; }

.lede {
  font-size: clamp(1.125rem, 1.9vw, 1.3rem);
  line-height: var(--leading-lede);
  color: var(--text-muted);
  max-width: 62ch;
}
.lede--intro { margin-bottom: clamp(2rem, 4.5vw, 3rem); }
.lede--follow { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.lede--actions { margin-bottom: 2rem; }
.section--dark .lede,
.section--dark .measure { color: var(--bone-muted); }

.mark { font-weight: 600; }
.section--dark .mark { color: var(--amber); }

.problem .eyebrow {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 4.5vw, 1.9rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}
.problem .eyebrow::before {
  display: inline-block;
  width: 2.25rem;
  height: 4px;
  margin-right: 0.65rem;
  vertical-align: middle;
}
.problem h2,
.problem .lede,
.problem .measure {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.problem h2 { font-size: clamp(2rem, 7vw, 3.3rem); }

/* Avoid a lone last word in lead lines and step copy where supported. */
.hero__lede,
.section .lede,
.section .measure,
.section figcaption,
.steps p,
.bounds li { text-wrap: pretty; }

.measure { max-width: 66ch; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn--primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.btn--primary:hover {
  background: #DB9526;
  border-color: #DB9526;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--ghost-line);
}
.btn--ghost:hover {
  background: var(--teal-wash);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.btn--onteal {
  background: transparent;
  color: var(--bone);
  border-color: var(--line-onteal);
}
.btn--onteal:hover {
  background: rgba(250, 248, 244, 0.1);
  border-color: var(--bone);
  color: var(--bone);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
/* On phones, buttons in a row share the width, so a stacked pair lines up
   instead of leaving a ragged right edge. */
@media (max-width: 719.98px) {
  .btn-row > .btn {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 68px;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: var(--text-brand);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  position: relative;
}
.brand:hover { color: var(--text); }
/* 44px tap target without changing how the wordmark looks. */
.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
}
.brand__mark {
  width: auto;
  height: 1.4em;
  flex: none;
  align-self: center;
  display: block;
}
/* The wordmark can wrap only when the row is narrower than the mark.
   At the normal size it stays on one line with Menu and the theme switch. */
.brand span { min-width: 0; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 10px;
  flex: none;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--text);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__links li { margin: 0; }

.site-nav__links a {
  font-size: var(--text-secondary);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav__links a { position: relative; }
/* Expand the tap target to 44px without moving the underline off the text. */
.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
}
.site-nav__links a:hover { color: var(--accent); border-bottom-color: var(--line); }
.site-nav__links a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--amber);
}

.site-nav .btn { padding: 0.7rem 1.15rem; font-size: var(--text-label); min-height: 44px; }

/* Light/dark switch. Hidden without JS; the site then follows the device
   setting. Last in the header, so its place in the tab order matches what
   you see: after the demo button on desktop, after Menu on phones. */
.site-header__inner > .brand { margin-right: auto; }

.theme-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { display: block; width: 18px; height: 18px; }

/* The icon shows the theme a click switches to: a moon in light, a sun in dark. */
.theme-toggle .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .theme-toggle__moon { display: none; }
}


/* Mobile nav: collapsed only when JS is available to re-open it. The toggle
   itself appears only below the breakpoint, and only when JS can drive it. */
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--page);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    box-shadow: 0 18px 30px -22px var(--shadow);
  }
  .js .site-nav.is-open { display: flex; }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.0625rem;
  }
  .site-nav__links a[aria-current="page"] { border-bottom-color: var(--amber); }

  .site-nav .btn { margin-top: 1.15rem; width: 100%; }

  .site-header__inner { position: relative; }
}

/* Below 371px the wordmark, Menu, and 44px theme switch need a tighter
   header to stay on one row. Tap targets stay at least 44px. */
@media (max-width: 370px) {
  .site-header__inner {
    gap: 0.3rem;
    padding-inline: 0.5rem;
  }
  .nav-toggle {
    gap: 0.35rem;
    padding-inline: 0.4rem;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4rem);
}

.hero__title { max-width: 12em; }
.hero__title-rest { display: block; }

.hero__lede {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: var(--leading-lede);
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.hero__actions { margin-bottom: clamp(2.75rem, 7vw, 4.5rem); }
/* That gap separated the actions from the clockstrip. With the strip in its
   own section the actions end the hero, so the gap is not needed. */
.hero__actions:last-child { margin-bottom: 0; }

/* Founder sits in its own band directly under the hero. The headline is
   heavier than the other section titles so the story reads first.
   On a phone the portrait sits beside the signature. From 860px it sits
   beside the whole quote. The portrait files are assets/founder.webp
   and assets/founder.jpg. */
.section--founder {
  background: var(--page-sink);
  padding-block: clamp(3.25rem, 8vw, 6rem);
}

.founder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "body body"
    "photo credit";
  column-gap: 1.25rem;
  row-gap: 0;
  align-items: center;
}

.founder__title {
  grid-area: title;
  font-weight: 700;
  font-size: clamp(2.05rem, 5.2vw, 3.15rem);
  max-width: 14em;
  margin-bottom: 0.7em;
}

.founder__body {
  grid-area: body;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: var(--leading-lede);
  color: var(--text);
  max-width: 38rem;
  margin: 0 0 clamp(2rem, 5vw, 2.75rem);
}

.founder__photo {
  grid-area: photo;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #F2EEE6;
  border: 1px solid var(--line);
  justify-self: start;
}

.founder__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.founder__credit {
  grid-area: credit;
  min-width: 0;
}

.founder__sign {
  margin: 0;
  font-family: "Allura", cursive;
  font-weight: 400;
  font-size: clamp(2.35rem, 7vw, 3.5rem);
  line-height: 1;
  color: var(--text);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.founder__role {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-size: var(--text-reading);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-caps: all-small-caps;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.founder__degree {
  margin: 0.55rem 0 0;
  max-width: 24rem;
  font-family: var(--sans);
  font-size: var(--text-reading);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.founder-stand p {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--text);
}

@media (min-width: 860px) {
  .founder {
    grid-template-columns: auto minmax(0, 38rem);
    grid-template-areas:
      "photo title"
      "photo body"
      "photo credit";
    column-gap: clamp(3rem, 6vw, 5.5rem);
  }

  .founder__photo {
    width: 13.25rem;
    height: 13.25rem;
  }

  .founder__body { margin-bottom: 1.85rem; }
}

.hero__note {
  font-size: var(--text-reading);
  color: var(--text-muted);
  margin-top: 1.1rem;
}

/* --------------------------------------------------------------------------
   Clock strip
   -------------------------------------------------------------------------- */
.clockstrip { margin: 0; }

.clockstrip__frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1rem, 2.6vw, 1.6rem);
}

.clockstrip__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.9rem;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

.clockstrip__row {
  display: flex;
  gap: 3px;
  align-items: stretch;
}

.clockstrip__cell {
  flex: 1 1 0;
  min-width: 0;
  height: clamp(52px, 11vw, 76px);
  border-radius: 4px;
  background: var(--teal-wash);
  border: 1px solid transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.4rem;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  position: relative;
}

.clockstrip__cell.is-after {
  background: var(--amber);
  color: var(--ink);
}

/* The two "clinic open" bookends read as quiet, not highlighted. */
.clockstrip__cell.is-open {
  background: var(--teal);
  color: var(--bone);
}

.clockstrip__cell small {
  font-size: 0.6875em;
  letter-spacing: 0.06em;
  margin-left: 1px;
}

/* Hour labels are noise on narrow screens — keep only the anchors. */
.clockstrip__cell span { display: none; }
.clockstrip__cell.is-anchor span { display: block; }

@media (min-width: 720px) {
  .clockstrip__cell span { display: block; }
}

/* Phone layout for the strip. Everything here is scoped below the 720px
   breakpoint, so the desktop arrangement above is untouched.
   Two problems are fixed: the three head labels used to wrap into a
   left-aligned three-row list and lose the closes/opens framing, and the
   anchor hour labels overflowed their ~18px cells and clipped at the frame
   edge. The head becomes two rows, and the hour labels move under the bar
   where the 14px label fits with room to spare. */
@media (max-width: 719.98px) {
  .clockstrip__head {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: start;
    row-gap: 0.4rem;
    column-gap: 0.75rem;
  }
  /* "Clinic closes" left and "Clinic opens" right keep the framing on one
     row; the middle label captions the bar from the row beneath. */
  .clockstrip__head span:nth-child(1) { grid-area: 1 / 1; justify-self: start; }
  .clockstrip__head span:nth-child(3) { grid-area: 1 / 2; justify-self: end; text-align: right; }
  .clockstrip__head span:nth-child(2) {
    grid-area: 2 / 1 / 3 / -1;
    justify-self: center;
    text-align: center;
  }

  /* Room under the bar for the hour labels. */
  .clockstrip__row { padding-bottom: 1.5rem; }

  .clockstrip__cell small { font-size: 0.8em; }

  .clockstrip__cell.is-anchor span {
    position: absolute;
    top: 100%;
    margin-top: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--text-muted);
  }
  /* The end labels align to the frame instead of centring, so neither the
     6 PM nor the 8 AM label can cross the card edge. */
  .clockstrip__cell.is-anchor:first-child span { left: 0; transform: none; }
  .clockstrip__cell.is-anchor:last-child span { left: auto; right: 0; transform: none; }
}

.clockstrip__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin-top: 1rem;
  font-size: var(--text-label);
  color: var(--text-muted);
}

.clockstrip__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.swatch {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  flex: none;
}
.swatch--amber { background: var(--amber); }
.swatch--teal { background: var(--teal); }

.clockstrip figcaption {
  margin-top: 1.15rem;
  font-size: var(--text-secondary);
  color: var(--text-muted);
  max-width: 60ch;
}

/* Day and after hours share one row, so neither reads as the whole product. */
.dayparts { margin: 0; }

.dayparts__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

.dayparts__half {
  min-height: 8.5rem;
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.dayparts__half h3 { margin-bottom: 0.35rem; }

.dayparts__half p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-body);
  line-height: var(--leading-lede);
}

.dayparts figcaption {
  margin-top: 1.25rem;
  font-size: clamp(1.375rem, 2.4vw, 1.625rem);
  line-height: var(--leading-lede);
  color: var(--text-muted);
  max-width: 40rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

h2 + .grid { margin-top: clamp(1.5rem, 3.5vw, 2.25rem); }

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
}

.card__index {
  font-family: var(--serif);
  font-size: var(--text-secondary);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.card__index::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-soft);
}

.card h3 { margin-bottom: 0.45rem; }

.card p {
  color: var(--text-muted);
  font-size: var(--text-reading);
  margin: 0;
}

.reason-grid .card p {
  font-size: var(--text-body);
  line-height: 1.55;
}

.price-grid .card p {
  overflow-wrap: anywhere;
}

.price-grid .card p + p {
  margin-top: 1.1em;
}

.card .price-card__list { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Numbered steps (how-it-works)
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--line-soft);
}

.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.25rem;
  align-items: start;
  padding-block: clamp(1.5rem, 3.6vw, 2.4rem);
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.02em;
  padding-top: 0.1em;
}

/* On phones the number sits above its heading, so the copy gets the full
   column instead of a narrow strip beside the numeral. */
@media (max-width: 719.98px) {
  .steps > li { grid-template-columns: 1fr; gap: 0.5rem; }
}

.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--text-muted); margin: 0; max-width: 62ch; }

/* --------------------------------------------------------------------------
   Boundary list ("what it will not do")
   -------------------------------------------------------------------------- */
.bounds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.bounds li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: baseline;
  margin: 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-onteal);
  color: rgba(250, 248, 244, 0.9);
}
.bounds li:last-child { border-bottom: 0; padding-bottom: 0; }

.bounds li::before {
  content: "";
  width: 0.9rem;
  height: 3px;
  margin-top: 0.55em;
  background: var(--amber);
  align-self: start;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.price-grid {
  display: grid;
  gap: clamp(1rem, 2.6vw, 1.75rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 760px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

/* A single plan: one card in the narrow column, its note aligned with it. */
.price-grid--single { grid-template-columns: minmax(0, 28rem); }
.price-grid--single + .price-note { text-align: left; }

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.4vw, 2.35rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card--feature {
  border-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}

.price-card__name {
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

.price-card__amount {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.price-card__period {
  font-family: var(--sans);
  font-size: var(--text-reading);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  min-width: 0;
}

.price-card__cad {
  font-size: var(--text-reading);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-card__list {
  list-style: none;
  margin: 0 0 1.9rem;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.price-card__list li {
  margin: 0;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  font-size: var(--text-reading);
  color: var(--text-muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
}

.price-card .btn { margin-top: auto; }

/* The fair-use line sits under the list. One rem is the old 1.9rem list
   margin minus the 0.9rem pull-up, without a negative margin. */
.price-card__list:has(+ .price-note) { margin-bottom: 1rem; }
.price-card .price-note {
  margin-top: 0;
  text-align: left;
}

.price-note {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  text-align: center;
  font-size: var(--text-reading);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Contact blocks
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}

.contact-card__label {
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.contact-card__value {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
}

.contact-card p:last-of-type { color: var(--text-muted); font-size: var(--text-reading); }
.contact-card__note { margin-bottom: 1.35rem; }
.contact-card address.contact-card__value { font-style: normal; line-height: 1.45; }
.rule--spaced { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }

/* --------------------------------------------------------------------------
   Legal / placeholder pages
   -------------------------------------------------------------------------- */
.legal { padding-block: var(--section-space); }

.legal__panel {
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.5rem, 3.4vw, 2.4rem);
}

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

/* --------------------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------------------- */
.cta-band__inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 880px) {
  .cta-band__inner {
    grid-template-columns: 1.35fr auto;
    gap: 3rem;
  }
}

.cta-band h2 { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--teal-deep);
  color: rgba(250, 248, 244, 0.82);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  font-size: var(--text-reading);
}

.site-footer a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 248, 244, 0.28);
  padding-bottom: 1px;
}
.site-footer a:hover { color: #fff; border-bottom-color: var(--amber); }

.site-footer__top {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line-onteal);
}

@media (min-width: 760px) {
  .site-footer__top {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 2.5rem;
  }
}

.site-footer__brand {
  font-family: var(--serif);
  font-size: var(--text-brand);
  font-weight: 700;
  color: var(--bone);
  letter-spacing: -0.015em;
  margin: 0 0 0.4rem;
}

.site-footer__addr {
  font-style: normal;
  color: rgba(250, 248, 244, 0.72);
  line-height: var(--leading-body);
  overflow-wrap: anywhere;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  /* Row gap matches the 44px tap targets below so they never overlap on wrap. */
  gap: 1.5rem 1.5rem;
}
.site-footer__links a { position: relative; }
.site-footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
}
.site-footer__links li { margin: 0; }

.site-footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: rgba(250, 248, 244, 0.68);
  font-size: var(--text-reading);
}
.site-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Polish — same brand, a bit more depth
   -------------------------------------------------------------------------- */
::selection {
  background: var(--amber-wash);
  color: var(--ink);
}

.section--dark { box-shadow: inset 0 3px 0 var(--amber); }

.card,
.contact-card,
.legal__panel {
  box-shadow: 0 12px 28px -24px var(--shadow);
}

.card,
.contact-card,
.price-card {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.dayparts__half,
.sample-turn {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

@media (hover: hover) {
  .card:hover,
  .contact-card:hover,
  .price-card:hover,
  .dayparts__half:hover,
  .sample-turn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -22px var(--shadow);
  }
  .price-card--feature:hover {
    box-shadow: 0 1px 0 0 var(--accent), 0 16px 32px -22px var(--shadow);
  }
}

.brand__mark { transition: transform 0.16s ease; }
.brand:hover .brand__mark { transform: scale(1.15); }

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

/* After the hover and active rules, so reduced motion wins the cascade. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card:hover,
  .contact-card:hover,
  .price-card:hover,
  .dayparts__half:hover,
  .sample-turn:hover,
  .btn:active,
  .brand:hover .brand__mark { transform: none; }
}

.site-nav__links a,
.site-footer a {
  transition: color 0.16s ease, border-color 0.16s ease;
}

.demo-audio__player,
.demo-video__player {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  border-radius: var(--radius);
  background: var(--ink);
}

/* Simulated call. Static markup only — the help panel is separate. */
.sample-flag {
  display: inline-block;
  margin: 0 0 0.25rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--amber-wash);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.sample-call__scene {
  margin: 1.75rem 0 0.85rem;
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

.sample-call {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sample-turn {
  max-width: min(34rem, 92%);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.sample-turn--clinic {
  align-self: flex-start;
  background: var(--teal-wash);
}

.sample-turn--caller {
  align-self: flex-end;
  background: var(--surface);
}

.sample-turn__who {
  margin: 0 0 0.25rem;
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.sample-script {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sample-turn > p:not(.sample-turn__who):not(.sample-callout) {
  margin: 0;
  font-size: var(--text-reading);
  line-height: var(--leading-lede);
}

.sample-callout {
  margin-top: 0.7rem;
  padding: 0.55rem 0.75rem;
  border-left: 3px solid var(--amber);
  background: var(--amber-wash);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-reading);
  font-weight: 600;
  line-height: 1.5;
}

.demo-audio__time {
  margin: 0.85rem 0 0;
  font-size: var(--text-reading);
}

.demo-audio__transcript-toggle { margin-top: 0.85rem; }

.demo-audio__transcript {
  margin-top: 0.85rem;
}

/* --------------------------------------------------------------------------
   Help panel — local only, no network
   -------------------------------------------------------------------------- */
.help {
  position: fixed;
  z-index: 60;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  max-width: calc(100vw - 1.5rem);
}

.help__open {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.45rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-reading);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 10px 24px -16px var(--shadow);
}
.help__open-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
}
.help__ask-label {
  font-family: var(--sans);
  font-size: var(--text-reading);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.help__name {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}
.help__open:hover { background: #DB9526; }
.help__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.help__open[aria-expanded="true"] { display: none; }

.help__panel {
  width: min(24rem, calc(100vw - 1.5rem));
  max-height: min(40rem, calc(100dvh - 1.5rem));
  overflow: auto;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px -18px var(--shadow);
}
.help__panel:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.help__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.7rem 0.7rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.help__title {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0;
}
.help__close {
  min-height: 48px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 600;
  cursor: pointer;
}
.help__close:hover { border-color: var(--accent); color: var(--accent); }

.help__note {
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--teal-wash);
  color: var(--text);
  font-size: var(--text-body);
  line-height: var(--leading-lede);
}

.help__log {
  overflow: auto;
  flex: 1 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 15rem;
  background: var(--page);
  border-block: 1px solid var(--line-soft);
}
.help__msg p { margin: 0; font-size: var(--text-body); line-height: var(--leading-lede); }
.help__msg--bot > p {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}
.help__msg--card > p {
  background: none;
  border: 0;
  padding: 0;
}
.help__msg .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;
}
.help__typing {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 1.15em;
}
.help__typing i {
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--text-muted);
  animation: help-blink 1s infinite ease-in-out;
}
.help__typing i:nth-child(2) { animation-delay: 0.15s; }
.help__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes help-blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}
.help__note-form[hidden] { display: none; }
.help__note-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--page-sink);
}
.help__note-form p {
  margin: 0;
  font-size: var(--text-reading);
  line-height: var(--leading-lede);
}
.help__note-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--sans);
  font-size: var(--text-reading);
  font-weight: 600;
}
.help__note-form input,
.help__note-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 400;
}
.help__note-form textarea { min-height: 7rem; resize: vertical; }
.help__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.help__msg--user { align-self: flex-end; max-width: 90%; }
.help__msg--user p {
  background: var(--teal-wash);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
}
.help__msg--bot { align-self: stretch; }
.help__msg--card {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--page-sink);
}
.help__questions[aria-label="Who is asking"] .help__q { flex: 1 1 100%; }
.help__contact { margin-top: 0.65rem; }

.help__questions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.85rem;
}
.help__q {
  min-height: 48px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.help__q:hover { border-color: var(--accent); color: var(--accent); }
a.help__q {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
a.help__q:hover { color: var(--accent); }

.help__counter {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.35rem;
}
.help__counter p {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-lede);
}
.help__counter label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--sans);
  font-size: var(--text-reading);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.help__estimate {
  font-size: var(--text-body);
  line-height: var(--leading-lede);
}
.help__counter input {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.help__ask {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--line-soft);
}
.help__field {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--text-body);
}
.help__send { flex: none; min-height: 48px; padding-inline: 0.9rem; font-size: var(--text-body); }
