/* ==========================================================================
   The Phoenix Counseling Center — shared styles
   Every page loads this one file. Components are documented on standards.html.
   ========================================================================== */

/* ---------- Tokens ---------- */
/* Palette pulled from the current site: Phoenix green (#6da43d), the orange headings,
   the teal seminar banner, and the green→orange gradient in the logo. */
:root {
  --green: #6da43d;
  --green-deep: #47781f;
  --green-tint: #e9f3df;
  --green-ink: #2f5212;
  --orange: #f59a1b;
  --orange-deep: #b4540a;
  --orange-tint: #fdebd0;
  --orange-ink: #7a3c05;
  --teal: #12798a;
  --teal-tint: #d9f1f4;
  --teal-ink: #0c5561;
  --ink: #2b2a27;
  --ink-soft: #5f5b54;
  --line: #e8e2d8;
  --page: #fbf7f0;
  --card: #ffffff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(60, 40, 10, .04), 0 12px 32px -12px rgba(60, 40, 10, .14);
  --shadow-lift: 0 1px 2px rgba(60, 40, 10, .05), 0 20px 40px -14px rgba(60, 40, 10, .2);
  --brand-gradient: linear-gradient(90deg, var(--green) 0%, #b9c23a 45%, var(--orange) 100%);
  --ring-gradient: linear-gradient(140deg, var(--green), var(--orange));
  --leaves: url("../images/site/autumn-leaves.jpg"); /* masthead photo; swapped by season in js/site.js */
  --shade-1: 34, 22, 4;   /* masthead overlay, darkest (behind the text) */
  --shade-2: 54, 30, 4;
  --shade-3: 80, 40, 0;   /* lightest, far side */
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section.band { padding: 80px 0; }
@media (max-width: 700px) { section.band { padding: 56px 0; } }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; text-wrap: balance; } /* balance: no single word left alone on the last line */
p, li { text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 8px; }
h2.title { font-weight: 800; font-size: clamp(28px, 4vw, 40px); color: var(--orange-deep); margin-bottom: 12px; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head p:last-child { margin: 0; color: var(--ink-soft); font-size: 17px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 26px 0 10px; }
.fine { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-align: center; text-decoration: none; font-weight: 700; font-size: 15.5px; font-family: var(--sans);
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--green-deep); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn.primary { background: var(--green-deep); color: #fff; }
.btn.primary:hover { background: var(--green-ink); border-color: var(--green-ink); }
.btn.ghost { color: var(--green-deep); background: transparent; }
.btn.ghost:hover { background: var(--green-tint); }
.btn.warm { background: var(--orange); border-color: var(--orange); color: #3a1c00; }
.btn.warm:hover { background: #ffb040; border-color: #ffb040; }
.btn.light { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(255,255,255,.08); }
.btn.light:hover { background: rgba(255,255,255,.2); }
.btn.lg { padding: 15px 28px; font-size: 17px; }
.btn.block { display: block; width: 100%; }

/* ---------- Chips, tags, pills ---------- */
.chips, .tags { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.chips { gap: 8px; } .tags { gap: 6px; }
.chip { border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 14.5px; }
.chip.o { background: var(--orange-tint); color: var(--orange-ink); }
.chip.t { background: var(--teal-tint); color: var(--teal-ink); }
.chip.g { background: var(--green-tint); color: var(--green-ink); }
.tag { border: 1px solid var(--line); background: #fdfbf7; border-radius: var(--radius-sm); padding: 4px 10px; font-size: 14px; }
.tag.count { border-style: dashed; border-color: #cfc6b6; background: none; font-weight: 700; color: var(--green-deep); }

/* ---------- Announcement + nav ---------- */
.announce { background: var(--teal); color: #fff; text-align: center; font-size: 15px; padding: 9px 16px; }
.announce a { color: #fff; font-weight: 700; margin-left: 6px; }

/* The header is injected into #site-header. Sticky only works within its parent box, so the wrapper
   must not form a box of its own, otherwise the menu scrolls away with it. */
#site-header { display: contents; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(38, 66, 15, .96); backdrop-filter: blur(6px); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.nav .logo img { height: 58px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; }
.nav li a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: var(--radius-sm); white-space: nowrap; }
.nav li a:hover, .nav li a[aria-current="page"] { background: rgba(255,255,255,.14); }
.nav .call { color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav .cta { white-space: nowrap; }
.nav-toggle { display: none; min-height: 44px; margin-left: auto; background: none; border: 2px solid rgba(255,255,255,.7); color: #fff; border-radius: 10px; padding: 8px 12px; font: 700 15px var(--sans); cursor: pointer; }
@media (max-width: 1240px) { .nav .call { display: none; } }
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav .wrap { flex-wrap: wrap; gap: 12px; }
  .nav ul { display: none; flex-direction: column; width: 100%; margin: 0; padding: 0 0 14px; }
  .nav.open ul { display: flex; }
  .nav li a { display: block; padding: 12px; }
  .nav .cta { display: none; }
}

/* ---------- Heroes ---------- */
.hero {
  position: relative; color: #fff; padding: 110px 0 150px;
  background: linear-gradient(100deg, rgba(var(--shade-1), .82) 0%, rgba(var(--shade-2), .62) 50%, rgba(var(--shade-3), .25) 100%), var(--leaves) center / cover no-repeat;
}
.hero .inner { max-width: 680px; }
.hero .eyebrow, .page-hero .eyebrow { color: #ffd596; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 6vw, 60px); margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero h1 em { font-style: italic; font-weight: 700; color: #ffc875; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); margin: 0 0 30px; max-width: 580px; color: #fff7ea; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .sub { margin: 22px 0 0; font-size: 15.5px; color: #ffeccc; }
.hero .sub a { color: #fff; font-weight: 700; }
@media (max-width: 700px) { .hero { padding: 70px 0 120px; } }

/* Interior pages: a shorter band of the same photo */
.page-hero {
  color: #fff; padding: 64px 0 60px; text-align: center;
  position: relative;
  background: linear-gradient(100deg, rgba(var(--shade-1), .84), rgba(var(--shade-3), .6)), var(--leaves) center / cover no-repeat;
}
.page-hero h1 { font-weight: 800; font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.page-hero p.lead { margin: 0 auto; max-width: 640px; font-size: 18px; color: #fff7ea; }

.crumbs { font-size: 14.5px; color: var(--ink-soft); padding: 22px 0 0; }
.crumbs a { font-weight: 700; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Quick facts bar ---------- */
.facts-bar { margin-top: -64px; position: relative; z-index: 2; }
.facts-bar .grid4 {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px;
  display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 16px 40px -16px rgba(60, 40, 10, .25);
}
.qf { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-right: 1px solid var(--line); }
.qf:last-child { border-right: 0; }
.qf .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green-deep); }
.qf:nth-child(even) .ico { background: var(--orange-tint); color: var(--orange-deep); }
.qf svg { width: 22px; height: 22px; }
.qf b { display: block; font-size: 16px; line-height: 1.25; }
.qf span { font-size: 14px; color: var(--ink-soft); line-height: 1.3; display: block; }
@media (max-width: 980px) { .facts-bar .grid4 { grid-template-columns: 1fr 1fr; } .qf { border-right: 0; } }
@media (max-width: 520px) { .facts-bar .grid4 { grid-template-columns: 1fr; } .qf { padding: 12px 14px; } }

/* ---------- Image cards (Why Phoenix) ---------- */
.why .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why article img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: center var(--focus, 20%); display: block; }
.why .body { padding: 24px 26px 28px; }
.why h3 { font-size: 24px; color: var(--green-ink); margin-bottom: 4px; }
.why .kicker { color: var(--orange-deep); font-weight: 700; margin: 0 0 10px; font-size: 15px; }
.why p { margin: 0; }
@media (max-width: 900px) { .why .cols { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Service tiles ---------- */
.services { background: #fff; border-block: 1px solid var(--line); }
.services .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc { text-align: center; padding: 30px 22px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--page); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(60,40,10,.25); }
.ring { border-radius: 50%; padding: 4px; background: var(--ring-gradient); flex: none; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: var(--green-tint); }
.ring .initial { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; font: 800 40px var(--serif); }
.svc .ring { width: 116px; height: 116px; margin: 0 auto 18px; }
.svc h3 { font-size: 22px; color: var(--green-ink); margin-bottom: 10px; }
.svc p { margin: 0 0 18px; font-size: 15.5px; }
.svc a { margin-top: auto; font-weight: 700; text-decoration: none; padding: 9px 0; margin-bottom: -9px; } /* padding makes the link 44px tall to tap; the negative margin keeps the card the same height */
.svc a:hover { text-decoration: underline; }
@media (max-width: 980px) { .services .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services .cols { grid-template-columns: 1fr; } }

/* ---------- Therapist filters ---------- */
.filter-groups { display: grid; gap: 14px; margin: 0 0 30px; }
.filter-group { display: grid; grid-template-columns: 230px 1fr; gap: 8px 16px; align-items: center; }
.filter-group > span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
.filter-group .filters { justify-content: flex-start; margin: 0; }
@media (max-width: 700px) { .filter-group { grid-template-columns: 1fr; } .filter-group > span { text-align: left; } }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 36px; }
.filters button { font: 700 14.5px var(--sans); min-height: 44px; padding: 8px 16px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.filters button:hover { border-color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.result-count { text-align: center; color: var(--ink-soft); margin: 0 0 28px; font-size: 15px; }

/* ---------- Compact therapist card ----------
   Every card is the same height: the grid makes all rows equal (grid-auto-rows: 1fr),
   long titles and tag lists are clamped, and the button is pinned to the bottom.
   Any field missing from the record is simply not rendered. */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.c-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 22px 22px; overflow: hidden;
  box-shadow: var(--shadow-card); transition: box-shadow .25s ease, transform .25s ease;
}
.c-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.c-card::before, .p-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--brand-gradient); }
.c-card .ring { width: 124px; height: 124px; margin-bottom: 14px; }
.c-card .ring img { object-position: center 20%; }
/* Curved "accepting new clients" band over the lower edge of the photo ring */
.open-ring { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); pointer-events: none; }
.open-ring .band { fill: none; stroke: var(--green-deep); stroke-width: 14; stroke-linecap: butt; }
.open-ring text { fill: #fff; font: 800 7.4px var(--sans); letter-spacing: .04em; dominant-baseline: central; }
.badge-open { display: inline-block; background: var(--green-tint); color: var(--green-ink); border: 1px solid #cfe3b8; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 700; margin: -4px 0 8px; }
.p-card .badge-open { margin: 0 0 10px; }
.c-card .badge-open { display: none; }
/* Placeholder content that must be written or confirmed by the practice */
.needs-input { border: 2px dashed var(--orange); background: #fff8ec; border-radius: var(--radius-md); padding: 14px 16px 14px 18px; position: relative; margin: 14px 0; }
.needs-input::before { content: "Needs your input"; display: inline-block; background: var(--orange); color: #3a1c00; font: 700 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.needs-input p { margin: 0; } .needs-input p + p { margin-top: 8px; }
.needs-input.draft::before { content: "Draft copy for approval"; }
.c-name { font-weight: 800; font-size: 25px; color: var(--green-ink); margin: 0; }
.c-name a { color: inherit; text-decoration: none; }
.c-name a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.c-cred { margin: 3px 0 0; font-weight: 700; font-size: 15px; }
.c-title {
  margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.c-style { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--orange-deep); }
.c-card .tags { justify-content: center; margin-top: 14px; max-height: 70px; overflow: hidden; } /* two rows max */
.c-card .tag { font-size: 13.5px; }
.c-facts { margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; color: var(--ink); display: grid; gap: 4px; justify-items: center; }
.c-facts li { display: flex; align-items: center; gap: 7px; }
.c-facts svg { width: 16px; height: 16px; color: var(--orange-deep); flex: none; }
.c-card .btn { margin-top: auto; position: relative; z-index: 1; padding: 10px 18px; font-size: 15px; align-self: stretch; }
.c-card .spacer { flex: 1; min-height: 14px; } /* pushes facts + button to the bottom so they align across cards */

.c-ghost {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
  border: 2px dashed #d5ccbc; border-radius: var(--radius-lg); padding: 30px 22px; color: var(--ink-soft); background: rgba(255,255,255,.5);
}
.c-ghost b { font-family: var(--serif); font-size: 40px; color: var(--green-deep); line-height: 1; }
.c-ghost p { margin: 0; font-size: 15px; }

.team-more { text-align: center; margin-top: 40px; }

/* ---------- Therapist profile (landing page) ---------- */
.profile { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 36px; align-items: start; padding: 26px 0 80px; }
.p-card {
  position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px 28px; overflow: hidden; box-shadow: var(--shadow-card); text-align: center;
}
.p-card .ring { width: 184px; height: 184px; margin: 0 auto 18px; }
.p-card .ring img { object-position: center 20%; }
.p-card h1 { font-weight: 800; font-size: 36px; color: var(--green-ink); }
.p-card .c-cred { font-size: 17px; }
.p-card .c-title { -webkit-line-clamp: unset; font-size: 14.5px; }
.p-card .pron { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }
.p-card .chips { justify-content: center; }
.p-card .chip { font-size: 13.5px; padding: 6px 13px; }
.p-facts { margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 10px; text-align: left; }
.fact { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.fact svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--orange-deep); }
.p-card .btn + .btn { margin-top: 10px; }

.p-main { display: grid; gap: 22px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px; }
.panel h2 { font-weight: 800; font-size: 26px; color: var(--orange-deep); margin-bottom: 14px; }
.panel p { margin: 0 0 14px; font-size: 16.5px; }
.panel p:last-child { margin-bottom: 0; }
.panel .tag { font-size: 15px; padding: 6px 12px; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ins { columns: 3; column-gap: 20px; margin: 0 0 12px; padding: 0; list-style: none; }
.ins li { padding: 2px 0 2px 18px; position: relative; break-inside: avoid; }
.ins li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.cta-panel { background: var(--green-ink); color: #fff; border: 0; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.cta-panel h2 { color: #ffc875; margin: 0 0 4px; }
.cta-panel p { color: #eef5e6; }
@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; }
  .p-card { position: static; }
  .ins { columns: 2; }
}
@media (max-width: 480px) { .panel { padding: 24px 20px; } }

/* ---------- Accordion ---------- */
.acc { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
details[open] { border-color: #cfdcbf; background: #fcfdf9; }
summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 12px; border-radius: var(--radius-md); }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; line-height: 1; font-weight: 700; background: var(--green-tint); color: var(--green-deep); }
details[open] > summary::before { content: "–"; background: var(--green); color: #fff; }
summary:hover { background: #faf6ee; }
.acc-body { padding: 0 18px 16px 52px; font-size: 15.5px; }
.acc-body p { margin: 0 0 10px; } .acc-body p:last-child { margin-bottom: 0; }
@media (max-width: 480px) { .acc-body { padding-left: 18px; } }

/* ---------- Insurance band ---------- */
.insurance { background: var(--green-ink); color: #fff; }
.insurance .split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.insurance h2.title { color: #ffc875; }
.insurance p { color: #eef5e6; margin: 0 0 22px; font-size: 17px; }
.insurance .eyebrow { color: #cfe8b3; }
.plans { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.plans li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.plans li.all { background: none; border-style: dashed; }
.plans li.all a { color: #ffc875; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .insurance .split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Location cards ---------- */
.locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.loc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.loc h3 { font-size: 26px; color: var(--green-ink); }
.loc address { font-style: normal; font-size: 17px; }
.loc .near { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.loc dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.loc dt { font-weight: 700; } .loc dd { margin: 0; }
.loc .row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 1020px) { .locs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .locs { grid-template-columns: 1fr; } }

/* ---------- Contact + forms ---------- */
.contact { background: linear-gradient(180deg, var(--orange-tint), #fff6e6); border-top: 1px solid #f3d9ae; }
.contact .split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact h2.title { text-align: left; }
.contact .paths { display: grid; gap: 14px; margin-top: 26px; }
.path { background: #fff; border: 1px solid #f0dcb8; border-radius: 16px; padding: 18px 20px; }
.path b { display: block; font-size: 17px; color: var(--green-ink); }
.path p { margin: 4px 0 0; font-size: 15.5px; }
.crisis { margin-top: 18px; font-size: 14.5px; color: var(--orange-ink); }
form.cf { background: #fff; border: 1px solid #f0dcb8; border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 16px; box-shadow: 0 16px 40px -20px rgba(120, 70, 0, .3); }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr)); gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } form.cf { padding: 22px; } }
label, legend { font-weight: 700; font-size: 15px; display: block; margin-bottom: 6px; padding: 0; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: 400 16px var(--sans); padding: 12px 14px; border-radius: 10px; border: 1.5px solid #d9d1c3; background: #fffdf9; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 600; border: 1.5px solid #d9d1c3; border-radius: 999px; min-height: 44px; padding: 8px 16px; margin: 0; cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--green-deep); background: var(--green-tint); }
.radios input { accent-color: var(--green-deep); }
.consent { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.sent { display: none; background: var(--green-tint); color: var(--green-ink); border-radius: 10px; padding: 12px 14px; font-weight: 600; }
@media (max-width: 900px) { .contact .split { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Footer ---------- */
footer.site { background: var(--green-deep); color: #f2f8ea; padding: 56px 0 26px; font-size: 15.5px; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
footer.site .cols img { height: 84px; width: auto; margin-bottom: 12px; }
footer.site h4 { font: 700 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; color: #f2f8ea; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site address { font-style: normal; margin-bottom: 12px; }
.legal { border-top: 1px solid rgba(255,255,255,.22); margin-top: 38px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; font-size: 14px; color: #f2f8ea; }
.legal p { margin: 0 0 6px; max-width: 640px; }
.legal p:last-child { margin-bottom: 0; }
/* Footer data switch: gray when off (demo data), green when on (live data) */
.switch { display: inline-flex; align-items: center; gap: 9px; margin-left: 22px; cursor: pointer; font-weight: 600; color: #fff; vertical-align: middle; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #9a9a93; transition: background .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 700px) { .switch { display: flex; margin: 10px 0 0; min-height: 44px; } }
/* Emerge credit: white logo at rest; the color version fades in and the mark eases to 90% on hover */
.dev-credit { display: flex; align-items: center; gap: 14px; font-weight: 700; color: #fff; }
.emerge {
  position: relative; display: block; width: 168px; aspect-ratio: 714 / 319; flex: none;
  background: url("../images/emerge-logo-white-only.png") center / cover no-repeat; transition: transform .9s ease;
}
.emerge img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.emerge:hover, .emerge:focus-visible { transform: scale(.9); }
.emerge:hover img, .emerge:focus-visible img { opacity: 1; }
/* Hidden project-pages menu behind "Developed by:". Nothing marks the label; the list rises above it on hover
   (after a short pause, so a passing cursor doesn't flash it), on keyboard focus, or on tap (.open). */
.dev-menu { position: relative; }
.dev-pages {
  position: absolute; left: 0; bottom: 100%; padding-bottom: 10px; min-width: 200px; z-index: 5;
  display: grid; opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
footer.site .dev-pages a {
  display: block; padding: 9px 14px; background: #fff; color: var(--green-ink); font-weight: 600; font-size: 14.5px;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
footer.site .dev-pages a:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
footer.site .dev-pages a:last-child { border-bottom: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
footer.site .dev-pages a:hover, footer.site .dev-pages a:focus-visible { background: var(--green-tint); text-decoration: none; }
.dev-menu:hover .dev-pages, .dev-menu.open .dev-pages, .dev-menu:focus-within .dev-pages {
  opacity: 1; visibility: visible; transform: none; transition-delay: .35s, .35s, 0s;
}
.dev-menu.open .dev-pages { transition-delay: 0s; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .legal { flex-direction: column; align-items: flex-start; } }
@media (max-width: 520px) { footer.site .cols { grid-template-columns: 1fr; } }

/* ---------- Jump links (in-page pills) ---------- */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.jump a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 14.5px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px; }
.jump a:hover { border-color: var(--green); background: var(--green-tint); }

/* ---------- Service feature rows ---------- */
.features { display: grid; gap: 28px; }
.feature {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; scroll-margin-top: 100px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px;
}
.feature .ring { width: 220px; height: 220px; margin: 0 auto; }
.feature:nth-child(even) { grid-template-columns: minmax(0, 1fr) 240px; }
.feature:nth-child(even) .ring { order: 2; }
.feature h2 { font-weight: 800; font-size: 30px; color: var(--green-ink); margin-bottom: 12px; }
.feature p { margin: 0 0 14px; font-size: 16.5px; }
.feature .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ticks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.callout { border-left: 4px solid var(--orange); background: #fffaf0; border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 14px 18px; margin: 0 0 14px; }
.callout b { color: var(--orange-ink); }
@media (max-width: 820px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; }
  .feature:nth-child(even) .ring { order: 0; }
  .feature .ring { width: 160px; height: 160px; }
  .ticks { grid-template-columns: 1fr; }
}

/* ---------- Info cards (3-up) ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.info h3 { font-size: 21px; color: var(--green-ink); margin-bottom: 10px; }
.info ul { margin: 0; padding-left: 20px; } .info li { margin: 6px 0; } .info li::marker { color: var(--green); }
.info p { margin: 0; }
@media (max-width: 900px) { .info-cards { grid-template-columns: 1fr; } }

/* ---------- New / existing client paths ---------- */
.paths2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px 30px; box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.path-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--brand-gradient); }
.path-card h2 { font-weight: 800; font-size: 28px; color: var(--green-ink); margin-bottom: 6px; }
.path-card > p { margin: 0 0 18px; color: var(--ink-soft); }
.steps { list-style: none; counter-reset: step; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; font-size: 16px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-ink); font-weight: 700; display: grid; place-items: center; }
.steps b { display: block; }
.path-card .btn { margin-top: auto; align-self: flex-start; }
.path-card .row-btns { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.path-card .row-btns .btn { margin-top: 0; }
.path-card .alt-link { font-weight: 700; color: var(--green-ink); text-decoration: none; padding-left: 4px; }
.path-card .alt-link:hover { text-decoration: underline; }
@media (max-width: 820px) { .paths2 { grid-template-columns: 1fr; } }

/* ---------- Insurance plan finder ---------- */
.plan-search { max-width: 460px; margin: 0 auto 26px; }
.plan-search input { border-radius: 999px; padding: 14px 22px; font-size: 17px; }
.plan-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.plan-grid li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 13px 16px; font-weight: 600; }
.plan-grid li svg { width: 20px; height: 20px; color: var(--green-deep); flex: none; }
.plan-grid li[hidden] { display: none; }
.plan-none { text-align: center; background: #fffaf0; border: 1px solid #f0dcb8; border-radius: var(--radius-lg); padding: 26px; margin-top: 8px; }
.plan-none p { margin: 0 0 14px; }

/* ---------- Location detail ---------- */
.place { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; scroll-margin-top: 100px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-md); transition: transform .2s, box-shadow .2s; }
.gallery-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.gallery-item:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: var(--green-tint); display: block; }
.gallery > :first-child { grid-column: 1 / -1; border-radius: var(--radius-lg); }
.gallery > :first-child img { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }

/* ---------- Photo lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 24, 14, .94); display: grid; grid-template-rows: auto 1fr auto; padding: 12px; color: #fff; }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px; }
.lightbox-head b { font: 600 16px var(--sans); }
.lightbox-close { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 999px; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox figure { margin: 0; min-height: 0; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #000; }
.lightbox-foot { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; padding: 10px 6px 4px; }
.lightbox-foot figcaption, .lightbox-cap { text-align: center; font-size: 15.5px; }
.lightbox-cap small { display: block; opacity: .75; font-size: 13px; margin-top: 2px; }
.lightbox-arrow { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 999px; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox-arrow:hover { background: rgba(255,255,255,.25); }
.lightbox-arrow[hidden] { visibility: hidden; display: block; }
.lightbox :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gallery-item { transition: none; } .gallery-item:hover { transform: none; } }
.map { border: 0; width: 100%; height: 260px; border-radius: var(--radius-lg); display: block; margin-top: 16px; }
.place-side { display: grid; gap: 0; }
.contact-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15.5px; }
@media (max-width: 900px) { .place { grid-template-columns: 1fr; } }

/* ---------- Event card ---------- */
.event { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: var(--teal-tint); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 14px; }
.event b { color: var(--teal-ink); display: block; font-size: 17px; }
.event span { font-size: 14.5px; color: var(--teal-ink); }

/* ---------- Long-form document (privacy pages) ---------- */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 44px; padding-bottom: 80px; }
.doc-toc { position: sticky; top: 100px; font-size: 14.5px; max-height: calc(100vh - 120px); overflow: auto; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.doc-toc a { display: block; text-decoration: none; color: var(--ink); font-weight: 600; padding: 6px 10px; border-radius: var(--radius-sm); line-height: 1.35; }
.doc-toc a:hover { background: var(--green-tint); color: var(--green-ink); }
.doc-other { margin: 18px 0 0; padding: 14px 10px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.legal-doc { padding: 40px 44px; max-width: 820px; }
.legal-doc h2 { font-size: 24px; margin: 38px 0 12px; scroll-margin-top: 100px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; color: var(--green-ink); margin: 22px 0 6px; }
.legal-doc p, .legal-doc li { font-size: 16.5px; line-height: 1.7; }
.legal-doc ul { margin: 0 0 14px; padding-left: 24px; }
.legal-doc li { margin: 4px 0; } .legal-doc li::marker { color: var(--green); }
.legal-doc .notice { font-weight: 700; font-size: 14.5px; letter-spacing: .02em; }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; } .doc-toc { position: static; max-height: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; } .legal-doc { padding: 28px 22px; } }

/* ---------- Crisis & community resources (resources.html) ---------- */
.quick-exit-bar { display: flex; align-items: center; gap: 14px; justify-content: flex-end; margin: -8px 0 26px; font-size: 14px; color: var(--ink-soft); }
.quick-exit-bar .btn { padding: 9px 16px; font-size: 14.5px; }
.info-cards.now .info h3 { font-size: 22px; margin-bottom: 4px; }
.info-cards.now .info h3 a { color: var(--orange-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.info-cards.now .info p { margin: 0; }
.reassure { text-align: center; font-weight: 600; margin: 22px auto 8px; max-width: 640px; }
.res-group { margin-top: 34px; }
.res-group h3 { font: 800 24px var(--serif); color: var(--green-ink); margin: 0 0 12px; }
table.res { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 15.5px; }
table.res th, table.res td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
table.res th { font: 700 12.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); background: var(--green-tint); }
table.res tr:last-child td { border-bottom: 0; }
table.res td:first-child { font-weight: 700; width: 28%; }
table.res td:nth-child(2) { width: 38%; }
table.res td a { font-weight: 700; white-space: nowrap; }
table.res td:last-child { color: var(--ink-soft); }
.res-note { max-width: 720px; margin: 34px auto 0; text-align: center; }
@media (max-width: 760px) {
  /* Each row becomes a card; column headings move inside the row via data-h. */
  table.res, table.res tbody, table.res tr, table.res td { display: block; width: auto; }
  table.res thead { display: none; }
  table.res tr { padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
  table.res tr:last-child { border-bottom: 0; }
  table.res td { border: 0; padding: 8px 16px; }
  table.res td:first-child, table.res td:nth-child(2) { width: auto; }
  table.res td::before { content: attr(data-h); display: block; font: 700 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
  table.res td a { white-space: normal; }
  .quick-exit-bar { justify-content: space-between; }
}

/* ---------- Mockup-only preview of the SimplePractice request window ---------- */
.sp-real { display: none; }
.sp-preview { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 24, 14, .62); display: grid; place-items: center; padding: 20px; }
.sp-preview-box { background: #fff; border-radius: var(--radius-lg); width: min(960px, 100%); max-height: 100%; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.sp-preview-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 17px; }
.sp-preview-head b { flex: 1; text-align: center; }
.sp-preview-tag { background: var(--orange); color: #fff; font: 700 11.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.sp-preview-close { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 0 4px; }
.sp-preview-note { background: #fffaf0; border-bottom: 1px solid var(--line); padding: 10px 18px; font-size: 14px; color: var(--ink-soft); }
.sp-preview figure { margin: 0; padding: 18px 18px 6px; }
.sp-preview img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-md); display: block; }
.sp-preview figcaption { padding: 12px 2px 0; font-size: 15px; }
.sp-preview figcaption b { display: block; font-size: 17px; color: var(--green-ink); margin-bottom: 2px; }
.sp-preview figcaption span { color: var(--ink-soft); }
.sp-preview-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px 18px; }
.sp-preview-count { color: var(--ink-soft); font-weight: 700; }
@media (max-width: 520px) { .sp-preview { padding: 0; } .sp-preview-box { border-radius: 0; min-height: 100%; } .sp-preview-head b { font-size: 15px; } }

/* ---------- Pay Your Balance ---------- */
.pay-box { min-height: 420px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .35s ease, transform .35s ease; }
.pay-box.in { opacity: 1; transform: none; }
.pay-box[hidden] { display: none; }
.pay-box .pay-state { animation: payFade .3s ease; }
.pay-wait { text-align: center; }
.pay-wait p { margin: 0 0 6px; }
.pay-dots { display: inline-flex; gap: 6px; margin-top: 10px; }
.pay-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: payDot 1s infinite ease-in-out; }
.pay-dots i:nth-child(2) { animation-delay: .15s; } .pay-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes payDot { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@keyframes payFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 560px) { .pay-box { min-height: 0; justify-content: flex-start; } }
.pay-state { font-variant-numeric: lining-nums tabular-nums; } /* dollar amounts line up digit for digit */
.pay-state .amt { color: var(--orange-ink); white-space: nowrap; }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.pay-opt { font: inherit; text-align: left; background: #fff; border: 2px solid var(--green-deep); border-radius: var(--radius-lg); padding: 18px 18px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--ink); box-shadow: 0 8px 22px -14px rgba(60, 80, 20, .45); transition: border-color .15s, transform .15s, box-shadow .15s; }
.pay-opt > span:nth-last-child(2) { margin-bottom: 10px; }
.pay-opt > span.go:last-child { align-self: flex-start; margin-top: auto; background: var(--orange); color: #3a1c00; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 10px 18px; transition: background .15s; }
.pay-opt:hover > span.go, .pay-opt:focus-visible > span.go { background: #ffb040; }
.pay-state .row-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pay-opt:hover, .pay-opt:focus-visible { border-color: var(--green-ink); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(60, 80, 20, .55); }
.pay-opt b { font-size: 15px; color: var(--green-ink); }
.pay-opt .big { font: 800 28px var(--serif); color: var(--ink); }
.pay-opt .big small { font: 600 14px var(--sans); color: var(--ink-soft); margin-left: 2px; }
.pay-opt > span:last-child { font-size: 14px; color: var(--ink-soft); }
.pay-summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 14px 0 16px; padding: 14px 18px; background: var(--green-tint); border-radius: var(--radius-md); font-size: 15.5px; }
.pay-summary dt { font-weight: 700; } .pay-summary dd { margin: 0; }
.demo-stop { margin-top: 12px; border: 1.5px dashed var(--orange); background: #fffaf0; border-radius: var(--radius-md); padding: 12px 16px; font-size: 15px; }
@media (max-width: 560px) { .pay-opt .big { font-size: 24px; } }

/* ---------- Tip box (guides, locations) ---------- */
.tip { border-left: 4px solid var(--green); background: var(--green-tint); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 12px 16px; margin: 14px 0 0; font-size: 15.5px; }
.tip p { margin: 0; }

/* A short fade between pages, in browsers that support it and for visitors who have not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
}
