/*
 * dougri.com. The visual system is in ../DESIGN.md; the product's values come from
 * docs/product/design-system/tokens.md, copied as plain CSS so this static site needs no build step.
 * Every layout rule uses logical properties: the Hebrew page (dir="rtl") is the reference and the
 * English page mirrors it.
 */

/* ---------- Fonts: Dougri Sans, Hebrew and Latin subsets ---------- */

@font-face {
  font-family: 'Dougri Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dougri-sans-hebrew-400.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: 'Dougri Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dougri-sans-hebrew-600.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: 'Dougri Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dougri-sans-hebrew-700.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: 'Dougri Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dougri-sans-latin-400.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;
}
@font-face {
  font-family: 'Dougri Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dougri-sans-latin-600.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;
}
@font-face {
  font-family: 'Dougri Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dougri-sans-latin-700.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;
}

/* ---------- Tokens ---------- */

:root {
  --plum: #5e2a4e;
  --plum-deep: #4b1c3d;
  --plum-tint: #e7d2df;
  --plum-subtle: #f4e9f0;
  --saffron: #e8b04a;
  --saffron-deep: #d99a2b;
  --sand: #efe4d2;
  --saffron-wash: rgba(232, 176, 74, 0.16);
  --draft-fill: #fdf6e7;
  --stone-100: #f5f5f4;
  --draw: cubic-bezier(0.33, 0, 0.2, 1);
  --ink: #1c1917;
  --ink-secondary: #57534e;
  --ink-muted: #78716c;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;
  --page: #fafaf9;
  --surface: #ffffff;
  --danger: #9f282c;
  --danger-subtle: #fef2f2;
  --success: #047857;
  --success-subtle: #ecfdf5;

  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
  --max: 72rem;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-frame: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* The symbol's height in the header lockup. */
  --symbol: 1.75rem;

  /* The highlighter's ragged ends: a mask, so the stroke takes any colour. */
  --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 9 C2 14 5 18 2 23 C4 28 1 32 6 36 L194 37 C198 33 195 28 199 24 C196 19 199 13 195 8 C197 5 193 4 190 3 L9 4 C6 4 5 6 4 9 Z'/%3E%3C/svg%3E");
  --stroke-saffron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath fill='%23e8b04a' d='M4 9 C2 14 5 18 2 23 C4 28 1 32 6 36 L194 37 C198 33 195 28 199 24 C196 19 199 13 195 8 C197 5 193 4 190 3 L9 4 C6 4 5 6 4 9 Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: 'Dougri Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--page);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

a {
  color: var(--plum);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}
.on-plum :focus-visible {
  outline-color: var(--saffron);
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--page);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}
.skip-link:focus {
  top: 1rem;
}

/* Latin inside Hebrew text, and Hebrew inside English: keep each run in its own direction. */
bdi,
.ltr {
  unicode-bidi: isolate;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--plum);
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease-out;
}
@media (hover: hover) {
  .button:hover {
    background: var(--plum-deep);
  }
}
.on-plum .button {
  background: var(--saffron);
  color: var(--ink);
}
@media (hover: hover) {
  .on-plum .button:hover {
    background: var(--saffron-deep);
  }
}
.button--small {
  min-height: 2.75rem;
  white-space: nowrap;
  padding: 0 1rem;
  font-size: 0.9375rem;
}
.button[disabled],
.button[aria-disabled='true'] {
  cursor: progress;
  background: var(--line);
  color: var(--ink-secondary);
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding-inline: 0.25rem;
  font-weight: 600;
  color: inherit;
}
.on-plum .link-quiet {
  color: #fff;
}

/* ---------- The highlighter ---------- */

/* A saffron stroke under a word. Visible by default; site.js only animates it in. The stroke is the
   element's own background, and the element is inline with cloned fragments: a phrase that wraps
   gets one stroke per line, and the "?" or "." after it stays on the line of its last word. (An
   inline block drew one stroke over the whole wrapped phrase and let the "?" fall to a line of its
   own.) The stroke sits from 0.12em below the top of the line to 0.02em above its bottom, as it did
   on the inline block; a background is placed in the font's content area (1.307em tall for Dougri
   Sans, centred on the line), hence the offset. */
