/* Shared styling for the three standalone pages Apple and Google link to:
   /privacy/, /terms/ and /support/. Kept in one file so the three never drift
   apart, and plain enough that a page still reads correctly if it does not
   load at all. */

:root {
  --bg: #ffffff;
  --card: #f8fafc;
  --ink: #0f172a;
  --muted: #52637a;
  --line: #e2e8f0;
  --brand: #059669;
  --brand-soft: #ecfdf5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --card: #111a2b;
    --ink: #e8eef7;
    --muted: #9aacc4;
    --line: #1f2b40;
    --brand: #34d399;
    --brand-soft: #0d2a22;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220;
  --card: #111a2b;
  --ink: #e8eef7;
  --muted: #9aacc4;
  --line: #1f2b40;
  --brand: #34d399;
  --brand-soft: #0d2a22;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 40px 16px 72px; }

header { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 30px; }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--brand); letter-spacing: -.01em;
}
.brand svg { width: 26px; height: 26px; flex: none; }

h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.2; margin: 18px 0 8px; letter-spacing: -.02em; }
h2 { font-size: clamp(19px, 3.4vw, 22px); margin: 38px 0 10px; letter-spacing: -.01em; }
h3 { font-size: 16px; margin: 22px 0 6px; }

.stamp { color: var(--muted); font-size: 14px; margin: 0; }

p { margin: 10px 0; }
ul, ol { margin: 10px 0; padding-inline-start: 22px; }
li { margin: 5px 0; }
a { color: var(--brand); }

.note {
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--brand);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
}
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--card); font-weight: 600; }

/* The Kurdish half of each page. */
.ku {
  direction: rtl; text-align: right;
  border-top: 1px solid var(--line);
  margin-top: 56px; padding-top: 34px;
}

footer {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
footer a { margin-inline-end: 14px; }

/* A contact block big enough to be the obvious thing on the support page. */
.contact {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  text-decoration: none;
  color: var(--ink);
}
.contact strong { display: block; color: var(--brand); font-size: 18px; margin-bottom: 2px; }
.contact span { color: var(--muted); font-size: 14px; }
