/* Zeal Publishers — shared components. Every public page uses these.
 * Components read the semantic surface vars (--bg, --fg, --fg-strong, --line …) from
 * tokens.css, so the same markup works on cream, parchment, white or green.        */

:root { interpolate-size: allow-keywords; --z-btn-radius: var(--z-r-pill); }

/* ============ Buttons ============ */
.z-btn {
  --btn-bg: var(--z-amber); --btn-fg: var(--z-green-950); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: .2rem 1.6rem 0; border-radius: var(--z-btn-radius);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-family: var(--z-font-body); font-size: 1rem; font-weight: 600; letter-spacing: .005em;
  line-height: 1; text-decoration: none; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform var(--z-dur-2) var(--z-ease-out), box-shadow var(--z-dur-2) var(--z-ease-out),
              background-color var(--z-dur-2), color var(--z-dur-2), border-color var(--z-dur-2);
  -webkit-tap-highlight-color: transparent;
}
.z-btn::before { /* light sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform var(--z-dur-4) var(--z-ease-out);
}
.z-btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(239,154,16,.7); }
.z-btn:hover::before { transform: translateX(110%); }
.z-btn:active { transform: translateY(0) scale(.98); }
.z-btn__icon { width: 1.15em; height: 1.15em; flex: none; transition: transform var(--z-dur-2) var(--z-ease-out); }
.z-btn:hover .z-btn__icon--arrow { transform: translateX(4px); }
.z-btn--dark { --btn-bg: var(--z-green); --btn-fg: var(--z-cream); }
.z-btn--dark:hover { box-shadow: 0 12px 28px -12px rgba(4,48,31,.65); }
.z-btn--dark::before { background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); }
.z-btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg-strong); --btn-bd: var(--line-strong); }
.z-btn--ghost:hover { --btn-bd: var(--accent); box-shadow: none; }
.z-btn--ghost::before { display: none; }
.z-btn--cream { --btn-bg: var(--z-cream); --btn-fg: var(--z-green); }
.z-btn--sm { min-height: 42px; padding-inline: 1.15rem; font-size: .9375rem; }
.z-btn--lg { min-height: 60px; padding-inline: 2rem; font-size: 1.0625rem; }
.z-btn--block { width: 100%; }
.z-btn[disabled] { opacity: .6; pointer-events: none; }
.z-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }

/* Text link with animated underline + arrow */
.z-link {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--fg-strong);
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size var(--z-dur-3) var(--z-ease-out), color var(--z-dur-2);
}
.z-link:hover { color: var(--fg-strong); background-size: 100% 1.5px; }
.z-link svg { width: 1em; height: 1em; transition: transform var(--z-dur-2) var(--z-ease-out); }
.z-link:hover svg { transform: translateX(3px); }

/* ============ Badges ============ */
.z-badge {
  display: inline-flex; align-items: center; gap: .4em; padding: .38em .8em .3em;
  border-radius: var(--z-r-pill); font-size: var(--z-fs-2xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  background: var(--badge-bg); color: var(--badge-fg);
}
.z-badge--green { background: var(--z-green-50); color: var(--z-green); }
.z-badge--purple { background: var(--z-purple-tint); color: var(--z-purple-ink); }
.z-on-green .z-badge--purple, .z-on-deep .z-badge--purple { background: rgba(160,130,197,.18); color: var(--z-purple-200); }

/* ============ Header & navigation ============ */
.z-header {
  position: sticky; top: 0; z-index: 100; height: var(--z-header-h);
  color: var(--fg); transition: transform var(--z-dur-3) var(--z-ease-out), box-shadow var(--z-dur-2), background-color var(--z-dur-2);
}
.z-header::before { /* glass ground — separate layer so the menu panel isn't blurred */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color var(--z-dur-2), background-color var(--z-dur-2);
}
.z-header.is-scrolled::before { border-bottom-color: var(--line); }
.z-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(2,29,19,.5); }
.z-header.is-hidden:not(.is-open):not(:focus-within) { transform: translateY(-100%); box-shadow: none; }
.z-header__bar { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.z-header__logo { flex: none; display: block; border-radius: 4px; }
.z-header__logo img { height: 44px; width: auto; }
.z-header__menu { display: flex; align-items: center; flex: 1; gap: 1.5rem; }
.z-nav { flex: 1; display: flex; justify-content: center; }
.z-nav__list { display: flex; align-items: center; gap: clamp(.25rem, 1.2vw, 1.25rem); list-style: none; padding: 0; }
.z-nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .55rem;
  font-size: .975rem; font-weight: 500; color: var(--fg); text-decoration: none;
}
.z-nav__link::after {
  content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 8px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform var(--z-dur-3) var(--z-ease-out);
}
.z-nav__link:hover { color: var(--fg-strong); }
.z-nav__link:hover::after, .z-nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.z-header__actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.z-header__phone {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  font-weight: 600; font-size: .95rem; color: var(--fg-strong); text-decoration: none; white-space: nowrap;
}
.z-header__phone svg { width: 18px; height: 18px; color: var(--accent-ink); }
.z-header__phone:hover { color: var(--accent-ink); }
.z-header__cta-m, .z-header__toggle, .z-header__menu-foot { display: none; }

