@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&family=Noto+Sans+Hebrew:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #12302b;
  --muted: #66807a;
  --green: #0a7268;
  --deep: #083d35;
  --canvas: #f6f8f5;
  --line: #d8e6df;
  --site-background: url("/assets/site-background.jpg");
  --content-width: 74rem;
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --site-font: "DM Sans", sans-serif;
  --heading-font: Manrope, sans-serif;
}

:root:lang(en) {
  --site-font: "Poppins", sans-serif;
  --heading-font: "Poppins", sans-serif;
}

:root:lang(he) {
  --site-font: "Noto Sans Hebrew", "DM Sans", sans-serif;
  --heading-font: var(--site-font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--site-font);
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.brand img {
  display: block;
  width: clamp(6rem, 8vw, 7.8rem);
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  min-width: 0;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.site-nav {
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
}

.site-nav a:hover,
.footer-nav a:hover { color: var(--green); }

.nav-cta {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: #fff;
}

.language-picker { position: relative; flex: 0 0 auto; }

.language-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font: 700 0.8125rem var(--site-font);
  cursor: pointer;
}

.language-button:hover,
.language-button[aria-expanded="true"] { border-color: var(--green); }

.language-button:focus-visible,
.language-menu button:focus-visible {
  outline: 0.1875rem solid rgba(10, 114, 104, 0.25);
  outline-offset: 0.125rem;
}

.language-button img,
.language-menu img {
  display: block;
  width: 1.75rem;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(18, 48, 43, 0.18);
  border-radius: 0.125rem;
  object-fit: cover;
}

.language-chevron { transition: transform 160ms ease; }
.language-button[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }

.language-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.625rem);
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, 2.75rem);
  width: max-content;
  padding: 0.375rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(19, 48, 43, 0.16);
}

.language-menu[hidden] { display: none; }

.language-menu button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  color: var(--ink);
  background: transparent;
  font: 600 0.875rem var(--site-font);
  text-align: start;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] { background: #edf7f3; }

.language-menu img { width: 2rem; }

[dir="rtl"] .language-menu { right: auto; left: 0; }
.hero-section {
  min-height: 42rem;
  padding-block: clamp(9rem, 15vw, 12rem) clamp(4rem, 8vw, 7rem);
  background-image:
    linear-gradient(
      to bottom,
      rgba(22, 75, 103, 0.18) 0%,
      rgba(246, 248, 245, 0.08) 48%,
      var(--canvas) 100%
    ),
    var(--site-background);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero-copy,
.hero-visual,
.story-heading,
.steps-grid { min-width: 0; }

.eyebrow {
  margin: 0 0 1.125rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.75rem, 5.2vw, 5rem);
  line-height: 1;
  text-shadow: 0 0.125rem 1rem rgba(8, 35, 31, 0.7);
}

.hero-text {
  max-width: 32rem;
  margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  text-align: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
}

.button {
  min-height: 3.25rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.375rem;
}

.button-primary {
  color: #fff;
  background: var(--deep);
  box-shadow: 0 0.625rem 1.5rem rgba(8, 61, 53, 0.18);
}

.text-link { color: var(--green); }

.hero-visual {
  width: 100%;
  max-width: 35rem;
  justify-self: end;
}

.hero-map-shot {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  margin-inline: auto;
  border: 0.4rem solid #172923;
  border-radius: 2rem;
  box-shadow: 0 1.5rem 3rem rgba(19, 48, 43, 0.23);
  transform: rotate(-3deg);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  min-width: 0;
  padding-inline: clamp(1rem, 3vw, 2rem);
  border-left: 1px solid var(--line);
}

.promise:first-child { padding-left: 0; border-left: 0; }
.promise strong { font: 700 clamp(1.25rem, 2vw, 1.5rem) var(--heading-font); }
.promise span { color: var(--muted); font-size: 0.8125rem; }

.story-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: #eaf2ee;
}

.story-heading h2 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.08;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3.5rem);
  margin-top: clamp(2.75rem, 5vw, 4rem);
}

.flow-step {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
}

.phone {
  position: relative;
  width: min(100%, 16rem);
  aspect-ratio: 735 / 1600;
  padding: 0.4rem;
  border: 0.125rem solid #56645f;
  border-radius: 2.25rem;
  background: #18231f;
  box-shadow: 0 1.5rem 2.5rem rgba(18, 48, 43, 0.15), 0 0.25rem 0.5rem rgba(18, 48, 43, 0.1);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 50%;
  width: 27%;
  height: 1rem;
  border-radius: 0 0 0.8rem 0.8rem;
  background: #18231f;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.8rem;
  background: #f3f4f5;
}

.phone-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-copy {
  width: min(100%, 18rem);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #b7d0c6;
}

