/* Landing sections in page order: === <id> === */

/* children may shrink: long words wrap, the page never widens */
:is(.hero__inner, .step, .feature, .capabilities__integrations, .demo, .demo__panel, .demo__call, .crm-card, .calc, .calc__form, .calc__control, .calc__results, .calc__row, .plan, .guarantee, .faq__grid, .contact__grid, .lead-form) > * { min-width: 0; }
:is(.hero__inner, .step, .feature, .demo, .plan, .guarantee) > * { max-width: 100%; }

/* === top (hero) === */
.hero {
  --tail-h: 104px; /* the pull tail's rope at rest (REST in hero.js) */
  position: relative;
  overflow: clip; /* the tail waits below; a sideways pull never widens the page */
  display: grid;
  align-content: center;
  min-height: calc(100svh - var(--header-h));
  scroll-margin-top: 1px; /* #top: no skipped padding; +1px cancels the header overlap */
  /* room for the tail, so the CTA never meets the knob */
  padding-block: clamp(40px, 5vw, 80px) calc(var(--tail-h) + 44px + clamp(var(--s-6), 5vw, var(--s-8)));
}

.hero__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  container-type: inline-size;
}

.hero h1 {
  /* the first variant's longest word fits; 2 lines from 1024px */
  font-size: clamp(2.5rem, 14.5cqi, 7.5rem);
  word-spacing: .12em; /* caps with tight tracking close the word gaps otherwise */
  hyphens: manual;
}

.hero__lead { margin-top: clamp(var(--s-5), 3vw, var(--s-7)); max-width: 50ch; text-wrap: balance; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: clamp(var(--s-6), 3.5vw, var(--s-7));
}

@media (min-width: 768px) { .hero h1 { font-size: clamp(2.5rem, 11cqi, 7.5rem); } }
@media (min-width: 1024px) { .hero h1 { font-size: clamp(2.5rem, 8.6cqi, 7.5rem); } }
/* Headline variants: hero-variant.js picks one before first paint */
.hero__v { display: none; font-size: calc(1em * var(--hero-fit-s, 1)); }
@media (min-width: 768px) { .hero__v { font-size: calc(1em * var(--hero-fit-m, 1)); } }
@media (min-width: 1024px) { .hero__v { font-size: calc(1em * var(--hero-fit-l, 1)); } }
:root:not([data-hero]) [data-v="0"], [data-hero="0"] [data-v="0"], [data-hero="1"] [data-v="1"], [data-hero="2"] [data-v="2"], [data-hero="3"] [data-v="3"], [data-hero="4"] [data-v="4"], [data-hero="5"] [data-v="5"], [data-hero="6"] [data-v="6"], [data-hero="7"] [data-v="7"], [data-hero="8"] [data-v="8"], [data-hero="9"] [data-v="9"] { display: block; }