/* Burger */
.z-header__toggle {
  width: 46px; height: 46px; border-radius: 50%; place-items: center; flex: none;
  color: var(--fg-strong); border: 1.5px solid var(--line-strong);
}
.z-burger { position: relative; width: 18px; height: 12px; display: block; }
.z-burger i {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--z-dur-2) var(--z-ease-out), top var(--z-dur-2) var(--z-ease-out);
}
.z-burger i:first-child { top: 1px; }
.z-burger i:last-child { top: 9px; }
.z-header.is-open .z-burger i:first-child { top: 5px; transform: rotate(45deg); }
.z-header.is-open .z-burger i:last-child { top: 5px; transform: rotate(-45deg); }

.z-nav__link { white-space: nowrap; }
@media (max-width: 1199px) { .z-header__phone span { display: none; } }
@media (max-width: 1023px) {
  :root { --z-header-h: 68px; }
  .z-header__logo img { height: 40px; }
  .z-header__toggle { display: grid; }
  .z-header__cta-m { display: inline-flex; margin-left: auto; }
  .js .z-header__menu {
    position: fixed; inset: var(--z-header-h) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch;
    gap: 2rem; padding: 1.5rem var(--z-gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity var(--z-dur-2) var(--z-ease-out), transform var(--z-dur-3) var(--z-ease-out), visibility 0s linear var(--z-dur-3);
  }
  .js .z-header.is-open .z-header__menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .z-nav { flex: none; justify-content: flex-start; }
  .js .z-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .js .z-nav__list li { border-bottom: 1px solid var(--line); }
  .js .z-nav__link {
    width: 100%; min-height: 64px; padding: 0; font-family: var(--z-font-display);
    font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 500; color: var(--fg-strong);
    opacity: 0; transform: translateY(10px);
    transition: opacity var(--z-dur-3) var(--z-ease-out), transform var(--z-dur-3) var(--z-ease-out);
  }
  .js .z-nav__link::after { display: none; }
  .js .z-header.is-open .z-nav__link { opacity: 1; transform: none; }
  .js .z-header.is-open li:nth-child(2) .z-nav__link { transition-delay: 40ms; }
  .js .z-header.is-open li:nth-child(3) .z-nav__link { transition-delay: 80ms; }
  .js .z-header.is-open li:nth-child(4) .z-nav__link { transition-delay: 120ms; }
  .js .z-header.is-open li:nth-child(5) .z-nav__link { transition-delay: 160ms; }
  .js .z-header.is-open li:nth-child(6) .z-nav__link { transition-delay: 200ms; }
  .js .z-header__actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .js .z-header__actions .z-btn { min-height: 56px; }
  .js .z-header__phone { justify-content: center; min-height: 56px; border: 1.5px solid var(--line-strong); border-radius: var(--z-btn-radius); }
  .js .z-header__phone span { display: inline; }
  .js .z-header__menu-foot { display: block; font-size: var(--z-fs-sm); color: var(--fg-muted); }
  .js .z-header__menu-foot a { color: var(--fg-strong); }
  /* No JS: the menu simply sits under the bar, still fully usable. */
  .no-js .z-header { height: auto; position: relative; }
  .no-js .z-header__bar { flex-wrap: wrap; padding-block: .75rem; }
  .no-js .z-header__menu { flex-basis: 100%; flex-wrap: wrap; }
  .no-js .z-nav__list { flex-wrap: wrap; }
  .no-js .z-header__toggle { display: none; }
}
@media (max-width: 420px) {
  .z-header__logo img { height: 36px; }
  .z-header__cta-m { padding-inline: .9rem; font-size: .875rem; }
  .z-header__bar { gap: .6rem; }
}
html.z-menu-open { overflow: hidden; }

/* ============ Footer ============ */
.z-footer { position: relative; padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); font-size: var(--z-fs-sm); }
.z-footer a { color: var(--fg); text-decoration: none; }
.z-footer a:hover { color: var(--z-amber); }
.z-footer__top { display: grid; gap: 3rem; grid-template-columns: 1fr; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.z-footer__brand img { height: 56px; width: auto; }
.z-footer__tagline { margin-top: 1.25rem; max-width: 30ch; color: var(--fg-muted); font-size: var(--z-fs-base); }
.z-footer__contact { margin-top: 1.75rem; display: grid; gap: .55rem; }
.z-footer__phone { font-family: var(--z-font-display); font-size: var(--z-fs-lg); color: var(--fg-strong) !important; letter-spacing: -.01em; }
.z-footer__phone:hover { color: var(--z-amber) !important; }
.z-footer__addr { color: var(--fg-muted); font-style: normal; line-height: 1.5; }
.z-footer__social { display: flex; gap: .65rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.z-footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  color: var(--z-cream); transition: background-color var(--z-dur-1), border-color var(--z-dur-1), color var(--z-dur-1);
}
.z-footer__social a:hover, .z-footer__social a:focus-visible { background: var(--z-amber); border-color: var(--z-amber); color: var(--z-green-950); }
.z-footer__social svg { width: 20px; height: 20px; }
.z-footer__col .z-footer__reach { gap: .55rem; }
.z-footer__col .z-footer__reach a { display: grid; gap: .1rem; }
.z-footer__reach b { font-weight: 600; color: var(--z-cream); }
.z-footer__reach span { font-size: var(--z-fs-sm); white-space: nowrap; }
.z-footer__cols { display: grid; gap: 2.25rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.z-footer__col h2 {
  font-family: var(--z-font-body); font-size: var(--z-fs-2xs); font-weight: 600; letter-spacing: var(--z-track-caps);
  text-transform: uppercase; color: var(--z-amber); margin-bottom: 1rem;
}
.z-footer__col ul { list-style: none; padding: 0; display: grid; gap: .2rem; }
.z-footer__col a { display: inline-block; padding: .3rem 0; color: var(--fg-muted); transition: color var(--z-dur-1), transform var(--z-dur-2) var(--z-ease-out); }
.z-footer__col a:hover { color: var(--z-cream); transform: translateX(3px); }
.z-footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
  padding-block: 1.75rem calc(1.75rem + env(safe-area-inset-bottom)); color: var(--fg-muted); font-size: var(--z-fs-xs);
}
.z-footer__legal { display: flex; gap: 1.25rem; list-style: none; padding: 0; }
@media (min-width: 720px) { .z-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(14rem, 1.15fr); } }
@media (max-width: 719px) {
  .z-footer { padding-top: 2.75rem; }
  .z-footer__top { gap: 2rem; padding-bottom: 2rem; }
  .z-footer__brand img { height: 48px; }
  .z-footer__tagline { margin-top: .9rem; }
  .z-footer__contact { margin-top: 1.1rem; }
  .z-footer__cols { gap: 1.5rem 1rem; }
  .z-footer__col h2 { margin-bottom: .5rem; }
  .z-footer__col ul { gap: 0; }
  .z-footer__col a { padding: .22rem 0; }
  .z-footer__col:last-child { grid-column: 1 / -1; }
}
.z-footer--min { padding-top: 0; }
.z-footer--min .z-footer__bottom a { color: var(--fg); }
@media (min-width: 1100px) { .z-footer__top { grid-template-columns: minmax(260px, 1fr) 2.4fr; gap: 4rem; } }

