/*
 * The natively built pages' own stylesheet (step 7 of the move off
 * WordPress). Values are the ones the captured Astra and Elementor pages
 * compute, measured in a browser at 390, 1024 and 1440 pixels wide; the
 * theme's own CSS is not used. Header and footer markup: lib/native/chrome.ts.
 */

/* ---- Fonts: Geologica is one variable file per alphabet range ---------- */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/geologica-latin.woff2?v=b14f1edee9) 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: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/geologica-latin-ext.woff2?v=85ea5e8563) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Mono, regular, latin: the home page's small capitals line. */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dmmono-400-latin.woff2?v=e1896b13b2) 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 {
  --z-font: 'Geologica', sans-serif;
  --z-ink: #0d0418;
  --z-text: #3d2670;
  --z-purple: #5b21b6;
  --z-green: #34d399;
  --z-night: #1e0a36;
  --z-night-2: #1e0a3c;
  --z-line: #eaeaea;
  --z-footer-line: #a78ed8;
  --z-white: #fff;
  --z-header-h: 72px;
  --z-header-h-mobile: 66px;
  /* The least room any content keeps from the window's edge (scripts/test-edges.mjs). */
  --z-edge: 16px;
}

/* ---- Base --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  /* As the old theme set it (106.25%): 1rem is 17px, which the old pages' own rem sizes assume. */
  font-size: 106.25%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--z-font);
  font-size: 17px;
  font-weight: 300;
  /* 1.7em, as the old theme: children inherit 28.9px, not 1.7 times their own size. */
  line-height: 1.7em;
  color: var(--z-text);
  background: var(--z-white);
  -webkit-font-smoothing: antialiased;
  /* As the old theme set it: long words wrap rather than overflow. */
  overflow-wrap: break-word;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
/* Where site.js puts large artwork into the page (lib/native/blocks.ts
 * lazySvg): the box an inline SVG with width: 100% and height: auto has, on
 * the same baseline, so nothing moves when the artwork replaces it. */
.z-art-slot {
  display: inline-block;
  width: 100%;
  vertical-align: baseline;
}
.z-art-slot img {
  display: block;
  width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
/* Nothing may make the page scroll sideways (a measured box or a carousel
 * arrow past the edge); the old theme clipped the same way. clip, not hidden,
 * so the sticky header keeps working. */
.z-page {
  overflow-x: clip;
  /* As the old theme did (#page min-height 100vh, the content growing): on
   * a page shorter than the window the footer sits at the window's bottom. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.z-page > main {
  flex-grow: 1;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
main:focus {
  outline: none;
}
/* The old theme hid every line break up to 1360px wide (headings and text
 * re-wrap instead), except in the footer card; kept exactly, since every
 * heading's wrapping depends on it. */
@media (max-width: 1360px) {
  br { display: none; }
}
.z-footer__card br { display: block; }
:focus-visible {
  outline: 2px solid var(--z-green);
  outline-offset: 2px;
}
.z-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--z-white);
  color: var(--z-ink);
  font-weight: 600;
}
.z-skip:focus {
  left: 8px;
  top: 8px;
}
/* Site-wide rules from the old child theme's stylesheet, kept as they were. */
::selection {
  background-color: #34d399;
  color: #0d0418;
}
b,
strong {
  font-weight: 600;
}
ol li {
  margin-bottom: 20px;
}

/* Every scan box wrapper, as the old site's custom CSS set it on all pages,
 * except that 85px is now the least height, not the height: a narrow box
 * puts its button under the field (lib/zylo-picker.css) and is then about
 * 121px tall, and a fixed 85px let it cover the line under it (the
 * "No credit card" line on phone pricing, 2026-11-03). It is CSS only, so
 * the height is known before the page paints: no layout shift. */
[data-zylo-picker] {
  position: relative;
  z-index: 9;
  max-width: 650px;
  min-height: 85px;
  margin: 0 auto;
}

.z-icon {
  fill: currentColor;
  flex: none;
}

/* ---- Buttons ------------------------------------------------------------ */
.z-btn {
  display: inline-block;
  /* A <button> or <input> does not inherit the page font on its own. */
  font-family: inherit;
  border-radius: 10px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}
.z-btn--primary {
  background: var(--z-purple);
  color: var(--z-white);
  padding: 8px 14px;
}

/* ---- Header and footer width ----------------------------------------
 * Measured from the captured Astra header and footer (scripts: the
 * measure-css tool in tools/qa-harness): full width less a gutter up to
 * 920px, then centred at 880 (header) or 870 (footer), 964, 1050, 1290,
 * 1350, 1450 and, above 1600, 1556 (header) or 1554 (footer).
 */
