:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5f6368;
  --card: #f5f6f8;
  --border: #e3e5e8;
  --accent: #3b5bdb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --fg: #ececec;
    --muted: #a0a4ab;
    --card: #1b1d21;
    --border: #2a2d33;
    --accent: #7c95ff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #0b1e2d;
  color: var(--fg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
/* Fixed sea backdrop on a pseudo-element: background-attachment: fixed is ignored on iOS. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(5, 20, 35, 0.35), rgba(5, 20, 35, 0.55)), url("/images/sea.jpg") center / cover no-repeat;
  background: linear-gradient(rgba(5, 20, 35, 0.35), rgba(5, 20, 35, 0.55)), image-set(url("/images/sea.webp") type("image/webp"), url("/images/sea.jpg") type("image/jpeg")) center / cover no-repeat;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { padding: 72px 0 40px; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
header .tagline { color: rgba(255, 255, 255, 0.85); }
header nav a { color: #fff; font-weight: 500; }
main {
  background: var(--bg);
  border-radius: 16px;
  padding: 8px 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
main section:first-child { border-top: 0; }
nav { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
nav a, a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 2.2rem; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: 1.4rem; margin: 0 0 12px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
.tagline { color: var(--muted); margin: 6px 0 0; font-size: 1.1rem; }
section { padding: 32px 0; border-top: 1px solid var(--border); }
.apps { display: grid; gap: 16px; }
.app {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.app p { margin: 0 0 10px; color: var(--muted); }
.badge {
  display: inline-block;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.policy h3 { margin-top: 20px; }
.policy p, .policy li { color: var(--fg); }
.muted { color: var(--muted); }
footer { padding: 24px 0 40px; color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
footer a { color: #fff; text-decoration: underline; }
footer p { margin: 4px 0; }
header h1 a.home { color: inherit; text-decoration: none; }