/* ============ Section heads ============ */
.z-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 1.8rem + 2.5vw, 4.5rem); max-width: 50rem; }
.z-head h2 { max-width: 20ch; }
.z-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.z-head--center .z-lede { margin-inline: auto; }
.z-head--split { max-width: none; }
@media (min-width: 900px) {
  .z-head--split { grid-template-columns: 1.15fr 1fr; align-items: end; column-gap: 4rem; }
  .z-head--split .z-eyebrow { grid-column: 1 / -1; }
}

/* ============ Cards ============ */
.z-card {
  position: relative; display: block; background: var(--card); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--z-r-lg); padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  text-decoration: none;
  transition: transform var(--z-dur-3) var(--z-ease-out), box-shadow var(--z-dur-3) var(--z-ease-out), border-color var(--z-dur-2);
}
a.z-card:hover { color: var(--fg); transform: translateY(-4px); box-shadow: var(--z-shadow-2); border-color: var(--line-strong); }
.z-card h3 { font-size: var(--z-fs-lg); }
.z-card p { color: var(--fg-muted); margin-top: .5rem; }

/* Tool card */
.z-tool { display: flex; flex-direction: column; gap: .5rem; height: 100%; }
.z-tool__tag { font-size: var(--z-fs-2xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.z-tool__name { font-size: var(--z-fs-lg); }
.z-tool__text { color: var(--fg-muted); flex: 1; }
.z-tool__cta { margin-top: .75rem; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--fg-strong); }
.z-tool__cta svg { width: 1em; height: 1em; transition: transform var(--z-dur-2) var(--z-ease-out); }
a.z-tool:hover .z-tool__cta svg { transform: translateX(4px); }

/* ============ Forms ============ */
.z-form { display: grid; gap: 1rem; }
.z-form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .z-form__row--2 { grid-template-columns: 1fr 1fr; } }
.z-field { display: grid; gap: .4rem; }
.z-label { font-size: var(--z-fs-sm); font-weight: 600; color: var(--fg-strong); }
.z-label__opt { font-weight: 400; color: var(--fg-muted); }
.z-input {
  width: 100%; min-height: 54px; padding: .85rem 1rem .7rem; font-size: 1rem; line-height: 1.4;
  color: var(--z-charcoal); background: var(--field); border: 1.5px solid var(--field-bd);
  border-radius: var(--z-r-md); appearance: none; -webkit-appearance: none;
  transition: border-color var(--z-dur-2), box-shadow var(--z-dur-2);
}
textarea.z-input { min-height: 112px; resize: vertical; }
.z-input::placeholder { color: #8A857C; }
.z-input:hover { border-color: var(--z-sage); }
.z-input:focus { outline: none; border-color: var(--z-green); box-shadow: 0 0 0 4px rgba(239,154,16,.35); }
.z-input:user-invalid { border-color: var(--z-red-ink); }
select.z-input {
  padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23064530' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
.z-phone { display: grid; grid-template-columns: 7.25rem 1fr; gap: .5rem; }
.z-form__fine { display: flex; gap: .5rem; align-items: flex-start; font-size: var(--z-fs-xs); color: var(--fg-muted); line-height: 1.45; }
.z-form__fine svg { width: 14px; height: 14px; flex: none; margin-top: .15em; }
.z-form__err { color: var(--err); font-size: var(--z-fs-xs); font-weight: 600; min-height: 0; }

/* ============ Package cards ============ */
.z-pkgs { display: grid; gap: clamp(1rem, .6rem + 1.5vw, 1.75rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .z-pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.z-pkg {
  position: relative; display: flex; flex-direction: column; gap: 1.25rem; height: 100%;
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); border-radius: var(--z-r-xl);
  background: var(--card); color: var(--fg); border: 1px solid var(--line);
}
.z-pkg__name { font-size: var(--z-fs-xl); letter-spacing: -.02em; }
.z-pkg__name small { display: block; font-family: var(--z-font-body); font-size: var(--z-fs-2xs); font-weight: 600; letter-spacing: var(--z-track-caps); text-transform: uppercase; color: var(--accent-ink); margin-bottom: .5rem; }
.z-pkg__tagline { color: var(--fg-muted); min-height: 3.2em; }
.z-pkg__price { display: grid; gap: .15rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.z-pkg__amount { font-family: var(--z-font-display); font-size: var(--z-fs-xl); font-weight: 500; color: var(--fg-strong); letter-spacing: -.02em; line-height: 1.1; }
.z-pkg__note { font-size: var(--z-fs-xs); color: var(--fg-muted); }
.z-pkg__list { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: var(--z-fs-sm); }
.z-pkg__tagline + .z-pkg__list { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.z-pkg__list li { position: relative; padding-left: 1.75rem; line-height: 1.45; }
.z-pkg__list li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--check-bg) var(--check-ink) center / 72% no-repeat;
}
.z-pkg__list li:first-child { font-weight: 600; }
.z-pkg .z-btn { margin-top: auto; }
.z-pkg__badge { position: absolute; top: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); right: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
@media (max-width: 520px) { .z-pkg__badge { position: static; justify-self: start; align-self: flex-start; order: -1; } }
/* Phones: long inclusion lists show the first three + a real "Show all" button (JS only;
   without JS the full list simply shows). */
.z-pkg__more { display: none; }
@media (max-width: 759px) {
  .js .z-pkg__list[data-collapse]:not(.is-open) li:nth-child(n+4) { display: none; }
  .js .z-pkg__more {
    display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-top: -.5rem;
    font-size: var(--z-fs-sm); font-weight: 600; color: var(--fg-strong);
    text-decoration: underline; text-underline-offset: .22em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  }
  .z-pkg__tagline { min-height: 0; }
}

/* ============ FAQ accordion (native <details>: keyboard + screen reader for free) ============ */
.z-faq { border-bottom: 1px solid var(--line); }
.z-faq__item { border-top: 1px solid var(--line); }
.z-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--z-font-display); font-size: var(--z-fs-md); font-weight: 500; color: var(--fg-strong);
  line-height: 1.3; transition: color var(--z-dur-2);
}
.z-faq__q::-webkit-details-marker { display: none; }
.z-faq__q:hover { color: var(--accent-ink); }
.z-faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background-color var(--z-dur-2), border-color var(--z-dur-2), transform var(--z-dur-3) var(--z-ease-out); }
.z-faq__icon::before, .z-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; background: currentColor; translate: -50% -50%; border-radius: 2px; transition: transform var(--z-dur-3) var(--z-ease-out); }
.z-faq__icon::after { transform: rotate(90deg); }
.z-faq__item[open] .z-faq__icon { background: var(--z-amber); border-color: var(--z-amber); color: var(--z-green-950); transform: rotate(180deg); }
.z-faq__item[open] .z-faq__icon::after { transform: rotate(0deg); }
.z-faq__a { padding: 0 3.5rem 1.6rem 0; color: var(--fg-muted); max-width: 62ch; }
.z-faq__a a { color: var(--fg-strong); }
.z-faq__item::details-content { block-size: 0; overflow: clip; transition: block-size var(--z-dur-3) var(--z-ease-out), content-visibility var(--z-dur-3) allow-discrete; }
.z-faq__item[open]::details-content { block-size: auto; }

