/* Sivuv site: the shared floor for the home page and the legal pages.
   Colours are the app's Salt tokens (apps/mobile/src/design/tokens.ts); the face is
   Rubik (OFL, fonts/OFL.txt), as Hebrew and Latin subsets. */
@font-face { font-family: "Sivuv Sans"; font-weight: 400; font-display: swap; src: url("fonts/rubik-hebrew-400.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: "Sivuv Sans"; font-weight: 500; font-display: swap; src: url("fonts/rubik-hebrew-500.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: "Sivuv Sans"; font-weight: 600; font-display: swap; src: url("fonts/rubik-hebrew-600.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: "Sivuv Sans"; font-weight: 400; font-display: swap; src: url("fonts/rubik-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sivuv Sans"; font-weight: 500; font-display: swap; src: url("fonts/rubik-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sivuv Sans"; font-weight: 600; font-display: swap; src: url("fonts/rubik-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: #EDECE7; --surface: #F7F6F2; --ink: #29251F; --ink-soft: #66605A;
  --accent: #1E7C73; --accent-ink: #F4F3EF; --accent-press: #1A6B63; --accent-text: #1A6B63;
  --yellow: #E2B04F; --late: #A9461F; --late-ink: #F7F5F0; --track: #DCD9D0;
  --hair: rgba(41, 37, 31, 0.14); --hair-strong: rgba(41, 37, 31, 0.28);
  --face: "Sivuv Sans", "Rubik", -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1rem, 5vw, 5rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0E1819; --surface: #142021; --ink: #E6E4DD; --ink-soft: #A39E94;
    --accent: #5CC4B6; --accent-ink: #0A1213; --accent-press: #4FB0A3; --accent-text: #5CC4B6;
    --yellow: #D9A55A; --late: #C9643E; --late-ink: #0E1819; --track: #2E3B3A;
    --hair: rgba(230, 228, 221, 0.14); --hair-strong: rgba(230, 228, 221, 0.28);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--face); letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-synthesis-weight: none;
}
::selection { background: var(--accent); color: var(--accent-ink); }
:root { caret-color: var(--accent); accent-color: var(--accent); }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img, svg, canvas { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }

/* The bar: the mark at the start, the one action at the end. */
.bar {
  position: fixed; z-index: 60; inset-block-start: 0; inset-inline: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px max(var(--gutter), env(safe-area-inset-right)) 14px max(var(--gutter), env(safe-area-inset-left));
}
.bar--static { position: static; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.mark svg { width: 30px; height: 30px; border-radius: 8px; }
.mark small { font-weight: 400; color: var(--ink-soft); font-size: 0.9375rem; }

/* The one action, one label everywhere. */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 16px; border: 0;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 600; font-size: 1.125rem; white-space: nowrap; cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 160ms var(--ease-out);
}
.cta:active { transform: scale(0.96); background: var(--accent-press); }
@media (hover: hover) and (pointer: fine) { .cta:hover { background: var(--accent-press); } }
.cta--small { min-height: 40px; padding: 0 18px; border-radius: 12px; font-size: 1rem; }

/* The footer every page ends on. */
.foot {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px;
  padding: 28px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hair); color: var(--ink-soft); font-size: 0.9375rem;
}
.foot a { color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--ink); } }
.foot .foot-mark { color: var(--ink); font-weight: 600; margin-inline-end: auto; }
