/*
 * The look: "Letterhead" (the owner's pick of three, 2026-10-11). The name
 * and the apps' names in a serif, centred like a letterhead, on paper grey
 * with each app on its own card. Its own, on purpose: none of the apps uses
 * a serif, and the only colour on the page is their icons'. Everything else
 * is in the device's own typeface.
 *
 * Light and dark follow the device. Layout is in logical properties, so the
 * Hebrew page mirrors by itself; its one rule of its own is the label's size.
 */
/* One family in two files; a browser fetches the Hebrew one only for a page that sets Hebrew in it (ARCHITECTURE → "The typeface"). */
@font-face { font-family: 'Frank Ruhl Libre'; font-weight: 300 900; font-display: swap; src: url(/fonts/frank-ruhl-libre-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Frank Ruhl Libre'; font-weight: 300 900; font-display: swap; src: url(/fonts/frank-ruhl-libre-hebrew.woff2) format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
:root {
  --bg: #f4f4f2;
  --card: #ffffff;
  --text: #1c1c1a;
  --muted: #5e5e58;
  --line: #deded9;
  --ring: rgb(0 0 0 / 0.08);
  --serif: 'Frank Ruhl Libre', 'Times New Roman', serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131312;
    --card: #1c1c1a;
    --text: #eeeeea;
    --muted: #a6a69e;
    --line: #30302c;
    --ring: rgb(255 255 255 / 0.14);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px, env(safe-area-inset-left));
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Hebrew', Arial, sans-serif;
}
.top, main, footer { max-width: 600px; margin-inline: auto; }
/* The top bar: the way to the site's other page at the start, the other language at the end. */
.top { display: flex; justify-content: space-between; padding-top: 8px; }
.top a, footer a { color: var(--muted); text-underline-offset: 3px; }
.top a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: 16px; }
main { padding-top: 28px; }
/* The name at the head of every page: the page's heading at home, a link home elsewhere. */
h1:not(.label), .name { margin: 0; text-align: center; font-family: var(--serif); font-size: 42px; line-height: 1.15; font-weight: 500; }
.name a { color: inherit; text-decoration: none; }
h1:not(.label)::after, .name::after { content: ''; display: block; width: 40px; height: 1px; margin: 18px auto 0; background: var(--text); opacity: 0.45; }
/* The small heading under the name, on the support page. Spaced capitals in English; Hebrew has no capitals, so it is a size larger to weigh the same. */
.label { margin: 22px 0 0; text-align: center; font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.label:lang(he) { font-size: 16px; letter-spacing: 0.06em; }
.apps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
/* An app's card: who it is, small; the problem, large; then what it is like and what the app does about it. */
.app { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.who { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.icon { flex: none; width: 32px; height: 32px; border-radius: 21.875%; box-shadow: 0 0 0 1px var(--ring); }
.app h2 { margin: 12px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 500; text-wrap: balance; }
.scene { margin: 10px 0 0; font-size: 16px; color: var(--muted); text-wrap: pretty; }
.how { margin: 12px 0 0; font-size: 16px; text-wrap: pretty; }
.entry { margin: 14px 0 0; padding-top: 12px; align-self: stretch; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.app .button { margin-top: 16px; }
/* In the button's place on a card not live yet: said, not offered. */
.soon { margin: 16px 0 0; min-height: 48px; display: inline-flex; align-items: center; padding-inline: 18px; border: 1px dashed var(--line); border-radius: 12px; font-size: 17px; font-weight: 600; color: var(--muted); }
.all { margin: 22px auto 0; text-align: center; font-size: 16px; color: var(--muted); text-wrap: pretty; }
.arrow { flex: none; }
footer { padding: 28px 0 40px; text-align: center; font-size: 16px; color: var(--muted); }
footer a { display: inline-block; padding-block: 10px; }
/* The page for an address with nothing at it: the name where the home page has it, and a line in each language. */
.missing main { padding-top: 80px; padding-bottom: 60px; }
.missing p { margin: 0; text-align: center; font-size: 18px; color: var(--muted); }
.missing h1 + p { margin-top: 22px; }
.missing p a { display: inline-block; padding-block: 10px; color: var(--text); text-underline-offset: 3px; }
/* The support page: the same head, one paragraph, then the way to chip in before anything else, on the same cards as the apps. */
.lead { margin: 22px auto 0; text-align: center; font-size: 18px; text-wrap: pretty; }
.card { margin-top: 12px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.lead + .card { margin-top: 24px; }
.card h2 { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 500; }
.card p { margin: 6px 0 0; font-size: 16px; color: var(--muted); }
.way { margin-top: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding-inline: 22px; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 17px; font-weight: 600; text-decoration: none; }
.card .note { margin-top: 10px; font-size: 15px; text-wrap: pretty; }
/* What the money is and is not: under the way to give it, set apart by a line. */
.card .fine { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
/* A phone opens the app from the button. A wide screen is probably not the phone, so there the code to scan sits beside the button. */
.qr { display: none; margin: 0; font-size: 15px; color: var(--muted); }
.qr img { display: block; margin-top: 8px; border-radius: 10px; }
@media (min-width: 720px) {
  .way { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
  .qr { display: block; }
}
.costs { margin: 10px 0 0; }
.costs div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 16px; }
.costs div:first-child { border-top: 0; }
.costs dt { color: var(--muted); }
.costs dd { margin: 0; flex: none; max-width: 50%; text-align: end; }
.costs .total { font-weight: 600; }
.costs .total dt { color: inherit; }
.thanks { margin: 24px auto 0; text-align: center; font-size: 17px; text-wrap: pretty; }
@media (hover: hover) {
  .top a:hover, footer a:hover { color: var(--text); }
  .button:hover { opacity: 0.85; }
}
.button:active { opacity: 0.7; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .top a, footer a { transition: color 150ms ease; }
  .button { transition: opacity 150ms ease; }
}
