/* Classic Monks landing layer: the design's page-v2 to page-v6 stylesheets, joined in the
   order they loaded, so the cascade is unchanged. Each part keeps its own header: v2 is the
   base, v3 and v4 add sections, v5 refines grounds and contrast, v6 adds motion. */

/* Classic Monks landing page, v2.
   Neutral, crisp ground; real product UI instead of illustration; brand green used as a
   highlighter and for the one primary action. Built on the design system tokens (cm-tokens.css). */

.x {
  --pg: #F8F9F8; --sf: #FFFFFF; --sk: #F1F3F2; --ln: #E3E7E4; --ln2: #C7CFCA;
  --ink: #0D1411; --mu: #55605A; --sub: #737E78;
  --gr: #01824C; --gr-dk: #015433; --mark: #BDE5CC;
  --dk: #0A0F0D; --dk2: #121915; --dk3: #1A221E; --dkln: #252F2A; --dkink: #EDF2EF; --dkmu: #93A199; --neon: #5BD394;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --saffron: #E8A13A; --saffron-50: #FBF1E0; --saffron-ink: #8A5A00;
  --hand: "Caveat", "Segoe Print", cursive;
  --shadow: 0 1px 2px rgba(13,20,17,.06), 0 24px 48px -24px rgba(13,20,17,.18);
  --shadow-lg: 0 1px 2px rgba(13,20,17,.06), 0 40px 80px -32px rgba(13,20,17,.28);
  position: relative; isolation: isolate; width: 100%;
  background: var(--pg); color: var(--ink);
  font: 400 16px/26px var(--font-sans); -webkit-font-smoothing: antialiased;
}
.x *, .x *::before, .x *::after { box-sizing: border-box; }
:where(.x) :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(.x) :where(ul, ol) { list-style: none; }
:where(.x) :where(a) { color: inherit; text-decoration: none; }
:where(.x) :where(h1, h2, h3) { text-wrap: balance; }
:where(.x) :where(p, li) { text-wrap: pretty; }
.x :focus-visible { outline: 2px solid var(--gr); outline-offset: 3px; border-radius: 4px; }

/* Film grain over the whole page: gives the flat neutral ground some tooth */
.x::after {
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.x-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.x-sec { position: relative; padding: 112px 0; }

.x-alt { background: var(--sk); border-block: 1px solid var(--ln); }
.x-ink { background: var(--dk); color: var(--dkink); }
.x-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.x-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.x-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; }

@media (max-width: 900px) { .x-head--split { grid-template-columns: minmax(0, 1fr); gap: 16px; } .x-sec { padding: 80px 0; } }
@media (max-width: 640px) { .x-wrap { padding: 0 20px; } .x-sec { padding: 64px 0; } }

/* ---------- Type ---------- */
.x-display { font: 600 68px/1 var(--font-display); letter-spacing: -.04em; }
.x-h2 { font: 600 44px/1.06 var(--font-display); letter-spacing: -.032em; }
.x-h3 { font: 600 18px/26px var(--font-sans); letter-spacing: -.01em; }
.x-lead { font-size: 18px; line-height: 28px; color: var(--mu); max-width: 600px; }

.x-label { font: 500 12px/16px var(--font-mono); letter-spacing: .02em; color: var(--sub); }

.x-ink .x-lead, .x-ink .x-body { color: var(--dkmu); }
.x-ink .x-label, .x-ink .x-num { color: var(--dkmu); }
@media (max-width: 900px) { .x-display { font-size: 52px; } .x-h2 { font-size: 36px; } }
@media (max-width: 640px) { .x-display { font-size: 40px; line-height: 1.04; } .x-h2 { font-size: 30px; } .x-lead { font-size: 17px; line-height: 26px; } }

/* Highlighter: a flat green stroke under the key phrase, not a gradient wash */
.x-mark { background: linear-gradient(var(--mark), var(--mark)) 0 88% / 100% .28em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.x-ink .x-mark { background: none; color: var(--neon); }

/* ---------- Pill ---------- */
.x-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border-radius: 999px; background: var(--sf); border: 1px solid var(--ln); font: 500 12px/16px var(--font-mono); color: var(--mu); }

.x-pill b { color: var(--ink); font-weight: 500; }
.x-ink .x-pill { background: var(--dk2); border-color: var(--dkln); color: var(--dkmu); }

/* ---------- Buttons (press feedback, hover only on real pointers) ---------- */
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border-radius: 10px; border: 0; font: 600 15px/1 var(--font-sans); white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.x-btn:active { transform: scale(.97); }
.x-btn--plain { padding: 0 16px; }

.x-btn--ink { background: var(--ink); color: #FFF; }

@media (hover: hover) and (pointer: fine) {
  .x-btn--ink:hover { background: #232B27; }

  .x-link:hover { text-decoration-color: currentColor; }
}
.x-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--ln2); transition: text-decoration-color 150ms ease; }
.x-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Hero ---------- */
.x-hero { padding: 88px 0 0; text-align: center; }
.x-hero .x-display { max-width: 980px; margin: 24px auto 0; }
.x-hero .x-lead { margin: 24px auto 0; max-width: 620px; }
.x-hero .x-actions { justify-content: center; margin-top: 32px; }

.x-faces { display: flex; }
.x-faces span { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--pg); background: var(--ink); color: #FFF; font: 600 10px/1 var(--font-sans); }
.x-faces span:first-child { margin-left: 0; }
.x-faces span:nth-child(2) { background: var(--gr); }
.x-faces span:nth-child(3) { background: #5E6B64; }
.x-faces span:nth-child(5) { background: var(--sf); color: var(--ink); border-color: var(--ln); width: auto; padding: 0 8px; border-radius: 999px; }
.x-stars { display: inline-flex; gap: 2px; color: var(--gr); }
.x-stars i { width: 13px; height: 13px; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* Small switch used inside cards and mock UI */
.x-sw { position: relative; flex: none; width: 30px; height: 17px; border-radius: 9px; background: #8A978F; transition: background-color 160ms ease; }
.x-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #FFF; box-shadow: 0 1px 2px rgba(18,24,38,.2); transition: transform 200ms var(--ease-out); }
.x-sw--on, :checked + .x-sw { background: var(--gr); }
.x-sw--on::after, :checked + .x-sw::after { transform: translateX(13px); }
.x-ink .x-sw { background: #333D38; }
.x-ink .x-sw--on, .x-step--hot .x-sw--on, .x-step--hot :checked + .x-sw { background: var(--neon); }
/* Working switches: the whole row is the hit area, the input stays reachable by keyboard */
.x-tgrow, label.x-frow, label.x-row, label.x-step__ui { position: relative; cursor: pointer; }
.x-tgrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: inherit; }
.x-tgrow input, label.x-frow input, label.x-row input, label.x-step__ui input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
:focus-visible + .x-sw { outline: 2px solid var(--gr); outline-offset: 3px; }
label.x-row:active .x-sw::after, label.x-frow:active .x-sw::after, .x-tgrow:active .x-sw::after, label.x-step__ui:active .x-sw::after { width: 16px; }
:checked + .x-sw::after { transition: transform 200ms var(--ease-out), width 120ms ease; }
label.x-row:active :checked + .x-sw::after, label.x-frow:active :checked + .x-sw::after, .x-tgrow:active :checked + .x-sw::after, label.x-step__ui:active :checked + .x-sw::after { transform: translateX(10px); }

/* ---------- Product stage: the window straddles light page and dark band ---------- */
.x-stage { position: relative; margin-top: 72px; padding-bottom: 72px; background: linear-gradient(var(--pg) 0 260px, var(--dk) 260px); }
.x-window { position: relative; max-width: 1136px; margin: 0 auto; border-radius: 16px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.x-window__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--ln); background: var(--sk); }
.x-lights { display: flex; gap: 6px; }
.x-lights i { width: 10px; height: 10px; border-radius: 50%; background: #D6DBD8; }
.x-window__url { margin: 0 auto; padding: 3px 12px; border-radius: 7px; background: var(--sf); border: 1px solid var(--ln); font: 500 12px/16px var(--font-mono); color: var(--sub); }
.x-window__bar > span:last-child { width: 46px; }
.x-ink .x-window { border-color: var(--dkln); }

/* Real Classic Monks settings screen, reduced to fit (uses the design system's cm-dash classes) */
.x-dash { border-radius: 0; }
.x-dash .cm-dash-topbar { height: 54px; padding: 0 16px; gap: 6px; }
.x-dash .cm-dash-topbar__logo { height: 22px; width: auto; }
.x-dash .cm-dash-tab { font-size: 13px; padding: 0 9px; }
.x-dash .cm-dash-tabs { gap: 2px; }
.x-dash .cm-dash-search { width: 160px; }
.x-dash .cm-dash-search input, .x-dash .cm-dash-btn { height: 32px; font-size: 12px; }

.x-dash .cm-dash-sidebar { padding: 14px 10px; }
.x-dash .cm-dash-nav__item { height: 38px; font-size: 14px; padding: 0 12px; }
.x-dash .cm-dash-main { padding: 22px 24px; }
.x-dash .cm-dash-card { padding: 6px 20px; }
.x-dash .cm-dash-page { gap: 14px; }
.x-dash .cm-dash-row { min-height: 50px; }

.x-plugrow { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--dash-divider); font-size: 13px; color: var(--dash-text); }
.x-plugrow img { width: 28px; height: 28px; }
.x-plugrow i { width: 28px; height: 28px; border-radius: 6px; background: var(--dash-chip); }
.x-plugrow s { color: var(--dash-text-subtle); }
.x-plugrow small { font-size: 11px; color: var(--dash-text-subtle); }
.x-plugrow b { font-weight: 600; color: var(--dash-heading); }
.x-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font: 600 11px/1 var(--font-ui); background: var(--dash-chip); color: var(--dash-text-muted); }
.x-tag--on { background: var(--dash-green-50); color: var(--dash-green-700); }

@media (max-width: 760px) { .x-dash .cm-dash-sidebar, .x-dash .cm-dash-tabs, .x-dash .cm-dash-search { display: none; } }

/* Works with strip inside the dark band */
.x-works { max-width: 1136px; margin: 48px auto 0; padding: 28px 32px; border-radius: 16px; border: 1px solid var(--dkln); display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.x-works__brands { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 600 18px/1 var(--font-display); color: var(--dkink); letter-spacing: -.01em; }
.x-works__brands span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--neon); margin-right: 10px; vertical-align: 2px; }
.x-marquee { grid-column: 1 / -1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.x-marquee__track { display: flex; gap: 8px; width: max-content; animation: x-marquee 60s linear infinite; }
.x-marquee__track span { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--dk2); border: 1px solid var(--dkln); font: 500 12.5px/1 var(--font-mono); color: var(--dkmu); }
@keyframes x-marquee { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .x-works { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; } }

/* ---------- Problem ---------- */
.x-problem__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
.x-problem__top .x-lead { margin-top: 20px; }

@media (max-width: 960px) { .x-problem__top, .x-turn { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- Proof: narrative left, measured panel right ---------- */

.x-person { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 12px; }

.x-person b { display: block; font-weight: 600; color: var(--ink); }
.x-person span { font-size: 14px; color: var(--sub); }
.x-panel { padding: 24px; border-radius: 16px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow); }
.x-panel__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--ln); }

.x-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.x-quote { display: grid; align-content: space-between; gap: 20px; padding: 24px; border-radius: 16px; background: var(--sf); border: 1px solid var(--ln); }
.x-quote blockquote { font-size: 16px; line-height: 25px; color: var(--ink); }
.x-who { display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 18px; color: var(--sub); }
.x-who b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }
.x-ini { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--sk); border: 1px solid var(--ln); color: var(--ink); font: 600 12px/1 var(--font-sans); }
@media (max-width: 960px) { .x-quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Replaces: two column ledger ---------- */

.x-ledger__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; font-size: 14px; color: var(--mu); }
@media (max-width: 900px) { .x-ledger__foot { flex-direction: column; align-items: flex-start; } }

/* ---------- Feature rows: copy + real UI ---------- */
.x-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.x-feat--flip > :first-child { order: 2; }
.x-feat__copy { display: grid; gap: 16px; align-content: start; }
.x-checks { display: grid; gap: 12px; margin-top: 8px; }
.x-checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 23px; color: var(--mu); }
.x-checks li b { color: var(--ink); font-weight: 600; }
.x-checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px; background: var(--mark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015433' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.x-ink .x-checks li { color: var(--dkmu); }
.x-ink .x-checks li b { color: var(--dkink); }
.x-ink .x-checks li::before { background-color: rgba(91,211,148,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235BD394' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

@media (max-width: 960px) { .x-feat { grid-template-columns: minmax(0, 1fr); gap: 40px; } .x-feat--flip > :first-child { order: 0; } }

/* Generic UI card */
.x-ui { border-radius: 16px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow); overflow: hidden; }
.x-ui__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ln); }
.x-ui__head b { font-weight: 600; font-size: 15px; }
.x-ui__body { padding: 8px 18px; }
.x-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ln); font-size: 14.5px; }
.x-row:last-child { border-bottom: 0; }
.x-row > :last-child:not(.x-sw):not(:first-child) { margin-left: auto; }
.x-badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 11.5px/1 var(--font-mono); background: var(--sk); color: var(--mu); }
.x-badge--ok { background: var(--mark); color: var(--gr-dk); }
.x-badge--run { background: #FBEFD9; color: #7A5200; }
.x-badge--run::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E8A13A; }

/* Wizard */

.x-progress { height: 4px; background: var(--sk); }
.x-progress i { display: block; height: 100%; width: 72%; background: var(--gr); }

/* Assets manager table */
.x-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.x-table th { text-align: left; font: 500 11.5px/16px var(--font-mono); color: var(--sub); padding: 10px 18px; border-bottom: 1px solid var(--ln); background: var(--sk); }
.x-table td { padding: 11px 18px; border-bottom: 1px solid var(--ln); }
.x-table tr:last-child td { border-bottom: 0; }
.x-table code { font: 500 12.5px/1 var(--font-mono); color: var(--ink); }
.x-table td:last-child { text-align: right; }

/* 2FA */

.x-otp { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.x-otp span { display: grid; place-items: center; width: 38px; height: 46px; border-radius: 10px; border: 1px solid var(--ln); background: var(--sk); font: 600 20px/1 var(--font-mono); }
.x-otp span:last-child { border-color: var(--gr); background: var(--sf); box-shadow: 0 0 0 3px var(--mark); }
.x-2fa__trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--mu); }

/* Bricks: dark band, code to structure */
.x-code { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 16px; border: 1px solid var(--dkln); background: var(--dk2); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.x-code > div { padding: 18px 20px; }
.x-code > div + div { border-left: 1px solid var(--dkln); background: var(--dk3); }
.x-code pre { margin: 14px 0 0; font: 400 13px/22px var(--font-mono); color: var(--dkmu); white-space: pre; overflow: hidden; }
.x-code pre b { color: var(--neon); font-weight: 400; }
.x-code pre i { color: #E8C07A; font-style: normal; }
.x-code pre u { color: var(--dkink); text-decoration: none; }
.x-tree { display: grid; gap: 6px; margin-top: 14px; font-size: 13.5px; }
.x-tree span { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--dk2); border: 1px solid var(--dkln); color: var(--dkink); }
.x-tree span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--neon); }
.x-tree span:nth-child(2) { margin-left: 18px; } .x-tree span:nth-child(n+3) { margin-left: 36px; }
.x-tree span:nth-child(n+3)::before { background: var(--dkmu); }
.x-ai { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 18px; border-radius: 14px; border: 1px solid var(--dkln); background: var(--dk2); font-size: 14.5px; line-height: 22px; color: var(--dkmu); }
.x-ai b { color: var(--dkink); }
.x-ai > span:first-child { flex: none; display: grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--neon); color: var(--dk); font: 600 11px/1 var(--font-mono); }
.x-ink .x-head .x-h2 { color: var(--dkink); }
@media (max-width: 640px) { .x-code { grid-template-columns: minmax(0, 1fr); } .x-code > div + div { border-left: 0; border-top: 1px solid var(--dkln); } }

/* Woo product */

