/* ClearCall — site styles. Hand-written, no framework. */
:root {
  --ink: #0b1630;
  --ink-2: #1d2a44;
  --body: #36435a;
  --muted: #55627a;
  --line: #dfe6f1;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #eaf1ff;
  --brand: #1f5fe0;
  --brand-dark: #1747ad;
  --brand-bright: #4f8dfb;
  --sky: #8fc2ff;
  --ok: #0e9f6e;
  --navy: #081229;
  --navy-2: #0f1e42;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 22, 48, .06), 0 8px 28px rgba(11, 22, 48, .08);
  --shadow-lg: 0 2px 4px rgba(11, 22, 48, .08), 0 24px 60px rgba(11, 22, 48, .16);
  --wrap: 1180px;
  --font: "Inter var", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.head.center { margin-inline: auto; text-align: center; }
.head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(31, 95, 224, .32); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-tint); color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.topbar { background: var(--navy); color: #c9d6ee; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .mark { height: 40px; width: auto; }
.brand .word { height: 20px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.drop {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font: inherit;
  font-size: .975rem; font-weight: 600; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-links a:hover, .nav-links button.drop:hover, .nav-links a[aria-current="page"] { background: var(--bg-tint); color: var(--brand-dark); }
.nav-links button.drop svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-links button.drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; width: 330px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0; display: none;
}
.submenu.open { display: block; }
.submenu a { display: block; padding: 10px 12px; border-radius: 10px; }
.submenu a strong { display: block; color: var(--ink); font-weight: 700; }
.submenu a span { display: block; font-size: .875rem; font-weight: 400; color: var(--muted); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--brand); }
.nav-cta .btn { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 72px); overflow: auto; }
  .primary-nav.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav-links a, .nav-links button.drop { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .submenu { position: static; width: auto; box-shadow: none; border: 0; border-left: 2px solid var(--bg-tint); border-radius: 0; margin-left: 12px; padding: 0 0 0 4px; }
}
@media (max-width: 520px) {
  .topbar .hours { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav-phone span { display: none; }
  .nav-phone { width: 46px; height: 46px; border-radius: 12px; background: var(--brand); justify-content: center; }
  .nav-phone svg { color: #fff; width: 20px; height: 20px; }
}

/* Hero */
.hero { position: relative; background: var(--navy); color: #d5def0; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(79, 141, 251, .34), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(31, 95, 224, .28), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.hero h1, .hero h2 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero .lead { color: #c3cfe6; max-width: 34em; }
.hero .eyebrow { color: var(--sky); }
.hero-home .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero-page .wrap { padding-block: clamp(44px, 6vw, 80px); }
.hero-page .inner { max-width: 800px; }
.hero .btn-row { margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: .95rem; color: #c3cfe6; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: #5fe0b0; flex: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .9rem; color: #a9b8d6; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: #d5def0; }
@media (max-width: 900px) { .hero-home .wrap { grid-template-columns: 1fr; } }

/* Hero call-flow illustration */
.flow { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.flow-title { display: flex; align-items: center; justify-content: space-between; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a9b8d6; margin-bottom: 16px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: #5fe0b0; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5fe0b0; box-shadow: 0 0 0 0 rgba(95, 224, 176, .6); animation: pulse 1.8s infinite; }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.flow ol::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--brand-bright), #5fe0b0); opacity: .5; }
.flow li { position: relative; display: flex; align-items: center; gap: 14px; background: rgba(8, 18, 41, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 12px 14px; opacity: .55; animation: step 8s infinite; }
.flow li:nth-child(1) { animation-delay: 0s; } .flow li:nth-child(2) { animation-delay: 2s; }
.flow li:nth-child(3) { animation-delay: 4s; } .flow li:nth-child(4) { animation-delay: 6s; }
.flow .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: #fff; flex: none; position: relative; z-index: 1; }
.flow .ico svg { width: 18px; height: 18px; }
.flow li:last-child .ico { background: var(--ok); }
.flow strong { display: block; color: #fff; font-size: .98rem; line-height: 1.3; }
.flow span.sub { display: block; font-size: .85rem; color: #a9b8d6; line-height: 1.35; }
.flow-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.flow-foot div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 12px; font-size: .8rem; color: #a9b8d6; line-height: 1.3; }
.flow-foot b { display: block; color: #fff; font-size: .95rem; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(95, 224, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 224, 176, 0); } }
@keyframes step { 0%, 22% { opacity: 1; border-color: rgba(143, 194, 255, .6); transform: translateX(4px); } 30%, 100% { opacity: .55; border-color: rgba(255, 255, 255, .1); transform: none; } }

/* Partner strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px 36px; flex-wrap: wrap; padding-block: 22px; }
.strip p { margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.strip ul { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.strip img { height: 44px; width: auto; max-width: 150px; object-fit: contain; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card p { color: var(--muted); font-size: 1rem; }
.card > :last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c5d6f7; }
.card .icon { width: 48px; height: 48px; border-radius: 13px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card .more { margin-top: auto; padding-top: 8px; color: var(--brand); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; }
.tags li { font-size: .8125rem; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--ok); margin-top: 3px; }
.checks.cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .checks.cols { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--navy); color: #c9d6ee; border-radius: 24px; padding: clamp(26px, 4vw, 40px); position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(79, 141, 251, .35), transparent 65%); pointer-events: none; }
.panel > * { position: relative; }
.panel h2, .panel h3 { color: #fff; }
.panel .checks li { color: #e3eaf8; }
.panel .checks svg { color: #5fe0b0; }
.photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stats b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stats span { font-size: .95rem; color: var(--muted); }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: .875rem; font-weight: 800; color: var(--brand); letter-spacing: .08em; margin-bottom: 10px; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .95rem; color: var(--muted); margin: 0; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .steps, .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps.four { grid-template-columns: 1fr; } }

/* Products */
.product { padding: 0; overflow: hidden; }
.product .shot { background: linear-gradient(180deg, #f7f9fd, #e9effa); height: 220px; display: grid; place-items: center; padding: 18px; }
.product .shot img { height: 184px; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product .tier { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.product ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: .925rem; color: var(--muted); display: grid; gap: 4px; }
.product ul li::before { content: "·"; margin-right: 8px; color: var(--brand); font-weight: 800; }

/* Logos & quote */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; padding: 0; margin: 0; }
.logos li { flex: 0 1 172px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; place-items: center; height: 96px; }
.logos img { max-height: 56px; width: auto; object-fit: contain; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 4vw, 44px); margin: 28px 0 0; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 18px; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--muted); }
.quote figcaption img { height: 40px; width: auto; }
.quote figcaption strong { color: var(--ink); display: block; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .975rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); color: var(--ink); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
tbody th { color: var(--ink); font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
td.good { color: var(--ink); font-weight: 600; }

/* Plans */
.plan { position: relative; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--bg-tint), var(--shadow); }
.plan .flag { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan .speed { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.plan .for { font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.plan .checks { font-size: .95rem; gap: 8px; margin-bottom: 20px; }
.plan .checks svg { width: 18px; height: 18px; }
.plan .btn { margin-top: auto; }
.note { font-size: .925rem; color: var(--muted); margin-top: 18px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq details[open] { border-color: #c5d6f7; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq .answer { padding: 0 22px 20px; color: var(--body); }
.faq .answer > :last-child { margin-bottom: 0; }

/* CTA band */
.cta { background: var(--navy); color: #c9d6ee; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 90% 0%, rgba(79, 141, 251, .4), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(31, 95, 224, .3), transparent 60%); }
.cta .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.cta h2 { color: #fff; }
.cta p { font-size: 1.125rem; max-width: 36em; }
.cta .big-phone { display: block; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.03em; line-height: 1.1; }
.cta .big-phone:hover { color: var(--sky); }
.cta .side { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 26px; }
.cta .side small { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.cta .side p { font-size: .95rem; margin: 8px 0 18px; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Blog */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: inherit; font-size: .925rem; font-weight: 600; padding: 8px 16px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-card { padding: 0; overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); margin-bottom: 10px; align-items: center; }
.pill { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); background: var(--bg-tint); padding: 3px 10px; border-radius: 999px; }
.post-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; }
.post-card.feature img { height: 100%; aspect-ratio: auto; min-height: 260px; }
.post-card.feature .body { padding: clamp(22px, 3vw, 38px); justify-content: center; }
@media (max-width: 760px) { .post-card.feature { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 940px) { .article-layout { grid-template-columns: 1fr; } }
.aside-card { position: sticky; top: 100px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h2 { font-size: 1.2rem; }
.aside-card p { font-size: .95rem; color: var(--muted); }
.aside-card .btn { width: 100%; margin-bottom: 10px; }
.cover { border-radius: 20px; overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* Prose (blog + legal) */
.prose { max-width: 74ch; font-size: 1.09rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.8em; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose h4 { margin-top: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .table-wrap { margin: 1.4em 0; }
.prose table { font-size: .95rem; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow: auto; font-size: .9rem; border-left: 2px solid var(--line); padding-left: 16px; }
.toc h2 { font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.toc a { color: var(--body); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; max-height: none; } }

/* Regional */
.pathway { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.pathway:first-of-type { border-top: 0; padding-top: 0; }
.pathway .num { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-tint); color: var(--brand-dark); font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.pathway h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.pathway .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 560px) { .pathway { grid-template-columns: 1fr; gap: 12px; } }
.callout { background: var(--bg-tint); border-radius: var(--radius); padding: 18px 22px; color: var(--ink-2); font-size: .975rem; margin-bottom: 36px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list b { font-size: 1.1rem; font-weight: 700; color: var(--ink); }

/* Footer */
.site-footer { background: var(--navy); color: #a9b8d6; font-size: .95rem; padding: clamp(48px, 6vw, 72px) 0 110px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d5def0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; }
.foot-logo img { height: 92px; width: auto; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .875rem; }
.social { display: flex !important; grid-auto-flow: column; gap: 10px !important; margin-top: 16px !important; }
.social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.social a:hover { background: var(--brand); }
.social svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .site-footer { padding-bottom: 40px; } }

/* Mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.callbar .btn { min-height: 48px; padding: 10px 12px; font-size: .95rem; }
@media (max-width: 760px) { .callbar { display: grid; } }

/* 404 */
.notfound { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--bg-tint); line-height: 1; letter-spacing: -.05em; -webkit-text-stroke: 2px var(--brand); }
.notfound .btn-row { justify-content: center; margin-top: 24px; }

/* Reveal on scroll (progressive enhancement; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flow li { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .callbar, .cta, .site-footer .cols { display: none; }
  .hero { background: none; color: #000; } .hero h1 { color: #000; }
}
