@font-face { font-family: 'Mina'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/mina-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Mina'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/mina-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f5f6f0;
  --fg-light-base-body: #1d2216;
  --fg-light-base-heading: #1d2216;
  --fg-light-base-muted: #4f5546;
  --fg-light-base-link: #5e6911;
  --fg-light-base-inverse: #2a3022;
  --bg-light-card: #e9ecdf;
  --fg-light-card-body: #1d2216;
  --fg-light-card-heading: #1d2216;
  --fg-light-card-muted: #4f5546;
  --fg-light-card-link: #5e6911;
  --fg-light-card-inverse: #2a3022;
  --bg-light-elevated: #fdfdfa;
  --fg-light-elevated-body: #1d2216;
  --fg-light-elevated-heading: #1d2216;
  --fg-light-elevated-muted: #4f5546;
  --fg-light-elevated-link: #5e6911;
  --fg-light-elevated-inverse: #2a3022;
  --brand-light-accent: #5e6911;
  --brand-light-accent-hover: #424d0a;
  --brand-light-on-accent: #fdfdfa;
  --focus-light-ring: #5e6911;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #7d8470;
  --border-light-subtle: #d3d8c6;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-ring); }

:root {
  --font-heading: 'Mina', 'Trebuchet MS', sans-serif;
  --font-body: 'Wix Madefor Text', 'Segoe UI', Arial, sans-serif;
  --accent: var(--brand-light-accent);
  --accent-deep: var(--brand-light-accent-hover);
  --on-accent: var(--brand-light-on-accent);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --pill: 999px;
  --round: 1.25rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 40rem;
  --wide: 74rem;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--fg-heading);
  overflow-wrap: normal;
}

a.text-role-link { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a.text-role-link:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }

.ink { stroke: var(--fg-heading); stroke-width: 2; }
.ink-soft { stroke: var(--rule); stroke-width: 2; }
.ink-accent { stroke: var(--accent); stroke-width: 2.4; }

/* Header: static, pill tabs */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--rule-soft); }
.header-row {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; flex: none; align-items: center; overflow-wrap: normal; }
.brand .site-logo { display: block; height: 2.6rem; width: auto; }

.site-nav { display: none; }
.site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  background: var(--bg-light-card);
  border-radius: var(--pill);
}
.site-nav a,
.site-nav-group > summary {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: var(--pill);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow-wrap: normal;
  text-decoration: none;
  color: var(--fg-heading);
  cursor: pointer;
}
.site-nav a:hover,
.site-nav-group > summary:hover,
.site-nav-group[open] > summary { background: var(--accent); color: var(--on-accent); }
.site-nav-group > summary { list-style: none; }
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > ul { list-style: none; margin: 0; padding: 0; }
.site-nav-group[open] > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.5rem;
  padding: 1.25rem max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
  background: var(--bg-light-elevated);
  border-bottom: 1px solid var(--rule);
}
.site-nav-group[open] > ul a { white-space: normal; background: var(--bg-light-card); border-radius: var(--round); padding: 0.75rem 1rem; }
.site-nav-group[open] > ul a:hover { background: var(--accent); color: var(--on-accent); }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--pill);
  background: var(--bg-light-card);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--fg-heading);
}
.site-menu > summary:hover { background: var(--accent); color: var(--on-accent); }
.menu-icon {
  position: relative;
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.site-menu[open] > summary .menu-icon { background: transparent; }
.site-menu[open] > summary .menu-icon::before { top: 0; transform: rotate(45deg); }
.site-menu[open] > summary .menu-icon::after { top: 0; transform: rotate(-45deg); }
.site-menu > ul { list-style: none; margin: 0; padding: 0; }
.site-menu[open] > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0.75rem var(--gutter) 1.25rem;
  background: var(--bg-light-elevated);
  border-bottom: 1px solid var(--rule);
}
.site-menu ul ul { list-style: none; margin: 0; padding: 0 0 0 1rem; }
.site-menu li a {
  display: block;
  margin: 0.25rem 0;
  padding: 0.65rem 1rem;
  border-radius: var(--pill);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  color: var(--fg-heading);
}
.site-menu li a:hover { background: var(--accent); color: var(--on-accent); }