.x-price { display: flex; align-items: baseline; gap: 10px; }
.x-price strong { font: 600 24px/1 var(--font-display); }
.x-price s { color: var(--sub); }
.x-swatches { display: flex; gap: 8px; }
.x-swatches i { width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(13,20,17,.12); }
.x-swatches i:nth-child(1) { background: #EFE9DC; box-shadow: 0 0 0 2px var(--sf), 0 0 0 4px var(--ink); }
.x-swatches i:nth-child(2) { background: #8C9A86; } .x-swatches i:nth-child(3) { background: #2F3A45; } .x-swatches i:nth-child(4) { background: #B5654A; }

.x-coupon { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--mark); color: var(--gr-dk); font-size: 13.5px; font-weight: 500; }
.x-coupon code { font: 600 12px/1 var(--font-mono); }

/* White label login */
.x-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.x-login__screen { display: grid; place-items: center; padding: 40px 24px; background: #E9EEF4; }
.x-login__form { width: 100%; max-width: 260px; padding: 24px; border-radius: 14px; background: #FFF; box-shadow: 0 12px 30px -12px rgba(20,30,50,.25); display: grid; gap: 10px; }
.x-login__brand { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 8px; font: 700 16px/1 var(--font-display); color: #1C2B4A; }
.x-login__brand i { width: 22px; height: 22px; border-radius: 6px; background: #2D4BD8; }
.x-field { height: 36px; border-radius: 8px; border: 1px solid #D8DEE8; background: #F7F9FC; }
.x-login__btn { height: 38px; border-radius: 8px; background: #2D4BD8; color: #FFF; display: grid; place-items: center; font-size: 14px; font-weight: 600; }

@media (max-width: 640px) { .x-login { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Close board ---------- */

.x-wall { columns: 3; column-gap: 16px; }
.x-wall .x-quote { break-inside: avoid; margin-bottom: 16px; }
.x-wall .x-quote--big { background: var(--dk); border-color: var(--dk); }
.x-wall .x-quote--big blockquote { color: var(--dkink); font: 500 22px/1.32 var(--font-display); letter-spacing: -.01em; }
.x-wall .x-quote--big .x-who { color: var(--dkmu); } .x-wall .x-quote--big .x-who b { color: var(--dkink); }
.x-wall .x-quote--big .x-ini { background: var(--dk3); border-color: var(--dkln); color: var(--dkink); }
@media (max-width: 960px) { .x-wall { columns: 2; } }
@media (max-width: 600px) { .x-wall { columns: 1; } }

.x-founder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.x-founder blockquote { font: 500 24px/1.4 var(--font-display); letter-spacing: -.012em; color: var(--ink); }
.x-founder .x-person { margin-top: 28px; }

@media (max-width: 960px) { .x-founder { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Pricing: tune the design system's PricingGlance to this page */

.x-pricing .cm-dualcard { border-radius: 16px; border-color: var(--ln); box-shadow: 0 1px 2px rgba(13,20,17,.04); }
.x-pricing .cm-btn { border-radius: 10px; transition: transform 160ms var(--ease-out), background-color 150ms ease; }
.x-pricing .cm-btn:active { transform: scale(.97); }

.x-pricing .cm-dualcard:not(.cm-dualcard--night) .cm-btn--primary { background: var(--gr); color: #FFF; }
@media (hover: hover) and (pointer: fine) { .x-pricing .cm-dualcard:not(.cm-dualcard--night) .cm-btn--primary:hover { background: var(--gr-dk); } }

/* FAQ: heading left, list right */
.x-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.x-faq__aside { display: grid; gap: 16px; position: sticky; top: calc(96px + var(--cms-bar, 0px)); }
.x-faq__aside p { font-size: 15px; color: var(--mu); }
.x-faq__list { border-top: 1px solid var(--ln); }
.x-faq__list details { border-bottom: 1px solid var(--ln); }
.x-faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.x-faq__list summary::-webkit-details-marker { display: none; }
.x-faq__list summary::after { content: ""; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--sk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1411' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 200ms var(--ease-out); }
.x-faq__list details[open] summary::after { transform: rotate(45deg); }
.x-faq__list details p { padding: 0 48px 22px 0; font-size: 15.5px; line-height: 25px; color: var(--mu); }
@media (max-width: 900px) { .x-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; } .x-faq__aside { position: static; } }

/* Footer with oversized wordmark */

.x-wordmark { margin: 40px 0 56px; width: 100%; aspect-ratio: 1320 / 159; background: var(--ink); -webkit-mask: url("../../images/4e0ca8e352dd7a2f55c2fd7be21ea720.svg") center / contain no-repeat; mask: url("../../images/4e0ca8e352dd7a2f55c2fd7be21ea720.svg") center / contain no-repeat; }
@media (max-width: 640px) { .x-wordmark { margin: 28px 0 32px; } }

/* ---------- Motion: one-time reveals on scroll, never on repeated UI ---------- */

@keyframes x-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .x-marquee__track { animation: none; flex-wrap: wrap; width: auto; } .x-marquee { -webkit-mask-image: none; mask-image: none; } .x-btn, .x-btn:active { transition: none; transform: none; } }
.lp-guarantee { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; font-size: 13px; color: var(--mu); }
.lp-guarantee span { display: inline-flex; align-items: center; gap: 6px; }
.lp-guarantee .cm-i { color: var(--gr); }
@media (max-width: 560px) { .x-pill { height: auto; min-height: 30px; padding-block: 5px; text-align: left; } }

/* =========================================================
   Character layer: monk mark, hand notes, the plugin pile
   ========================================================= */

/* The monk mark replaces the generic dot in every pill */
.x-pill { padding-left: 5px; }
.x-pill__mark { width: 20px; height: 20px; border-radius: 50%; display: block; }

/* Hand-written margin notes, the way a developer marks up a screenshot */
.x-note { position: absolute; z-index: 3; display: flex; align-items: flex-end; gap: 6px; margin: 0; font: 700 26px/1 var(--hand); color: var(--gr); white-space: nowrap; pointer-events: none; }
.x-note svg { width: 54px; height: 36px; flex: none; }
.x-stage__inner { position: relative; max-width: 1136px; margin: 0 auto; }

.x-note--pile { position: static; transform: rotate(-3deg); color: var(--saffron-ink); margin-bottom: 14px; }

/* Strike through the old way: drawn once, like a pen line */
.x-strike { position: relative; white-space: nowrap; }
.x-strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .09em; border-radius: 99px; background: var(--saffron); transform: rotate(-3deg) scaleX(0); transform-origin: left center; animation: x-pen 520ms var(--ease-out) 450ms forwards; }

.x-hero .x-wrap { position: relative; }

/* Highlighter draws in as the heading arrives */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .x-mark { animation: x-mark linear both; animation-timeline: view(); animation-range: entry 30% cover 35%; }
  }
}
@keyframes x-mark { from { background-size: 0% .28em; } to { background-size: 100% .28em; } }

/* The plugin pile: fifteen tiles tossed together, then one */
.x-pilewrap { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; }
.x-pilewrap .x-note--pile { grid-column: 1 / -1; margin-bottom: 0; }
.x-pile { display: flex; flex-wrap: wrap; gap: 6px 4px; max-width: 360px; }
.x-pile li { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px 0 6px; border-radius: 8px; background: var(--sf); border: 1px solid var(--ln); box-shadow: 0 1px 2px rgba(13,20,17,.06); font: 500 12px/1 var(--font-mono); color: var(--mu); }
.x-pile li i { width: 16px; height: 16px; border-radius: 4px; background: var(--sk); border: 1px solid var(--ln); }
.x-pile li:nth-child(3n+1) i { background: var(--saffron-50); border-color: #F1D7A8; }
.x-pile li:nth-child(4n+2) i { background: #E6EEF7; border-color: #C9D8EA; }
.x-pile li:nth-child(5n) i { background: #F6E4E2; border-color: #E9C6C1; }
.x-pile__arrow { color: var(--sub); width: 64px; }
.x-pile__arrow svg { width: 64px; height: 20px; display: block; }
.x-one { display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 14px; background: var(--sf); border: 1px solid var(--ln); box-shadow: 0 0 0 4px var(--mark), var(--shadow); }
.x-one img { width: 40px; height: 40px; }
.x-one b { display: block; font-weight: 600; font-size: 15px; }
.x-one small { display: block; font: 500 11.5px/16px var(--font-mono); color: var(--gr); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .x-pile li { animation: x-drop linear both; animation-timeline: view(); animation-range: entry calc(var(--i) * 2%) entry calc(30% + var(--i) * 2%); }
  }
}
@keyframes x-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .x-pilewrap { grid-template-columns: minmax(0, 1fr); row-gap: 16px; } .x-pile__arrow { transform: rotate(90deg); justify-self: start; } .x-pile { max-width: none; } }

/* Testimonials: an oversized opening mark on the lead quote */
.x-quote--big blockquote::before { content: "\201C"; display: block; height: .5em; margin-bottom: 8px; font: 600 88px/1 var(--font-display); color: var(--neon); }

/* Closer: the monk, quietly lit */

@media (prefers-reduced-motion: reduce) {
  .x-stamp svg, .x-pile li { animation: none; }
  .x-strike::after { animation: none; transform: rotate(-3deg) scaleX(1); }
  .x-sw::after { transition: none; }
}
.x { overflow-x: clip; }
.x-problem__top { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.x-pile li { white-space: nowrap; }
@media (max-width: 960px) { .x-problem__top { grid-template-columns: minmax(0, 1fr); } }

.x-pilewrap { grid-template-columns: auto auto 1fr; }
.x-pilewrap .x-pile { grid-column: 1 / -1; max-width: 560px; }
@media (max-width: 960px) { .x-pilewrap { grid-template-columns: minmax(0, 1fr); } }
.x-pile li:nth-child(5n+1) { rotate: -3deg; } .x-pile li:nth-child(5n+2) { rotate: 2deg; translate: 0 2px; } .x-pile li:nth-child(5n+3) { rotate: -1deg; translate: 0 -2px; } .x-pile li:nth-child(5n+4) { rotate: 3.5deg; } .x-pile li:nth-child(5n) { rotate: -2deg; translate: 0 3px; }

/* Classic Monks landing page, v3.
   Loads after page-v2.css. Keeps v2's voice, tokens and real product UI; adds the
   reference's layout ideas: flanking hand notes, a trust row, floating cards around the
   product window, a 10-tab category bento with live mini UI, a spotlight bento,
   a stats strip and a checklist under the closing CTA. */

/* ---------- Hero ---------- */
.x-hero { padding-top: 80px; }
.x-pill--ver { gap: 10px; padding: 0 12px 0 4px; }
.x-ver { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #FFF; font: 600 11px/1 var(--font-mono); }

/* Hand notes flank the lead, like margin scribbles on a printout */
.x-hnote { position: absolute; z-index: 2; max-width: 220px; margin: 0; font: 700 28px/1.02 var(--hand); color: var(--gr); pointer-events: none; }
.x-hnote svg { display: block; width: 60px; height: 46px; margin-top: 4px; }
.x-hnote--l { left: 12px; top: 300px; transform: rotate(-8deg); text-align: left; }
.x-hnote--l svg { margin-left: 64px; }
.x-hnote--r { right: 12px; top: 276px; transform: rotate(6deg); text-align: right; color: var(--saffron-ink); }
.x-hnote--r svg { margin-left: auto; margin-right: 72px; }
@media (max-width: 1180px) { .x-hnote { display: none; } }

/* Trust row under the CTAs */
.x-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 22px; font-size: 13.5px; line-height: 20px; color: var(--mu); }
.x-trust span { display: inline-flex; align-items: center; gap: 8px; }
.x-trust svg { flex: none; width: 16px; height: 16px; color: var(--gr); }

/* ---------- Product stage with floating cards ---------- */
.x-stage { margin-top: 64px; }

.x-float { position: absolute; z-index: 4; padding: 16px; border-radius: 16px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow-lg); text-align: left; }

.x-float--c { right: -88px; top: 64px; width: 272px; padding: 16px 18px; font-family: var(--font-ui); }

.x-float--c .x-float__t { font-size: 13px; font-weight: 600; color: var(--dash-heading); margin-bottom: 4px; }
.x-float--c .x-plugrow:first-of-type { border-top: 0; }

@media (prefers-reduced-motion: no-preference) {
  .x-float { animation: x-float-in 560ms var(--ease-out) both; }

  .x-float--c { animation-delay: 520ms; }
}
@keyframes x-float-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }

@media (max-width: 1320px) { .x-float { display: none; } }

/* Proof + "built for" strip inside the dark band */
.x-works { grid-template-columns: auto minmax(0, 1fr); }
.x-works__proof { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--dkmu); }
.x-works__proof b { color: var(--dkink); font-weight: 600; }
.x-works__brands { justify-content: flex-end; align-items: center; }
.x-works__brands .x-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.x-works__brands .x-label::before { display: none; }
.x-ink .x-faces span { border-color: var(--dk); }
.x-ink .x-faces span:nth-child(5) { background: var(--dk2); color: var(--dkink); border-color: var(--dkln); }
.x-ink .x-stars { color: var(--neon); }
@media (max-width: 860px) { .x-works { grid-template-columns: minmax(0, 1fr); } .x-works__brands { justify-content: flex-start; } }

/* ---------- Category bento: one card per tab, each with a working mini UI ---------- */
.x-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.x-cat { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; background: var(--sf); border: 1px solid var(--ln); box-shadow: 0 1px 2px rgba(13,20,17,.04); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 150ms ease; }
.x-cat--wide { grid-column: span 2; }
.x-cat__head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.x-cat__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--t, var(--mark)); color: var(--ti, var(--gr-dk)); }
.x-cat__ic svg { width: 20px; height: 20px; }
.x-cat h3 { font: 600 16px/20px var(--font-sans); letter-spacing: -.01em; }
.x-cat__n { display: block; margin-top: 2px; font: 500 12px/16px var(--font-mono); color: var(--sub); }
.x-cat > p { font-size: 14px; line-height: 21px; color: var(--mu); }
@media (hover: hover) and (pointer: fine) {
  .x-cat:hover { transform: translateY(-2px); border-color: var(--ln2); box-shadow: var(--shadow); }
}
@media (max-width: 1060px) { .x-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .x-cats { grid-template-columns: minmax(0, 1fr); } .x-cat--wide { grid-column: auto; } }

/* Mini UI inside each card */
.x-mini { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--sk); border: 1px solid var(--ln); font-size: 13px; line-height: 18px; }
.x-mini__t { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; font: 600 12.5px/16px var(--font-sans); color: var(--ink); }
.x-mini__t small { font: 500 11px/1 var(--font-mono); color: var(--sub); }
.x-mini--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.x-mrow { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--ink); cursor: pointer; }
.x-mrow input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.x-mrow:active .x-sw::after { width: 16px; }
.x-mrow:active :checked + .x-sw::after { transform: translateX(10px); }
.x-mbar { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--ln); overflow: hidden; }
.x-mbar i { display: block; height: 100%; width: 72%; border-radius: 3px; background: var(--gr); }
.x-mfile { display: flex; justify-content: space-between; margin-top: 8px; font: 500 11.5px/16px var(--font-mono); color: var(--sub); }
.x-mfile b { color: var(--gr-dk); font-weight: 600; }

.x-mini .x-otp { justify-content: flex-start; gap: 5px; margin-top: 4px; }
.x-mini .x-otp span { width: 30px; height: 36px; border-radius: 8px; font-size: 15px; background: var(--sf); }
.x-mini .x-2fa__trust { justify-content: flex-start; margin-top: 10px; font-size: 12.5px; }

.x-mini pre { margin: 0; font: 400 11.5px/18px var(--font-mono); color: var(--mu); white-space: pre; overflow: hidden; }
.x-mini pre b { color: var(--gr-dk); font-weight: 600; }
.x-mini pre i { color: var(--saffron-ink); font-style: normal; }

.x-chat { display: grid; gap: 8px; }
.x-chat p { max-width: 88%; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; line-height: 17px; }
.x-chat p:first-child { justify-self: end; background: var(--ink); color: #FFF; border-bottom-right-radius: 4px; }
.x-chat p:last-child { justify-self: start; background: var(--sf); border: 1px solid var(--ln); color: var(--ink); border-bottom-left-radius: 4px; }
.x-chat p:last-child b { color: var(--gr-dk); }

.x-mini .x-swatches i { width: 24px; height: 24px; border-radius: 7px; }
.x-mini .x-coupon { margin-top: 10px; padding: 8px 10px; font-size: 12.5px; }

.x-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.x-chips span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--sf); border: 1px solid var(--ln); font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-chips span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: #C99A00; }
@media (max-width: 760px) { .x-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.x-mini--dark { background: var(--dk); border-color: var(--dk); color: var(--dkink); padding: 10px; }
.x-wl__brand { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font: 600 13px/1 var(--font-display); }
.x-wl__brand i { width: 18px; height: 18px; border-radius: 5px; background: #4C6EF5; }
.x-wl__item { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 7px; font-size: 12.5px; color: var(--dkmu); }
.x-wl__item::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; }
.x-wl__item--on { background: var(--dk3); color: var(--dkink); }

.x-tree2 { display: grid; gap: 2px; }
.x-tree2 span { display: flex; align-items: center; gap: 8px; height: 26px; font-size: 12.5px; color: var(--ink); }
.x-tree2 span::before { content: ""; flex: none; width: 14px; height: 11px; border-radius: 2px 3px 3px 3px; background: #9CC9C5; box-shadow: inset 0 2px 0 #7FB5B0; }
.x-tree2 span small { margin-left: auto; font: 500 11px/1 var(--font-mono); color: var(--sub); }
.x-tree2 span.d1 { padding-left: 18px; }

.x-mail { display: grid; }
.x-mail span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--ln2); font-size: 12.5px; color: var(--ink); }
.x-mail span:first-child { border-top: 0; }
.x-mail em { font-style: normal; font: 500 11px/1 var(--font-mono); color: var(--gr-dk); }
.x-dotok { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-mono); color: var(--gr-dk); }
.x-dotok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gr); }

