@font-face { font-family: "Frank Ruhl Libre"; font-weight: 700; font-display: swap; src: url("fonts/FrankRuhlLibre-Bold.woff2") format("woff2"); }
@font-face { font-family: "Frank Ruhl Libre"; font-weight: 500; font-display: swap; src: url("fonts/FrankRuhlLibre-Medium.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-display: swap; src: url("fonts/CormorantGaramond-Bold.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url("fonts/CormorantGaramond-SemiBold.woff2") format("woff2"); }

:root {
  --paper: #f6f2e8;
  --disk: #fbf8f0;
  --band: #efe9da;
  --ink: #2a2723;
  --muted: #6b6255;
  --gold: #b8954a;
  --gold-dark: #8a6d33;
  --blue: #1f3f86;
  --rule: #e2d6b8;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --hebrew: "Frank Ruhl Libre", "Times New Roman", serif;
  --text: ui-serif, "Iowan Old Style", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1915;
    --disk: #24211c;
    --band: #2b2721;
    --ink: #efe8d8;
    --muted: #b3a891;
    --gold: #cfae62;
    --gold-dark: #d9bd72;
    --blue: #8fa8e6;
    --rule: #3d362b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.6 var(--text);
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.site {
  border-bottom: 1px solid var(--rule);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.wordmark {
  font: 700 26px/1 var(--serif); letter-spacing: 2px; color: var(--ink); text-decoration: none;
}
header.site nav a {
  font: 600 17px var(--serif); letter-spacing: .5px; color: var(--ink); text-decoration: none; margin-left: 22px;
}
header.site nav a:hover, header.site nav a[aria-current] { color: var(--gold-dark); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 64px 0 56px; }
.hero h1 { font: 700 clamp(40px, 6vw, 64px)/1.05 var(--serif); margin: 0 0 10px; letter-spacing: .3px; }
.hero .motto { font: 700 28px/1.2 var(--hebrew); color: var(--gold-dark); margin: 0 0 22px; text-align: left; }
.hero p.lede { font-size: 20px; margin: 0 0 28px; color: var(--ink); }
.hero .dial { filter: drop-shadow(0 12px 28px rgba(58, 42, 14, .18)); }
.button {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  background: var(--blue); color: #fff; text-decoration: none;
  font: 700 19px/1 var(--serif); letter-spacing: .6px;
}
.button:hover { background: var(--gold-dark); color: #fff; }
.fine { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* features */
section.features { padding: 24px 0 40px; border-top: 1px solid var(--rule); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.card {
  background: var(--disk); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 22px;
}
.card h3 { font: 700 22px/1.2 var(--serif); margin: 0 0 6px; }
.card h3 .he { font: 700 18px var(--hebrew); color: var(--gold-dark); margin-left: 6px; }
.card p { margin: 0; font-size: 16.5px; color: var(--ink); }
h2 { font: 700 34px/1.15 var(--serif); margin: 36px 0 0; }

/* privacy band */
.promise {
  margin: 24px 0 56px; padding: 28px 30px; border-radius: 16px;
  background: var(--band); border: 1px solid var(--rule); text-align: center;
}
.promise p { margin: 0 auto; max-width: 640px; font: 600 23px/1.4 var(--serif); }
.promise .fine { font-family: var(--text); }

/* long-form pages */
main.doc { padding: 40px 0 64px; }
main.doc h1 { font: 700 44px/1.1 var(--serif); margin: 0 0 6px; }
main.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
main.doc h2 { font-size: 27px; margin: 34px 0 6px; padding-top: 6px; border-top: 1px solid var(--rule); }
main.doc h3 { font: 700 21px var(--serif); margin: 22px 0 4px; }
main.doc li { margin: 4px 0; }
main.doc .summary { background: var(--disk); border: 1px solid var(--rule); border-radius: 14px; padding: 6px 22px; }
.he { font-family: var(--hebrew); }

footer.site { border-top: 1px solid var(--rule); padding: 26px 0 40px; font-size: 14.5px; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site a { color: var(--muted); margin-right: 16px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 0 40px; text-align: center; }
  .hero .motto { text-align: center; }
  .hero .dial { width: 100%; max-width: 440px; margin: 0 auto; order: -1; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  header.site nav a { margin-left: 14px; }
}
