/* Dual Camera Record — minimal site styles
   Mobile-first, system font stack, single accent color.
   ==================================================== */

:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --accent: #111827;
  --accent-fg: #ffffff;
  --radius: 14px;
  --maxw: 720px;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }

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

/* Layout */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.site-header .brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.site-header nav a {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 20px;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--text); }

.site-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
}
.site-footer a:hover { color: var(--text); }

/* Hero (home) */
.hero {
  text-align: center;
  padding: 16px 0 40px;
}
.hero .app-icon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  margin: 0 auto 20px;
  display: block;
  background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}
.hero .app-icon svg { width: 64px; height: 64px; display: block; margin: 24px auto; }

.hero h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 700;
}
.hero .tagline {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-fg);
  border: 1px solid var(--accent);
  transition: transform 0.06s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: translateY(1px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 8px;
}

/* Features */
.features {
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.features .feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.features .feature-icon svg { width: 20px; height: 20px; }
.features .feature-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}
.features .feature-text span {
  color: var(--text-muted);
  font-size: 15px;
}

@media (min-width: 640px) {
  .features ul {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
}

/* Privacy policy */
.policy h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 700;
}
.policy .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.policy h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 8px;
  letter-spacing: -0.01em;
}
.policy p, .policy li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.policy p + h2 { margin-top: 28px; }
.policy a { word-break: break-word; }

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}
.back-link:hover { color: var(--text); }

/* Small screens */
@media (max-width: 480px) {
  .page { padding: 32px 20px 48px; }
  .hero h1 { font-size: 28px; }
  .hero .tagline { font-size: 16px; }
  .btn { display: block; width: 100%; }
  .btn-secondary { margin-left: 0; margin-top: 10px; }
  .site-header nav a { margin-left: 14px; }
}
