/* Shared style for Dana Studio app pages (privacy, support).
   Same colors, fonts and dark mode as the home page. */
:root {
  --paper: #FFFFFF;
  --ink: #1A1F2B;
  --muted: #5E6472;
  --gold: #B08A3E;
  --line: #ECE6D8;
  --soft: #FAF8F3;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14171F; --ink: #F2EFE8; --muted: #A3A7B1; --gold: #D2AE62;
    --line: #2A2E38; --soft: #1B1F29;
  }
}
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Assistant", "Heebo", "Arial Hebrew", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 40px 22px 48px; }

/* Top: back to all apps + language switch */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 15px; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--ink); }
.lang { display: flex; gap: 14px; }
.lang a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* App heading */
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); }
h1 {
  font-family: "Frank Ruhl Libre", "Times New Roman", serif;
  font-weight: 700; font-size: 30px; line-height: 1.2; margin: 0;
}
.subtitle { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.rule { width: 36px; height: 2px; background: var(--gold); margin: 22px 0 26px; border: 0; }
[dir="ltr"] .rule { margin-left: 0; }

/* Content */
section.lang-block + section.lang-block { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
h2 {
  font-family: "Frank Ruhl Libre", "Times New Roman", serif;
  font-weight: 700; font-size: 21px; margin: 32px 0 8px;
}
p, li { color: var(--ink); }
ul { padding-inline-start: 1.2em; margin: 8px 0; }
li { margin: 6px 0; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.highlight {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0;
}
.highlight strong { color: var(--gold); }
a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Questions on the support page */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style-position: inside; }
details p { margin: 10px 0 0; color: var(--muted); }

footer { text-align: center; margin-top: 48px; color: var(--muted); font-size: 15px; }
footer p { margin: 6px 0; }
::selection { background: color-mix(in srgb, var(--gold) 30%, transparent); color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