.hl {
  --hl-height: calc(1lh - 0.14em);
  --hl-top: calc((1.307em - 1lh) / 2 + 0.12em);
  padding-inline: 0.16em;
  margin-inline: -0.1em;
  color: var(--ink);
  background-image: var(--stroke-saffron);
  background-repeat: no-repeat;
  background-size: 100% var(--hl-height);
  background-position: left 0 top var(--hl-top);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
[dir='rtl'] .hl {
  background-position: right 0 top var(--hl-top);
}

/* On a product screen the highlighter becomes a ring with a light saffron wash: a stroke laid over
   the image would muddy the very status colours it points at. Coordinates are physical (the image
   is not mirrored), set inline as percentages of the screen. */
.mark {
  position: absolute;
  border: 3px solid var(--saffron);
  border-radius: var(--radius-control);
  background: var(--saffron-wash);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 6px 16px -6px rgba(28, 25, 23, 0.35);
  pointer-events: none;
}

/* The one authored motion. A stroke is revealed from the inline start (right in Hebrew, left in
   English) by clip-path, so its ragged ends keep their shape as it draws: the word's stroke when the
   word reaches the upper two-thirds of the screen, a screen's ring when the screen does (site.js
   sets .is-drawn after the element has stayed in view for 150 ms, so a jump past a band draws
   nothing). 520 ms on a curve with a steady middle and a soft landing. Without JavaScript, with a
   reduced-motion preference, or with "Stop animations" in the accessibility menu, both are drawn. */
@media (prefers-reduced-motion: no-preference) {
  .js .frame:not(.is-drawn) .mark {
    clip-path: inset(-12px -12px -12px 100%);
  }
  [dir='ltr'].js .frame:not(.is-drawn) .mark {
    clip-path: inset(-12px 100% -12px -12px);
  }
  .js .frame .mark {
    clip-path: inset(-12px -12px -12px -12px);
    transition: clip-path 520ms var(--draw);
  }
  /* The stroke grows from the inline start of each line of the phrase. */
  .js .hl:not(.is-drawn) {
    background-size: 0% var(--hl-height);
  }
  .js .hl {
    transition: background-size 520ms var(--draw);
  }
  .js .frame.is-late .mark {
    transition-delay: 250ms;
  }
  /* On plum, the word stays white until its stroke is under it, then turns ink. */
  .js .on-plum .hl:not(.is-drawn) {
    color: #fff;
  }
  .js .on-plum .hl {
    transition: background-size 520ms var(--draw), color 120ms ease 100ms;
  }
}

/* ---------- Header ---------- */

.on-plum {
  background: var(--plum);
  color: #fff;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
}
.site-header .home {
  display: inline-flex;
  margin-inline-end: auto;
  padding-block: 0.5rem;
}
.lockup {
  height: var(--symbol);
  width: auto;
}
.lockup--latin {
  height: calc(var(--symbol) * 931 / 702);
  margin-bottom: calc(var(--symbol) * -213 / 702);
}

.site-nav {
  display: none;
}
.site-nav ul {
  display: flex;
  gap: 0.25rem;
}
.site-nav a,
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: var(--radius-control);
  color: var(--plum-tint);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover,
.header-link:hover {
  color: #fff;
  background: var(--plum-deep);
}
.header-link--lang,
.site-nav .nav-wide {
  display: none;
}
@media (min-width: 40rem) {
  .header-link--lang {
    display: inline-flex;
  }
  .site-nav {
    display: block;
  }
}
@media (min-width: 64rem) {
  .site-nav .nav-wide {
    display: list-item;
  }
}
.site-nav li {
  list-style: none;
}

/* The header of the inner (legal) pages sits on the page ground. */
.site-header--light .header-link {
  color: var(--ink-secondary);
}
.site-header--light .header-link:hover {
  color: var(--ink);
  background: var(--stone-100);
}

/* ---------- Hero ---------- */

.hero {
  padding-bottom: 0;
  overflow: hidden;
}
.hero__body {
  padding-block: clamp(2.5rem, 1rem + 6vw, 6rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  max-width: 46rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);
  line-height: 1.02;
  font-weight: 700;
  text-wrap: balance;
}
[dir='ltr'] .hero h1 {
  letter-spacing: -0.02em;
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 34em;
  font-size: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  line-height: 1.5;
  color: var(--plum-tint);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

/* The first screen rises out of the plum field and is cut by the section below. */
.hero__screen {
  position: relative;
  max-width: 21rem;
  margin-inline: auto;
  margin-bottom: -1px;
}
.hero__screen .frame {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
  box-shadow: 0 -2px 0 rgba(28, 25, 23, 0.04), 0 24px 48px -12px rgba(28, 25, 23, 0.45);
  overflow: hidden;
}

/* ---------- Product screens ---------- */

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-frame);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.06), 0 18px 40px -18px rgba(28, 25, 23, 0.28);
}
.frame img {
  width: 100%;
  height: auto;
}
.screen figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-muted);
}


/* A screen with a phone version shows one or the other: a desktop screen at phone width is too
   small to read, so a phone gets its own crop (whole columns) or the app's own phone layout. Lazy
   images inside a hidden .shot are not downloaded. */
.shot {
  position: relative;
}
.shot--phone,
.cap--phone {
  display: none;
}
@media (max-width: 59.99rem) {
  .shot--desk,
  .cap--desk {
    display: none;
  }
  .shot--phone {
    display: block;
  }
  /* A caption that describes the desktop screen gives way to one for the phone screen. */
  .cap--phone {
    display: inline;
  }
  /* A phone screen stays phone-sized on a tablet or a phone held sideways, centred, instead of
     being blown up to the full width (blurry, and a phone the size of the page). */
  .qa .screen {
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
}
.section + .section {
  padding-top: 0;
}
.on-sand + .section {
  padding-top: var(--section);
}
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-head h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}
[dir='ltr'] .section-head h2 {
  letter-spacing: -0.015em;
}
.section-head p {
  margin-top: 1rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  text-wrap: pretty;
}