.z-cw {
  width: calc(100% - 30px);
  margin-left: auto;
  margin-right: auto;
}
.z-header .z-cw { width: calc(100% - 40px); }
@media (min-width: 768px) {
  .z-cw { width: 718px; }
  .z-header .z-cw { width: calc(100% - 50px); }
}
@media (min-width: 921px) {
  .z-cw { width: 870px; }
  .z-header .z-cw { width: 880px; }
}
@media (min-width: 1025px) { .z-cw, .z-header .z-cw { width: 964px; } }
@media (min-width: 1121px) { .z-cw, .z-header .z-cw { width: 1050px; } }
@media (min-width: 1361px) { .z-cw, .z-header .z-cw { width: 1290px; } }
@media (min-width: 1420px) { .z-cw, .z-header .z-cw { width: 1350px; } }
@media (min-width: 1521px) { .z-cw, .z-header .z-cw { width: 1450px; } }
@media (min-width: 1601px) {
  .z-cw { width: 1554px; }
  .z-header .z-cw { width: 1556px; }
}

/* ---- Header ------------------------------------------------------------- */
.z-header {
  position: sticky;
  top: 0;
  z-index: 99;
  /* The old bar is #1E0A36 (Astra's .main-header-bar). #221335 there is only
   * the colour of a border it draws 0px wide; checked against live
   * 2026-11-02. */
  background: var(--z-night);
  border-bottom: 1px solid #291648;
}
/* On phones and tablets the old header was fixed and the page began 7px
 * under its bottom edge; the same overlap keeps every position the same. */
@media (max-width: 1120px) {
  .z-header { margin-bottom: -7px; }
}
.z-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(36, 50, 66, 0.075);
}
.z-header__bar {
  display: flex;
  align-items: center;
  height: 72px;
}
.z-header.is-scrolled .z-header__bar {
  height: 64px;
}
.z-header__logo img {
  display: block;
  width: 120px;
  height: auto;
}
.z-nav {
  margin-left: 30px;
}
.z-nav__list {
  display: flex;
  align-items: center;
}
.z-nav__item {
  position: relative;
}
.z-nav__link {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #d9d9d9;
}
.z-header.is-scrolled .z-nav__link {
  height: 64px;
}
.z-nav__link:hover,
.z-nav__item--sub:hover > .z-nav__link {
  color: var(--z-white);
}
/* The current page's entry, or the menu holding it, is bold (as Astra did)
 * and mint green (owner, 2026-11-10: bold alone was hard to see). Hover
 * stays the white brighten, so "you are here" and "pointing here" differ. */
.z-nav__link[aria-current='page'],
.z-nav__item.is-current > .z-nav__link,
.z-nav__item.is-current > .z-nav__link:hover {
  font-weight: 600;
  color: var(--z-green);
}
.z-nav__toggle .z-icon--arrow {
  width: 10px;
  height: 10px;
  margin-left: 10px;
  transition: transform 0.2s;
}
.z-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  padding: 0 15px;
  background: var(--z-white);
  border-radius: 10px;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
/* Open on hover, or when the toggle says so; not on focus alone, so a second
 * click and Escape close it and aria-expanded always tells the truth. Hover
 * only where there is a real pointer: on touch screens hover sticks after a
 * tap, so a second tap could not close it. */
.z-nav__toggle[aria-expanded='true'] + .z-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  /* .is-dismissed: closed by a click or Escape while the pointer is still over
   * it (site.js); hover opens it again once the pointer has left. */
  .z-nav__item--sub:not(.is-dismissed):hover > .z-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
.z-nav__sub li + li {
  border-top: 1px solid var(--z-line);
}
.z-nav__sublink {
  display: block;
  padding: 10px 5px;
  font-size: 15px;
  font-weight: 400;
  line-height: 21.75px;
  color: var(--z-ink);
}
.z-nav__sublink:hover,
.z-nav__sublink[aria-current='page'] {
  color: var(--z-purple);
}
.z-header__actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.z-header__login {
  margin-right: 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 28.9px;
  color: var(--z-white);
}
.z-header__actions .z-btn {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-transform: capitalize;
}
/* One line each, down to 320px: "Log In" and "Try Zylo" wrapped to two
 * lines each there (the bar has room for both on one). */
.z-header__login,
.z-header__actions .z-btn {
  white-space: nowrap;
}
.z-header__menu {
  display: none;
  color: var(--z-white);
  padding: 12.75px 0 12.75px 20px;
}
.z-header__menu .z-icon {
  width: 22px;
  height: 22px;
}
.z-header__menu .z-icon--close,
.z-header__menu[aria-expanded='true'] .z-icon--menu {
  display: none;
}
.z-header__menu[aria-expanded='true'] .z-icon--close {
  display: block;
}

