/*
 * The policy and contact pages under /legal/. Visitors reach them from the
 * marketing site at heyassi.ai (decision 0057), so they wear its look — Heebo,
 * the purple and ink below, the ✦ HeyAssi mark, white page, rounded card — not
 * the app's design language. Static files: no build step, so the tokens are
 * restated here rather than imported; they mirror the marketing site's :root.
 * The fonts are the app's own self-hosted Heebo subsets (src/fonts.css), never
 * a third-party font host.
 */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/heebo-v28-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/heebo-v28-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/heebo-v28-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/heebo-v28-symbols.woff2') format('woff2');
  unicode-range:
    U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192,
    U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F,
    U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB,
    U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB;
}

:root {
  --ink: #202033;
  --muted: #6a6a7b;
  --purple: #6945d5;
  --purple-dark: #5632c1;
  --line: #e9e7f0;
  --pale: #f7f5fc;
  --radius: 22px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Heebo, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--purple);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--purple-dark);
}
a:focus-visible {
  outline: 3px solid #a28aed;
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(880px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header and footer are Hebrew on every page, as on the marketing site. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover {
  color: var(--ink);
}
.brand > span > span {
  color: var(--purple);
}
.brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--purple);
  color: #fff;
  font-size: 26px;
  line-height: 34px;
  text-align: center;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 10px 21px;
  border: 1px solid #dddae7;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.button:hover {
  background: var(--pale);
  color: var(--ink);
}

.page {
  padding-block: 48px 72px;
}
.hero {
  margin-bottom: 28px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.eyebrow::before {
  content: '✦' / '';
  color: var(--purple);
  font-size: 18px;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
}
.lede,
.updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.updated {
  font-size: 14px;
}

/* The document itself: one rounded card, like the marketing site's panels. */
.card {
  padding: clamp(22px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 70px #3a245212;
}
.card h2 {
  margin: 36px 0 10px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}
.card h2:first-child {
  margin-top: 0;
}
.card p {
  margin: 0 0 14px;
}
.card li {
  margin-bottom: 8px;
}
.card ul,
.card ol {
  margin: 0 0 14px;
  padding-inline-start: 22px;
}
code {
  overflow-wrap: anywhere;
}

.card hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.draft {
  margin: 0 0 20px;
  padding: 10px 14px;
  border: 1px solid #e8c98a;
  border-radius: 12px;
  background: #fff8ea;
  color: #7a5200;
  font-size: 14px;
}

/* The contact page's address block. */
.contact-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(115deg, #f4f0fd, #f8f7ff 68%);
}
.contact-email span {
  color: var(--muted);
  font-size: 14px;
}
.contact-email a {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.site-footer .brand {
  font-size: 20px;
}
.site-footer .brand-symbol {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 21px;
  line-height: 28px;
}
.site-footer p {
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a[aria-current='page'] {
  color: var(--purple);
}
