/* Rindraw's site: one stylesheet, system fonts, nothing loaded from anyone else. */

:root {
  --paper: #f5f3ee;
  --card: #fbfaf7;
  --ink: #17171a;
  --muted: #5d5d66;
  --line: #e2ded4;
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --sky: #dbe8fb;

  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: 1080px;
  --narrow: 680px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121316;
    --card: #1a1b1f;
    --ink: #eeece7;
    --muted: #a3a3ad;
    --line: #2a2b31;
    --accent: #6b9bff;
    --accent-ink: #0b0c0f;
    --sky: #1b2433;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 0.18em; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }

.wrap { max-width: var(--wide); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.wrap.narrow { max-width: var(--narrow); }

/* Header and footer */

.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font: 600 19px/1 var(--serif);
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }

.site-header nav { display: flex; gap: 20px; font-size: 15px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }

.site-footer {
  margin-top: 96px; padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }

/* Landing page */

.hero { padding-top: 56px; padding-bottom: 32px; text-align: center; }
.hero .icon {
  width: 104px; height: 104px; margin: 0 auto 28px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.22);
}
.hero h1 { font-size: clamp(40px, 7vw, 68px); letter-spacing: -0.02em; }
.hero .lede {
  max-width: 600px; margin: 20px auto 0;
  color: var(--muted); font-size: clamp(18px, 2.2vw, 21px);
}

.cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.button {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.cta small { color: var(--muted); font-size: 14px; }

.device {
  max-width: 760px; margin: 56px auto 0; padding: 14px;
  background: #1c1c1f; border-radius: 36px;
  box-shadow: 0 30px 80px rgba(23, 23, 26, 0.18);
}
.device img { border-radius: 24px; width: 100%; }

section { margin-top: 96px; }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 42px); letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 18px; }

.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promise {
  padding: 28px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line);
}
.promise h3 { font-size: 23px; margin-bottom: 8px; }
.promise p { margin: 0; color: var(--muted); }

.safety {
  padding: 40px; border-radius: 28px;
  background: var(--sky);
}
.safety ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.safety li strong { display: block; font-size: 17px; }
.safety li span { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.feature h3 { font: 600 17px/1.3 var(--sans); margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .device { margin: 0; }

.closing { text-align: center; }
.closing h2 { font-size: clamp(30px, 4.4vw, 42px); }
.closing p { color: var(--muted); margin: 14px auto 0; max-width: 520px; }

/* Legal pages */

.legal { padding-top: 40px; }
.legal h1 { font-size: clamp(36px, 6vw, 48px); letter-spacing: -0.01em; }
.legal .updated { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.legal .summary {
  margin: 32px 0 8px; padding: 22px 24px; border-radius: 16px;
  background: var(--sky);
}
.legal .summary p { margin: 0; }
.legal h2 { font-size: 25px; margin: 44px 0 12px; }
.legal h3 { font: 600 17px/1.35 var(--sans); margin: 24px 0 4px; }
.legal h3 + p { margin-top: 0; }
.legal code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 5px; border-radius: 5px; background: var(--card); border: 1px solid var(--line); }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }

@media (max-width: 820px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header nav { gap: 14px; }
  .hero { padding-top: 32px; }
  .device { padding: 8px; border-radius: 24px; margin-top: 40px; }
  .device img { border-radius: 17px; }
  section { margin-top: 72px; }
  .promises, .safety ul, .features { grid-template-columns: 1fr; }
  .promise { padding: 22px; }
  .safety { padding: 26px 22px; border-radius: 22px; }
}