/* Phones and tablets: Astra's header switched at 1120px. */
@media (max-width: 1120px) {
  .z-header__bar,
  .z-header.is-scrolled .z-header__bar {
    height: 66px;
  }
  .z-header__logo img {
    width: 85px;
  }
  .z-header__menu {
    display: block;
  }
  .z-header__login {
    line-height: 29.7px;
  }
  .z-header__actions .z-btn {
    font-size: 15px;
    font-weight: 400;
    line-height: 19px;
  }
  .z-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    background: var(--z-white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }
  .z-header.is-open .z-nav {
    display: block;
    overscroll-behavior: contain;
  }
  /* The page behind the open phone menu stays put (re-audit, 2026-11-04:
   * it scrolled under the menu). site.js sets the class. */
  html.z-menu-open,
  html.z-menu-open body {
    overflow: hidden;
  }
  .z-nav__list {
    display: block;
  }
  .z-nav__link,
  .z-header.is-scrolled .z-nav__link {
    width: 100%;
    height: 49px;
    padding: 0 20px;
    color: var(--z-ink);
    border-bottom: 1px solid var(--z-line);
  }
  .z-nav__link:hover,
  .z-nav__item--sub:hover > .z-nav__link {
    color: var(--z-ink);
  }
  /* The phone menu is white, where mint green is too faint: the current
   * page is purple there, as in the computer's white drop-down. */
  .z-nav__link[aria-current='page'],
  .z-header.is-scrolled .z-nav__link[aria-current='page'],
  .z-nav__item.is-current > .z-nav__link,
  .z-nav__item.is-current > .z-nav__link:hover {
    color: var(--z-purple);
  }
  .z-nav__toggle {
    justify-content: space-between;
  }
  .z-nav__toggle .z-icon--arrow {
    width: 18px;
    height: 12px;
    color: var(--z-text);
  }
  .z-nav__toggle[aria-expanded='true'] .z-icon--arrow {
    transform: rotate(180deg);
  }
  /* No hover menus on touch screens: the button alone opens it. */
  .z-nav__sub,
  .z-nav__item--sub:hover > .z-nav__sub {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 0 15px;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .z-nav__toggle[aria-expanded='true'] + .z-nav__sub {
    display: block;
  }
  .z-nav__sub li + li {
    border-top: 0;
  }
  .z-nav__sublink {
    padding: 0 10px 0 30px;
    line-height: 45px;
    border-bottom: 1px solid var(--z-line);
  }
}
@media (max-width: 767px) {
  .z-header__logo img {
    width: 95px;
  }
}
/* The smallest phones (audit item 20, 2026-11-03): at 320px the logo ran
 * into "Log In" with no gap ("ZYLO5Log In"). A slightly smaller logo and
 * tighter spacing on the right leave at least 16px between them. */
@media (max-width: 359px) {
  .z-header__logo img {
    width: 80px;
  }
  .z-header__login {
    margin-right: 10px;
  }
  .z-header__menu {
    padding-left: 14px;
  }
}

/* ---- Footer ------------------------------------------------------------- */
.z-footer {
  background: var(--z-night-2);
  color: var(--z-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  padding-top: 30px;
}
/* Room under the footer while the consent banner is open (site.js sets
 * --z-banner-room to the banner's height), so the page's last links can be
 * scrolled clear of it; none otherwise. */
.z-footer::after {
  content: '';
  display: block;
  height: var(--z-banner-room, 0px);
}
.z-footer__top {
  min-height: 80px;
  padding-top: 20px;
}
.z-footer__logo {
  display: inline-block;
  width: 135px;
  height: auto;
  margin-bottom: 15px;
}
.z-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  column-gap: 50px;
  padding: 30px 0 60px;
  border-top: 1px solid var(--z-footer-line);
}
.z-footer__menu li {
  padding: 4px 0;
  line-height: 20px;
}
.z-footer__menu a {
  line-height: 28px;
}
/* As the old footer: its menu and contact links turn lilac on hover, and the
 * current page's entry stays lilac (measured on the captured pages). */
.z-footer__menu a:hover,
.z-footer__menu a[aria-current='page'],
.z-footer__contact a:hover {
  color: var(--z-footer-line);
}
.z-footer__card {
  /* The old card's own text size and line: the link's two lines sit on it. */
  font-size: 17px;
  line-height: 28.9px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.z-footer__card p {
  font-size: 17px;
  font-weight: 300;
  line-height: 25px;
  margin-bottom: 10px;
}
.z-footer__card a {
  font-size: 16px;
  color: var(--z-green);
}
.z-footer__social {
  display: flex;
  margin-top: 45px;
}
/* The old icons were inline blocks on a 28.9px line, so each sat 5px below
 * the list's top without making it taller: the 5px down and 5px back. */
.z-footer__social li {
  padding: 4px 0;
  margin: 5px 14px -5px 0;
  line-height: 20px;
}
.z-footer__social a {
  display: block;
  line-height: 28px;
}
.z-footer__social img {
  width: 22px;
  height: auto;
}
.z-footer__bottom {
  padding: 5px 0;
  /* The footer's own dark purple, with a thin lilac line above, not the old
   * white bar (owner, 2026-11-10). */
  background: var(--z-night-2);
  border-top: 1px solid rgba(167, 142, 216, 0.35);
}
/* Terms and Privacy turn mint green on hover and on their own page, as the
 * other footer links do (the purple they took on the white bar would be lost
 * on the dark one). */
.z-footer__bottom .z-footer__legal a:hover,
.z-footer__bottom .z-footer__legal a[aria-current='page'] {
  color: var(--z-green);
}
/* Astra's three equal columns: copyright in the first, the legal links in the third. */
.z-footer__bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 50px;
  align-items: center;
  width: calc(100% - 70px);
  margin: 0 auto;
  min-height: 50px;
}
.z-footer__legal {
  grid-column: 3;
  text-align: right;
}
.z-footer__copy {
  font-size: 16px;
  font-weight: 300;
  line-height: 28.9px;
  color: rgba(255, 255, 255, 0.75);
}
.z-footer__legal {
  font-size: 16px;
  font-weight: 300;
  line-height: 28.9px;
  color: rgba(255, 255, 255, 0.75);
}
.z-footer__legal a {
  font-weight: 400;
}
@media (min-width: 1601px) {
  .z-footer__bottom-row { width: 1554px; }
}
@media (max-width: 1120px) {
  .z-footer__bottom-row { width: calc(100% - 60px); }
}
@media (max-width: 1024px) {
  .z-footer__bottom-row { width: calc(100% - 50px); }
}
/* Tablets: three equal columns, the bottom line stacked and centred. */
@media (max-width: 921px) {
  .z-footer__main {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .z-footer__main {
    padding-bottom: 70px;
  }
  .z-footer__copy,
  .z-footer__legal {
    text-align: center;
  }
}
/* The old bottom bar took its tablet padding up to 920px (at 921px it was
 * already the computer's 5px), and 10px under each of its parts up to 921px. */
@media (max-width: 920px) {
  .z-footer__bottom {
    padding: 15px 0;
  }
}
@media (min-width: 768px) and (max-width: 921px) {
  .z-footer__copy,
  .z-footer__legal {
    margin-bottom: 10px;
  }
}
/* Phones: one centred column on the dark background. */
@media (max-width: 767px) {
  .z-footer {
    padding: 15px 15px 0;
  }
  .z-footer__top,
  .z-footer__main {
    text-align: center;
  }
  .z-footer .z-cw {
    width: 100%;
  }
  .z-footer__main {
    grid-template-columns: 1fr;
    row-gap: 35px;
    padding-bottom: 35px;
  }
  .z-footer__card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  .z-footer__social {
    justify-content: center;
    /* Centred as the old inline row was, its spaces counted: 2px right. */
    padding-left: 4px;
  }
  .z-footer__bottom {
    padding: 20px 0;
    background: none;
  }
  .z-footer__bottom-row {
    grid-template-columns: 1fr;
    row-gap: 20px;
    width: 100%;
  }
  .z-footer__legal {
    grid-column: 1;
  }
  .z-footer__copy,
  .z-footer__legal {
    color: var(--z-white);
  }
}
.z-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--z-green);
  color: var(--z-white);
  border-radius: 3px;
}
.z-top[hidden] {
  display: none;
}
/* A box near the bottom of a phone screen sat under this button, which then
   took the tap meant for the box's Start (UI/UX audit UX-21): it goes while
   a box has the focus. */
