:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #17191c;
  --muted: #666d76;
  --line: #e6e9ed;
  --accent: #1769e0;
  --dark: #0d0f12;
  --dark-surface: #171a1f;
  --dark-text: #f7f7f8;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  min-height: 66px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .06em;
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.navlinks a {
  text-decoration: none;
  color: #333941;
  font-weight: 600;
  font-size: .95rem;
}

.navlinks a:hover { color: var(--accent); }

.container {
  width: min(1100px, calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  padding: 92px 0 72px;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 800;
  font-size: .78rem;
}

h1, h2, h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin-bottom: 20px;
  letter-spacing: -.04em;
}

.hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.15rem;
}

.apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.card h2 { margin-bottom: 12px; }
.card p { color: var(--muted); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, opacity .15s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--text);
  color: white;
}

.button.secondary {
  background: transparent;
}

.button.disabled {
  pointer-events: none;
  opacity: .45;
}

.app-hero {
  padding: 78px 0 42px;
}

.app-hero .lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 35px 0 55px;
}

.screen {
  background: #e9edf2;
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b838d;
  text-align: center;
}

.screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin: 20px 0 60px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  border-top: 1px solid var(--line);
  padding: 42px 0 70px;
}

.legal {
  max-width: 820px;
  padding: 64px 0 80px;
}

.legal h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.legal h2 {
  margin-top: 36px;
  font-size: 1.4rem;
}

.legal p, .legal li {
  color: #4f5660;
}

.notice {
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff7df;
  border: 1px solid #f3d98b;
  margin: 26px 0;
}

.invisible-page {
  background: var(--dark);
  color: var(--dark-text);
}

.invisible-page .topbar {
  background: rgba(13,15,18,.93);
  border-color: #282c33;
}

.invisible-page .brand,
.invisible-page .navlinks a { color: var(--dark-text); }

.invisible-page .navlinks a:hover { color: #9bc1ff; }

.invisible-page .app-hero .lead,
.invisible-page .feature p { color: #b8bec7; }

.invisible-page .feature {
  background: var(--dark-surface);
  border-color: #292e36;
}

.invisible-page .screen {
  background: #050607;
  border-color: #292e36;
  color: #676d76;
}

.invisible-page .cta {
  border-color: #292e36;
}

.invisible-page .button.primary {
  background: white;
  color: #111;
  border-color: white;
}

.invisible-page .button.secondary {
  border-color: white;
  color: white;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  color: var(--muted);
  font-size: .92rem;
}

.invisible-page footer { border-color: #292e36; color: #8f969f; }

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-row a { text-decoration: none; }

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .apps,
  .screens,
  .features {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 64px; }
  .screen { min-height: 340px; }
}
/* Cleaning Routine page additions */
.cr-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}
.cr-logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
}
.cr-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  margin: 20px 0 80px;
}
.cr-gallery figure {
  margin: 0;
  text-align: center;
}
.cr-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cr-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.feature-section { padding-bottom: 28px; }
.section-heading { max-width: 680px; margin-bottom: 26px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 8px; }
.cr-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-bottom: 55px;
}
.last-updated { margin-top: 48px; }
.legal a { color: var(--accent); }

@media (max-width: 760px) {
  .cr-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cr-logo { max-width: 130px; }
  .cr-gallery, .cr-features { grid-template-columns: 1fr; }
}