.flow-number { color: var(--green); font-size: 0.8rem; font-weight: 700; }
.flow-copy h3 { margin: 0.55rem 0 0.5rem; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.3; }
.flow-copy p { margin: 0; color: #48665e; font-size: 0.925rem; line-height: 1.55; }

.download-section {
  padding-block: 4rem;
  background: #e7f1eb;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.download-inner h2 {
  max-width: 18ch;
  margin: 0.4rem 0 0;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.08;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 10.75rem;
  height: 3.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.45rem;
  background: #000;
  color: #fff;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0.4rem 1rem rgba(18, 48, 43, 0.16);
}

.store-badge:focus-visible {
  outline: 0.1875rem solid rgba(10, 114, 104, 0.35);
  outline-offset: 0.2rem;
}

.store-mark {
  flex: 0 0 auto;
}

.apple-mark {
  width: 1.7rem;
  height: 2rem;
  object-fit: contain;
}

.play-mark {
  width: 1.7rem;
  height: 1.85rem;
}

.store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.95;
  white-space: nowrap;
}

.store-copy small {
  font-size: 0.55rem;
  letter-spacing: 0.03em;
}

.store-copy strong {
  font-size: 1.22rem;
  font-weight: 600;
}

.site-footer {
  width: 100%;
  color: #245248;
  background: #f6f8f5;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 1.5rem 2.5rem;
  font-size: 0.75rem;
}

.footer-nav { gap: 1rem; }

.footer-nav a:hover { color: var(--green); }

.social-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-inline: auto;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--deep);
  transition: opacity 140ms ease, transform 140ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--green);
  transform: translateY(-2px);
}

.social-links a:focus-visible {
  outline: 0.125rem solid var(--green);
  outline-offset: 0.25rem;
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

@media (max-width: 56rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.85fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }

  h1 { font-size: clamp(2.75rem, 7vw, 4rem); }
  .phone { width: min(100%, 14rem); }
}

@media (max-width: 43rem) {
  :root { --page-gutter: clamp(1rem, 5vw, 1.5rem); }

  .header-inner { min-height: 4.5rem; gap: 1rem; }
  .header-actions { gap: 0.625rem; }
  .site-nav { gap: 0.75rem; }
  .hero-section { padding-block: 3.25rem 4.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  h1 { max-width: 12ch; font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-visual { max-width: 32rem; justify-self: center; }
  .hero-map-shot { width: min(54%, 11rem); }

  .download-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-badges { justify-content: flex-start; }

  .promise-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .promise,
  .promise:first-child {
    padding: 0 0 0 0.875rem;
    border-left: 0.125rem solid var(--line);
  }

  .story-section { padding-block: 4.5rem; }
  .flow-grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .phone { width: min(70%, 16rem); }
  .flow-copy { margin-top: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 24rem) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button, .text-link { width: 100%; }
}

body.page-inner .site-header {
  position: static;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1rem;
}

.page-hero h1 {
  margin-inline: auto;
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  text-align: center;
}

body.page-inner h1 {
  color: #304B49;
  text-shadow: none;
}

.page-hero p {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  text-align: center;
}

.about-content {
  max-width: 57rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  text-align: start;
}

.about-lead,
.about-point p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.85;
}

.about-lead {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.about-point {
  display: grid;
  grid-template-columns: minmax(5rem, 0.25fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: baseline;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.about-point h2 {
  margin: 0;
  color: var(--green);
  font-size: 1.125rem;
}

.about-point p { color: var(--muted); }

@media (max-width: 36rem) {
  .about-point {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}

.faq-list {
  display: grid;
  gap: 1.25rem;
  padding-block: 1rem clamp(4rem, 8vw, 6rem);
}

.faq-card {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(19, 48, 43, 0.05);
}

.faq-card h2 {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--deep);
  margin: 0 0 0.5rem;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-body {
  max-width: 47.5rem;
  margin: 0 auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.legal-body h2 {
  font-family: var(--heading-font);
  font-size: 1.05rem;
  color: var(--deep);
  margin: 2rem 0 0.5rem;
}

.legal-body h3 {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  color: var(--green);
  margin: 1.125rem 0 0.375rem;
}

.legal-body p,
.legal-body li {
  font-size: 0.95rem;
  color: var(--muted);
}

.legal-body ul { padding-inline-start: 1.25rem; }
.legal-body li { margin-bottom: 0.375rem; }
.legal-body a { color: var(--green); }

.legal-body .badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef6f2;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
}

.legal-body .card {
  margin: 1.5rem 0;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}

.legal-body .card h3 { margin-top: 0; }

.legal-body .step {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.legal-body .step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.legal-body .email-box {
  margin-top: 0.75rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #eef6f2;
  font-size: 0.95rem;
}

.legal-body .email-box strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--deep);
}

