:root {
  --ink: #111111;
  --text: #5A5A5A;
  --line: #E4E4E4;
  --soft: #F4F4F4;
  --navy: #022377;
  --magenta: #A8237A;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M3.5 10.5l4.2 4.2L16.5 5.8' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 800; line-height: 1.06; letter-spacing: -0.04em; }
p { margin: 0; }
a { color: var(--navy); }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(1120px, 100% - 4rem); } }

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

/* Buttons and pills */
.btn {
  display: inline-block;
  background: #171717;
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 1rem 1.75rem;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  border: 2px solid #171717;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: #333; border-color: #333; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--soft); border-color: #cfcfcf; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #ececec; border-color: #ececec; }
.btn-small { font-size: 0.9375rem; padding: 0.6rem 1.1rem; border-radius: 12px; }
.pill {
  display: inline-block;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px -3px rgba(0, 0, 0, 0.2);
}

/* Check lists (shared) */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 0.28em;
  width: 1.2rem; height: 1.2rem;
  background: var(--check) center / contain no-repeat;
}

/* Header */
.top { padding-block: 1.1rem; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { display: block; height: 46px; width: auto; }
@media (min-width: 760px) { .logo img { height: 56px; } }
.nav { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: 0.9375rem; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: 0.5rem; display: none;
  position: absolute; top: 100%; left: -0.75rem; z-index: 10; min-width: 15rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}
.sub a { display: block; padding: 0.55rem 0.75rem; border-radius: 10px; }
.sub a:hover { background: var(--soft); text-decoration: none; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 0.4em; height: 0.4em; margin-left: 0.45em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.2em) rotate(45deg);
}
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.menu-toggle svg { display: block; }
.top { position: relative; }
@media (max-width: 399px) { .nav > .btn-small { display: none; } }
@media (min-width: 400px) { .nav-links .menu-cta { display: none; } }
@media (max-width: 979px) {
  .top.open .nav-links {
    display: grid; gap: 0.25rem;
    position: absolute; left: 1rem; right: 1rem; top: 5rem; z-index: 20;
    background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 1rem;
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.35); font-size: 1.0625rem;
  }
  .top.open .nav-links a { display: block; padding: 0.6rem 0.75rem; }
  .top.open .has-sub > a::after { display: none; }
  .top.open .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .top.open .nav-links .menu-cta { margin-top: 0.5rem; }
  .top.open .nav-links .menu-cta a { display: block; color: #fff; text-decoration: none; }
}
@media (min-width: 980px) {
  .top { position: relative; }
  .nav { gap: 1.75rem; }
  .nav-links { display: flex; align-items: center; gap: 1.75rem; }
  .nav-links .menu-cta { display: none; }
  .has-sub { padding-block: 0.75rem; margin-block: -0.75rem; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 980px) and (max-width: 1099px) { .nav, .nav-links { gap: 1.25rem; } }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.9rem); font-weight: 800; letter-spacing: -0.05em; max-width: 17ch; margin-inline: auto; }
.lede { margin: 1.5rem auto 0; font-size: 1.1875rem; max-width: 36rem; }
.hero-cta { margin-top: 2rem; }
.hero-note { margin-top: 0.9rem; font-size: 0.9375rem; }

