/* CleanCompass marketing site. Colors and type come from the CleanCompass design system. */
:root {
  --teal: #17A398;
  --teal-dark: #0F7F76;   /* teal for small text on light grounds (4.9:1 on surface) */
  --aqua: #22D3D3;
  --aqua-light: #A5F3F3;
  --surface: #F2FEFE;
  --surface-alt: #DFFAFA;
  --ink: #0B3D3D;
  --ink-soft: #3E6464;
  --white: #FFFFFF;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max: 1180px;
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(242, 254, 254, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--surface-alt); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; }
.brand span { font-size: 22px; font-weight: 700; letter-spacing: -0.8px; }
.brand b { color: var(--teal); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--teal-dark); }
@media (max-width: 820px) { .nav .nav-link { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius-md); font-family: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--aqua); color: var(--ink); }
.btn-primary:hover { background: #1BBDBD; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--surface); }
.btn-dark:hover { background: #072B2B; color: var(--surface); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
@media (max-width: 420px) { .brand span { font-size: 19px; } .brand svg { width: 30px; height: 30px; } .nav .btn { padding: 0 14px; font-size: 14px; } }

/* Type */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 12px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.5px; }
.section-title { font-size: clamp(30px, 4vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -1px; }
.section-lead { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 640px; margin: 14px 0 0; }

section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -2px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub { font-size: 20px; line-height: 1.55; color: var(--ink-soft); margin: 22px 0 0; max-width: 560px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 48px; } }

/* Sign-up form */
.signup { background: var(--ink); color: var(--surface); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.signup h2 { font-size: 26px; line-height: 1.2; }
.signup p.note { margin: 0; font-size: 14px; color: var(--aqua-light); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--aqua-light); }
.field input, .field select { height: 48px; padding: 0 14px; border: 1px solid var(--aqua-light); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font-family: inherit; font-size: 16px; width: 100%; }
.field select { padding-right: 36px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B3D3D' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.signup .btn { width: 100%; height: 56px; font-size: 18px; margin-top: 4px; }
.privacy-line { font-size: 13px; line-height: 1.5; color: var(--aqua-light); margin: 0; text-align: center; }
.privacy-line a { color: var(--surface); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .signup { padding: 24px 20px; } }

/* Product shots: real app layouts drawn at a fixed size, scaled to fit */
.shot-frame { border-radius: 14px; background: var(--white); box-shadow: 0 30px 60px -24px rgba(11, 61, 61, 0.35), 0 0 0 1px rgba(11, 61, 61, 0.08); overflow: hidden; }
.shot-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #E8F4F4; border-bottom: 1px solid #D3E8E8; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #B9D3D3; }
.shot-bar span { margin-left: 12px; font-size: 12px; color: #5C7C7C; background: var(--white); border-radius: 6px; padding: 3px 12px; }
.scaler { position: relative; overflow: hidden; }
.scaler > .app { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.hero-shot { margin-top: 64px; }

/* Mock admin app (mirrors the live admin layout) */
.app { display: flex; background: #F2FEFE; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: #0B3D3D; font-size: 13px; }
.app-side { width: 200px; flex-shrink: 0; background: #17A398; color: #fff; padding: 14px 0; }
.app-logo { display: flex; align-items: center; gap: 10px; padding: 0 16px 14px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.app-logo .mark { width: 30px; height: 30px; border-radius: 6px; background: #F2FEFE; display: grid; place-items: center; }
.app-logo .mark svg { width: 24px; height: 24px; }
.app-logo strong { display: block; font-family: Georgia, serif; font-size: 14px; }
.app-logo small { display: block; color: #A5F3F3; font-size: 10px; }
.app-nav { padding: 8px 0; }
.app-nav div { display: flex; gap: 12px; align-items: center; padding: 9px 18px; color: rgba(255,255,255,0.7); border-left: 3px solid transparent; }
.app-nav div.on { background: rgba(255,255,255,0.13); color: #fff; font-weight: 600; border-left-color: #A5F3F3; }
.app-nav b { width: 16px; text-align: center; font-weight: 400; }
.app-main { flex: 1; padding: 22px 24px; min-width: 0; }
.app-h { font-family: Georgia, serif; font-size: 22px; margin: 0 0 14px; font-weight: 700; }
.app-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.pill { padding: 6px 12px; border-radius: 999px; border: 1px solid #A5F3F3; background: #fff; font-size: 12px; }
.pill.on { background: #17A398; color: #fff; border-color: #17A398; }
.app-btn { margin-left: auto; background: #17A398; color: #fff; border-radius: 8px; padding: 7px 14px; font-weight: 600; font-size: 12px; }

.week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.day { background: #fff; border: 1px solid #DFFAFA; border-radius: 10px; padding: 8px; min-height: 330px; }
.day h4 { margin: 0 0 8px; font-size: 11px; color: #718096; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.day h4 span { display: block; font-size: 18px; color: #0B3D3D; letter-spacing: 0; }
.day.today { border-color: #17A398; box-shadow: inset 0 0 0 1px #17A398; }
.job { border-radius: 7px; padding: 7px 8px; margin-bottom: 6px; font-size: 11px; line-height: 1.35; border: 1px solid #86efac; background: #DCFCE7; color: #166534; }
.job strong { display: block; color: #0B3D3D; font-size: 11.5px; }
.job.done { background: #F0FDF4; border-color: #bbf7d0; color: #276749; }
.job.pend { background: #FFF7ED; border-color: #fed7aa; color: #C05621; }

.cust-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: #17A398; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid #DFFAFA; margin-bottom: 14px; }
.tabs div { padding: 8px 14px; color: #718096; }
.tabs div.on { color: #17A398; font-weight: 700; border-bottom: 2px solid #17A398; margin-bottom: -1px; }
.cards2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px; }
.card { background: #fff; border: 1px solid #DFFAFA; border-radius: 12px; padding: 14px 16px; }
.card h5 { margin: 0 0 10px; font-size: 12px; color: #718096; text-transform: uppercase; letter-spacing: 0.5px; }
.row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #F0FAFA; }
.row:last-child { border-bottom: 0; }
.row span:first-child { color: #718096; }

/* Mock cleaner app (phone) */
.phone { width: 300px; border-radius: 40px; background: #0B3D3D; padding: 12px; box-shadow: 0 30px 60px -24px rgba(11, 61, 61, 0.45); }
.phone-screen { border-radius: 30px; background: #F2FEFE; overflow: hidden; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: #0B3D3D; font-size: 13px; }
.phone-top { background: #17A398; color: #fff; padding: 22px 18px 14px; }
.phone-top small { color: #DFFAFA; }
.phone-top strong { display: block; font-size: 17px; margin-top: 2px; }
.progress { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.3); margin-top: 10px; }
.progress i { display: block; height: 100%; width: 60%; border-radius: 6px; background: #A5F3F3; }
.rooms { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.room { background: #fff; border: 1px solid #DFFAFA; border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.room .chk { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #A5F3F3; flex-shrink: 0; display: grid; place-items: center; }
.room.ok .chk { background: #17A398; border-color: #17A398; }
.room div { flex: 1; min-width: 0; }
.room strong { display: block; font-size: 13px; }
.room small { color: #718096; font-size: 11px; }
.room .thumb { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #CDEDEA, #9FD9D3); flex-shrink: 0; }
.phone-cta { margin: 4px 12px 16px; background: #0B3D3D; color: #fff; border-radius: 12px; text-align: center; padding: 12px; font-weight: 700; }
.gps { margin: 0 12px 10px; font-size: 11px; color: #276749; background: #F0FDF4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 6px 10px; }

/* Make it yours */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.step { background: var(--white); border: 1px solid var(--aqua-light); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-alt); color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 22px; line-height: 1.25; }
.step p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.step-visual { margin-top: auto; background: var(--surface); border: 1px solid var(--surface-alt); border-radius: var(--radius-md); padding: 14px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--aqua-light); font-size: 12px; font-weight: 500; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.mini-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--aqua-light); }
.mini-row:last-child { border-bottom: 0; }
.mini-msg { background: var(--white); border-radius: 10px; padding: 10px 12px; border: 1px solid var(--surface-alt); line-height: 1.5; }
.mini-msg mark { background: var(--surface-alt); color: var(--teal-dark); border-radius: 4px; padding: 0 3px; font-weight: 600; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Feature grid */
.alt { background: var(--surface-alt); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.feature { background: var(--white); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--surface-alt); display: grid; place-items: center; color: var(--teal-dark); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; line-height: 1.3; }
.feature p { margin: 0; color: var(--ink-soft); line-height: 1.6; font-size: 15.5px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* Screens */
.screens { max-width: 920px; margin: 48px auto 0; }
.screens figure, .phones figure { margin: 0; }
.screens figcaption, .phones figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.phones { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 56px; margin-top: 64px; }
.phones figure { width: 300px; max-width: 100%; }

/* Cleaner app: today's jobs (mirrors the live JobCard) */
.jobcard { background: #fff; border: 1px solid #DFFAFA; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.jobcard strong { font-size: 15px; }
.jobcard small { color: #718096; font-size: 12px; }
.jobcard.small { padding: 10px 12px; }
.jobcard.small strong { font-size: 13px; }
.jc-time { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: #0F7F76; }
.jc-notes { margin-top: 8px; background: #FFFFF0; border: 1px solid #FAF089; border-radius: 8px; padding: 7px 9px; font-size: 11.5px; line-height: 1.4; }
.jc-notes b { display: block; font-size: 10px; color: #B7791F; text-transform: uppercase; letter-spacing: 0.06em; }
.jc-maps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.jc-maps span { text-align: center; white-space: nowrap; font-size: 10.5px; font-weight: 600; padding: 7px 2px; border-radius: 8px; border: 1px solid #A5F3F3; background: #F2FEFE; }
.jc-start { margin-top: 8px; background: #17A398; color: #fff; text-align: center; border-radius: 8px; padding: 9px; font-weight: 700; }
.jc-late { margin-top: 5px; background: #EBF8FF; color: #2B6CB0; border: 1px solid #BEE3F8; text-align: center; border-radius: 8px; padding: 7px; font-weight: 600; font-size: 12px; }
.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #DFFAFA; background: #fff; }
.tabbar span { text-align: center; padding: 10px 0 14px; font-size: 11px; color: #718096; }
.tabbar span.on { color: #17A398; font-weight: 700; }

/* Automations (dark band) */
.dark { background: var(--ink); color: var(--surface); }
.dark .eyebrow { color: var(--aqua); }
.dark .section-lead { color: var(--aqua-light); }
.auto-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.auto { background: #0F4A4A; border: 1px solid #1B5E5E; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.auto h3 { font-size: 22px; }
.auto p { margin: 0; color: #CDEFEF; line-height: 1.6; }
.timeline { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.tl { display: flex; align-items: center; gap: 12px; background: #0B3D3D; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.tl b { min-width: 52px; color: var(--aqua); font-size: 13px; }
.tl.stop { background: transparent; border: 1px dashed var(--aqua); color: var(--aqua-light); }
.review-card { margin-top: 8px; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 18px; font-size: 14px; line-height: 1.5; }
.review-card .stars { display: flex; gap: 3px; color: #C8963E; margin: 8px 0 12px; }
.review-card .stars svg { width: 18px; height: 18px; }
.review-card .rbtn { display: inline-block; background: var(--teal); color: var(--white); border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: 13px; }
@media (max-width: 860px) { .auto-grid { grid-template-columns: 1fr; } }

/* More from clients */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.trio .feature { border: 1px solid var(--aqua-light); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* Final CTA */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--surface); padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .brand { color: var(--surface); }
.site-footer .brand span { font-size: 18px; }
.site-footer .brand b { color: var(--aqua); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--surface); }
.site-footer a:hover { color: var(--aqua); }
.site-footer small { color: var(--aqua-light); font-size: 13px; }

/* Plain pages (privacy, thanks) */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.1; letter-spacing: -1.2px; }
.page .updated { color: var(--ink-soft); margin: 10px 0 36px; }
.page h2 { font-size: 22px; margin: 32px 0 8px; }
.page p { margin: 0 0 14px; line-height: 1.7; font-size: 17px; }
