/* תהילים יומי — the site in the app's משכן design (DESIGN-05):
   tekhelet, gold and copper on linen; Rubik for headings, Heebo for text. */

@font-face {
  font-family: "Rubik"; src: url("/assets/fonts/Rubik.woff2") format("woff2");
  font-weight: 300 900; font-display: swap;
}
@font-face {
  font-family: "Heebo"; src: url("/assets/fonts/Heebo.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  --bg: #F6F0E1; --surface: #FFFDF8; --fill: #ECE4CF;
  --text: #1A1A22; --muted: #5C5648; --line: #E2D8BF;
  --primary: #1F4E8C; --on-primary: #FBF7EF;
  --accent: #8A6516; --success: #2F7A55;
  --deep: #17305A; --on-deep: #FBF7EF;
  --copper-deep: #8C4F2B;
  /* Block fills keep one color in both modes, with ink on them */
  --ink: #1A1A22; --gold: #D4A53A; --shani: #D9707C; --tekhelet: #9DB6E0; --copper: #D9A27E;
  --radius-control: 14px; --radius-card: 24px; --radius-hero: 28px;
  --wrap: 1120px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cpath d='M0 18C27.6 18 32.4 0 60 0s32.4 18 60 18z'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16161C; --surface: #23232B; --fill: #2F2F39;
    --text: #EEEAE0; --muted: #B3AD9F; --line: #34343F;
    --primary: #9DB6E0; --on-primary: #16161C;
    --accent: #D4A53A; --success: #6CC08F;
    color-scheme: dark;
  }
}

* { 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(--bg); color: var(--text);
  font: 400 17px/1.7 "Heebo", -apple-system, "SF Hebrew", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: "Rubik", "Heebo", sans-serif; font-weight: 700; line-height: 1.25; margin: 0; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- Tallit stripes: wide, thin, wide ---------- */
.stripes {
  --stripe: rgba(255,255,255,.85);
  height: 22px;
  background: linear-gradient(to bottom,
    var(--stripe) 0 6px, transparent 6px 10px,
    var(--stripe) 10px 12px, transparent 12px 16px,
    var(--stripe) 16px 22px);
}

/* ---------- Header ---------- */
.site-header { background: var(--deep); color: var(--on-deep); position: relative; z-index: 20; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-deep); text-decoration: none; font: 700 1.2rem/1 "Rubik", sans-serif; }
.brand img { width: 30px; height: 34px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
  display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.82); text-decoration: none;
  font-weight: 600; font-size: .98rem; padding: 8px 16px; border-radius: 999px;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.nav a:hover { color: var(--on-deep); background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { background: var(--gold); color: var(--ink); }
.nav svg { width: 20px; height: 20px; flex: none; }
.bar .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }

/* Phones: the nav becomes the app's floating tab bar — deep, the current page a gold capsule with its name */
@media (max-width: 760px) {
  .bar { justify-content: space-between; min-height: 60px; }
  .nav {
    position: fixed; z-index: 40; bottom: max(12px, env(safe-area-inset-bottom)); inset-inline: 16px;
    margin: 0; justify-content: space-between; padding: 6px; border-radius: 999px;
    background: var(--deep); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset;
  }
  .nav a { flex: 1 1 0; justify-content: center; min-height: 52px; padding: 0 10px; position: relative; }
  .nav a[aria-current="page"] { flex: 1.8 1 0; }
  .nav a:not([aria-current="page"]) .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav svg { width: 24px; height: 24px; }
  body { padding-bottom: 96px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1.05rem/1 "Heebo", sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease-out), opacity .2s, background-color .2s;
}
.btn:active { transform: scale(.97); opacity: .9; }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #E0B44E; }
.btn-ghost { background: transparent; color: var(--on-deep); box-shadow: 0 0 0 1.5px rgba(255,255,255,.5) inset; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn svg { width: 22px; height: 22px; }

/* ---------- Hero (deep header) ---------- */
.hero { background: var(--deep); color: var(--on-deep); padding-top: 40px; }
.hero .kicker { color: var(--gold); font-weight: 700; letter-spacing: .02em; margin: 0 0 10px; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4rem); margin-bottom: 18px; }
.hero .lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: rgba(255,255,255,.86); max-width: 34em; }
.hero .stripes { margin-top: 48px; }
.hero::after { content: ""; display: block; height: 64px; } /* the panel rises 40 over this; the stripes stay in view */