/* --- Pull tail (hero.js): ink rope from #proof to a knob --- */
.hero-tail {
  --tail-ease: cubic-bezier(.22, 1.1, .36, 1); /* long, soft landing with a hint of overshoot */
  position: absolute;
  bottom: 0;
  left: calc(50% - 28px);
  width: 56px;
  height: calc(var(--tail-h) + 28px);
  border-radius: var(--r-pill);
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none; /* a held knob must not open the iOS link preview */
  -webkit-tap-highlight-color: transparent;
}
.hero-tail__body {
  position: absolute;
  inset: 0;
  transform: translateY(140px); /* below the edge from the first paint (140px > 132px rope + knob) */
}
/* rope (0,0) = bottom edge middle; .hero clips its cap */
.hero-tail__rope {
  position: absolute;
  bottom: 0;
  left: calc(50% - 240px);
  width: 480px;
  max-width: none;
  height: 360px;
  overflow: visible;
  pointer-events: none;
}
.hero-tail__path {
  fill: none;
  stroke: var(--c-ink);
  stroke-width: 22;
  stroke-linecap: round;
}
/* 56px hit area around the 44px knob (::before) and dot (::after) */
.hero-tail__knob {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  cursor: grab;
  touch-action: none; /* the knob only: swiping anywhere else still scrolls */
}
.hero-tail.is-dragging .hero-tail__knob { cursor: grabbing; }
.hero-tail__knob::before,
.hero-tail__knob::after {
  content: '';
  grid-area: 1 / 1;
  border-radius: 50%;
}
.hero-tail__knob::before { width: 44px; height: 44px; background: var(--c-ink); }
.hero-tail__knob::after {
  width: 14px;
  height: 14px;
  background: var(--c-yellow);
  transition: transform var(--dur-fast) var(--ease-out);
}
@media (hover: hover) { .hero-tail:hover .hero-tail__knob::after { transform: scale(1.3); } }
.hero-tail.is-armed .hero-tail__knob::after { transform: scale(1.4); } /* after hover: armed wins */
.hero-tail__hint {
  position: absolute;
  top: 28px; /* knob height */
  left: calc(50% + 22px + var(--s-3));
  width: max-content;
  max-width: calc(50vw - 22px - var(--s-3) - var(--gutter)); /* wraps inside the viewport on phones */
  transform: translateY(-50%);
  font: 500 var(--fs-micro)/1.3 var(--font-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  opacity: 0;
  transition: opacity 600ms var(--ease-out) 1100ms; /* after the tail has nearly landed */
}
/* hero.js adds is-out once in view; no JS: simply out */
.hero-tail.is-out .hero-tail__body { transform: none; transition: transform 1600ms var(--tail-ease) 400ms; }
.hero-tail.is-out .hero-tail__hint { opacity: 1; }
@media (scripting: none) {
  .hero-tail__body { transform: none; }
  .hero-tail__hint { opacity: 1; }
}
/* the hint fades while the knob is held */
.hero-tail.is-dragging .hero-tail__hint { opacity: 0; transition-duration: var(--dur); transition-delay: 0ms; }

/* === proof === */
.proof { --section-pad: clamp(56px, 7vw, 112px); }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6) var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fact {
  display: grid;
  align-content: start;
  gap: var(--s-2);
  min-width: 0;
  padding-top: var(--s-4);
  border-top: 1px solid color-mix(in srgb, var(--on-surface) 20%, transparent);
}
.fact__figure {
  font: 800 clamp(2rem, 10vw, 2.5rem)/1 var(--font-display); /* two columns on phones */
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.fact__unit { font-size: .42em; letter-spacing: -0.01em; }
.fact__figure .fn-ref { font-size: .36em; }
.fact__caption { max-width: 24ch; color: var(--fg-muted); }

@media (min-width: 768px) {
  .facts { column-gap: var(--s-6); row-gap: var(--s-7); }
  .fact__figure { font-size: clamp(2.5rem, 6vw, 5rem); }
}
/* Four in a row only where a column fits the widest figure */
@media (min-width: 1280px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact__figure { font-size: clamp(3.5rem, 4.2vw, 3.875rem); }
}

/* === problem === */
.stats {
  display: grid;
  margin: clamp(var(--s-7), 6vw, var(--s-9)) 0 0;
  padding: 0;
  list-style: none;
}
.stat {
  min-width: 0;
  padding-block: var(--s-6);
  border-top: 1px solid color-mix(in srgb, var(--on-surface) 18%, transparent);
}
.stat:last-child { border-bottom: 1px solid color-mix(in srgb, var(--on-surface) 18%, transparent); }
.stat__num {
  font: 800 clamp(4rem, 7vw, 6.25rem)/.9 var(--font-display);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.stat__unit { font-size: .4em; letter-spacing: -0.01em; }
.stat__num .fn-ref { font-size: .3em; }
.stat__caption {
  max-width: 26ch;
  margin-top: var(--s-4);
  font-size: var(--fs-lead);
  line-height: 1.4;
}

.problem__text { margin-top: clamp(var(--s-7), 6vw, var(--s-9)); font-weight: 500; }
.problem .footnote { margin-top: var(--s-5); }

@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat,
  .stat:last-child {
    padding: var(--s-6);
    border-bottom: 1px solid color-mix(in srgb, var(--on-surface) 18%, transparent);
  }
  .stat + .stat { border-left: 1px solid color-mix(in srgb, var(--on-surface) 18%, transparent); }
  .stat:first-child { padding-left: 0; }
}

/* === section heads: stacked; side by side from 1280px (not the calculator) === */
:is(.how__head, .capabilities__head, .chats__head, .demo-section__head, .calculator__head, .compare-head, .pricing__head, .security__head) {
  display: grid;
  gap: var(--s-5);
}
:is(.how__head, .capabilities__head, .chats__head, .demo-section__head, .calculator__head, .compare-head, .pricing__head, .security__head) > * { min-width: 0; }
@media (min-width: 1280px) {
  :is(.how__head, .capabilities__head, .chats__head, .demo-section__head, .compare-head, .pricing__head, .security__head) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    column-gap: var(--s-8);
  }
}

/* === how === */

