/* Bay Finance Co — site styles
   Brand: teal #2b90ad (primary), pink #e557b5 (secondary), navy, black & white.
   Accessible text variants: teal-ink #1d6e85 (5.8:1 on white), pink-ink #b8327f (5.5:1). */

@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --teal: #2b90ad;
  --teal-ink: #1d6e85;
  --teal-deep: #154f61;
  --teal-50: #eef7fa;
  --teal-100: #d7edf3;
  --pink: #e557b5;
  --pink-ink: #b8327f;
  --pink-50: #fdf0f8;
  --navy: #111111; /* near-black (navy removed) */
  --navy-2: rgba(255,255,255,.1);
  --ink: #1a1a1a;
  --dark-teal: #1d6e85;
  --muted: #45505a;
  --line: #dbe5ea;
  --sand: #f7f3ec;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 8px 24px rgba(17, 17, 17, .08);
  --wrap: 1160px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: clamp(.9rem, .87rem + .1vw, .95rem);
  --step-0: clamp(1.06rem, 1rem + .25vw, 1.15rem);
  --step-1: clamp(1.25rem, 1.15rem + .45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --step-3: clamp(1.85rem, 1.5rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: var(--step-4); letter-spacing: -.025em; }
h2 { font-size: var(--step-3); letter-spacing: -.02em; }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Draft mode ---------- */
.draft-banner { background: var(--navy); color: #fff; font-size: var(--step--1); text-align: center; padding: .5rem 1rem; }
.draft-banner strong { color: var(--pink); }
.draft-banner a { color: #fff; }
mark.todo, .todo-block { background: var(--pink-50); color: var(--pink-ink); border: 1.5px dashed var(--pink); border-radius: 6px; padding: .05em .35em; font-weight: 600; font-size: .92em; }
.todo-block { display: block; padding: 1rem 1.2rem; margin: 1rem 0; font-weight: 400; line-height: 1.5; }
.todo-block strong { font-weight: 700; }
body:not(.is-draft) .todo-block.draft-only { display: none; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--teal); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.35em; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-align: center; }
.btn:hover { --bg: var(--teal-ink); color: var(--fg); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(17, 17, 17, .18); text-decoration: none; }
.btn--book { --bg: var(--teal); --fg: #fff; }
.btn--book:hover { --bg: var(--teal-ink); }
.btn--ghost { background: transparent; --fg: var(--teal-ink); border-color: var(--teal); }
.btn--ghost:hover { --bg: var(--teal); background: var(--teal-50); --fg: var(--teal-ink); }
.btn--light, .btn--light:hover { --bg: #fff; --fg: var(--teal-ink); }
.section--navy .btn--book, .cta-band .btn--book { --bg: #fff; --fg: var(--teal-ink); }
.section--navy .btn--book:hover, .cta-band .btn--book:hover { --bg: var(--teal-50); --fg: var(--teal-ink); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); --fg: #fff; }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.btn--sm { min-height: 44px; padding: .45em .95em; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.text-link { font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.text-link::after { content: "→"; transition: transform .15s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 118px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .8rem; font: 700 .95rem var(--font-head); color: var(--navy); cursor: pointer; min-height: 44px; }
.nav-toggle-bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.site-nav { display: none; }
.no-js .site-nav, .site-nav.is-open { display: block; }
.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow: auto; padding: .5rem 20px calc(96px + env(safe-area-inset-bottom)); }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; border-bottom: 1px solid var(--line); }
.nav-list a { display: block; padding: .8rem .25rem; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--teal-ink); }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: .45em; }
.nav-group-label { display: block; padding: .8rem .25rem .2rem; font: 700 .78rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sub { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 .75rem; }
.sub li { margin: 0; }
.sub a { padding: .5rem .25rem; font-weight: 600; font-size: .98rem; }
.nav-key a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-right: .5em; vertical-align: middle; }
.header-cta { display: none; }
.nav-mobile-cta { padding-top: 1rem; }

@media (min-width: 1320px) {
  .nav-list a, .nav-group-label { white-space: nowrap; }
  .nav-toggle, .nav-mobile-cta { display: none; }
  .site-nav, .no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; padding: 0; max-height: none; overflow: visible; background: none; }
  .nav-list { display: flex; align-items: center; gap: .15rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list > li > a, .nav-group-label { padding: .5rem .45rem; font-size: .93rem; }
  .nav-group-label { text-transform: none; letter-spacing: 0; color: var(--navy); font-weight: 600; font-size: .93rem; cursor: default; display: flex; align-items: center; gap: .3rem; }
  .nav-group-label::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
  button.nav-group-label { background: none; border: 0; }
  .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; z-index: 10; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
  .sub a { padding: .55rem .75rem; border-radius: 8px; }
  .sub a:hover { background: var(--teal-50); }
  .header-cta { display: inline-flex; }
  .header-cta .btn { white-space: nowrap; }
  .brand img { width: 112px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--tint { background: var(--teal-50); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--dark-teal); color: #e6f4f8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a:not(.btn) { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font: 700 .8rem/1.3 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--pink); }
.section--navy .eyebrow, .hero--navy .eyebrow { color: #fff; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.section--navy .lead { color: #e6f4f8; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.accent { color: var(--teal-ink); }
.accent-pink { color: var(--pink-ink); }

/* Wave divider */
.wave { display: block; width: 100%; height: 48px; color: var(--teal-50); }
.wave--navy { color: var(--navy); }
.wave--sand { color: var(--sand); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .accent { color: var(--teal); }
.hero .lead { max-width: 38ch; margin-bottom: 1.75rem; }
.hero-art { position: relative; }
.hero-note { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }
.hero-note img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: var(--shadow); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.page-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: linear-gradient(180deg, #fff, var(--teal-50)); }
.page-hero .lead { max-width: 60ch; }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-hero-grid.has-art { grid-template-columns: 1.3fr .7fr; } }
.breadcrumbs { font-size: var(--step--1); margin-bottom: 1rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: #9aa7af; }
.breadcrumbs li { margin: 0; }

/* ---------- Pathfinder ---------- */
.pathfinder { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); margin-top: -2.5rem; position: relative; z-index: 2; border: 1px solid var(--line); }
.pathfinder h2 { font-size: var(--step-1); margin-bottom: 1rem; }
.path-grid { display: grid; gap: .6rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.path-grid li { margin: 0; }
@media (min-width: 640px) { .path-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .path-grid { grid-template-columns: repeat(3, 1fr); } }
.path-link { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; transition: border-color .15s, background .15s, transform .15s; min-height: 64px; }
.path-link:hover { border-color: var(--teal); background: var(--teal-50); color: var(--navy); transform: translateY(-1px); }
.path-link .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-50); color: var(--teal-ink); display: grid; place-items: center; }
.path-link .ico svg { width: 22px; height: 22px; }
.path-link.is-key { border-color: var(--pink); background: var(--pink-50); }
.path-link.is-key .ico { background: #fff; color: var(--pink-ink); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; transition: box-shadow .2s, transform .2s, border-color .2s; position: relative; }
.card h3 { margin-bottom: .2rem; }
.card p { color: var(--muted); margin-bottom: .5rem; }
.card .text-link { margin-top: auto; }
.card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--teal-100); }
.card--link h3 a, .card--link h2 a { color: inherit; text-decoration: none; }
.card--link h3 a::after, .card--link h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-50); color: var(--teal-ink); display: grid; place-items: center; margin-bottom: .5rem; }
.card .ico svg { width: 26px; height: 26px; }
.card--feature { border: 2px solid var(--pink); background: linear-gradient(160deg, #fff 60%, var(--pink-50)); }
.card--feature .ico { background: var(--pink-50); color: var(--pink-ink); }
.tag { display: inline-block; font: 700 .72rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--pink-ink); background: var(--pink-50); border-radius: 999px; padding: .25em .7em; width: fit-content; }
.tag--teal { color: var(--teal-ink); background: var(--teal-50); }
.tag--draft { color: #7a4a00; background: #fff3d6; border: 1px dashed #c98a00; }

/* ---------- Split / feature ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--wide-text { grid-template-columns: 1.2fr .8fr; } .split--reverse > :first-child { order: 2; } }
.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--teal-100); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame--portrait { aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto; }
.photo-badge { position: absolute; left: 1rem; bottom: 1rem; background: #fff; border-radius: 12px; padding: .6rem .9rem; font: 600 .9rem/1.3 var(--font-head); color: var(--navy); box-shadow: var(--shadow); max-width: 75%; }
.photo-badge span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .85rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 2rem; margin: .65rem 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d6e85' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 70% no-repeat; }
.section--navy .ticks li::before { background-color: rgba(127, 208, 230, .15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237fd0e6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E"); }

.quote-callout { border-left: 4px solid var(--pink); padding: .5rem 0 .5rem 1.25rem; margin: 1.75rem 0; font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); line-height: 1.4; color: var(--navy); }
.section--navy .quote-callout { color: #fff; }
.quote-callout cite { display: block; font: 400 var(--step--1) var(--font-body); color: var(--muted); margin-top: .5rem; font-style: normal; }
.section--navy .quote-callout cite { color: #e6f4f8; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(5, 1fr); } }
.step { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; margin: 0; position: relative; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-ink); color: #fff; font: 700 1rem var(--font-head); margin-bottom: .85rem; }
.step:last-child::before { background: var(--pink); color: var(--navy); }
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }
.section--navy .step { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.section--navy .step p { color: #e6f4f8; }
.section--navy .step::before { background: #fff; color: var(--teal-ink); }
.section--navy .step:last-child::before { background: var(--pink); color: var(--navy); }

/* Roadmap journey */
.journey { list-style: none; margin: 0; padding: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 3px; background: repeating-linear-gradient(to bottom, var(--teal) 0 10px, transparent 10px 18px); border-radius: 3px; }
.journey-step { position: relative; padding: 0 0 2rem 4.25rem; margin: 0; }
.journey-step:last-child { padding-bottom: 0; }
.journey-dot { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); display: grid; place-items: center; color: var(--teal-ink); font: 700 1rem var(--font-head); }
.journey-step:last-child .journey-dot { background: var(--pink); border-color: var(--pink); color: var(--navy); }
.journey-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.35rem; box-shadow: 0 1px 2px rgba(17,17,17,.04); }
.journey-card h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.journey-card p { margin: 0; color: var(--muted); }
.journey-card .stage { font: 700 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--pink-ink); display: block; margin-bottom: .2rem; }
.journey-callout { margin-top: .85rem; background: var(--pink-50); border: 1.5px solid var(--pink); border-radius: 12px; padding: .85rem 1rem; color: var(--ink); font-size: .98rem; }
.journey-callout strong { display: block; font-family: var(--font-head); color: var(--pink-ink); text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; margin-bottom: .25rem; }
.promise { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1.5px solid var(--teal-100); border-radius: 999px; padding: .5rem 1rem; font: 600 .95rem var(--font-head); color: var(--teal-ink); margin-bottom: 1.25rem; }
.promise::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); flex: none; }
.download-cover { width: 120px; border-radius: 8px; box-shadow: var(--shadow); border: 1px solid var(--line); flex: none; }
.download-card .dl-text { flex: 1 1 260px; }