@media (max-width: 479px) {
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .brand .site-logo { height: 2.25rem; }
}

@media (min-width: 1024px) {
  .site-menu { display: none; }
  .site-nav { display: block; }
}

/* Frame */
.page-wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter) 4.5rem; }

.breadcrumbs { margin: 1.5rem 0 0; font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--fg-muted); }

main h1 { margin: 0; font-size: clamp(2.1rem, 5.5vw, 3.4rem); }

/* Body copy */
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.8rem); margin: 2.75rem 0 0.75rem; }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.75rem 0; padding: 1rem 1.25rem; border-radius: var(--round); background: var(--bg-light-card); }
.prose hr { border: 0; border-top: 1px solid var(--rule-soft); margin: 2.25rem 0; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--rule-soft); }
.prose th { font-weight: 700; border-bottom: 2px solid var(--rule); }
.photo-hero, .photo-inline { margin: 2rem 0; }
.photo-hero img, .photo-inline img { display: block; border-radius: var(--round); object-fit: cover; }

/* Home: options board */
.board-hero { display: grid; gap: 2rem; padding: 2.5rem 0 2rem; }
.board-title h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); max-width: 14ch; }
.board-lines { margin-top: 1.25rem; max-width: 34rem; font-size: 1.15rem; }
.board-lines .display-line { margin: 0 0 0.65rem; }
.board-tiles-heading { margin: 0 0 0.85rem; font-size: 1.15rem; }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.tile { position: relative; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.1rem; border-radius: var(--round); }
.tile-art { display: block; width: 3.5rem; height: 3.5rem; }
.tile-link { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; line-height: 1.2; text-decoration: none; overflow-wrap: normal; }
.tile-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--round); }
.tile-link:hover { text-decoration: underline; }
.tile:hover { outline: 2px solid var(--accent); }
.choose-strip { margin: 0 0 1rem; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); border-radius: var(--round); border: 1px solid var(--rule-soft); }
.choose-heading { margin: 0 0 1rem; font-size: 1.35rem; }
.choose-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; counter-reset: step; }
.choose-step { counter-increment: step; display: flex; gap: 0.75rem; align-items: baseline; }
.choose-step::before {
  content: counter(step);
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-heading);
  font-weight: 700;
}
.board-prose { margin-top: 1rem; }
@media (min-width: 640px) {
  .tile-grid { gap: 1rem; }
  .tile { padding: 1.4rem; }
}
@media (min-width: 960px) {
  .board-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: 3.5rem 0 2.5rem; }
  .choose-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

/* Shortlist: topn_list */
.shortlist-head { padding: 2.25rem 0 0.5rem; }
.shortlist-cards { margin-top: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--round); }
.shortlist-cards-heading { margin: 0 0 1rem; font-size: 1.35rem; }
.shortlist-cards ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; }
.shortlist-cards li { display: flex; }
.shortlist-cards a {
  flex: 1;
  display: block;
  padding: 1rem 1.15rem;
  border-radius: var(--round);
  background: var(--bg-light-elevated);
  border: 1px solid var(--rule-soft);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.shortlist-cards a:hover { border-color: var(--accent); text-decoration: underline; }

/* Clinic sheet: provider_review */
.sheet-title { padding: 2.25rem 0 1.5rem; }
.sheet-layout { display: grid; gap: 2rem; }
.sheet-path { align-self: start; padding: 1.25rem; border-radius: var(--round); }
.sheet-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.4rem; font-weight: 600; line-height: 1.3; }
.sheet-step { position: relative; display: flex; gap: 1rem; align-items: center; }
.sheet-step-art { flex: none; width: 2.5rem; height: 2.5rem; }
.sheet-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.25rem - 1px);
  top: 2.75rem;
  height: calc(100% - 3rem + 1.4rem);
  border-left: 2px dashed var(--rule);
}
@media (min-width: 900px) {
  .sheet-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; }
  .sheet-steps { gap: 2.4rem; }
  .sheet-step:not(:last-child)::after { height: calc(100% - 3rem + 2.4rem); }
  .sheet-prose > h2:nth-of-type(2) { margin-left: 1.25rem; }
  .sheet-prose > h2:nth-of-type(3) { margin-left: 2.5rem; }
  .sheet-prose > h2:nth-of-type(n+4) { margin-left: 3.75rem; }
}

