/* DriveScribe's look: the app's own colors, light or dark with the visitor's setting. */
:root {
  --bg: #FFFFFF;
  --card: #F0F0F3;
  --line: #E0E1E6;
  --text: #0B0B0C;
  --muted: #60646C;
  --accent: #1F6FCC;
  --pill: #E3EEFB;
  --pill-text: #164F93;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1A1B1E;
    --line: #2E3135;
    --text: #F5F5F7;
    --muted: #B0B4BA;
    --accent: #4C9AF0;
    --pill: #12263F;
    --pill-text: #A9CCF5;
  }
}

* { 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;
}

.site-header, main, .site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  font-size: 20px;
}
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 20px; font-size: 16px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

a { color: var(--accent); text-underline-offset: 3px; }

.hero { padding: 64px 0 40px; text-align: center; }
.hero img { width: 112px; height: 112px; }
.hero h1 {
  margin: 20px 0 12px;
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero p { margin: 0 auto; max-width: 560px; color: var(--muted); font-size: 19px; }
.pill {
  display: inline-block;
  margin-top: 20px;
  background: var(--pill);
  color: var(--pill-text);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.features li { background: var(--card); border-radius: 16px; padding: 20px; }
.features h2 { font-size: 17px; margin: 0 0 4px; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }

/* Long pages: privacy, terms, support. */
.doc { padding-top: 40px; padding-bottom: 16px; }
.doc h1 { font-size: clamp(30px, 5vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 21px; line-height: 1.3; margin: 36px 0 8px; letter-spacing: -0.01em; }
.doc h3 { font-size: 17px; margin: 22px 0 4px; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.summary { background: var(--card); border-radius: 16px; padding: 18px 20px; margin: 0 0 8px; }
.summary p:last-child { margin-bottom: 0; }
.caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }
address { font-style: normal; }

.site-footer { padding-top: 40px; padding-bottom: 48px; color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  .site-header { padding-top: 20px; }
  .hero { padding: 40px 0 28px; }
  .hero img { width: 96px; height: 96px; }
}

/* Keep a phone number on one line. */
a[href^="tel:"] { white-space: nowrap; }
