/* ---------------------------------------------------------------------------
   shiftsalary.benbasha.com — web identity for Shift Salary / שכר משמרות.
   Extends the app's design tokens: dark-first green, on-device money feel.
   Heebo throughout (the app font); tabular figures for every money amount.
--------------------------------------------------------------------------- */

:root {
  --bg: #f6f8f7;
  --card: #ffffff;
  --ink: #101713;
  --muted: #5b6660;
  --border: #e2e8e4;

  --brand: #0a7948;
  --brand-pressed: #086b40;
  --brand-soft: #dcf2e7;
  --brand-bright: #34ce85; /* app dark-mode primary — used on dark surfaces */

  --dark: #0c1210;
  --dark-surface: #161e1a;
  --dark-raised: #1d2722;
  --dark-border: #2a352f;
  --text-on-dark: #f2f6f3;
  --muted-on-dark: #9ca8a1;

  --premium: #6d4acd;
  --premium-soft: #ece5fb;

  --font: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-card: 16px;
  --radius-button: 14px;
  --content: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
}

.money {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* --------------------------------- header -------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand strong {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.header-nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted);
}

.header-nav a:hover {
  color: var(--ink);
}

/* ----------------------------- store badges ------------------------------ */

.store-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.store-badge img {
  height: 52px;
  width: auto;
}

/* Pre-launch: badge visible but marked "soon" and inert until real links land. */
.store-badge.soon {
  pointer-events: none;
  filter: grayscale(0.2);
}

.store-badge.soon::after {
  content: 'בקרוב';
  position: absolute;
  top: -9px;
  inset-inline-end: -10px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
}

/* -------------------------------- buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-pressed);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--ink);
  background: var(--card);
}

/* -------------------------------- footer --------------------------------- */

.site-footer {
  background: var(--dark);
  color: var(--muted-on-dark);
  font-size: 14px;
  padding: 44px 0 52px;
  border-top: 1px solid var(--dark-border);
}

.site-footer .wrap {
  display: grid;
  gap: 12px;
}

.site-footer a {
  color: #dfe7e3;
  text-decoration-color: rgba(223, 231, 227, 0.4);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-weight: 500;
}

/* ------------------------------ legal pages ------------------------------ */

.legal-main {
  padding: 40px 0 80px;
}

.legal-main .wrap {
  max-width: 760px;
}

.legal-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 26px;
  font-size: 15px;
  font-weight: 600;
  background: var(--card);
}

.legal-toggle a {
  padding: 8px 22px;
  text-decoration: none;
  color: var(--ink);
}

.legal-toggle a.active {
  background: var(--brand);
  color: #fff;
}

.legal-doc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 40px 44px;
}

.legal-doc h1 {
  font-size: 32px;
  margin-bottom: 4px;
}

.legal-doc .effective {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.legal-doc h2 {
  font-size: 20px;
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.legal-doc p,
.legal-doc li {
  color: #2c322e;
}

.legal-doc ul {
  padding-inline-start: 22px;
}

.legal-doc a {
  color: var(--brand);
  text-decoration-thickness: 2px;
}

.callout {
  background: var(--brand-soft);
  border: 1px solid #b7e3ce;
  border-radius: var(--radius-card);
  padding: 15px 18px;
  margin: 18px 0;
}

.callout strong {
  color: var(--brand-pressed);
}

@media (max-width: 640px) {
  .legal-doc {
    padding: 26px 22px 32px;
  }

  .header-nav {
    gap: 14px;
  }
}