/* Timeline: yellow nodes on an ink line; horizontal ≥ 1024px */
.steps {
  --node: 16px;
  --line: 2px;
  --steps-gap: var(--s-7);
  display: grid;
  gap: var(--steps-gap);
  margin: clamp(var(--s-7), 6vw, var(--s-9)) 0 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--s-2);
  min-width: 0;
  padding-left: calc(var(--node) + var(--s-5));
}
.step::before { /* node */
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: var(--node);
  height: var(--node);
  border: var(--line) solid var(--c-ink);
  border-radius: 50%;
  background: var(--c-yellow);
}
.step:not(:last-child)::after { /* line to the next node */
  content: '';
  position: absolute;
  top: calc(2px + var(--node));
  bottom: calc(-1 * var(--steps-gap) - 2px);
  left: calc((var(--node) - var(--line)) / 2);
  width: var(--line);
  background: var(--c-ink);
}
.step__num {
  font: 500 var(--fs-body)/1.2 var(--font-label);
  color: var(--fg-muted);
}
.step__title {
  margin-top: var(--s-1);
  hyphens: manual; /* narrow columns: wrap between words, never inside */
}
.step__days {
  display: inline-flex;
  margin-top: var(--s-1); /* keep the badge clear of Unbounded descenders */
  padding: 3px var(--s-2);
  border-radius: var(--r-pill);
  background: var(--c-paper-2);
  font: 500 var(--fs-micro)/1.3 var(--font-label);
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.step__text { margin-top: var(--s-1); color: var(--fg-muted); }

@media (min-width: 1024px) {
  .steps { --steps-gap: var(--s-6); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step__title { font-size: clamp(1.125rem, 1.65vw, 1.5rem); }
  .step { padding-left: 0; padding-top: calc(var(--node) + var(--s-5)); }
  .step::before { top: 0; }
  .step:not(:last-child)::after {
    top: calc((var(--node) - var(--line)) / 2);
    bottom: auto;
    left: var(--node);
    right: calc(-1 * var(--steps-gap));
    width: auto;
    height: var(--line);
  }
}

/* === features === */

/* Number column from 768px, title beside text from 1024px */
.features {
  margin: clamp(var(--s-7), 6vw, var(--s-9)) 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid color-mix(in srgb, var(--on-surface) 20%, transparent);
}
.feature {
  display: grid;
  grid-template-areas: "num" "title" "text" "tag";
  justify-items: start;
  align-content: start;
  min-width: 0;
  padding-block: var(--s-6) var(--s-7);
  border-top: 1px solid color-mix(in srgb, var(--on-surface) 20%, transparent);
}
.feature__num {
  grid-area: num;
  margin-bottom: var(--s-4);
  color: var(--fg-muted);
  font: 400 clamp(2rem, 4vw, 3.5rem)/.9 var(--font-label);
  letter-spacing: -0.04em;
}
.feature__title {
  grid-area: title;
  /* 20px at 320 (fits 280px), 36px at 1440 */
  font-size: clamp(1.25rem, 1rem + 1.6vw, 2.25rem);
  hyphens: manual; /* long words wrap between words, never inside */
}
.feature__text {
  grid-area: text;
  max-width: 44ch;
  margin-top: var(--s-3);
  color: var(--fg-muted);
}
.feature__tag { grid-area: tag; margin-top: var(--s-4); }
@media (max-width: 767.98px) {
  .feature { padding-block: var(--s-5) var(--s-6); }
  .feature__num { margin-bottom: var(--s-2); font-size: 1.5rem; }
}

/* Integrations: plain text chips — no logos */
.capabilities__integrations {
  display: grid;
  align-content: start;
  gap: var(--s-5);
  margin-top: clamp(var(--s-8), 8vw, var(--s-9));
}
.integrations__title { hyphens: manual; }
.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.integrations .chip { white-space: nowrap; }
.integrations__note {
  max-width: 52ch;
  color: var(--fg-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .feature {
    grid-template-columns: 6rem minmax(0, 1fr);
    grid-template-areas: "num title" "num text" "num tag";
    column-gap: var(--s-6);
  }
  .feature__num { margin-bottom: 0; }
}

@media (min-width: 1024px) {
  .feature {
    grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr);
    grid-template-areas: "num title text" "num title tag";
    grid-template-rows: auto 1fr;
    align-items: start;
    padding-block: var(--s-6);
  }
  .feature__text { margin-top: 0; }
  .feature__tag { margin-top: var(--s-3); }

  /* the rows' tracks: heading under titles, chips under texts */
  .capabilities__integrations {
    grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr);
    column-gap: var(--s-6);
  }
  .integrations__title { grid-column: 1 / 3; grid-row: span 2; }
  .integrations,
  .integrations__note { grid-column: 3; }
}

/* Chats: entry price and a link to the chat plans */
.chats__offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid color-mix(in srgb, var(--on-surface) 16%, transparent);
}
.chats__offer-text { margin: 0; }

/* === demo: parked in parked/demo/ (the section is hidden) === */

/* === calculator === */

/* Paper sheet on green: inputs left, sticky answer right */
.calc {
  --surface: var(--c-paper);
  --on-surface: var(--c-ink);
  --fg-muted: var(--c-muted);
  --ring: var(--c-ink);
  display: grid;
  gap: var(--s-5);
  margin-top: clamp(var(--s-6), 5vw, var(--s-8));
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--on-surface);
}

@media (min-width: 768px) {
  .calc { padding: var(--s-6); }
}
@media (min-width: 1024px) {
  .calc {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    padding: var(--s-7);
    column-gap: clamp(var(--s-7), 5vw, var(--s-8));
    align-items: start;
  }
  .calc__results { grid-area: 1 / 2 / 4; position: sticky; top: calc(var(--header-h) + var(--s-5)); }
  .js .calc__results { grid-area: 2 / 2 / 5; } /* the company-size row spans both columns above */
  .calc__method, .calc__disclaimer { grid-column: 1; }
}

/* --- Inputs --- */
.calc__form { display: grid; gap: var(--s-5); }
/* < 1024px: the answer's headline rides the bottom edge */
.calc__peek {
  position: fixed;
  inset: auto var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--z-header) - 1);
  display: grid;
  gap: var(--s-1);
  justify-items: start;
  padding: var(--s-3) var(--s-4);
  border: 1px solid color-mix(in srgb, var(--c-ink) 12%, transparent);
  opacity: 0;
  transform: translateY(calc(100% + var(--s-3)));
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.calc__peek.is-shown { opacity: 1; transform: none; }
.calc__peek .calc__figure--xl { font-size: 1.75rem; }
@media (min-width: 1024px) { .calc__peek { display: none; } }
@media (min-width: 768px) and (max-width: 1023.98px) {
  .calc__form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
}