:root:has([data-zylo-picker]:focus-within) .z-top {
  display: none;
}
.z-top .z-icon--arrow {
  width: 15px;
  height: 13px;
  transform: rotate(180deg);
}

@media (min-width: 768px) { :root { --z-edge: 24px; } }

/* ---- The content grid -------------------------------------------------
 * The old theme's boxed width, step for step (measured on the captured
 * pages): full width less 60px on phones, then 748, 900, 1004, 1100,
 * the viewport less 20px, 1400, 1500, and 70% less 20px above 1600.
 */
.z-wrap {
  width: calc(100% - 60px);
  /* The old theme's steps left 10px at some widths; never less than the edge room. */
  max-width: calc(100% - 2 * var(--z-edge));
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .z-wrap { width: 748px; } }
@media (min-width: 921px) { .z-wrap { width: 900px; } }
@media (min-width: 1025px) { .z-wrap { width: 1004px; } }
@media (min-width: 1121px) { .z-wrap { width: 1100px; } }
@media (min-width: 1361px) { .z-wrap { width: calc(100% - 20px); } }
@media (min-width: 1421px) { .z-wrap { width: 1400px; } }
@media (min-width: 1521px) { .z-wrap { width: 1500px; } }
@media (min-width: 1601px) { .z-wrap { width: calc(70% - 20px); } }

/* ---- Shared page blocks ------------------------------------------------ */
/* The small capitals line above a heading, with the old theme's 28px rule
 * to its left on computers (.top-line .in::before). Sizes come from each
 * page's measured CSS. */
