/* המנהלת — landing page. Tokens mirror frontend/src/lib/designTokens.js. */
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/heebo-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: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/heebo-latin.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: "Rubik"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/rubik-700-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: "Rubik"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/rubik-700-latin.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 {
  --ink: #1A1523;
  --paper: #F7F5FB;
  --surface: #FFFFFF;
  --line: #E8E3F1;
  --muted-text: #6B6675;   /* AA on white and on paper */
  --violet: #6D28D9;
  --violet-dark: #5B1FB8;
  --violet-soft: #F1EBFC;
  --violet-border: #DCC9F2;
  --icon-bg: #E1E1F1;
  --gold: #B98A2E;         /* 'pending approval' marker only, never small text */      /* the app icon's own background */
  --shadow: 0 1px 2px rgba(26,21,35,0.06), 0 1px 1px rgba(26,21,35,0.04);
  --font-display: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body);
  font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: 32px; letter-spacing: -0.01em; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
@media (min-width: 720px) { h1 { font-size: 44px; } h2 { font-size: 32px; } h3 { font-size: 20px; } }
p { margin: 0 0 12px; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-dark); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.muted { color: var(--muted-text); }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 10; background: var(--ink);
  color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

/* Header */
.site-header { background: rgba(247,245,251,0.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 20px; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: none; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { background: var(--violet-soft); color: var(--violet-dark); }
@media (min-width: 900px) { .site-nav ul { display: flex; } }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 80px 0; } }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 640px; margin-bottom: 32px; }
.section-intro p { font-size: 17px; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .hero { padding: 72px 0 88px; } .hero .wrap { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
.hero-lede { font-size: 18px; max-width: 560px; }
@media (min-width: 720px) { .hero-lede { font-size: 20px; } }
.hero-art { justify-self: center; width: min(320px, 80vw); aspect-ratio: 1; border-radius: 28%;
  overflow: hidden; background: var(--icon-bg); box-shadow: 0 18px 40px rgba(91,31,184,0.16), var(--shadow); }
.store { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 24px 0 8px; }
/* Apple's badge, unmodified: at least 40px tall, clear space of a quarter of its height. */
.store-badge { display: inline-block; padding: 12px; margin: -12px; line-height: 0; border-radius: 12px; }
.store-badge img { height: 48px; width: auto; }
.store-text { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.hero-note { font-size: 15px; }

/* Automatic scheduling band */
.autopilot { background: var(--violet-soft); border-top: 1px solid var(--violet-border); }
.autopilot .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .autopilot .wrap { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.autopilot-text { min-width: 0; max-width: 620px; }
.autopilot-text p { font-size: 17px; }
.autopilot-text p:last-child { margin-bottom: 0; font-weight: 600; }
.week { background: var(--surface); border: 1px solid var(--violet-border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); max-width: 100%; }
.week-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 12px; }
.week-days { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week-days li { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  border: 1px solid var(--line); color: var(--muted-text); font-weight: 600; font-size: 15px; }
.week-days li.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.week-post { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.week-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.week-post-text { flex: 1; min-width: 0; font-weight: 600; }
.week-btn { background: var(--violet); color: #fff; border-radius: 8px; padding: 6px 12px; font-weight: 600; font-size: 14px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--violet); color: #fff;
  font-family: var(--font-display); font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; }

/* Features */
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--paper); }
.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature h3 svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--violet-soft);
  color: var(--violet); }
.feature p { margin: 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--violet-dark); background: var(--violet-soft);
  border-radius: 999px; padding: 2px 10px; margin-inline-start: 4px; vertical-align: middle; }

/* Audience */
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1.5px solid var(--violet-border); background: var(--surface); color: var(--violet-dark);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* Pricing */
.plans { display: grid; gap: 16px; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--violet); }
.plan h3 { margin-bottom: 4px; }
.plan .price { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 8px 0 0; }
.plan .price-alt { font-size: 15px; margin: 4px 0 0; }
.plan .price small { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--muted-text); }
.plan ul { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--violet); }
.fineprint { font-size: 14px; color: var(--muted-text); max-width: 760px; margin-top: 24px; }
.fineprint p { margin-bottom: 8px; }

/* Privacy */
.privacy-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card-note { margin: 12px 0 0; }
.card-last { margin: 0; }
.card ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; min-height: 44px; font-weight: 600;
  font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 22px; color: var(--violet); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 20px 18px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }

/* Closing CTA */
.cta { text-align: center; }
.cta .store { align-items: center; }

/* Footer */
.site-footer { background: var(--ink); color: #EDEAF3; padding: 40px 0; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #DCC9F2; }
.site-footer ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer p { margin: 0; color: #CFC9DA; }

/* Plain text pages (accessibility statement, 404) */
.doc { max-width: 760px; padding: 40px 0 64px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc ul { padding-inline-start: 20px; }
#main:focus { outline: none; } /* programmatic focus target of the skip link, not a control */
