/* Shared by privacy.html and terms.html. Colours from SunShines/Theme.swift. */
:root {
  --ink: #2c2e6f; --grape: #8e4a8e; --coral: #f27a77; --peach: #ffc673;
  --paper: #f7f3fa; --card: #ffffff; --text: #2c2e6f; --ink-soft: #5f5687; --plum: #7b3f7e;
  --warm: linear-gradient(90deg, var(--coral), var(--peach));
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #11112a; --card: #1e1e44; --text: #f3eefb; --ink-soft: #b4add6; --plum: #d9a8dc; }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: ".SF Hebrew Rounded", "SF Pro Rounded", "Rubik", system-ui, sans-serif;
  background: var(--paper); color: var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--plum); }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }

.top {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 24px 0 110px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--grape) 55%, var(--coral) 90%, var(--peach) 100%);
}
.top::before {
  content: ""; position: absolute; inset: -60% -40% auto; height: 220%;
  background: repeating-conic-gradient(from 4deg at 50% 60%, rgba(255,255,255,.07) 0deg 9deg, transparent 9deg 18deg);
  pointer-events: none;
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; text-align: right; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 14px rgba(20,21,47,.25); }
.back {
  height: 40px; padding: 0 18px; display: inline-flex; align-items: center;
  border-radius: 999px; background: var(--warm); color: var(--ink);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(242,122,119,.35);
}
.sun { position: relative; width: 120px; margin: 34px auto 12px; display: block; }
h1 { position: relative; font-size: clamp(36px, 6vw, 52px); font-weight: 800; line-height: 1.1; }
.updated { position: relative; margin-top: 8px; font-weight: 600; color: rgba(255,255,255,.85); }
.hill {
  position: absolute; left: -50%; right: -50%; bottom: -1px; height: 80px;
  background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.doc { display: grid; gap: 14px; margin-top: 10px; }
.card { background: var(--card); border-radius: 26px; padding: 22px 24px; }
.card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 17px; font-weight: 500; line-height: 1.65; }

footer { padding: 40px 0 50px; text-align: center; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
footer nav { display: flex; justify-content: center; gap: 22px; margin-bottom: 10px; flex-wrap: wrap; }
footer a { text-decoration: none; font-weight: 600; }

@media (max-width: 460px) {
  .card { padding: 18px; border-radius: 22px; }
  .card p { font-size: 16px; }
  .brand { font-size: 15px; }
  .brand img { width: 36px; height: 36px; }
}
