:root {
  --orange: #f2672a;
  --orange-2: #fa8c33;
  --ink: #16120f;
  --muted: #6b625b;
  --bg: #fffaf6;
  --card: #ffffff;
  --line: #f0e4da;
  --radius: 22px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f6efe9;
    --muted: #b3a79d;
    --bg: #14100d;
    --card: #1e1915;
    --line: #2e2620;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(242, 103, 42, .6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(242, 103, 42, .7); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.small { padding: 10px 16px; font-size: 15px; }

.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 48px 0 32px;
}
.eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin: 0 0 12px; }
h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 20px; }
h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 28px; }
h3 { margin: 0 0 6px; font-size: 19px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }

.appstore {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 18px; border-radius: 14px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 650; font-size: 22px; line-height: 1.05;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); transition: transform .15s ease;
}
.appstore:hover { transform: translateY(-1px); }
.appstore small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }
.or { margin: 22px 0 10px; font-size: 14px; color: var(--muted); }

.waitlist {
  display: grid; grid-template-columns: 1fr auto auto; gap: 8px;
  padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  max-width: 560px; box-shadow: 0 20px 40px -24px rgba(0,0,0,.25);
}
.waitlist input, .waitlist select {
  border: 0; background: transparent; color: var(--ink); font: inherit; padding: 0 14px; min-width: 0; outline: none;
}
.waitlist select { color: var(--muted); border-left: 1px solid var(--line); }
.form-note { grid-column: 1 / -1; margin: 4px 14px 2px; font-size: 14px; color: var(--muted); }
.waitlist.done input, .waitlist.done select, .waitlist.done button { display: none; }
.waitlist.done .form-note { font-size: 17px; color: var(--ink); font-weight: 600; margin: 10px 14px; }

.phones { position: relative; height: 620px; }
.phone {
  position: absolute; right: 8%; top: 0; width: 290px; aspect-ratio: 1206 / 2622;
  border-radius: 46px; padding: 10px; background: #111;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.45), inset 0 0 0 2px #333;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phone.back { right: 46%; top: 50px; transform: rotate(-6deg) scale(.9); opacity: .95; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 24px 72px;
}
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.stats b { display: block; font-size: 36px; letter-spacing: -.02em; color: var(--orange); }
.stats span { color: var(--muted); }

.how { margin-bottom: 72px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps p, .features p { color: var(--muted); margin: 0; }
.num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; font-weight: 700;
}

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 72px; }
.features article { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.ic { font-size: 28px; margin-bottom: 10px; }

.faq { max-width: 760px; margin-bottom: 72px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

.cta {
  text-align: center; padding: 56px 24px; margin-bottom: 48px; border-radius: 32px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff;
}
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0 0 24px; opacity: .9; }
.cta .btn { background: #fff; color: var(--orange); box-shadow: none; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }

/* Legal pages */
.doc { max-width: 720px; padding: 24px 0 64px; }
.doc h1 { font-size: 44px; }
.doc h2 { font-size: 24px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .phones { height: 480px; }
  .phone { width: 220px; right: 6%; border-radius: 36px; }
  .phone img { border-radius: 28px; }
  .phone.back { right: 44%; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .waitlist { grid-template-columns: 1fr; border-radius: 24px; }
  .waitlist input, .waitlist select { padding: 12px 14px; }
  .waitlist select { border-left: 0; border-top: 1px solid var(--line); }
  .stats, .steps, .features { grid-template-columns: 1fr; }
  .phones { height: 420px; }
  .phone { width: 190px; right: 4%; }
  .phone.back { right: 42%; top: 36px; }
}

/* Content pages */
.nav .links { display: flex; gap: 18px; }
.nav .links a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 15px; }
.nav .links a:hover { color: var(--ink); }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.crumbs a { color: var(--muted); }
.doc { max-width: 900px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.doc article h2 { font-size: 26px; margin: 36px 0 10px; }
.doc article p, .doc article li { color: var(--ink); opacity: .88; }
.lead-sm { font-size: 19px; color: var(--muted); }
.meta { font-size: 14px; color: var(--muted); margin-top: -8px; }
.answer { font-size: 22px; padding: 18px 22px; border-radius: 18px; background: rgba(48, 176, 84, .12); border: 1px solid rgba(48, 176, 84, .35); }
.answer.no { background: rgba(242, 103, 42, .1); border-color: rgba(242, 103, 42, .4); }
.note { font-size: 15px; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 99px; background: rgba(242, 103, 42, .14); color: var(--orange); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin: 20px 0; }
table.rules { width: 100%; border-collapse: collapse; font-size: 15px; }
.rules th, .rules td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rules th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--card); }
.rules tr:last-child td { border-bottom: 0; }
.rules td.next { font-weight: 650; white-space: nowrap; }
.rules td.next.now { color: #d83a2c; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0; }
.cards.list { grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.card:hover { transform: translateY(-2px); }
.card b { font-size: 19px; }
.card span { color: var(--muted); font-size: 15px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; }
.letters a { padding: 4px 9px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 650; }
ul.cols { columns: 3 220px; padding-left: 18px; }
ul.cols li { margin: 4px 0; break-inside: avoid; }
.cta-inline { display: flex; align-items: center; gap: 16px; margin: 48px 0 8px; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.cta-inline img { border-radius: 14px; }
.cta-inline div { flex: 1; display: flex; flex-direction: column; }
.cta-inline span { color: var(--muted); font-size: 15px; }
.status { display: flex; gap: 18px; align-items: center; padding: 26px; border-radius: 26px; margin: 18px 0; color: #fff; }
.status.on { background: linear-gradient(135deg, #f58b3a, #e2532a); }
.status.off { background: linear-gradient(135deg, #3cc06b, #22974f); }
.status .big { font-size: clamp(28px, 5vw, 40px); font-weight: 750; line-height: 1.1; }
.status .emoji { font-size: 52px; }
.status small { display: block; opacity: .9; font-size: 16px; font-weight: 500; margin-top: 6px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 18px 0; }
.week div { padding: 12px 6px; text-align: center; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.week b { display: block; font-size: 15px; }
.week .off { border-color: rgba(48, 176, 84, .5); }
.week .off em { color: #22974f; font-style: normal; font-weight: 650; }
@media (max-width: 760px) {
  .nav .links { display: none; }
  .cta-inline { flex-direction: column; text-align: center; }
  .week { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .rules thead { display: none; }
  .rules tr { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .rules tr:last-child { border-bottom: 0; }
  .rules td { border: 0; padding: 0; }
  .rules td:first-child { grid-column: 1 / -1; font-weight: 650; }
  .rules td:nth-child(2) { color: var(--muted); }
  .rules td.next { grid-column: 1 / -1; color: var(--orange); }
  .rules td.next::before { content: "Next cleaning: "; color: var(--muted); font-weight: 500; }
}
