/* Eutopia Cleaning: marketing site. Mobile-first, no framework. */
:root {
  --blue: #00a9ff;        /* brand sky (from the apps) */
  --blue-600: #0090dd;
  --blue-700: #0077b8;
  --navy: #1747a6;        /* logo deep blue */
  --ink: #0b1b3a;
  --ink-2: #3a4a66;
  --ink-3: #66748c;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f8fd;
  --bg-blue: #eaf6ff;
  --mint: #12b886;
  --mint-soft: #e6f8f1;
  --warn: #fff4d6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .06), 0 8px 24px rgba(11, 27, 58, .06);
  --wrap: 1160px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 20px; height: 20px; flex: none; }
.muted { color: var(--ink-3); }
mark.todo { background: #ffe08a; color: #5a3d00; padding: 0 4px; border-radius: 4px; }

.wrap { padding: 0 var(--gutter); }
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1b2d52; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--bg-blue); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand img { height: 52px; width: auto; }
.header-cta { margin-left: auto; min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: 10px; cursor: pointer; }
.menu-btn .icon { width: 26px; height: 26px; }
.menu-btn .i-close, .menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.site-nav { display: none; }
/* backdrop-filter makes the header the containing block for position:fixed children,
   which squashed the open menu into the 68px header bar. Drop it while the menu is open. */
.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.menu-open .site-nav { display: block; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; height: calc(100dvh - 68px); z-index: 49; background: #fff; padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.menu-open .sticky-cta, .menu-open .cookie { visibility: hidden; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--blue-700); }
.nav-extra { margin-top: 24px; }
.nav-extra .btn { width: 100%; }
.nav-logins { margin-top: 16px; color: var(--ink-3); font-size: .95rem; }
.menu-open { overflow: hidden; }

@media (min-width: 1200px) {
  .header-inner { height: 76px; }
  .brand img { height: 56px; }
  .menu-btn, .header-cta { display: none; }
  .site-nav { display: flex; align-items: center; flex: 1; }
  .site-nav ul { display: flex; gap: 4px; margin-left: auto; }
  .site-nav li a { border: 0; padding: 8px 11px; font-size: .95rem; border-radius: 999px; white-space: nowrap; }
  .site-nav li a:hover { background: var(--bg-soft); }
  .nav-extra { margin: 0 0 0 12px; }
  .nav-extra .btn { width: auto; }
  .nav-logins { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 36px 0 8px; background: radial-gradient(900px 500px at 85% 20%, var(--bg-blue), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 899px) {
  .hero-grid > :first-child { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .badges, .hero-points { justify-content: center; }
}
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--blue); }

.hero-media { display: flex; justify-content: center; }
.hero-media .phone { width: min(78vw, 360px); filter: drop-shadow(0 30px 40px rgba(11, 27, 58, .18)); }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--mint); width: 18px; height: 18px; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
  .hero-media .phone { width: 400px; }
}

/* Audience chooser */
.paths { display: grid; gap: 14px; margin-top: 28px; }
.path { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.path:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-2px); }
.path-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-blue); color: var(--blue-700); flex: none; }
.path-icon .icon { width: 22px; height: 22px; }
.path strong { display: block; font-size: 1.05rem; }
.path span { color: var(--ink-2); font-size: .94rem; }
.path .go { margin-left: auto; align-self: center; color: var(--blue-700); }
@media (min-width: 760px) { .paths { grid-template-columns: repeat(3, 1fr); } .path { flex-direction: column; } .path .go { margin-left: 0; } }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.badge { display: inline-block; border-radius: 8px; line-height: 0; }
.badge img { height: 48px; width: auto; }
.badge-soon { line-height: 1.3; font-size: .85rem; padding: 8px 12px; border: 1px dashed var(--ink-3); color: var(--ink-2); }
.or-web { margin-top: 12px; font-size: .95rem; color: var(--ink-2); }

/* Features / steps / checks */
.features { display: grid; gap: 16px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--bg-blue); color: var(--blue-700); margin-bottom: 12px; box-sizing: border-box; }
.feature p { color: var(--ink-2); margin: 0; }
@media (max-width: 699px) {
  .feature { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .feature h3 { margin-bottom: 2px; }
}
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 22px 22px 22px 74px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-n { position: absolute; left: 20px; top: 20px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 70px 20px 22px; } }
@media (min-width: 900px) { .steps.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--mint); margin-top: 3px; }

