/* Caretaker's site: the app's own quiet, Apple-like look. System font, system colours, light and dark. */
:root {
  --bg: #fbfbfd;
  --paper: #ffffff;
  --ink: #1d1d1f;
  --body: #424245;
  --dim: #6e6e73;
  --line: #e5e5ea;
  --fill: #f2f2f7;
  --accent: #0071e3;
  --accent-ink: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --paper: #1c1c1e;
    --ink: #f5f5f7;
    --body: #d1d1d6;
    --dim: #98989d;
    --line: #2c2c2e;
    --fill: #1c1c1e;
    --accent: #2997ff;
    --accent-ink: #ffffff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 20px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 17px; }
.brand img { width: 26px; height: 26px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--body); }
.nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 560px) { .nav .hide-small { display: none; } }

/* Buttons */
.button { display: inline-block; padding: 11px 22px; border-radius: 980px; font-size: 16px; font-weight: 500;
  background: var(--accent); color: var(--accent-ink); }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.quiet { background: transparent; color: var(--accent); padding-left: 8px; padding-right: 8px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero .icon { width: 128px; height: 128px; margin: 0 auto 20px; }
h1 { color: var(--ink); font-size: clamp(40px, 7vw, 64px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 12px; }
.lede { font-size: clamp(19px, 2.6vw, 24px); color: var(--body); max-width: 680px; margin: 0 auto 28px; line-height: 1.4; }
.small { font-size: 14px; color: var(--dim); }
.hero .small { margin-top: 14px; }

.shot { margin: 24px auto 0; max-width: 1000px; }

/* Sections */
section { padding: 64px 0; }
h2 { color: var(--ink); font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -0.015em; font-weight: 700; margin: 0 0 12px; text-align: center; }
h2 + .lede { margin-bottom: 40px; }
h3 { color: var(--ink); font-size: 19px; margin: 0 0 6px; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card p { margin: 0; font-size: 15px; }
.card ul { margin: 8px 0 0; padding-left: 18px; font-size: 15px; }
.card li { margin: 3px 0; }

.feature { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.feature.flip { grid-template-columns: 1.4fr 1fr; }
.feature.flip .text { order: 2; }
.feature h2 { text-align: left; }
.feature .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); border: 1px solid currentColor; border-radius: 6px; padding: 1px 7px; margin-bottom: 10px; }
@media (max-width: 760px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
}

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.plan .price { color: var(--ink); font-size: 34px; font-weight: 700; margin: 4px 0 2px; }
.plan ul { padding-left: 18px; margin: 16px 0 24px; font-size: 15px; flex: 1; }
.plan li { margin: 4px 0; }
.plan.pro { border-color: var(--accent); }

/* Text pages */
.page { padding: 48px 0 80px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); }
.page h2 { text-align: left; font-size: 24px; margin: 36px 0 8px; }
.page p, .page li { font-size: 16px; }
.page ul { padding-left: 20px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.summary .row { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; border-top: 1px solid var(--line); }
.summary .row:first-of-type { border-top: 0; }
.summary .total { color: var(--ink); font-weight: 600; }
.frame { min-height: 460px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
@media (max-width: 760px) { .checkout { grid-template-columns: 1fr; } }

/* Foot */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--dim); }
footer .seller { flex-basis: 100%; }