.hero-page { padding-top: 48px; text-align: center; }
.hero-page .lead { margin-inline: auto; }
.hero-page h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin-bottom: 12px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 22px 0 0; color: rgba(255,255,255,.82); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Panel rising over the header, with the notch ---------- */
.panel { position: relative; background: var(--bg); margin-top: -40px; border-radius: var(--radius-hero) var(--radius-hero) 0 0; padding: 48px 0 88px; z-index: 1; }
.panel::before {
  content: ""; position: absolute; top: -17px; left: 50%; width: 120px; height: 18px; transform: translateX(-50%);
  background: var(--bg);
  -webkit-mask: var(--notch) center / 100% 100% no-repeat; mask: var(--notch) center / 100% 100% no-repeat;
}

/* ---------- Sections ---------- */
section.s { padding: 80px 0 0; }
section.s:first-child { padding-top: 16px; }
.s-head { max-width: 640px; margin-bottom: 32px; }
.s-head .eyebrow { color: var(--accent); font-weight: 700; margin: 0 0 8px; }
.s-head h2 { margin-bottom: 12px; }
.s-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Mitzva-style blocks ---------- */
.block {
  --fill-c: var(--surface); --text-c: var(--text);
  background: var(--fill-c); color: var(--text-c); border-radius: 22px; padding: 22px;
}
.block.morning { --fill-c: var(--gold); --text-c: var(--ink); }
.block.midday  { --fill-c: var(--shani); --text-c: var(--ink); }
.block.evening { --fill-c: var(--tekhelet); --text-c: var(--ink); }
.block.reading { --fill-c: var(--copper); --text-c: var(--ink); }
.block.quiet   { --fill-c: var(--surface); }
.block .tile {
  width: 44px; height: 44px; border-radius: var(--radius-control); display: grid; place-items: center;
  background: rgba(255,255,255,.6); margin-bottom: 14px;
}
.block.quiet .tile { background: var(--fill); }
.block .tile svg { width: 22px; height: 22px; }
.block h3 { margin-bottom: 6px; }
.block p { margin: 0; font-weight: 500; font-size: .98rem; line-height: 1.6; }

/* Deep band (privacy promise) */
.band { background: var(--deep); color: var(--on-deep); border-radius: var(--radius-hero); padding: clamp(28px, 4vw, 48px); padding-bottom: 0; position: relative; overflow: hidden; }
.band h2 { margin-bottom: 12px; }
.band p { color: rgba(255,255,255,.84); max-width: 40em; }
.band a { color: var(--gold); }
.band .stripes { --stripe: rgba(212,165,58,.45); margin-inline: calc(-1 * clamp(28px, 4vw, 48px)); }
.promises { display: grid; gap: 12px; margin: 24px 0 36px; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promises div { background: rgba(255,255,255,.07); border-radius: 18px; padding: 18px 20px; }
.promises strong { display: block; font: 700 1.08rem/1.3 "Rubik", sans-serif; margin-bottom: 4px; color: var(--on-deep); }
.promises span { color: rgba(255,255,255,.78); font-size: .97rem; }

/* Closing call to action */
.cta { text-align: center; background: var(--surface); border-radius: var(--radius-hero); padding: clamp(32px, 5vw, 56px) 20px; }
.cta img { width: 64px; margin: 0 auto 18px; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--muted); max-width: 32em; margin: 0 auto 24px; }