.z-eyebrow {
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
}
.z-eyebrow > span {
  display: inline-block;
}
/* The rule belongs to the outer span only (Compare's eyebrow nests spans). */
.z-eyebrow > span::before {
  content: '';
  display: block;
  position: relative;
  top: 10px;
  left: -40px;
  width: 28px;
  height: 1px;
  background: #d4c8ff;
}
@media (max-width: 769px) {
  .z-eyebrow > span::before { display: none; }
}
/* A row of columns: side by side from 770px, each placed by its measured
 * width and left edge in one grid cell; stacked below. */
.z-sbs {
  display: flow-root;
}
@media (min-width: 770px) {
  .z-sbs { display: grid; align-items: start; }
  .z-sbs > * { grid-area: 1 / 1; }
}
/* Rows the old pages put side by side from 768px (their 50% column rule). */
@media (min-width: 768px) {
  .z-sbs--768 { display: grid; align-items: start; }
  .z-sbs--768 > * { grid-area: 1 / 1; }
}
.z-green { color: #34d399; }
.z-purple { color: #5b21b6; }

/* ---- Text pages (lib/native/doc.ts); type in gen/doc.css ---------------- */
/* The title's distance from the header, measured on the captured pages. */
.z-doc {
  padding: 40px 0 10px;
}
@media (min-width: 375px) and (max-width: 769px) { .z-doc { padding-bottom: 20px; } }
@media (min-width: 1601px) { .z-doc { padding-bottom: calc(2% + 10px); } }
.z-doc__title {
  margin-bottom: 30px;
}
.z-doc strong {
  font-weight: 600;
}
@media (min-width: 770px) {
  .z-doc { padding-top: 70px; }
  .z-doc__title { margin-bottom: 50px; }
}
@media (min-width: 921px) { .z-doc { padding-top: 80px; } }
@media (min-width: 1121px) { .z-doc { padding-top: 80px; } }
@media (min-width: 1361px) { .z-doc { padding-top: 90px; } }
@media (min-width: 1521px) { .z-doc { padding-top: 100px; } }
@media (min-width: 1601px) { .z-doc { padding-top: calc(1.88% + 31.9px); } }
.z-doc__section + .z-doc__section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ccc;
}
.z-doc li {
  background: url(/wp-content/uploads/2026/03/Tick.svg) no-repeat 0 7px;
}
.z-callout {
  padding: 30px;
  background: #ede8ff;
  border-radius: 8px;
  border-left: 5px solid #9f6cf5;
}
.z-callout--plain {
  border-left: 0;
}
/* Spacing the old pages set on single elements (scripts/native/import-doc.mjs). */
.z-doc .z-mb0 { margin-bottom: 0; }
.z-doc .z-mb15 { margin-bottom: 15px; }
/* As measured: 20px on phones, none at 768 and 769px (an old rule's edge), 40px above. */
.z-doc .z-mb40 { margin-bottom: 20px; }
@media (min-width: 768px) { .z-doc .z-mb40 { margin-bottom: 0; } }
@media (min-width: 770px) { .z-doc .z-mb40 { margin-bottom: 40px; } }

/* ---- Shared blocks (lib/native/blocks.ts); sizes are measured per page ---- */
.z-h2 { font-weight: 700; }
.z-checks img {
  display: inline-block;
  vertical-align: middle;
}
.z-checks--cta img { margin-right: 0; }
.z-checks__item { white-space: nowrap; }
/* The line under a box keeps the edge room; on the narrowest phones its second item wraps. */
.z-checks { padding-left: var(--z-edge); padding-right: var(--z-edge); }

/* The line under every scan box (blocks.ts boxNote): the same words, size,
 * colour and gap on every page, on one line. Each item keeps its tick with
 * its words, so a very narrow phone can only break the line between items. */
.z-boxnote {
  /* The items size themselves to this line's width (cqi). The 0 font size
   * keeps the spaces between items (there for screen readers) from adding
   * width of their own. */
  container-type: inline-size;
  margin: 12px 0 0;
  text-align: center;
  color: rgb(61, 38, 112);
  font-size: 0;
  line-height: 0;
}
/* One size, 12px, wherever it fits on one line: every box on a computer or
 * tablet. Where there is less room (a phone, or a narrow column such as the
 * blog's side box) the words shrink just enough to keep one line, down to
 * 10px; below that the line breaks between items. The line is about 32.5
 * times its font size wide, so 100cqi / 32.6 is the size that just fits. */
.z-boxnote__item {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(10px, calc(100cqi / 32.6), 12px);
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
}
.z-boxnote__item + .z-boxnote__item { margin-left: 0.6em; }
.z-boxnote__tick { color: var(--z-green); font-weight: 700; margin-right: 0.3em; }
/* On a dark background: white at 65%, as the old hero lines were. */
.z-boxnote--dark { color: rgba(255, 255, 255, 0.65); }
/* The box's wrapper keeps an 85px least height for the old WordPress pages
 * (lib/zylo-picker.css); a 68px box then left 17px of blank under it, so the
 * gap to this line wandered between 12 and 29px. Here the box sets it. */
html [data-zylo-picker]:has(+ .z-boxnote) { min-height: 0; }
/* Two narrow boxes sit in padded cards (the blog's side box, the pricing
 * card); the line may use most of that padding, to stay on one line. */
.z-post__cta .z-boxnote { margin-left: -16px; margin-right: -16px; }
.z-pr-card .z-boxnote { margin-left: -20px; margin-right: -20px; }
/* About's line sits right in its section, not in a box's wrapper: it keeps
 * the screen's edge room, as every box does. */
.z-amission .z-boxnote { padding-left: var(--z-edge); padding-right: var(--z-edge); }

/* Touch targets of at least 44 by 44px (UX-19) for the header's "Log In"
 * and "Try Zylo", the FAQ questions and the carousel arrows, which were as
 * small as 25px: a transparent box over each, centred on it and never
 * smaller than the control, takes the tap. Nothing it covers moves or
 * changes colour; the controls look exactly as before. */
.z-header__login,
.z-header__actions .z-btn,
.z-faq__button {
  position: relative;
}
.z-header__login::after,
.z-header__actions .z-btn::after,
.z-faq__button::after,
.z-carousel__prev::after,
.z-carousel__next::after,
.z-carousel__pause::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}

