/* Shared styles for every page. */
:root {
  --bg: #f5f8f8;
  --surface: #ffffff;
  --ink: #10262b;
  --muted: #4f6569;
  --line: #d9e3e3;
  --accent: #0b6e63;
  --accent-ink: #ffffff;
  --accent-soft: #dcefec;
  --search-blue: #1a4fbf;
  --deep: #10262b;
  --deep-ink: #e8f2f1;
  --f-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1a1c; --surface: #132427; --ink: #e5efee; --muted: #9db2b4; --line: #24393c;
    --accent: #40c2b2; --accent-ink: #062320; --accent-soft: #163a37; --search-blue: #8ab0ff;
    --deep: #081214; --deep-ink: #e5efee; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1a1c; --surface: #132427; --ink: #e5efee; --muted: #9db2b4; --line: #24393c;
  --accent: #40c2b2; --accent-ink: #062320; --accent-soft: #163a37; --search-blue: #8ab0ff;
  --deep: #081214; --deep-ink: #e5efee; color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5.4vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; text-decoration: none; padding: 13px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent); }
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.logo { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; font-size: 21px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; }
.logo-mark svg { width: 16px; height: 16px; }
header.nav .btn { padding: 9px 16px; font-size: 15px; }

.hero { padding-block: 64px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .lead { font-size: 20px; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 14px; color: var(--muted); }

.serp { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 18px 40px rgba(16, 38, 43, .10); }
.serp-bar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 15px; }
.serp-bar svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.result { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; }
.result.yours { background: var(--accent-soft); outline: 2px solid var(--accent); }
.result .tag { font-size: 12px; font-weight: 700; color: var(--ink); }
.result .url { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.result .head { font-size: 17px; color: var(--search-blue); font-weight: 500; line-height: 1.3; }
.result .desc { font-size: 14px; color: var(--muted); line-height: 1.45; }
.result.faded { opacity: .55; }
.serp-caption { font-size: 13px; color: var(--muted); text-align: center; }

section.band { padding-block: 72px; }
section.band + section.band { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 18px; }

.problem .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.problem p { color: var(--muted); }
.problem .body { display: grid; gap: 16px; font-size: 18px; }
.searches { display: grid; gap: 10px; }
.chip { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 500; }
.chip svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.chip small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: "Step " counter(step); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.step p { color: var(--muted); font-size: 16px; }

.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 0; padding: 0; list-style: none; }
.included li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.included svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.included strong { display: block; }
.included span { color: var(--muted); font-size: 16px; }

.offer { background: var(--deep); color: var(--deep-ink); border-radius: 24px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.offer h2 { color: var(--deep-ink); }
.offer p { color: color-mix(in srgb, var(--deep-ink) 78%, transparent); font-size: 18px; margin-top: 12px; }
.offer .side { display: grid; gap: 16px; }
.offer .side small { color: color-mix(in srgb, var(--deep-ink) 70%, transparent); font-size: 14px; }
.offer .btn { background: var(--deep-ink); color: var(--deep); border-color: var(--deep-ink); justify-self: start; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why li { font-size: 16px; color: color-mix(in srgb, var(--deep-ink) 80%, transparent); padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--deep-ink) 35%, transparent); }
.why strong { color: var(--deep-ink); }


.faq { display: grid; gap: 10px; max-width: 760px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; }

.contact { text-align: left; }
.contact .card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.contact .card p { color: var(--muted); font-size: 18px; margin-top: 12px; }
.contact-lines { display: grid; gap: 14px; background: var(--accent-soft); border-radius: 18px; padding: 28px; align-self: stretch; align-content: center; }
.contact .card .contact-lines .hint-line { font-size: 16px; margin: 0; }
.email-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.email-row:hover { border-color: var(--accent); }
.email-row svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.email-row span { overflow-wrap: anywhere; min-width: 0; }
.contact .contact-lines .btn { justify-self: stretch; justify-content: center; }

footer { padding-block: 32px 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 860px) {
  .hero .wrap, .problem .wrap, .offer, .contact .card { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
    }
@media (max-width: 600px) {
  .included { grid-template-columns: minmax(0, 1fr); }
  .offer, .contact .card { padding: 28px 22px; }
  .hero { padding-block: 40px 56px; }
  section.band { padding-block: 56px; }
  header.nav .btn { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .result.yours { animation: rise .7s .2s ease-out both; }
  @keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
}

/* Multi-page additions: navigation, page intros, cards, case study, quote. */
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--accent-soft); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); font-weight: 600; }

