:root {
  --blue: #183bb9;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f8fafc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans Hebrew", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.top {
  background: var(--blue);
  color: #fff;
}

.top-inner,
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mark-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.brand strong {
  font-size: 18px;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.langs a {
  color: #dbeafe;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.langs a[aria-current="page"] {
  background: #fff;
  color: var(--blue);
}

h1 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 12px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.intro,
section p {
  font-size: 16px;
}

.intro {
  margin: 0 0 24px;
}

section {
  margin: 0 0 24px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

section h2 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--blue);
}

footer {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  padding: 22px 24px;
  text-align: center;
}

.home-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-hero .card {
  margin: 24px auto 40px;
  width: calc(100% - 32px);
}

.home-hero p {
  margin-top: 0;
}

.home-hero .links {
  display: grid;
  gap: 10px;
  margin: 20px 0 8px;
}

.home-hero .links a {
  display: block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  padding: 12px 16px;
  border-radius: 12px;
}

.home-hero .links a.secondary {
  background: #111827;
}

.home-page {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.home-page .top-inner {
  padding: 10px 24px;
}

.home-page .wrap {
  max-width: 920px;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  padding: 6px 16px 0;
}

.hero {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 auto;
  box-shadow: none;
  text-align: center;
  width: 100%;
}

.hero h1 {
  font-size: 28px;
  margin: 0 0 4px;
}

.lead-en {
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--text);
}

.lead-he {
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--muted);
}

.showcase {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 30px;
}

.phones {
  flex: 0 0 auto;
  height: min(54vh, 480px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.device {
  margin: 0;
  height: 100%;
  width: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}

.stores {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 28px;
  margin: 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.badge-apple {
  height: 44px;
  width: auto;
  display: block;
}

.badge-google {
  height: 66px;
  width: auto;
  display: block;
}

.site-footer {
  background: var(--blue);
  color: #fff;
  flex-shrink: 0;
  padding: 10px 16px 12px;
}

.site-footer-inner {
  max-width: 920px;
  margin: 0 auto;
}

.site-footer p {
  margin: 6px 0 0;
  color: #fff;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
}

.legal-links a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 22px;
  }

  .device img {
    max-width: 44vw;
  }

  .badge-apple {
    height: 38px;
  }

  .badge-google {
    height: 56px;
  }
}