/* FAQ (Element Pack's accordion, rebuilt): plus when closed, minus when open. */
.z-faq__button {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
}
.z-faq__icon-wrap { display: inline-flex; flex: none; }
.z-faq__icon { fill: currentColor; }
.z-faq__icon--minus,
.z-faq__item.is-open .z-faq__icon--plus { display: none; }
/* A closed answer: hidden by style, not the `hidden` attribute, and only
 * when scripts run (z-js, set first thing in the head), so a visitor or a
 * crawler without them reads every answer, as on the old page (blocks.ts). */
.z-js .z-faq__item:not(.is-open) .z-faq__a { display: none; }
.z-faq__item.is-open .z-faq__icon--minus { display: block; }

/* Floating (Element Pack's floating effect, rebuilt): the element drifts
 * down and back by --z-float px, 1s each way, ease-in-out, for ever. Used on
 * How It Works and Marketing Examples; off for visitors who ask for reduced
 * motion. */
.z-float {
  animation: z-float 1s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite alternate;
}
.z-float--5 { --z-float: 5px; }
.z-float--7 { --z-float: 7px; }
@keyframes z-float {
  from { transform: translateY(0); }
  to { transform: translateY(var(--z-float, 5px)); }
}
@media (prefers-reduced-motion: reduce) {
  .z-float { animation: none; }
}

/* Read by screen readers, not shown. */
.z-sr:not(thead) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The closing section's "No credit card required" line (Compare). */
.z-cta__note {
  font-family: 'DM Mono', monospace;
  text-align: center;
}

/* ---- Carousels (lib/native/blocks.ts carousel(), behaviour in site.js);
 * each page sets how many slides show at once. ---- */
.z-carousel {
  position: relative;
}
.z-carousel__viewport {
  overflow: hidden;
}
.z-carousel__track {
  display: flex;
  align-items: flex-start;
  column-gap: 10px;
}
.z-carousel__slide {
  flex: 0 0 auto;
}
.z-carousel__slide img {
  display: block;
  height: auto;
}
.z-carousel__prev,
.z-carousel__next {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 25px;
  height: 25px;
  margin-top: -12.5px;
  color: #5b21b6;
  fill: currentColor;
}
.z-carousel__prev svg,
.z-carousel__next svg {
  width: 25px;
  height: 25px;
}
/* Where the old arrows sat: 30px outside the slides (not 40: that put them
 * 10px past the screen edge on phones). */
/* Never closer to the window's edge than the edge room: (100vw - 100%) / 2 is
 * the room beside the slides (the carousels are centred). */
.z-carousel__prev { left: max(-30px, calc(var(--z-edge) - (100vw - 100%) / 2)); }
.z-carousel__next { right: max(-30px, calc(var(--z-edge) - (100vw - 100%) / 2)); }
/* The pause control on a moving carousel (WCAG 2.2.2): a round button at the
 * bottom right of the slides, 44px to tap (the ::after above it in
 * "Touch targets"), shown only once site.js runs the carousel. */