.calc__field { gap: var(--s-1); align-content: end; } /* two-up on tablet: controls line up even when a label wraps */
.calc__field .field__label { margin-bottom: var(--s-1); }

.calc__control {
  display: grid;
  gap: var(--s-1);
  grid-template-columns: 6.5rem minmax(0, 1fr);
  column-gap: var(--s-3);
  align-items: center;
}
@media (min-width: 480px) {
  .calc__control { grid-template-columns: 8rem minmax(0, 1fr); column-gap: var(--s-4); }
}
.calc__number {
  padding-inline: var(--s-3);
  font-family: var(--font-label);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 480px) { .calc__number { padding-inline: var(--s-4); } }

.calc__field .field__hint {
  font-family: var(--font-label);
  font-size: var(--fs-micro);
  font-variant-numeric: tabular-nums;
}
.calc__field .field__error { font-size: var(--fs-small); }

/* Company size (JS only) */
.calc__scale { display: none; }
.js .calc__scale { display: grid; gap: var(--s-2); justify-items: start; grid-column: 1 / -1; }
.calc__scale .field__label { margin: 0; }
.calc__scale .segmented { flex-wrap: nowrap; }
.calc__scale .segmented__btn { padding-inline: var(--s-4); }
.calc__scale-hint { color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.4; }

/* Under a field: range left; «типове» or a reset right */
.calc__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--s-3); }
.calc__typical, .calc__reset { display: none; }
.js .calc__typical {
  display: inline;
  color: var(--fg-muted);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.js .calc__reset {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -12px; /* a 44px target without pushing the row apart */
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: 600 var(--fs-small)/1.2 var(--font-body);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  cursor: pointer;
  touch-action: manipulation;
}

/* Range: 44px hit area, 8px track filled to the thumb (--fill) */
/* + a tick at the typical value, hidden when equal */
.calc__slider { --thumb: 28px; position: relative; }
.calc__mark { display: none; }
.js .calc__mark {
  display: block;
  position: absolute;
  top: 50%;
  left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--typical, 0));
  width: 2px;
  height: 20px;
  border-radius: 1px;
  background: var(--c-ink);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.calc__range {
  --track: 8px;
  position: relative;
  z-index: 1;
  --track-bg: color-mix(in srgb, var(--c-ink) 24%, transparent);
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.calc__range:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

.calc__range::-webkit-slider-runnable-track {
  height: var(--track);
  border-radius: var(--r-pill);
  background:
    linear-gradient(var(--c-green-deep), var(--c-green-deep)) 0 0 / calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--fill, 0)) 100% no-repeat,
    var(--track-bg);
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: calc((var(--track) - var(--thumb)) / 2);
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-yellow) 0 4px, var(--c-ink) 4.5px);
  transition: transform var(--dur-fast) var(--ease-out);
}
.calc__range:active::-webkit-slider-thumb { transform: scale(1.12); }

.calc__range::-moz-range-track {
  height: var(--track);
  border-radius: var(--r-pill);
  background: var(--track-bg);
}
.calc__range::-moz-range-progress {
  height: var(--track);
  border-radius: var(--r-pill);
  background: var(--c-green-deep);
}
.calc__range::-moz-range-thumb {
  width: var(--thumb);
  height: var(--thumb);
  box-sizing: border-box;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-yellow) 0 4px, var(--c-ink) 4.5px);
  transition: transform var(--dur-fast) var(--ease-out);
}
.calc__range:active::-moz-range-thumb { transform: scale(1.12); }

/* --- Results --- */
.calc__results { display: grid; gap: var(--s-5); padding: var(--s-5) var(--s-4); }
@media (min-width: 768px) {
  .calc__results { padding: var(--s-6); }
}