/* Single-column grids may never grow wider than the screen, whatever the font or text size. */
.qa,
.plans,
.pricing-more,
.demo__grid {
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- Question bands ---------- */

/* ---------- Who it is for ---------- */
.forwho {
  padding-top: var(--section);
}
.forwho h2 {
  max-width: 44rem;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}
.forwho__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 2rem;
  max-width: 64rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.forwho__list li {
  padding-block: 0.25rem;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--plum);
  font-size: 1.1875rem;
  line-height: 1.45;
  text-wrap: pretty;
}
@media (min-width: 40rem) {
  .forwho__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.forwho__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-top: 1.75rem;
}
.forwho__links a {
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--plum);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.answers {
  padding-top: var(--section);
}
.qa {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.qa + .qa {
  margin-top: clamp(5rem, 3rem + 7vw, 10rem);
}
.qa__question {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
}
[dir='ltr'] .qa__question {
  letter-spacing: -0.02em;
}
.qa__answer {
  margin-top: 1.25rem;
  max-width: 32em;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  text-wrap: pretty;
}
.qa__answer strong {
  color: var(--ink);
  font-weight: 600;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.facts {
  gap: 0.375rem 1.25rem;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink-secondary);
}
.facts li::before {
  content: '';
  flex: none;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--plum);
}

@media (min-width: 60rem) {
  .qa {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2.5rem, 1rem + 3vw, 4.5rem);
  }
  .qa:nth-of-type(even) {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
  .qa:nth-of-type(even) .qa__text {
    order: 2;
  }
}

/* ---------- Pricing (on sand) ---------- */

.on-sand {
  background: var(--sand);
}
.on-sand .section-head p {
  color: var(--ink-secondary);
}
.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.06);
}
.plan h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}
.plan__for {
  margin-top: 0.25rem;
  color: var(--ink-secondary);
}
.plan__price {
  margin-top: 1.25rem;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.plan__price--text {
  font-size: 1.25rem;
  line-height: 1.4;
}
.plan__price small {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-secondary);
}
.plan ul {
  margin-top: 1.25rem;
  flex: 1;
}
.plan li {
  position: relative;
  padding-block: 0.5rem;
  padding-inline-start: 1.5rem;
  border-top: 1px solid var(--line);
}
.plan li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.95rem;
  width: 0.875rem;
  height: 0.875rem;
  background: var(--plum);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan .button {
  margin-top: 1.5rem;
}
.plan__amount {
  font-size: 2.25rem;
}
.plan__sub {
  margin-top: 0.375rem;
  text-wrap: pretty;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  font-variant-numeric: tabular-nums;
}
.plan__bundle {
  font-weight: 600;
  color: var(--ink);
}
.plan__extras {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
/* Users and onboarding: each label above its value, so a long value never breaks off on its own. */
.plan__extras div {
  padding-block: 0.25rem;
}
.plan__extras dt {
  font-size: 0.875rem;
  color: var(--ink-secondary);
}
.plan__extras dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}
/* The video section (facts.json "videos"); it does not exist while the list is empty. */
.videos__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 52rem) {
  .videos__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  background: var(--ink);
}
.video figcaption {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}

/* The promo under the hero buttons: a white band that cannot be missed, set by facts.json "promo". */
.promo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: #fff;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--plum-deep);
  text-wrap: balance;
}
.promo-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: var(--plum);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.promo-strip a:hover {
  background: var(--plum-deep);
}
.promo-strip[hidden],
[data-promo-after][hidden] {
  display: none;
}

/* The setup list price struck through, with the promo beside it. */
.plan__extras s {
  font-weight: 400;
  opacity: 0.7;
  text-decoration-thickness: 1px;
}

/* How pricing works: three parts, side by side from tablet width. */
.price-parts {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}
.price-parts div {
  padding-top: 0.75rem;
  border-top: 2px solid var(--plum);
}
.price-parts dt {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}
.price-parts dd {
  margin: 0.375rem 0 0;
  color: var(--ink-secondary);
}
@media (min-width: 52rem) {
  .price-parts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 0.5rem + 2vw, 3rem);
  }
}

/* Onboarding, sessions, add-on modules and billing terms, under the plans. */
.pricing-more {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.pricing-more h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}
.pricing-more h3:not(:first-child) {
  margin-top: 2rem;
}
.pricing-more p {
  margin-top: 0.5rem;
  max-width: 36em;
  color: var(--ink-secondary);
}
.addons {
  margin-top: 1rem;
}
.addons li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.125rem 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line-strong);
}
.addons li:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.addon__name {
  font-weight: 700;
}
.addon__price {
  grid-row: 1;
  grid-column: 2;
  font-weight: 600;
  color: var(--plum);
  white-space: nowrap;
}
.addon__what {
  grid-column: 1 / -1;
  color: var(--ink-secondary);
}
.terms {
  margin: 0.75rem 0 0;
}
.terms div {
  padding-block: 0.5rem;
  border-top: 1px solid var(--line-strong);
}
.terms dt {
  display: inline;
  font-weight: 600;
}
.terms dt::after {
  content: ': ';
}
.terms dd {
  display: inline;
  margin: 0;
  color: var(--ink-secondary);
}
@media (min-width: 60rem) {
  .pricing-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}