.z-carousel__pause {
  display: none;
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(13, 4, 24, 0.72);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.z-js .z-carousel__pause { display: inline-flex; }
.z-carousel__pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.z-carousel__icon { width: 14px; height: 14px; fill: currentColor; }
.z-carousel__icon--play,
.z-carousel__pause.is-paused .z-carousel__icon--pause { display: none; }
.z-carousel__pause.is-paused .z-carousel__icon--play { display: block; }

/* Computer and phone versions of one element, switched where the old pages
 * switched. Last in this file, so it wins over the rules above. */
.z-m { display: none; }
@media (max-width: 769px) {
  .z-d { display: none; }
  .z-m { display: block; }
}

/* Boxes that drift with the pointer, as Elementor's mouse track did (How It
 * Works' hero picture and arrows; site.js sets the offsets). */
[data-z-mouse] {
  transform: translate(var(--z-mx, 0px), var(--z-my, 0px));
  transition: transform 0.4s;
}

/* ---- Hero headings, one style on every page ------------------------------ */
/* Owner, 2026-11-03: the hero text "feels very tight" and the second line
 * should start on its own line, the same on every page. Every page's h1 had
 * a line height of 1 and negative letter spacing (-0.013em to -0.056em),
 * at 76px on most pages. Now: normal spacing, room between the lines, one
 * size scale, and the green phrase always on its own line (site.css hides
 * <br> on phones, so the break is the phrase's own block). The #z-main id
 * outranks each page's measured gen/*.css h1 rules. */
/* Letter spacing stays at the owner's 2026-11-03 choice, normal (owner,
 * 2026-11-06: "revert to 3Nov", after a -0.025em try for audit item 6).
 * Post-migration audit item 9: headings wrap balanced, so no line (the
 * white part above the green phrase included) is left with one word on a
 * phone. */
#z-main h1 { letter-spacing: 0; line-height: 1.15; font-weight: 700; text-wrap: balance; }
#z-main h1 > .z-green { text-wrap: balance; }
/* Item 10: the line under a hero heading ran the page's whole width on a
 * computer ("looks too blocky"); it is now held to a readable measure,
 * centred. */
@media (min-width: 770px) {
  #z-main :is(.z-hero__intro, .z-ahero__text, .z-chero__text, .z-ehero__text, .z-hhero__text, .z-shero__text) { max-width: 760px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
  /* Their hand-placed breaks were set for the full width. */
  #z-main :is(.z-hero__intro, .z-ahero__text, .z-chero__text, .z-ehero__text, .z-hhero__text, .z-shero__text) br { display: none; }
}
/* QA audit sheet, 2026-11-05 (No Orphan Words): section headings, card
 * titles and the blog's band heading ended on one word at some widths.
 * Balanced wrapping keeps at least two words on the last line at every
 * width, without rewording; body paragraphs avoid a lone last word too. */
#z-main :is(h2, h3, h4) { text-wrap: balance; }
/* A heading's last two words stay on one line (lib/native/keep-last-words.ts),
 * only when they are a short pair, which fits anywhere. */
.z-keep { white-space: nowrap; }
/* Phones: blog post titles a little smaller (owner, 2026-11-06), 28px for
 * 36px, so a long title takes four lines, few enough for balanced wrapping,
 * and its last two words ("Business's Marketing?") fit on one line. */
@media (max-width: 599px) { #z-main .z-post__title { font-size: 28px; line-height: 1.15; } }
#z-main p { text-wrap: pretty; }
#z-main :is(.z-hero__title, .z-ahero__title, .z-shero__title, .z-chero__title, .z-hhero__title, .z-ehero__title, .z-pr-hero__title, .z-doc__title) { font-size: clamp(34px, 4.6vw, 64px); }
#z-main h1 > .z-green { display: block; }
/* A keyword's own landing headline (lib/personalize.ts) runs its green part on in the same line, so it wraps as one sentence. */
#z-main h1 > .z-green.z-green--flow { display: inline; }
/* Such a headline often fits on one line, and the gap measured for the two-line headline then reads as too far from the line under it (owner, 2026-11-04): close it up to 10px, the smallest gap any width uses for the default headline. */
#z-main h1:has(> .z-green--flow) ~ :is([data-zp="text"], [data-zp="text-m"]) { margin-top: 10px; }

/* ---- Backgrounds, as the app paints them ---------------------------------- */
/* Owner, 2026-11-03: the app's backgrounds use gradients to pop and feel
 * richer; the site's were flat. The values are the app's own (zylo-cde
 * app/globals.css: --mesh-scan, --noise, --vignette-scan for dark screens;
 * --canvas-ground, --canvas-glow for light ones). The vignette darkens the
 * sides only, so stacked dark sections do not show dark bands between them.
 * No motion for visitors who ask for less. */
:root {
  --z-mesh: radial-gradient(ellipse 42% 40% at 6% 44%, rgba(124, 58, 237, 0.6) 0%, transparent 58%), radial-gradient(ellipse 38% 36% at 96% 26%, rgba(91, 33, 182, 0.58) 0%, transparent 60%), radial-gradient(ellipse 30% 26% at 66% 92%, rgba(52, 211, 153, 0.11) 0%, transparent 64%);
  --z-vignette: radial-gradient(ellipse 80% 160% at 50% 50%, transparent 45%, rgba(5, 1, 11, 0.55) 100%);
  --z-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url%28%23n%29' opacity='.022'/%3E%3C/svg%3E");
  --z-canvas-ground: #e8e4f2;
  --z-canvas-glow: radial-gradient(ellipse 900px 620px at -5% 42%, rgba(91, 33, 182, 0.16), transparent 55%), radial-gradient(ellipse 820px 560px at 105% 12%, rgba(91, 33, 182, 0.12), transparent 55%), radial-gradient(ellipse 700px 420px at 62% -10%, rgba(52, 211, 153, 0.07), transparent 60%);
}
/* Dark: the section is the stage; .z-atmos (lib/native/render.ts) paints
 * behind its content. The old glow pictures are replaced. */
#z-main :is(.z-hero, .z-brief, .z-shero, .z-sclose, .z-sfoot, .z-chero, .z-ccards-sec, .z-ctables, .z-cmobile, .z-hhero, .z-agents, .z-cover, .z-aingr, .z-ehero, .z-egoals, .z-pr-hero, .z-pr-ex):has(> .z-atmos) {
  position: relative;
  isolation: isolate;
  background-color: #1e0a3c;
  background-image: none;
}
.z-atmos { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--z-grain) 0 0 / 180px 180px, var(--z-vignette); }
.z-atmos__mesh { position: absolute; inset: -25%; z-index: -1; background: var(--z-mesh); animation: z-atmos-drift 34s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate; will-change: transform; }
.z-atmos__sweep { position: absolute; left: 0; right: 0; top: -34%; height: 62%; background: linear-gradient(180deg, transparent, rgba(196, 181, 253, 0.07), transparent); animation: z-atmos-sweep 13s linear infinite; will-change: transform; }
@keyframes z-atmos-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2.4%, -2%, 0) scale(1.07); }
  100% { transform: translate3d(-2%, 2.4%, 0) scale(1.03); }
}
@keyframes z-atmos-sweep { 0% { transform: translateY(0); } 100% { transform: translateY(240%); } }
@media (prefers-reduced-motion: reduce) {
  .z-atmos__mesh, .z-atmos__sweep { animation: none; }
}
/* Light: the app's lavender ground with its violet and mint glow. */
#z-main :is(.z-pains, .z-cta, .z-hsteps, .z-week, .z-cfit, .z-ccost, .z-ssteps, .z-aintro, .z-amission, .z-etabs, .z-pr-film, .z-pr-inc, .z-pr-vs, .z-pr-end) {
  background-color: var(--z-canvas-ground);
  background-image: var(--z-canvas-glow);
}
/* On the lavender ground the small notes under a closing box (#6B50A0,
 * 4.2:1 under the glow) and the pricing ticks (mint, 1.3:1) were too faint:
 * the site's darker violet (#5E4A9A) and a deep green read at 4.5:1 and up. */