.calc__headline {
  container-type: inline-size;
  display: grid;
  gap: var(--s-2);
  justify-items: start;
}
.calc__label {
  font-family: var(--font-label);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.calc__figure {
  font-family: var(--font-label);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
/* A sentence instead of a number: body face, wraps on words */
.calc__figure--text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.calc__row .calc__figure--text { font-size: 1.0625rem; }
.calc__figure--muted { font-weight: 500; color: var(--fg-muted); }
.calc__figure--xl {
  max-width: 100%;
  font-size: clamp(1.75rem, 15cqi, 4.25rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  /* yellow marker under the figure: an accent, never the text */
  background: linear-gradient(var(--c-yellow), var(--c-yellow)) 0 88% / 100% .2em no-repeat;
}
/* Negative amounts: danger color AND a minus sign in the text */
.calc__figure[data-sign="negative"] { color: var(--c-danger); }
.calc__figure--xl[data-sign="negative"] { background: none; }

.calc__list { display: grid; }
.calc__row {
  display: grid;
  gap: var(--s-1);
  padding-block: var(--s-3);
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.calc__row dt, .calc__note { font-size: var(--fs-small); line-height: 1.4; color: var(--fg-muted); }
.calc__row dd { display: grid; gap: var(--s-1); margin: 0; }
.calc__row .calc__figure { font-size: 1.25rem; }
@media (min-width: 480px) {
  .calc__row { grid-template-columns: minmax(0, 1fr) fit-content(50%); align-items: baseline; column-gap: var(--s-5); }
  .calc__row dd { justify-items: end; text-align: right; }
}

.calc__plan { display: inline-flex; flex-wrap: wrap; gap: 0 var(--s-3); align-items: baseline; }
@media (min-width: 480px) { .calc__plan { justify-content: flex-end; } }

#calc-operating-note { font-weight: 600; color: var(--c-danger); }
.calc__enterprise {
  padding: var(--s-3) var(--s-4);
  border-left: 4px solid var(--c-ink);
  background: color-mix(in srgb, var(--c-yellow) 35%, transparent);
  color: var(--on-surface);
  font-weight: 500;
}

.calc__send {
  justify-self: stretch;
  justify-content: flex-start; /* a wrapped label stays beside its dot */
  padding: var(--s-3) var(--s-5);
  line-height: 1.2;
  text-align: left;
}
@media (max-width: 479.98px) { .calc__send { font-size: var(--fs-small); } }
@media (min-width: 480px) { .calc__send { justify-self: start; } }

/* --- Method and disclaimer --- */
.calc__method {
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  padding-top: var(--s-2);
}
.calc__method summary {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.calc__method summary::-webkit-details-marker { display: none; }
.calc__method summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
.calc__method[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.calc__method summary:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: var(--r-sm); }
@media (hover: hover) {
  .calc__method summary:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
}

.calc__formulas {
  display: grid;
  gap: var(--s-3);
  max-width: 68ch;
  margin: var(--s-3) 0 var(--s-2);
  padding: 0;
  font-size: var(--fs-small);
  line-height: 1.5;
  list-style: none;
}
.calc__disclaimer { font-size: var(--fs-small); line-height: 1.5; color: var(--fg-muted); }

/* === compare === */

/* The switcher: JS only, < 768px */
.compare__tools {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.compare__label {
  font: 500 var(--fs-micro)/1.3 var(--font-label);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* No JS: three columns, scrolling in their own region */
.compare__scroll {
  margin-top: clamp(var(--s-6), 4vw, var(--s-7));
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.compare__scroll:focus-visible { outline-offset: 0; border-radius: var(--r-sm); }

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-small);
  line-height: 1.45;
  text-align: left;
}
.compare caption { /* the table's name; the section heading shows it visually */
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.compare th,
.compare td {
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid color-mix(in srgb, var(--on-surface) 16%, transparent);
  text-align: left;
  vertical-align: top;
}
.compare thead th {
  border-bottom: 2px solid var(--on-surface);
  font: 700 var(--fs-small)/1.25 var(--font-display);
  letter-spacing: -0.01em;
  vertical-align: bottom;
}
.compare tbody th { width: 23%; font-weight: 600; }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* RazomGroup column: opaque green tint */
.compare [data-col="razom"] {
  background: color-mix(in srgb, var(--c-green) 18%, var(--surface));
  color: var(--c-ink);
}
.compare tbody [data-col="razom"] { font-weight: 600; }
.compare thead [data-col="razom"] {
  position: sticky; /* holds the dot; sticks only once ≥ 768px gives it a top */
  padding-top: var(--s-6);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-weight: 800;
}
.compare thead [data-col="razom"]::before {
  content: '';
  position: absolute;
  top: var(--s-4);
  left: var(--s-5);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-yellow);
}
.compare tbody tr:last-child [data-col="razom"] { border-radius: 0 0 var(--r-sm) var(--r-sm); }
/* The sticky head stops above the last row (margin from compare.js) */
.compare thead { margin-bottom: var(--compare-last, 0px); }
.compare tbody { margin-top: calc(-1 * var(--compare-last, 0px)); }

/* Status = icon + words, never color alone */
.cell { position: relative; display: block; padding-left: 28px; }
.cell__icon {
  position: absolute;
  top: .15em;
  left: 0;
  width: 18px;
  height: 18px;
}
.cell.is-yes .cell__icon { color: var(--c-green-deep); }
.cell.is-partial .cell__icon { color: var(--c-muted); }
.cell.is-no .cell__icon { color: var(--c-danger); }
.compare .fn-ref { margin-left: 2px; }

.compare__footnote { margin-top: var(--s-4); }

@media (min-width: 768px) {
  .compare__scroll { overflow-x: visible; }
  /* Four equal grid columns; table parts take no margins */
  .compare { display: block; min-width: 0; }
  .compare thead,
  .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .compare tbody th { width: auto; }
  .compare thead th { display: flex; flex-direction: column; justify-content: flex-end; }
  /* Opaque heads stick under the header down to the last row */
  .compare thead { position: sticky; top: var(--header-h); z-index: 1; background: var(--surface); }
}
@media (min-width: 1024px) {
  .compare { font-size: var(--fs-body); }
  .compare thead th { font-size: 1rem; }
  .compare th,
  .compare td { padding-block: var(--s-5); }
}
/* < 768px with JS: row title, then the chosen column */
@media (max-width: 767.98px) {
  .js .compare__tools { display: flex; }
  .js .compare__scroll { overflow: visible; }
  .js .compare { display: block; min-width: 0; }
  .js .compare thead,
  .js .compare tbody { display: block; }
  .js .compare tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-2);
  }
  .js .compare th,
  .js .compare td { min-width: 0; padding: var(--s-3); border-bottom: 0; }
  .js .compare__corner { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); } /* out of the grid, still a header cell for AT */
  .js .compare thead {
    position: sticky;
    top: var(--header-h);
    z-index: 1;
    background: var(--surface);
    border-bottom: 2px solid var(--on-surface);
  }
  .js .compare thead th { padding-block: var(--s-3); border-bottom: 0; font-size: var(--fs-micro); line-height: 1.2; }
  .js .compare thead [data-col="razom"] { padding-top: var(--s-5); }
  .js .compare thead [data-col="razom"]::before { top: var(--s-2); left: var(--s-3); }
  .js .compare tbody tr { border-top: 1px solid color-mix(in srgb, var(--on-surface) 16%, transparent); }
  .js .compare tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: var(--s-4) var(--s-3) var(--s-1);
  }
  .js .compare tbody td { padding-top: var(--s-2); padding-bottom: var(--s-4); }
  .js .cell { padding-left: 0; }
  .js .cell__icon { position: static; display: block; margin-bottom: var(--s-1); }
  .js .compare[data-show="staff"] [data-col="callcenter"],
  .js .compare[data-show="callcenter"] [data-col="staff"] { display: none; }
}

/* === pricing === */

.billing-toggle { display: none; }
.js .billing-toggle { display: inline-flex; flex-wrap: nowrap; max-width: 100%; }
.billing-toggle .segmented__btn { padding-inline: var(--s-4); }
.billing-toggle .segmented__btn[aria-pressed="true"] { background-color: var(--c-green); color: var(--c-ink); }
@media (min-width: 768px) { .billing-toggle .segmented__btn { padding-inline: var(--s-5); } }

/* No JS: both products, each under a subheading */
.product-switch, .js .pricing__product { display: none; }
.pricing__product { margin-top: clamp(var(--s-7), 6vw, var(--s-8)); }
html:not(.js) .pricing__product + .plans { margin-top: var(--s-6); }

/* Product switch: pill on phones, heading words from 768px */
.js .product-switch { display: flex; }
.pricing__controls { display: contents; }
.product-switch__btn { flex: 1; min-height: 48px; padding-inline: var(--s-3); font-size: 1rem; line-height: 1.2; }
.product-switch__short, .product-switch__sep, .product-switch__bar { display: none; }
/* Phones: switch + billing stick under the header (head unboxed) */
@media (max-width: 767.98px) {
  .js .pricing__head { display: contents; }
  .js .pricing__controls { position: sticky; top: var(--header-h); z-index: 2; display: grid; gap: var(--s-2); margin-top: var(--s-3); padding-block: var(--s-3); background: var(--surface); }
  .js .billing-toggle { justify-self: start; }
  .js .pricing__group :is(a, button) { scroll-margin-top: calc(var(--header-h) + 140px); } /* focus never lands under the bar */
}
@media (min-width: 768px) {
  .js .pricing__head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; justify-items: start; column-gap: var(--s-4); }
  .js .billing-toggle { grid-column: 1 / -1; }
  .js #pricing-title::after { content: ":"; }
  .js .product-switch { position: relative; align-items: baseline; gap: .3em; padding: 0; background: none; font: 800 var(--fs-h2)/1 var(--font-display); letter-spacing: -0.025em; }
  .product-switch .segmented__btn { flex: none; min-height: 0; padding: 0; background: none; font: inherit; letter-spacing: inherit; color: var(--c-muted-on-ink); }
  .product-switch .segmented__btn[aria-pressed="true"] { color: var(--on-surface); }
  /* green bar under the chosen word (moved by JS) */
  .product-switch__bar { display: block; position: absolute; inset: 0 auto auto 0; width: 100px; height: .08em; background: var(--c-green); transform-origin: 0 0; }
  .product-switch__bar.is-ready { transition: transform var(--dur-slow) var(--ease-out); }
  .product-switch__short, .product-switch__sep { display: inline; }
  .product-switch__sep { color: var(--c-muted-on-ink); }
  .product-switch__long { display: none; }
}
/* hover: green waves from where the cursor touched the word (JS spans; darken keeps the bg) */
@media (min-width: 768px) and (hover: hover) {
  .product-switch .segmented__btn:hover { color: var(--on-surface); }
  .product-switch__short { position: relative; clip-path: inset(1px); background: var(--surface); } /* isolated: blends over own bg */
  .product-switch__wave { position: absolute; left: var(--x); top: var(--y); width: 1em; height: 1em; margin: -.5em; border-radius: 50%; background: radial-gradient(closest-side, transparent 40%, var(--c-green) 70%, transparent); mix-blend-mode: darken; opacity: 0; pointer-events: none; animation: product-shine 1s ease-out; }
}
@keyframes product-shine { 0% { transform: scale(.3); opacity: 1; } 60% { opacity: .9; } 100% { transform: scale(9); opacity: 0; } }

.plans { display: grid; gap: var(--s-5); margin-top: clamp(var(--s-7), 6vw, var(--s-8)); }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-width: 0;
}

