:root {
  --ink: #111111;
  --text: #1a1a1a;
  --body: #444444;
  --muted: #5c5c5c;
  --line: #e5e5e5;
  --line-strong: #c8c8c8;
  --bg: #f6f6f6;
  --surface: #ffffff;
  --accent: #0e7c6b;
  --accent-dark: #0a5c50;
  --mint: #e6f6f2;
  --dark-line: #333333;
  --on-dark: #cfcfcf;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.5; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); }
p { margin: 0; }
img, svg { flex-shrink: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.split { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > * { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--body); }
.grow { flex: 1; min-width: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 10px 14px; border-radius: 8px; }

/* Buttons */
.btn { font: inherit; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-primary:disabled { background: #a0a0a0; cursor: not-allowed; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--ink); }
.btn.icon { width: 48px; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 600; font-size: 16px; }
.brand-sub { font-size: 13px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }

/* Hero */
.hero { padding-top: 64px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 16px; }
.eyebrow { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--mint); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5.5vw, 52px); line-height: 1.08; }
.hero .lead { font-size: 19px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.trust li { display: flex; flex-direction: column; gap: 6px; }
.trust svg { color: var(--accent); }
.trust strong { font-size: 15px; }
.trust span { font-size: 14px; color: var(--muted); }

/* Illustrations */

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }

/* Wizard */
.wizard { flex: 1 1 420px; min-width: 0; max-width: 520px; padding: 28px; box-shadow: 0 12px 32px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 96px; }
.wizard-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wizard-head h2 { font-size: 24px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress span { height: 4px; border-radius: 2px; background: var(--line); }
.progress span.on { background: var(--accent); }
.step { display: flex; flex-direction: column; gap: 12px; }
.step[hidden] { display: none; }
.q { font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.options { display: flex; flex-direction: column; gap: 10px; }
.opt { font: inherit; font-size: 15px; text-align: left; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid #d4d4d4; background: var(--surface); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.opt:hover { border-color: var(--accent); }
.opt[aria-pressed="true"] { border-color: var(--accent); background: var(--mint); box-shadow: inset 0 0 0 1px var(--accent); }
.opt-main { display: flex; flex-direction: column; gap: 2px; }
.opt-main b { font-weight: 600; }
.opt-hint { font-size: 13px; color: var(--muted); }
.opt-price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.quote-box { background: var(--bg); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.quote-box[hidden] { display: none; }
.quote-total { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--ink); }
.quote-note { font-size: 14px; color: var(--body); }
.row { display: flex; gap: 10px; margin-top: 4px; }
.summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--mint); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink); }
.step label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.step label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--body); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.field { font: inherit; font-size: 16px; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); width: 100%; }
.field:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea.field { resize: vertical; }
.error { color: #b42318; font-size: 14px; }
.done { align-items: flex-start; }
.tick { width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.done-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }
.done p { color: var(--body); line-height: 1.6; }

/* Services */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.section-head p { font-size: 17px; color: var(--body); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tile svg { color: var(--accent); }
.tile p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--accent); }
.steps p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Pricing */
.dark { background: var(--ink); color: #fff; }
.dark h2 { color: #fff; }
.on-dark { color: var(--on-dark); font-size: 17px; line-height: 1.6; }
.price-card { margin-top: 12px; border: 1px solid var(--dark-line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.eyebrow-dark { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #7fe0cf; }
.price { font-family: var(--serif); font-size: 40px; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { text-align: left; font-size: 14px; color: var(--on-dark); padding-bottom: 12px; }
tr { border-bottom: 1px solid var(--dark-line); }
tr:last-child { border-bottom: 0; }
th { text-align: left; font-weight: 500; padding: 14px 16px 14px 0; }
td { text-align: right; font-weight: 600; padding: 14px 0; white-space: nowrap; }

/* Assistant */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { font: inherit; font-size: 14px; min-height: 44px; padding: 10px 14px; border-radius: 999px; border: 1px solid #d4d4d4; background: var(--surface); color: var(--text); cursor: pointer; text-align: left; }
.chip:hover { border-color: var(--accent); }
.chat { overflow: hidden; gap: 0 !important; }
.chat-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.chat-log { padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; max-height: 440px; overflow-y: auto; }
.msg { max-width: 85%; padding: 12px 14px; font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: #f1f1f1; border-radius: 14px 14px 14px 4px; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 14px 14px 4px 14px; }
.msg.typing { color: var(--muted); }
.chat-input { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { padding-top: 48px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-about { display: flex; flex-direction: column; gap: 8px; max-width: 380px; font-size: 14px; }
.footer-about strong { font-size: 17px; color: var(--ink); }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-col strong { color: var(--ink); }
.copyright { padding-bottom: 32px; }

/* Privacy page */
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.prose h1 { font-size: 40px; margin-bottom: 8px; }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--body); line-height: 1.7; }
.prose p + p { margin-top: 12px; }

/* Blog */
.page-title { font-size: clamp(34px, 5vw, 44px); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.post-card:hover { border-color: var(--accent); color: var(--text); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 60%; }
.post-ph { display: block; aspect-ratio: 16 / 9; background: var(--mint); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.post-title { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.post-sum { font-size: 15px; line-height: 1.6; color: var(--body); }
.article-head { max-width: 760px; padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.article-head h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.standfirst { font-size: 20px; line-height: 1.55; color: var(--body); }
.article-hero img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 62%; border-radius: 16px; }
@media (max-width: 640px) { .article-hero img { aspect-ratio: 4 / 3; } }
.article-body { max-width: 760px; padding-top: 40px; }
.article-body h2 { font-size: 26px; margin: 36px 0 12px; }
.article-body p, .article-body li { font-size: 17px; }
.article-body h3.sub { font-size: 19px; margin: 24px 0 8px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.cta { margin-top: 44px; background: var(--mint); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { margin: 0; }
.cta p { color: var(--body); }
.back { margin-top: 32px; }
.article-body ul + p, .article-body ol + p { margin-top: 16px; }
.steps-list { padding-left: 22px; display: flex; flex-direction: column; gap: 14px; margin: 16px 0 0; }
.steps-list li::marker { font-weight: 600; color: var(--accent); }
.steps-list ul { margin-top: 8px; }
.faq { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 28px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; min-height: 24px; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 14px 0 16px; margin: 0; }
.tx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 20px 0 8px; }
.tx { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.tx-num { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--accent); font-weight: 600; font-size: 14px; align-items: center; justify-content: center; }
.article-body .tx h2 { font-family: var(--sans); font-size: 17px; margin: 10px 0 6px; }
.tx ul { margin: 0; padding-left: 18px; }
.article-body .tx li { font-size: 15px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 16px 0 8px; }
.stat-grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.55; color: var(--body); }
.stat-num { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--accent); line-height: 1.1; }
.sources { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 8px; }
.article-body .sources h2 { font-size: 18px; margin: 16px 0 8px; }
.article-body .sources li { font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 28px; }
.facts > div { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink); }
.facts-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testimonials .quote { margin: 0; background: var(--bg); }
.quote { margin: 28px 0 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--ink); }
.quote figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.ticks.benefits { gap: 14px; }
.ticks.benefits li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 14px 46px; }
.ticks.benefits li::before { left: 20px; top: 21px; }
.serve-steps { list-style: none; padding: 0; margin: 16px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.serve-steps li { display: flex; align-items: flex-start; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.serve-num { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.related { margin-top: 32px; font-size: 16px; }
.related + .back { margin-top: 12px; }
.price-flag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; background: var(--ink); color: #fff; border-radius: 14px; padding: 18px 22px; margin-bottom: 24px; font-size: 17px; }
.price-flag-amount { font-family: var(--serif); font-size: 34px; font-weight: 600; color: #7fe0cf; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 40px; gap: 32px; }
  .wizard { padding: 20px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .nav { gap: 8px 16px; }
  .site-header { position: static; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Hero photo band (St Paul's) */
.hero-band {
  position: relative;
  color: #fff;
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.15) 100%),
    image-set(url("img/hero-st-pauls.webp") type("image/webp"), url("img/hero-st-pauls.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 60% 40%;
}
.hero-band .hero { padding-top: 80px; padding-bottom: 88px; }
.hero-band h1 { color: #fff; }
.hero-band .lead { color: rgba(255,255,255,.88); }
.hero-band .eyebrow { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.hero-band .trust svg { color: #7fe0cf; }
.hero-band .trust strong { color: #fff; }
.hero-band .trust span { color: rgba(255,255,255,.75); }
.hero-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.hero-band .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-band .wizard { color: var(--text); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
@media (max-width: 900px) {
  .hero-band { background-image:
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.66) 100%),
    image-set(url("img/hero-st-pauls.webp") type("image/webp"), url("img/hero-st-pauls.jpg") type("image/jpeg")); }
}

/* Logo */
.brand-logo { width: 44px; height: 44px; border-radius: 8px; display: block; }
.footer-logo { width: 96px; height: 96px; border-radius: 10px; display: block; margin-bottom: 6px; }

/* Photos */
.photo { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; border-radius: 14px; background: var(--line); }

/* Who we act for: 3 x 2 with the London photo tile */
@media (min-width: 900px) { #services .grid { grid-template-columns: repeat(3, 1fr); } }
.tile-photo { margin: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 150px; overflow: hidden; flex: 0 0 auto; }
.photo-pair img { width: 100%; height: 150px; min-width: 0; object-fit: cover; object-position: 50% 35%; display: block; }
.tile-photo figcaption { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.tile-photo figcaption strong { font-size: 18px; color: var(--ink); }
.tile-photo figcaption span { font-size: 15px; line-height: 1.55; color: var(--body); }

/* How it works */
.how-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.how-body .steps { grid-template-columns: 1fr; gap: 22px; }
.how-photo { aspect-ratio: 4 / 3; max-height: 360px; }

/* What clients say */
.clients-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; }
.clients-body .testimonials { grid-template-columns: 1fr; gap: 14px; }
.clients-photo { height: 100%; min-height: 260px; }

/* Questions */
.note-photo { aspect-ratio: 16 / 9; max-width: 440px; margin-top: 12px; }

/* Insights header */
.insights-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px; align-items: center; }
.insights-photo { aspect-ratio: 3 / 2; }

@media (max-width: 860px) {
  .how-body, .clients-body, .insights-head { grid-template-columns: 1fr; }
  .how-photo, .clients-photo { max-height: 240px; min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .note-photo { max-width: 100%; }
}

/* Links from service tiles to guides */
.tile-link { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
.tile-link:hover { text-decoration: underline; color: var(--accent-dark); }
.tile-links { margin-top: auto; display: flex; gap: 18px; }
.tile-links .tile-link { margin-top: 0; }
.tile-photo .tile-link { margin-top: 4px; padding-top: 0; }

/* Publish dates */
.post-date { font-size: 14px; color: var(--muted); }
.post-card .post-date { font-size: 13px; }

/* Client examples inside posts */
.cases { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.case { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.case img { width: 140px; height: 120px; object-fit: cover; border-radius: 10px; display: block; }
.case h3 { font-size: 17px; margin-bottom: 6px; }
.case p { font-size: 15px; }
.case-mark { width: 140px; height: 120px; border-radius: 10px; background: var(--mint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.inline-photo { margin: 8px 0 14px; }
.inline-photo img { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 12px; }
@media (max-width: 560px) {
  .case { grid-template-columns: 1fr; }
  .case img, .case-mark { width: 100%; height: 160px; }
}

/* Footer address and FAQ page */
.footer-address address { font-style: normal; font-size: 15px; line-height: 1.5; color: var(--body); }
.footer-address .small { max-width: 220px; }
.faq-page, .privacy { padding-top: 8px; }
.faq-page h2 { margin-top: 28px; }
.faq-page .faq details p a { color: var(--accent); }

/* Compact menu (small screens) */
.menu-actions { display: none; }
@media (max-width: 900px) {
  .has-menu .header-inner { flex-wrap: nowrap; position: relative; }
  .has-menu .brand { min-width: 0; }
  .has-menu .menu-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
  .menu-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .has-menu .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 6; flex-direction: column; align-items: stretch; gap: 0; padding: 4px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .has-menu.menu-open .nav { display: flex; }
  .has-menu .nav a:not(.btn) { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
  .has-menu .nav a:not(.btn):first-child { border-top: 0; }
  .has-menu .nav .btn { display: none; }
}
@media (max-width: 640px) {
  .has-menu .header-inner { gap: 10px; }
  .has-menu .brand-sub { display: none; }
  .has-menu .site-header, .site-header.has-menu { position: sticky; top: 0; }
}
@media (max-width: 400px) {
  .has-menu .menu-quote { padding-left: 12px; padding-right: 12px; }
  .has-menu .brand-name { font-size: 15px; }
}

/* About us */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.about-grid > div { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 2px solid var(--accent); }
.about-grid h3 { font-size: 17px; }
.about-grid p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Service pages and clause guide */
.service-head .actions { margin-top: 6px; }
.service-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 500; color: var(--ink); }
.service-points li { display: flex; align-items: center; gap: 8px; }
.service-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.service-body { padding-top: 16px; }
.fee-table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-variant-numeric: tabular-nums; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fee-table caption { text-align: left; font-weight: 600; color: var(--ink); padding-bottom: 8px; }
.fee-table th, .fee-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.fee-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg); }
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table td:last-child { font-weight: 600; color: var(--ink); }
.clause { margin: 12px 0 8px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.7; color: var(--text); }
.note { padding: 12px 16px; background: var(--mint); border-radius: 10px; font-size: 15px; }
.footer-col .footer-sub { margin-top: 10px; }

/* Quote tool: number of appointing parties */
.counts { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.count { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.count[hidden] { display: none; }
.count label { font-size: 15px; font-weight: 600; color: var(--ink); }
.count-hint { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--surface); }
.stepper button { width: 40px; border: 0; background: var(--surface); color: var(--ink); font: inherit; font-size: 18px; cursor: pointer; }
.stepper button:hover { background: var(--mint); }
.stepper button:focus-visible, .stepper input:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.stepper input { width: 52px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--surface); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#quoteNote { white-space: pre-line; }
.hero-band .wizard .btn-outline { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.hero-band .wizard .btn-outline:hover { background: var(--mint); color: var(--ink); }