/* ---------- Real app screens in a device frame ---------- */
.device {
  margin: 0; width: min(300px, 72vw); flex: none; border-radius: 54px; padding: 10px;
  background: #0B1426; box-shadow: 0 0 0 1.5px rgba(255,255,255,.14) inset;
}
.device img { width: 100%; height: auto; border-radius: 44px; display: block; }
/* On light sections the frame casts an offset, neutral shadow */
.show:not(.copper) .device, .hero-devices .front { box-shadow: 0 0 0 1.5px rgba(255,255,255,.14) inset, 0 34px 60px -28px rgba(20, 22, 30, .55); }

/* ---------- Home hero ---------- */
.hero-home .grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-home .grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.hero-home h1 { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5rem); line-height: 1.08; letter-spacing: -.01em; }
.hero-devices { position: relative; display: flex; justify-content: center; padding-top: 8px; }
.hero-devices .front { position: relative; z-index: 1; width: min(300px, 70vw); }
.hero-devices .back { position: absolute; width: min(250px, 58vw); top: 56px; right: calc(50% - 10px); opacity: .9; }
/* Phones: centered, one button, and both phones on the first screen, fading into the header */
@media (max-width: 899px) {
  .hero-home { padding-top: 28px; overflow: hidden; }
  .hero-home .grid { gap: 28px; }
  .hero-text { text-align: center; }
  .hero-home .lead { margin-inline: auto; max-width: 22em; }
  .hero-actions, .trust { justify-content: center; }
  .hero-devices { height: min(500px, 124vw); align-items: flex-start; padding-top: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
            mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  .hero-devices .front { width: min(270px, 68vw); }
  .hero-devices .back { width: min(220px, 55vw); top: 40px; right: calc(50% + min(36px, 9vw)); opacity: .75; }
  .hero-home .stripes { margin-top: 8px; }
}
@media (max-width: 599px) {
  .hero-devices .back { display: none; }
  .hero-devices .front { width: min(280px, 72vw); }
  .hero-home .kicker { margin-bottom: 6px; font-size: .95rem; }
  .hero-home h1 { font-size: clamp(2.5rem, 1.2rem + 7.6vw, 3.4rem); margin-bottom: 14px; }
  .hero-home .lead { font-size: 1.06rem; line-height: 1.6; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn-gold { width: 100%; max-width: 360px; }
  .hero-actions .btn-ghost { display: none; }
  .trust { margin-top: 14px; gap: 0; font-size: .9rem; flex-wrap: nowrap; }
  .trust li::before { display: none; }
  .trust li + li::before { display: block; content: "·"; width: auto; height: auto; background: none; color: var(--gold); margin: 0 8px; }
}

/* Hero entrance: text, then the phones. Transform and opacity only. */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *, .hero-devices .device { animation: rise .9s var(--ease-out) both; }
  .hero-text > :nth-child(2) { animation-delay: .06s; }
  .hero-text > :nth-child(3) { animation-delay: .12s; }
  .hero-text > :nth-child(4) { animation-delay: .18s; }
  .hero-text > :nth-child(5) { animation-delay: .24s; }
  .hero-devices .front { animation-delay: .2s; animation-duration: 1.1s; }
  .hero-devices .back { animation-delay: .35s; animation-duration: 1.1s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Intro: the one sentence, on the notched panel ---------- */
.intro { text-align: center; padding: 72px 0 96px; }
.intro h2 { font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem); line-height: 1.18; margin: 0 auto 20px; max-width: 18em; }
.intro p { color: var(--muted); font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); max-width: 30em; margin: 0 auto; }

/* ---------- One section per tab, in that tab's color ---------- */
.show { --c-bg: var(--bg); --c-text: var(--text); --c-muted: var(--muted); --c-mark: var(--accent);
  background: var(--c-bg); color: var(--c-text); padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.show.copper   { --c-bg: var(--copper-deep); --c-text: var(--on-deep); --c-muted: rgba(251,247,239,.82); --c-mark: #F2CF7A; }
.show.copper .eyebrow { color: var(--on-deep); }
.show.linen    { --c-bg: var(--fill); }
.show.tekhelet { --c-bg: var(--tekhelet); --c-text: var(--ink); --c-muted: #2A3348; --c-mark: var(--deep); }
.show.gold     { --c-bg: var(--gold); --c-text: var(--ink); --c-muted: #3A3020; --c-mark: var(--ink); }
.show-grid { display: grid; gap: 48px; align-items: center; justify-items: center; }
@media (min-width: 860px) {
  .show-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; justify-items: stretch; }
  .show .device { justify-self: center; }
  .show.flip .show-text { order: 2; }
}
.show-text { max-width: 30rem; }
.show .eyebrow { font: 700 1rem/1 "Rubik", sans-serif; color: var(--c-mark); margin: 0 0 14px; }
.show h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); line-height: 1.12; margin-bottom: 18px; }
.show-text > p { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--c-muted); margin-bottom: 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.ticks li::before { content: ""; flex: none; width: 13px; height: 7px; border-left: 2.5px solid var(--c-mark); border-bottom: 2.5px solid var(--c-mark); transform: translateY(-4px) rotate(-45deg); }
@media (prefers-color-scheme: dark) {
  .show.linen { --c-bg: #1E1E26; }
}

/* Phones: shorter sections; each screen shows its top half and fades into the section */
@media (max-width: 859px) {
  .show { padding: 56px 0 0; }
  .show-grid { gap: 32px; }
  .show-text { width: 100%; }
  .show .device { width: min(280px, 74vw); max-height: min(440px, 112vw); overflow: hidden; border-end-start-radius: 0; border-end-end-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
            mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  .intro { padding: 56px 0 64px; }
}

/* ---------- And also: a quiet list, no tiles ---------- */
.more { padding: clamp(64px, 8vw, 104px) 0 24px; }
.more h2 { margin-bottom: 28px; }
.more-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 40px; }
.more-list li { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.more-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.more-list p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Privacy and pledges ---------- */
.trust-band { padding: 56px 0 0; }
.pledges { display: grid; gap: 28px; padding: 48px 0 8px; }
.pledges h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pledges p { color: var(--muted); margin: 0; max-width: 40em; }

/* ---------- Closing ---------- */
.closing { text-align: center; padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 10vw, 128px); }
.closing img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 24px; }
.closing h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); margin-bottom: 12px; }
.closing p { color: var(--muted); max-width: 30em; margin: 0 auto 28px; }

