/* Ugah B'Ahava. One stylesheet, no framework. Colours and type at the top. */
:root {
  --paper: #f7f1e6;
  --ink: #2b211a;
  --muted: #5e4d3f;
  --brand: #a4492a;      /* the logo's terracotta; 5.6:1 on --paper */
  --rule: #dccbb2;
  --band: #efe4d2;
  --on-brand: #fbf6ee;
  --display: "Karantina", "Arial Narrow", sans-serif;
  --body: "Assistant", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

@font-face { font-family: "Assistant"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/assistant-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: "Assistant"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/assistant-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+FEFF, U+FFFD; }
@font-face { font-family: "Karantina"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/karantina-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: "Karantina"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/karantina-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+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.65 var(--body); }
a { color: var(--brand); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 5rem; }

.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; z-index: 20; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 42rem; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 1rem; }
h1 { font-size: clamp(2.9rem, 8vw, 4.75rem); color: var(--ink); }
h2 { font-size: clamp(2.4rem, 5.5vw, 3.4rem); color: var(--brand); }
h3 { font-size: 1.9rem; color: var(--ink); margin-bottom: 0.4rem; }
p { margin: 0 0 1rem; }

/* Header */
header.site { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brandlink { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--brand); }
.brandlink .word { font-family: var(--display); font-size: 2rem; line-height: 1; }
.brandlink .sub { font-size: 0.85rem; color: var(--muted); display: none; }
header nav { margin-inline-start: auto; display: none; }
header nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
header nav a { color: var(--ink); text-decoration: none; }
header nav a:hover { color: var(--brand); text-decoration: underline; }
.tools { display: flex; align-items: center; gap: 1rem; margin-inline-start: auto; }
header nav + .tools { margin-inline-start: 0; }
.lang { font-size: 1rem; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: var(--on-brand); text-decoration: none; font-weight: 600; padding: 0.7rem 1.3rem; border-radius: 6px; border: 2px solid var(--brand); line-height: 1.3; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--on-brand); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand); color: var(--on-brand); }
.btn.small { padding: 0.35rem 0.9rem; font-size: 1rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Sections */
section { padding: 4rem 0; }
.band { background: var(--band); }
.split { display: grid; gap: 2.5rem; align-items: center; }
.hero { padding: 3rem 0 4rem; }
.lead { font-size: 1.3rem; max-width: 36rem; }
.status { color: var(--muted); border-inline-start: 3px solid var(--brand); padding-inline-start: 0.8rem; }
.cart { display: block; width: 100%; max-width: 30rem; margin: 0 auto; }

.menu { background: var(--paper); border: 2px dashed var(--rule); border-radius: 8px; padding: 1.5rem 1.75rem; }
.menu ul { margin: 0; padding-inline-start: 1.2rem; }
.menu li { padding: 0.3rem 0; }
.menu li::marker { color: var(--brand); }

.steps-h { margin-top: 3.5rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.steps li { border-top: 2px solid var(--brand); padding-top: 0.75rem; }
.steps .n { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--brand); display: block; }
.steps p { margin: 0; color: var(--muted); }

.ink { background: var(--brand); color: var(--on-brand); }
.ink h2, .ink h3 { color: var(--on-brand); }
.ink .intro { max-width: 40rem; }
.ink a { color: var(--on-brand); font-weight: 600; }
.ink a:hover { color: var(--ink); }
.ways { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 2rem; }
.ways li { border-top: 1px solid rgba(251, 246, 238, 0.45); padding-top: 1rem; display: flex; flex-direction: column; }
.ways p { flex: 1; }

details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style-position: inside; }
summary::marker { color: var(--brand); }
.answer p { margin: 0 0 1rem; color: var(--muted); }

.phone { display: inline-block; font-size: 2.2rem; font-weight: 600; text-decoration: none; color: var(--ink); direction: ltr; unicode-bidi: isolate; margin-bottom: 0.5rem; }
.phone:hover { color: var(--brand); }

footer.site { padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.95rem; }
footer.site .wrap { display: flex; align-items: center; gap: 0.75rem; justify-content: center; }
footer.site p { margin: 0; }

@media (min-width: 40rem) {
  .brandlink .sub { display: inline; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 56rem) {
  header nav { display: block; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .hero { padding: 4.5rem 0 5.5rem; }
  section { padding: 5.5rem 0; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .ways { grid-template-columns: repeat(3, 1fr); }
}
.center-row { justify-content: center; }