.plans-note {
  margin-top: 1.5rem;
  color: var(--ink-secondary);
}
/* A value the product owner has not set yet. The check script refuses to pass a production build
   that still contains one (tools/landing/check.mjs). */
.tbd {
  outline: 2px dashed var(--saffron-deep);
  outline-offset: 2px;
}
/* A plan card's seven parts: head, who it is for, price, what the price covers, list, users and
   onboarding, button. */
.plan__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.plan__badge {
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 700;
}

/* The recommended plan sits on plum (white type, saffron button, the highlighter on its label). */
.plan--featured {
  position: relative;
  isolation: isolate;
  box-shadow: none;
}
.plan--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-card);
  background: var(--plum);
  box-shadow: 0 20px 40px -20px rgba(28, 25, 23, 0.55);
}
.plan--featured .plan__for,
.plan--featured .plan__sub,
.plan--featured .plan__price small,
.plan--featured .plan__extras dt {
  color: var(--plum-tint);
}
.plan--featured li,
.plan--featured .plan__extras {
  border-top-color: rgba(255, 255, 255, 0.24);
}
.plan--featured li::before {
  background: #fff;
}
.plan--featured .plan__bundle {
  color: #fff;
}

@media (min-width: 52rem) {
  /* The cards share their rows, so each price, list, fee and button sits beside its counterpart
     whatever the length of the text above it: two by two on a tablet, four in a row from 70rem. */
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(7, auto) 2.5rem repeat(7, auto);
    row-gap: 0;
    align-items: start;
  }
  .plan:nth-child(n + 3) {
    grid-row: 9 / span 7;
  }
  .plan {
    display: grid;
    grid-row: span 7;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .plan .button {
    align-self: end;
  }
  /* The recommended card stands taller than its neighbours without moving their rows. */
  .plan--featured::before {
    inset-block: -1rem;
  }
  .plans-note {
    margin-top: 2.5rem;
  }
}
@media (min-width: 70rem) {
  .plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(7, auto);
  }
  .plan:nth-child(n + 3) {
    grid-row: span 7;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 48rem;
  border-top: 1px solid var(--line-strong);
}
/* Heading, questions, then "ask us"; from 60rem the heading and "ask us" share the first column. */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.faq-ask {
  margin-top: 2.5rem;
}
.faq-ask__title {
  font-size: 1.1875rem;
  line-height: 1.5;
  font-weight: 600;
}
.faq-ask__contact {
  margin-top: 0.5rem;
  color: var(--ink-secondary);
}
.faq-ask__contact li + li {
  margin-top: 0.25rem;
}
.faq-ask__contact a {
  display: inline-block;
  padding-block: 0.25rem;
}
.faq-ask .button {
  margin-top: 1.25rem;
}
@media (min-width: 60rem) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(3rem, 1rem + 4vw, 6rem);
  }
  .faq-head {
    grid-column: 1;
    grid-row: 1;
  }
  .faq-ask {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
    align-self: start;
  }
  .faq {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: none;
  }
}
.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  position: relative;
  display: block;
  padding-block: 1.25rem;
  padding-inline-end: 2.5rem;
  font-size: 1.1875rem;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  inset-inline-end: 0.5rem;
  top: 50%;
  width: 0.875rem;
  height: 2px;
  background: var(--plum);
  transition: transform 200ms var(--ease-out);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq summary:hover {
  color: var(--plum);
}
.faq details > div {
  padding-bottom: 1.5rem;
  max-width: 40em;
  color: var(--ink-secondary);
}
.faq details > div p + p {
  margin-top: 0.75rem;
}

/* ---------- Demo request (on plum) ---------- */

.demo {
  padding-block: var(--section);
}
.demo__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.demo h2 {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.75rem);
  line-height: 1.05;
  font-weight: 700;
  text-wrap: balance;
}
[dir='ltr'] .demo h2 {
  letter-spacing: -0.02em;
}
.demo__lead {
  margin-top: 1.25rem;
  max-width: 30em;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--plum-tint);
}
.demo__alt {
  margin-top: 1.5rem;
  color: var(--plum-tint);
}
.demo__alt a,
.demo__lead a {
  color: #fff;
}
@media (min-width: 60rem) {
  .demo__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4rem;
  }
}

