/* The Quiet Rich — shared styles for legal/info pages (Privacy, Terms, Cookies, Contact) */

/* Fonts are SELF-HOSTED. The legal pages used to pull Cormorant Garamond from
   fonts.googleapis.com, which sent every reader's IP address to Google on the
   three pages where a reader is most likely to be exercising a privacy right.
   Display face is now Bodoni Moda — the brand display face, already in assets. */
@font-face{font-family:"Bodoni Moda";font-style:normal;font-weight:400 500;font-display:swap;
  src:url("assets/fonts/bodoni-moda-400.woff2") format("woff2")}
@font-face{font-family:"Bodoni Moda";font-style:italic;font-weight:400;font-display:swap;
  src:url("assets/fonts/bodoni-moda-400-italic.woff2") format("woff2")}
@font-face{font-family:"EB Garamond";font-style:normal;font-weight:400 500;font-display:swap;
  src:url("assets/fonts/eb-garamond-400.woff2") format("woff2")}
@font-face{font-family:"EB Garamond";font-style:italic;font-weight:400;font-display:swap;
  src:url("assets/fonts/eb-garamond-400-italic.woff2") format("woff2")}
:root {
  --ink: #0a0a0a;
  --ivory: #f4eade;
  --paper: #fbf6ef;
  --gold: #c69b3c;
  --gold-ink: #836326;
  --ink-70: rgba(10, 10, 10, 0.74);
  --ink-55: rgba(10, 10, 10, 0.62); /* 5.32:1 on --ivory. .55 measured 4.20:1 and failed AA */
  --line: rgba(10, 10, 10, 0.14);
  --serif-display: "Bodoni Moda", "Didot", Georgia, "Times New Roman", serif;
  --serif-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 1.12rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.legal-head {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 234, 222, 0.92);
  backdrop-filter: blur(8px);
}
.legal-head .in {
  max-width: 760px;
  margin-inline: auto;
  padding: 0.85rem clamp(20px, 5vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.brand .vs {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 0.64rem;
  color: var(--gold-ink);
  margin-right: 0.5rem;
  vertical-align: middle;
  font-family: var(--serif-display);
}
.back {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  white-space: nowrap;
}

.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 32px);
}
.legal .eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 600;
  margin: 0 0 0.8rem;
}
.legal h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 0.4rem;
}
.legal h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 1.55rem;
  margin: 2.5rem 0 0.5rem;
  line-height: 1.2;
}
.legal h3 {
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin: 1.4rem 0 0.3rem;
  color: var(--ink);
}
.legal p,
.legal li {
  color: var(--ink-70);
  margin: 0 0 1em;
}
.legal ul {
  padding-left: 1.2rem;
}
.legal li {
  margin-bottom: 0.5rem;
}
.legal a {
  color: var(--gold-ink);
}
.legal strong {
  color: var(--ink);
}
.legal .lead {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
}
.legal .updated {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-55);
  margin-top: 0.2rem;
}
.legal .rule {
  width: 64px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 1.4rem 0 2rem;
}
.callout {
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-70);
  margin: 1.6rem 0;
}
.callout strong {
  color: var(--ink);
}

/* contact form */
.field {
  display: block;
  margin: 0 0 1.1rem;
}
.field span {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--serif-body);
  font-size: 1.05rem;
  padding: 0.8rem 0.9rem;
  min-height: 52px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.8rem;
  border-radius: 2px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.legal-foot {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(244, 234, 222, 0.7);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.7;
}
.legal-foot .in {
  max-width: 760px;
  margin-inline: auto;
  padding: 1.8rem clamp(20px, 5vw, 32px);
}
.legal-foot a {
  color: var(--gold);
}

a:focus-visible,
.back:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- business identity block (IL Consumer Protection s.14ט; EU CRD Art. 6(1)(b)-(d);
       UK CCR Sch. 2 paras (b)-(d)) — trader identity must be given before the order ---- */
.identity {
  margin: 2rem 0 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.75;
}
.identity dt {
  font-weight: 600;
  color: var(--ink);
}
.identity dd {
  margin: 0 0 0.6rem;
  color: var(--ink-70);
}
.identity dd:last-child { margin-bottom: 0; }

/* ---- form privacy notice (Protection of Privacy Law 5741-1981 s.11; GDPR Art. 13) ----
       Must sit next to the fields it describes, not only in the policy. */
.form-notice {
  margin: 0.2rem 0 1.2rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold-ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink-70);
}
.form-notice strong { color: var(--ink); }
