/* Together Tomorrow legal pages — privacy & terms.
 * Mirrors the app's reading aesthetic: ivory paper, EB Garamond body,
 * Cormorant Garamond display, wine for sectioning, generous line height. */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Frank+Ruhl+Libre:wght@400;500&display=swap');

:root {
  --paper: #FAF6EE;
  --paper-deep: #F2EDE0;
  --ink: #2A2620;
  --ink-soft: #5A5247;
  --ink-muted: #8A8175;
  --wine: #6B2737;
  --gold: #9B7E3C;
  --rule: #D8CFB8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 40px 24px 80px;
}

main {
  max-width: 640px;
  margin: 0 auto;
}

header.crown {
  text-align: center;
  margin-bottom: 48px;
}

header.crown .hebrew {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 24pt;
  color: var(--wine);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  direction: rtl;
}

header.crown .english {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--ink-muted);
  font-size: 13pt;
  letter-spacing: 0.3px;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32pt;
  color: var(--ink);
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 8px;
}

p.effective {
  font-style: italic;
  color: var(--ink-muted);
  text-align: center;
  font-size: 11pt;
  letter-spacing: 1.2px;
  margin-bottom: 32px;
}

hr.divider {
  border: none;
  height: 0.5px;
  background: var(--rule);
  max-width: 80px;
  margin: 32px auto;
}

p.preamble {
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 20pt;
  color: var(--wine);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

p {
  margin-bottom: 16px;
}

ul {
  margin: 0 0 16px 0;
  padding-left: 1.5em;
  list-style: none;
}

ul li {
  position: relative;
  margin-bottom: 8px;
}

ul li::before {
  content: '·';
  position: absolute;
  left: -1em;
  color: var(--gold);
  font-weight: 600;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

em {
  font-style: italic;
}

a {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

footer {
  margin-top: 72px;
  text-align: center;
  font-size: 11pt;
  color: var(--ink-muted);
  font-style: italic;
}

footer .links {
  margin-bottom: 16px;
}

footer .links a {
  margin: 0 12px;
}

footer .disclaimer {
  font-size: 10pt;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
