/* WorkLife iOS website — privacy policy, support, landing. Plain CSS, no framework, no web fonts:
   the system font is used through the browser (never a bundled font file). */

:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #5f5f66;
  --line: #e2e2e7;
  --accent: #0a66c2;
  --accent-soft: #e8f1fb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a8;
    --line: #38383c;
    --accent: #5eaaf5;
    --accent-soft: #10263d;
  }
}

* { 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, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  padding: 28px 0 12px;
}

header.site .name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

header.site .tagline {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

nav.site {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

nav.site a {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

nav.site a[aria-current="page"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

main {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 22px 22px;
  margin: 16px 0 28px;
}

h1 { font-size: 1.9rem; line-height: 1.2; margin: 18px 0 4px; }
h2 { font-size: 1.25rem; margin: 30px 0 8px; }
h3 { font-size: 1.05rem; margin: 22px 0 6px; }

p, li { margin: 0 0 10px; }
ul, ol { padding-left: 1.25rem; }

/* Tall portrait screen recordings: cap the height so a phone-shaped video never fills a desktop
   screen, and let it shrink to the column on a phone. */
.guide-video {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  margin: 16px auto 4px;
  border-radius: 18px;
  background: #000;
}

.guide-image { display: block; width: 100%; max-width: 360px; height: auto; margin: 18px auto; border-radius: 18px; }
.meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }

.summary {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0 6px;
}
.summary p:last-child { margin-bottom: 0; }

a { color: var(--accent); }

.table-wrap { overflow-x: auto; margin: 8px 0 12px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

th { font-weight: 600; }
td:first-child { white-space: nowrap; font-weight: 600; }

@media (max-width: 520px) {
  td:first-child { white-space: normal; }
}

footer.site {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0 0 36px;
}