.form-card {
  padding: clamp(1.25rem, 0.75rem + 2vw, 2rem);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.35);
}
.form-card :focus-visible {
  outline-color: var(--plum);
}
.form-card .button {
  background: var(--plum);
  color: #fff;
}
.form-card .button:hover {
  background: var(--plum-deep);
}
.form-card .button[disabled] {
  background: var(--line);
  color: var(--ink-secondary);
}
.fields {
  display: grid;
  gap: 0.375rem 1.25rem;
}
@media (min-width: 36rem) {
  .fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field--wide {
    grid-column: 1 / -1;
  }
}
.field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.field .optional {
  font-weight: 400;
  color: var(--ink-muted);
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--ink-muted);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-color: var(--plum);
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--danger);
}
/* Phone numbers and e-mail addresses read left to right, also in the Hebrew form. */
.field input[type='tel'],
.field input[type='email'] {
  direction: ltr;
}
[dir='rtl'] .field input[type='tel'],
[dir='rtl'] .field input[type='email'] {
  text-align: right;
}
.field__error {
  unicode-bidi: plaintext;
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--danger);
}
.field__error {
  min-height: 1.4em;
}
.hp {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.form-legal a {
  white-space: nowrap;
}
.form-legal {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}
.form-status {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-control);
  font-weight: 600;
}
.form-status:empty {
  display: none;
}
.form-status--error {
  background: var(--danger-subtle);
  color: var(--danger);
}
.form-card.is-done {
  display: grid;
  align-content: center;
  text-align: center;
}
.form-done h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
}
.form-done p {
  margin-top: 0.75rem;
  color: var(--ink-secondary);
}
.form-done:focus {
  outline: none;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 3rem 2.5rem;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  align-items: start;
  gap: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.site-footer__certs {
  margin-top: 0.75rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}
.endorsement {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink-secondary);
}
.endorsement img {
  width: 1.5rem;
  height: auto;
}
.site-footer .endorsement a {
  min-height: 0;
  padding-block: 0.125rem;
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-footer a,
.site-footer .link-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-secondary);
}
.site-footer .link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.site-footer a:hover,
.site-footer .link-button:hover {
  color: var(--ink);
}
.copyright {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* ---------- Content pages (generated by tools/landing/build-pages.mjs) ---------- */

.page-intro {
  padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.page-intro h1,
.page--article h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}
[dir='ltr'] .page-intro h1 {
  letter-spacing: -0.02em;
}
.page-intro .doc__meta {
  margin-top: 0.75rem;
  color: var(--ink-muted);
}
.page-intro__lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  text-wrap: pretty;
}
.page-cta {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.page-cta h2 {
  max-width: 24ch;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}
.page-cta p {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--plum-tint);
}
.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
}
.doc table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.doc th,
.doc td {
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.doc th {
  color: var(--ink);
  font-weight: 600;
}
.doc td {
  color: var(--ink-secondary);
}
.table-scroll {
  overflow-x: auto;
}
/* The body of a solutions page follows its intro directly, and may carry numbered steps and a
   product screen. Guides use numbered steps too, with lists nested inside a step. */
.page-intro + .page-body {
  padding-top: 0;
}
.page-body + .section {
  padding-top: 0;
}
.doc ol {
  margin-top: 0.875rem;
  padding-inline-start: 1.5rem;
  color: var(--ink-secondary);
}
.doc li > ul {
  margin-top: 0.375rem;
}
.doc h2 a {
  color: inherit;
}
/* The guides hub: the list follows the intro without a second top gap. */
.page-intro + .doc {
  padding-block-start: 0;
}
.page-intro + .doc h2:first-child {
  margin-top: 0;
}
.doc li > strong {
  color: var(--ink);
}
.page-screen {
  margin-top: 2.5rem;
}
/* Below 60rem the screen is the app's phone layout: kept phone-sized, as in the home page's bands. */
@media (max-width: 59.99rem) {
  .page-screen {
    max-width: 26rem;
    margin-inline: auto;
  }
}
.site-footer__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--ink);
}
.site-footer__cols ul {
  flex-direction: column;
  gap: 0;
}

/* ---------- Legal pages ---------- */

.doc {
  padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) var(--section);
}
.doc__body {
  max-width: 44rem;
}
.doc h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
}
.doc__meta {
  margin-top: 0.75rem;
  color: var(--ink-muted);
}
.doc h2 {
  margin-top: 2.5rem;
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 700;
}
.doc p,
.doc ul {
  margin-top: 0.875rem;
  color: var(--ink-secondary);
}
.doc ul {
  padding-inline-start: 1.25rem;
}
.doc li + li {
  margin-top: 0.375rem;
}
.draft-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--saffron-deep);
  border-radius: var(--radius-control);
  background: var(--draft-fill);
  color: var(--ink);
}

/* ---------- Pieces added after the design reviews ---------- */

/* People: a photo beside the hero's headline (from 64rem), a strip of the kinds of business the
   product is for, and a real person to call beside the demo form. Stock photos are illustrations of
   kinds of business, never captioned as customers. */
