/*
 * The website's one stylesheet. Colours match the product (apps/web/src/styles.css).
 * Fonts are served from this site: no visitor data goes to a font service.
 * Heebo is an open font (SIL Open Font License).
 */
@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;
}
:root {
  --ink: #14181f;
  --muted: #5c564b;
  --paper: #f7f4ee;
  --card: #ffffff;
  --sunken: #f1ede5;
  --line: #e6e0d6;
  --field-line: #8a8375;
  --brand: #0f3d34;
  --brand-hover: #0a2c26;
  --brand-soft: #e7efec;
  --brass: #a07c45;
  /* Brass dark enough to read as text on the paper background (contrast 5.6:1). */
  --brass-text: #7a5c2e;
  --crit: #a8231c;
  --crit-bg: #fbe9e7;
  --night: #14181f;
  --night-ink: #f2efe8;
  --night-muted: #b3aea2;
  --display: 'Heebo', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Heebo', 'Segoe UI', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
[hidden] {
  display: none !important;
}

/* ---------- accessibility ---------- */
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.dark :focus-visible,
.cta-band :focus-visible {
  outline-color: #fff;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  direction: ltr;
}
.logo .mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
}
.logo .name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.logo .name span {
  color: var(--brass-text);
}
nav.links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15.5px;
}
nav.links a {
  text-decoration: none;
  color: var(--muted);
}
nav.links a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: 500 16px var(--sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover {
  border-color: #cfc7b8;
}
.btn.primary,
nav.links a.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn.primary:hover {
  background: var(--brand-hover);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
.btn.small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 12px;
}

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 0;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--brass-text);
  letter-spacing: 0.02em;
}
.dark .eyebrow {
  color: #d9bd8a;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 18px auto 0;
  max-width: 18ch;
}
.hero p.lead {
  max-width: 62ch;
  margin: 24px auto 0;
  font-size: 19px;
  color: var(--muted);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.cta.start {
  justify-content: flex-start;
}
.shot {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 30px 70px -30px rgba(20, 24, 31, 0.35), 0 2px 6px rgba(20, 24, 31, 0.05);
  overflow: hidden;
}
.hero .shot {
  margin: 64px auto 0;
  max-width: 1080px;
}

/* ---------- sections ---------- */
section {
  padding: 104px 0;
  /* The header is sticky: a link to a section must not land underneath it. */
  scroll-margin-top: 72px;
}
section.tight {
  padding-top: 0;
}
.head {
  max-width: 60ch;
}
.head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-top: 10px;
}
.head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.card h3 {
  font-size: 22px;
}
.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  counter-increment: step;
  border-top: 2px solid var(--brand);
  padding-top: 20px;
}
.step::before {
  content: counter(step);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--brass-text);
}
.step h3 {
  font-size: 20px;
  margin-top: 6px;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 56px;
  margin-top: 88px;
}
.feature.flip .text {
  order: 2;
}
.feature h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}
.feature .text p {
  margin-top: 14px;
  color: var(--muted);
}
.feature ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.feature li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 16px;
}
.feature li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--brass);
}

.dark {
  background: var(--night);
  color: var(--night-ink);
}
.dark .head p,
.dark .role p {
  color: var(--night-muted);
}
.roles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.role {
  border: 1px solid #2a3037;
  border-radius: 18px;
  padding: 22px;
  background: #191e26;
}
.role h3 {
  font-size: 19px;
  color: #d9bd8a;
}
.role p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.mini {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.mini h3 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
}
.mini p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 56px;
  align-items: center;
}
.phone {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 34px;
  border: 8px solid var(--night);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20, 24, 31, 0.5);
}
.note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.faq-list {
  margin-top: 32px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  color: var(--brass-text);
  font-size: 24px;
  line-height: 1;
}
details[open] summary::after {
  content: '−';
}
details p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 70ch;
}

