/* Landing page. Builds on style.css tokens. */
.landing main { max-width: 980px; margin: 0 auto; padding: 0 18px; }

.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; grid-gap: 40px; align-items: center;
  padding: 48px 0 56px;
}
.hero h1 { font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero-lede { font-size: 19px; color: #c8d1da; margin: 0 0 26px; max-width: 34em; }
.cta {
  display: inline-block; padding: 16px 26px; border-radius: 999px;
  background: var(--tag); color: #2a1d06; font-weight: 800; font-size: 18px; text-decoration: none;
}
.cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cta-note { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

/* A drawn iPad showing a sleeping dog: the one illustrative moment on the page */
.device {
  aspect-ratio: 3 / 4; max-width: 320px; margin: 0 auto;
  background: #0d1218; border-radius: 34px; padding: 16px;
  box-shadow: 0 0 0 2px #33435a, 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.device-screen { position: relative; height: 100%; border-radius: 20px; overflow: hidden; background: #3b4a5c; }
.scene { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(#55657a, #4a596c 60%); }
.scene-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: #6b5a48; }
.scene-bed { position: absolute; left: 14%; right: 14%; bottom: 16%; height: 22%; border-radius: 50% 50% 40% 40%; background: #8a3f3a; }
.scene-dog {
  position: absolute; left: 26%; right: 26%; bottom: 24%; height: 15%;
  background: #e6c08a; border-radius: 60% 60% 45% 45%;
}
.scene-dog::before {
  content: ""; position: absolute; right: -12%; top: -30%; width: 42%; height: 90%;
  background: #e6c08a; border-radius: 50%;
}
.scene-dog .ear {
  position: absolute; right: 8%; top: -36%; width: 16%; height: 60%;
  background: #b98a55; border-radius: 50% 50% 40% 60%; transform: rotate(18deg);
}
.device-pill {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center;
  padding: 5px 11px; border-radius: 999px; background: rgba(18, 26, 35, 0.75); font-size: 13px; font-weight: 700;
}
.device-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-right: 7px; }
.device-alert {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 12px;
  background: var(--tag); color: #2a1d06; font-weight: 800; font-size: 14px;
}

.band { padding: 36px 0; border-top: 1px solid var(--surface); }
.band h2 { font-size: 28px; margin: 0 0 20px; letter-spacing: -0.01em; }

.how { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 16px; }
.how li { counter-increment: step; background: var(--surface); border-radius: var(--radius-lg); padding: 22px; color: #c8d1da; }
.how li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--tag); color: #2a1d06; font-weight: 800; margin-bottom: 12px;
}
.how strong { display: block; color: var(--text); margin-bottom: 4px; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 22px 32px; }
.features strong { display: block; font-size: 18px; margin-bottom: 4px; }
.features span { color: #c8d1da; }

.price-intro { color: #c8d1da; margin: 0 0 20px; max-width: 46em; }
.price-cards { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 18px; max-width: 860px; }
.price-card h3 { margin: 0 0 10px; font-size: 22px; }
.price-card-free { box-shadow: inset 0 0 0 2px var(--surface-2) !important; }
.cta-secondary { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--tag); }
.price-foot { color: var(--muted); margin: 18px 0 0; max-width: 46em; }
.price-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: inset 0 0 0 2px var(--tag);
}
.price { font-size: 46px; font-weight: 800; margin: 0; line-height: 1; }
.price small { font-size: 18px; font-weight: 700; color: var(--muted); }
.price-sub { color: var(--muted); margin: 6px 0 18px; }
.price-card .cta { margin-top: auto; text-align: center; }
.price-list { margin: 0 0 22px; padding-left: 20px; color: #c8d1da; }
.price-list li { margin-bottom: 8px; }

.faq details { border-top: 1px solid var(--surface-2); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--surface-2); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 44px; }
.faq summary:focus-visible { outline: 3px solid var(--tag); outline-offset: 2px; border-radius: 6px; }
.faq p { color: #c8d1da; margin: 0 0 16px; max-width: 46em; }

.footer { max-width: 980px; margin: 0 auto; padding: 28px 18px 48px; border-top: 1px solid var(--surface); }
.footer a { color: var(--muted); margin-right: 20px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; grid-gap: 28px; }
  .hero h1 { font-size: 34px; }
  .device { max-width: 240px; }
  .how, .features, .price-cards { grid-template-columns: 1fr; }
}
@supports not (aspect-ratio: 1 / 1) {
  .device { height: 420px; }
}
.landing .topbar { max-width: 980px; }

/* Why not buy a pet camera? */
.compare-list { list-style: none; margin: 0 0 4px; padding: 0; max-width: 560px; }
.compare-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--surface-2); color: #c8d1da; }
.compare-list li:first-child { color: var(--text); font-weight: 800; }
.compare-list li:first-child strong { color: var(--tag); }
.compare-list strong { color: var(--text); text-align: right; }
.compare-note { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
