/* Matkht — design tokens (indigo + periwinkle, inspired by the client's chosen reference) */
:root {
  --ink: #0c1220;
  --ink-soft: #2f3b4d;
  --muted: #566273;
  --navy: #101830;
  --indigo: #14304f;
  --indigo-2: #0f8a22;
  --brand: #0a6a18;
  --link: #1f5a70;
  --lilac: #7fe0a4;
  --sky: #8bb7c9;
  --bg: #dfe8ea;
  --bg-2: #e4efe8;
  --bg-3: #f3f7f6;
  --sand: #efe9dc;
  --card: #ffffff;
  --line: #c5d3d6;
  --ok: #2f7d5b;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 48, .06), 0 18px 40px -18px rgba(20, 48, 79, .35);
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --frame: min(1240px, 100% - 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.03rem; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--indigo-2); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .55em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--indigo); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); transform: rotate(45deg); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .95rem/1 var(--font); padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 106, 24, .9); }
.btn-primary:hover { background: var(--indigo-2); color: #fff; }
.btn-accent { background: var(--lilac); color: var(--navy); }
.btn-accent:hover { background: #a6efc0; color: var(--navy); }
.btn-ghost { color: var(--navy); border-color: rgba(16, 24, 48, .25); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-lg { padding: 18px 30px; font-size: 1rem; }

/* Floating pill header */
.site-header { position: sticky; top: 10px; z-index: 50; width: var(--frame); margin: 10px auto 0; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 0 12px 0 20px; background: rgba(16, 24, 48, .94); backdrop-filter: blur(12px); border-radius: 999px; box-shadow: 0 14px 34px -14px rgba(16, 24, 48, .7); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--lilac); color: var(--navy); font: 800 1.25rem/1 var(--font); }
.brand-text { font: 800 1.25rem/1 var(--font); letter-spacing: -.02em; display: flex; flex-direction: column; gap: 3px; }
.brand-text small { font: 600 .58rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; opacity: .65; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .dd > a { padding: 10px 13px; text-decoration: none; color: rgba(255, 255, 255, .88); font-weight: 600; font-size: .92rem; border-radius: 999px; display: block; }
.nav > a:hover, .dd > a:hover, .nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .12); }
.dd { position: relative; }
.dd-menu { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px; margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); display: none; }
.dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: grid; }
.dd-menu a { padding: 11px 14px; text-decoration: none; color: var(--ink); border-radius: 12px; font-size: .94rem; font-weight: 500; }
.dd-menu a:hover { background: var(--bg-3); color: var(--indigo); }
.nav-cta { display: flex; gap: 8px; margin-left: 10px; }
.nav-cta .btn { padding: 12px 18px; font-size: .88rem; }
.nav-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.nav-cta .btn-ghost:hover { border-color: #fff; color: #fff; }
.nav-cta .btn-primary { background: var(--lilac); color: var(--navy); box-shadow: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: var(--navy); border-radius: 26px; max-height: calc(100vh - 110px); overflow: auto; box-shadow: 0 24px 50px -20px rgba(16, 24, 48, .8); }
  .nav.open { display: flex; }
  .nav > a, .dd > a { padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }
  .dd::after { display: none; }
  .dd-menu { position: static; display: grid; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 14px; margin: 0; min-width: 0; }
  .dd-menu a { padding: 9px 6px; color: rgba(255, 255, 255, .7); }
  .dd-menu a:hover { background: transparent; color: #fff; }
  .nav-cta { margin: 16px 0 0; flex-direction: column; }
  .nav-cta .btn { width: 100%; padding: 15px; }
}

/* Breadcrumbs */
.crumbs { width: var(--frame); margin: 14px auto 0; font-size: .84rem; }
.crumbs .wrap { width: 100%; padding: 0 12px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 4px; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--indigo); text-decoration: underline; }