/* Featured: green surface; the badge straddles the top edge */
.plan--featured {
  --surface: var(--c-green);
  --on-surface: var(--c-ink);
  --fg-muted: var(--c-ink-2);
  --ring: var(--c-ink);
}
.plan__badge {
  position: absolute;
  top: 0;
  left: var(--s-6);
  transform: translateY(-50%);
  background: var(--c-ink);
  color: var(--c-paper);
  white-space: nowrap;
}

.plan__name { font-size: 1.25rem; line-height: 1.1; hyphens: manual; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; max-width: none; }
.plan__amount {
  font: 800 clamp(2.5rem, 4.5vw, 3.5rem)/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.plan__amount--text { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.02em; }
/* en writes the dollar first; same markup in both languages */
.plan__amount[data-price]:lang(en)::before { content: "$"; font-size: .5em; }
/* Odometer: each digit is a window on a 0-9 strip sliding to --d */
.odo { display: inline-flex; }
.odo__col { display: block; height: 1em; overflow: clip; }
.odo__col::before {
  content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9";
  display: block;
  white-space: pre;
  transform: translateY(calc(var(--d) * -1em));
  transition: transform 800ms var(--ease-out) calc(var(--i) * 70ms);
}
.plan__unit {
  color: var(--fg-muted);
  font-size: var(--fs-small);
  font-weight: 500;
  white-space: nowrap;
}
.plan__billing-note {
  margin-top: calc(var(--s-2) * -1);
  color: var(--fg-muted);
  font-size: var(--fs-small);
  line-height: 1.4;
}

.plan__features {
  display: grid;
  flex: 1;
  align-content: start;
  gap: var(--s-2);
  margin: var(--s-2) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  line-height: 1.4;
}
.plan__features li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: var(--s-2);
}
.plan__check { width: 18px; height: 18px; margin-top: 1px; color: var(--c-green); }
.plan--featured .plan__check { color: var(--c-ink); }

