/* Eyes Off Timer support site — minimal styles that echo the app:
   soft light background, near-black text, iOS system blue accent,
   generous rounding on cards. System fonts only, no build step. */

:root {
  color-scheme: light dark;
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6c6c70;
  --border: #e5e5ea;
  --accent: #007aff;
  --radius-card: 20px;
  --radius-tag: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f2f2f7;
    --muted: #98989d;
    --border: #2c2c2e;
    --accent: #0a84ff;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Hiragino Sans", "Yu Gothic UI", "Segoe UI",
               Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

header.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

header.site .brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

header.site nav a {
  color: var(--muted);
  margin-left: 16px;
  font-size: 14px;
  text-decoration: none;
}

header.site nav a:hover { color: var(--accent); }

h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
  line-height: 1.15;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}

h2 small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}

p { margin: 0 0 16px; }
p.lead { font-size: 19px; color: var(--muted); margin-bottom: 32px; }

ul { padding-left: 20px; margin: 0 0 16px; }
li { margin: 6px 0; }

.card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin: 24px 0;
  border: 1px solid var(--border);
}

.card h2:first-child { margin-top: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-tag);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-tag);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 0 32px;
}

.cta:hover { text-decoration: none; opacity: 0.9; }

.footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.footer .langs a { color: var(--muted); margin-right: 12px; }
.footer .langs a:hover, .footer .langs a[aria-current="true"] {
  color: var(--text);
  font-weight: 600;
}

.date { color: var(--muted); font-size: 13px; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  background: var(--border);
  padding: 1px 6px;
  border-radius: 4px;
}