/* Hero panel */
.hero { position: relative; overflow: hidden; width: var(--frame); margin: 12px auto 0; border-radius: 32px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, var(--indigo) 55%, #1d4a5c 100%); padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); isolation: isolate; }
.hero::before, .hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; }
.hero::before { right: -8%; top: -30%; width: 62%; height: 170%; background: repeating-linear-gradient(115deg, rgba(127, 224, 164, .0) 0 46px, rgba(127, 224, 164, .16) 46px 92px, rgba(139, 183, 201, .10) 92px 106px); transform: skewX(-8deg); mask-image: linear-gradient(to left, #000 25%, transparent 95%); }
.hero::after { left: -10%; bottom: -40%; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(10, 106, 24, .55), transparent); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--lilac), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.hero .eyebrow::before { background: var(--lilac); }
.hero .lede { color: rgba(255, 255, 255, .82); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.hero-note { font-size: .9rem; color: rgba(255, 255, 255, .7); display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.hero-note span::before { content: '✓'; color: var(--lilac); margin-right: 7px; font-weight: 800; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-page { padding: clamp(44px, 7vw, 80px) 0 clamp(48px, 7vw, 84px); }
.hero-page h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 20ch; }
.hero-page .lede { margin-bottom: 0; }

/* Hero visual: checklist card + floating chips (no stock photo needed) */
.hero-art { position: relative; padding: 18px 0 30px; }
.close-card { position: relative; background: #fff; color: var(--ink); border-radius: 28px; padding: 26px; box-shadow: 0 34px 70px -24px rgba(0, 0, 40, .75); transform: rotate(1.5deg); }
.close-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.close-card h2 { font-size: 1.35rem; margin: 0; letter-spacing: -.02em; }
.close-card .tag { font-size: .68rem; font-weight: 700; background: var(--bg-3); color: var(--indigo); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.close-list { list-style: none; margin: 0; padding: 0; }
.close-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--bg-2); font-weight: 600; font-size: .96rem; }
.close-list li:first-child { border-top: 0; }
.close-list .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .78rem; }
.close-list .when { margin-left: auto; font-size: .78rem; color: var(--muted); font-weight: 500; }
.close-foot { margin-top: 12px; padding: 15px 18px; background: var(--navy); color: #fff; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.close-foot strong { color: var(--lilac); font-size: 1.15rem; }
.chip-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font-weight: 700; font-size: .84rem; padding: 10px 16px 10px 12px; border-radius: 999px; box-shadow: 0 16px 32px -14px rgba(0, 0, 40, .6); white-space: nowrap; }
.chip-float i { width: 22px; height: 22px; border-radius: 50%; background: var(--lilac); display: grid; place-items: center; font-style: normal; font-size: .72rem; }
.chip-a { left: -18px; top: -4px; z-index: 2; }
.chip-b { right: -10px; bottom: 0; z-index: 2; }
.hero-art { padding: 24px 0 30px; }
@media (max-width: 900px) { .close-card { transform: none; } .chip-a { left: 8px; } .chip-b { right: 8px; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.alt { background: var(--bg-2); border-radius: 40px; width: var(--frame); margin-inline: auto; padding-inline: 0; }
.section.white { background: #fff; border-radius: 40px; width: var(--frame); margin-inline: auto; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.trust { width: var(--frame); margin: 14px auto 0; }
.trust ul { list-style: none; margin: 0; padding: 18px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; font-weight: 700; color: var(--indigo); font-size: .92rem; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); border-radius: 999px; }
.trust li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: var(--brand); margin-right: 10px; transform: rotate(45deg); }
@media (max-width: 720px) { .trust ul { border-radius: 24px; } }

.card { background: var(--card); border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-4px); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: .92rem; color: var(--link); }
.card .more::after { content: '→'; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-3); transition: transform .2s; }
a.card:hover .more::after { transform: translateX(4px); background: var(--lilac); }
.icon { width: 50px; height: 50px; border-radius: 16px; background: var(--bg-3); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 26px; height: 26px; }

.service-card { padding: 36px; }
.service-card.dark { background: linear-gradient(140deg, var(--navy), var(--indigo)); color: rgba(255, 255, 255, .86); border-color: transparent; }
.service-card.dark h3 { color: #fff; }
.service-card.dark .more { color: var(--lilac); }
.service-card.dark .more::after { background: rgba(255, 255, 255, .14); }
.service-card.dark .icon { background: rgba(127, 224, 164, .18); color: var(--lilac); }

.checks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.checks.two { grid-template-columns: repeat(2, 1fr); gap: 11px 32px; }
@media (max-width: 720px) { .checks.two { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--lilac); font-weight: 800; margin-bottom: 18px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 1em; list-style: none; }
.chips li, .chips a { padding: 10px 18px; background: #fff; border-radius: 999px; font-weight: 600; font-size: .93rem; text-decoration: none; color: var(--navy); box-shadow: 0 6px 16px -10px rgba(20, 48, 79, .5); }
.chips a:hover { background: var(--navy); color: #fff; }

.callout { border-radius: var(--radius); background: linear-gradient(140deg, var(--navy), var(--indigo)); color: rgba(255, 255, 255, .88); padding: 28px 30px; margin: 24px 0; }
.callout strong { color: var(--lilac); }
.callout p:last-child { margin: 0; }

/* Prose (long-form pages & blog) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4em 0; font-size: .96rem; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--bg-2); vertical-align: top; }
.prose th { background: var(--navy); color: #fff; font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.article-meta { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.aside { position: sticky; top: 100px; }
.aside .card { padding: 26px; }
.aside .form { box-shadow: none; padding: 0; border: 0; background: transparent; }

.post-card { display: flex; flex-direction: column; gap: 8px; }
.post-card .meta { font-size: .78rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: 0 6px 18px -12px rgba(20, 48, 79, .5); }
.faq summary { cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; list-style: none; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; font-size: 1.3rem; color: var(--brand); transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--lilac); }
.faq-a { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-a p:last-child { margin: 0; }

/* Form */
.form { background: #fff; border-radius: 28px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-3); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 106, 24, .2); background: #fff; }
.form .invalid { border-color: #b3261e; }
.form .consent { font-size: .8rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* CTA band */
.cta-band { width: var(--frame); margin: clamp(40px, 6vw, 72px) auto 0; border-radius: 36px; color: #fff; padding: clamp(40px, 6vw, 68px) clamp(24px, 5vw, 64px); background: linear-gradient(120deg, var(--navy), var(--indigo) 60%, #1d4a5c); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; right: -6%; top: -40%; width: 46%; height: 190%; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(127, 224, 164, .16) 40px 80px); transform: skewX(-8deg); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; width: 100%; margin: 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { width: var(--frame); margin: 12px auto 12px; background: var(--navy); color: rgba(255, 255, 255, .72); padding: 60px clamp(20px, 4vw, 48px) 26px; font-size: .95rem; border-radius: 36px; }
.site-footer .wrap { width: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--lilac); }
.site-footer .footer-grid > div:not(:first-child) a { display: block; padding: 5px 0; }
.foot-h { font: 700 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); margin: 0 0 14px; }
.foot-blurb { margin: 16px 0; max-width: 34ch; }
.foot-contact { font-weight: 600; }
.foot-es { color: var(--lilac); font-weight: 600; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .5); }
.foot-legal a { color: rgba(255, 255, 255, .72); }
.mobile-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 76px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px; z-index: 60; padding: 8px; background: rgba(16, 24, 48, .94); backdrop-filter: blur(10px); border-radius: 999px; }
  .mobile-bar a { text-align: center; padding: 13px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); font-size: .92rem; }
  .mobile-bar a.mb-primary { background: var(--lilac); color: var(--navy); border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .mobile-bar, .cta-band { display: none; } }

/* ---------- Premium polish layer ---------- */
.lang { border: 1px solid rgba(255,255,255,.3); margin-left: 4px; font-size: .8rem !important; letter-spacing: .08em; }
.faq-cat { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 2.2em 0 .8em; display: flex; align-items: center; gap: 12px; }
.faq-cat:first-child { margin-top: 0; }
.faq-cat::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* film-grain texture on dark surfaces */
.hero::before, .cta-band::before { will-change: transform; }
.hero > .wrap, .cta-inner { position: relative; z-index: 1; }
.hero, .cta-band, .site-footer { background-blend-mode: normal; }
.grain::after, .hero::after { mix-blend-mode: normal; }

/* headline accent */
.hero h1 { text-shadow: 0 2px 30px rgba(16, 24, 48, .35); letter-spacing: -.035em; }
.section-head h2, .cta-band h2 { letter-spacing: -.035em; }
.lede { line-height: 1.6; }

/* refined cards */
.card { position: relative; border: 1px solid rgba(255,255,255,.75); background: linear-gradient(180deg, #fff, #fbfcff); }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(10, 106, 24,.35), transparent 40%, rgba(139, 183, 201,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0; transition: opacity .25s; }
a.card:hover::before, .card:hover::before { opacity: 1; }
a.card:hover { box-shadow: 0 2px 4px rgba(16, 24, 48,.06), 0 30px 60px -24px rgba(20, 48, 79,.5); }
.service-card.dark::before { display: none; }
.service-card.dark { box-shadow: 0 30px 60px -26px rgba(16, 24, 48,.75); }
.step { transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); }
.step::before { box-shadow: 0 8px 18px -8px rgba(16, 24, 48,.6); }

/* mini chart card (hero) */
.mini-chart { position: absolute; right: -14px; bottom: -6px; z-index: 2; width: 210px; background: rgba(255,255,255,.96); color: var(--navy); border-radius: 20px; padding: 14px 16px 12px; box-shadow: 0 24px 44px -18px rgba(0,0,40,.7); }
.mini-chart small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mini-chart strong { display: block; font-size: .95rem; margin: 2px 0 6px; letter-spacing: -.01em; }
.mini-chart svg { display: block; width: 100%; height: 54px; }
.mini-chart em { display: block; margin-top: 4px; font-style: normal; font-size: .62rem; color: var(--muted); }
@media (max-width: 900px) { .mini-chart { right: 6px; bottom: -14px; } }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-art .close-card { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-8px); } }
@media (max-width: 900px) { .hero-art .close-card { animation: none; } }

/* footer wordmark + top rule */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: 'Matkht'; position: absolute; right: -2%; bottom: -.32em; font: 800 clamp(6rem, 18vw, 15rem)/1 var(--font); letter-spacing: -.06em; color: rgba(127, 224, 164,.06); pointer-events: none; }
.site-footer > * { position: relative; }

/* buttons: subtle sheen */
.btn-primary, .btn-accent { position: relative; overflow: hidden; }
.btn-primary::after, .btn-accent::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; }
.btn-primary:hover::after, .btn-accent:hover::after { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .hero-art .close-card { animation: none; } }
.brand-text small { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1081px) { .nav > a, .dd > a { padding: 10px 9px; font-size: .88rem; } .nav-cta .btn-ghost { display: none; } }