/* Phones fold plan lists (featured open); no JS or ≥ 768px: shown */
.plan__more { display: none; }
@media (max-width: 767.98px) {
  .js .plan__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: 600 var(--fs-small)/1.2 var(--font-body);
    cursor: pointer;
    touch-action: manipulation;
  }
  .js .plan__more::after {
    content: "";
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 200ms var(--ease-in-out); /* same timing as the list in pricing-ui.js */
  }
  .js .plan__more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  .js .plan__more[aria-expanded="false"] + .plan__features:not(.is-animating) { display: none; }
  /* while folding: clip rows, no flex sizing */
  .js .plan__features.is-animating { overflow: hidden; flex: none; }
}

.plan__terms {
  margin: 0;
  border-top: 1px solid color-mix(in srgb, var(--on-surface) 20%, transparent);
}
.plan__terms > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 var(--s-2);
  padding-block: var(--s-2);
  border-bottom: 1px solid color-mix(in srgb, var(--on-surface) 20%, transparent);
  font-size: var(--fs-small);
  line-height: 1.4;
}
.plan__terms dt { color: var(--fg-muted); }
.plan__terms dd {
  margin: 0;
  text-align: right;
  font-family: var(--font-label);
  font-size: .875rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.plan__cta {
  width: 100%;
  min-height: 52px;
  padding: var(--s-3) var(--s-4);
  font-size: 1rem;
  line-height: 1.2;
}

.pricing__note {
  max-width: 70ch;
  margin-top: var(--s-6);
  color: var(--fg-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* side by side: the text price takes the number's height */
  .plan__price { min-height: clamp(2.5rem, 4.5vw, 3.5rem); align-content: end; }
  .plan__billing-note { min-height: 2.8em; }
}
/* Four across from 1280px (224px columns at 1024px wrap) */
@media (min-width: 1280px) {
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plan__amount--text { font-size: 1.125rem; }
  /* Raised by scale only (transform), so neighbours never move */
  .plan--featured { z-index: 1; transform: scale(1.03); }
}

/* === security === */

/* Guarantees: a hairline above each item, no boxes, no shadows */
.guarantees {
  display: grid;
  column-gap: var(--s-6);
  row-gap: var(--s-7);
  margin: clamp(var(--s-7), 6vw, var(--s-9)) 0 0;
  padding: 0;
  list-style: none;
}
.guarantee {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--s-3);
  min-width: 0;
  padding-top: var(--s-5);
  border-top: 1px solid color-mix(in srgb, var(--on-surface) 18%, transparent);
}
.guarantee__icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--s-2);
  color: var(--c-green-deep);
}
.guarantee__title {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.15;
  hyphens: manual;
}
.guarantee__text { color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.5; }
/* Phones: the icon beside the title, not on its own row */
@media (max-width: 767.98px) {
  .guarantees { row-gap: var(--s-6); }
  .guarantee { grid-template-columns: 32px minmax(0, 1fr); align-items: center; }
  .guarantee__icon { margin: 0; }
  .guarantee__text { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .guarantees { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- FAQ --- */
.faq { scroll-margin-top: 0; } /* plain jump: the top edge lands under the header, padding kept */
.faq__grid { display: grid; gap: var(--s-6); }
.faq__intro { display: grid; align-content: start; gap: var(--s-4); }
.faq__note { max-width: 28rem; color: var(--fg-muted); }
.faq__note a { color: var(--on-surface); }
.faq__q > span::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }
@media (hover: hover) { .faq__q:hover > span::after { transform: none; } }
.contact__list .link-draw { --hl: var(--c-paper); --ld-b: calc(50% - .75em); }
:is(.form__summary, .form__status) .link-draw { --ld-b: 8px; }


.faq__item { border-bottom: 1px solid color-mix(in srgb, var(--on-surface) 20%, transparent); }
.faq__item:first-child { border-top: 1px solid color-mix(in srgb, var(--on-surface) 20%, transparent); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 64px;
  padding-block: var(--s-3);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q > span { min-width: 0; position: relative; }
.faq__q:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
@media (hover: hover) {
}
.faq__chevron {
  flex: none;
  width: 24px;
  height: 24px;
  transition: transform 200ms var(--ease-in-out); /* same timing as the answer in faq.js */
}
/* .is-closing turns the chevron back while faq.js keeps `open` */
.faq__item[open]:not(.is-closing) .faq__chevron { transform: rotate(180deg); }
.faq__item.is-animating .faq__a { overflow: hidden; }
.faq__a { max-width: 42rem; padding: 0 var(--s-7) var(--s-5) 0; color: var(--fg-muted); }

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-8); }
  .faq__intro { position: sticky; top: calc(var(--header-h) + var(--s-5)); align-self: start; }
}