/* ---------- Prose (markdown pages & posts) ---------- */
.prose > * { max-width: 72ch; }
.prose > .split, .prose > .grid, .prose > .steps, .prose > .download-card, .prose > .journey, .prose > .wide { max-width: none; }
.prose .split { margin-block: 1rem 2rem; }
.prose .card h3 { margin-top: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 2.25em; scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.75em; scroll-margin-top: 96px; }
.prose > :first-child { margin-top: 0; }
.prose ul li::marker { color: var(--teal); }
.prose blockquote { margin: 1.75rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--pink); background: var(--pink-50); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); font-size: .9rem; color: var(--navy); background: var(--teal-50); }
.note { background: var(--teal-50); border-radius: var(--radius); padding: 1.1rem 1.35rem; margin: 1.5rem 0; font-size: .98rem; }
.note strong { color: var(--navy); }
.note p:last-child { margin: 0; }

.content-layout { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .content-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; } }
.toc { position: sticky; top: 96px; align-self: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; font-size: .95rem; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .75rem; }
.toc ol { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.toc li { margin: 0; }
.toc a { display: block; padding: .35rem 0; text-decoration: none; color: var(--navy); border-left: 2px solid var(--line); padding-left: .75rem; }
.toc a:hover { border-color: var(--teal); color: var(--teal-ink); }
@media (max-width: 999px) { .toc { position: static; } }

/* ---------- Reviews & case studies ---------- */
.review { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.review blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.review figcaption { font: 600 .95rem var(--font-head); color: var(--navy); }
.placeholder-panel { border: 2px dashed var(--teal-100); border-radius: var(--radius); padding: 1.75rem; text-align: center; color: var(--muted); background: rgba(255,255,255,.6); }
.placeholder-panel h3 { color: var(--teal-ink); }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-img { aspect-ratio: 16 / 9; background: var(--teal-50); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card h3 { font-size: 1.15rem; margin: 0; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.post-meta { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; }
.cat-filter { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.cat-filter li { margin: 0; }
.cat-filter a { display: inline-block; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--navy); font: 600 .9rem var(--font-head); background: #fff; }
.cat-filter a:hover, .cat-filter a[aria-current="page"] { border-color: var(--teal-ink); background: var(--teal-ink); color: #fff; }
.post-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0 0; aspect-ratio: 16 / 9; background: var(--teal-50); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.author-box { display: flex; gap: 1rem; align-items: center; background: var(--sand); border-radius: var(--radius); padding: 1.25rem; margin-top: 2.5rem; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.author-box p { margin: 0; font-size: .98rem; color: var(--muted); }
.author-box strong { color: var(--navy); font-family: var(--font-head); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark-teal); color: #e6f4f8; border-radius: var(--radius-lg); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .12); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: var(--step-3); margin-bottom: .35em; }
.cta-band p { color: #e6f4f8; margin: 0; max-width: 52ch; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band img.avatar { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--pink); }
@media (min-width: 900px) { .cta-band { grid-template-columns: auto 1fr auto; } }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 2.5rem; }
.faq-group h2 { font-size: var(--step-1); color: var(--teal-ink); margin-bottom: .75rem; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: .6rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; font: 600 1.02rem/1.35 var(--font-head); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal-ink); line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq-body { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq-body p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label, .field legend { display: block; font: 600 .98rem var(--font-head); color: var(--navy); margin-bottom: .35rem; }
.field .hint { display: block; font-size: .9rem; color: var(--muted); margin: -.15rem 0 .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid #b7c6ce; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(43,144,173,.35); border-color: var(--teal-ink); }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.req { color: var(--pink-ink); }
.field-error { color: #b42318; font-size: .9rem; margin-top: .3rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field.has-error .field-error { display: block; }
.form-warning { font-size: .92rem; background: #fff8e6; border: 1px solid #f0d58a; border-radius: 10px; padding: .75rem 1rem; margin-bottom: 1.25rem; color: #5c4400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 1.25rem 1.35rem; margin-top: 1rem; }
.form-status--success { background: #e9f7ef; border: 1.5px solid #3c9a64; color: #134a2b; }
.form-status--error { background: #fdecec; border: 1.5px solid #b42318; color: #7a1a12; }
.form-status h3 { margin: 0 0 .35rem; color: inherit; font-size: 1.15rem; }
.form-status p:last-child { margin: 0; }
.form-privacy { font-size: .88rem; color: var(--muted); margin-top: 1rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.contact-list li { margin: 0; display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-ink); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .9rem; }
.contact-list a { font-size: 1.08rem; font-weight: 600; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d6d6d6; padding-top: 3.5rem; font-size: .98rem; }
.site-footer a { color: #e7f1f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { width: 170px; margin-bottom: 1rem; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #7fd0e6; margin-bottom: .85rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .45rem 0; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social a:hover { background: var(--pink); color: var(--navy); }
.social svg { width: 20px; height: 20px; }
.compliance { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.75rem; font-size: .86rem; line-height: 1.6; color: #bdbdbd; }
.compliance p { margin: 0 0 .65rem; }
.compliance a { text-decoration: underline; color: #e7f1f5; }
.compliance mark.todo { background: rgba(229,87,181,.15); color: #ffc4ea; border-color: var(--pink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: #a8a8a8; }

/* ---------- Mobile booking bar ---------- */
.mobile-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(17,17,17,.08); display: flex; gap: .5rem; transition: transform .25s ease; }
.mobile-book .btn { flex: 1; min-height: 48px; padding-inline: .75rem; }
.mobile-book .btn--call { flex: 0 0 auto; --bg: var(--teal-50); --fg: var(--teal-ink); border-color: var(--teal-100); }
.mobile-book.is-hidden { transform: translateY(110%); }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 1320px) { .mobile-book { display: none; } body { padding-bottom: 0; } }

/* ---------- Misc ---------- */
.illus { width: 100%; height: auto; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .95rem; }
.section--navy .pill-list li { background: var(--navy-2); border-color: rgba(255,255,255,.1); color: #e7f1f5; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.download-card { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; background: #fff; border: 2px solid var(--teal); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.download-card h2 { font-size: var(--step-1); margin: 0 0 .25rem; }
.download-card p { margin: 0; color: var(--muted); }

/* Header gets a little more room than page content so the full nav + booking button fit */
.site-header .wrap { max-width: 1320px; }
.header-cta .btn svg { display: none; }

/* Reviews */
.stars { color: #f5a623; letter-spacing: .1em; font-size: 1.1rem; margin: 0 0 .5rem; line-height: 1; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--muted); margin: 0; }
.rating-line .stars { margin: 0; }
.rating-line strong { color: var(--navy); }
.review { display: flex; flex-direction: column; margin: 0; }
.review blockquote { flex: 1; }
.review blockquote p { margin: 0 0 .75rem; color: var(--ink); }
.review figcaption span { display: block; font: 400 .9rem var(--font-body); color: var(--muted); }
.review figcaption .review-source { color: var(--teal-ink); font-weight: 600; }

/* Safety net: review notes never show on the live (non-draft) site */
body:not(.is-draft) mark.todo, body:not(.is-draft) .todo-block { display: none !important; }