.hero__photo {
  display: none;
}
@media (min-width: 64rem) {
  .hero__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 3rem;
    align-items: center;
  }
  .hero__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-frame);
    box-shadow: 0 24px 48px -16px rgba(28, 25, 23, 0.45);
  }
}
.people {
  padding-top: clamp(4.5rem, 3rem + 5vw, 7.5rem);
}
.people__title {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}
.people__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  margin-top: 1.75rem;
}
.people__grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.people__grid figcaption {
  margin-top: 0.625rem;
  font-weight: 600;
  color: var(--ink-secondary);
}
/* Each tile links to its business page. The link is the caption (its name is the kind of business,
   while the photo keeps its own description); a layer over the figure makes the whole tile
   clickable. The focus ring stays on the caption text. */
.people__grid figure {
  position: relative;
}
.people__grid figcaption a {
  color: inherit;
  text-decoration: none;
}
.people__grid figcaption a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
}
@media (hover: hover) {
  .people__grid figcaption a:hover {
    color: var(--plum);
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
}
@media (min-width: 52rem) {
  .people__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}
.person {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 30rem;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-card);
  color: var(--plum-tint);
}
.person img {
  flex: none;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.person p {
  margin: 0;
  line-height: 1.45;
}
.person__title {
  font-weight: 700;
  color: #fff;
}
.person__contact {
  margin-top: 0.25rem !important;
  font-weight: 600;
}
.person a {
  color: #fff;
}
.person__hours {
  font-size: 0.875rem;
}

/* Product clips (site.js, "Product clips"). Without JavaScript the first frame shows as a still. */
.clip {
  display: block;
  width: 100%;
  height: auto;
  background: var(--page);
}
/* The ring is sized to one frame at a time (site.js), so it is hidden while the clip plays, also
   with reduced motion, where the draw-in that otherwise hides it is off. */
.screen--clip .frame.is-playing .mark {
  visibility: hidden;
}
.screen--clip figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.clip-replay {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--plum);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--plum);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.clip-replay::before {
  content: '\21BB';
  font-size: 1.125rem;
  line-height: 1;
}
.clip-replay[hidden] {
  display: none;
}
@media (hover: hover) {
  .clip-replay:hover {
    background: var(--plum-subtle);
  }
}

/* The 404 page. */
.notfound {
  padding-block: clamp(3rem, 2rem + 6vw, 7rem) var(--section);
}
.notfound > * {
  max-width: 46rem;
}
.notfound__code {
  font-weight: 600;
  color: var(--plum);
}
.notfound h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
  text-wrap: balance;
}
.notfound__lead {
  margin-top: 1.5rem;
  font-size: 1.1875rem;
  color: var(--ink-secondary);
}
.notfound__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}
.notfound__en {
  margin-top: 3rem;
  text-align: right;
  color: var(--ink-secondary);
}

/* Phones: the header has no room for the language switch, so a thin strip above it carries the
   link to the other language. From 40rem the switch is back in the header. Where the Hebrew home
   page offers English (.lang-offer), the offer replaces the strip. */
.lang-strip {
  margin: 0;
  padding-inline: var(--gutter);
  background: var(--plum-deep);
  text-align: end;
  font-size: 0.9375rem;
  line-height: 1;
}
.lang-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding-inline: 0.25rem;
  color: #fff;
  font-weight: 600;
}
.lang-offer .lang-strip {
  display: none;
}
@media (min-width: 40rem) {
  .lang-strip {
    display: none;
  }
}

/* Offered to a browser with no Hebrew among its languages (site.js). */
.lang-hint {
  display: none;
}
.lang-offer .lang-hint {
  display: block;
  margin: 0;
  padding: 0.5rem var(--gutter);
  background: var(--plum-deep);
  text-align: center;
  font-size: 0.9375rem;
}
.lang-hint a {
  color: #fff;
  font-weight: 600;
}
.lang-hint a::after {
  content: ' \2192';
}

.hero__for {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--plum-tint);
  text-wrap: balance;
}
.hero__note {
  margin-top: 1.25rem;
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--plum-tint);
}
.qa__tag {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--plum);
}
.answers-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(4rem, 3rem + 4vw, 7rem);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}
.plans-includes {
  max-width: 48rem;
  margin-bottom: 1.5rem;
  color: var(--ink-secondary);
}
/* Trial, annual billing and the minimum term, under the cards. */
.plans-terms {
  margin-top: clamp(2rem, 1.5rem + 1vw, 2.75rem);
  max-width: 48rem;
}
.plans-terms p + p {
  margin-top: 0.25rem;
}
.plans-terms__small {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}
.demo__terms {
  margin-top: 0.75rem;
  max-width: 30em;
  color: var(--plum-tint);
}
.nowrap {
  white-space: nowrap;
}