#z-main :is(.z-cta__note, .z-amission__note) { color: #5e4a9a; }
#z-main :is(.z-pr-inc, .z-pr-vs, .z-pr-end) .z-pr__tick { color: #047857; }
/* Two dark sections back to back (Compare's hero, cards and tables; AI
 * social's close and its foot) read as one dark area (owner, 2026-11-03:
 * "it should feel continuous"): each one's glow fades out over 200px at
 * the edge it shares with the other, so both meet in the same plain
 * #1E0A3C and there is no line between them. */
#z-main section:has(> .z-atmos) + section:has(> .z-atmos) > .z-atmos {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 200px);
  mask-image: linear-gradient(to bottom, transparent, #000 200px);
}
#z-main section:has(> .z-atmos):has(+ section > .z-atmos) > .z-atmos {
  -webkit-mask-image: linear-gradient(to top, transparent, #000 200px);
  mask-image: linear-gradient(to top, transparent, #000 200px);
}
/* A section between two dark ones fades at both edges. */
#z-main section:has(> .z-atmos) + section:has(> .z-atmos):has(+ section > .z-atmos) > .z-atmos {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 200px, #000 calc(100% - 200px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 200px, #000 calc(100% - 200px), transparent);
}

/* A link inside a personalized header line (lib/personalize.ts, e.g. "See how
   Zylo compares") takes the line's own colour, so it is underlined to read as
   a link, and brightens on hover and keyboard focus. */
#z-main [data-zp="text"] a,
#z-main [data-zp="text-m"] a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
#z-main [data-zp="text"] a:hover,
#z-main [data-zp="text-m"] a:hover,
#z-main [data-zp="text"] a:focus-visible,
#z-main [data-zp="text-m"] a:focus-visible {
  color: #fff;
}
#z-main [data-zp="text"] a:focus-visible,
#z-main [data-zp="text-m"] a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

/* The old theme kept How It Works' and Marketing Examples' hero headings
 * 10px from the window's edge on the narrowest phones (gen/*.css, measured
 * rules without var(--z-edge)); with the headings' balanced lines and
 * tracking a line now reaches that edge, so they get the site's edge room
 * (scripts/test-edges.mjs, 2026-11-06). */
@media (max-width: 391px) {
  #z-main .z-hhero__title { width: calc(100% - 2 * var(--z-edge)); margin-left: var(--z-edge); }
}
@media (max-width: 374px) {
  #z-main .z-ehero__title { width: calc(100% - 2 * var(--z-edge)); margin-left: var(--z-edge); }
}
