/* Shared by the static legal pages (/privacy/, /terms/). They are plain
   HTML so Google's reviewers and crawlers read them without running the
   app; the look follows the owner app's palette (src/owner/owner.css). */

:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --ink: #0a0a0b;
  --subtle: #4a4a55;
  --muted: #85858f;
  --line: rgba(10, 10, 15, 0.08);
  --primary: #1a3480;
  --primary-soft: #e8edf8;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--subtle);
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 247, 248, 0.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  /* The pages run edge to edge (viewport-fit=cover), so on an iPhone, and
     inside the installed app, the bar starts below the clock and battery. */
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.nav-inner {
  max-width: 720px; margin: 0 auto; height: 56px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand img { width: 28px; height: 28px; border-radius: 8px; display: block; }
.nav a.other { font-size: 14px; color: var(--muted); text-decoration: none; }
.nav a.other:hover { color: var(--ink); }

main { max-width: 720px; margin: 0 auto; padding: 40px 16px calc(56px + env(safe-area-inset-bottom, 0px)); }

.hero { padding: 0 4px 28px; }
.hero h1 { margin: 0; color: var(--ink); font-size: 34px; line-height: 1.2; font-weight: 700; }
.hero p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.card {
  background: var(--surface);
  border-radius: 24px;
  padding: 8px 24px;
  box-shadow: 0 1px 2px rgba(10, 10, 15, 0.04), 0 1px 1px rgba(10, 10, 15, 0.02);
}

section { padding: 22px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }

h2 { margin: 0 0 8px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.4; }
h3 { margin: 14px 0 4px; color: var(--ink); font-size: 15px; font-weight: 600; }
p { margin: 0 0 8px; }
ul { margin: 4px 0 8px; padding-inline-start: 20px; }
li { margin: 4px 0; }
li::marker { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--primary); text-underline-offset: 3px; }

.note {
  margin: 10px 0 4px; padding: 14px 16px; border-radius: 16px;
  background: var(--primary-soft); color: var(--ink); font-size: 15px;
}

.contact {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 500;
}

footer {
  max-width: 720px; margin: 0 auto; padding: 0 20px calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; font-size: 13px; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; margin-inline-start: 16px; }
footer a:hover { color: var(--ink); }

@media (max-width: 480px) {
  main { padding-top: 28px; }
  .hero h1 { font-size: 28px; }
  .card { padding: 4px 18px; border-radius: 20px; }
}
