/* Lowake marketing + legal site.
   Standalone from the in-app caregiver webview (static/styles.css); this
   stylesheet is built to look right in a desktop or mobile browser. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --text: #1a1d26;
  --text-dim: #5a6076;
  --accent: #ff3b30;
  --accent-ink: #c41e16;
  --border: #e4e7ef;
  --maxw: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --bg-soft: #161922;
    --text: #f6f7fb;
    --text-dim: #a8adbf;
    --accent: #ff5d52;
    --accent-ink: #ff7a70;
    --border: #2a2f3d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon { line-height: 0; flex: 0 0 auto; }
.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.brand .dot { color: var(--accent); }
.site-header nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.site-header nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 48px; }
.hero h1 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero p.lede {
  font-size: 20px;
  color: var(--text-dim);
  margin: 0 0 28px;
  max-width: 60ch;
}
.badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}
.app-store-cta { margin: 0 0 24px; }
.app-store-cta a { display: inline-block; }
.app-store-cta img { display: block; }

/* Hero screenshot */
.screens {
  margin: 8px 0 28px;
  padding: 0;
}
.screens img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

/* Sections */
section.block { padding: 40px 0; border-top: 1px solid var(--border); }
section.block h2 { font-size: 24px; letter-spacing: -0.01em; margin: 0 0 16px; }
section.block p { color: var(--text-dim); margin: 0 0 16px; }

/* Steps */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.step .n {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin: 0 0 6px; }
.step p { font-size: 15px; margin: 0; color: var(--text-dim); }

/* Callout */
.callout {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
  color: var(--text-dim);
}
.callout strong { color: var(--text); }

/* Legal prose */
.legal { padding-top: 48px; padding-bottom: 48px; }
.legal h1 { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .updated { color: var(--text-dim); font-size: 15px; margin: 0 0 32px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-dim); }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent-ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; margin-top: 24px; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}
.site-footer, .site-footer a { color: var(--text-dim); font-size: 14px; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--text); }