/* Billing terms fold away like a FAQ answer. */
.terms-box {
  margin-top: 2rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.terms-box summary {
  padding-block: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}
.terms-box .terms {
  margin: 0 0 1rem;
}

/* The price list's long print (trial, offer, set-up, meetings, payment terms) is folded away by default. */
.pricing-details {
  margin-top: clamp(2rem, 1.5rem + 1vw, 2.75rem);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.pricing-details > summary {
  padding-block: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}
.pricing-details[open] > summary {
  margin-bottom: 0.5rem;
}
.pricing-details > .plans-terms {
  margin-top: 0;
}
.pricing-details > .pricing-more {
  margin-bottom: 1.5rem;
}

/* FAQ and billing terms open and close smoothly where the browser can animate to "auto"
   (Chromium); elsewhere they open at once, as before. */
@media (prefers-reduced-motion: no-preference) {
  :root {
    interpolate-size: allow-keywords;
  }
  .faq details::details-content,
  .pricing-details::details-content,
  .terms-box::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 240ms cubic-bezier(0.645, 0.045, 0.355, 1), content-visibility 240ms allow-discrete;
  }
  .faq details[open]::details-content,
  .pricing-details[open]::details-content,
  .terms-box[open]::details-content {
    block-size: auto;
  }
  .faq summary {
    transition: color 150ms ease;
  }
}

/* Windows high-contrast and other forced colours: keep every marker and edge. */
@media (forced-colors: active) {
  .faq summary::before,
  .faq summary::after {
    background: CanvasText;
  }
  .button,
  .a11y-trigger {
    border: 1px solid ButtonText;
  }
  .hl {
    forced-color-adjust: none;
  }
  .mark {
    border-color: Highlight;
  }
}

/* ---------- Accessibility menu (assets/a11y.js) ---------- */

/* The button: a fixed circle at the bottom-left corner in both languages (the right corner is the
   demo button's, easier for a thumb). */
.a11y-trigger {
  position: fixed;
  z-index: 30;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px -4px rgba(28, 25, 23, 0.5);
}
.a11y-trigger:hover {
  background: var(--plum-deep);
}
.a11y-trigger:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

.a11y-panel {
  position: fixed;
  inset: auto;
  bottom: 5rem;
  left: 1rem;
  margin: 0;
  width: min(23rem, calc(100vw - 2rem));
  max-height: calc(100vh - 6.5rem);
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-frame);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 48px -16px rgba(28, 25, 23, 0.45);
  font-size: 1rem;
}
.a11y-panel::backdrop {
  background: rgba(28, 25, 23, 0.35);
}
.a11y-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.a11y-panel h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
}
.a11y-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.a11y-close:hover {
  background: var(--stone-100);
}
.a11y-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}
.a11y-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  min-height: 4rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.a11y-option:hover {
  border-color: var(--plum);
}
.a11y-option.is-active {
  border: 2px solid var(--plum);
  background: var(--plum-subtle);
  padding: calc(0.625rem - 1px) calc(0.75rem - 1px);
}
.a11y-option__label {
  font-weight: 600;
  line-height: 1.3;
}
.a11y-option__value {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}
.a11y-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}
.a11y-reset {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--ink-muted);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.a11y-reset:hover {
  background: var(--stone-100);
}
.a11y-hint {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}
.a11y-panel :focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}

/* The preferences. Each one is a class on <html>; nothing here changes the content. */

/* Larger text may wrap anything, including the header button and long words. */
html[class*='a11y-text-'] .button,
html[class*='a11y-text-'] .nowrap,
html[class*='a11y-text-'] .addon__price,
html[class*='a11y-text-'] .plan__extras dd {
  white-space: normal;
  text-align: center;
}
html[class*='a11y-text-'] :where(h1, h2, h3, p, li, dt, dd, summary, a) {
  overflow-wrap: anywhere;
}

html.a11y-text-115 { font-size: 115%; }
html.a11y-text-130 { font-size: 130%; }
html.a11y-text-150 { font-size: 150%; }

html.a11y-lines-16 :where(p, li, dd, dt, summary, label, figcaption, a) { line-height: 1.9 !important; }
html.a11y-lines-20 :where(p, li, dd, dt, summary, label, figcaption, a) { line-height: 2.2 !important; }
html.a11y-lines-16 body, html.a11y-lines-20 body { letter-spacing: 0.02em; word-spacing: 0.08em; }

/* An operating-system face only, never a downloaded one. */
html.a11y-readable-font,
html.a11y-readable-font * {
  font-family: Arial, 'Segoe UI', system-ui, sans-serif !important;
}

html.a11y-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
html.a11y-headings :where(h1, h2, h3) {
  outline: 2px dashed currentColor;
  outline-offset: 6px;
}

html.a11y-cursor-black,
html.a11y-cursor-black * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M3 2l20 12-9 2-4 9z' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto !important;
}
html.a11y-cursor-large,
html.a11y-cursor-large * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 28 28'%3E%3Cpath d='M3 2l20 12-9 2-4 9z' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto !important;
}