/* Profile illustration */
.listing { margin: clamp(2.5rem, 6vw, 4rem) auto 0; max-width: 31rem; text-align: left; }
.listing-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.35);
}
.search {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.6rem 1.1rem; font-size: 0.9375rem; font-weight: 500; color: var(--text);
}
.profile { display: flex; gap: 0.85rem; align-items: center; margin-top: 1.4rem; }
.pin { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 0.55rem var(--navy), inset 0 0 0 1rem #fff; }
.profile-name { font-weight: 800; font-size: 1.25rem; line-height: 1.2; color: var(--ink); letter-spacing: -0.03em; }
.profile-type { font-size: 0.9375rem; line-height: 1.4; margin-top: 0.1rem; }
.label {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #666;
}
.listing .label { margin-top: 1.4rem; }
.listing .ticks { margin-top: 0.9rem; }
.listing .ticks li { padding-block: 0.5rem; color: var(--ink); font-weight: 500; font-size: 1rem; line-height: 1.4; animation: rise 0.5s ease both; }
.listing .ticks li::before { top: 0.65rem; animation: pop 0.4s ease both; }
.listing .ticks li:nth-child(1), .listing .ticks li:nth-child(1)::before { animation-delay: 0.5s; }
.listing .ticks li:nth-child(2), .listing .ticks li:nth-child(2)::before { animation-delay: 0.9s; }
.listing .ticks li:nth-child(3), .listing .ticks li:nth-child(3)::before { animation-delay: 1.3s; }
.listing .ticks li:nth-child(4), .listing .ticks li:nth-child(4)::before { animation-delay: 1.7s; }
.listing figcaption { margin-top: 0.9rem; font-size: 0.875rem; text-align: center; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(0.4); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .listing .ticks li, .listing .ticks li::before { animation: none; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); text-align: center; max-width: 20ch; margin-inline: auto; letter-spacing: -0.045em; }
.section-sub { margin-top: 1.5rem; text-align: center; }

/* Familiar */
.familiar { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .familiar { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.familiar li {
  border: 1.5px solid var(--line); border-radius: 28px; padding: 1.75rem;
  font-weight: 700; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink);
}

/* Pricing */
.plans { margin-top: 3rem; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 940px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--line); border-radius: 32px; padding: 2rem;
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.3);
}
.plan-featured { border: 3px solid var(--magenta); padding: 2.25rem 2rem; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.4); }
.badge {
  position: absolute; top: 0; right: 1.75rem; transform: translateY(-50%);
  background: #111; color: #fff; border-radius: 999px; padding: 0.35rem 0.85rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.plan h3 { font-size: 1.5rem; letter-spacing: -0.035em; }
.plan-desc { margin-top: 0.5rem; font-size: 1rem; line-height: 1.5; max-width: 18rem; }
@media (min-width: 940px) { .plan-desc { min-height: 4.5em; } }
.plan-price { margin-top: 1.75rem; font-size: 3.4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.plan-price small { font-size: 1.2rem; font-weight: 500; color: #666; letter-spacing: 0; }
.plan .btn { margin-top: 1.5rem; display: block; }
.plan .label { margin-top: 1.75rem; }
.plan .ticks { margin-top: 1rem; }
.plan .ticks li { color: var(--ink); font-weight: 500; font-size: 1rem; line-height: 1.4; padding-block: 0.35rem; }
.plan .ticks li::before { top: 0.5rem; }
.fine { margin: 2rem auto 0; max-width: 40rem; text-align: center; font-size: 0.9375rem; }

/* How it works */
.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.steps li { counter-increment: step; text-align: center; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: #111; color: #fff; font-weight: 800; font-size: 1.05rem;
  margin: 0 auto 1.1rem;
}
.steps h3 { font-size: 1.35rem; letter-spacing: -0.03em; }
.steps p { margin: 0.5rem auto 0; max-width: 20rem; }

/* Promise */
.panel { background: var(--soft); border-radius: 36px; padding: clamp(2rem, 5vw, 4rem); display: grid; gap: 2rem; }
@media (min-width: 900px) { .panel { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; } }
.panel h2 { text-align: left; margin-inline: 0; }
.panel .ticks li { color: var(--ink); font-weight: 500; font-size: 1.2rem; line-height: 1.45; padding-block: 0.6rem; }
.panel .ticks li::before { top: 0.9rem; }

/* About */
.about p { margin: 1.25rem auto 0; max-width: 36rem; text-align: center; font-size: 1.125rem; }

/* Book */
.cta { background: #111; border-radius: 36px; padding: clamp(2.75rem, 7vw, 5rem) 1.5rem; text-align: center; }
.cta h2 { color: #fff; }
.cta p { margin: 1.25rem auto 0; max-width: 32rem; color: #CFCFCF; }
.cta .btn { margin-top: 2rem; }
.cta :focus-visible { outline-color: #fff; }
.contact { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: center; font-weight: 500; }
.cta .contact a { color: #fff; text-underline-offset: 4px; }

/* Footer */
.foot { padding-block: 2.5rem 2rem; font-size: 0.9375rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; justify-content: space-between; }
.foot img { display: block; height: 40px; width: auto; }
.foot-text { display: grid; gap: 0.15rem; text-align: right; }
@media (max-width: 600px) { .foot-text { text-align: left; } }

/* Skip link */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: #111; color: #fff; padding: 0.6rem 1rem; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 1rem; }

/* Inner page header */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem); text-align: center; }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); letter-spacing: -0.05em; max-width: 18ch; margin-inline: auto; }
.page-hero .lede { max-width: 38rem; }
.page-hero .pill { margin-top: 1.5rem; }
.eyebrow { display: block; margin-bottom: 1rem; }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-link { margin-top: 2rem; text-align: center; font-weight: 600; }
.section-link a { color: var(--ink); text-underline-offset: 4px; }
.section-link a::after { content: " \2192"; }

/* Linked cards (who we help) */
.cards { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.card {
  display: flex; flex-direction: column; height: 100%;
  border: 1.5px solid var(--line); border-radius: 28px; padding: 1.75rem;
  color: var(--text); text-decoration: none; background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.card:hover { border-color: #cfcfcf; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.35); }
.card h3 { font-size: 1.35rem; letter-spacing: -0.03em; }
.card p { margin-top: 0.5rem; }
.card .more { margin-top: auto; padding-top: 1.25rem; font-weight: 600; color: var(--ink); }
.card .more::after { content: " \2192"; }

/* Compact plans (home) */
.plans-compact { align-items: stretch; }
.plans-compact .plan { padding: 1.75rem; }
.plans-compact .plan-price { font-size: 2.6rem; margin-top: 1.25rem; }
.plans-compact .plan-featured { padding: 1.75rem; }

/* Two column block: heading left, content right */
.split { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; } }
.split h2 { text-align: left; margin-inline: 0; font-size: clamp(1.75rem, 3.6vw, 2.5rem); max-width: 14ch; }
.split + .split { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1.5px solid var(--line); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { color: var(--ink); font-weight: 500; font-size: 1.125rem; line-height: 1.45; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.list li:first-child { padding-top: 0; }
.list li:last-child { border-bottom: 0; }
.list li strong { font-weight: 700; }
.list li span { display: block; margin-top: 0.25rem; color: var(--text); font-weight: 400; font-size: 1.0625rem; }
.split .ticks li { color: var(--ink); font-weight: 500; font-size: 1.125rem; line-height: 1.45; padding-block: 0.55rem; }
.split .ticks li::before { top: 0.8rem; }
.split p + p, .split p + .ticks, .split .ticks + p { margin-top: 1rem; }
.split-body > p { font-size: 1.125rem; }
.muted { font-size: 0.9375rem; }

/* Search chips (profession pages) */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chips li {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.6rem 1.1rem; font-size: 1rem; font-weight: 500; color: var(--ink);
}
.chips li::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='7' cy='7' r='5' stroke='%235A5A5A' stroke-width='1.8'/%3E%3Cpath d='M11 11l3.5 3.5' stroke='%235A5A5A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Note panel */
.note { background: var(--soft); border-radius: 28px; padding: clamp(1.75rem, 4vw, 2.5rem); }
.note h2 { font-size: clamp(1.5rem, 3vw, 2rem); text-align: left; margin: 0; max-width: none; }
.note p { margin-top: 0.9rem; max-width: 46rem; }
.note a:not(.btn) { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

/* Steps, long form */
.steps-long { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.25rem; max-width: 46rem; margin-inline: auto; }
.steps-long li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.25rem; border: 1.5px solid var(--line); border-radius: 28px; padding: 1.75rem; }
.steps-long li::before {
  content: counter(step); display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #111; color: #fff; font-weight: 800;
}
.steps-long h2 { font-size: 1.4rem; text-align: left; margin: 0.35rem 0 0; max-width: none; letter-spacing: -0.03em; }
.steps-long p { margin-top: 0.5rem; }

/* Prose pages */
.prose { max-width: 42rem; margin-inline: auto; }
.prose p { margin-top: 1.25rem; font-size: 1.125rem; }
.prose h2 { font-size: 1.35rem; text-align: left; max-width: none; letter-spacing: -0.03em; margin-top: 2.25rem; }
.prose h2 + p { margin-top: 0.6rem; }
.prose a { color: var(--ink); text-underline-offset: 4px; }

/* FAQ */
.faq { max-width: 46rem; margin-inline: auto; border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.35rem; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.4rem; max-width: 40rem; }
.faq details a { color: var(--ink); text-underline-offset: 4px; }

/* Contact */
.contact-lines { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.contact-lines a { color: var(--ink); text-underline-offset: 4px; }
.contact-lines span { color: var(--text); font-weight: 500; margin-right: 0.4rem; }
.draft { margin: 0 auto 2rem; max-width: 42rem; border: 1.5px dashed var(--magenta); color: var(--magenta); border-radius: 14px; padding: 0.75rem 1rem; font-weight: 600; font-size: 0.9375rem; }

/* Footer, multi page */
.foot { border-top: 1.5px solid var(--line); margin-top: clamp(1rem, 3vw, 2rem); padding-block: 3rem 2.5rem; }
.foot .wrap { display: grid; gap: 2rem; justify-content: stretch; }
@media (min-width: 820px) { .foot .wrap { grid-template-columns: auto 1fr; gap: 3rem 4rem; } }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.5rem; }
@media (min-width: 600px) { .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.foot-links a, .foot-contact a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-links a:hover, .foot-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.foot-legal { display: grid; gap: 0.15rem; }
@media (min-width: 820px) { .foot-contact, .foot-legal { grid-column: 1 / -1; } }
.foot-text { text-align: left; }

/* Guides */
.guide-cards { margin-top: 0; }
.guide-card .label { font-size: 0.75rem; }
.guide-card h3 { margin-top: 0.75rem; font-size: 1.3rem; line-height: 1.2; }
.guide-card .guide-meta { margin-top: auto; padding-top: 1.25rem; }
.guide-meta { font-size: 0.875rem; color: #666; }
.scheduled { display: inline-block; background: #FCEFF6; color: var(--magenta); border-radius: 999px; padding: 0.1rem 0.6rem; font-weight: 700; font-size: 0.75rem; }
.guide-hero { text-align: left; padding-bottom: 0; }
.guide-hero .wrap { max-width: 42rem; }
.guide-hero h1 { margin-inline: 0; max-width: none; font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.08; }
.guide-hero .lede { margin-inline: 0; }
.guide-hero .guide-meta { margin-top: 1.25rem; padding-bottom: 1.5rem; border-bottom: 1.5px solid var(--line); }
.crumbs { font-size: 0.9375rem; font-weight: 500; margin-bottom: 1.25rem; }
.crumbs a { color: var(--ink); text-underline-offset: 4px; }
.guide-body h2 { font-size: 1.6rem; margin-top: 2.75rem; }
.guide-body h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-top: 1.75rem; }
.guide-body h3 + p { margin-top: 0.5rem; }
.guide-body ul, .guide-body ol { margin: 1rem 0 0; padding-left: 1.25rem; font-size: 1.125rem; }
.guide-body li { margin-top: 0.5rem; padding-left: 0.25rem; }
.guide-body li::marker { color: var(--ink); }
.guide-body .ticks { padding-left: 0; }
.guide-body .ticks li { color: var(--ink); padding-left: 2rem; }
.guide-body .callout { background: var(--soft); border-radius: 20px; padding: 1.25rem 1.5rem; margin-top: 1.75rem; }
.guide-body .callout p { margin-top: 0; font-size: 1.0625rem; }
.guide-body .callout p + p { margin-top: 0.6rem; }
.guide-body code { font-size: 0.95em; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 0.05rem 0.35rem; overflow-wrap: anywhere; }
.sources { font-size: 1rem !important; }
.related-heading { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 1.75rem; }

/* Four card variant (home "Who we help") */
@media (min-width: 620px) and (max-width: 1039px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards-4 { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } .cards-4 .card { padding: 1.5rem; } }

/* Local businesses: grouped business types */
.biz-groups { column-gap: 1.25rem; }
@media (min-width: 700px) { .biz-groups { columns: 2; } }
@media (min-width: 1040px) { .biz-groups { columns: 3; } }
.biz-group { border: 1.5px solid var(--line); border-radius: 24px; padding: 1.5rem; margin-bottom: 1.25rem; break-inside: avoid; }
.biz-group h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.tags { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--ink); line-height: 1.35; }

/* ---------- Motion ---------- */

/* Sticky header that picks up a hairline once the page scrolls */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow 0.25s ease; }
.top.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(0, 0, 0, 0.35); }

/* Scroll reveal. Hidden only when JS runs (html.js); keep the list in step with REVEAL in site.js. */
.js :is(.section > .wrap > h2, .section-sub, .section-link, .fine, .related-heading, .familiar > li, .plans > .plan,
  .cards > li, .steps > li, .steps-long > li, .biz-group, .panel, .cta, .split, .note, .faq) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js :is(.section > .wrap > h2, .section-sub, .section-link, .fine, .related-heading, .familiar > li, .plans > .plan,
  .cards > li, .steps > li, .steps-long > li, .biz-group, .panel, .cta, .split, .note, .faq).in {
  opacity: 1;
  transform: none;
}

/* Hero: soft colour glow drifting behind the sample listing, and the card floating gently */
.hero { position: relative; isolation: isolate; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 4%;
  width: min(46rem, 120vw); height: 30rem; transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(2, 35, 119, 0.2), transparent 70%) 20% 60% / 60% 70% no-repeat,
    radial-gradient(closest-side, rgba(168, 35, 122, 0.16), transparent 70%) 80% 40% / 55% 65% no-repeat;
  filter: blur(8px);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-52%) translateY(0) scale(1); }
  to { transform: translateX(-48%) translateY(-24px) scale(1.06); }
}
.listing-card { animation: float 7s ease-in-out 1.5s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Hero search: blinking caret while the demo types */
.search .caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; background: var(--ink); vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.profile-type { transition: color 0.3s ease; }

/* Hover lifts. `translate` is separate from `transform`, so it combines with the reveal. */
.plan, .familiar li, .biz-group, .steps-long li { transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
a.card { transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.15s ease; }
a.card:hover, .plan:hover { translate: 0 -4px; }
.plan:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
.familiar li:hover, .biz-group:hover, .steps-long li:hover { translate: 0 -3px; border-color: #d4d4d4; }
.btn { transition: background-color 0.15s ease, border-color 0.15s ease, translate 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { translate: 0 -2px; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.5); }
.section-link a::after, .card .more::after { content: "\2192"; display: inline-block; margin-left: 0.3em; transition: translate 0.2s ease; }
.section-link a:hover::after, a.card:hover .more::after { translate: 4px 0; }
.chips li, .tags li { transition: background-color 0.2s ease, border-color 0.2s ease; }
.chips li:hover, .tags li:hover { background: #fff; border-color: #cfcfcf; }

/* People who ask for less motion get a still page */
@media (prefers-reduced-motion: reduce) {
  .js :is(.section > .wrap > h2, .section-sub, .section-link, .fine, .related-heading, .familiar > li, .plans > .plan,
    .cards > li, .steps > li, .steps-long > li, .biz-group, .panel, .cta, .split, .note, .faq) { opacity: 1; transform: none; transition: none; }
  .hero::before, .listing-card, .search .caret { animation: none; }
  a.card:hover, .plan:hover, .btn:hover, .familiar li:hover, .biz-group:hover, .steps-long li:hover { translate: none; }
}

/* Helpers that replace inline style attributes (kept out of markup for the content security policy) */
.related-heading.center { text-align: center; }
.biz-intro { margin: -0.75rem auto 2rem; max-width: 38rem; }
.note-center { text-align: center; margin-top: 2rem; }
.note-center h2 { text-align: center; }
.note-center p { margin-inline: auto; }
.section-link.left { text-align: left; }
.muted.spaced { margin-top: 1.5rem; }