/* Two lanes: comparison */
.lanes-title { padding: 2.25rem 0 1.5rem; }
.lanes-layout { display: grid; gap: 2rem; }
.lanes-key { align-self: start; padding: 1.25rem 1.4rem; border-radius: var(--round); }
.lanes-art { display: block; width: 7rem; height: auto; margin-bottom: 0.75rem; }
.lanes-key-heading { margin: 0 0 0.75rem; font-size: 1.1rem; }
.lanes-measures { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lanes-measures li { padding: 0.3rem 0.85rem; border-radius: var(--pill); background: var(--bg-light-elevated); border: 1px solid var(--rule-soft); font-size: 0.92rem; font-weight: 600; }
@media (min-width: 900px) {
  .lanes-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; }
  .lanes-measures { flex-direction: column; align-items: flex-start; }
}

/* About: split promise */
.promise-title { padding: 2.25rem 0 1.5rem; }
.promise-split { display: grid; gap: 2rem; }
.promise-rules { align-self: start; padding: 1.5rem; border-radius: var(--round); }
.promise-rules-heading { margin: 0 0 1rem; font-size: 1.3rem; }
.promise-rule-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.promise-rule-list li { padding: 0.75rem 1rem; border-radius: var(--round); background: var(--bg-light-elevated); border-left: 4px solid var(--accent); }
@media (min-width: 900px) {
  .promise-split { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; }
}

/* Contact: question card */
.question-card { max-width: var(--measure); margin: 0 auto; }
.question-title { padding: 2.25rem 0 1.5rem; }
.question-form-wrap { padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--round); border: 1px solid var(--rule-soft); }
.question-form { display: grid; gap: 1rem; }
.question-field { display: grid; gap: 0.3rem; }
.question-label { font-weight: 600; font-size: 0.95rem; }
.question-form input, .question-form textarea {
  width: 100%;
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-base);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 0.6rem 0.8rem;
}
.question-form textarea { resize: vertical; min-height: 8rem; }
.question-form input:focus-visible, .question-form textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.question-button {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: var(--pill);
  padding: 0.7rem 1.5rem;
  cursor: pointer;
}
.question-button:hover { background: var(--accent-deep); color: var(--on-accent); }
.question-list { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--round); }
.question-list-heading { margin: 0 0 0.75rem; font-size: 1.2rem; }
.question-items { margin: 0; padding-left: 1.2rem; }
.question-items li { margin-bottom: 0.45rem; }
.question-items li::marker { color: var(--accent); }
.question-prose { margin-top: 1rem; }

/* Thank you: card sent */
.card-sent { max-width: var(--measure); margin: 0 auto; padding-top: 2.5rem; }
.card-sent-art { display: block; width: 4rem; height: 4rem; margin-bottom: 1rem; }
.card-sent-back { margin: 2rem 0 0; }
.pill-link {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: var(--pill);
  background: var(--bg-light-card);
  font-weight: 700;
  text-decoration: none;
}
a.pill-link:hover { background: var(--accent); color: var(--on-accent); text-decoration: none; }

/* Footer */
.site-footer { padding: 2.25rem 0 2.75rem; }
.footer-row { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.footer-tray { display: block; width: 10.5rem; height: auto; margin-bottom: 1rem; }
.footer-name { margin: 0 0 0.25rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.footer-line { margin: 0; font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
