@view-transition {
  navigation: auto;
}

::view-transition-group(*),
::view-transition-old(*),
::view-transition-new(*) {
  animation: none;
}

/* Keep Inter optional and preloaded on every page (build_site.py): with swap the logo jumps when the font arrives (user, 2026-11-05). */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2?v=f11d729b") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
}

@font-face {
  font-family: "Heebo";
  src: url("/fonts/heebo-hebrew.woff2?v=26d34c3f") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

:root {
  color-scheme: light;
  --paper: #faf9f6;
  --white: #ffffff;
  --ink: #202d3d;
  --muted: #526071;
  --accent: #2854a1;
  --accent-dark: #1d407d;
  --download: #287a4b;
  --download-dark: #1f6340;
  --blue-wash: #eaf0fa;
  --sage-wash: #edf4ef;
  --line: #d9dfe5;
  --control-line: #788598;
  --error: #9d2929;
  --radius: 24px;
  --radius-small: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

main {
  flex: 1;
  min-width: 0;
}

main:focus {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent-dark);
  text-decoration-thickness: 2px;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #184ea6;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

::selection {
  background: #cdddf7;
  color: var(--ink);
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  overflow-wrap: break-word;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  line-height: 1.09;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 span,
h2 span {
  color: var(--accent);
}

p {
  color: var(--muted);
  overflow-wrap: break-word;
}

p + p {
  margin-top: 1.25em;
}

strong {
  font-weight: 700;
}

small {
  font-size: 0.875rem;
}

.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.page {
  padding-top: clamp(40px, 5.5vw, 80px);
  padding-bottom: clamp(64px, 7vw, 104px);
}

.skip {
  position: fixed;
  z-index: 100;
  top: 16px;
  inset-inline-start: 16px;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  transform: translateY(calc(-100% - 32px));
  border: 2px solid var(--accent);
  border-radius: var(--radius-small);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

/* Navigation remains visible at every screen size. */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  min-height: 96px;
  padding-block: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
}

.header-inner > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: start;
  min-width: 0;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.logo .mark {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
}

.logo-a {
  color: var(--ink);
}

.logo small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.logo:hover {
  text-decoration: none;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 24px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.main-nav a[aria-current="page"] {
  font-weight: 700;
}

/* The switch between the languages, the page's own in bold; an English page shows it to visitors from Israel alone. */
.language {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 0.875rem;
}

.language a {
  color: var(--muted);
  text-decoration: none;
}

.language a:hover {
  color: var(--ink);
}

.language b {
  color: var(--ink);
  font-weight: 700;
}

.language > * + * {
  padding-inline-start: 10px;
  border-inline-start: 1px solid var(--line);
}

/* Under the logo, the channels where ACE also appears, the same space above and below them; only YouTube leads anywhere yet, to the videos page. */
.socials {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}

.header-inner > .socials {
  z-index: 2;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.social svg {
  flex: none;
  width: 16px;
  height: 16px;
}

a.social:hover {
  color: var(--ink);
}

a.social[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  max-width: 100%;
  padding: 13px 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-small);
  background: var(--accent);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

a.button {
  border-radius: 999px;
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--white);
  text-decoration: none;
}

.button:active {
  background: #173466;
}

/* A button at work (Send while its message goes) is grayed, as on the sign-in page. */
.button:disabled,
.button:disabled:hover,
.button:disabled:active {
  border-color: #c4cbd3;
  background: #c4cbd3;
  color: var(--white);
  cursor: default;
}

.button-download {
  border-color: var(--download);
  background: var(--download);
}

.button-download:hover {
  border-color: var(--download-dark);
  background: var(--download-dark);
}

.button-download:active {
  background: #184f33;
}

.button-small {
  min-height: 44px;
  padding: 10px 19px;
  font-size: 0.875rem;
}

.header-download {
  justify-self: end;
}

/* The links read in the page's language: in Hebrew the first page is at the right and the Download button comes last, at the left. */
@media (min-width: 1001px) {
  .header-inner {
    padding-bottom: 11px;
    row-gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .socials {
    grid-column: 1 / span 2;
    grid-row: 2;
  }

  .main-nav {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-bottom: 6px;
  }

  .header-download {
    grid-column: 4;
    grid-row: 1 / span 2;
    margin-bottom: 6px;
  }

  :root[dir="rtl"] .main-nav {
    grid-column: 4;
  }

  :root[dir="rtl"] .header-download {
    grid-column: 3;
  }
}

/* Image frames reserve their space before the files load. */
.art {
  border-radius: var(--radius);
  background: #eef1f3;
}

.art img {
  width: 100%;
  height: auto;
}

/* Home */
.home-content {
  padding-top: 32px;
  padding-bottom: 80px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid #dce5f2;
  border-radius: 32px;
  background: var(--blue-wash);
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  padding: clamp(12px, 2vw, 32px);
}

.hero-copy .intro-text {
  margin-bottom: 28px;
}

.hero-copy h1 {
  width: min-content;
  margin: 0 0 20px;
  font-size: clamp(2.75rem, 4.8vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.hero-art {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.features {
  margin-top: 28px;
  display: grid;
  gap: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.feature {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-copy {
  flex: 1;
  padding: 30px 28px 26px;
}

.feature-copy h2,
.feature-wide-copy h2 {
  margin-bottom: 16px;
  text-wrap: initial;
}

.feature-wide-copy h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}

.feature-copy p {
  font-size: 1rem;
  line-height: 1.75;
}

.feature-art {
  flex: none;
  margin: 0 16px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.feature-wide {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid #d6e2d9;
  border-radius: var(--radius);
  background: var(--sage-wash);
}

.feature-wide-copy {
  padding: clamp(12px, 2vw, 32px);
}

.private-points {
  max-width: 46ch;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
  counter-reset: point;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.private-points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  counter-increment: point;
  text-wrap: pretty;
}

.private-points li::before {
  content: counter(point);
  width: 2.1875em;
  height: 2.1875em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1;
}

.feature-wide-art {
  align-self: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.feature-wide-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-panel {
  margin-top: 56px;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #dce5f2;
  border-radius: var(--radius);
  background: var(--blue-wash);
}

.cta-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.cta-panel p {
  font-size: 1.125rem;
}

.cta-panel .button {
  flex-shrink: 0;
  min-width: 144px;
}

/* Product: an editorial opening, then a bounded landscape illustration. */
.product-page,
.pricing-page,
.download-page,
.contact-layout,
.legal-page,
.videos-page {
  padding-top: 36px;
}


.intro-text {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.65;
}

.product-art,
.pricing-art,
.download-art,
.contact-art {
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-art img,
.pricing-art img,
.download-art img,
.contact-art img {
  display: block;
  border-radius: inherit;
}

.product-body {
  margin-top: 40px;
}

.product-body p {
  font-size: 1.125rem;
  line-height: 1.8;
}

.product-outlook {
  padding: 0;
}

/* Pricing: no invented plans or prices; the existing fee gets emphasis. */
.product-intro,
.pricing-intro {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: stretch;
  gap: 28px 40px;
}

.product-copy h1,
.pricing-copy h1 {
  margin-bottom: 24px;
  white-space: nowrap;
}

.product-copy p,
.pricing-copy p {
  contain: inline-size;
}

.product-intro .fee-panel,
.pricing-intro .fee-panel {
  align-items: flex-start;
  margin: calc(clamp(2.5rem, 5.2vw, 4.5rem) * 0.145 - 2px) 0 6px;
  padding: 28px 32px;
}

.product-intro .fee-panel p,
.pricing-intro .fee-panel p {
  font-size: 1.125rem;
}

.product-intro {
  grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr);
}

.product-intro .fee-panel,
.pricing-intro .fee-panel {
  align-self: start;
}

.product-copy h1 {
  white-space: normal;
}

.product-page .product-note,
.download-page .deployment-note {
  margin-top: 40px;
}

.pricing-copy p {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.65;
}

.pricing-copy p + p {
  margin-top: 16px;
}

.pricing-details {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.fee-panel,
.sales-panel {
  display: flex;
  align-items: center;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius);
}

.fee-panel {
  border: 1px solid #dce5f2;
  background: var(--blue-wash);
}

.fee-panel p {
  color: var(--ink);
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.65;
}

.fee-panel strong {
  color: var(--accent);
}

.sales-panel {
  border: 1px solid var(--line);
  background: var(--white);
}

.sales-panel p {
  font-size: 1.125rem;
}

.sales-panel a {
  font-weight: 600;
}

/* Download */
.download-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.download-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.download-card-primary {
  border-color: #b9cbea;
  background: var(--blue-wash);
}

.tag {
  display: inline-block;
  margin-bottom: 24px;
  padding: 5px 11px;
  border-radius: 8px;
  background: #dbe7f9;
  color: #244b88;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.6;
}

.tag-neutral {
  background: #eef1f4;
  color: var(--muted);
}

.download-card h2 {
  margin-bottom: 14px;
  font-size: 1.75rem;
}

.download-card p {
  font-size: 1rem;
}

.download-action {
  margin-top: 24px;
}

.download-card .button {
  padding-inline: 18px;
  font-size: 0.875rem;
}

.download-column {
  display: flex;
  flex-direction: column;
  gap: inherit;
  min-width: 0;
}

.download-column .download-card {
  flex: 1;
}

.download-command {
  padding: 14px 20px 10px 30px;
  border: 1px solid #b9cbea;
  border-radius: var(--radius);
  background: var(--blue-wash);
}

:root[dir="rtl"] .download-command {
  padding: 14px 30px 10px 20px;
}

.download-command p {
  color: var(--muted);
  font-size: 0.875rem;
}

.command-box {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.command-box code {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.71875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

:root[dir="rtl"] .command-box code {
  text-align: right;
}

.copy {
  display: inline-flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.copy:hover {
  background: #dbe7f9;
  color: var(--accent);
}

.copy svg {
  width: 17px;
  height: 17px;
}

.copy svg + svg,
.copy.copied svg {
  display: none;
}

.copy.copied svg + svg {
  display: block;
}

.copy.copied {
  color: var(--download);
}

.deployment-note {
  margin-top: 28px;
  padding: 22px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f0f1ef;
  color: var(--muted);
  font-size: 1rem;
}

/* Contact: the form stays ahead of the illustration on small screens. */
.contact-layout .contact-art {
  margin-top: 32px;
}

.contact-form {
  width: calc((100% - 24px) * 1.6 / 2.6);
  margin-top: 40px;
  min-width: 0;
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
  margin-top: 40px;
}

.contact-body .contact-form {
  width: auto;
  margin-top: 0;
}

.contact-details {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 24px;
}

.detail-box {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.detail-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 24px;
}

.detail-address {
  display: flex;
  flex-direction: column;
}

.detail-map {
  flex: 1;
  width: 100%;
  min-height: 200px;
  margin-top: 20px;
  border: 0;
  border-radius: var(--radius-small);
}

.detail-box h2 {
  margin-bottom: 8px;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.detail-box p {
  font-size: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.field label small {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.field textarea {
  min-height: 164px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--ink);
}

/* A field shows its focus on its border, as the sign-in page does. */
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
}

.field input[aria-invalid="true"]:focus {
  box-shadow: inset 0 0 0 1px var(--error);
}

.hint {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.form-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-inline-start: 3px solid var(--error);
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-start-end-radius: 6px;
  border-end-end-radius: 6px;
  background: #fff1ee;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 600;
}

.send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.send .button {
  min-width: 100px;
}

.send small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

#send-error {
  margin-top: -8px;
}

.form-note {
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* A field for bots only: off the screen, out of the tab order and hidden from screen readers. */
.trap {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cloudflare's check takes no room until it wants a click. */
.turnstile {
  display: contents;
}

.contact-sent {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-sent:focus {
  outline: none;
}

/* Legal: each section's heading over its text at every width, as on a phone (user, 2026-10-21). */
.legal-page {
  max-width: 1120px;
}

.legal-page > h1 {
  margin-bottom: 48px;
}

/* Compliance: as much space from the heading's letters to the first line as from that line to the letters below it. */
.compliance-page > h1 {
  margin-bottom: 43px;
}

:root[dir="rtl"] .compliance-page > h1 {
  margin-bottom: calc(42px - 0.167em);
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.025em;
  scroll-margin-top: 24px;
}

.legal-section p {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.85;
}

.legal-section a {
  overflow-wrap: anywhere;
}

.legal-section h3 {
  margin: 2em 0 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.legal-section h3 + p,
.legal-section h3 + ul,
.legal-section p + ul {
  margin-top: 0.75em;
}

.legal-section ul + p {
  margin-top: 1.25em;
}

.legal-section ul {
  max-width: 70ch;
  margin: 0;
  padding-inline-start: 1.25em;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.legal-section li + li {
  margin-top: 0.5em;
}

/* Videos: a ticket per film, its picture a play button; under the heading and above the tickets, the compliance line's space. */
.videos-page > h1 {
  margin-bottom: calc(35px - 0.167em);
}

.videos-intro {
  max-width: 640px;
  font-size: 1.125rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.video-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.video-frame {
  position: relative;
  display: block;
  width: auto;
  margin: 16px 16px 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eef1f3;
  cursor: pointer;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 6px rgb(0 0 0 / 0.3));
  transition: opacity 0.2s;
}

.video-frame:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

/* The film's sped-up preview, shown over the picture once it plays, the play mark gone meanwhile. */
.video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-frame.previewing .video-preview {
  opacity: 1;
}

.video-frame.previewing .video-play {
  opacity: 0;
}

/* A film still to come: its words in the picture's place. */
.video-soon {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: default;
}

.video-copy {
  flex: 1;
  padding: 20px 28px 26px;
}

.video-copy h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-wrap: initial;
}

.video-copy p {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-inner {
  min-height: 96px;
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

/* Hebrew: Heebo for the Hebrew letters, Inter keeps the Latin ones; headings untightened; email and phone typed left to right. */
:root[lang="he"] body {
  font-family: "Heebo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

:root[lang="he"] h1,
:root[lang="he"] h2,
:root[lang="he"] h3 {
  letter-spacing: 0;
}

:root[dir="rtl"] .field input[type="email"],
:root[dir="rtl"] .field input[type="tel"] {
  direction: ltr;
  text-align: end;
}

/* The Hebrew pricing heading is long, so the opening shares its row with the fee panel as the product page does. */
:root[lang="he"] .pricing-intro {
  grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr);
}

:root[lang="he"] .pricing-copy h1 {
  white-space: normal;
}

.phone,
a[href^="tel:"] {
  white-space: nowrap;
}

/* Tablet */
@media (max-width: 1220px) {
  .product-intro,
  .pricing-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-copy h1,
  .pricing-copy h1 {
    white-space: normal;
  }

  .product-intro .fee-panel,
  .pricing-intro .fee-panel {
    margin: 0;
  }
}

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px 20px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-download {
    grid-column: 3;
    grid-row: 1;
  }

  .socials {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
    gap: 4px 28px;
    margin-top: -13px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 0;
  }

  .hero-copy,
  .feature-wide-copy {
    padding: 24px 16px;
  }

  .hero-copy .button {
    white-space: nowrap;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  }

  .product-intro,
  .pricing-intro {
    gap: 32px;
  }

  .product-body {
    gap: 24px;
  }

  .contact-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details {
    grid-template-rows: auto;
  }

  .detail-map {
    min-height: 260px;
  }

  .download-cards {
    gap: 16px;
  }

  .download-card {
    padding: 24px 20px;
  }

  .form-row {
    gap: 16px;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid > .feature:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .feature-grid > .feature:last-child .feature-art {
    margin: 16px;
  }
}

/* Phone and narrow tablet layouts */
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .page {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(2.5rem, 8.5vw, 3.75rem);
  }

  .header-inner {
    min-height: 0;
    padding-block: 16px 8px;
  }

  .main-nav {
    column-gap: 24px;
    margin-top: -14px;
  }

  .home-content {
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
    border-radius: var(--radius);
  }

  .hero-copy,
  .hero-art {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-copy,
  .feature-wide-copy {
    padding: 24px 16px 32px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 10vw, 4.25rem);
  }

  .hero-art {
    border-radius: 14px;
  }

  .features {
    margin-top: 20px;
    gap: 20px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .feature-copy {
    padding: 28px 24px 24px;
  }

  .feature-copy h2,
  .feature-wide-copy h2 {
    max-width: 23ch;
    font-size: 1.75rem;
  }

  .feature-wide-copy h2 {
    font-size: 2rem;
  }

  .feature-copy p {
    max-width: 60ch;
  }

  .feature-wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
  }

  .feature-wide-art {
    border-radius: 14px;
  }

  .cta-panel {
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .product-intro,
  .pricing-intro,
  .download-intro,
  .product-body,
  .pricing-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .product-page,
  .pricing-page,
  .download-page,
  .contact-layout,
  .legal-page,
  .videos-page {
    padding-top: 32px;
  }

  .product-art,
  .pricing-art,
  .download-art,
  .contact-art {
    margin-top: 32px;
    border-radius: 16px;
  }

  .product-body {
    margin-top: 28px;
  }

  .product-outlook {
    padding: 0 4px;
  }

  .pricing-copy h1 {
    margin-bottom: 24px;
  }

  .pricing-details {
    margin-top: 28px;
    gap: 20px;
  }

  .download-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }

  .download-card {
    padding: 28px;
  }

  .tag {
    margin-bottom: 18px;
  }


  .deployment-note {
    padding: 20px 24px;
  }

  .contact-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 28px;
  }

  .contact-form {
    width: 100%;
    margin-top: 28px;
    padding: 28px;
  }

  .legal-page > h1 {
    margin-bottom: 40px;
  }

  .compliance-page > h1 {
    margin-bottom: 35px;
  }

  :root[dir="rtl"] .compliance-page > h1 {
    margin-bottom: calc(34px - 0.167em);
  }

  .videos-page > h1 {
    margin-bottom: calc(27px - 0.167em);
  }

  .video-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 28px;
  }

  .legal-section {
    padding-block: 28px;
  }

  .footer-inner {
    min-height: 88px;
  }
}

@media (max-width: 440px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner,
  .brand {
    column-gap: 12px;
  }

  .logo small {
    max-width: 160px;
    font-size: 0.6875rem;
  }

  .button-small {
    padding-inline: 15px;
  }

  .main-nav {
    column-gap: 18px;
  }

  .hero-copy,
  .feature-wide-copy {
    padding-inline: 12px;
  }

  .feature-copy {
    padding-inline: 24px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .send {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    gap: 20px;
  }
}

@media (forced-colors: active) {
  .button,
  .tag,
  .private-points li::before {
    border: 1px solid ButtonText;
  }

  .main-nav a[aria-current="page"] {
    border-bottom-color: LinkText;
  }

  :focus-visible {
    outline-color: Highlight;
  }

  .field input:focus,
  .field textarea:focus {
    outline: 2px solid Highlight;
  }

  .field input[aria-invalid="true"] {
    border: 2px solid CanvasText;
  }
}