.x-mbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.x-mbtns span { display: grid; place-items: center; height: 32px; border-radius: 8px; background: var(--sf); border: 1px solid var(--ln); font-size: 12.5px; font-weight: 600; }
.x-mbtns span:first-child { background: var(--ink); border-color: var(--ink); color: #FFF; }
.x-mbtns span:last-child { grid-column: 1 / -1; color: var(--danger); border-style: dashed; font-weight: 500; }

@media (max-width: 620px) { .x-mini--split { grid-template-columns: minmax(0, 1fr); } }

/* Scroll reveal for the bento, staggered by position */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .x-cat, .x-tile, .x-stats > div { animation: x-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 36%; }
    .x-cat:nth-child(4n+2), .x-stats > div:nth-child(2n) { animation-range: entry 4% entry 40%; }
    .x-cat:nth-child(4n+3), .x-stats > div:nth-child(3n) { animation-range: entry 8% entry 44%; }
  }
}

/* ---------- Spotlight bento ---------- */
.x-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.x-tile { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 22px; background: var(--sf); border: 1px solid var(--ln); box-shadow: 0 1px 2px rgba(13,20,17,.04); overflow: hidden; }
.x-tile h3 { font: 600 26px/1.12 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }
.x-tile > p, .x-tile__copy > p { font-size: 15px; line-height: 23px; color: var(--mu); }
.x-tile--bricks { grid-column: span 7; grid-row: span 2; background: var(--dk); border-color: var(--dk); color: var(--dkink); }
.x-tile--bricks h3 { font-size: 34px; }
.x-tile--bricks > p { color: var(--dkmu); }
.x-tile--bricks .x-label { color: var(--dkmu); }
.x-tile--bricks .x-code { margin-top: 6px; }
.x-tile--bricks .x-ai { margin-top: 0; }

.x-tile .x-ui { box-shadow: 0 1px 2px rgba(13,20,17,.06), 0 18px 36px -20px rgba(13,20,17,.22); }

.x-bstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.x-bstats div { padding: 14px; border-radius: 12px; background: var(--dk2); border: 1px solid var(--dkln); }
.x-bstats strong { display: block; font: 600 20px/1 var(--font-display); color: var(--neon); letter-spacing: -.02em; }
.x-bstats span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 17px; color: var(--dkmu); }

.x-steps-mini .x-row { padding: 9px 0; font-size: 13.5px; }
.x-steps-mini .x-ui__body { padding: 4px 14px; }
.x-steps-mini .x-ui__head { padding: 11px 14px; }
.x-steps-mini .x-ui__head b { font-size: 13.5px; }