/* ---------- Prose pages (privacy, terms, credits…) ---------- */
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 10px; color: var(--primary); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 6px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.updated { color: var(--muted); font-size: .95rem; }
.summary { background: var(--surface); border-radius: var(--radius-card); padding: 20px 24px; margin-bottom: 32px; box-shadow: 0 0 0 1px var(--line) inset; }
.summary p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; border-radius: 16px; box-shadow: 0 0 0 1px var(--line) inset; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--surface); }
th, td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--fill); font-family: "Rubik", sans-serif; }
tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 40px; }
.faq-group > h2 { font-size: 1.35rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.faq-group > h2::before { content: ""; width: 14px; height: 14px; border-radius: 5px; background: var(--dot, var(--gold)); }
details { background: var(--surface); border-radius: 20px; margin-bottom: 8px; }
summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 12px;
  font: 600 1.05rem/1.4 "Rubik", sans-serif; border-radius: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; margin-inline-start: auto; width: 9px; height: 9px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease-out);
}
details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
details .a { padding: 0 20px 18px; }
details .a p:last-child, details .a ul:last-child { margin-bottom: 0; }
details .a ul { padding-inline-start: 20px; margin: 0 0 1em; }
.faq-search { width: 100%; min-height: 56px; border-radius: 999px; border: 0; padding: 0 24px; font: inherit; background: var(--surface); color: var(--text); box-shadow: 0 0 0 1.5px var(--line) inset; margin-bottom: 36px; }
.faq-search:focus { outline: none; box-shadow: 0 0 0 2.5px var(--primary) inset; }
.no-results { color: var(--muted); text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.form { background: var(--surface); border-radius: var(--radius-card); padding: clamp(20px, 3vw, 32px); }
.form h2 { font-size: 1.4rem; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: .88rem; font-weight: 400; }
.input {
  width: 100%; min-height: 52px; border-radius: var(--radius-control); border: 0; padding: 12px 16px;
  font: inherit; color: var(--text); background: var(--bg); box-shadow: 0 0 0 1.5px var(--line) inset;
  transition: box-shadow .2s var(--ease-out);
}
textarea.input { min-height: 160px; resize: vertical; line-height: 1.6; }
.input:focus { outline: none; box-shadow: 0 0 0 2.5px var(--primary) inset; }
.input[aria-invalid="true"] { box-shadow: 0 0 0 2px #B3261E inset; }
.err { color: #B3261E; font-size: .9rem; margin-top: 6px; }
@media (prefers-color-scheme: dark) { .err { color: #F2988D; } .input[aria-invalid="true"] { box-shadow: 0 0 0 2px #F2988D inset; } }
.form .btn { width: 100%; }
.form .fine { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-control); background: var(--fill); }
.side { display: grid; gap: 12px; }
.side .block a { color: inherit; font-weight: 700; }
.side .block h3 { font-size: 1.3rem; }
.mail { font: 700 1.15rem/1.3 "Rubik", sans-serif; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.8); font-size: .95rem; }
.site-footer .stripes { --stripe: var(--gold); }
.foot { display: grid; gap: 28px; padding: 40px 0 28px; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot .brand { margin-bottom: 12px; }
.foot h3 { color: var(--on-deep); font-size: 1rem; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.foot a:hover { color: var(--gold); text-decoration: underline; }
.foot p { margin: 0 0 8px; max-width: 30em; }
.copy { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 24px; font-size: .88rem; color: rgba(255,255,255,.7); }
.copy a { color: inherit; }

/* ---------- 404 ---------- */
.lost { text-align: center; }
.lost .big { font: 700 clamp(4rem, 12vw, 7rem)/1 "Rubik", sans-serif; color: var(--accent); margin: 0 0 8px; }

/* ---------- What's new: colored cards in the app's block colors ---------- */
.whatsnew { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.whatsnew .s-head h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); line-height: 1.12; margin-bottom: 14px; }
.new-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.nc { --fill-c: var(--surface); --text-c: var(--text); --muted-c: var(--muted);
  background: var(--fill-c); color: var(--text-c); border-radius: 22px; padding: 22px 22px 24px; box-shadow: 0 0 0 1px var(--line) inset; }
.nc.gold     { --fill-c: var(--gold);     --text-c: var(--ink); --muted-c: #3A3020; box-shadow: none; }
.nc.shani    { --fill-c: var(--shani);    --text-c: var(--ink); --muted-c: #3B2226; box-shadow: none; }
.nc.tekhelet { --fill-c: var(--tekhelet); --text-c: var(--ink); --muted-c: #2A3348; box-shadow: none; }
.nc.copper   { --fill-c: var(--copper);   --text-c: var(--ink); --muted-c: #3D2A1E; box-shadow: none; }
.nc h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--text-c); }
.nc p { margin: 0; color: var(--muted-c); font-size: .98rem; }

/* ---------- Former inline styles (moved here so the CSP can forbid inline CSS) ---------- */
.lost .lost-title { font-size: 1.8rem; margin-bottom: 10px; }
.input.ltr[type="email"] { text-align: right; }
.link-gold { color: var(--gold); }
.faq-group.dot-gold { --dot: var(--gold); }
.faq-group.dot-copper { --dot: var(--copper); }
.faq-group.dot-shani { --dot: var(--shani); }
.faq-group.dot-tekhelet { --dot: var(--tekhelet); }
