/* DocElevate website styles */
:root {
  --ink: #172d2b;
  --ink-2: #233d39;
  --muted: #5f706c;
  --orange: #ef7647;
  --orange-dark: #d85f31;
  --orange-soft: #fdeee6;
  --cream: #faf7f2;
  --paper: #fffefa;
  --sage: #e8eee7;
  --line: #e8e5de;
  --ok: #1f8a5b;
  --err: #c0392b;
  --display: 'Manrope', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --max: 1760px;
  --gutter: clamp(32px, 6vw, 120px);
  --radius: 14px;
  --shadow: 0 18px 45px rgba(37, 59, 50, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--ink); }
h1 em, h2 em { font-style: normal; color: var(--orange); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(var(--max), calc(100% - var(--gutter))); margin-inline: auto; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #eef2ef; }
.section.dark h2, .section.dark h3 { color: #fff; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 200; }
.skip-link:focus { left: 8px; }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px; }
.section.dark .eyebrow { color: #f9b28d; }
.section-head { max-width: 860px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }
.section.dark .section-head p { color: #b9c6c1; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; padding: 14px 22px; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, color .2s; }
.button:hover { transform: translateY(-1px); }
.button-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(239, 118, 71, .28); }
.button-orange:hover { background: var(--orange-dark); }
.button-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-ghost:hover { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.button[disabled] { opacity: .65; cursor: wait; transform: none; }
.text-link { font-weight: 700; color: var(--orange-dark); display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.announcement { background: var(--ink); color: #f1eee6; font-size: 13px; text-align: center; padding: 9px 16px; }
.announcement a { color: #f9b28d; font-weight: 700; margin-left: 6px; }
.header { position: sticky; top: 0; z-index: 100; background: rgba(250, 247, 242, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { width: min(var(--max), calc(100% - var(--gutter))); margin-inline: auto; height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-word { font: 800 26px var(--display); letter-spacing: -1.2px; }
.brand-word span { color: var(--orange); }
.brand small { font-size: 8.5px; letter-spacing: 1.7px; margin-top: 5px; color: #6e7771; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { font-size: 15px; font-weight: 500; color: #44534f; transition: color .2s; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--orange-dark); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--orange); }
.header-cta { font-size: 14px; font-weight: 700; border: 1px solid var(--ink); border-radius: 10px; padding: 11px 18px; transition: .2s; white-space: nowrap; }
.header-cta:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: .2s; }
.menu-toggle i:first-child { top: 17px; }
.menu-toggle i:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; padding: 72px 0 80px; background: #17232e url('https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=1800&q=80') center 25% / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 28, 30, .92) 8%, rgba(14, 28, 30, .72) 55%, rgba(14, 28, 30, .5)); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-pill { display: inline-block; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; padding: 7px 16px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .08); margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 66px); }
.hero h1 em { color: #f9a67e; }
.hero-copy > p { font-size: 18px; color: #dbe5e1; max-width: 560px; margin-top: 22px; }
.hero-benefits { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero-benefits li { padding-left: 30px; position: relative; font-weight: 500; }
.hero-benefits li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 800; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-actions .button-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.hero-actions .button-ghost:hover { background: #fff; color: var(--ink); }

.page-hero { padding: 72px 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); max-width: 860px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 680px; margin-top: 20px; }

/* Forms */
.lead-card { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.lead-card h2, .lead-card h3 { font-size: 27px; }
.lead-card > p { color: var(--muted); font-size: 14.5px; margin: 10px 0 22px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; background: #fff; border: 1px solid #d9d5cb; border-radius: 10px; padding: 13px 14px; transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239, 118, 71, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .error { display: none; color: var(--err); font-size: 13px; margin-top: 5px; }
.field.invalid .error { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.lead-card .button { width: 100%; margin-top: 6px; }
.form-promises { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.form-promises span::before { content: '✓ '; color: var(--ok); font-weight: 800; }
.form-status { display: none; border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-size: 14.5px; font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok { background: #e7f6ee; color: #14633f; border: 1px solid #b7e2cb; }
.form-status.bad { background: #fdeceb; color: #8f2a20; border: 1px solid #f3c1bc; }

/* Client logos: seamless infinite marquee */
.clients { padding: 44px 0 48px; background: var(--paper); border-block: 1px solid var(--line); overflow: hidden; }
.clients .eyebrow { display: block; text-align: center; color: var(--ink-2); font-size: 13px; margin-bottom: 34px; }
.logo-window { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.logo-window:hover .logo-track { animation-play-state: paused; }
.logo-set { display: flex; flex: none; gap: 22px; padding-right: 22px; }
.client-logo { flex: none; width: 260px; height: 118px; display: grid; place-items: center; padding: 18px 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 6px 18px rgba(37, 59, 50, .06); }
.client-logo img { max-height: 76px; max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ddd7c9; }
.card .num { font: 800 14px var(--display); color: var(--orange); letter-spacing: .08em; }
.card h3 { font-size: 21px; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card ul { padding-left: 18px; margin: 14px 0 18px; color: var(--ink-2); font-size: 15px; }
.card li { margin-bottom: 6px; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.section-head + .service-detail { border-top: 0; }
.service-detail:nth-of-type(odd) .service-copy { order: 2; }
.service-copy h3 { font-size: 30px; margin: 12px 0; }
.service-copy p { color: var(--muted); font-size: 17px; }
.service-copy ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.service-copy li { padding-left: 28px; position: relative; }
.service-copy li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.service-panel { background: var(--sage); border-radius: 20px; padding: 36px; min-height: 280px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.service-panel .chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 20px; border-top: 2px solid rgba(255, 255, 255, .2); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font: 800 34px var(--display); color: #f9a67e; margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: #b9c6c1; font-size: 15px; }
.section:not(.dark) .step { border-top-color: var(--line); }
.section:not(.dark) .step p { color: var(--muted); }

/* Client review + comparison */
.review { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 56px; box-shadow: var(--shadow); }
.eyebrow-icon::before { content: ''; display: inline-block; width: 14px; height: 18px; margin-right: 10px; vertical-align: -3px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }
.review blockquote { margin: 0 0 30px; font: 700 clamp(24px, 2.8vw, 34px)/1.35 var(--display); letter-spacing: -.02em; color: var(--ink); }
.review-person { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.review-person img { height: 54px; width: 54px; object-fit: contain; border: 1px solid var(--line); border-radius: 50%; background: #fff; padding: 6px; }
.review-person h3 { font-size: 20px; }
.review-person p { margin: 2px 0 0; color: var(--orange-dark); font-weight: 700; }
.review-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.review-points li { background: var(--orange-soft); color: var(--orange-dark); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 99px; }
.review-points li::before { content: '✓ '; font-weight: 800; }
.review-media { border-radius: 22px; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; max-height: 560px; width: 100%; position: relative; box-shadow: 0 24px 50px rgba(23, 45, 43, .25); }
.review-media video, .review-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 32px; color: #fff; text-align: center; background: radial-gradient(circle at 70% 20%, rgba(239, 118, 71, .35), transparent 55%), linear-gradient(160deg, #1d3a36, #0f1f1d); }
.video-fallback .play { width: 78px; height: 78px; border-radius: 50%; background: var(--orange); margin-bottom: 14px; position: relative; box-shadow: 0 10px 30px rgba(239, 118, 71, .45); }
.video-fallback .play::after { content: ''; position: absolute; left: 31px; top: 24px; border-left: 22px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.video-fallback strong { font: 800 24px var(--display); }
.video-fallback small { color: #b9c6c1; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font: 800 18px var(--display); display: grid; place-items: center; flex: none; }
.compare { max-width: 980px; margin-inline: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 14px 32px; }
.compare-row { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 15.5px; align-items: start; }
.compare-row.head { border-top: 0; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 12px; }
.compare-row b { font-weight: 700; }
.compare-row .yes { color: var(--ink-2); font-weight: 500; }
.compare-row .yes::before { content: '✓ '; color: var(--ok); font-weight: 800; }
.compare-row .no { color: var(--muted); }
.compare-row .no::before { content: '× '; color: var(--err); font-weight: 800; }

/* Content cards (blogs / case studies) */
.feed { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.feed.two { grid-template-columns: repeat(2, 1fr); }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16 / 10; background: var(--sage); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .thumb.empty { display: grid; place-items: center; color: #8ea39c; font: 800 28px var(--display); }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); align-items: center; }
.tag { background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 99px; }
.post-body h3 { font-size: 21px; line-height: 1.25; }
.post-body p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.post-body .text-link { margin-top: 6px; }
.result { display: flex; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 4px; }
.result strong { font: 800 34px var(--display); color: var(--orange-dark); letter-spacing: -.02em; }
.result small { color: var(--muted); font-size: 14px; }
.card-link::after { content: ''; position: absolute; inset: 0; }
.post-card { position: relative; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 9px 18px; font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.load-more { text-align: center; margin-top: 40px; }

.state { grid-column: 1 / -1; text-align: center; padding: 56px 24px; background: var(--paper); border: 1px dashed #d8d2c4; border-radius: var(--radius); color: var(--muted); }
.state h3 { color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.skeleton { background: linear-gradient(100deg, #eee9df 30%, #f6f2ea 50%, #eee9df 70%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); min-height: 340px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Article */
.article-head { padding: 64px 0 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.article-head .narrow, .article .narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.back-link { font-weight: 700; color: var(--muted); font-size: 14px; display: inline-block; margin-bottom: 22px; }
.back-link:hover { color: var(--orange-dark); }
.article-head h1 { font-size: clamp(32px, 4.6vw, 52px); margin: 14px 0 18px; }
.article-head .lede { font-size: 20px; color: var(--muted); }
.article-cover { width: min(1000px, calc(100% - 40px)); margin: 40px auto 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.article { padding: 48px 0 24px; }
.prose { font-size: 18px; line-height: 1.8; color: #243633; }
.prose h2 { font-size: 30px; margin: 2em 0 .6em; }
.prose h3 { font-size: 23px; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 19px; margin: 1.6em 0 .4em; }
.prose a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.8em 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--orange); font: 600 21px/1.5 var(--display); color: var(--ink); }
.prose img { border-radius: 14px; margin: 1.8em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.6em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--sage); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 0 auto; width: min(1000px, calc(100% - 40px)); transform: translateY(-34px); }
.fact { background: var(--ink); color: #fff; border-radius: 14px; padding: 20px 22px; }
.fact small { display: block; color: #9fb2ac; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.fact strong { font: 800 22px var(--display); }
.fact.big strong { font-size: 34px; color: #f9a67e; }
.share { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.share a, .share button { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 7px 16px; font-weight: 600; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 18px var(--display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 118, 71, .5), transparent 65%); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); max-width: 640px; }
.cta-band p { color: #b9c6c1; margin: 12px 0 0; max-width: 560px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .button-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-actions .button-ghost:hover { background: #fff; color: var(--ink); }

/* About */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-split h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.about-split p { color: var(--muted); font-size: 17px; }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pillar h3 { font-size: 19px; margin-bottom: 4px; }
.pillar p { margin: 0; font-size: 15px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 30px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: .2s; }
a.contact-card:hover { border-color: var(--orange); transform: translateX(3px); }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card strong { font-size: 17px; }
.expect { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: e; }
.expect li { counter-increment: e; padding-left: 44px; position: relative; color: var(--ink-2); }
.expect li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font-weight: 800; display: grid; place-items: center; font-size: 14px; }

/* Footer */
.footer { background: var(--ink); color: #c9d4d0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-word { color: #fff; }
.footer .brand small { color: #8fa39d; }
.footer p { font-size: 15px; max-width: 320px; margin-top: 18px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a:hover { color: #f9b28d; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #8fa39d; }

.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: transform .2s; }
.whatsapp-fab:hover { transform: scale(1.07); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: currentColor; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; opacity: 0; pointer-events: none; transition: .3s; z-index: 300; max-width: calc(100% - 40px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .nav { position: fixed; inset: 78px 0 auto 0; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 24px 28px; border-bottom: 1px solid var(--line); transform: translateY(-20px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .25s, opacity .25s, visibility .25s; box-shadow: 0 20px 40px rgba(0, 0, 0, .08); }
  .nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { font-size: 18px; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero-grid, .about-split, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .service-detail:nth-of-type(odd) .service-copy { order: 0; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .feed { grid-template-columns: repeat(2, 1fr); }
  .review { grid-template-columns: 1fr; padding: 36px 30px; }
  .review-media { max-height: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 52px; }
  .grid-2, .grid-3, .grid-4, .feed, .feed.two, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .lead-card { padding: 24px 20px; }
  .review { grid-template-columns: 1fr; padding: 26px 22px; gap: 28px; border-radius: 22px; }
  .compare { padding: 6px 20px; }
  .cta-band { padding: 36px 26px; }
  .compare-row { grid-template-columns: 1fr; gap: 4px; }
  .compare-row.head { display: none; }
  .prose { font-size: 17px; }
  .page-hero { padding: 48px 0 36px; }
}

/* Polish */
.header { transition: box-shadow .25s, background .25s; }
.header.scrolled { box-shadow: 0 8px 28px rgba(23, 45, 43, .08); }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; z-index: 250; }
.tag.demo { background: #eef0f4; color: #5b6475; }
.card .icon { margin-bottom: 4px; }
.step { transition: border-color .2s; }
.step:hover { border-top-color: var(--orange); }
.post-card .post-body h3 a:hover { color: var(--orange-dark); }
.section-head h2, .page-hero h1, .hero h1 { text-wrap: balance; }
.button-orange:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(239, 118, 71, .3); }
.hero-actions .button { min-width: 170px; }
.lead-card { position: relative; }
.lead-card::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--orange), #f4a276); }
@media (max-width: 640px) {
  .client-logo { width: 190px; height: 92px; padding: 14px 18px; }
  .client-logo img { max-height: 58px; }
  .logo-set { gap: 18px; padding-right: 18px; }
  .hero-actions .button { flex: 1; min-width: 0; }
}

/* More testimonials */
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.t-card { display: grid; grid-template-columns: 190px 1fr; gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: box-shadow .2s, transform .2s; }
.t-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.t-photo { position: relative; border-radius: 14px; overflow: hidden; min-height: 220px; background: linear-gradient(160deg, #1d3a36, #0f1f1d); display: grid; place-items: center; }
.t-photo span { font: 800 40px var(--display); color: #f9a67e; }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-body { display: flex; flex-direction: column; }
.t-body p { font-size: 15.5px; color: var(--ink-2); margin-bottom: .8em; }
.t-body strong { margin-top: auto; color: var(--orange-dark); font-size: 14px; }
.center-cta { text-align: center; margin: 36px 0 0; }
@media (max-width: 1020px) { .t-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .t-card { grid-template-columns: 1fr; padding: 20px; } .t-photo { min-height: 200px; } }

.t-grid { width: min(var(--max), calc(100% - var(--gutter))); margin-inline: auto; }

/* Hero: fits the first screen; form styled as a clean card */
:root { --chrome: 118px; }
html.no-announce { --chrome: 79px; }
.hero { min-height: calc(100vh - var(--chrome)); min-height: calc(100svh - var(--chrome)); display: flex; align-items: center; padding: 40px 0; }

.hero h1 { font-size: clamp(36px, 4.6vw, 62px); }
.hero-copy > p { margin-top: 18px; }
.hero-benefits { margin-top: 20px; }
.hero-actions { margin-top: 26px; }
.hero-form { padding: 30px 32px 26px; border-radius: 16px; max-width: 520px; margin-left: auto; width: 100%; }
.hero-form::before { display: none; }
.hero-form .field { margin-bottom: 14px; }
.hero-form .field > span { font-size: 17px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.hero-form .field input { height: 56px; border-radius: 14px; padding: 0 20px; font-size: 16px; border-color: #dcd8cf; }
.hero-form .field input::placeholder { color: #b3b3b3; }
.hero-form .button { height: 58px; font-size: 20px; font-family: var(--display); border-radius: 10px; margin-top: 8px; box-shadow: none; }
.form-note { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 0; }
@media (max-height: 780px) and (min-width: 1021px) {
  .hero { padding: 24px 0; }
  .hero-benefits { display: none; }
  .hero-form { padding: 22px 28px 20px; }
  .hero-form .field { margin-bottom: 10px; }
  .hero-form .field > span { font-size: 15px; margin-bottom: 5px; }
  .hero-form .field input { height: 48px; }
  .hero-form .button { height: 52px; font-size: 18px; }
}
@media (max-width: 1020px) { .hero { min-height: 0; padding: 40px 0 48px; } .hero-form { max-width: none; } }

/* Dismissible announcement bar */
.announcement { position: relative; padding-inline: 48px; }
.announcement-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #cfd8d4; font-size: 20px; line-height: 1; cursor: pointer; }
.announcement-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav { --nav-top: 78px; }

/* Services (full width, video on the right) */
.wrap-wide { width: min(var(--max), calc(100% - var(--gutter))); margin-inline: auto; }
.services-full { padding: 96px 0; }
.services-title { text-align: center; font-size: clamp(32px, 4.4vw, 58px); margin-bottom: 64px; text-wrap: balance; }
.services-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; }
.svc-list { display: grid; gap: 34px; }
.svc { display: grid; grid-template-columns: 92px 1fr; gap: 28px; align-items: start; }
.svc-icon { width: 92px; height: 92px; border-radius: 16px; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(239, 118, 71, .28); }
.svc-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; max-width: 640px; }
.svc-list .button { justify-self: start; margin-top: 6px; }
.services-media { position: sticky; top: 104px; }
.services-media .review-media { aspect-ratio: 16 / 12; max-height: none; border-radius: 20px; }
@media (max-width: 1020px) {
  .services-full { padding: 64px 0; }
  .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .services-media { position: static; order: -1; }
  .services-title { margin-bottom: 36px; }
}
@media (max-width: 640px) {
  .svc { grid-template-columns: 64px 1fr; gap: 18px; }
  .svc-icon { width: 64px; height: 64px; border-radius: 14px; }
  .svc-icon svg { width: 32px; height: 32px; }
  .svc p { font-size: 16px; }
}

/* Full-width layout */
.hero-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 5vw, 96px); }
.hero-form { max-width: 560px; }
.review { padding: clamp(32px, 4vw, 72px); gap: clamp(32px, 5vw, 96px); }
.compare { max-width: none; }
.faq { max-width: 1100px; }
.feed { gap: clamp(20px, 2vw, 36px); }
.page-hero p { max-width: 860px; }
@media (min-width: 1500px) { .feed { grid-template-columns: repeat(4, 1fr); } .feed.two { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1020px) { .feed, .feed.two { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feed, .feed.two { grid-template-columns: 1fr; } }

@media (min-width: 641px) and (max-width: 1499px) { [data-limit="4"] .feed > :nth-child(4) { display: none; } }
@media (min-width: 1500px) { [data-three] .feed { grid-template-columns: repeat(3, 1fr); } }

.about-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; border-radius: 20px; margin-bottom: 20px; box-shadow: var(--shadow); }

/* Real video aspect ratios */
.review-media { aspect-ratio: 4 / 3; max-height: none; }
.services-media .review-media { aspect-ratio: 16 / 9; }
.review { grid-template-columns: 1fr 1fr; }
@media (max-width: 1020px) { .review { grid-template-columns: 1fr; } }

/* ---- Comparison table (matches docelevate.in) ---- */
.upper { text-transform: uppercase; letter-spacing: -.01em; }
.compare { max-width: none; padding: 0; border: 1px solid #e4e2ea; border-radius: 0; background: #fff; box-shadow: 0 10px 30px rgba(37, 59, 50, .08); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 22% 39% 39%; gap: 0; padding: 0; border-top: 1px solid #ebe9ef; align-items: stretch; font-size: 16px; }
.compare-row > * { padding: 20px 24px; display: flex; align-items: flex-start; gap: 14px; line-height: 1.55; }
.compare-row > b { background: #fdf6f1; color: #b4531f; font-weight: 700; font-size: 15px; border-right: 1px solid #ebe9ef; }
.compare-row .yes { color: var(--ink); font-weight: 400; border-right: 1px solid #ebe9ef; }
.compare-row .no { color: var(--ink); }
.compare-row .yes::before, .compare-row .no::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; margin-top: 1px; }
.compare-row .yes::before { background: #1f9d4c; }
.compare-row .no::before { content: '✕'; background: #e02424; font-size: 12px; }
.compare-row.head { border-top: 0; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 17px; font-weight: 700; padding: 0; }
.compare-row.head > span { padding: 22px 24px; background: #f3f4f9; }
.compare-row.head > span:nth-child(1) { border-right: 1px solid #e4e2ea; }
.compare-row.head > span:nth-child(2) { background: linear-gradient(135deg, #fde9da, #f9d2b4); color: #c4541b; border-right: 1px solid #e4e2ea; }
.compare-row.head > span::before { display: none; }
@media (max-width: 760px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > b { border-right: 0; }
  .compare-row .yes { border-right: 0; }
  .compare-row.head { display: none; }
  .compare-row > * { padding: 14px 18px; }
}

/* ---- Videos get more width ---- */
.review { grid-template-columns: .8fr 1.2fr; align-items: center; }
.services-layout { grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 4vw, 72px); }
.review-media { border-radius: 18px; }
.review-media video { object-fit: contain; background: #0f1f1d; }
@media (max-width: 1020px) { .review, .services-layout { grid-template-columns: 1fr; } }

/* ---- Hero: content and form sit close together ---- */
.hero-grid { grid-template-columns: minmax(0, 720px) minmax(380px, 540px); justify-content: center; gap: clamp(28px, 4vw, 64px); }
.hero-form { margin-left: 0; }
.hero h1 { font-size: clamp(38px, 4.8vw, 72px); }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---- Hero: wide content column on the left, form on the far right ---- */
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(400px, 540px); justify-content: stretch; gap: clamp(40px, 5vw, 96px); }
.hero-form { margin-left: auto; }
.hero h1 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.06; max-width: 15ch; }
.hero-copy > p { font-size: clamp(17px, 1.35vw, 22px); max-width: 720px; margin-top: 22px; }
.hero-benefits { gap: 12px; margin-top: 24px; }
.hero-benefits li { font-size: clamp(16px, 1.2vw, 19px); }
.hero-actions { margin-top: 30px; }
.hero-actions .button { padding: 16px 28px; font-size: 16px; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: none; } }

/* ---- Compact featured review; wider photos on testimonial cards ---- */
.review { grid-template-columns: 1fr 1fr; padding: clamp(24px, 3vw, 44px); gap: clamp(28px, 4vw, 72px); }
.review blockquote { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 22px; }
.review-person { margin-bottom: 22px; }
.review-media { aspect-ratio: 16 / 10; }
.review-media video { object-fit: cover; }
.t-card { grid-template-columns: clamp(220px, 24vw, 360px) 1fr; }
.t-photo { min-height: 280px; }
@media (max-width: 1020px) { .review { grid-template-columns: 1fr; } .t-card { grid-template-columns: clamp(200px, 36vw, 300px) 1fr; } }
@media (max-width: 640px) { .t-card { grid-template-columns: 1fr; } .t-photo { min-height: 240px; } }

/* ---- Testimonial cards: photo keeps a fixed 8:7 shape (not stretched to text height) ---- */
.t-card { grid-template-columns: clamp(190px, 41%, 370px) 1fr; align-items: start; gap: clamp(18px, 2vw, 28px); padding: 28px; }
.t-photo { min-height: 0; aspect-ratio: 370 / 324; align-self: start; width: 100%; }
.t-body { align-self: stretch; }
.t-body p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.65; }
@media (max-width: 1020px) { .t-card { grid-template-columns: clamp(170px, 34%, 300px) 1fr; } }
@media (max-width: 640px) { .t-card { grid-template-columns: 1fr; } .t-photo { aspect-ratio: 16 / 12; } }

/* Hero buttons: keep text on one line, centered, equal size */
.hero-actions .button { text-align: center; white-space: nowrap; line-height: 1.2; }
@media (max-width: 480px) {
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .button { flex: 1 1 0; min-width: 0; padding: 15px 10px; font-size: 14px; }
}

/* Unified buttons: same height, padding, font size everywhere */
.button, .header-cta { min-height: 52px; padding: 0 28px; font-size: 16px; font-weight: 700; line-height: 1.2; border-radius: 10px; text-align: center; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
.header-cta { min-height: 46px; padding: 0 22px; font-size: 15px; }
.hero-actions .button { padding: 0 28px; font-size: 16px; min-width: 170px; }
.hero-form .button, .lead-card .button { min-height: 58px; font-size: 18px; }
@media (max-width: 480px) {
  .hero-actions .button { padding: 0 10px; font-size: 14px; }
  .cta-actions .button, .cta-actions { flex-wrap: wrap; }
}
@media (max-width: 1020px) { .header-cta { display: none; } }

/* Comparison table: same layout as desktop on phones, scrolls sideways */
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-row, .compare-row.head { min-width: 720px; }
@media (max-width: 760px) {
  .compare-row { grid-template-columns: 22% 39% 39%; }
  .compare-row.head { display: grid; }
  .compare-row > * { padding: 20px 24px; }
  .compare-row > b { border-right: 1px solid #ebe9ef; }
  .compare-row .yes { border-right: 1px solid #ebe9ef; }
  .compare-row.head > span { padding: 22px 24px; }
}

/* Phone: shrink table so all 3 columns fit without scrolling */
@media (max-width: 760px) {
  .compare-row, .compare-row.head { min-width: 0; grid-template-columns: 24% 38% 38%; font-size: 11.5px; }
  .compare-row > * { padding: 10px 7px; gap: 6px; line-height: 1.4; font-size: 11.5px; }
  .compare-row > b { font-size: 11px; }
  .compare-row.head > span { padding: 12px 7px; font-size: 12px; }
  .compare-row .yes::before, .compare-row .no::before { width: 16px; height: 16px; font-size: 9px; margin-top: 0; }
  .compare-row .no::before { font-size: 8px; }
}

/* Center ✓ / ✕ icons vertically against the text */
.compare-row .yes, .compare-row .no, .compare-row > b { align-items: center; }
.compare-row .yes::before, .compare-row .no::before { margin-top: 0; }

/* Attractive glowing ✓ / ✕ icons */
.compare-row .yes::before, .compare-row .no::before { border: 1.5px solid rgba(255, 255, 255, .85); font-weight: 900; }
.compare-row .yes::before { background: radial-gradient(circle at 30% 25%, #5be584, #1f9d4c 70%); box-shadow: 0 0 0 3px rgba(31, 157, 76, .18), 0 0 14px 3px rgba(46, 204, 113, .6); }
.compare-row .no::before { background: radial-gradient(circle at 30% 25%, #ff7a7a, #e02424 70%); box-shadow: 0 0 0 3px rgba(224, 36, 36, .16), 0 0 14px 3px rgba(239, 68, 68, .55); }
@media (prefers-reduced-motion: no-preference) {
  .compare-row .yes::before { animation: glowG 2.4s ease-in-out infinite; }
  .compare-row .no::before { animation: glowR 2.4s ease-in-out infinite; }
}
@keyframes glowG { 50% { box-shadow: 0 0 0 4px rgba(31, 157, 76, .25), 0 0 20px 6px rgba(46, 204, 113, .8); } }
@keyframes glowR { 50% { box-shadow: 0 0 0 4px rgba(224, 36, 36, .22), 0 0 20px 6px rgba(239, 68, 68, .75); } }

/* Softer glow (toned down) */
.compare-row .yes::before { box-shadow: 0 0 8px 1px rgba(46, 204, 113, .35); }
.compare-row .no::before { box-shadow: 0 0 8px 1px rgba(239, 68, 68, .3); }
.compare-row .yes::before, .compare-row .no::before { animation: none; border-width: 1px; }

/* Phone: wider table, scrolls sideways */
@media (max-width: 760px) {
  .compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-row, .compare-row.head { min-width: 620px; grid-template-columns: 22% 39% 39%; }
  .compare-row > * { padding: 14px 12px; gap: 10px; font-size: 13.5px; }
  .compare-row > b { font-size: 13px; }
  .compare-row.head > span { padding: 16px 12px; font-size: 14px; }
  .compare-row .yes::before, .compare-row .no::before { width: 20px; height: 20px; font-size: 11px; }
  .compare-row .no::before { font-size: 10px; }
}

/* Phone: slightly narrower so the 3rd column peeks in (scroll hint) */
@media (max-width: 760px) {
  .compare-row, .compare-row.head { min-width: 540px; grid-template-columns: 23% 38.5% 38.5%; }
  .compare-row > * { padding: 12px 10px; gap: 8px; font-size: 13px; }
  .compare-row > b { font-size: 12.5px; }
  .compare-row.head > span { padding: 14px 10px; font-size: 13.5px; }
}

/* Branded scrollbar for the comparison table */
.compare { scrollbar-width: thin; scrollbar-color: var(--orange) #ece6dc; }
.compare::-webkit-scrollbar { height: 8px; }
.compare::-webkit-scrollbar-track { background: #ece6dc; border-radius: 99px; margin: 0 14px; }
.compare::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #f4a276, var(--orange)); border-radius: 99px; }
.compare::-webkit-scrollbar-thumb:hover { background: var(--orange-dark); }
.compare::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.compare::-webkit-scrollbar-track { margin: 0 14px 6px; }

/* ===== Unified type scale (single source of truth for font sizes) ===== */
:root {
  --fs-h1: clamp(34px, 4.8vw, 60px);
  --fs-h2: clamp(28px, 3.6vw, 42px);
  --fs-h3-lg: 24px;
  --fs-h3: 20px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-xs: 12px;
}
body { font-size: var(--fs-body); }
/* Headings */
.hero h1, .page-hero h1, .article-head h1 { font-size: var(--fs-h1); }
.section-head h2, .services-title, .cta-band h2, .about-split h2, .prose h2 { font-size: var(--fs-h2); }
.service-copy h3, .svc h3, .state h3, .lead-card h2, .lead-card h3, .prose h3 { font-size: var(--fs-h3-lg); }
.card h3, .step h3, .post-body h3, .pillar h3, .review-person h3, .prose h4 { font-size: var(--fs-h3); }
/* Lead paragraphs */
.hero-copy > p, .page-hero p, .section-head p, .svc p, .article-head .lede, .prose { font-size: var(--fs-lead); }
/* Body text */
.card p, .card ul, .step p, .post-body p, .pillar p, .t-body p, .service-copy p, .about-split p,
.footer p, .footer h4, .footer ul, .hero-benefits li, .contact-card strong, .prose table { font-size: var(--fs-body); }
/* Small text */
.lead-card > p, .field > span, .field .error, .form-status, .form-note, .form-promises, .post-meta, .chip, .filter,
.back-link, .share, .result small, .review-points li, .t-body strong, .contact-card small,
.footer-bottom, .announcement, .hero-pill { font-size: var(--fs-small); }
/* Extra small labels */
.eyebrow, .clients .eyebrow, .tag, .fact small { font-size: var(--fs-xs); }
/* Nav + buttons */
.nav a { font-size: 15px; }
.hero-form .field > span { font-size: var(--fs-body); }
.hero-form .field input { font-size: var(--fs-body); }
.hero-form .button, .lead-card .button { font-size: 17px; }
@media (max-width: 1020px) { .nav a { font-size: 18px; } .prose { font-size: var(--fs-lead); } }

/* ===== Phone type scale (same roles, smaller values) ===== */
@media (max-width: 640px) {
  :root {
    --fs-h1: 32px;
    --fs-h2: 26px;
    --fs-h3-lg: 21px;
    --fs-h3: 18px;
    --fs-lead: 16px;
    --fs-body: 15px;
    --fs-small: 13px;
    --fs-xs: 11.5px;
  }
  .hero h1 { line-height: 1.12; }
  .prose { font-size: var(--fs-lead); }
  .review blockquote { font-size: 20px; }
  .brand-word { font-size: 24px; }
  .nav a { font-size: 17px; }
  .button, .hero-actions .button { font-size: 15px; }
  .hero-form .button, .lead-card .button { font-size: 16px; }
  .hero-form .field input, .field input, .field select, .field textarea { font-size: 16px; } /* 16px stops iOS zoom on focus */
  .hero-benefits li { font-size: var(--fs-body); }
  .result strong, .fact.big strong, .step::before { font-size: 28px; }
  .faq summary { font-size: 16px; }
  .pillar h3, .card h3 { font-size: var(--fs-h3); }
}

/* Phone: compact services list */
@media (max-width: 640px) {
  .svc { grid-template-columns: 48px 1fr; gap: 14px; }
  .svc-icon { width: 48px; height: 48px; border-radius: 12px; }
  .svc-icon svg { width: 24px; height: 24px; }
  .svc h3 { font-size: 17px; margin-bottom: 4px; line-height: 1.25; }
  .svc p { font-size: 14px; line-height: 1.55; margin-bottom: 0; }
  .services-title { margin-bottom: 24px; }
}

/* ===== Final consistency pass ===== */
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-body); }
.brand small { font-size: 10px; letter-spacing: .14em; }
.contact-grid h1 { font-size: clamp(32px, 3.6vw, 48px); }
@media (max-width: 640px) { .contact-grid h1 { font-size: var(--fs-h1); } }
.compare-row.head > span { font-size: var(--fs-body); }
@media (max-width: 760px) { .compare-row.head > span { font-size: 13.5px; } }
.announcement-close { font-size: 18px; }
.card-link { font-size: var(--fs-h3); }

/* Compact hero form: fits in the first screen */
.hero { padding: 28px 0; }
.hero-form { padding: 22px 26px 22px; max-width: 460px; border-radius: 14px; }
.hero-form .field { margin-bottom: 10px; }
.hero-form .field > span { font-size: 14px; margin-bottom: 5px; font-weight: 600; }
.hero-form .field input { height: 46px; border-radius: 10px; padding: 0 16px; font-size: 15px; }
.hero-form .button { min-height: 50px; height: 50px; font-size: 16px; margin-top: 6px; }
@media (max-width: 640px) {
  .hero-form { padding: 18px 16px; max-width: none; }
  .hero-form .field input { height: 44px; font-size: 16px; }
  .hero-form .button { min-height: 48px; height: 48px; font-size: 15px; }
}