/* Testimonials (rendered only when real quotes exist, or in PREVIEW builds) */
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.quote figcaption { display: grid; gap: 2px; font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--navy); }
.is-placeholder { outline: 2px dashed #b3261e; outline-offset: -2px; }
.ph-badge { align-self: flex-start; background: #fde7e4; color: #8a1c14; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; }

/* ================= Premium layout pass ================= */
/* Hero: illustrated South Florida skyline as the background (per-page variants via .hb-*) */
.hb-default { --skyline: url(/assets/img/south-florida-skyline-default.svg); }
.hb-miami { --skyline: url(/assets/img/south-florida-skyline-miami.svg); }
.hb-fort-lauderdale { --skyline: url(/assets/img/south-florida-skyline-fort-lauderdale.svg); }
.hb-boca-raton { --skyline: url(/assets/img/south-florida-skyline-boca-raton.svg); }
.hb-hollywood { --skyline: url(/assets/img/south-florida-skyline-hollywood.svg); }
.hero {
  background-image: linear-gradient(90deg, rgba(16, 24, 48,.88) 0%, rgba(16, 24, 48,.55) 42%, rgba(16, 24, 48,0) 70%), var(--skyline, none), linear-gradient(120deg, var(--navy) 0%, var(--indigo) 60%, #1d4a5c 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%, max(100%, 1180px) auto, cover;
  background-position: 0 0, 60% 100%, 0 0;
}
.hero::before { display: none; }
.hero:not(.hero-page) { padding-bottom: clamp(150px, 22vw, 300px); }
.hero-page { padding-bottom: clamp(110px, 15vw, 190px); }
.hero-page .lede { max-width: 54ch; }

/* Cut the generic label-above-heading habit outside heroes; keep the hero labels */
.section .eyebrow, .cta-band .eyebrow { display: none; }

/* Section heads get an accounting-style double rule */
.section-head h2::after { content: ''; display: block; width: 84px; height: 7px; margin-top: 18px; border-top: 2px solid var(--brand); border-bottom: 2px solid var(--brand); }
.section-head.center h2::after { margin-inline: auto; }

/* Ledger rows: replaces the grid of identical cards */
.ledger { border-top: 4px double var(--navy); }
.ledger a { display: grid; grid-template-columns: minmax(200px, .8fr) 1.6fr auto; gap: 8px 32px; align-items: baseline; padding: 26px 10px; border-bottom: 1px solid rgba(16, 24, 48,.18); text-decoration: none; color: var(--ink); transition: background .2s ease, padding .2s ease; }
.ledger a:hover { background: rgba(255,255,255,.6); padding-left: 22px; }
.ledger .nm { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.ledger .ds { color: var(--ink-soft); }
.ledger .go { font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 720px) { .ledger a { grid-template-columns: 1fr; } }

/* Cards: quieter link style */
.card .more::after { content: none; }
.card .more { text-decoration: underline; text-underline-offset: 4px; }

/* City cards carry their own skyline */
.city-card { position: relative; min-height: 300px; color: rgba(255,255,255,.88); background: var(--navy) var(--thumb) center bottom / max(100%, 900px) auto no-repeat; border: 0; overflow: hidden; }
.city-card::before { display: none; }
.city-card h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.city-card p { max-width: 34ch; }
.city-card .more { color: var(--lilac); }
.city-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 24, 48,.85) 0%, rgba(16, 24, 48,.25) 55%, rgba(16, 24, 48,0) 100%); pointer-events: none; }
.city-card > * { position: relative; z-index: 1; }

/* Report illustration */
.art-stack { display: grid; gap: 18px; }
.art { display: block; width: 100%; height: auto; border-radius: 34px; box-shadow: 0 34px 60px -28px rgba(16, 24, 48,.7); }

/* CTA band: skyline strip instead of stripes */
.cta-band { background-image: linear-gradient(90deg, rgba(16, 24, 48,.9) 0%, rgba(16, 24, 48,.5) 55%, rgba(16, 24, 48,.1) 100%), url(/assets/img/south-florida-skyline-default.svg), linear-gradient(120deg, var(--navy), var(--indigo) 70%, #1d4a5c); background-repeat: no-repeat; background-size: 100% 100%, max(100%, 1000px) auto, cover; background-position: 0 0, 70% 100%, 0 0; padding-bottom: clamp(70px, 10vw, 130px); }
.cta-band::before { display: none; }

/* Alt sections read as ledger paper: faint ruled lines */
.section.alt { background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(16, 24, 48,.045) 39px 40px); }

/* Real logo on a white pill so the navy lettering stays legible on the dark header/footer */
.brand-logo { display: block; height: 46px; width: auto; background: #fff; border-radius: 14px; padding: 5px 12px; }
.brand { padding: 0; }
.bar { padding-left: 10px; }
.brand-light .brand-logo { height: 52px; }
@media (max-width: 480px) { .brand-logo { height: 40px; } }


/* Colour variants for rhythm: mint (.alt), sand, white */
.section.sand { background: var(--sand); border-radius: 40px; width: var(--frame); margin-inline: auto; }
.section.alt { background-color: var(--bg-2); }
.hero { background-image: linear-gradient(90deg, rgba(16,24,48,.88) 0%, rgba(16,24,48,.55) 42%, rgba(16,24,48,0) 70%), var(--skyline, none), linear-gradient(120deg, #101830 0%, #14304f 55%, #1d4a5c 100%); }
.eyebrow::before { background: var(--brand); }
.hero .eyebrow::before { background: var(--lilac); }
.ledger { border-top-color: var(--navy); }

/* Animated bookkeeping-on-a-laptop art: as the Bookkeeping hero background and in the home "why" block */
.hb-desk { --skyline: url(/assets/img/bookkeeping-on-laptop-animated.svg); }
.hero.hb-desk { background-size: 100% 100%, auto 96%, cover; background-position: 0 0, 98% 40%; padding-bottom: clamp(48px, 7vw, 88px); }
.hero.hb-desk .lede { max-width: 46ch; }
@media (max-width: 900px) { .hero.hb-desk { background-size: 100% 100%, auto 55%, cover; background-position: 0 0, 100% 100%; padding-bottom: clamp(220px, 60vw, 320px); } }
.art-anim { border-radius: 0; box-shadow: none; background: transparent; }
.art-stack .art-anim { filter: drop-shadow(0 30px 40px rgba(16,24,48,.28)); }
.hero:not(.hero-page) { padding-bottom: clamp(120px, 17vw, 240px); }
.hb-desk { --skyline: url(/assets/img/bookkeeping-on-laptop-hero.svg); }
.hero.hb-desk { background-size: 100% 100%, auto 92%, cover; background-position: 0 0, 100% 50%; }
.hero.hb-desk h1 { max-width: 14ch; }
.hero.hb-desk .lede { max-width: 38ch; }
