@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/heebo-hebrew-wght-normal.woff2) format("woff2-variations");
  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-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/heebo-latin-wght-normal.woff2) format("woff2-variations");
  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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-opsz-normal.woff2) format("woff2-variations");
  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;
}

/* ALLS-121 "Landing (sampled)" variables, local to this site. */
:root {
  --hero-coral: #e0918a;
  --hero-coral-deep: #c96f68;
  --hero-gradient-start: #efa393;
  --hero-gradient-end: #d9767a;
  --ink: #1f1f24;
  --ink-soft: #3a3a42;
  --muted: #5c5c66;
  --muted-2: #6b6b76;
  --hint: #9a9aa3;
  --line: #e5e5e5;
  --card: #fafafa;
  --card-line: #eee;
  --error: #b42318;
  --error-bg: #fef3f2;
  --success: #027a48;
  --success-bg: #ecfdf3;
  --note-bg: #fff4cc;
  --note-line: #e6b800;
  --note-ink: #5c4a00;
  --draft-bg: #fff3cd;
  --draft-line: #e0a800;
  --draft-ink: #7a5b00;
  --device: #0a0a0a;
  --page-x: 80px;
}

/* Hebrew frames use Heebo with SemiBold accents; English frames use Inter Regular in the same slots. */
html[lang="he"] { --font: "Heebo", system-ui, sans-serif; --accent-weight: 600; }
html[lang="en"] { --font: "Inter", system-ui, sans-serif; --accent-weight: 400; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
p, h1, h2, h3 { margin: 0; }
a { color: inherit; }

.draft-banner {
  background: var(--draft-bg);
  border: 1px solid var(--draft-line);
  border-radius: 8px;
  color: var(--draft-ink);
  font: 500 12px/normal "Inter", sans-serif;
  padding: 8px 16px;
  text-align: center;
}

.hero {
  background-image: linear-gradient(153deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 70.711%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 36px var(--page-x) 64px;
}
.nav { align-items: center; display: flex; justify-content: space-between; }
.brand { font-size: 28px; font-weight: 700; text-decoration: none; }

.lang-switch {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  padding: 4px;
}
.lang-switch a {
  border-radius: 999px;
  color: #fff;
  font: 500 14px/normal "Heebo", sans-serif;
  padding: 6px 12px;
  text-decoration: none;
}
.lang-switch a[aria-current="true"] { background: #fff; color: var(--hero-coral-deep); }

.hero-body { align-items: center; display: flex; gap: 48px; }
.hero-copy { display: flex; flex: 1 0 0; flex-direction: column; gap: 20px; min-width: 0; }
.hero-copy h1 { font-size: 56px; font-weight: 700; line-height: 68px; }
.hero-copy h1 span { display: block; }
.hero-copy .lede { font-size: 18px; line-height: 28px; }
/* Both frames put the CTAs on the right edge: the end in LTR, the start in RTL. */
.cta-row { display: flex; gap: 12px; justify-content: flex-end; }
html[lang="he"] .cta-row { justify-content: flex-start; }
.pill {
  border-radius: 999px;
  font-size: 16px;
  font-weight: var(--accent-weight);
  padding: 14px 28px;
  text-decoration: none;
  white-space: nowrap;
}
.pill-soon { background: #fff; color: var(--ink-soft); }
.pill-send { background: var(--hero-coral-deep); color: #fff; }

/* Decorative iPhone: 270x544 desktop, 226x453 mobile (ALLS-121 Rev3). */
.iphone {
  --w: 270px; --h: 544px; --bezel: 11px; --radius: 51px;
  --island-w: 92px; --island-h: 26px; --brand-size: 32px; --brand-top: 123px;
  --coral-h: 287px; --login-top: 303px; --login-h: 210px; --login-btn: 194px;
  --action-top: 98px; --volup-top: 147px; --voldown-top: 196px; --power-top: 158px;
  flex-shrink: 0;
  height: var(--h);
  position: relative;
  width: var(--w);
}
.iphone .shell {
  background: var(--device);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  inset: 0 3px;
  overflow: hidden;
  position: absolute;
}
.iphone .screen {
  background: #fff;
  border-radius: 40px;
  inset: var(--bezel);
  overflow: hidden;
  position: absolute;
}
.iphone .screen-top {
  background: var(--hero-coral);
  height: var(--coral-h);
  inset: 0 0 auto;
  position: absolute;
}
.iphone .island {
  background: var(--device);
  border-radius: 999px;
  height: var(--island-h);
  left: 50%;
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  width: var(--island-w);
}
.iphone .screen-brand {
  font-size: var(--brand-size);
  font-weight: 700;
  inset: var(--brand-top) 0 auto;
  position: absolute;
  text-align: center;
}
.iphone .login {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: var(--login-h);
  inset: var(--login-top) 0 auto;
  justify-content: center;
  padding: 4px 24px 32px;
  position: absolute;
}
.iphone .login-title { color: var(--ink); font-size: 19px; font-weight: 700; }
.iphone .login-btn {
  align-items: center;
  border-radius: 999px;
  display: flex;
  font-size: 13px;
  font-weight: var(--accent-weight);
  height: 33px;
  justify-content: center;
  width: var(--login-btn);
}
.iphone .login-primary { background: var(--hero-coral); color: #fff; }
.iphone .login-secondary { background: #fff; border: 1.5px solid var(--hero-coral-deep); color: var(--ink); }
.iphone .key { background: var(--device); border-radius: 1.5px; position: absolute; width: 3px; }
.iphone .key-action { height: 25px; left: 0; top: var(--action-top); }
.iphone .key-volup { height: 35px; left: 0; top: var(--volup-top); }
.iphone .key-voldown { height: 35px; left: 0; top: var(--voldown-top); }
.iphone .key-power { height: 49px; right: 0; top: var(--power-top); }

.lower {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px var(--page-x) 48px;
}
.family { display: flex; flex-direction: column; gap: 12px; max-width: 720px; width: 100%; }
html[lang="he"] .family { text-align: center; }
.family h2 { font-size: 28px; font-weight: var(--accent-weight); }
.family p { color: var(--muted); font-size: 17px; line-height: 26px; }

.contact {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  padding: 32px;
  scroll-margin-top: 24px;
  width: 100%;
}
.contact h2 { font-size: 22px; font-weight: var(--accent-weight); }
.contact form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font: 400 15px/normal var(--font);
  padding: 0 14px;
  width: 100%;
}
.field input { height: 48px; }
.field textarea { height: 120px; padding-top: 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--hint); opacity: 1; }
.field input[type="email"] { direction: ltr; }
html[lang="he"] .field input[type="email"] { text-align: right; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--hero-coral-deep); outline-offset: 2px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border: 1.5px solid var(--error); }
.field-error { color: var(--error); font-size: 13px; font-weight: 500; }
.field-error:empty { display: none; }

.consent { color: var(--muted); font-size: 13px; line-height: 20px; }
.consent a { color: inherit; }
.placeholder-note {
  background: var(--note-bg);
  border: 1px dashed var(--note-line);
  border-radius: 8px;
  color: var(--note-ink);
  font: 400 12px/18px "Inter", "Heebo", sans-serif;
  padding: 8px 10px;
}

.submit {
  align-items: center;
  background: var(--hero-coral);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: var(--accent-weight) 17px/normal var(--font);
  gap: 10px;
  height: 52px;
  justify-content: center;
  width: 100%;
}
.submit:focus-visible, .pill:focus-visible, .lang-switch a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.submit:hover, .contact[data-state]:not([data-state="idle"]) .submit { background: var(--hero-coral-deep); }
.submit .spinner { animation: spin 0.9s linear infinite; display: none; }
.contact[data-state="sending"] .submit .spinner { display: block; }
.contact[data-state="sending"] .submit { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .submit .spinner { animation: none; } }

.banner { border-radius: 12px; display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.banner strong { font-size: 16px; font-weight: 700; }
.banner p { font-size: 14px; }
.banner-error { background: var(--error-bg); }
.banner-error strong { color: var(--error); }
.banner-success { background: var(--success-bg); border-radius: 16px; gap: 12px; padding: 24px 20px; }
.banner-success strong { color: var(--success); font-size: 18px; }
[hidden] { display: none !important; }

.footer {
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  width: 100%;
}
/* Both frames put the link on the left and the copyright on the right. */
html[lang="he"] .footer { flex-direction: row-reverse; }
.footer a { color: var(--hero-coral-deep); font-weight: 500; text-decoration: none; }
.footer span { color: var(--hint); }

/* Privacy page */
.header-bar {
  background-image: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-end));
  color: #fff;
  padding: 28px var(--page-x);
}
.header-bar .brand { font-size: 24px; }
.policy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  max-width: 720px;
  padding: 48px 0 64px;
}
.policy h1 { font-size: 40px; font-weight: 700; }
.policy .updated { color: var(--muted-2); font-size: 14px; }
.policy section { display: flex; flex-direction: column; gap: 10px; }
.policy h2 { font-size: 20px; font-weight: 700; }
.policy-placeholder {
  background: var(--draft-bg);
  border: 1px solid var(--draft-line);
  border-radius: 12px;
  color: var(--draft-ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
}
.policy-placeholder b { font: 700 12px/normal "Inter", sans-serif; }
.policy-placeholder p { font: 400 14px/normal "Inter", "Heebo", sans-serif; }
.policy .footer { font-size: 13px; padding-top: 24px; }
.policy .footer a { font-size: 14px; }
.policy .footer span { color: var(--muted-2); }

@media (max-width: 760px) {
  :root { --page-x: 20px; }
  .draft-banner { white-space: nowrap; }
  .hero {
    align-items: center;
    background-image: linear-gradient(115deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 70.711%);
    gap: 24px;
    padding: 20px var(--page-x) 36px;
  }
  .nav { width: 100%; }
  .brand { font-size: 22px; }
  .lang-switch { gap: 2px; padding: 3px; }
  .lang-switch a { font-size: 12px; padding: 5px 10px; }
  .hero-body { flex-direction: column; gap: 24px; width: 100%; }
  .hero-copy { gap: 24px; width: 100%; }
  .hero-copy h1 { font-size: 32px; line-height: 40px; }
  .hero-copy .lede { font-size: 15px; line-height: 22px; }
  html[lang="he"] .hero-copy { text-align: center; }
  .cta-row, html[lang="he"] .cta-row { gap: 10px; justify-content: center; }
  .pill { font-size: 14px; padding: 12px 20px; }
  .iphone {
    --w: 226px; --h: 453px; --island-w: 76px; --island-h: 23px; --brand-size: 25px; --brand-top: 102px;
    --coral-h: 237px; --login-top: 253px; --login-h: 171px; --login-btn: 150px;
    --action-top: 82px; --volup-top: 122px; --voldown-top: 163px; --power-top: 131px;
  }
  .lower { gap: 28px; padding: 40px var(--page-x) 32px; }
  .family { gap: 10px; }
  .family h2 { font-size: 22px; }
  .family p { font-size: 15px; line-height: 22px; }
  .contact { border-radius: 20px; gap: 16px; padding: 24px 20px; }
  .contact h2 { font-size: 18px; }
  .contact form { gap: 16px; }
  .field label { font-size: 13px; }
  .field input, .field textarea { border-radius: 10px; font-size: 14px; padding: 0 12px; }
  .field input { height: 44px; }
  .field textarea { height: 96px; padding-top: 10px; }
  .consent { font-size: 12px; line-height: 18px; }
  .placeholder-note { font-size: 11px; line-height: 16px; }
  .submit { font-size: 16px; height: 48px; }
  .footer { font-size: 12px; }
  .header-bar { padding: 20px var(--page-x); }
  .policy { gap: 24px; padding: 32px var(--page-x) 40px; }
  .policy h1 { font-size: 28px; }
}

.contact-notice { color: var(--muted); font-size: 14px; line-height: 22px; }
.contact :disabled { cursor: not-allowed; }
.contact .submit:disabled { background: var(--hero-coral); opacity: 0.65; }
.policy article { display: flex; flex-direction: column; gap: 18px; line-height: 1.65; }
