/* TASHNAZ — studio legal pages (accessibility statement, privacy policy, terms).
   Same look as pocket-magnet/privacy.html, in the studio's own ember colours. */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-wdth.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2-variations"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Hebrew"; src: url("/assets/fonts/ibm-plex-sans-hebrew-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; src: url("/assets/fonts/ibm-plex-sans-hebrew-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; src: url("/assets/fonts/ibm-plex-sans-hebrew-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; src: url("/assets/fonts/ibm-plex-sans-hebrew-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  color-scheme: dark;
  --night: #07080c; --cream: #ede7dc; --muted: #a9a297; --line: rgb(237 231 220 / 0.14);
  --ember: #ff8a3d; --gold: #ffc46b;
  --sans: "Archivo", "IBM Plex Sans Hebrew", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Sans Hebrew", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 5vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cream);
  background:
    radial-gradient(70% 40% at 50% 0%, rgb(126 62 120 / 0.35), transparent 70%),
    radial-gradient(60% 30% at 50% 100%, rgb(255 138 61 / 0.12), transparent 70%),
    radial-gradient(1px 1px at 12% 9%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 34% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 18%, #fff 50%, transparent 51%),
    var(--night);
  background-repeat: no-repeat;
}
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; inset-inline-start: 16px; top: -80px; z-index: 1300; padding: 12px 20px; border-radius: 999px; background: var(--cream); color: var(--night); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 820px; margin: 0 auto; padding: 22px var(--gutter);
}
.home { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 700; letter-spacing: 0.08em; font-size: 0.875rem; }
.home svg { width: 34px; height: auto; }
.lang {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgb(237 231 220 / 0.06); color: var(--cream);
  font: 600 0.875rem/1 var(--sans); cursor: pointer;
}
.lang[lang="he"] { font-family: "IBM Plex Sans Hebrew", var(--sans); }
.lang:hover { background: rgb(237 231 220 / 0.12); }

main { max-width: 820px; margin: 0 auto; padding: 8px var(--gutter) 72px; }
main:focus { outline: none; }
.kicker { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); margin: 24px 0 0; }
h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 6px 0 6px; }
.date { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 28px; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 40px 0 10px; }
h3 { font-size: 1.0625rem; line-height: 1.35; margin: 24px 0 8px; }
p { margin: 0 0 14px; color: rgb(237 231 220 / 0.88); }
ul, ol { margin: 0 0 14px; padding-inline-start: 1.2em; }
li { margin: 6px 0; color: rgb(237 231 220 / 0.88); }
li::marker { color: var(--ember); }
strong { color: var(--cream); }

.short {
  margin: 0 0 8px; padding: 6px 22px 10px; border-radius: 22px;
  background: linear-gradient(160deg, rgb(126 62 120 / 0.35), rgb(40 22 48 / 0.5));
  border: 1px solid rgb(255 243 220 / 0.14);
}
.short h2 { margin-top: 16px; color: var(--gold); }

.table { overflow-x: auto; margin: 8px 0 16px; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
th, td { text-align: start; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: rgb(237 231 220 / 0.04); }
tbody th { font-weight: 600; color: var(--cream); width: 34%; }
td { color: rgb(237 231 220 / 0.82); }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.contact-card { margin: 8px 0 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgb(237 231 220 / 0.04); }
.contact-card p { margin: 0 0 6px; }
.contact-card p:last-child { margin: 0; }

footer { max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-links a[aria-current="page"] { color: var(--cream); text-decoration: none; }

[hidden] { display: none !important; }
:lang(he) h1, :lang(he) h2, :lang(he) .kicker { letter-spacing: 0; }
@media (max-width: 600px) {
  body { font-size: 0.9375rem; }
  .short { padding-inline: 16px; }
  .table { border: 0; overflow: visible; }
  table { min-width: 0; }
  thead { display: none; }
  tr { display: block; margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; }
  tbody th, td { display: block; width: auto; padding: 0; border: 0; }
  tbody th { margin-bottom: 6px; }
  td { margin-top: 4px; font-size: 0.875rem; }
  td::before { content: attr(data-label) " · "; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
}
@media print {
  body { background: #fff; color: #000; }
  p, li, td, strong, h1, h2, h3 { color: #000; }
  .top .lang, footer { display: none; }
}