/* Split rows */
.split { display: grid; gap: 32px; align-items: center; }
.split-media { display: flex; justify-content: center; }
.split-media .phone { width: min(72vw, 320px); filter: drop-shadow(0 24px 32px rgba(11, 27, 58, .16)); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse .split-media { order: -1; } }

/* Services */
.services { display: grid; gap: 16px; }
.service { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.service .feature-icon { margin-bottom: 14px; }
.service p { color: var(--ink-2); }
.service ul { margin: 0 0 1em; color: var(--ink-2); }
.service .price { margin-top: auto; font-weight: 700; color: var(--ink); }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, 1fr); } }

/* Callouts / stats */
.callout { padding: 22px; border-radius: var(--radius); background: var(--mint-soft); border: 1px solid #bfeedd; }
.callout h3 { margin-bottom: 6px; }
.callout p:last-child { margin: 0; }
.callout-blue { background: var(--bg-blue); border-color: #c7e8ff; }
.earn { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 24px 0; }
.earn div { padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.earn strong { display: block; font-size: 1.8rem; line-height: 1.1; letter-spacing: -0.02em; }
.earn span { font-size: .9rem; color: var(--ink-2); }
.small { font-size: .88rem; color: var(--ink-3); }

/* Page head */
.page-head { padding: 44px 0 28px; background: linear-gradient(180deg, var(--bg-blue), #fff); }
.page-head .lead { margin-bottom: 0; }

/* Prose (legal pages) */

.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }
.updated { color: var(--ink-3); font-size: .95rem; }
.draft-note { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--warn); border: 1px solid #f2d27a; margin-bottom: 24px; font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 18px 16px; color: var(--ink-2); }
.faq-a p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: 48px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d4e8; margin: 0; }
.cta-inner { display: grid; gap: 22px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .badges { margin-top: 0; }
.cta-band .badge-soon { color: #c9d4e8; border-color: #6a7a99; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* Forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); padding: 12px 14px; border: 1.5px solid #cfd8e6; border-radius: var(--radius-sm); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 169, 255, .2); }
.field-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form .btn { justify-self: start; }
.form-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.alert-error { background: #fdecec; border: 1px solid #f3b9b9; color: #7a1414; }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .feature-icon { margin: 0; }
.contact-list strong { display: block; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; } }

/* App cards (download page) */
.app-cards { display: grid; gap: 18px; }
.app-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.app-card header { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.app-card img.app-icon { width: 64px; height: 64px; border-radius: 15px; }
.app-card h2 { font-size: 1.4rem; margin: 0; }
.app-card .recommended { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--mint-soft); color: #0b7a59; padding: 3px 10px; border-radius: 999px; margin-top: 4px; }
@media (min-width: 800px) { .app-cards { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 12px; mix-blend-mode: multiply; }
.footer-brand p { color: var(--ink-2); }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a, .site-footer .linklike { color: var(--ink); text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--blue-700); text-decoration: underline; }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; }
.footer-legal p { margin: 0 0 6px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 27, 58, .08); transform: translateY(110%); transition: transform .2s ease-out; }
.sticky-cta.show { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
body.has-sticky { padding-bottom: 72px; }
@media (min-width: 900px) { body.has-sticky { padding-bottom: 0; } }

/* Cookie banner */
.cookie { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
.cookie-inner { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(11, 27, 58, .22); }
.cookie h2 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie p { font-size: .93rem; color: var(--ink-2); margin-bottom: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { min-height: 42px; padding: 8px 16px; font-size: .93rem; }
.cookie-options { display: grid; gap: 10px; margin-bottom: 14px; padding: 12px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.cookie-options label { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; }
.cookie-options small { font-weight: 400; color: var(--ink-3); margin-left: auto; }
.cookie-options input { width: 18px; height: 18px; }
@media (min-width: 700px) { .cookie { left: 24px; right: auto; bottom: 24px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .sticky-cta, .cookie, .site-footer { display: none; } }

/* ---- SEO expansion: breadcrumbs, link cards, articles ---- */
.crumbs { padding: 14px 0 0; font-size: .875rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: var(--ink, #0b1b3a); font-weight: 600; }
.link-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.link-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius, 18px); background: #fff; border: 1px solid var(--line, #e3e9f2); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 27, 58, .1); }
.link-card h3 { margin: 4px 0 0; font-size: 1.1rem; }
.link-card p { margin: 0; color: var(--ink-3); font-size: .95rem; }
.link-card .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--blue-700); display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.link-card .more .icon { width: 16px; height: 16px; }
.article-meta { color: var(--ink-3); font-size: .9rem; margin-top: 10px; }
.key-points { margin: 0 0 1.5em; }
.toc { padding: 18px 22px; border-radius: var(--radius, 18px); background: var(--bg-soft, #f4f7fb); margin: 0 0 1.5em; }
.toc h2 { font-size: 1rem !important; margin: 0 0 8px !important; }
.toc ol { margin: 0; padding-left: 1.2em; }

/* SEO internal-link strip + mobile sticky CTA */
.footer-seo { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; font-size: .9rem; color: var(--ink-2); }
.footer-seo p { margin: 0 0 8px; }

/* ---- Home page (desktop-first polish, full width, no max-width) ---- */
@media (min-width: 900px) { :root { --gutter: clamp(32px, 5vw, 120px); } }
.hx { position: relative; overflow: hidden; padding: 40px 0 24px; background: radial-gradient(1100px 600px at 80% 30%, #d9f0ff, transparent 65%), linear-gradient(180deg, #f7fbff, #fff); }
.hx-grid { display: grid; gap: 32px; align-items: center; }
.hx h1 { font-size: clamp(2.2rem, 4.6vw, 4.6rem); margin-bottom: 18px; }
.hx h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx .lead { font-size: clamp(1.1rem, 1.4vw, 1.35rem); }
.hx-stats { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hx-stats li { padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.hx-stats strong { display: block; font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.02em; line-height: 1.1; }
.hx-stats span { font-size: .88rem; color: var(--ink-2); }
.hx-media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hx-blob { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy)); opacity: .14; }
.hx-media .phone { position: relative; filter: drop-shadow(0 30px 40px rgba(11,27,58,.2)); }
.hx-phone-a { width: min(70vw, 340px); z-index: 2; }
.hx .hx-phone-b { display: none; }
.hx-chip { position: absolute; z-index: 3; display: none; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: .92rem; }
.hx-chip .icon { color: var(--mint); }
@media (max-width: 899px) { .hx-copy { text-align: center; } .hx .badges { justify-content: center; } }
@media (min-width: 900px) {
  .hx { padding: 72px 0 48px; }
  .hx-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 96px); }
  .hx-media { min-height: 620px; }
  .hx-phone-a { width: clamp(280px, 22vw, 380px); transform: translateX(-18%) rotate(-4deg); }
  .hx .hx-phone-b { display: block; position: absolute; width: clamp(240px, 18vw, 320px); transform: translate(42%, 8%) rotate(5deg); z-index: 1; opacity: .97; }
  .hx-chip { display: inline-flex; }
  .hx-chip-1 { top: 12%; left: 4%; }
  .hx-chip-2 { bottom: 12%; right: 4%; }
}

.hx-paths-wrap { padding: 8px 0 24px; }
.hx-paths { display: grid; gap: 16px; }
.hx-path { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.hx-path:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 18px 40px rgba(0,119,184,.14); color: var(--ink); }
.hx-path .path-icon { margin-bottom: 8px; }
.hx-path strong { font-size: 1.2rem; }
.hx-path > span:not(.go):not(.path-icon) { color: var(--ink-2); }
.hx-path .go { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-700); }
@media (min-width: 760px) { .hx-paths { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.hx-head { display: grid; gap: 12px; margin-bottom: 36px; align-items: end; }
.hx-head h2 { margin: 0; }
.hx-head .lead, .hx-head .btn { margin: 0; justify-self: start; }
@media (min-width: 900px) { .hx-head { grid-template-columns: 1fr auto; gap: 48px; } .hx-head .lead { justify-self: end; text-align: right; } .hx-head .btn { justify-self: end; } }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.hx-trust { display: grid; gap: 40px; align-items: center; }
.hx-trust-media { display: flex; justify-content: center; }
.hx-trust-media .phone { width: min(72vw, 340px); filter: drop-shadow(0 24px 32px rgba(11,27,58,.16)); }
.hx-ticks { display: grid; gap: 16px; margin: 28px 0; }
.hx-ticks > div { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.hx-ticks h3 { margin-bottom: 4px; }
.hx-ticks p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (min-width: 700px) { .hx-ticks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .hx-trust { grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 6vw, 120px); } }

.hx-services { display: grid; gap: 16px; }
.hx-service { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-soft)); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hx-service:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,27,58,.1); color: var(--ink); }
.hx-service p { color: var(--ink-2); }
.hx-from { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-700); }
@media (min-width: 700px) { .hx-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hx-services { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.hx-dark { padding: 64px 0; color: #fff; background: radial-gradient(900px 500px at 85% 50%, rgba(0,169,255,.35), transparent 70%), var(--ink); overflow: hidden; }
.hx-dark h2 { color: #fff; }
.hx-dark .eyebrow { color: #7fd3ff; }
.hx-dark .lead { color: #c9d4e8; }
.hx-dark-grid { display: grid; gap: 40px; align-items: center; }
.hx-earn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.hx-earn div { padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.hx-earn strong { display: block; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.1; }
.hx-earn span { font-size: .88rem; color: #c9d4e8; }
.hx-dark-media { position: relative; display: flex; justify-content: center; }
.hx-dark-media .phone { width: min(70vw, 320px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); position: relative; z-index: 2; }
.hx-dark-media .hx-phone-b { display: none; }
@media (min-width: 900px) {
  .hx-dark { padding: 112px 0; }
  .hx-dark-grid { grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 6vw, 120px); }
  .hx-dark-media .phone { width: clamp(260px, 20vw, 340px); transform: translateX(-20%) rotate(-3deg); }
  .hx-dark-media .hx-phone-b { display: block; position: absolute; z-index: 1; transform: translate(30%, 6%) rotate(5deg); }
}

.hx-agency { display: grid; gap: 40px; align-items: center; }
.hx-agency-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hx-agency-cards { display: grid; gap: 16px; }
.hx-agency-cards > div { padding: 24px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.hx-agency-cards h3 { margin-bottom: 4px; }
.hx-agency-cards p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (min-width: 700px) { .hx-agency-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .hx-agency { grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 6vw, 120px); } }

.hx-faq { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .hx-faq { grid-template-columns: 1fr 2fr; gap: clamp(48px, 6vw, 120px); } }

/* ---- Inner pages: desktop polish to match the home page (full width, no max-width) ---- */
@media (min-width: 900px) {
  body { font-size: 17px; }
  h2 { font-size: clamp(2rem, 3vw, 3rem); }
  h3 { font-size: 1.25rem; }
  .lead { font-size: clamp(1.15rem, 1.3vw, 1.35rem); }
  .section-head { margin-bottom: 48px; }

  /* Heroes + page heads get the home page's gradient and scale */
  .hero, .page-head { background: radial-gradient(1100px 600px at 80% 30%, #d9f0ff, transparent 65%), linear-gradient(180deg, #f7fbff, #fff); }
  .hero { padding: 88px 0 64px; }
  .hero h1, .page-head h1 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
  .hero h1 em { background: linear-gradient(90deg, var(--blue), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-grid { gap: clamp(40px, 5vw, 96px); }
  .hero-media .phone { width: clamp(300px, 24vw, 420px); }
  .page-head { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
  .crumbs + .page-head, .crumbs + main .page-head { padding-top: 64px; }

  /* Cards: roomier, with the home page hover lift */
  .feature, .service, .steps li, .app-card, .link-card, .callout, .form-card { border-radius: 20px; }
  .feature, .service { padding: 32px; transition: transform .15s, box-shadow .15s, border-color .15s; }
  .feature:hover, .service:hover, .steps li:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,27,58,.1); }
  .steps li { transition: transform .15s, box-shadow .15s; padding: 76px 28px 28px; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; gap: 24px; }
  .features { gap: 24px; }
  .features:not(.cols-2) { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .link-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
  .link-card { padding: 28px; }
  .split { gap: clamp(48px, 6vw, 120px); }
  .split-media .phone { width: clamp(280px, 22vw, 380px); }
  .split > div:first-child h2 { margin-bottom: .6em; }

  /* FAQs in two columns so rows don't stretch edge to edge */
  .faq { grid-template-columns: 1fr 1fr; gap: 14px 24px; align-items: start; }
  .faq summary { padding: 20px 52px 20px 22px; font-size: 1.02rem; }
  .faq-a { padding: 0 22px 20px; }

  /* Tables, forms, prose */
  .prose th, .prose td { padding: 14px 16px; }
  .form-card { padding: 36px; }
  .cta-band { padding: 88px 0; background: radial-gradient(900px 500px at 85% 50%, rgba(0,169,255,.35), transparent 70%), var(--ink); }
  .earn strong { font-size: 2.2rem; }
}
@media (min-width: 1400px) {
  .faq { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
}
@media (min-width: 900px) {
  .split > div > .form-card { position: sticky; top: 100px; }
  .table-scroll { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px 12px; box-shadow: var(--shadow); }
  .table-scroll table { margin: 0; }
  .table-scroll tr:last-child td { border-bottom: 0; }
  .prose > ul:not(.checks) li::marker { color: var(--blue); }
}

/* ---- Contained layout: comfortable reading widths on desktop ---- */
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { :root { --gutter: 40px; } }
.wrap.narrow, .narrow { max-width: calc(820px + var(--gutter) * 2); }
.prose { max-width: 760px; }
.split .prose, .narrow .prose, .prose.narrow { max-width: none; }
.section-head { max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.hero .lead, .hx .lead { max-width: 600px; }
.page-head .lead { max-width: 720px; }
.hx-head .lead { max-width: 560px; }
.footer-brand p { max-width: 360px; }
.cookie { max-width: 460px; }
.faq { max-width: 100%; }
.wrap.narrow, .narrow { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.narrow .prose, .prose.narrow { max-width: 820px; }
.wrap.narrow.prose { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.wrap.narrow.prose > * { max-width: 820px; }
.wrap.narrow.prose > .table-scroll { max-width: none; }
@media (min-width: 900px) { .hx h1 { font-size: clamp(2.6rem, 3.6vw, 4rem); } }
.wrap.prose { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.wrap.prose > * { max-width: 820px; }
.wrap.prose > .table-scroll, .wrap.prose > table { max-width: none; }

/* Cleaners page hero */
.cx-hero h1 { color: #fff; font-size: clamp(2.2rem, 3.8vw, 4rem); margin-bottom: 18px; }
.cx-hero h1 em { font-style: normal; color: #7fd3ff; }
.cx-hero .badges { margin-top: 26px; }
.cx-login { margin: 14px 0 0; color: #c9d4e8; font-size: .95rem; }
.cx-login a { color: #7fd3ff; }
.cx-hero .hx-earn { margin-bottom: 0; }
.hx-dark .phone, .hx-dark .phone img { max-width: 100%; }
@media (max-width: 899px) { .cx-hero { text-align: center; } .cx-hero .badges { justify-content: center; } .cx-hero .lead { margin-left: auto; margin-right: auto; } }
@media (max-width: 520px) { .hx-earn { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .cx-hero { padding: 96px 0 104px; } .hx-services .hx-service:hover { transform: none; box-shadow: none; } }
@media (min-width: 900px) { .hx-dark-media .hx-phone-b { width: clamp(220px, 17vw, 300px); } }

/* Postcode checker (areas pages) */
.pc-row { display: flex; gap: 10px; align-items: stretch; }
.pc-row .grow { flex: 1; min-width: 0; }
.pc-row .btn { flex: none; }
.pc-msg { margin: 12px 0 0; font-weight: 600; }
.pc-msg:empty { display: none; }
.pc-msg.ok { color: #0a6b46; }
.pc-msg.no { color: var(--ink-2); }
.pc-msg.err { color: #7a1414; }
.pc-yes, .pc-wait { margin-top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Cleaners needed now (Become a cleaner page) */
.cx-demand[hidden] { display: none; }
.cx-demand-list { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.cx-demand-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--bg-blue); border: 1px solid rgba(0, 119, 184, .18); min-width: 150px; }
.cx-demand-list strong { font-size: 1.15rem; color: var(--ink); }
.cx-demand-list span { font-size: .85rem; color: var(--ink-3); }
.cx-town-demand { padding: 28px 0 0; }
.cx-town-demand[hidden] { display: none; }
.note-card { padding: 16px 20px; border-radius: 14px; background: #fff7e6; border: 1px solid #fedf89; color: #7a4a00; line-height: 1.5; }
.note-card strong { color: #5c3800; }