/* ============ Testimonials (base; concepts restyle the layout) ============ */
.z-quote { display: grid; gap: 1.25rem; }
.z-quote__text { font-family: var(--z-font-display); font-size: var(--z-fs-md); line-height: 1.5; color: var(--fg-strong); }
.z-quote__text > p::before { content: "\201C"; }
.z-quote__text > p::after { content: "\201D"; }
.z-quote__name { font-style: normal; font-weight: 600; font-size: var(--z-fs-sm); color: var(--fg); letter-spacing: .02em; }
.z-quote__name::before { content: "\2014\00a0"; color: var(--accent-ink); }

/* ============ Mobile call bar ============ */
.z-mbar { display: none; }
@media (max-width: 759px) {
  .z-mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: auto 1fr; gap: .5rem;
    padding: .6rem var(--z-gutter) calc(.6rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--z-green-900) 94%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(250,249,245,.12);
    transform: translateY(110%); transition: transform var(--z-dur-3) var(--z-ease-out);
  }
  .z-mbar.is-visible { transform: none; }
  .z-mbar .z-btn { min-height: 48px; }
  .z-mbar__call { --btn-bg: transparent; --btn-fg: var(--z-cream); --btn-bd: rgba(250,249,245,.35); padding-inline: 1rem; }
  .z-mbar__call::before { display: none; }
  body.has-mbar .z-footer__bottom { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  /* Live chat on: Call · Chat · Book. Narrow phones stack the two small buttons' icon over the label. */
  .z-mbar--chat { grid-template-columns: auto auto 1fr; }
  .z-mbar__chat { --btn-bg: transparent; --btn-fg: var(--z-cream); --btn-bd: rgba(250,249,245,.35); padding-inline: 1rem; }
  .z-mbar__chat::before { display: none; }
  html.zc-formfocus .z-mbar { transform: translateY(110%); }   /* typing in a form: the bar gets out of the way */
}
@media (max-width: 439px) {
  .z-mbar--chat .z-mbar__call, .z-mbar--chat .z-mbar__chat { flex-direction: column; gap: 3px; padding: .3rem .7rem 0; font-size: .75rem; min-width: 52px; }
  .z-mbar--chat .z-mbar__call .z-btn__icon, .z-mbar--chat .z-mbar__chat .z-btn__icon { width: 18px; height: 18px; }
  .z-mbar--chat > .z-btn:last-child { padding-inline: .9rem; }
  .z-mbar--chat > .z-btn:last-child span { white-space: normal; text-wrap: balance; text-align: center; line-height: 1.2; font-size: .875rem; }
}