/* --- Contact: form text on the paper card --- */
.contact { position: relative; overflow: clip; }
.contact__grid { display: grid; gap: var(--s-7); }
.contact__info { position: relative; display: grid; align-content: start; gap: var(--s-5); }
.contact__info .lead { max-width: 32rem; }
.contact__list { display: grid; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
.contact__list li { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; }
.contact__list a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: 3px; }
/* Wire ends (4000, 450) at the card's bottom middle */
.contact { isolation: isolate; padding-bottom: clamp(112px, 10vw, 160px); }
.contact__card { position: relative; }
.contact__wire {
  position: absolute;
  z-index: -1;
  top: calc(100% - 450px);
  left: calc(50% - 4000px);
  width: 4020px;
  max-width: none;
  height: 540px;
  pointer-events: none;
}
.contact__wire .wire__path {
  fill: none;
  stroke: var(--c-ink);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* per copy: --len path length, --off draw start, --x end at the crossing */
.contact__wire--wide { --len: 4725; --off: 2225; --x: 1.13s; }
.contact__wire--narrow { --len: 4730; --off: 2230; --x: 1.22s; display: none; }
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .contact__wire--wide { display: none; }
  .contact__wire--narrow { display: block; }
}
.contact__wire > .wire__path:not(.contact__wire-over) { stroke-dasharray: var(--len); }
/* crossing: upper strand over a background-coloured gap */
.contact__wire-gap { fill: none; stroke: var(--c-green); stroke-width: 22; }
.contact__plug {
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-yellow) 7px, var(--c-ink) 7.5px);
}
/* Draw-in (.is-drawn); stroke-dashoffset is the exception */
.draw-ready [data-draw]:not(.is-drawn) .contact__wire > .wire__path:not(.contact__wire-over) { stroke-dashoffset: var(--off); }
.draw-ready [data-draw]:not(.is-drawn) .contact__wire-over { opacity: 0; }
.draw-ready [data-draw]:not(.is-drawn) .contact__plug { transform: scale(0); }
.is-drawn .contact__wire > .wire__path:not(.contact__wire-over) { animation: wire-draw 2.8s cubic-bezier(.45, 0, .25, 1) both; }
.is-drawn .contact__wire-over { transition: opacity 80ms linear var(--x); } /* the moment the wire end reaches the crossing */
.is-drawn .contact__plug { transition: transform var(--dur-slow) var(--ease-out) 2.65s; }
@keyframes wire-draw { from { stroke-dashoffset: var(--off); } to { stroke-dashoffset: 0; } }
/* Lead sent (form.js): the wire is taken off */
.is-sent :is(.contact__wire, .contact__plug) { display: none; }

.contact__card { --surface: var(--c-paper-2); padding: var(--s-5); }
.lead-form { display: grid; gap: var(--s-4); }
.form__req { font-size: var(--fs-small); color: var(--fg-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__summary {
  padding: var(--s-4);
  border: 2px solid var(--c-danger);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
}
.form__summary:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.form__summary-title { margin-bottom: var(--s-2); font-weight: 700; color: var(--c-danger); }
.form__summary ul { display: grid; gap: var(--s-1); margin: 0; padding-left: var(--s-5); }
.form__summary a { display: inline-block; padding-block: 10px; color: var(--c-ink); font-weight: 600; text-underline-offset: 3px; }
.form__summary a:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

.form__status { font-size: var(--fs-small); line-height: 1.5; }
.form__status:empty { display: none; }
.form__status.is-error { padding: var(--s-3) var(--s-4); border-left: 4px solid var(--c-danger); background: var(--c-white); color: var(--c-ink); border-radius: var(--r-sm); }
.form__status a { display: inline-block; padding-block: 10px; color: var(--c-ink); font-weight: 600; text-underline-offset: 3px; }

.form__success { display: grid; gap: var(--s-3); padding: var(--s-4) 0; }
.form__success:focus-visible { outline: 3px solid var(--ring); outline-offset: 6px; }

@media (min-width: 768px) {
  .contact__card { padding: var(--s-6); }
}
@media (min-width: 1024px) {
  /* equal halves: the longest word fits whole at 64px */
  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__chevron, .odo__col::before, .plan__more::after { transition: none; }
}