.cta-band {
  background: var(--brand);
  color: #fff;
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.cta-band p {
  margin: 14px auto 0;
  max-width: 56ch;
  color: #d5e5e0;
}
.cta-band .btn {
  border-color: transparent;
}

/* ---------- inner pages ---------- */
.page {
  padding: 72px 0 96px;
}
.page h1 {
  font-size: clamp(32px, 4.4vw, 48px);
}
.page .intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
}
.prose {
  max-width: 72ch;
  margin-top: 40px;
}
.prose h2 {
  font-size: 24px;
  margin-top: 40px;
}
.prose p,
.prose ul {
  margin-top: 12px;
}
.prose ul {
  padding-inline-start: 22px;
}
.prose li {
  margin-top: 6px;
}
.prose a {
  color: var(--brand);
}
.prose .meta {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- contact form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
form.lead {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.field .hint {
  display: block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 400 16px var(--sans);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
.field [aria-invalid='true'] {
  border-color: var(--crit);
}
.field .error {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--crit);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}
.consent input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--brand);
}
.consent a {
  color: var(--brand);
}
.trap {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15.5px;
}
.form-status.bad {
  background: var(--crit-bg);
  color: var(--crit);
  border: 1px solid #f1c5c0;
}
.form-done {
  background: var(--brand-soft);
  border: 1px solid #c9dcd6;
  border-radius: 24px;
  padding: 40px 32px;
}
.form-done h2 {
  font-size: 28px;
  color: var(--brand);
}
.form-done p {
  margin-top: 10px;
}
.aside h2 {
  font-size: 22px;
}
.aside ol {
  margin: 14px 0 0;
  padding-inline-start: 22px;
  color: var(--muted);
}
.aside li {
  margin-top: 10px;
}
.aside .direct {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.aside .direct a {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  font-weight: 500;
}

/* ---------- footer ---------- */
footer {
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 15px;
  border-top: 1px solid var(--line);
}
footer .bar {
  min-height: 0;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
footer .legal {
  margin-top: 18px;
}

@media (max-width: 960px) {
  nav.links a:not(.btn) {
    display: none;
  }
  .cards,
  .steps,
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .roles {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature,
  .split,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature {
    margin-top: 64px;
  }
  .feature.flip .text {
    order: 0;
  }
  section {
    padding: 72px 0;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  .cards,
  .steps,
  .grid4,
  .roles,
  .fields {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 56px;
  }
  .cta-band {
    padding: 44px 20px;
  }
  form.lead {
    padding: 22px 18px;
  }
  .btn {
    width: 100%;
  }
  nav.links .btn {
    width: auto;
  }
}

/* ---------- phone menu (no script needed) ---------- */
details.menu {
  display: none;
  border: 0;
  padding: 0;
  position: relative;
}
details.menu summary {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 15px;
  font-weight: 500;
  align-items: center;
}
details.menu summary::after {
  content: none;
}
details.menu nav {
  position: absolute;
  inset-inline-end: 0;
  top: 52px;
  z-index: 30;
  min-width: 230px;
  display: grid;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 40px -20px rgba(20, 24, 31, 0.35);
}
details.menu nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  text-decoration: none;
}
details.menu nav a:hover {
  background: var(--sunken);
}
.bar .actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- richer content blocks ---------- */
.tagline {
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 500;
  color: var(--brand);
  margin: 18px auto 0;
  max-width: 30ch;
  line-height: 1.3;
}
.more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 28px;
  color: var(--brand);
  font-weight: 500;
}
.center {
  text-align: center;
}
.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
a.audience {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 0.15s;
}
a.audience:hover {
  border-color: var(--brand);
}
.audience h3 {
  font-size: 19px;
}
.audience p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
.crumbs {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a {
  color: var(--muted);
}
.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.module {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  scroll-margin-top: 96px;
}
.module h2 {
  font-size: 24px;
}
.module > p {
  margin-top: 10px;
  color: var(--muted);
}
.module ul {
  margin: 14px 0 0;
  padding-inline-start: 20px;
  display: grid;
  gap: 8px;
  font-size: 16px;
}
.wide-shot {
  margin-top: 48px;
}
.solution {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 40px;
  scroll-margin-top: 96px;
}
.solution h2 {
  font-size: 26px;
}
.solution p {
  color: var(--muted);
}
.solution p + p,
.solution ul {
  margin-top: 12px;
}
.solution ul {
  padding-inline-start: 20px;
  display: grid;
  gap: 6px;
}
.faq-group {
  margin-top: 56px;
}
.faq-group h2 {
  font-size: 26px;
}
dl.glossary {
  margin: 40px 0 0;
  max-width: 76ch;
}
dl.glossary dt {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  scroll-margin-top: 96px;
}
dl.glossary dd {
  margin: 8px 0 0;
  color: var(--muted);
}
dl.glossary dd + dd {
  margin-top: 8px;
}
.formula {
  display: block;
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--sunken);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 960px) {
  details.menu {
    display: block;
  }
  .audiences,
  .modules {
    grid-template-columns: 1fr 1fr;
  }
  .solution {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 560px) {
  .audiences,
  .modules {
    grid-template-columns: 1fr;
  }
}

/* ---------- accessibility menu ---------- */
.a11y-toggle {
  position: fixed;
  inset-inline-end: 16px;
  bottom: 16px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.a11y-toggle svg {
  width: 30px;
  height: 30px;
}
.a11y-panel {
  position: fixed;
  inset-inline-end: 16px;
  bottom: 84px;
  z-index: 60;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  background: #fff;
  color: #14181f;
  border: 2px solid #14181f;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  font: 400 16px/1.5 var(--sans);
}
.a11y-panel h2 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
}
.a11y-panel .a11y-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.a11y-panel button {
  min-height: 48px;
  padding: 6px 10px;
  border: 1px solid #5c564b;
  border-radius: 12px;
  background: #fff;
  color: #14181f;
  font: 500 15px var(--sans);
  cursor: pointer;
}
.a11y-panel button[aria-pressed='true'] {
  background: #14181f;
  color: #fff;
  border-color: #14181f;
}
.a11y-panel .a11y-wide {
  grid-column: 1 / -1;
}
.a11y-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: #0b4fa8;
}

/* What the menu switches on. The classes sit on <html>. */
html.a11y-text-1 body {
  zoom: 1.15;
}
html.a11y-text-2 body {
  zoom: 1.3;
}
html.a11y-text-3 body {
  zoom: 1.5;
}
html.a11y-contrast {
  --ink: #000;
  --muted: #000;
  --paper: #fff;
  --card: #fff;
  --sunken: #fff;
  --line: #000;
  --field-line: #000;
  --brand: #000;
  --brand-hover: #000;
  --brand-soft: #fff;
  --brass: #000;
  --brass-text: #000;
  --night: #000;
  --night-ink: #fff;
  --night-muted: #fff;
}
html.a11y-contrast header {
  background: #fff;
}
html.a11y-contrast .cta-band,
html.a11y-contrast .dark {
  background: #000;
}
html.a11y-contrast .cta-band p,
html.a11y-contrast .role h3,
html.a11y-contrast .dark .eyebrow {
  color: #fff;
}
html.a11y-contrast .role {
  background: #000;
  border-color: #fff;
}
html.a11y-contrast .logo .mark {
  color: #fff;
}
html.a11y-gray {
  filter: grayscale(1);
}
html.a11y-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
html.a11y-font body,
html.a11y-font h1,
html.a11y-font h2,
html.a11y-font h3,
html.a11y-font .tagline,
html.a11y-font .logo .name,
html.a11y-font button,
html.a11y-font input,
html.a11y-font select,
html.a11y-font textarea {
  font-family: Arial, 'Segoe UI', sans-serif !important;
  letter-spacing: 0.01em;
}
html.a11y-still *,
html.a11y-still *::before,
html.a11y-still *::after {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}

/* ---------- phone header: logo, one action, menu - on one row, on the narrowest phone ---------- */
details.menu:not([open]) nav {
  display: none;
}
@media (max-width: 560px) {
  .bar {
    gap: 10px;
    min-height: 64px;
  }
  .logo {
    gap: 8px;
    min-width: 0;
  }
  .logo .mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
    flex: none;
  }
  .logo .name {
    font-size: 19px;
  }
  nav.links {
    gap: 0;
    margin-inline-start: auto;
  }
  nav.links .btn.small {
    padding: 0 12px;
    font-size: 14px;
  }
  /* The menu button shows the three-bar sign; its word stays for screen readers. */
  details.menu summary {
    width: 44px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  footer .logo {
    margin-bottom: 8px;
  }
}

/* ---------- comfortable tap targets ---------- */
.logo {
  min-height: 44px;
}
details {
  padding: 10px 0;
}
summary {
  min-height: 48px;
  align-items: center;
}
details p {
  margin: 4px 0 12px;
}
.aside .direct a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2px;
}
.prose a,
.note a,
.crumbs a,
.consent a {
  padding-block: 2px;
}

/* ---------- headings in Heebo: heavier and a little tighter, so they still carry the page ---------- */
h1,
h2,
h3,
.logo .name {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.card h3,
.step h3,
.role h3,
.audience h3,
.module h2,
.solution h2,
dl.glossary dt {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tagline {
  font-weight: 500;
  letter-spacing: -0.01em;
}
.signin-note {
  margin-top: 18px;
  font-size: 15.5px;
  color: var(--muted);
}
.signin-note a {
  color: var(--brand);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* On a phone the header keeps one button; signing in is in the menu and under the headline. */
@media (max-width: 560px) {
  nav.links a[data-href='appUrl'] {
    display: none;
  }
}

/* ---------- the logo and the slogan under the name ---------- */
.logo .mark {
  width: 40px;
  height: 40px;
  background: none;
  border-radius: 0;
  display: block;
  flex: none;
}
.logo .brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.logo .slogan {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .logo .mark {
    width: 36px;
    height: 36px;
  }
}

/* ---------- inner pages: the closing band stands apart from what is above it ---------- */
main.page section.tight {
  padding: 72px 0 0;
}
/* A screenshot shows the top of a longer screen: it fades out instead of ending mid-line. */
.shot {
  position: relative;
}
.shot::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 72px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--card));
  pointer-events: none;
}
@media (max-width: 560px) {
  main.page section.tight {
    padding-top: 48px;
  }
  .shot::after {
    height: 36px;
  }
  /* The accessibility button: a size that stays out of the way on a phone, and room for it at the end of the page. */
  .a11y-toggle {
    width: 46px;
    height: 46px;
    inset-inline-end: 10px;
    bottom: 10px;
  }
  .a11y-toggle svg {
    width: 26px;
    height: 26px;
  }
  .a11y-panel {
    bottom: 66px;
    inset-inline-end: 10px;
  }
  footer {
    padding-bottom: 76px;
  }
}

/* The narrowest phones: logo and menu only. Leaving details stays one tap away in the menu. */
@media (max-width: 380px) {
  nav.links {
    display: none;
  }
}

.center {
  margin-top: 36px;
}

/* ---------- the opening of the home page ---------- */
.hero-band {
  background:
    radial-gradient(1100px 620px at 88% -10%, rgba(201, 166, 107, 0.2), transparent 60%),
    radial-gradient(900px 620px at 8% 110%, rgba(15, 61, 52, 0.85), transparent 65%),
    var(--night);
  color: var(--night-ink);
  overflow: hidden;
}
.hero-band .hero {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 84px;
  text-align: start;
}
.hero-band .kicker {
  display: block;
  margin-bottom: 16px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #d9bd8a;
}
.hero-band h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.12;
  color: #fff;
}
.hero-band .tagline {
  margin-top: 18px;
  color: #d9bd8a;
}
.hero-band p.lead {
  margin: 18px 0 0;
  max-width: 54ch;
  color: #d6d2c8;
}
.hero-band .cta {
  justify-content: flex-start;
}
.btn.gold {
  background: linear-gradient(180deg, #d8b97f, #c3a064);
  border-color: #c3a064;
  color: #171309;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  padding-block: 10px;
}
.btn.gold:hover {
  background: linear-gradient(180deg, #e2c68f, #cdab70);
  border-color: #cdab70;
}
.btn.ghost {
  background: transparent;
  border-color: rgba(242, 239, 232, 0.4);
  color: #fff;
  white-space: normal;
  text-align: center;
  padding-block: 10px;
}
.btn.ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: #d6d2c8;
}
.pills li {
  padding: 5px 14px;
  border: 1px solid rgba(242, 239, 232, 0.2);
  border-radius: 999px;
}
.hero-band .signin-note,
.hero-band .signin-note a {
  color: #d6d2c8;
}
.hero-band .signin-note {
  margin-top: 18px;
  text-align: start;
}
.hero-visual {
  position: relative;
  padding-bottom: 36px;
}
.hero-visual .main-shot {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
}
.float-phone {
  position: absolute;
  inset-inline-start: -26px;
  bottom: 0;
  width: 25%;
  border-radius: 20px;
  border: 5px solid #0a0d11;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

/* ---------- calculators ---------- */
.calc-section {
  padding-top: 88px;
  padding-bottom: 88px;
}
.center-head {
  margin-inline: auto;
  text-align: center;
}
.calc {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 30px 70px -40px rgba(20, 24, 31, 0.4);
}
.calc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 34px;
  align-content: center;
}
.calc-fields label {
  display: grid;
  gap: 8px;
  align-content: end;
  font-size: 15.5px;
  font-weight: 500;
}
.calc-fields input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: 700 21px var(--sans);
  direction: ltr;
  text-align: end;
}
.calc-fields input:focus {
  border-color: var(--brand);
  background: #fff;
}
.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 34px;
  background:
    radial-gradient(420px 300px at 90% 0%, rgba(201, 166, 107, 0.22), transparent 70%),
    var(--night);
  color: var(--night-ink);
}
.calc-label {
  font-size: 15.5px;
  color: #d9bd8a;
  font-weight: 500;
}
.calc-big {
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc-big span {
  direction: ltr;
  unicode-bidi: isolate;
}
.calc-line {
  font-size: 16px;
  color: #d6d2c8;
}
.calc-line strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc-result .btn {
  margin-top: 16px;
}
.calc-more {
  margin-top: 22px;
}
main.page .calc {
  margin-top: 28px;
}

/* ---------- learning and saving: picture beside text ---------- */
.feature-big {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.feature-big.flip .text {
  order: 2;
}
.feature-big h2 {
  margin-top: 10px;
  font-size: clamp(28px, 3.4vw, 40px);
}
.feature-big .sub {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}
.timeline {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.timeline li {
  position: relative;
  padding-block: 0 18px;
  padding-inline-start: 24px;
  border-inline-start: 2px solid var(--brass);
  color: var(--muted);
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li::before {
  content: '';
  position: absolute;
  inset-inline-start: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
}
.timeline strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}
.checks {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-inline-start: 30px;
}
.checks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 7px;
  width: 15px;
  height: 8px;
  border-inline-start: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg) scaleX(-1);
}

/* ---------- the phone menu ---------- */
details.menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-height: 44px;
  height: 44px;
  padding: 0 16px 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
details.menu summary::-webkit-details-marker {
  display: none;
}
details.menu summary::before,
details.menu summary::after {
  content: none;
}
details.menu .bars {
  position: relative;
  display: block;
  width: 18px;
  height: 10px;
}
details.menu .bars::before,
details.menu .bars::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: 2px;
  background: #d9bd8a;
  transition: transform 0.2s, top 0.2s;
}
details.menu .bars::before {
  top: 0;
}
details.menu .bars::after {
  top: 8px;
}
details.menu[open] .bars::before {
  top: 4px;
  transform: rotate(45deg);
}
details.menu[open] .bars::after {
  top: 4px;
  transform: rotate(-45deg);
}
details.menu nav {
  position: fixed;
  inset-inline: 12px;
  top: 72px;
  min-width: 0;
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(20, 24, 31, 0.45);
}
details.menu nav a:not(.btn) {
  min-height: 52px;
  padding: 0 16px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
details.menu nav a:not(.btn):hover {
  background: var(--sunken);
}
.menu-actions {
  display: grid;
  gap: 8px;
  padding: 14px 6px 6px;
}
details.menu nav a.btn {
  width: 100%;
  justify-content: center;
  min-height: 50px;
}
details.menu nav a.btn.primary {
  color: #fff;
}

@media (max-width: 560px) {
  nav.links {
    display: none;
  }
}
@media (max-width: 960px) {
  .hero-band .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .feature-big {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .float-phone {
    inset-inline-start: 12px;
    width: 22%;
  }
  .feature-big.flip .text {
    order: 0;
  }
  .calc {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .hero-band h1 {
    font-size: clamp(34px, 9.4vw, 44px);
  }
  .hero-band .cta .btn {
    width: 100%;
  }
  .hero-visual {
    max-width: 300px;
    margin-inline: auto;
    padding-bottom: 0;
  }
  .hero-visual .main-shot {
    border: 6px solid #0a0d11;
    border-radius: 30px;
  }
  .float-phone {
    display: none;
  }
  .calc-fields {
    gap: 16px;
    padding: 22px;
  }
  .calc-result {
    padding: 26px 22px;
  }
  .calc-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
@media (max-width: 420px) {
  .calc-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
html.a11y-contrast .hero-band,
html.a11y-contrast .calc-result {
  background: #000;
}
html.a11y-contrast .btn.gold {
  background: #fff;
  border-color: #fff;
  color: #000;
}

/* A letter and the word it belongs to stay on one line. */
.nb {
  white-space: nowrap;
}

/* The optional extras: real cards at their real height, so nothing in a photo is cut. */
.extras-head {
  align-items: center;
}
.extras-head .phone {
  max-width: 300px;
}
.extras {
  columns: 3;
  column-gap: 18px;
  margin-top: 48px;
}
.extra {
  break-inside: avoid;
  margin: 0 0 18px;
  background: var(--sunken);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
}
.extra img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.extra figcaption {
  padding: 16px 8px 8px;
}
.extra h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
}
.extra p {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 960px) {
  .extras {
    columns: 2;
  }
}
@media (max-width: 620px) {
  .extras {
    columns: 1;
  }
}

/* The capabilities page: the screens, then every extra. */
.page-gallery {
  margin-top: 56px;
}
.page-gallery .sub {
  margin-top: 10px;
  color: var(--muted);
}
.page-gallery .extras {
  margin-top: 28px;
}
.screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.screens figure {
  margin: 0;
}
.screens figcaption {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--muted);
}
.screens figcaption strong {
  color: var(--ink);
}
@media (max-width: 620px) {
  .screens {
    grid-template-columns: 1fr;
  }
}

/* Hebrew reads from the right: the menu starts there, and the logo closes the row on the left. */
.bar > nav.links {
  margin-inline-start: 0;
  margin-inline-end: auto;
}
.bar > .logo {
  flex: none;
}

/* A document as photographed, and what it was read as. */
.scan-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.scan-pair figure {
  margin: 0;
}
.scan-pair figcaption {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 620px) {
  .scan-pair {
    grid-template-columns: 1fr;
  }
}