/* ============ Live chat launcher (desktop). The panel is chat.css, loaded on idle or the first tap. ============ */
.zc-launch { display: none; }
.no-js .zc-launch, .no-js .z-mbar__chat { display: none !important; }
@media (min-width: 760px) {
  .zc-launch {
    position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: 20px; z-index: 95;
    display: inline-flex; align-items: center; gap: .8rem; min-height: 60px; padding: 6px 1.35rem 6px 6px;
    border-radius: var(--z-r-pill); background: var(--z-green-900); color: var(--z-cream); text-align: left;
    border: 1px solid rgba(250,249,245,.14); box-shadow: var(--z-shadow-3);
    transition: transform var(--z-dur-2) var(--z-ease-out), box-shadow var(--z-dur-2), opacity var(--z-dur-2);
  }
  .zc-launch:hover { transform: translateY(-2px); box-shadow: var(--z-shadow-3), 0 0 0 4px rgba(239,154,16,.3); }
  .zc-launch:focus-visible { outline: 3px solid var(--z-amber); outline-offset: 3px; border-radius: var(--z-r-pill); }
  .zc-launch__mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, var(--z-green-600), var(--z-green) 70%); box-shadow: inset 0 0 0 1.5px rgba(239,154,16,.6); }
  .zc-launch__mark img { width: 15px; height: auto; transform: rotate(10deg); }
  .zc-launch__txt { display: grid; gap: 1px; line-height: 1.2; }
  .zc-launch__t { font-family: var(--z-font-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--z-white); }
  .zc-launch__s { font-size: .8125rem; color: var(--z-green-200); }
  html.zc-open .zc-launch { opacity: 0; transform: scale(.92) translateY(6px); pointer-events: none; }
}