.x-pmini { padding: 14px; display: grid; gap: 10px; }
.x-pmini__img { position: relative; height: 112px; border-radius: 10px; background: linear-gradient(160deg, #E8ECE6, #D5DDD6); overflow: hidden; }
.x-pmini__img::before { content: ""; position: absolute; left: 30%; right: 30%; top: 14%; bottom: 8%; border-radius: 42% 42% 10% 10% / 24% 24% 8% 8%; background: linear-gradient(180deg, #F3EFE6, #E2DACB); box-shadow: 0 14px 20px -12px rgba(13,20,17,.35); }
.x-pmini__img .x-badge { position: absolute; left: 8px; top: 8px; }
.x-pmini h4 { font: 600 15px/1.2 var(--font-display); }
.x-pmini .x-price strong { font-size: 18px; }
.x-pmini .x-swatches i { width: 22px; height: 22px; border-radius: 6px; }
.x-pmini .x-btn { height: 36px; font-size: 13.5px; width: 100%; }

@media (max-width: 1060px) {
  .x-tile--bricks, .x-tile--setup, .x-tile--woo, .x-tile--assets, .x-tile--wl { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .x-tile { padding: 22px; }

  .x-bstats { grid-template-columns: minmax(0, 1fr); }
  .x-tile--bricks h3 { font-size: 28px; }
}

/* ---------- Stats strip ---------- */
.x-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin-bottom: 40px; border-radius: 18px; background: var(--ln); border: 1px solid var(--ln); overflow: hidden; }
.x-stats > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 20px 18px; background: var(--sf); }
.x-stats i { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--mark); color: var(--gr-dk); }
.x-stats i svg { width: 18px; height: 18px; }
.x-stats strong { font: 600 24px/1 var(--font-display); letter-spacing: -.025em; }
.x-stats span { margin-top: 4px; font-size: 12.5px; line-height: 16px; color: var(--sub); }
@media (max-width: 1060px) { .x-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .x-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .x-stats > div { padding: 16px 14px; } }

/* ---------- Founder: name set as a handwritten signature ---------- */
.x-founder .x-person { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
.x-founder .x-person b { font: 700 38px/.9 var(--hand); letter-spacing: 0; color: var(--gr-dk); transform: rotate(-2deg); transform-origin: left center; }
.x-founder .x-person span:not(.x-avatar) { display: block; margin-top: 6px; font: 500 12px/16px var(--font-mono); letter-spacing: .02em; color: var(--sub); }

/* ---------- Closer checklist ---------- */
.x-closer__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; font-size: 14px; color: var(--dkmu); }
.x-closer__trust span { display: inline-flex; align-items: center; gap: 8px; }
.x-closer__trust svg { flex: none; width: 16px; height: 16px; color: var(--neon); }

@media (prefers-reduced-motion: reduce) {
  .x-float, .x-ring circle:last-child { animation: none; }
  .x-cat { transition: none; }
}

/* Classic Monks landing page, v4.
   Loads after page-v2.css and page-v3.css. Same voice and tokens as v3; tighter story:
   old way vs new way, feature search, a tabbed module tour (replaces the spotlight bento),
   a tagline band, a changelog panel and How it works as its own section. */

/* ---------- Buttons: design system Button (cm-btn) ---------- */
.x .cm-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: var(--radius-pill); }

.cm-btn--sm .cm-btn__play { width: 24px; height: 24px; }
.cm-btn--secondary.cm-btn--sm { padding-left: 6px; }
.cm-btn--light:has(.cm-btn__play) { padding-left: 8px; }
.x-ink .cm-btn--light { color: #0F1A14; }
/* Pricing: drop the v2 square-ish overrides so plan buttons are the system's pills */
.x-pricing .cm-btn { border-radius: var(--radius-pill); }
.x-pricing .cm-dualcard:not(.cm-dualcard--night) .cm-btn--primary { background: var(--ink); color: var(--surface); }
@media (hover: hover) and (pointer: fine) { .x-pricing .cm-dualcard:not(.cm-dualcard--night) .cm-btn--primary:hover { background: var(--ink-muted); } }

/* ---------- Button hover and press ----------
   Hover: a small lift, a richer colour (never the washed-out grey), and the arrow slides
   out the right of its disc and back in from the left. Press: a quick squash. */
.x .cm-btn { transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 160ms var(--ease-out); }
.x .cm-btn__disc, .x .cm-btn__play { overflow: hidden; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 220ms var(--ease-out); }
.x .cm-btn:active { transform: scale(.97); transition-duration: 90ms; }
@keyframes x-arrow-through {
  0%   { transform: translateX(0); opacity: 1; }
  40%  { transform: translateX(140%); opacity: 0; }
  41%  { transform: translateX(-140%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  .x .cm-btn:hover { transform: translateY(-1px); }
  .x .cm-btn:hover .cm-btn__disc { transform: scale(1.08); }
  .x .cm-btn:hover .cm-btn__disc .cm-i { animation: x-arrow-through 440ms var(--ease-out); }
  .x .cm-btn:hover .cm-btn__play { transform: scale(1.08); background: var(--monk-green); color: #FFF; }

  /* Primary: deeper ink, green-tinted glow, brighter disc */
  .x .cm-btn--primary:hover { background: #1C2822; box-shadow: 0 8px 20px -10px rgba(1,84,51,.55), 0 2px 4px rgba(13,20,17,.12); }
  .x .cm-btn--primary:hover .cm-btn__disc { background: #02995A; }
  /* Brand (on dark): darker green, soft green glow */
  .x .cm-btn--brand:hover { background: var(--monk-green-hover); box-shadow: 0 10px 28px -10px rgba(91,211,148,.55); }
  /* Secondary / outline / ghost: firm border, faint green wash */
  .x .cm-btn--secondary:hover, .x .cm-btn--outline:hover, .x .cm-btn--ghost:hover { border-color: var(--ink); background: #F4FAF6; box-shadow: 0 6px 16px -10px rgba(13,20,17,.35); }
  .x .cm-btn--outline:hover .cm-btn__disc { background: var(--ink); color: #FFF; }
  /* Light (on dark) */
  .x .cm-btn--light:hover { background: #EAF5EE; box-shadow: 0 10px 28px -12px rgba(255,255,255,.35); }

  /* Pricing cards keep their own look */
  .x-pricing .cm-dualcard:not(.cm-dualcard--night) .cm-btn--primary:hover { background: #1C2822; }
  .x .cm-dualcard--night .cm-btn--outline:hover { border-color: var(--night-ink); background: rgba(255,255,255,.06); }
  .x .cm-dualcard--night .cm-btn--outline:hover .cm-btn__disc { background: var(--night-ink); color: var(--night); }
  .x .cm-dualcard--night .cm-btn--primary:hover { background: #EAF5EE; box-shadow: 0 8px 22px -10px rgba(91,211,148,.6); }

  .x .cm-btn:hover:active { transform: scale(.97); }

  /* Text link: arrow nudges */
  .x .cm-link .cm-i { transition: transform 200ms var(--ease-out); }
  .x .cm-link:hover .cm-i { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .x .cm-btn, .x .cm-btn__disc, .x .cm-btn__play, .x .cm-link .cm-i { transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
  .x .cm-btn:hover, .x .cm-btn:active, .x .cm-btn:hover .cm-btn__disc, .x .cm-btn:hover .cm-btn__play, .x .cm-link:hover .cm-i { transform: none; }
  .x .cm-btn:hover .cm-btn__disc .cm-i { animation: none; }
}

.x-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Old way vs with Classic Monks ---------- */
.x-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 72px; }
.x-vs__col { padding: 28px 28px 12px; border-radius: 20px; border: 1px solid var(--ln); background: var(--sf); }
.x-vs__col--old { background: var(--sk); }
.x-vs__col--new { border-color: rgba(1,130,76,.35); box-shadow: 0 0 0 4px var(--mark), var(--shadow); }
.x-vs__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; }
.x-vs__col--new .x-vs__head .x-label { color: var(--gr-dk); }
.x-vs li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px dashed var(--ln2); }
.x-vs li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: #E3E7E4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355605A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
.x-vs__col--new li::before { background-color: var(--mark); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015433' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.x-vs li b { display: block; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.x-vs li span { display: block; font-size: 14px; line-height: 21px; color: var(--mu); }
.x-vs__col--old li b { color: var(--mu); }
@media (max-width: 860px) { .x-vs { grid-template-columns: minmax(0, 1fr); margin-top: 48px; } }

/* ---------- What it replaces: plugin job → Classic Monks modules ---------- */
/* Tab colours match the feature cards, so a module reads as "this tab" everywhere */
.x-mod--sec    { --t: #DDF0E4; --ti: #015433; }
.x-mod--perf   { --t: #FBF1E0; --ti: #7A4F00; }
.x-mod--core   { --t: #E9ECEA; --ti: #0D1411; }
.x-mod--int    { --t: #E1F2F1; --ti: #1F5E5A; }
.x-mod--woo    { --t: #F3E6F0; --ti: #7A2E66; }
.x-mod--bricks { --t: #FFF1BF; --ti: #5E4800; }
.x-mod--email  { --t: #F6E4E2; --ti: #8E3B33; }
.x-mod--wl     { --t: #E6EEF7; --ti: #2C4F7C; }
.x-mod--opt    { --t: #EEF0F3; --ti: #3D4752; }

.x-rep__sum { display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: var(--ln2); }
.x-rep__sum strong { display: block; font: 600 44px/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.x-rep__sum > div > span, .x-rep__one span span { display: block; margin-top: 4px; font: 500 12px/16px var(--font-mono); color: var(--sub); }
.x-rep__sum svg { flex: none; width: 72px; height: 22px; }
.x-rep__one { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--sf); border: 1px solid rgba(1,130,76,.35); box-shadow: 0 0 0 4px var(--mark), var(--shadow); }
.x-rep__one img { width: 40px; height: 40px; }
.x-rep__one strong { color: var(--gr-dk); }

.x-rep { border-radius: 20px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow); overflow: hidden; }

.x-rep__bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--ln); }
.x-rep__bar > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px; align-items: center; padding: 12px 20px; }
.x-rep__bar > div:first-child { border-right: 1px solid var(--ln); }
.x-rep__cm { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/16px var(--font-mono); letter-spacing: .02em; color: var(--gr-dk); }
.x-rep__cm img { width: 18px; height: 18px; }

.x-rep__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.x-rr { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px; align-items: center; padding: 14px 20px; background: var(--sf); box-shadow: 1px 0 0 var(--ln), 0 1px 0 var(--ln); transition: background-color 150ms ease; }
.x-rr__job { position: relative; display: flex; align-items: center; gap: 10px; padding-right: 24px; font-size: 14px; line-height: 19px; color: var(--mu); }
.x-rr__job i { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px dashed var(--ln2); background: var(--sk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737E78' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M9 3v5M15 3v5M6 8h12v3a6 6 0 0 1-12 0zM12 17v4'/%3E%3C/svg%3E") center / 12px no-repeat; }
.x-rr__job::after { content: ""; position: absolute; right: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301824C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.x-rr__mods { display: flex; flex-wrap: wrap; gap: 6px; }
.x-mod { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 5px 10px; border-radius: 8px; background: var(--t); color: var(--ti); box-shadow: inset 0 0 0 1px rgba(13,20,17,.06); font: 600 13px/18px var(--font-sans); transition: opacity 150ms ease; }
.x-mod::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
@media (hover: hover) and (pointer: fine) { .x-rr:hover { background: #FBFCFB; } }

/* Filter by tab: hide other rows, fade other tabs' chips in mixed rows */
.x-rep:has(#rp-sec:checked) .x-rr:not([data-t~="sec"]),
.x-rep:has(#rp-perf:checked) .x-rr:not([data-t~="perf"]),
.x-rep:has(#rp-core:checked) .x-rr:not([data-t~="core"]),
.x-rep:has(#rp-int:checked) .x-rr:not([data-t~="int"]),
.x-rep:has(#rp-woo:checked) .x-rr:not([data-t~="woo"]),
.x-rep:has(#rp-bricks:checked) .x-rr:not([data-t~="bricks"]),
.x-rep:has(#rp-email:checked) .x-rr:not([data-t~="email"]),
.x-rep:has(#rp-wl:checked) .x-rr:not([data-t~="wl"]),
.x-rep:has(#rp-opt:checked) .x-rr:not([data-t~="opt"]) { display: none; }
.x-rep:has(#rp-perf:checked) .x-mod:not(.x-mod--perf),
.x-rep:has(#rp-core:checked) .x-mod:not(.x-mod--core),
.x-rep:has(#rp-int:checked) .x-mod:not(.x-mod--int) { opacity: .4; }

@media (max-width: 900px) {
  .x-rep__sum { justify-content: flex-start; }
  .x-rep__rows, .x-rep__bar { grid-template-columns: minmax(0, 1fr); }
  .x-rep__bar > div:last-child { display: none; }
  .x-rep__bar > div:first-child { border-right: 0; }
}
@media (max-width: 560px) {
  .x-rep__sum strong { font-size: 34px; }
  .x-rep__sum svg { width: 40px; }
  .x-rr { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px; }
  .x-rr__job { padding-right: 0; }
  .x-rr__job::after { display: none; }
  .x-rep__bar > div { grid-template-columns: minmax(0, 1fr); }
  .x-rep__bar .x-label { display: none; }
}

/* ---------- Features header: stacked, link under the lead ---------- */
#features .x-head .cm-link { justify-self: start; margin-top: -4px; }

/* ---------- Module tour: tabs over one panel ---------- */
.x-dive { border-radius: 24px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow); overflow: hidden; }
.x-dive__tabs { display: flex; gap: 4px; padding: 8px; background: var(--sk); border-bottom: 1px solid var(--ln); overflow-x: auto; scrollbar-width: none; }
.x-dive__tabs label { position: relative; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 12px; font: 600 15px/1 var(--font-sans); color: var(--mu); cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.x-dive__tabs input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.x-dive__tabs small { font: 500 11px/1 var(--font-mono); color: var(--sub); padding: 4px 6px; border-radius: 5px; background: rgba(13,20,17,.05); }
.x-dive__tabs label:has(:checked) { background: var(--sf); color: var(--ink); box-shadow: 0 1px 2px rgba(13,20,17,.08), 0 0 0 1px var(--ln); }
.x-dive__tabs label:has(:checked) small { background: var(--mark); color: var(--gr-dk); }
.x-dive__tabs label:has(:focus-visible) { outline: 2px solid var(--gr); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .x-dive__tabs label:hover { color: var(--ink); } }

.x-dive__panel { display: none; padding: 56px; }
.x-dive:has(#dv-setup:checked) .x-dive__panel--setup,
.x-dive:has(#dv-perf:checked) .x-dive__panel--perf,
.x-dive:has(#dv-sec:checked) .x-dive__panel--sec,
.x-dive:has(#dv-bricks:checked) .x-dive__panel--bricks,
.x-dive:has(#dv-woo:checked) .x-dive__panel--woo,
.x-dive:has(#dv-wl:checked) .x-dive__panel--wl { display: grid; }
@media (prefers-reduced-motion: no-preference) {
  .x-dive__panel > * { animation: x-dive-in 360ms var(--ease-out) both; }
  .x-dive__panel > :last-child { animation-delay: 60ms; }
}

.x-dive__h { font: 600 32px/1.1 var(--font-display); letter-spacing: -.028em; }
.x-dive__p { font-size: 16px; line-height: 25px; color: var(--mu); }
.x-dive__panel .x-link { justify-self: start; margin-top: 4px; }
.x-dive__panel .x-steps-mini .x-row { padding: 12px 0; font-size: 14.5px; }

.x-dive__otpbody { display: grid; justify-items: center; gap: 6px; padding: 28px 24px 12px; text-align: center; }
.x-dive__otpbody > b { font: 600 18px/1.2 var(--font-display); }
.x-dive__otpbody > p { font-size: 14px; line-height: 20px; color: var(--mu); }
.x-dive__otpbody .x-otp { margin-top: 12px; }
.x-dive__otpbody .x-row { margin-top: 16px; border-top: 1px solid var(--ln); border-bottom: 0; width: 100%; justify-content: center; font-size: 14px; }

.x-dive__dark { padding: 18px; border-radius: 20px; background: var(--dk); color: var(--dkink); }
.x-dive__dark .x-label { color: var(--dkmu); }
.x-dive__dark .x-ai { margin-top: 14px; }

.x-dive__shop { max-width: 360px; justify-self: center; width: 100%; }
.x-dive__shop .x-pmini__img { height: 180px; }
.x-dive__shop .x-coupon { font-size: 13px; }

.x-dive__panel--wl .x-login { border-radius: 16px; }

/* Tighter module tour: slimmer tab bar, less panel padding, closer copy */
#modules .x-head { margin-bottom: 40px; }
.x-dive__tabs { gap: 2px; padding: 6px; }
.x-dive__tabs label { height: 40px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.x-dive__panel { padding: 40px 44px; }
.x-dive__panel.x-feat { gap: 48px; }
.x-dive__panel .x-feat__copy { gap: 12px; }
.x-dive__h { font-size: 30px; }
.x-dive__panel .x-checks { gap: 8px; margin-top: 4px; }
.x-dive__panel .x-checks li { font-size: 14.5px; line-height: 22px; }

@media (max-width: 960px) { .x-dive__panel { padding: 28px; } .x-dive__panel.x-feat { gap: 32px; } .x-dive__tabs label { flex: 0 0 auto; } }
@media (max-width: 640px) { .x-dive__panel { padding: 20px 18px; } .x-dive__panel.x-feat { gap: 24px; } .x-dive__h { font-size: 24px; } }

/* ---------- Tagline band ---------- */
.x-tagline { padding: 104px 0; text-align: center; }
.x-tagline p { max-width: 920px; margin: 0 auto; font: 600 52px/1.06 var(--font-display); letter-spacing: -.035em; color: var(--dkink); }
@media (max-width: 900px) { .x-tagline { padding: 72px 0; } .x-tagline p { font-size: 38px; } }
@media (max-width: 560px) { .x-tagline p { font-size: 30px; } }

/* ---------- Changelog panel ---------- */
.x-logs { display: grid; margin-top: 4px; }
.x-log { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--ln); font-size: 14px; line-height: 20px; color: var(--sub); }
.x-logs .x-log:first-child { border-top: 0; }
.x-log i { width: 28px; height: 28px; border-radius: 7px; background: var(--sk); border: 1px solid var(--ln); }
.x-log s { text-decoration-color: var(--ln2); }
.x-log > span:last-child { font: 500 11.5px/1 var(--font-mono); }
.x-log--more { display: block; font: 500 12px/16px var(--font-mono); color: var(--sub); padding-left: 40px; }
.x-log--cm { margin-top: 14px; padding: 14px; border: 0; border-radius: 14px; background: var(--sf); color: var(--ink); box-shadow: 0 0 0 1px rgba(1,130,76,.35), 0 0 0 5px var(--mark); }
.x-log--cm img { width: 28px; height: 28px; }
.x-log--cm b { display: block; font-weight: 600; }
.x-log--cm span:nth-child(2) { font-size: 13px; color: var(--mu); }
.x-log--cm code { font: 600 12px/1 var(--font-mono); color: var(--ink); }
.x-logs__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ln); font-size: 14px; }

/* ---------- Pricing: Option B dual-price cards ---------- */
.x-pricing .cm-dualcard--night { border-color: var(--night-border); }
.x-pricing .cm-dual { background: var(--sk); border-color: var(--ln); }
.x-pricing .cm-dual > div + div { border-left-color: var(--ln); }
.x-pricing .cm-dualcard--night .cm-dual { background: var(--night-raised); border-color: var(--night-border); }
.x-pricing .cm-dualcard--night .cm-dual > div + div { border-left-color: var(--night-border); }

/* ---------- Compare: grouped rows, highlighted Classic Monks column ---------- */
.x-cmp { border-radius: 20px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow); overflow: hidden; }
.x-cmp__t { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; line-height: 22px; }

.x-cmp__t th, .x-cmp__t td { padding: 18px 24px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--ln); }

.x-cmp__t thead th { padding: 20px 24px; background: var(--sf); }
.x-cmp__who { display: flex; align-items: center; gap: 12px; }
.x-cmp__who img { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #FFF; }
.x-cmp__who b { display: block; font: 600 18px/22px var(--font-display); letter-spacing: -.01em; }
.x-cmp__who small { display: block; margin-top: 2px; font: 500 12px/16px var(--font-mono); color: var(--sub); }
.x-cmp__t thead .x-cmp__cm { background: var(--gr); color: #FFF; border-bottom-color: var(--gr); }
.x-cmp__t thead .x-cmp__cm small { color: rgba(255,255,255,.82); }
/* Overlapped WordPress marks; the front one carries a plugin badge */
.x-cmp__pile { position: relative; flex: none; width: 54px; height: 30px; }
.x-cmp__pile i { position: absolute; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: #FFF; box-shadow: 0 0 0 2px var(--sf); }
.x-cmp__pile i svg { display: block; width: 28px; height: 28px; }
.x-cmp__pile i:nth-child(1) { left: 0; z-index: 3; }
.x-cmp__pile i:nth-child(2) { left: 13px; z-index: 2; opacity: .7; }
.x-cmp__pile i:nth-child(3) { left: 26px; z-index: 1; opacity: .45; }
/* .x-cmp__who b sets display:block, so the badge needs the extra class to stay a centred grid */
.x-cmp__who .x-cmp__plug { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 15px; height: 15px; margin: 0; border-radius: 50%; background: #55605A; box-shadow: 0 0 0 2px var(--sf); font-size: 0; line-height: 0; }
.x-cmp__pile .x-cmp__plug svg { display: block; width: 9px; height: 9px; }
.x-cmp__st b { color: var(--mu); }

.x-cmp__t tbody th[scope="row"] { font-weight: 600; color: var(--ink); }
.x-cmp__t tbody td:first-of-type { background: #F2F9F5; box-shadow: inset 1px 0 0 rgba(1,130,76,.22), inset -1px 0 0 rgba(1,130,76,.22); }
.x-cmp__t tbody tr:last-child > * { border-bottom: 0; }

.x-cmp__grp th { padding: 10px 24px !important; background: var(--sk); font: 500 12px/16px var(--font-mono); letter-spacing: .02em; color: var(--sub); }

.x-cmp__yes, .x-cmp__no { display: flex; align-items: center; gap: 12px; }
.x-cmp__yes { font-weight: 600; color: var(--ink); }
.x-cmp__no { color: var(--mu); }
.x-cmp__yes::before, .x-cmp__no::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.x-cmp__yes::before { background-color: var(--gr); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.x-cmp__no::before { background-color: #E3E7E4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355605A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.x-cmp__big { font: 600 28px/1 var(--font-display); letter-spacing: -.03em; color: var(--gr-dk); margin-right: -4px; }

@media (max-width: 760px) {
  .x-cmp__t, .x-cmp__t thead, .x-cmp__t tbody { display: block; }
  .x-cmp__t colgroup, .x-cmp__t caption { display: none; }
  .x-cmp__t tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-cmp__t thead th:first-child { display: none; }
  .x-cmp__t th, .x-cmp__t td, .x-cmp__t thead th { padding: 14px 16px; }
  .x-cmp__t tbody th[scope="row"], .x-cmp__grp th { grid-column: 1 / -1; }
  .x-cmp__t tbody th[scope="row"] { padding-bottom: 6px; border-bottom: 0; }
  .x-cmp__t tbody td { padding-top: 10px; font-size: 14px; line-height: 20px; }
  .x-cmp__grp th { padding: 10px 16px !important; }
  .x-cmp__who b { font-size: 15px; }
  .x-cmp__pile { display: none; }
  .x-cmp__yes, .x-cmp__no { gap: 8px; align-items: flex-start; }
  .x-cmp__big { font-size: 22px; }
}

/* ---------- Closing CTA: contained dark card, decision info on the right ---------- */
.x-cta { padding: 96px 0 0; }
.x-cta__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding: 64px; border-radius: 32px; background: var(--dk); color: var(--dkink); }
.x-cta__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 75% at 0% 0%, rgba(1,130,76,.38), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(91,211,148,.10), transparent 70%); }
.x-cta__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(70% 90% at 20% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 20% 30%, #000, transparent 75%); }
.x-cta__mark { display: block; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(91,211,148,.10), 0 0 0 1px rgba(91,211,148,.35); }
.x-cta .x-h2 { margin-top: 28px; font-size: 52px; line-height: 1.04; color: var(--dkink); }
.x-cta .x-mark { background: none; color: var(--neon); }
.x-cta .x-lead { margin-top: 18px; color: var(--dkmu); }
.x-cta .x-actions { margin-top: 32px; }
.x-cta__note { margin-top: 22px; font: 700 26px/1 var(--hand); color: var(--neon); transform: rotate(-2deg); transform-origin: left center; }

.x-cta__deal { display: grid; gap: 18px; padding: 28px; border-radius: 22px; background: rgba(18,25,21,.85); border: 1px solid var(--dkln); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.x-cta__deal .x-label { color: var(--dkmu); }
.x-cta__price { display: flex; align-items: center; gap: 14px; }
.x-cta__price strong { font: 600 56px/1 var(--font-display); letter-spacing: -.04em; color: var(--neon); }
.x-cta__price span { font-size: 14px; line-height: 20px; color: var(--dkmu); }
.x-cta__price b { color: var(--dkink); font-weight: 600; }
.x-cta__list { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--dkln); }
.x-cta__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 22px; color: var(--dkink); }
.x-cta__list li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(91,211,148,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235BD394' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.x-cta__guar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(91,211,148,.08); border: 1px solid rgba(91,211,148,.22); }
.x-cta__guar svg { flex: none; width: 24px; height: 24px; color: var(--neon); }
.x-cta__guar b { display: block; font-size: 14.5px; font-weight: 600; color: var(--dkink); }
.x-cta__guar span { font-size: 13px; line-height: 19px; color: var(--dkmu); }
.x-cta__deal .cm-link { justify-self: start; color: var(--neon); }

/* ---------- Footer: brand + newsletter, then a link map, then the wordmark ---------- */
.x-ft { padding: 88px 0 0; overflow: hidden; }
.x-ft__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--ln); }
.x-ft__brand img { display: block; height: 24px; width: auto; }
.x-ft__brand p { margin-top: 16px; max-width: 320px; font-size: 15px; line-height: 23px; color: var(--mu); }

.x-ft__brand .x-social--foot { margin-top: 18px; }

.x-news { padding: 28px; border-radius: 22px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow); }
.x-news__copy h3 { font: 600 22px/1.2 var(--font-display); letter-spacing: -.02em; }
.x-news__copy p { margin-top: 6px; font-size: 14.5px; line-height: 22px; color: var(--mu); }
.x-news__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 10px; align-items: end; margin-top: 20px; }
.x-news__field span { display: block; margin-bottom: 6px; font: 500 12px/16px var(--font-mono); color: var(--mu); }
.x-news__field input { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--ln2); background: var(--pg); font: 400 15px/1 var(--font-sans); color: var(--ink); transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
.x-news__field input::placeholder { color: var(--sub); }
.x-news__field input:focus { border-color: var(--gr); background: var(--sf); }
.x .x-news__field input:focus-visible { outline: 2px solid var(--gr); outline-offset: 2px; }
.x-news .cm-btn { height: 44px; }

.x-ft__links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 32px; padding: 48px 0 56px; }
.x-ft__col li a { white-space: nowrap; }
.x-ft__col--docs li a { white-space: normal; }
.x-ft__col h4 { margin-bottom: 14px; font: 500 12px/16px var(--font-mono); letter-spacing: .02em; color: var(--mu); }
.x-ft__col ul { display: grid; gap: 2px; }
.x-ft__col li a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color 150ms ease, text-decoration-color 150ms ease; }
/* Documentation gets its own full-width row above the other link groups */
.x-ft__col--docs { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; padding-bottom: 40px; border-bottom: 1px solid var(--ln); }
.x-ft__col--docs h4 { grid-column: 1; grid-row: 1; }
.x-ft__col--docs .cm-link { grid-column: 2; grid-row: 1; font-size: 14px; }
.x-ft__col--docs ul { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
/* Doc links read as guides: a card with a doc icon, title and arrow */
.x-ft__col--docs h4 { margin-bottom: 12px; }
.x-ft__col--docs li a { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 12px; align-items: center; height: 100%; padding: 12px 14px 12px 12px; border-radius: 14px; background: var(--sf); border: 1px solid var(--ln); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color 150ms ease, background-color 150ms ease, box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out); }
.x-ft__col--docs li a::before { content: ""; width: 32px; height: 32px; border-radius: 9px; background: var(--mark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015433' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center / 16px no-repeat; }
.x-ft__col--docs li a::after { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301824C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .55; transition: transform 200ms var(--ease-out), opacity 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .x-ft__col--docs li a:hover { border-color: rgba(1,130,76,.45); background: #F4FAF6; color: var(--gr-dk); text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(13,20,17,.3); }
  .x-ft__col--docs li a:hover::after { opacity: 1; transform: translateX(3px); }
}
/* 9th card: View all docs, filled dark so it reads as the way into the full library */
.x-ft__col--docs .x-ft__all a { grid-template-rows: auto auto; row-gap: 2px; background: var(--ink); border-color: var(--ink); color: #FFF; }
.x-ft__col--docs .x-ft__all a::before { grid-column: 1; grid-row: 1 / span 2; background-color: rgba(91,211,148,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235BD394' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E"); }
.x-ft__col--docs .x-ft__all a::after { grid-column: 3; grid-row: 1 / span 2; opacity: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235BD394' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.x-ft__all small { grid-column: 2; font: 500 12px/16px var(--font-mono); color: var(--dkmu); }
@media (hover: hover) and (pointer: fine) { .x-ft__col--docs .x-ft__all a:hover { background: #1C2822; border-color: #1C2822; color: #FFF; box-shadow: 0 10px 22px -12px rgba(1,84,51,.6); } }
.x-ft__col--docs li a:focus-visible { outline: 2px solid var(--gr); outline-offset: 2px; border-radius: 14px; }
.x-ft__ver { padding: 3px 6px; border-radius: 5px; background: var(--mark); font: 600 11px/1 var(--font-mono); color: var(--gr-dk); }
.x-ft__stack { display: contents; }
@media (hover: hover) and (pointer: fine) {
  .x-ft__col li a:hover { color: var(--gr-dk); text-decoration-color: currentColor; }

  .x-ft__top-link:hover { color: var(--ink); }
}

.x-ft__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding: 20px 0; border-top: 1px solid var(--ln); font-size: 13px; line-height: 18px; color: var(--mu); }

.x-ft__top-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--mu); transition: color 150ms ease; }
.x-ft__top-link svg { width: 14px; height: 14px; }
/* Wordmark sits flush on the bottom edge of the page */
.x-ft .x-wordmark { margin: 32px 0 0; -webkit-mask-position: center bottom; mask-position: center bottom; }

@media (max-width: 1060px) {
  .x-cta__card { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px; }
}
@media (max-width: 1240px) {
  .x-ft__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x-ft__col--docs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .x-ft__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .x-cta { padding-top: 64px; }
  .x-cta__card { padding: 32px 22px; border-radius: 24px; }
  .x-cta .x-h2 { font-size: 34px; }
  .x-cta__price strong { font-size: 44px; }
  .x-news { padding: 22px; }
  .x-news__fields { grid-template-columns: minmax(0, 1fr); }
  .x-news .cm-btn { justify-content: space-between; }
  .x-ft__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding: 40px 0; }
  .x-ft__col--docs { padding-bottom: 32px; }
  .x-ft__col li a { white-space: normal; }
  .x-ft__col--docs ul { grid-template-columns: minmax(0, 1fr); }
  .x-ft .x-wordmark { margin-top: 24px; }

  .x-ft__bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- Founder: photo + socials ---------- */
/* Whole photo in a frame matching its own proportions, so object-fit: cover keeps all of it */
.x-founder .x-person--photo { grid-template-columns: 110px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 32px; }
.x-person__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.x-person__row .x-social { margin: 0; }
.x-photo { display: block; width: 110px; height: 110px; border-radius: 16px; object-fit: cover; object-position: center; background: var(--sk); box-shadow: 0 1px 2px rgba(13,20,17,.08), 0 24px 40px -24px rgba(13,20,17,.35); }
.x-founder .x-person--photo > div { padding-bottom: 6px; }
.x-social { display: flex; gap: 4px; margin-top: 14px; margin-left: -6px; }
.x-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--mu); transition: color 150ms ease, background-color 150ms ease; }
.x-social svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .x-social a:hover { color: var(--gr-dk); background: var(--mark); } }
.x-social--foot { margin: 18px 0 0 -6px; }
.x-social--foot a { width: 36px; height: 36px; }
.x-social--foot svg { width: 18px; height: 18px; }
/* Footer community links with visible labels */
.x-social--labels { flex-wrap: wrap; gap: 8px; margin-left: 0; }
.x-ft__brand .x-social--labels { margin-top: 20px; }
.x-social--labels a { width: auto; height: 36px; gap: 8px; display: inline-flex; padding: 0 14px 0 11px; border-radius: 999px; background: var(--sf); border: 1px solid var(--ln); font-size: 13.5px; font-weight: 500; color: var(--ink); transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease; }
.x-social--labels svg { width: 16px; height: 16px; color: var(--mu); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .x-social--labels a:hover { border-color: var(--gr); background: #F4FAF6; color: var(--gr-dk); } .x-social--labels a:hover svg { color: var(--gr-dk); } }
@media (max-width: 560px) { .x-founder .x-person--photo { gap: 18px; } }

/* ---------- How it works: three step cards, each with the screen for that step ---------- */
#how .x-head { margin-bottom: 48px; }
.x-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.x-how__step { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 16px; padding: 24px; border-radius: 20px; background: var(--sf); border: 1px solid var(--ln); box-shadow: 0 1px 2px rgba(13,20,17,.04); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .x-how__step:hover { transform: translateY(-2px); box-shadow: var(--shadow); } }

/* Number badge */
.x-how__num { display: flex; align-items: center; gap: 12px; }
.x-how__num span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #FFF; font: 600 14px/1 var(--font-mono); }
.x-how__step:first-child .x-how__num span { background: var(--gr); }
.x-how__num i { display: none; }

.x-how__copy { display: grid; gap: 6px; }
.x-how__copy .x-h3 { font-size: 19px; line-height: 25px; }
.x-how__copy p { font-size: 15px; line-height: 23px; color: var(--mu); }

/* The screen for each step */
.x-how__ui { align-self: end; padding: 14px 16px; border-radius: 14px; background: var(--sk); border: 1px solid var(--ln); font-size: 14px; }
.x-how__uihead { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.x-how__uihead b { font-size: 13.5px; font-weight: 600; }
.x-how__seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--sf); border: 1px solid var(--ln); font: 500 11px/1 var(--font-mono); color: var(--sub); }
.x-how__seg span { padding: 5px 8px; border-radius: 6px; }
.x-how__seg .on { background: var(--ink); color: #FFF; }
.x-how__sites { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.x-how__sites span { display: grid; place-items: center; height: 34px; border-radius: 8px; background: var(--sf); border: 1px solid var(--ln); font: 600 13px/1 var(--font-mono); color: var(--ink); }
.x-how__sites .on { background: var(--gr); border-color: var(--gr); color: #FFF; box-shadow: 0 0 0 3px var(--mark); }
.x-how__plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--sf); border: 1px solid var(--ln); }
.x-how__plan b { display: block; font-size: 14px; font-weight: 600; }
.x-how__plan small { display: block; font: 500 11.5px/16px var(--font-mono); color: var(--sub); }
.x-how__plan strong { display: flex; align-items: baseline; gap: 4px; font: 600 22px/1 var(--font-display); letter-spacing: -.02em; color: var(--gr-dk); }
.x-how__plan strong small { display: inline; font-size: 11px; }
.x-how__ui .x-row { padding: 8px 0; font-size: 14px; }
.x-how__ui .x-plugrow { padding: 8px 0; background: none; }
.x-how__uihead + .x-plugrow { border-top: 0; }

/* Review fixes: align rows across cards, fill step 1, readable labels, visible plugin icons */
.x-how { grid-template-rows: auto auto 1fr; gap: 16px 20px; }
@supports (grid-template-rows: subgrid) {
  .x-how__step { grid-row: span 3; grid-template-rows: subgrid; row-gap: 16px; }
}
.x-how__ui { align-self: stretch; display: flex; flex-direction: column; }
.x-how__copy { align-content: start; }
.x-how__uihead { flex-wrap: wrap; }
.x-how__ui .x-label, .x-how__seg, .x-how__plan small, .x-how__ui .x-plugrow s, .x-how__ui .x-tag:not(.x-tag--on) { color: var(--mu); }
.x-how__ui .x-plugrow i { background: var(--sf); border: 1px dashed var(--ln2); }
.x-how__inc { display: grid; gap: 6px; margin-top: auto; padding-top: 12px; }
.x-how__inc li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 18px; color: var(--mu); }
.x-how__inc li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--mark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015433' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
@media (max-width: 960px) {
  .x-how { grid-template-rows: none; }
  .x-how__step { grid-row: auto; grid-template-rows: auto; }
}

.x-how__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding: 16px 16px 16px 24px; border-radius: 16px; background: var(--sf); border: 1px solid var(--ln); font-size: 15px; color: var(--mu); }
.x-how__foot b { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .x-how { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .x-how__num i { display: none; }
  .x-how__foot { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { .x-how__step { transition: none; } }

@media (prefers-reduced-motion: reduce) {
  .x-dive__panel > * { animation: none; }
  .x-dive__tabs label, .x-fsearch .x-search { transition: none; }
}

/* ---------- Pricing: social proof and risk reversal ---------- */
.x-ptrust { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--mu); }
.x-ptrust > span:last-child { display: inline; }
.x-ptrust .x-stars { margin-right: 8px; vertical-align: -1px; }
.x-ptrust b { color: var(--ink); font-weight: 600; }
.x-ptrust .x-faces span { border-color: var(--pg); }

.x-assure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; margin-top: 24px; }
.x-assure__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px; border-radius: 18px; background: var(--sf); border: 1px solid var(--ln); font-size: 14px; line-height: 21px; color: var(--mu); }
.x-assure__item b { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 600; color: var(--ink); }
.x-assure__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--sk); color: var(--ink); }
.x-assure__ic svg { width: 20px; height: 20px; }
.x-assure__item--main { border-color: rgba(1,130,76,.35); background: #F4FAF6; }
.x-assure__item--main .x-assure__ic { background: var(--gr); color: #FFF; }

.x-pquote { display: grid; align-content: space-between; gap: 14px; margin: 0; padding: 20px 22px; border-radius: 18px; background: var(--dk); color: var(--dkink); }
.x-pquote blockquote { margin: 0; font: 500 17px/1.4 var(--font-display); letter-spacing: -.01em; }
.x-pquote figcaption { display: flex; align-items: center; gap: 10px; font-size: 12.5px; line-height: 17px; color: var(--dkmu); }
.x-pquote figcaption b { display: block; font-size: 13.5px; font-weight: 600; color: var(--dkink); }
.x-pquote .x-ini { width: 32px; height: 32px; background: var(--dk3); border-color: var(--dkln); color: var(--dkink); }

.lp-guarantee--fine { margin-top: 18px; }

@media (max-width: 1060px) { .x-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); } .x-pquote { grid-column: 1 / -1; } }
@media (max-width: 640px) { .x-assure { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Header: design system SiteHeaderTab, inverted for a light hero ----------
   A 12px dark strip runs across the top and the dark tab hangs from it into the light hero,
   so the concave shoulders read against the page. Buttons stay the cm-btn pills. */
.x-tabhd { --tab-bg: var(--dk); --tab-ground: var(--pg); --tab-strip: 12px; }
.x-tabhd .cm-header-tab__nav { font-size: 15px; color: var(--dkmu); }
.x-tabhd .cm-header-tab__nav a { transition: color 150ms ease; }
.x-tabhd .cm-header-tab__link { font-size: 15px; color: var(--dkink); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .x-tabhd .cm-header-tab__nav a:hover { color: var(--dkink); }
  .x-tabhd .cm-header-tab__link:hover { color: var(--neon); }
}

.x-tabhd a:focus-visible, .x-tabhd button:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 8px; }
.x-tabhd ~ main .x-hero { padding-top: 72px; }
@media (max-width: 640px) { .x-tabhd ~ main .x-hero { padding-top: 48px; } }
@media (max-width: 560px) {
  .x-tabhd .cm-btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .x-tabhd .cm-btn .cm-btn__disc { display: none; }
  .x-tabhd .cm-header-tab__end { gap: 8px; }
  .x-tabhd .cm-header-tab__logo img { height: 22px; }
  .x-tabhd .cm-header-tab__bar { gap: 10px; padding: 0 12px 0 16px; }
}

/* Header fixes: Account separated from the nav, short CTA label on phones */
.x-tabhd .cm-header-tab__link { padding-left: 20px; border-left: 1px solid var(--dkln); }
.x-lbl-short { display: none; }
@media (max-width: 1240px) { .x-tabhd .cm-header-tab__link { display: none; } }
@media (max-width: 560px) {
  .x-tabhd .cm-header-tab__bar { padding: 0 10px 0 14px; }
  .x-tabhd .cm-header-tab__logo img { height: 20px; }
  .x-tabhd .x-lbl-long { display: none; }
  .x-tabhd .x-lbl-short { display: inline; }
}
/* The bar sits 1px up (margin-top: -1px) to hide a seam with the strip; drop the shoulders
   back by that 1px so their curves start exactly where the strip ends, with no notch. */
.x-tabhd .cm-header-tab__bar::before, .x-tabhd .cm-header-tab__bar::after { top: 1px; }

/* ---------- Sticky header: notched tab at the top, floating pill once scrolled ----------
   The header keeps the same total height in both states (12 + 76 - 1 = 12 + 64 + 11), so the
   page never jumps when it morphs. */
.x-tabhd { position: sticky; top: 0; z-index: 29; } /* just under the page grain (z 30), so the header's light corners get the same grain as the hero */
.x-tabhd .cm-header-tab__bar { transition: margin 360ms var(--ease-out), height 360ms var(--ease-out), border-radius 360ms var(--ease-out), padding 360ms var(--ease-out), box-shadow 360ms var(--ease-out), background-color 360ms var(--ease-out); }
.x-tabhd .cm-header-tab__bar::before, .x-tabhd .cm-header-tab__bar::after { transition: opacity 160ms ease; }
.x-tabhd.is-scrolled { background: transparent; pointer-events: none; }
.x-tabhd.is-scrolled .cm-header-tab__bar { pointer-events: auto; height: 64px !important; margin: 0 max(16px, calc((100% - 1136px) / 2)) 11px; padding: 0 10px 0 24px; border-radius: 32px; background: rgba(10,15,13,.92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 18px 40px -18px rgba(0,0,0,.55); }
.x-tabhd.is-scrolled .cm-header-tab__bar::before, .x-tabhd.is-scrolled .cm-header-tab__bar::after { opacity: 0; }
@media (max-width: 560px) { .x-tabhd.is-scrolled .cm-header-tab__bar { margin-inline: 10px; padding: 0 8px 0 18px; } }
@media (prefers-reduced-motion: reduce) { .x-tabhd .cm-header-tab__bar, .x-tabhd .cm-header-tab__bar::before, .x-tabhd .cm-header-tab__bar::after { transition: none; } }

/* Pricing on the soft grey ground: avatar rings match it */
.x-pricing.x-alt .x-ptrust .x-faces span { border-color: var(--sk); }
/* Compare and How it works now share the plain ground: a hairline keeps them apart */
#how { border-top: 1px solid var(--ln); }

/* Module tour corners: concentric radii (outer 20 − 8 gap = inner 12) */
.x-dive { border-radius: 20px; }
.x-dive__tabs { padding: 8px; gap: 4px; }
.x-dive__tabs label { border-radius: 12px; }

/* Problem section: the pile-to-one connector, rebuilt as a vertical "merge" step
   (dashed rail, arrow badge, label) so it reads at every width and never overlaps the pile */
.x-pilewrap .x-merge { grid-column: 1 / -1; justify-self: start; display: flex; align-items: center; gap: 12px; width: auto; margin: 2px 0 2px 22px; padding-left: 0; transform: none !important; color: var(--mu); }
.x-merge__ic { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sf); border: 1px solid var(--ln); color: var(--gr); box-shadow: 0 1px 2px rgba(13,20,17,.06); }
.x-merge__ic svg { width: 18px; height: 18px; }
.x-merge__ic::before, .x-merge__ic::after { content: ""; position: absolute; left: 50%; width: 0; height: 14px; border-left: 2px dashed var(--ln2); transform: translateX(-1px); }
.x-merge__ic::before { bottom: 100%; margin-bottom: 4px; }
.x-merge__ic::after { top: 100%; margin-top: 4px; }
.x-merge__txt { font: 500 13px/1 var(--font-mono); color: var(--sub); }
.x-merge__txt b { font-weight: 600; color: var(--ink); }
.x-pilewrap .x-one { grid-column: 1 / -1; justify-self: start; margin-top: 18px; }
.x-pilewrap .x-pile { margin-bottom: 18px; }

/* Header nav links styled like the Account link: white text, green on hover */
.x-tabhd .cm-header-tab__nav { color: var(--dkink); }
.x-tabhd .cm-header-tab__nav a { color: var(--dkink); }
@media (hover: hover) and (pointer: fine) { .x-tabhd .cm-header-tab__nav a:hover { color: var(--neon); } }

/* ---------- Hero product window: floating cards kept off the dashboard ----------
   Left: the "15+ → 1" card hangs off the bottom-left corner, below the sidebar menu.
   Right: the plugins list sits in the blank strip the dashboard reserves on its right,
   with the Quick Setup progress card hanging off the bottom-right corner under it. */

.x-stage__inner .x-float--c { left: auto; right: -88px; top: 96px; }

/* Real customer photos: testimonial avatars and the small face stacks */
.x-ini--img { padding: 0; border-radius: 50%; object-fit: cover; background: var(--sk); }
.x-faces--img img { flex: none; width: 28px; height: 28px; margin-left: -8px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pg); background: var(--sk); }
.x-faces--img img:first-child { margin-left: 0; }
.x-faces--img > span { margin-left: -8px; }
.x-ink .x-faces--img img { border-color: var(--dk); }
.x-pricing.x-alt .x-faces--img img { border-color: var(--sk); }

/* "Built for" strip: real platform logos next to each name */
.x-works__brands .x-brand { display: inline-flex; align-items: center; gap: 10px; }
.x-works__brands .x-brand::before { display: none; }
.x-works__brands .x-brand img { flex: none; width: 28px; height: 28px; border-radius: 50%; }
.x-works__brands .x-brand:last-child img { border-radius: 7px; }

/* Linked reviewer name */
.x-who__link { color: inherit; text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease; }
.x-who__link:focus-visible { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) { .x-who__link:hover { color: var(--neon); text-decoration: underline; } .x-quote:not(.x-quote--big) .x-who__link:hover { color: var(--gr-dk); } }

/* Hero dashboard: tighter toggle rows */
.x-dash .cm-dash-row { min-height: 38px; }
.x-dash .cm-dash-card { padding: 10px 20px; }

/* Testimonials: 3 reviews on phones, 7 wider, "Show more" reveals the rest (CSS only).
   The button hides when the wall has nothing left to show. */
.x-wall__tg { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.x-wall__more { display: flex; width: fit-content; justify-content: center; margin: 8px auto 0; cursor: pointer; }
.x-wall__more-b, .x-wall__tg:checked ~ .x-wall__more .x-wall__more-a { display: none; }
.x-wall__tg:checked ~ .x-wall__more .x-wall__more-b { display: inline; }
.x-wall__tg:focus-visible ~ .x-wall__more { outline: 2px solid var(--gr-dk); outline-offset: 3px; }
@media (min-width: 601px) {
  .x-wall__tg:not(:checked) ~ .x-wall .x-quote:nth-child(n+8), .x-wall:not(:has(.x-quote:nth-child(8))) ~ .x-wall__more { display: none; }
}
@media (max-width: 600px) {
  .x-wall__tg:not(:checked) ~ .x-wall .x-quote:nth-child(n+4), .x-wall:not(:has(.x-quote:nth-child(4))) ~ .x-wall__more { display: none; }
  .x-wall__more { width: 100%; }
}

/* Classic Monks landing page, v5 refinement.
   Loads last. Gives each section ground a job (white to read, light grey for the
   product tour and pricing, ink as punctuation), lifts text contrast and turns
   section eyebrows into readable sentence-case labels. */

.x {
  --pg: #FFFFFF;
  --sk: #F1F3F2;
  --ln: #E3E7E4;
  --ln2: #C7CFCA;
  --mu: #45524B;
  --sub: #5A665F;
  --sage: #F1F3F2;
  --sage-2: #F1F3F2;
  --sage-ln: #E3E7E4;
  background: var(--pg);
}

/* ---------- Section grounds ---------- */
.x-sec, .x-alt { background: var(--pg); border-block: 0; }

#features, #modules, #testimonials, #compare {
  background: var(--sage);
  border-block: 1px solid var(--sage-ln);
}
#pricing.x-sec {
  background: var(--sage-2);
  border-block: 1px solid var(--sage-ln);
}
.x-ft { background: var(--sage); }
/* The closing card straddles the white page and the grey footer */
.x-cta { background: linear-gradient(var(--pg) 58%, var(--sage) 58%); }
.x .x-cta { padding-top: 0; }

/* Elements that drew a ring in the old ground colour */
#pricing .x-faces span, #pricing .x-faces--img img,
.x-pricing.x-alt .x-ptrust .x-faces span, .x-pricing.x-alt .x-faces--img img { border-color: var(--sage-2); }
#testimonials .x-faces span, #testimonials .x-faces--img img { border-color: var(--sage); }

/* Cards on the grey ground read as paper: a crisp white face and a slightly firmer edge */
#features .x-cat,
#modules .x-dive,
#testimonials .x-quote:not(.x-quote--big),
#compare .x-cmp,
#pricing .cm-dualcard:not(.cm-dualcard--night) { border-color: var(--sage-ln); }

/* Inner price wells: cool on light cards, untouched on the dark one */
#pricing .cm-dualcard:not(.cm-dualcard--night) .cm-dual { background: var(--sk); border-color: var(--ln); }

/* ---------- Type: section eyebrows ---------- */
.x-eyebrow {
  display: block;
  font: 600 15px/20px var(--font-sans);
  letter-spacing: 0;
  color: #016B3F;
}
.x-ink .x-eyebrow { color: var(--neon); }

/* One highlighter mark per page, in the hero. Section headings stay plain. */
.x-sec .x-mark {
  background: none;
  animation: none;
  color: inherit;
}

/* Longer reads get a steadier measure and colour */
.x-lead { color: var(--mu); }
.x-sec .x-lead { max-width: 60ch; }

/* Pricing fine print: two centred lines that read as one note */
#pricing .lp-guarantee--fine { margin-top: 28px; justify-content: center; gap: 4px 20px; font-size: 13px; line-height: 20px; color: var(--sub); }
#pricing .lp-guarantee--fine + .cm-glance-note { margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--sub); }

/* Assurance cards: icon on top, text below, everything left aligned */
#pricing .x-assure__item {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-items: start;
  gap: 16px;
  text-align: left;
}

/* The old way: cross icons in a muted red */
.x-vs__col--old li::before {
  background: #F6E4E2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E3B33' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Browser window lights: close, minimise, zoom */
.x-lights i { box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12); }
.x-lights i:nth-child(1) { background: #FF5F57; }
.x-lights i:nth-child(2) { background: #FEBC2E; }
.x-lights i:nth-child(3) { background: #28C840; }

/* Bricks card: category chips carry their item count on the right */
.x-chips--count span { justify-content: space-between; gap: 8px; }
.x-chips--count span::before { display: none; }
.x-chips--count b { flex: none; font: 600 12.5px/1 var(--font-sans); font-variant-numeric: tabular-nums; color: #6B5200; }

/* Footer column headings: plain sans, not grey mono */
.x-ft__col h4 {
  font: 600 14px/20px var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.x-ft__brand img { height: 34px; width: auto; }
.x-ft__brand p, .x-ft__col a { color: var(--mu); }
.x-ft__col a:hover { color: var(--ink); }

/* Classic Monks landing page, v6: motion and finish.
   Loads last. Nothing here changes layout or copy. It choreographs the hero's first
   paint, reveals sections once as they arrive, gives every pressable thing a response,
   and adds the small details (scroll offsets, selection, numerals, form states) that
   nobody notices until they are missing. Every movement is gated on reduced motion. */

.x {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);      /* gentle ease-out for content motion */
  --ease-soft-io: cubic-bezier(0.65, 0, 0.35, 1);   /* gentle ease-in-out for drawn lines */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  interpolate-size: allow-keywords;
}

/* ================================================================
   Invisible details
   ================================================================ */

/* Anchor jumps glide, and land below the sticky header instead of under it */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.x [id] { scroll-margin-top: 104px; }
.x #top { scroll-margin-top: 0; }

/* Selection in the brand's tint, legible on both grounds */
.x ::selection { background: #CDEBD9; color: #0F1A14; }
.x .x-ink ::selection, .x .x-tabhd ::selection, .x .cm-dualcard--night ::selection { background: rgba(92,203,148,.38); color: #FFFFFF; }

/* Taps feel native: no grey flash, no double-tap zoom delay */
.x a, .x button, .x label, .x summary, .x input[type="checkbox"], .x input[type="radio"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Numbers that sit in columns or change should not jitter */
.x .cm-price-amt strong, .x .cm-price-per, .x .x-stats strong, .x .x-bstats strong,
.x .x-cmp__big, .x .x-ver, .x .cm-dash-count, .x .x-float__ring b, .x .x-dive__tabs small,
.x .x-mini__t small, .x .x-tree2 small {
  font-variant-numeric: tabular-nums;
}

/* Logos and marks are not things to drag around */
.x .cm-header-tab__logo img, .x .x-pill__mark, .x .x-cta__mark, .x .cm-dash-topbar__logo {
  -webkit-user-drag: none;
  user-select: none;
}

/* Form fields: complain only after the visitor has had a go */
.x .x-news__field input:user-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179,38,30,.12);
}
.x .x-news__field input::placeholder { color: var(--sub); opacity: .8; transition: opacity 150ms ease; }
.x .x-news__field input:focus::placeholder { opacity: .45; }

/* ================================================================
   Hero: one choreographed first paint
   Pill, headline, lead, actions and trust row rise in a short cascade (70 ms apart),
   then the product window settles, the floating cards land, the pen strikes
   "15 plugins", the highlighter sweeps and the margin notes draw their arrows.
   ================================================================ */
@keyframes x-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes x-in-window {
  from { opacity: 0; transform: translateY(28px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes x-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes x-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .x-hero .x-pill,
  .x-hero .x-display,
  .x-hero .x-lead,
  .x-hero .x-actions,
  .x-hero .x-trust { animation: x-in 640ms var(--ease-out) both; }
  .x-hero .x-display { animation-delay: 70ms; }
  .x-hero .x-lead    { animation-delay: 140ms; }
  .x-hero .x-actions { animation-delay: 210ms; }
  .x-hero .x-trust   { animation-delay: 280ms; }

  .x-hero .x-window { transform-origin: 50% 0; animation: x-in-window 900ms var(--ease-out) 340ms both; }

  /* Floating cards land after the window, not with it */
  .x-hero .x-float   { animation-duration: 600ms; animation-delay: 720ms; }

  .x-hero .x-float--c { animation-delay: 880ms; }

  /* The pen line waits until the headline has settled */
  .x-hero .x-strike::after { animation-delay: 700ms; animation-duration: 560ms; }

  /* Highlighter: on load in the hero, instead of waiting for a scroll that never comes */
  .x-hero .x-mark {
    animation: x-mark 720ms var(--ease-out) 880ms both;
    animation-timeline: auto;
    animation-range: normal;
  }

  /* Margin notes: fade in, then the arrow is drawn like a pen stroke */
  .x-hero .x-hnote { animation: x-fade 500ms ease 1000ms both; }
  .x-hero .x-hnote path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: x-draw 520ms var(--ease-in-out) 1150ms both; }
  .x-hero .x-hnote path + path { animation-delay: 1560ms; animation-duration: 220ms; animation-timing-function: var(--ease-out); }
  .x-hero .x-hnote--r { animation-delay: 1100ms; }
  .x-hero .x-hnote--r path { animation-delay: 1250ms; }
  .x-hero .x-hnote--r path + path { animation-delay: 1660ms; }
}
@media (prefers-reduced-motion: reduce) {
  /* Gentler, not absent: a plain fade, no movement */
  .x-hero .x-pill, .x-hero .x-display, .x-hero .x-lead, .x-hero .x-actions,
  .x-hero .x-trust, .x-hero .x-window { animation: x-fade 400ms ease both; }
}

/* Margin notes lean in toward the buttons while the pointer is over the hero copy */
.x-hero .x-hnote { transition: translate 700ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .x-hero > .x-wrap:hover .x-hnote--l { translate: 28px 10px; }
  .x-hero > .x-wrap:hover .x-hnote--r { translate: -28px 10px; }
}

/* Floating cards follow the pointer a little (set by the page script on `translate`,
   which composes with their entrance `transform` instead of fighting it) */
.x-hero .x-float { will-change: translate; }

/* ================================================================
   Section reveals: once, on arrival, staggered by what arrives together
   The page script adds .x-rv to targets and .is-in when each one enters the
   viewport, then removes both so each card gets its own hover transitions back.
   ================================================================ */
/* These used to scrub with the scrollbar (and un-reveal on the way back up) */
.x-cat, .x-tile, .x-stats > div { animation: none; }

/* Doubled class: outranks cards that declare their own hover transition (pricing) */
.x .x-rv.x-rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease-soft), transform 1000ms var(--ease-soft);
}
.x .x-rv.x-rv.is-in { opacity: 1; transform: none; }

/* ================================================================
   Header
   ================================================================ */
/* The tab-to-pill morph is movement on screen: the drawer curve, a little quicker */
.x-tabhd .cm-header-tab__bar {
  transition-duration: 320ms;
  transition-timing-function: var(--ease-drawer);
}

/* Where am I: the nav link for the page in view turns green */
.x-tabhd .cm-header-tab__nav a[aria-current] { color: var(--neon); }

/* ================================================================
   Press feedback on everything pressable
   ================================================================ */
.x .x-dive__tabs label,
.x .x-fsearch__hot a,
.x .x-social a,
.x .x-ft__rel,
.x .x-wall__more,
.x .x-rep__filters label {
  transition-property: transform, background-color, color, border-color, box-shadow;
  transition-duration: 160ms, 150ms, 150ms, 150ms, 150ms;
  transition-timing-function: var(--ease-out), ease, ease, ease, ease;
}
.x .x-dive__tabs label:active,
.x .x-fsearch__hot a:active,
.x .x-social a:active,
.x .x-ft__rel:active,
.x .x-wall__more:active,
.x .x-rep__filters label:active { transform: scale(.97); }
.x .x-ft__col--docs li a:active { transform: scale(.985); }

/* Toggles: the track warms up under the pointer before you click */
@media (hover: hover) and (pointer: fine) {
  .x label:hover > input:not(:checked) + .x-sw { background: #C3CAC6; }
}

/* ================================================================
   Module tour: panels cross-fade, so the swap reads as one change
   ================================================================ */
@keyframes x-dive-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .x-dive__panel > * { animation-duration: 520ms; animation-timing-function: var(--ease-soft); animation-fill-mode: backwards; }
  .x-dive__panel > :last-child { animation-delay: 90ms; }
}

/* ================================================================
   Pricing: cards lift a hair under the pointer; the night card glows instead
   ================================================================ */
.x-pricing .cm-dualcard { transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .x-pricing .cm-dualcard:not(.cm-dualcard--night):hover { transform: translateY(-2px); border-color: var(--ln2); box-shadow: 0 1px 2px rgba(13,20,17,.05), 0 18px 36px -22px rgba(13,20,17,.28); }
  .x-pricing .cm-dualcard--night:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -24px rgba(1,84,51,.55); }
}

/* ================================================================
   FAQ: answers open and close with height, and the text settles in after
   ================================================================ */
@media (prefers-reduced-motion: no-preference) {
  .x-faq__list details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete;
  }
  .x-faq__list details[open]::details-content { block-size: auto; }
  .x-faq__list details p { transition: opacity 240ms ease 40ms, transform 280ms var(--ease-out) 40ms; }
  @starting-style {
    .x-faq__list details[open] p { opacity: 0; transform: translateY(-4px); }
  }
}
.x-faq__list summary { transition: color 150ms ease; }
.x-faq__list summary::after { transition: transform 240ms var(--ease-out), background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .x-faq__list summary:hover { color: var(--gr-dk); }
  .x-faq__list summary:hover::after { background-color: var(--mark); }
}
.x-faq__list summary:active::after { transform: scale(.9); }
.x-faq__list details[open] summary:active::after { transform: rotate(45deg) scale(.9); }

/* ================================================================
   Plugin icons: generic line icons for the single-purpose plugins being replaced
   ================================================================ */
.x-pile li i, .x-plugrow i { display: grid; place-items: center; color: var(--mu); }
.x-pile li i svg { width: 10px; height: 10px; }
.x-pile li:nth-child(3n+1) i { color: #8A5A00; }
.x-pile li:nth-child(4n+2) i { color: #2F5A8A; }
.x-pile li:nth-child(5n) i { color: #8E3B33; }
.x-plugrow i svg { width: 15px; height: 15px; }
.x-plugrow i { color: var(--dash-text-subtle); }
.x-log i { display: grid; place-items: center; color: var(--sub); }
.x-log i svg { width: 15px; height: 15px; }
/* Same saffron pen as the hero's "15 plugins" strike, drawn as a line we can animate */
.x-logs .x-log s, .x-how__ui .x-plugrow s {
  text-decoration: none;
  background: linear-gradient(var(--saffron), var(--saffron)) no-repeat 0 56% / 100% 1.5px;
  justify-self: start; /* the line spans the name, not the whole grid cell */
}

/* Hero "Plugins on this site" card: removed plugins wear the same tiles as in the pile */
.x-float .x-plugrow i.x-ic { border-radius: 7px; background: var(--sk); border: 1px solid var(--ln); color: var(--mu); }
.x-float .x-plugrow i.x-ic--saffron { background: var(--saffron-50); border-color: #F1D7A8; color: #8A5A00; }
.x-float .x-plugrow i.x-ic--blue { background: #E6EEF7; border-color: #C9D8EA; color: #2F5A8A; }
.x-float .x-plugrow i.x-ic--red { background: #F6E4E2; border-color: #E9C6C1; color: #8E3B33; }

/* ================================================================
   Content that plays itself once on arrival
   When a card or panel scrolls in, the page script marks it .is-seen and sets
   --rv (its own reveal delay), so what's inside starts as the card itself arrives.
   Timing rules used throughout:
   - slow and gradual: soft ease-out curves, every sequence settles within about 2 s
   - rows cascade 70-85 ms apart; a switch flips only after its row has landed
   - a box and its rows never both move: boxes fade, rows rise
   - `backwards` fill, so once done everything is back to its normal, clickable self
   Module tour panels replay on every tab switch; hover replays (mouse) start 270 ms in.
   ================================================================ */

/* Stagger index for children of the lists that cascade */
:is(.x-mini > div, .x-chips, .x-otp, .x-swatches, .x-mail, .x-tree2, .x-mbtns, .x-mini--dark,
    .x-checks, .x-ui__body, .x-table tbody, .x-tree, .x-logs, .x-how__ui, .x-how__sites,
    .x-how__inc, .x-rep__rows, .x-cmp__t tbody, .x-vs__col ul) > :nth-child(2) { --n: 1; }
:is(.x-mini > div, .x-chips, .x-otp, .x-swatches, .x-mail, .x-tree2, .x-mbtns, .x-mini--dark,
    .x-checks, .x-ui__body, .x-table tbody, .x-tree, .x-logs, .x-how__ui, .x-how__sites,
    .x-how__inc, .x-rep__rows, .x-cmp__t tbody, .x-vs__col ul) > :nth-child(3) { --n: 2; }
:is(.x-mini > div, .x-chips, .x-otp, .x-swatches, .x-mail, .x-tree2, .x-mbtns, .x-mini--dark,
    .x-checks, .x-ui__body, .x-table tbody, .x-tree, .x-logs, .x-how__ui, .x-how__sites,
    .x-how__inc, .x-rep__rows, .x-cmp__t tbody, .x-vs__col ul) > :nth-child(4) { --n: 3; }
:is(.x-mini > div, .x-chips, .x-otp, .x-swatches, .x-mail, .x-tree2, .x-mbtns, .x-mini--dark,
    .x-checks, .x-ui__body, .x-table tbody, .x-tree, .x-logs, .x-how__ui, .x-how__sites,
    .x-how__inc, .x-rep__rows, .x-cmp__t tbody, .x-vs__col ul) > :nth-child(5) { --n: 4; }
:is(.x-mini > div, .x-chips, .x-otp, .x-swatches, .x-mail, .x-tree2, .x-mbtns, .x-mini--dark,
    .x-checks, .x-ui__body, .x-table tbody, .x-tree, .x-logs, .x-how__ui, .x-how__sites,
    .x-how__inc, .x-rep__rows, .x-cmp__t tbody, .x-vs__col ul) > :nth-child(6) { --n: 5; }
:is(.x-mini > div, .x-chips, .x-otp, .x-swatches, .x-mail, .x-tree2, .x-mbtns, .x-mini--dark,
    .x-checks, .x-ui__body, .x-table tbody, .x-tree, .x-logs, .x-how__ui, .x-how__sites,
    .x-how__inc, .x-rep__rows, .x-cmp__t tbody, .x-vs__col ul) > :nth-child(7) { --n: 6; }
:is(.x-mini > div, .x-chips, .x-otp, .x-swatches, .x-mail, .x-tree2, .x-mbtns, .x-mini--dark,
    .x-checks, .x-ui__body, .x-table tbody, .x-tree, .x-logs, .x-how__ui, .x-how__sites,
    .x-how__inc, .x-rep__rows, .x-cmp__t tbody, .x-vs__col ul) > :nth-child(n+8) { --n: 7; }

@keyframes x-up    { from { opacity: 0; transform: translateY(6px); } }
@keyframes x-left  { from { opacity: 0; transform: translateX(-8px); } }
@keyframes x-pop   { from { opacity: 0; transform: scale(.86); } }
@keyframes x-grow  { from { transform: scaleX(0); } }
@keyframes x-type  { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes x-knob  { from { transform: translateX(0); } }
@keyframes x-track { from { background-color: #D2D7D4; } }
@keyframes x-pen   { from { background-size: 0 1.5px; } }
@keyframes x-msg-r { from { opacity: 0; transform: translateY(6px) scale(.94); } }
@keyframes x-cm-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); box-shadow: 0 0 0 1px rgba(1,130,76,.35), 0 0 0 0 var(--mark); }
}
@keyframes x-pick  { 50% { box-shadow: 0 0 0 6px var(--mark); } }
@keyframes x-go    { from { background: var(--ink); } to { background: var(--gr); } }
@keyframes x-bump  { 40% { transform: scale(1.12); } }

/* Quick WordPress Setup: the step counter is a small odometer (1 to 4 of 5) */
.x-qs__count { display: inline-flex; align-items: baseline; gap: .35em; }
.x-qs__n { display: inline-block; height: 16px; overflow: hidden; vertical-align: top; }
.x-qs__roll { display: flex; flex-direction: column; transform: translateY(-60%); }
.x-qs__roll > span { display: block; height: 16px; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
/* The setup card: a summary list when still; with motion, a guided run through the
   plugin's real sections, one 2.9 s screen at a time, ending on "Setup complete". */
.x-qs__stage { position: relative; min-height: 262px; }
.x-qs__pane { display: none; position: absolute; inset: 0; padding: 14px 16px; align-content: start; gap: 10px; background: var(--sf); }
.x-qs__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 600 14px/18px var(--font-sans); color: var(--ink); }
.x-qs__h span { font: 500 11px/1 var(--font-mono); color: var(--sub); }
.x-qs__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.x-qs__f { display: grid; gap: 4px; min-width: 0; }
.x-qs__f > span:first-child { font: 500 11px/14px var(--font-sans); color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-qs__in { display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--ln); background: var(--sf); font: 500 12.5px/1 var(--font-sans); color: var(--ink); white-space: nowrap; overflow: hidden; }
.x-qs__sel { padding-right: 26px; background: var(--sf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A665F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 9px center / 12px no-repeat; }
.x-qs__in > span { display: block; overflow: hidden; text-overflow: ellipsis; }
.x-qs__f--tg { grid-template-columns: minmax(0, 1fr) auto; align-items: center; align-self: end; height: 30px; }
.x-qs__list { display: grid; gap: 6px; }
.x-qs__item { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--ln); font-size: 13px; color: var(--ink); }
.x-qs__item .x-badge { margin-left: auto; }
.x-qs__seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 3px; border-radius: 9px; background: var(--sk); border: 1px solid var(--ln); }
.x-qs__seg span { display: grid; place-items: center; height: 26px; border-radius: 7px; font: 500 12px/1 var(--font-sans); color: var(--sub); }
.x-qs__seg .on { background: var(--ink); color: #FFF; }
.x-qs__toggles { display: grid; }
.x-qs__tg { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--ln); font-size: 13px; line-height: 16px; color: var(--ink); }
.x-qs__tg:first-child { border-top: 0; }
.x-qs__checks { display: grid; gap: 9px; }
.x-qs__ck { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 16px; color: var(--ink); }
.x-qs__box { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: var(--gr); color: #FFF; }
.x-qs__box svg { width: 11px; height: 11px; }
.x-qs__done { justify-items: center; align-content: center; gap: 4px; text-align: center; }
.x-qs__ok { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; background: var(--gr); color: #FFF; box-shadow: 0 0 0 6px var(--mark); }
.x-qs__ok svg { width: 24px; height: 24px; }
.x-qs__done b { font: 600 18px/1.2 var(--font-display); color: var(--ink); }
.x-qs__done small { max-width: 30ch; font-size: 13.5px; line-height: 20px; color: var(--mu); }

@keyframes x-qs-pane {
  0%   { opacity: 0; transform: translateX(14px); }
  10%  { opacity: 1; transform: none; }
  90%  { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(-14px); }
}
@keyframes x-qs-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes x-qs-count {
  0%, 19%   { transform: translateY(0); }
  21%, 39%  { transform: translateY(-20%); }
  41%, 59%  { transform: translateY(-40%); }
  61%, 79%  { transform: translateY(-60%); }
  81%, 100% { transform: translateY(-80%); }
}
@keyframes x-qs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes x-tick { from { background: var(--sf); box-shadow: inset 0 0 0 1.5px var(--ln2); color: transparent; } }
@keyframes x-seg   { from { background: transparent; color: var(--sub); } }

@media (prefers-reduced-motion: no-preference) {
  /* ---------- Every tab, one switch each ---------- */
  .x-cat.is-seen .x-cat__ic { animation: x-pop 710ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 100ms); }
  .x-cat.is-seen .x-mini { animation: x-fade 610ms ease backwards; animation-delay: calc(var(--rv, 0ms) + 140ms); }
  .x-cat.is-seen :is(.x-mrow, .x-mfile, .x-chips span, .x-mail span, .x-tree2 span, .x-mbtns span, .x-wl__item, .x-2fa__trust) {
    animation: x-up 610ms var(--ease-soft) backwards;
    animation-delay: calc(var(--rv, 0ms) + 240ms + var(--n, 0) * 70ms);
  }
  .x-cat.is-seen :is(.x-otp span, .x-swatches i) {
    animation: x-pop 510ms var(--ease-soft) backwards;
    animation-delay: calc(var(--rv, 0ms) + 270ms + var(--n, 0) * 80ms);
  }
  .x-cat.is-seen .x-coupon { animation: x-up 610ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 650ms); }
  .x-cat.is-seen .x-2fa__trust { animation-delay: calc(var(--rv, 0ms) + 710ms); }
  /* Switches flip on once their row has landed */
  .x-cat.is-seen .x-mrow :checked + .x-sw,
  .x-cat.is-seen .x-mrow :checked + .x-sw::after {
    animation: x-track 440ms ease backwards;
    animation-delay: calc(var(--rv, 0ms) + 780ms + var(--n, 0) * 140ms);
  }
  .x-cat.is-seen .x-2fa__trust .x-sw--on,
  .x-cat.is-seen .x-2fa__trust .x-sw--on::after { animation: x-track 440ms ease backwards; animation-delay: calc(var(--rv, 0ms) + 1120ms); }
  .x-cat.is-seen .x-mrow :checked + .x-sw::after,
  .x-cat.is-seen .x-2fa__trust .x-sw--on::after { animation-name: x-knob; animation-duration: 480ms; animation-timing-function: var(--ease-soft); }
  .x-cat.is-seen .x-mbar i { transform-origin: left center; animation: x-grow 1360ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 510ms); }
  .x-cat.is-seen .x-mini pre { animation: x-type 1100ms var(--ease-soft-io) backwards; animation-delay: calc(var(--rv, 0ms) + 340ms); }
  .x-cat.is-seen .x-chat p:first-child { transform-origin: bottom right; animation: x-msg-r 610ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 240ms); }
  .x-cat.is-seen .x-chat p:last-child  { transform-origin: bottom left;  animation: x-msg-r 610ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 950ms); }

  /* ---------- Six modules: replays on each tab ---------- */
  .x-dive.is-seen .x-dive__panel :is(.x-checks li, .x-ui__body > *, .x-table tbody tr, .x-tree span) {
    animation: x-up 580ms var(--ease-soft) backwards;
    animation-delay: calc(var(--rv, 0ms) + 170ms + var(--n, 0) * 70ms);
  }
  .x-dive.is-seen .x-dive__panel .x-otp span { animation: x-pop 510ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 270ms + var(--n, 0) * 80ms); }
  .x-dive.is-seen .x-dive__panel .x-code pre { animation: x-type 1100ms var(--ease-soft-io) backwards; animation-delay: calc(var(--rv, 0ms) + 200ms); }
  .x-dive.is-seen .x-dive__panel .x-tree span { animation-delay: calc(var(--rv, 0ms) + 610ms + var(--n, 0) * 80ms); }
  .x-dive.is-seen .x-dive__panel .x-ai { animation: x-up 610ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 1020ms); }
  .x-dive.is-seen .x-dive__panel .x-login__form { animation: x-up 680ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 140ms); }
  .x-dive.is-seen .x-dive__panel .x-pmini > * { animation: x-up 610ms var(--ease-soft) backwards; animation-delay: var(--rv, 0ms); }
  .x-dive.is-seen .x-dive__panel .x-pmini > :nth-child(2) { animation-delay: calc(var(--rv, 0ms) + 80ms); }
  .x-dive.is-seen .x-dive__panel .x-pmini > :nth-child(3) { animation-delay: calc(var(--rv, 0ms) + 150ms); }
  .x-dive.is-seen .x-dive__panel .x-pmini > :nth-child(4) { animation-delay: calc(var(--rv, 0ms) + 220ms); }
  .x-dive.is-seen .x-dive__panel .x-pmini > :nth-child(5) { animation-delay: calc(var(--rv, 0ms) + 650ms); }
  .x-dive.is-seen .x-dive__panel .x-pmini > :nth-child(6) { animation-delay: calc(var(--rv, 0ms) + 750ms); }
  .x-dive.is-seen .x-dive__panel .x-swatches i { animation: x-pop 480ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 310ms + var(--n, 0) * 70ms); }
  .x-dive.is-seen .x-dive__panel .x-row :checked + .x-sw,
  .x-dive.is-seen .x-dive__panel .x-row :checked + .x-sw::after {
    animation: x-track 440ms ease backwards;
    animation-delay: calc(var(--rv, 0ms) + 580ms + var(--n, 0) * 140ms);
  }
  .x-dive.is-seen .x-dive__panel .x-row :checked + .x-sw::after { animation-name: x-knob; animation-duration: 480ms; animation-timing-function: var(--ease-soft); }

  /* Quick WordPress Setup: a guided run. --qs is when it starts; each section gets
     about 2.9 s (--k is its place); the bar fills and the counter rolls across the whole run. */
  .x-dive.is-seen .x-qs { --qs: calc(var(--rv, 0ms) + 480ms); }
  .x-dive.is-seen .x-qs .x-qs__pane { --s: calc(var(--qs) + var(--k, 0) * 2880ms); display: grid; opacity: 0; animation: x-qs-pane 2880ms ease; animation-delay: var(--s); }
  .x-dive.is-seen .x-qs .x-qs__summary { opacity: 0; }
  .x-dive.is-seen .x-qs .x-progress i { width: 100%; transform-origin: left center; animation: x-qs-fill 14400ms linear both; animation-delay: var(--qs); }
  .x-dive.is-seen .x-qs .x-qs__roll { animation: x-qs-count 14400ms var(--ease-soft) both; animation-delay: var(--qs); }
  /* fields fill in, as if typed */
  .x-dive.is-seen .x-qs .x-qs__f { animation: x-up 670ms var(--ease-soft) backwards; animation-delay: calc(var(--s) + 190ms + var(--n, 0) * 160ms); }
  .x-dive.is-seen .x-qs .x-qs__in { animation: x-focus 830ms ease; animation-delay: calc(var(--s) + 350ms + var(--n, 0) * 160ms); }
  .x-dive.is-seen .x-qs .x-qs__in > span { animation: x-type 770ms var(--ease-soft-io) backwards; animation-delay: calc(var(--s) + 420ms + var(--n, 0) * 160ms); }
  /* plugins and theme get added and activated */
  .x-dive.is-seen .x-qs .x-qs__item { animation: x-up 670ms var(--ease-soft) backwards; animation-delay: calc(var(--s) + 480ms + var(--n, 0) * 240ms); }
  .x-dive.is-seen .x-qs .x-qs__item .x-badge { animation: x-pop 610ms var(--ease-soft) backwards; animation-delay: calc(var(--s) + 720ms + var(--n, 0) * 240ms); }
  /* homepage: the static page option is picked, then the switches flip on */
  .x-dive.is-seen .x-qs .x-qs__seg .on { animation: x-seg 580ms ease backwards; animation-delay: calc(var(--s) + 400ms); }
  .x-dive.is-seen .x-qs .x-qs__tg { animation: x-up 640ms var(--ease-soft) backwards; animation-delay: calc(var(--s) + 240ms + var(--n, 0) * 180ms); }
  .x-dive.is-seen .x-qs .x-qs__fields + .x-qs__toggles .x-qs__tg { animation-delay: calc(var(--s) + 640ms + var(--n, 0) * 180ms); }
  .x-dive.is-seen .x-qs .x-qs__tg .x-sw--on,
  .x-dive.is-seen .x-qs .x-qs__tg .x-sw--on::after { animation: x-track 580ms ease backwards; animation-delay: calc(var(--s) + 560ms + var(--n, 0) * 220ms); }
  .x-dive.is-seen .x-qs .x-qs__tg .x-sw--on::after { animation-name: x-knob; animation-duration: 640ms; animation-timing-function: var(--ease-soft); }
  /* cleanup: each item gets ticked */
  .x-dive.is-seen .x-qs .x-qs__ck { animation: x-up 640ms var(--ease-soft) backwards; animation-delay: calc(var(--s) + 240ms + var(--n, 0) * 130ms); }
  .x-dive.is-seen .x-qs .x-qs__box { animation: x-tick 480ms ease backwards; animation-delay: calc(var(--s) + 480ms + var(--n, 0) * 190ms); }
  /* done: Quick Setup reports and switches itself off */
  .x-dive.is-seen .x-qs .x-qs__done { animation: x-qs-in 960ms var(--ease-soft) forwards; animation-delay: calc(var(--qs) + 14400ms); }
  .x-dive.is-seen .x-qs .x-qs__ok { animation: x-pop 830ms var(--ease-soft) backwards; animation-delay: calc(var(--qs) + 14640ms); }
  .x-dive.is-seen .x-qs .x-qs__done :is(b, small) { animation: x-up 830ms var(--ease-soft) backwards; animation-delay: calc(var(--qs) + 14880ms); }
  .x-dive.is-seen .x-qs .x-qs__done small { animation-delay: calc(var(--qs) + 15010ms); }

  /* ---------- Changelogs you watch: each one struck through in turn ---------- */
  .x-panel.is-seen .x-logs .x-log { animation: x-left 650ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 140ms + var(--n, 0) * 80ms); }
  .x-panel.is-seen .x-logs .x-log s { animation: x-pen 610ms var(--ease-soft-io) backwards; animation-delay: calc(var(--rv, 0ms) + 540ms + var(--n, 0) * 170ms); }
  .x-panel.is-seen .x-log--cm { animation: x-cm-in 880ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 1290ms); }

  /* ---------- Three moves: one step at a time ----------
     Step 01 takes its turn first: its number turns green and only its card plays.
     Then 02, then 03, 1.8 s apart (--hs). Each number stays green once its step is done. */
  .x-how__step:nth-child(2) { --hs: 1800ms; }
  .x-how__step:nth-child(3) { --hs: 3600ms; }
  .x-how__step.is-replay { --hs: 0ms; }
  .x-how__step.is-seen .x-how__num span {
    animation: x-go 520ms ease forwards, x-bump 620ms var(--ease-soft);
    animation-delay: calc(var(--rv, 0ms) + var(--hs, 0ms)), calc(var(--rv, 0ms) + var(--hs, 0ms));
  }
  .x-how__step.is-seen .x-how__ui > * { animation: x-up 610ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + var(--hs, 0ms) + 270ms + var(--n, 0) * 80ms); }
  .x-how__step.is-seen .x-how__sites span { animation: x-pop 480ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + var(--hs, 0ms) + 370ms + var(--n, 0) * 60ms); }
  .x-how__step.is-seen .x-how__sites .on { animation: x-pop 480ms var(--ease-soft) backwards, x-pick 820ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + var(--hs, 0ms) + 550ms), calc(var(--rv, 0ms) + var(--hs, 0ms) + 950ms); }
  .x-how__step.is-seen .x-how__ui .x-row :checked + .x-sw,
  .x-how__step.is-seen .x-how__ui .x-row :checked + .x-sw::after {
    animation: x-track 440ms ease backwards;
    animation-delay: calc(var(--rv, 0ms) + var(--hs, 0ms) + 710ms + var(--n, 0) * 150ms);
  }
  .x-how__step.is-seen .x-how__ui .x-row :checked + .x-sw::after { animation-name: x-knob; animation-duration: 480ms; animation-timing-function: var(--ease-soft); }
  .x-how__step.is-seen .x-how__ui .x-plugrow s { animation: x-pen 610ms var(--ease-soft-io) backwards; animation-delay: calc(var(--rv, 0ms) + var(--hs, 0ms) + 710ms + var(--n, 0) * 170ms); }
  .x-how__step.is-seen .x-how__ui .x-plugrow .x-tag:not(.x-tag--on) { animation: x-pop 440ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + var(--hs, 0ms) + 1020ms + var(--n, 0) * 170ms); }

  /* Module tour hover replay: only the design card plays again, the copy stays still */
  .x-dive.is-replay.is-seen .x-dive__panel .x-checks li { animation: none; }

  /* ---------- Elsewhere: lists cascade in ---------- */
  .x-vs__col.is-seen li { animation: x-left 650ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 200ms + var(--n, 0) * 100ms); }
  .x-rep.is-seen .x-rr { animation: x-up 580ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 140ms + var(--n, 0) * 50ms); }
  .x-cmp.is-seen tbody tr { animation: x-up 580ms var(--ease-soft) backwards; animation-delay: calc(var(--rv, 0ms) + 170ms + var(--n, 0) * 50ms); }
}

/* ---------- Security cards (features grid and module tour): a complete two factor sign-in ----------
   Without motion (or before it plays) the card is the original still: five digits
   and the cursor waiting in the sixth box. With motion it plays the whole flow once:
   each box takes focus and gets its digit (260 ms apart), Trust this device switches
   on, the code verifies green, and the card settles on "Signed in". Hover replays it. */
.x-2fa-demo { position: relative; overflow: hidden; }
.x-2fa-demo .x-otp span:last-child { color: transparent; }
.x-2fa__done { display: none; }
.x-2fa__done { position: absolute; inset: 0; place-content: center; justify-items: center; gap: 2px; padding: 12px; background: var(--sk); text-align: center; }
.x-2fa__check { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 50%; background: var(--gr); color: #FFF; box-shadow: 0 0 0 5px var(--mark); }
.x-2fa__check svg { width: 18px; height: 18px; }
.x-2fa__done b { font: 600 14px/18px var(--font-sans); color: var(--ink); }
.x-2fa__done small { font-size: 12px; line-height: 16px; color: var(--mu); }
.x-dive__otpbody .x-2fa__done { background: var(--sf); gap: 4px; }
.x-dive__otpbody .x-2fa__check { width: 48px; height: 48px; margin-bottom: 10px; }
.x-dive__otpbody .x-2fa__check svg { width: 24px; height: 24px; }
.x-dive__otpbody .x-2fa__done b { font: 600 18px/1.2 var(--font-display); }
.x-dive__otpbody .x-2fa__done small { font-size: 14px; line-height: 20px; }

@keyframes x-focus  { 0%, 85% { border-color: var(--gr); box-shadow: 0 0 0 3px var(--mark); } }
@keyframes x-digit  { from { color: transparent; transform: translateY(3px); } to { color: var(--ink); transform: none; } }
@keyframes x-verify { to { border-color: var(--gr); background: var(--mark); color: var(--gr-dk); } }
@keyframes x-signin { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo { --t0: calc(var(--rv, 0ms) + 500ms); }
  /* the sixth box loses its waiting cursor; focus is handed along the row instead */
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-otp span:last-child { border-color: var(--ln); box-shadow: none; }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-otp span {
    animation: x-focus 340ms ease, x-digit 220ms var(--ease-soft) both, x-verify 520ms ease forwards;
    animation-delay:
      calc(var(--t0) + var(--n, 0) * 260ms),
      calc(var(--t0) + var(--n, 0) * 260ms + 230ms),
      calc(var(--t0) + 2000ms + var(--n, 0) * 60ms);
  }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-2fa__trust { animation: x-fade 500ms ease backwards; animation-delay: calc(var(--rv, 0ms) + 200ms); }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-2fa__trust .x-sw--on,
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-2fa__trust .x-sw--on::after { animation: x-track 440ms ease backwards; animation-delay: calc(var(--t0) + 1700ms); }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-2fa__trust .x-sw--on::after { animation-name: x-knob; animation-duration: 480ms; animation-timing-function: var(--ease-soft); }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-2fa__done { display: grid; animation: x-signin 600ms var(--ease-soft) both; animation-delay: calc(var(--t0) + 2700ms); }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-2fa__check { animation: x-pop 520ms var(--ease-soft) both; animation-delay: calc(var(--t0) + 2850ms); }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-2fa__done :is(b, small) { animation: x-up 520ms var(--ease-soft) both; animation-delay: calc(var(--t0) + 3000ms); }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-2fa__done small { animation-delay: calc(var(--t0) + 3080ms); }
  :is(.x-cat, .x-dive).is-seen .x-2fa-demo .x-row { animation: x-fade 500ms ease backwards; animation-delay: calc(var(--rv, 0ms) + 200ms); }
  .x-dive.is-seen .x-dive__panel .x-2fa-demo .x-row :checked + .x-sw,
  .x-dive.is-seen .x-dive__panel .x-2fa-demo .x-row :checked + .x-sw::after { animation: x-track 440ms ease backwards; animation-delay: calc(var(--t0) + 1700ms); }
  .x-dive.is-seen .x-dive__panel .x-2fa-demo .x-row :checked + .x-sw::after { animation-name: x-knob; animation-duration: 480ms; animation-timing-function: var(--ease-soft); }
}

/* ---------- The plugin pile: 15 plugins land, then become 1 ----------
   The note appears, the fifteen tiles drop into a messy pile one by one (90 ms apart),
   the dashed line draws down into the merge icon, "15 plugins become 1" settles, and
   the Classic Monks card arrives with a green glow. About 4 s; plays once (no hover replay).
   (Replaces the old scroll-scrubbed drop, which un-dropped on the way back up.) */
.x-pile li { animation: none; }
@keyframes x-tile  { from { opacity: 0; transform: translateY(-18px) rotate(-7deg) scale(.95); } }
@keyframes x-dash  { from { transform: translateX(-1px) scaleY(0); } }
@keyframes x-note-in { from { opacity: 0; translate: 0 6px; } }
@keyframes x-nudge { 30% { transform: translateY(3px); } 60% { transform: translateY(-1px); } }

@media (prefers-reduced-motion: no-preference) {
  .x-pilewrap.is-seen { --pl: calc(var(--rv, 0ms) + 150ms); }
  .x-pilewrap.is-seen .x-note--pile { animation: x-note-in 700ms var(--ease-soft) backwards; animation-delay: var(--pl); }
  .x-pilewrap.is-seen .x-pile li { animation: x-tile 620ms var(--ease-soft) backwards; animation-delay: calc(var(--pl) + 250ms + var(--i, 0) * 90ms); }
  .x-pilewrap.is-seen .x-merge__ic::before,
  .x-pilewrap.is-seen .x-merge__ic::after { transform-origin: top center; animation: x-dash 420ms var(--ease-soft) backwards; animation-delay: calc(var(--pl) + 1950ms); }
  .x-pilewrap.is-seen .x-merge__ic::after { animation-delay: calc(var(--pl) + 2500ms); }
  .x-pilewrap.is-seen .x-merge__ic { animation: x-pop 520ms var(--ease-soft) backwards; animation-delay: calc(var(--pl) + 2200ms); }
  .x-pilewrap.is-seen .x-merge__ic svg { animation: x-nudge 700ms var(--ease-soft); animation-delay: calc(var(--pl) + 2650ms); }
  .x-pilewrap.is-seen .x-merge__txt { animation: x-left 560ms var(--ease-soft) backwards; animation-delay: calc(var(--pl) + 2400ms); }
  .x-pilewrap.is-seen .x-one { animation: x-up 640ms var(--ease-soft) backwards, x-pick 900ms var(--ease-soft); animation-delay: calc(var(--pl) + 2800ms), calc(var(--pl) + 3300ms); }
}
/* A tile straightens and lifts under the pointer */
.x-pile li { transition: rotate 220ms var(--ease-out), translate 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .x-pile li:hover { rotate: 0deg; translate: 0 -2px; box-shadow: 0 6px 14px -8px rgba(13,20,17,.35); }
}
@media (prefers-reduced-motion: reduce) { .x-pile li:hover { rotate: none; translate: none; } }

/* On a hover replay the frames stay put and only their contents play again: icons and
   step numbers keep their hover tilt, previews and the Classic Monks card don't blink */
.x-cat.is-replay.is-seen :is(.x-cat__ic, .x-mini),
.x-panel.is-replay.is-seen .x-log--cm { animation: none; }

/* ---------- Hover: small, quick, mouse only ---------- */
.x-cat__ic, .x-how__num span { transition: transform 240ms var(--ease-out); }
.x-mini { transition: border-color 150ms ease; }
.x-dive__panel .x-ui, .x-dive__dark { transition: box-shadow 220ms var(--ease-out); }
.x-table tbody tr { transition: background-color 150ms ease; }
.x-log--cm { transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.x-checks li::before { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .x-cat:hover .x-cat__ic { transform: rotate(-6deg) scale(1.06); }
  .x-cat:hover .x-mini { border-color: var(--ln2); }
  /* shadow only: lifting the preview would move its edge out from under the pointer and flicker the hover */
  .x-dive__panel .x-ui:hover, .x-dive__dark:hover { box-shadow: 0 2px 6px rgba(13,20,17,.06), 0 24px 44px -24px rgba(13,20,17,.32); }
  .x-dive__panel .x-table tbody tr:hover { background: #FBFCFB; }
  .x-dive__panel .x-checks li:hover::before { transform: scale(1.12); }
  .x-log--cm:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(1,130,76,.45), 0 0 0 7px var(--mark); }
  .x-how__step:hover .x-how__num span { transform: rotate(-6deg) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .x-cat:hover .x-cat__ic, .x-dive__panel .x-ui:hover, .x-dive__dark:hover, .x-log--cm:hover,
  .x-how__step:hover .x-how__num span, .x-dive__panel .x-checks li:hover::before { transform: none; }
}

/* ================================================================
   Footer wordmark: solid at the top, fading into the footer ground toward the bottom,
   so the logo rises out of the page instead of sitting on its edge
   ================================================================ */
.x-ft .x-wordmark { background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 22%, rgba(15,26,20,0) 100%); }

/* ================================================================
   Ambient motion that knows when to stop
   ================================================================ */
/* Read a chip in the marquee without chasing it */
@media (hover: hover) and (pointer: fine) {
  .x-marquee:hover .x-marquee__track { animation-play-state: paused; }
}

/* ================================================================
   Reduced motion: keep colour and opacity, drop every movement added above
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .x .x-rv.x-rv { transform: none; transition: opacity 300ms ease; }
  .x .x-dive__tabs label:active, .x .x-fsearch__hot a:active, .x .x-social a:active,
  .x .x-ft__rel:active, .x .x-wall__more:active, .x .x-rep__filters label:active,
  .x .x-ft__col--docs li a:active, .x-tabhd .cm-header-tab__menu:active,
  .x-faq__list summary:active::after { transform: none; }
  .x-faq__list details[open] summary:active::after { transform: rotate(45deg); }
  .x-pricing .cm-dualcard, .x-pricing .cm-dualcard:hover { transform: none; transition: box-shadow 150ms ease, border-color 150ms ease; }
}

/* ================================================================
   Accessibility pass
   ================================================================ */

/* Keyboard focus never lands under the sticky header */
html { scroll-padding-top: 104px; }

/* Skip link: hidden until focused */

.x main:focus { outline: none; }

/* Pricing: feature list heading, now an h3 */
.cm-plan-feats h3 { margin: 0; font: 600 14px/20px var(--font-sans); letter-spacing: 0; color: var(--ink); }

/* Marquee: a pause control (WCAG 2.2.2) */
.x-marquee.is-paused .x-marquee__track { animation-play-state: paused; }

/* Newsletter confirmation */
.x-news__status { grid-column: 1 / -1; font-size: 14px; line-height: 20px; color: var(--gr-dk); }
.x-news__status:empty { display: none; }

/* "Remove the plugins" step: plugin icons use the same tones as "The plugin stack problem" pile */
.x-how__ui .x-plugrow i.x-ic { border-radius: 7px; background: var(--sk); border: 1px solid var(--ln); color: var(--mu); }
.x-how__ui .x-plugrow i.x-ic--saffron { background: var(--saffron-50); border-color: #F1D7A8; color: #8A5A00; }
.x-how__ui .x-plugrow i.x-ic--blue { background: #E6EEF7; border-color: #C9D8EA; color: #2F5A8A; }
.x-how__ui .x-plugrow i.x-ic--red { background: #F6E4E2; border-color: #E9C6C1; color: #8E3B33; }