/* High contrast: darker secondary text and lines, every role at its strongest. */
html.a11y-contrast-high {
  --ink: #000;
  --ink-secondary: #000;
  --ink-muted: #1c1917;
  --line: #57534e;
  --line-strong: #1c1917;
  --plum-tint: #fff;
  --page: #fff;
  --sand: #fff;
}
html.a11y-contrast-high a { text-decoration: underline; }

/* Inverted and black-and-white: a filter on the page, not on the menu, so the menu stays readable
   and its button stays fixed (a filter on <html> or <body> would unfix it). */
html.a11y-contrast-invert body > :not(.a11y-root) { filter: invert(1) hue-rotate(180deg); }
html.a11y-contrast-invert body { background: #000; }
html.a11y-contrast-mono body > :not(.a11y-root) { filter: grayscale(1) contrast(1.15); }

/* Stop animations: no transitions, and the highlighter's strokes are simply drawn. */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0s !important;
  scroll-behavior: auto !important;
}
html.a11y-reduce-motion { scroll-behavior: auto !important; }
html.a11y-reduce-motion .frame .mark { clip-path: none !important; }
html.a11y-reduce-motion .hl { background-size: 100% var(--hl-height) !important; }
html.a11y-reduce-motion .on-plum .hl { color: var(--ink) !important; }

/* ---------- Consent banner (assets/site.js; drawn only when an ad ID is set) ---------- */

.consent {
  position: fixed;
  z-index: 25;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  background: var(--plum-deep);
  color: #fff;
  box-shadow: 0 -6px 20px -8px rgba(28, 25, 23, 0.5);
}
.consent-text {
  flex: 1 1 22rem;
  margin: 0;
  max-width: 48rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.consent-text a {
  color: #fff;
  text-decoration: underline;
}
.consent-text a:focus-visible,
.consent-btn:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 auto;
  gap: 0.75rem;
}
/* Accept and Decline are the same control: same size, same weight, same colours. */
.consent-btn {
  min-width: 7.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid #fff;
  border-radius: var(--radius-control);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.consent-btn:hover {
  background: #fff;
  color: var(--plum-deep);
}
@media (max-width: 30rem) {
  .consent-actions { flex: 1 1 100%; }
  .consent-btn { min-width: 0; }
}
/* The banner never covers the footer or the accessibility button. */
html.has-consent body { padding-bottom: var(--consent-h, 0px); }
html.has-consent .a11y-trigger { bottom: calc(1rem + var(--consent-h, 0px)); }
html.has-consent .a11y-panel { bottom: calc(5rem + var(--consent-h, 0px)); max-height: calc(100vh - 6.5rem - var(--consent-h, 0px)); }
@media (forced-colors: active) {
  .consent { border-top: 2px solid CanvasText; }
  .consent-btn { border-color: ButtonText; }
}

@media print {
  .a11y-root, .consent { display: none !important; }
  html[class*='a11y-'] body > * { filter: none !important; }
  html[class*='a11y-text-'] { font-size: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Campaign hook (2026-11-04) ---------- */

/* The header's demo button is full size from tablet width up. */
@media (min-width: 48rem) {
  .site-header .button--small {
    min-height: 3rem;
    padding: 0 1.5rem;
    font-size: 1.0625rem;
  }
}

/* Lead-in before the question bands: what the system gives you, and a link to each answer. */
.answers-intro {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.answers-intro h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}
[dir='ltr'] .answers-intro h2 {
  letter-spacing: -0.015em;
}
.answers-intro > p {
  margin-top: 1rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  text-wrap: pretty;
}
.answers-intro > .answers-intro__lead {
  margin-top: 1.25rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.answers-intro__list {
  display: grid;
  gap: 0.25rem 2rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) {
  .answers-intro__list {
    grid-template-columns: 1fr 1fr;
  }
}
.answers-intro__list a {
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--plum);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.answers-intro__list a:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}
.qa {
  scroll-margin-top: 1.5rem;
}


/* The floating demo button: shown once the hero has scrolled away, hidden again at the demo section
   and the footer (assets/site.js). Bottom-right corner in both languages (a thumb's reach), opposite
   the accessibility button, and above the consent banner when that is open. */
.demo-fab {
  position: fixed;
  z-index: 24;
  right: 1rem;
  min-height: 3.25rem;
  bottom: calc(1rem + env(safe-area-inset-bottom) + var(--consent-h, 0px));
  padding-inline: 1.5rem;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px -4px rgba(28, 25, 23, 0.55);
  white-space: nowrap;
}
.demo-fab[hidden] {
  display: none;
}
.demo-fab:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .demo-fab {
    transition: opacity 200ms ease-out, transform 200ms ease-out, background-color 150ms ease-out, visibility 0s linear 0s;
  }
  .demo-fab.is-away {
    transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0s linear 200ms;
  }
}
.demo-fab.is-away {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  pointer-events: none;
}
html.a11y-reduce-motion .demo-fab,
html.a11y-reduce-motion .demo-fab.is-away {
  transition: none;
}

/* One line under the hero buttons: what the demo is. */
.hero__terms {
  margin-top: 1rem;
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--plum-tint);
}