.page-intro { padding-block: 64px 56px; border-bottom: 1px solid var(--line); }
.page-intro .wrap { display: grid; gap: 16px; }
.page-intro .wrap > * { max-width: 760px; }
.page-intro .lead { font-size: 20px; color: var(--muted); max-width: 52ch; }

.prose { display: grid; gap: 18px; max-width: 680px; font-size: 18px; }
.prose p { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card-link { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; color: inherit; text-decoration: none; transition: border-color .15s; }
.card-link:hover { border-color: var(--accent); }
.card-link p { color: var(--muted); font-size: 16px; }
.card-link .more { color: var(--accent); font-weight: 600; font-size: 15px; }

.service { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; }
.service + .service { margin-top: 20px; }
.service .num { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
.service .intro p { color: var(--muted); margin-top: 12px; }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.service li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--muted); font-size: 16px; }
.service li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }

.quote { background: var(--accent-soft); border-radius: 24px; padding: 44px; display: grid; gap: 20px; margin: 0; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--accent); margin-bottom: 8px; }
.quote figcaption { color: var(--muted); }
.quote figcaption strong { color: var(--ink); display: block; }

.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 19px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); display: grid; place-items: center; font-weight: 700; color: var(--accent); font-size: 15px; }
.timeline p { color: var(--muted); font-size: 16px; }

footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  header.nav .wrap { flex-wrap: wrap; row-gap: 6px; }
  header.nav nav { order: 3; width: 100%; overflow-x: auto; margin-inline: -8px; scrollbar-width: none; }
  .split, .service { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  header.nav .btn { display: inline-flex; padding: 8px 14px; font-size: 14px; }
  .quote, .service { padding: 28px 22px; }
  .page-intro { padding-block: 44px 40px; }
}

/* Services: combined core service, prices, add-ons. */
.core { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: grid; gap: 28px; }
.core-head { display: grid; gap: 10px; max-width: 640px; }
.core-head p { color: var(--muted); font-size: 18px; }
.core-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.part { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; align-content: start; background: var(--bg); }
.part ul, .addon ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.part li, .addon li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--muted); font-size: 16px; }
.part li svg, .addon li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.part li strong, .addon li strong { color: var(--ink); font-weight: 600; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-family: var(--f-display); }
.price .from { font-family: var(--f-body); font-size: 14px; color: var(--muted); }
.price .amt { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.price .per { font-family: var(--f-body); font-size: 15px; color: var(--muted); }
.part-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.terms strong { color: var(--ink); }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.addon { background: var(--surface); border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 18px; padding: 26px; display: grid; gap: 12px; align-content: start; }
.addon > p { color: var(--muted); font-size: 16px; }
.addon .tagline { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Contact: intro call checklist. */
.call-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.call-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--muted); font-size: 16px; }
.call-points svg { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.contact .btn { justify-self: start; }

@media (max-width: 860px) {
  .core-parts, .addons, .terms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .core { padding: 26px 18px; }
}

/* Single add-on (services). */
.addons.single { grid-template-columns: minmax(0, 1fr); }
.addons.single .addon { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; padding: 32px; }
.addons.single .addon > ul { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
@media (max-width: 760px) { .addons.single .addon { grid-template-columns: minmax(0, 1fr); } .addons.single .addon > ul { grid-column: auto; grid-row: auto; } }

/* Customer story. */
.story-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 48px; }
.story-facts div { padding: 18px 22px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.story-facts div:first-child { border-left: 0; }
.story-facts dt { font-size: 14px; color: var(--muted); }
.story-facts dd { margin: 0; font-weight: 600; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.story-chapters { display: grid; gap: 36px; }
.chapter { display: grid; gap: 10px; }
.chapter .label { font-size: 15px; font-weight: 600; color: var(--accent); }
.chapter p { color: var(--muted); }
.chapter ul { margin: 4px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.chapter ul strong { color: var(--ink); font-weight: 600; }
.story .quote { position: sticky; top: 96px; }
.quote-tag { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); gap: 40px; } .story .quote { position: static; } .story-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .story-facts div:nth-child(3) { border-left: 0; } .story-facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* FAQ: grouped, always open. */
.faq-groups { display: grid; gap: 0; }
.faq-group { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 48px; padding-block: 40px; border-top: 1px solid var(--line); }
.faq-group:first-child { border-top: 0; padding-top: 0; }
.faq-group > h2 { font-size: 22px; }
.faq-list { display: grid; gap: 28px; }
.faq-item h3 { font-size: 18px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); }
@media (max-width: 760px) { .faq-group { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.story .quote blockquote { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; }
.contact-lines a.btn { color: var(--accent-ink); }
