/* KeyBridge Web Solutions — main stylesheet */
:root {
  --brand: #3789eb;
  --brand-strong: #1b63c2;
  --brand-soft: #eaf2fd;
  --ink: #151515;
  --ink-2: #2b3440;
  --muted: #5a6573;
  --line: #e1e5ea;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --dark: #141a22;
  --dark-2: #1d2530;
  --on-dark: #d7dde5;
  --ok: #1d7a46;
  --error: #b42318;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(20, 26, 34, .08);
  --container: 1170px;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.7 var(--font-body); color: var(--ink-2); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .container { padding: 0 24px; } }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font: 600 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 14px; }
.section-dark .eyebrow { color: #8fbcf5; }
.lead { font-size: 1.1rem; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.rounded { border-radius: var(--radius); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border: 2px solid transparent; border-radius: 6px; font: 600 .95rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: #154f9c; color: #fff; }
.btn-outline { border-color: var(--brand-strong); color: var(--brand-strong); background: transparent; }
.btn-outline:hover { background: var(--brand-strong); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Top bar */
.topbar { background: var(--dark); color: var(--on-dark); font-size: .85rem; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ccf7c; margin-right: 8px; vertical-align: 1px; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { height: 46px; width: auto; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a, .submenu-toggle { display: block; padding: 10px 12px; font: 500 .93rem/1.3 var(--font-head); color: var(--ink); text-decoration: none; border-radius: 6px; background: none; border: 0; cursor: pointer; }
.main-nav a:hover, .submenu-toggle:hover { color: var(--brand-strong); }
.main-nav a[aria-current="page"], .main-nav .is-active > .submenu-toggle { color: var(--brand-strong); }
.main-nav .nav-cta a { background: var(--brand-strong); color: #fff; padding: 10px 18px; margin-left: 8px; }
.main-nav .nav-cta a:hover { background: #154f9c; color: #fff; }
.has-sub { position: relative; }
.submenu-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.has-sub.open > .submenu { display: block; }
@media (hover: hover) and (min-width: 1101px) { .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: block; } }
.submenu a { padding: 9px 12px; font-weight: 400; }
.submenu a:hover { background: var(--bg-alt); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .main-nav a, .submenu-toggle { padding: 12px 8px; width: 100%; text-align: left; border-bottom: 1px solid var(--line); border-radius: 0; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .main-nav .nav-cta a { margin: 12px 0 0; text-align: center; border-radius: 6px; border: 0; }
}

/* Hero */
.hero { padding: 72px 0; background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); }
.hero .split { gap: 40px; }
.hero p.lead { max-width: 560px; }
.hero-img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 634 / 373; object-fit: cover; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Page title band */
.page-title { padding: 56px 0 48px; background: var(--dark); color: var(--on-dark); }
.page-title h1 { color: #fff; margin-bottom: .3em; }
.page-title p { max-width: 720px; margin: 0; }
.breadcrumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #8a96a5; }
.breadcrumbs a { color: #b9d6fa; }
.breadcrumbs a:hover { color: #fff; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: 12px; font-weight: 600; font-family: var(--font-head); font-size: .93rem; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.card-hover { transition: box-shadow .2s, border-color .2s, transform .2s; }
.card-hover:hover { box-shadow: var(--shadow); border-color: #c9d6e6; }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; margin-bottom: 18px; }
.icon-badge svg { width: 26px; height: 26px; }
.section-dark .card { background: var(--dark-2); border-color: #2c3644; color: var(--on-dark); }

/* Tiles (quick links) */
.tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font: 600 .97rem/1.35 var(--font-head); transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.tile .icon-badge { margin: 0; width: 44px; height: 44px; flex: none; }
.tile .icon-badge svg { width: 22px; height: 22px; }
.tile small { display: block; font: 400 .85rem/1.4 var(--font-body); color: var(--muted); margin-top: 2px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-strong); color: #fff; font: 700 1rem/1 var(--font-head); margin-bottom: 16px; }
.steps h3 { margin-bottom: .4em; }
.steps p { margin: 0; color: var(--muted); }

/* Check lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b63c2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.x-list li::before { background: #fdecea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 11px no-repeat; }
.section-dark .check-list li::before { background-color: #24364d; }

/* Notices */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #fff8e6; border: 1px solid #f1d58c; color: #5b4300; font-size: .95rem; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.notice p { margin: 0; }
.notice-info { background: var(--brand-soft); border-color: #bcd6f6; color: #163e70; }

/* Pricing */
.price-card { position: relative; text-align: left; }
.price-card.featured { border: 2px solid var(--brand-strong); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -13px; left: 28px; background: var(--brand-strong); color: #fff; font: 600 .75rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 20px; }
.price { font: 700 2.4rem/1.1 var(--font-head); color: var(--ink); margin: 6px 0 4px; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price del { font-size: 1.1rem; color: var(--muted); font-weight: 500; margin-right: 6px; }
.price-note { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.price-card .check-list { margin-bottom: 24px; }
.price-card .btn { margin-top: auto; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative; font: 600 1rem/1.45 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--brand-strong); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: var(--brand-strong); color: #e8f1fd; padding: 56px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font: 600 .9rem/1.4 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #b9c3cf; border-radius: 6px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 3px rgba(55, 137, 235, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.field-error { font-size: .85rem; color: var(--error); margin-top: 6px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--brand-strong); }
.field-check label { font: inherit; color: var(--ink-2); margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 6px; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #e7f6ee; color: var(--ok); border: 1px solid #a9dcbf; }
.form-status.is-error { background: #fdecea; color: var(--error); border: 1px solid #f3b8b2; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input[type="email"] { flex: 1 1 200px; min-height: 48px; padding: 11px 14px; font: inherit; border-radius: 6px; border: 1px solid #3a4655; background: var(--dark-2); color: #fff; }
.inline-form input[type="email"]::placeholder { color: #9aa6b4; }

/* Contact blocks */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon-badge { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--ink); }

/* Legal content */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.charge-note { padding: 16px 20px; border-left: 4px solid var(--brand-strong); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 28px; }
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-head); color: var(--ink); background: var(--bg-alt); }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); padding: 64px 0 0; font-size: .95rem; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: .04em; margin-bottom: 18px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-logo img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid #2c3644; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #a4afbd; }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.payments img { height: 28px; width: auto; background: #fff; border-radius: 4px; padding: 3px 6px; margin-top: 18px; }
.disclaimer { font-size: .82rem; color: #8f9bab; margin-top: 16px; }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.text-muted { color: var(--muted); }
.center { text-align: center; }

/* 404 */
.error-page { padding: 120px 0; text-align: center; }
.error-code { font: 700 clamp(5rem, 3rem + 10vw, 9rem)/1 var(--font-head); color: var(--brand); margin-bottom: 12px; }

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .form-card { padding: 22px; }
  .card { padding: 22px; }
  .cta-band .btn-row, .hero .btn-row { width: 100%; }
  .cta-band .btn, .hero .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .site-header, .cta-band, .site-footer, .nav-toggle { display: none; }
}

/* Page-specific helpers */
.split-top { align-items: start; }
.btn-row-center { justify-content: center; }
.hero .breadcrumbs { color: var(--muted); }
.hero .breadcrumbs a { color: var(--brand-strong); }
.section-dark a { color: #b9d6fa; }
.section-dark a:hover { color: #fff; }
.form-card h2 { font-size: 1.3rem; }
.section-dark .check-list li::before { background-color: #dbe9fb; }
.section-dark .x-list li::before { background-color: #fde3e0; }
[id] { scroll-margin-top: 96px; }
.choice-group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice-group legend { font: 600 .9rem/1.4 var(--font-head); color: var(--ink); margin-bottom: 8px; padding: 0; width: 100%; }
.choice-group label { display: inline-flex; align-items: center; gap: 8px; font: 400 .95rem/1.4 var(--font-body); color: var(--ink-2); cursor: pointer; min-height: 32px; }
.choice-group input { width: 18px; height: 18px; accent-color: var(--brand-strong); margin: 0; }
.h-sm { font-size: 1.1rem; }
.site-footer li { overflow-wrap: anywhere; }

/* Guides (blog articles) */
.article { max-width: 760px; font-size: 1.04rem; }
.article h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin-top: 2em; }
.article h3 { margin-top: 1.6em; }
.article ol, .article ul { margin-bottom: 1.2em; }
.article li { margin-bottom: .5em; }
.article code, .article kbd { font: 500 .88em/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; overflow-wrap: anywhere; }
.article kbd { border-bottom-width: 2px; }
.answer { padding: 20px 24px; border-left: 4px solid var(--brand-strong); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 28px; font-size: 1.08rem; }
.answer p { margin: 0; color: var(--ink); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0 8px; }
.toc h2 { font-size: 1rem; margin: 0 0 .6em; letter-spacing: .02em; }
.toc ol { margin: 0; }
.toc li { margin-bottom: .3em; }
.diagram { margin: 28px 0; }
.diagram svg { width: 100%; height: auto; max-width: 640px; }
.diagram figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 32px 0; padding: 22px 24px; background: var(--brand-soft); border: 1px solid #bcd6f6; border-radius: var(--radius); }
.cta-box div { flex: 1 1 320px; }
.cta-box strong { display: block; font: 700 1.05rem/1.4 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.cta-box p { margin: 0; color: #163e70; font-size: .97rem; }
@media (max-width: 600px) { .cta-box .btn { flex: 1 1 100%; } }

/* Sticky call bar: full-width on phones/tablets, compact pill on desktop.
   Kept small so it never acts as an intrusive interstitial; the footer reserves space under it. */
.sticky-cta { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(20, 26, 34, .08); transition: transform .2s; }
.sticky-cta.is-hidden { transform: translateY(120%); }
.sticky-cta-text { display: none; margin: 0; }
.sticky-cta .btn { flex: 1 1 0; padding: 10px 14px; }
.sticky-cta .btn svg { width: 18px; height: 18px; }
.sticky-cta .call-long { display: none; }
.site-footer { padding-bottom: 72px; }
@media (min-width: 1101px) {
  .sticky-cta { left: auto; right: 24px; bottom: 24px; gap: 14px; padding: 8px 8px 8px 20px; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
  .sticky-cta-text { display: block; font: 600 .92rem/1.3 var(--font-head); color: var(--ink); }
  .sticky-cta .btn { flex: none; border-radius: 999px; }
  .sticky-cta .call-short, .sticky-cta-secondary { display: none; }
  .sticky-cta .call-long { display: inline; }
  .site-footer { padding-bottom: 88px; }
}
@media print { .sticky-cta { display: none; } }

/* Guide images */
.article-figure { margin: 24px 0 28px; }
.article-figure img { width: 100%; max-width: 720px; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.article-figure figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; max-width: 720px; }