/* ============ People online (Job 24): html.zc-team is set by _chat.html while someone on the team is online.
   A green dot on the phone bar's Chat and on the desktop quill coin; "Saim from Zeal is online" under the launcher;
   phones also get a short note above the bar once per visit (.zc-ttoast). ============ */
.zc-team .z-mbar__chat { position: relative; }
.zc-team .z-mbar__chat::after { content: ""; position: absolute; top: 5px; right: 7px; width: 9px; height: 9px; border-radius: 50%;
  background: #5BD69A; box-shadow: 0 0 0 2px var(--z-green-900); animation: zc-tdot 2.4s ease-in-out infinite; }
.zc-ttoast { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 96;
  display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; border-radius: 14px; text-align: left;
  border: 1px solid rgba(250,249,245,.16); background: var(--z-green-900); color: var(--z-cream); box-shadow: var(--z-shadow-3);
  font-family: var(--z-font-body); font-size: .9375rem; font-weight: 600; line-height: 1.35;
  opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .35s var(--z-ease-out); }
.zc-ttoast.is-in { opacity: 1; transform: none; }
.zc-ttoast i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #5BD69A; box-shadow: 0 0 0 3px rgba(91,214,154,.25); }
html.zc-open .zc-ttoast { display: none; }
@media (min-width: 760px) {
  .zc-ttoast { display: none; }
  .zc-team .zc-launch__mark { position: relative; }
  .zc-team .zc-launch__mark::after { content: ""; position: absolute; right: -1px; bottom: 1px; width: 11px; height: 11px;
    border-radius: 50%; background: #5BD69A; box-shadow: 0 0 0 2px var(--z-green-900); animation: zc-tdot 2.4s ease-in-out infinite; }
  .zc-team .zc-launch__s { color: #BDEBD3; }
  .zc-team .zc-launch__s::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .4rem; border-radius: 50%;
    background: #5BD69A; vertical-align: 1px; }
}
@keyframes zc-tdot { 0%, 100% { box-shadow: 0 0 0 2px var(--z-green-900), 0 0 0 2px rgba(91,214,154,.5); }
  50% { box-shadow: 0 0 0 2px var(--z-green-900), 0 0 0 6px rgba(91,214,154,0); } }
@media (prefers-reduced-motion: reduce) {
  .zc-team .z-mbar__chat::after, .zc-team .zc-launch__mark::after { animation: none; }
  .zc-ttoast { transition: none; }
}

/* ============ Talk to our AI (Job 22): a second pill beside the launcher, only while LIVE_VOICE=1. Desktop only;
   phones reach the voice from the chat panel (the bar's Chat). The panel's voice styles are chat-voice.css. ============ */
.zc-vlaunch { display: none; }
.no-js .zc-vlaunch, .zc-vlaunch[hidden] { display: none !important; }
@media (min-width: 760px) {
  /* One capsule: the mic and the launcher share the dark-green pill, split by a hairline (2026-11-06 polish). */
  .zc-dock { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: 20px; z-index: 95;
    display: flex; align-items: center; gap: 0; padding: 6px; border-radius: var(--z-r-pill);
    background: var(--z-green-900); border: 1px solid rgba(250,249,245,.14); box-shadow: var(--z-shadow-3);
    transition: transform var(--z-dur-2) var(--z-ease-out), box-shadow var(--z-dur-2), opacity var(--z-dur-2); }
  .zc-dock:hover { transform: translateY(-2px); box-shadow: var(--z-shadow-3), 0 0 0 4px rgba(239,154,16,.28); }
  .zc-dock .zc-launch { position: static; min-height: 42px; padding: 0 1.2rem 0 .7rem; background: transparent; border: 0;
    box-shadow: none; }
  .zc-dock .zc-launch:hover { transform: none; box-shadow: none; }
  .zc-dock .zc-launch__mark { width: 42px; height: 42px; }
  html.zc-open .zc-dock { opacity: 0; transform: scale(.94) translateY(6px); pointer-events: none; }
  .zc-vlaunch {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: 5px 1.15rem 5px 5px;
    border-radius: var(--z-r-pill); background: var(--z-white); color: var(--z-green); border: 1px solid rgba(6,69,48,.16);
    box-shadow: var(--z-shadow-2); font-family: var(--z-font-display); font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
    transition: transform var(--z-dur-2) var(--z-ease-out), box-shadow var(--z-dur-2), opacity var(--z-dur-2);
  }
  .zc-vlaunch__mark { position: relative; display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%;
    background: var(--z-amber); color: var(--z-green-950); }
  .zc-vlaunch__mark::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(239,154,16,.45); }
  .zc-vlaunch:hover { transform: translateY(-2px); box-shadow: var(--z-shadow-3); }
  .zc-vlaunch:hover .zc-vlaunch__mark::after { animation: zc-vring 1.6s var(--z-ease-out) infinite; }
  /* 3px in from the left so the mic sits concentric with the capsule's end; the hairline is inset, not full height. */
  .zc-dock .zc-vlaunch { position: relative; min-height: 42px; padding: 0 .75rem 0 3px; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; }
  .zc-dock .zc-vlaunch::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 26px; margin-top: -13px;
    background: rgba(250,249,245,.24); }
  .zc-dock .zc-vlaunch:hover { transform: none; box-shadow: none; }
  .zc-dock .zc-vlaunch__mark { width: 42px; height: 42px; }
  .zc-dock .zc-vlaunch__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .zc-vlaunch:focus-visible { outline: 3px solid var(--z-amber); outline-offset: 3px; }
  /* Inside the capsule the rings follow the shapes and stay within it (a square ring round the mic read as broken). */
  .zc-dock .zc-vlaunch:focus-visible { outline: none; }
  .zc-dock .zc-vlaunch:focus-visible .zc-vlaunch__mark { outline: 3px solid var(--z-amber); outline-offset: 2px; }
  .zc-dock .zc-launch:focus-visible { outline-offset: -1px; }
  html.zc-open .zc-vlaunch { opacity: 0; transform: scale(.92) translateY(6px); pointer-events: none; }
  @keyframes zc-vring { from { box-shadow: 0 0 0 0 rgba(239,154,16,.45); } to { box-shadow: 0 0 0 12px rgba(239,154,16,0); } }
}
@media (min-width: 760px) and (max-width: 999px) {
  .zc-vlaunch { padding: 5px; }
  .zc-vlaunch__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .zc-vlaunch:hover .zc-vlaunch__mark::after { animation: none; }
}

/* ============ Small by default (2026-11-06): the desktop launcher is a quill coin in the corner. It opens into the
   full capsule (mic | "Ask Zeal's assistant") on hover or keyboard focus, and once per visit by itself for 6 s
   (.is-peek, set by _chat.html), so it never sits over the page at full width. Phones keep the bottom bar. ============ */
@media (min-width: 760px) {
  .zc-dock .zc-launch { padding: 0; gap: 0;
    transition: padding .42s var(--z-ease-out), gap .42s var(--z-ease-out); }
  .zc-dock .zc-launch__txt { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
    transition: max-width .42s var(--z-ease-out), opacity .22s; }
  .zc-dock .zc-vlaunch { max-width: 0; opacity: 0; overflow: hidden; padding: 0;
    transition: max-width .42s var(--z-ease-out), opacity .22s, padding .42s var(--z-ease-out); }
  .zc-dock:is(:hover, :focus-within, .is-peek) .zc-launch { padding: 0 1.2rem 0 0; gap: .8rem; }
  .zc-dock:is(:hover, :focus-within, .is-peek) .zc-vlaunch + .zc-launch { padding-left: .7rem; }
  .zc-dock:is(:hover, :focus-within, .is-peek) .zc-launch__txt { max-width: 16rem; opacity: 1; }
  .zc-dock:is(:hover, :focus-within, .is-peek) .zc-vlaunch { max-width: 4.5rem; opacity: 1; padding: 0 .75rem 0 3px; }
}
@media (min-width: 760px) and (prefers-reduced-motion: reduce) {
  .zc-dock .zc-launch, .zc-dock .zc-launch__txt, .zc-dock .zc-vlaunch { transition: none; }
}

/* ============ Marquee (pauses on hover; static under reduced motion) ============ */
.z-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.z-marquee__track { display: flex; width: max-content; animation: z-marquee var(--marquee-dur, 40s) linear infinite; }
.z-marquee:hover .z-marquee__track { animation-play-state: paused; }
.z-marquee__group { display: flex; flex: none; align-items: center; }
@keyframes z-marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .z-marquee__track { animation: none; flex-wrap: wrap; width: auto; } .z-marquee__group[aria-hidden="true"] { display: none; } }

/* ============ Small utilities ============ */
.z-icon { width: 1.25em; height: 1.25em; flex: none; }
.z-num { font-family: var(--z-font-display); font-feature-settings: "lnum" 1, "tnum" 1; }
.z-kicker { font-family: var(--z-font-display); font-style: italic; color: var(--accent-ink); }
.z-header[class*="z-on-"] { background-color: transparent; }
/* A component that also carries a dark surface class paints that surface (beats --card). */
.z-pkg.z-on-green, .z-pkg.z-on-deep, .z-card.z-on-green, .z-card.z-on-deep { background-color: var(--bg); }

/* Long, data-driven button labels (landing CTAs) must wrap on phones instead of forcing
   their column wider than the screen (main's overflow-x: clip would hide the overflow). */
@media (max-width: 600px) {
  main .z-btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: .55rem .45rem; }
}
