/* Webflow Design for Quixo: the restyle layer (docs/design/webflow-for-quixo, 26 Nov 2026).
 * Loaded LAST on every page, after site.css and the page stylesheets, so it re-skins them without touching markup
 * contracts (CMS sections, audit-flow.js ids, experiments). Brand tokens only (var(--q-*), public/brand/tokens);
 * no colour literals (scripts/check-brand.mjs).
 *
 * Look: Satoshi, grey page with a faint dot grid, big white rounded section cards, pill buttons and nav, 3D black
 * buttons, glass eyebrows, the periwinkle -> indigo gradients on the CTA and the featured plan, quiet reveal motion.
 * Accessibility: INK text on cyan (--q-accent), never white; white on pink only at 18px+ or bold.
 * Breakpoints: 991 / 767 / 479. RTL: logical properties throughout; Arabic keeps IBM Plex Sans Arabic. */

/* ------------------------------------------------------------------ page ground */

:root {
  --wf-card: var(--q-surface);
  --wf-card-soft: var(--q-surface-muted);
  --wf-text: var(--q-ink);
  --wf-body: var(--q-ink-body);
  --wf-muted: var(--q-ink-mute);
  --wf-line: var(--q-hairline);
  --wf-page: var(--q-page);
  --wf-blue: var(--q-blue);
  --wf-gutter: var(--q-space-s);
  --wf-gap: var(--q-space-2xl);
}
html:not([data-theme="light"]) body {
  --wf-card: var(--q-dark-surface);
  --wf-card-soft: var(--q-dark-surface-muted);
  --wf-text: var(--q-dark-ink);
  --wf-body: var(--q-dark-ink-body);
  --wf-muted: var(--q-dark-ink-muted);
  --wf-line: var(--q-dark-hairline);
  --wf-page: var(--q-dark-page);
  --wf-blue: var(--q-dark-blue);
}

html, body { background-color: var(--wf-page); }
body {
  background-image: radial-gradient(var(--q-dot) 1px, transparent 1.3px);
  background-size: 22px 22px;
  background-attachment: fixed;
  font-family: var(--q-font-body);
  font-size: 14px;
  letter-spacing: -0.15px;
  color: var(--wf-body);
}
html:not([data-theme="light"]) body { background-image: radial-gradient(var(--q-dark-hairline) 1px, transparent 1.3px); }
@media (min-width: 768px) { body { font-size: 15px; } }
body:lang(ar), .lang-ar { font-family: var(--q-font-arabic); letter-spacing: 0; }
.lang-ar :is(h1, h2, h3, h4, h5, h6, .cta, .cta-ghost, .eyebrow, .hs-btn) { font-family: var(--q-font-arabic); letter-spacing: 0; }

/* ------------------------------------------------------------------ type */

:where(h1, h2, h3, h4, h5, h6) { font-family: var(--q-font-display); font-weight: 500; color: var(--wf-text); }
body main h1, body main .hs-hero h1, body main .hero-block h1 {
  font-size: 64px !important; font-weight: 500 !important; letter-spacing: -2.2px !important; line-height: 1.02 !important; max-width: 18ch !important;
  background: var(--q-gradient-hero-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
body main :is(h2, .section h2, .h-head h2) {
  font-size: 44px !important; font-weight: 500 !important; letter-spacing: -1.5px !important; line-height: 1.12 !important; max-width: 22ch;
}
body main :is(h3, .section h3) { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.2; }
.lang-ar body main h1, body.lang-ar main :is(h1, h2, h3) { letter-spacing: 0 !important; line-height: 1.25 !important; }
@media (max-width: 991px) { body main :is(h1, .hs-hero h1, .hero-block h1) { font-size: 52px !important; } body main h2 { font-size: 38px !important; } }
@media (max-width: 767px) { body main :is(h1, .hs-hero h1, .hero-block h1) { font-size: 44px !important; } body main h2 { font-size: 34px !important; } }
@media (max-width: 479px) { body main :is(h1, .hs-hero h1, .hero-block h1) { font-size: 36px !important; } body main h2 { font-size: 30px !important; } }

/* The old serif-italic "pivot" word is now a blue Satoshi Medium word (links / focus colour, 5.6:1 on white). */
.pivot, .qx-accent, h1 .pivot, h2 .pivot, .site-home .pivot,
.v3-media .v3-cap-title em, .v3-scene h2 em, .v3-scene .v3-h em, .v3-scene h1 em, .hs-marq-run span {
  font-family: var(--q-font-display) !important; font-style: normal !important; font-weight: 500 !important; letter-spacing: inherit;
  color: var(--wf-blue); -webkit-text-fill-color: var(--wf-blue); font-size: 1em !important; line-height: inherit !important;
}
.hs-hero h1 .qx-accent { display: inline; }
:is(.lede, .section p, .hs-intro p) { color: var(--wf-body); font-size: 16px; letter-spacing: -0.2px; }
.muted, .note { color: var(--wf-muted); }
a { text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
a:hover { text-decoration-color: var(--wf-blue); }
:focus-visible, main :focus-visible { outline: 2px solid var(--wf-blue) !important; outline-offset: 3px; border-radius: var(--q-radius-s); }
::selection { background: var(--q-accent); color: var(--q-on-accent); }

/* ------------------------------------------------------------------ header: floating white pill nav */

.site-head { position: sticky; top: 0; background: transparent; border: 0; padding: var(--q-space-l) var(--wf-gutter) 0; z-index: 60; pointer-events: none; }
.site-head .nav {
  pointer-events: auto; max-width: var(--q-container); margin-inline: auto; min-height: 56px; padding: 6px 8px 6px 18px;
  background: var(--wf-card); border-radius: var(--q-radius-pill); box-shadow: var(--q-shadow-float); border: 1px solid var(--wf-line);
}
[dir="rtl"] .site-head .nav { padding: 6px 18px 6px 8px; }
.site-head .wrap.nav { inline-size: min(100% - 12px, var(--q-container)); }
.brand, .foot-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wf-text); }
.brand img { height: 26px; width: 26px; }
.site-foot .foot-brand img { height: 38px; width: 38px; inline-size: 38px; }
.brand-name { font: 500 22px/1 var(--q-font-display); letter-spacing: -0.6px; color: var(--wf-text); }
.foot-brand .brand-name { font-size: 30px; }
html:not([data-theme="light"]) :is(.brand, .foot-brand) img { filter: invert(1); }
.nav-actions { gap: var(--q-space-m); }
.lang-switch, .sign-in, .theme-toggle {
  min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--q-radius-pill); background: transparent; color: var(--wf-text);
  font: 500 14px/1.25 var(--q-font-display); letter-spacing: -0.15px; text-decoration: none;
}
.lang-switch:hover, .sign-in:hover, .theme-toggle:hover { background: var(--wf-card-soft); color: var(--wf-text); }
.sign-up { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: var(--q-radius-pill); text-decoration: none; font: 500 14px/1.25 var(--q-font-display); }
@media (max-width: 479px) { .lang-switch, .sign-in { padding: 0 10px; } .brand-name { font-size: 20px; } }

/* ------------------------------------------------------------------ buttons: 3D black pill, light pill */

.cta, .sign-up, .hs-btn.is-black, .qx-btn--primary, button.cta, [class*="-btn"].is-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--q-space-s); min-height: 44px; padding: 10px var(--q-space-2xl);
  border: 0 !important; border-radius: var(--q-radius-pill); background: var(--q-button-dark); color: var(--q-on-button-dark) !important;
  box-shadow: var(--q-shadow-button-dark); font: 500 14px/1.25 var(--q-font-display); letter-spacing: -0.15px; text-decoration: none;
  transition: transform var(--q-duration-base) ease, box-shadow var(--q-duration-base) ease;
}
.cta:hover, .sign-up:hover, .hs-btn.is-black:hover, .qx-btn--primary:hover { background: var(--q-button-dark); transform: translateY(-1px); }
.cta:active, .sign-up:active, .hs-btn:active, .cta-ghost:active { transform: translateY(2px); }
.cta-ghost, .hs-btn.is-white, .qx-btn--outline, .cta.is-light {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--q-space-s); min-height: 44px; padding: 10px var(--q-space-2xl);
  border: 0 !important; border-radius: var(--q-radius-pill); background: var(--q-surface); color: var(--q-ink) !important;
  box-shadow: var(--q-shadow-button-light); font: 500 14px/1.25 var(--q-font-display); letter-spacing: -0.15px; text-decoration: none;
  transition: transform var(--q-duration-base) ease;
}
.cta-ghost:hover, .hs-btn.is-white:hover, .qx-btn--outline:hover { background: var(--q-surface); color: var(--q-ink) !important; transform: translateY(-1px); }
/* The arrow disc: cyan with an INK arrow (never white on cyan). */
.cta::after, .hs-btn .hs-arrow { background: var(--q-accent); color: var(--q-on-accent); inline-size: 26px; block-size: 26px; font-size: 14px; border-radius: 50%; }
.hs-btn .hs-arrow { display: inline-grid; place-items: center; }
.hs-btn::after { display: none; }
.cta:hover::after { background: var(--q-accent); color: var(--q-on-accent); }
.site-head .cta { min-height: 40px; }
.actions { gap: var(--q-space-m); margin-block: var(--q-space-4xl) 0; }
html:not([data-theme="light"]) :is(.cta, .sign-up, .hs-btn.is-black) { background: var(--q-dark-ink); color: var(--q-ink) !important; box-shadow: none; }

/* ------------------------------------------------------------------ eyebrow: glass pill */

.eyebrow, .hs-kicker, .hs-label, .section-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: var(--q-radius-s); margin: 0 0 var(--q-space-3xl);
  background: color-mix(in srgb, var(--wf-card) 30%, transparent); border: 1px solid var(--wf-line); box-shadow: var(--q-shadow-eyebrow);
  backdrop-filter: blur(8px); font: 500 12px/1.33 var(--q-font-display); letter-spacing: -0.1px; text-transform: none; color: var(--wf-text);
}
.eyebrow::before { inline-size: 6px; block-size: 6px; background: var(--q-accent); }
.lang-ar :is(.eyebrow, .hs-kicker, .hs-label) { font-family: var(--q-font-arabic); }

/* ------------------------------------------------------------------ section cards */

main { max-width: var(--q-container-large); margin-inline: auto; padding: var(--q-space-l) var(--wf-gutter) 0; display: flex; flex-direction: column; gap: var(--wf-gap); counter-reset: sec; }
main > nav.page-breadcrumb { inline-size: 100%; max-width: var(--q-container); margin-inline: auto; padding-inline: var(--q-space-3xl); font-size: 12px; color: var(--wf-muted); }
body[data-page][data-page] main > :is(section, .section, .h-section, .h-hero, .v3-band) {
  background: var(--wf-card) !important; border: 0; border-radius: var(--q-radius-2xl); padding-block: var(--q-space-8xl); margin: 0;
  overflow: clip; position: relative; box-shadow: none; color: var(--wf-body);
}
main > .section .wrap, main > section > .wrap, main > .h-section > .wrap, main > .hs-hero > .wrap { inline-size: min(100% - 48px, var(--q-container)); max-width: var(--q-container); padding-inline: 0; margin-inline: auto; }
@media (max-width: 991px) { main > :is(section, .section, .h-section, .v3-band) { padding-block: 56px; border-radius: 24px; } }
@media (max-width: 767px) { main > :is(section, .section, .h-section, .v3-band) { padding-block: 44px; border-radius: 20px; } main > .section .wrap, main > section > .wrap { inline-size: min(100% - 32px, var(--q-container)); } }
@media (max-width: 479px) { main > :is(section, .section, .h-section, .v3-band) { border-radius: 16px; } }
.section + .section { border-top: 0; }
.section-kicker, .section-number { counter-increment: none; }

/* Hero cards: a hint of the periwinkle gradient in the top corner (no decorative discs). */
.hero-block, main.hero { background: var(--wf-card) radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--q-periwinkle) 55%, transparent), transparent 70%); }
.hero-block::before, .hero-block::after, main.hero::before, main.hero::after, .hero-block > .wrap::before { display: none !important; }
[data-page] .hero-block { padding-block: 96px 72px; }
.hs-hero { padding-block: var(--q-space-6xl) var(--q-space-8xl); }
.hs-hero .hs-stage, .hs-hero .hs-frame { border-radius: var(--q-radius-xl); }

/* ------------------------------------------------------------------ cards, panels, tiers */

.card, .panel, .tier-card, .report-card, .hs-card, .hp-panel, .hp-win, .dim, .faq-item, details.faq, .free-score-result, .free-score-form, .chips li {
  background: var(--wf-card-soft); border: 1px solid var(--wf-line); border-radius: var(--q-radius-xl); box-shadow: none; color: var(--wf-body);
}
.chips li, .dim { border-radius: var(--q-radius-pill); }
.card h3, .panel h3, .tier-card h3 { font-family: var(--q-font-display) !important; font-size: 22px !important; letter-spacing: -0.5px !important; text-transform: none !important; color: var(--wf-text); }
.card p, .tier-card p { color: var(--wf-body); }
.card::after, .card:hover::after { display: none; }
.cards { gap: var(--q-space-2xl); }
.card:hover { box-shadow: var(--q-shadow-float); transition: box-shadow var(--q-duration-base) ease; }
.split > .panel:first-child { background: var(--q-surface-muted); border-color: var(--wf-line); }
.dim.is-high { background: var(--q-accent); color: var(--q-on-accent); border-color: transparent; }
.stats .num, .num { font-family: var(--q-font-display); font-weight: 500; letter-spacing: -1.5px; color: var(--wf-text); }
.stats li, .steps li { border-top: 1px solid var(--wf-line); }
.steps li::before { color: var(--wf-blue); }
.tier-price, .card p.tier-price { font: 500 34px/1.1 var(--q-font-display); letter-spacing: -1.2px; color: var(--wf-text); }
.price-line, .price-note { font-family: var(--q-font-display); text-transform: none; letter-spacing: -0.1px; }

/* Featured plan: Lighter's periwinkle -> indigo gradient, white type (15.2:1 on indigo, 12.7:1 ink on periwinkle at the light end). */
.tier-card.is-featured, .tier-card.is-primary {
  background: var(--q-gradient-plan); border-color: transparent; color: var(--q-on-button-dark);
}
.tier-card:is(.is-featured, .is-primary) :is(h3, p, li, .tier-price, .price-line, .num) { color: var(--q-on-button-dark) !important; }
.tier-card:is(.is-featured, .is-primary) .badge { background: var(--q-surface); color: var(--q-ink); border: 0; }
.tier-card:is(.is-featured, .is-primary) :is(.cta, .cta-ghost) { background: var(--q-surface); color: var(--q-ink) !important; box-shadow: var(--q-shadow-button-light); }
.tier-card:is(.is-featured, .is-primary) .cta::after { background: var(--q-accent); color: var(--q-on-accent); }

/* Signals: cyan (ink text) / pink (white only at 18px+ or bold) */
.badge { font: 500 12px/1.2 var(--q-font-display); letter-spacing: -0.1px; text-transform: none; border-radius: var(--q-radius-pill); border: 1px solid var(--wf-line); background: var(--wf-card-soft); color: var(--wf-text); padding: 4px 10px; }
.badge[data-status="operational"] { background: var(--q-accent); color: var(--q-on-accent); border-color: transparent; }
.badge[data-status="degraded"] { background: var(--wf-card); }
.badge[data-status="outage"] { background: var(--q-pink); border-color: transparent; color: var(--q-white); font-weight: 700; font-size: 14px; }

/* ------------------------------------------------------------------ forms */

input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  font-family: var(--q-font-body); font-size: 14px; color: var(--wf-text); background: var(--wf-card-soft); border: 1px solid var(--wf-line);
  border-radius: var(--q-radius-l); min-height: 48px; padding: 0 var(--q-space-xl);
}
textarea { padding-block: var(--q-space-l); border-radius: var(--q-radius-l); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--wf-blue); outline-offset: 2px; border-color: var(--wf-blue); }
label, .free-score-form label { font-family: var(--q-font-display); text-transform: none; letter-spacing: -0.1px; font-size: 13px; font-weight: 500; color: var(--wf-text); }
.free-score-form input[type="url"], .free-score-form input[type="text"], .free-score-form input[type="email"] { border-radius: var(--q-radius-pill); }
.form-status { color: var(--wf-body); }

/* ------------------------------------------------------------------ FAQ, tabs, marquee */

details { border-radius: var(--q-radius-xl); }
.faq details, details.faq-item, main details { background: var(--wf-card-soft); border: 1px solid var(--wf-line); padding: 18px 24px; margin-block: 8px; }
main details[open] { border-color: var(--q-ink-strong-border); }
main summary { font: 700 16px/1.3 var(--q-font-display); color: var(--wf-text); cursor: pointer; letter-spacing: -0.2px; }
.hs-tabs { border-radius: var(--q-radius-pill); background: var(--wf-card-soft); }
.hs-tab { border-radius: var(--q-radius-pill); font: 700 13px/1 var(--q-font-display); color: var(--wf-text); }
.hs-tab.is-on { background: var(--q-surface); color: var(--wf-text); box-shadow: var(--q-shadow-portal); } /* home.css sets white text on the active tab; on this white card it read 1:1 */
.hs-marq-run, .hs-marq-run span { font: 500 48px/1.25 var(--q-font-display); letter-spacing: -2.4px; color: var(--q-ink-ticker) !important; -webkit-text-fill-color: var(--q-ink-ticker); }
@media (max-width: 767px) { .hs-marq-run, .hs-marq-run span { font-size: 32px; letter-spacing: -1.4px; } }
.hs-star { color: var(--q-ink-ticker); }
.logos li, .logos li > a { background: var(--q-surface); border-radius: var(--q-radius-l); border: 1px solid var(--wf-line); }

/* ------------------------------------------------------------------ CTA / dark bands: Lighter gradient */

body[data-page][data-page] main > :is(section, .section):is(.qx-close, .qx-close-band, .is-dark, .hs-closer, .h-agents), body[data-page] :is(.hs-cta, .h-contact-card, .qx-close) {
  background: var(--q-gradient-cta) !important; color: var(--q-on-button-dark);
}
:is(.qx-close, .qx-close-band, .h-contact-card, .hs-cta, .hs-closer) :is(h1, h2, h3, p, li, .lede, .note, a:not(.cta):not(.cta-ghost):not(.hs-btn)) { color: var(--q-on-button-dark) !important; -webkit-text-fill-color: var(--q-on-button-dark); background: none; }
:is(.qx-close, .qx-close-band, .h-contact-card, .hs-cta, .hs-closer) :is(.cta, .hs-btn.is-black) { background: var(--q-surface); color: var(--q-ink) !important; box-shadow: var(--q-shadow-button-light); }
:is(.qx-close, .qx-close-band, .h-contact-card, .hs-cta, .hs-closer) :is(.cta, .hs-btn.is-black)::after { background: var(--q-accent); color: var(--q-on-accent); }
:is(.qx-close, .qx-close-band, .h-contact-card, .hs-cta, .hs-closer) .pivot { color: var(--q-periwinkle); -webkit-text-fill-color: var(--q-periwinkle); }

/* ------------------------------------------------------------------ footer card */

.site-foot, body > footer.foot {
  max-width: calc(var(--q-container-large) - 2 * var(--wf-gutter)); margin: var(--wf-gap) auto var(--q-space-l); inline-size: calc(100% - 2 * var(--wf-gutter));
  background: var(--wf-card); border: 0; border-radius: var(--q-radius-2xl); padding-block: var(--q-space-8xl) var(--q-space-3xl);
  color: var(--wf-body);
}
.site-foot::after { display: none; }
.site-foot a { color: var(--wf-body); }
.site-foot a:hover { color: var(--wf-text); }
.foot-audit { background: var(--q-gradient-plan); border-radius: var(--q-radius-xl); color: var(--q-on-button-dark); }
.foot-audit :is(p, .foot-audit-title) { color: var(--q-on-button-dark); }
.foot-audit .cta { background: var(--q-surface); color: var(--q-ink) !important; box-shadow: var(--q-shadow-button-light); }
.foot-powered { font-family: var(--q-font-display); text-transform: none; letter-spacing: -0.1px; color: var(--wf-muted); }
@media (max-width: 767px) { .site-foot { border-radius: 20px; padding-block: 44px 24px; } }

/* ------------------------------------------------------------------ quiet reveal motion */

.reveal-ready .reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity var(--q-duration-slow) var(--q-ease-reveal), transform var(--q-duration-slow) var(--q-ease-reveal); }
.reveal-ready .reveal-on-scroll.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
  .cta, .cta-ghost, .hs-btn, .card, .sign-up { transition: none; }
  .cta:hover, .cta-ghost:hover, .hs-btn:hover, .sign-up:hover, .cta:active, .cta-ghost:active { transform: none; }
  .hs-marq-track, .hs-marq-run { animation: none !important; }
}

/* ------------------------------------------------------------------ fixes found in review */
body .hs-band { background: transparent !important; box-shadow: none; }
body .hs-band h2 { font-size: 44px !important; font-weight: 500 !important; letter-spacing: -1.5px !important; max-width: 20ch !important; }
body :is(.hs-band, .foot-audit) :is(.cta, .hs-btn.is-white, .hs-btn.is-black) { background: var(--q-surface) !important; color: var(--q-ink) !important; box-shadow: var(--q-shadow-button-light); }
body .hs-btn.is-ghost, body .hs-band .hs-btn.is-ghost {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px var(--q-space-2xl); border-radius: var(--q-radius-pill); border: 1px solid var(--q-on-button-dark) !important;
  background: transparent; color: var(--q-on-button-dark) !important; font: 500 14px/1.25 var(--q-font-display); text-decoration: none;
}
.site-foot :is(.foot-label, .foot-powered), .site-foot .qx-label { font-family: var(--q-font-display); font-size: 13px; font-weight: 700; letter-spacing: -0.1px; text-transform: none; color: var(--wf-text); }
.site-foot :is(.foot-label, .foot-powered)::before { background: var(--q-accent); }
body .qx-faq summary::after, body main summary::after { background: var(--q-button-dark) !important; color: var(--q-on-button-dark) !important; box-shadow: var(--q-shadow-button-dark) !important; }
.hs-frame, .hs-stage { border-color: var(--q-ink); }
body[data-page] .tier-card:is(.is-featured, .is-primary) { background: var(--q-gradient-plan) !important; border-color: transparent !important; }
body[data-page] .tier-card:is(.is-featured, .is-primary) :is(li, .tier-promise, blockquote) { background: color-mix(in srgb, var(--q-white) 14%, transparent); border-color: color-mix(in srgb, var(--q-white) 28%, transparent); color: var(--q-on-button-dark) !important; }
body[data-page] .tier-card:is(.is-featured, .is-primary) :is(.pr-tier__n, .pr-tier__unit, .pr-tier__note) { color: var(--q-on-button-dark) !important; }

/* ------------------------------------------------------------------ pass 2: leftover black bands (audit pages) */
/* The Quixo Audit closer and the highlighted signal card were solid black; they now use the CTA / plan gradients (white on indigo 12:1+). */
body.os-page .au-close, body .au-close { background: var(--q-gradient-cta); border-radius: var(--q-radius-2xl); color: var(--q-on-button-dark); }
body.os-page .au-sig.is-inverse, .au-sig.is-inverse { background: var(--q-gradient-plan); color: var(--q-on-button-dark); border-color: transparent; box-shadow: none; }
.au-close :is(.cta, .qx-btn--primary) { background: var(--q-surface); color: var(--q-ink) !important; box-shadow: var(--q-shadow-button-light); }
@media (max-width: 767px) { body .au-close { border-radius: 20px; } }
/* Price/CTA bar arrow tile everywhere: cyan disc with an INK arrow (was a black square). */
body :is(.au-ctabar, .pr-ctabar, .qx-ctabar) .qx-ctabar__arrow { background: var(--q-accent); background-color: var(--q-accent); color: var(--q-on-accent); border-radius: var(--q-radius-pill); }

/* ------------------------------------------------------------------ pass 2: status, 404, eyebrow width */
/* The glass eyebrow hugs its text (it stretched across the card in the hero blocks of status / 404 / legal pages). */
main :is(.eyebrow, .section-kicker) { align-self: flex-start; inline-size: fit-content; max-inline-size: 100%; }
/* Status summary: a soft rounded panel with a cyan edge instead of a black outline. */
#status-summary { border: 1px solid var(--wf-line); border-inline-start: 4px solid var(--q-accent); border-radius: var(--q-radius-xl); background: var(--wf-card); color: var(--wf-body); }
[dir="rtl"] #status-summary { border-radius: var(--q-radius-xl); }
.status-list, .status-incidents { border-top: 1px solid var(--wf-line); }
.status-list > li, .status-incidents > li { border-bottom-color: var(--wf-line); }
/* Outline button on the gradient closer: white outline and white text (was ink on the band, unreadable). */
body.os-page .au-close .qx-btn--outline, body .au-close .qx-btn--outline { background: transparent; color: var(--q-on-button-dark) !important; box-shadow: inset 0 0 0 1px var(--q-on-button-dark); }
body .au-close .qx-btn--outline:is(:hover, :focus-visible) { background: var(--q-surface); color: var(--q-ink) !important; }
body .au-close :is(h2, .pivot) { color: var(--q-on-button-dark); -webkit-text-fill-color: var(--q-on-button-dark); }
body .au-close h2 .pivot { color: var(--q-periwinkle); -webkit-text-fill-color: var(--q-periwinkle); }

/* ------------------------------------------------------------------ pass 3: home "how it works" contrast */
/* Inactive steps were dimmed with opacity .45 (grey on grey, 2.1-2.9:1). Keep full opacity and mark the active step with the number disc instead; AA greys from the tokens. */
.hp-step { opacity: 1; }
.hp-step .hp-title { color: var(--wf-text); }
.hp-step .hp-body-t { color: var(--wf-body); }
.hp-step:not(.is-on) .hp-n { color: var(--wf-muted); }

/* The "العربية" language-switch label on English pages used IBM Plex Sans Arabic, a 45 KB download for one word on every page.
   Use the platform Arabic face there; Arabic pages load Plex anyway. */
html[lang="en"] .lang-switch:lang(ar) { font-family: system-ui, "Segoe UI", Tahoma, "Geeza Pro", sans-serif; font-weight: 500; }

/* Paint cost: no fixed-attachment page background (repaints on every scroll frame on mobile) and no oversized noise layer. */
body { background-attachment: scroll; }
.hs-grain { inset: 0; }
/* Mobile (home.css @ max-width) dims inactive steps to .6 opacity; keep them at full opacity there too. */
.hp-step:not(.is-on) { opacity: 1; }


/* ================================================================== RTL / Arabic (/ar/*), 27 Nov 2026
 * Everything below is scoped to [dir="rtl"] so the English pages are untouched. Same design, Arabic done properly:
 * IBM Plex Sans Arabic for Arabic glyphs, Satoshi for Latin words and figures, no Latin tracking, real bold, mirrored
 * arrows, isolated numbers and a header that fits 320px. */

/* Faces: Satoshi first (Latin words, digits, "Quixo"), IBM Plex Sans Arabic for every Arabic glyph. The tokens' stack falls to
 * Arial for Arabic, which made headings, buttons, badges and prices drift from the body face. */
html[dir="rtl"] {
  --q-font-display: 'Satoshi', 'Satoshi Fallback', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --q-font-body: 'Satoshi', 'Satoshi Fallback', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --q-font-pivot: 'Satoshi', 'Satoshi Fallback', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --q-font-mono: 'Satoshi', 'Satoshi Fallback', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
}
/* Arabic joins letters: any letter-spacing breaks the joins. Latin tracking and word-spacing tweaks are dropped across the page. */
html[dir="rtl"] :is(*, *::before, *::after) { letter-spacing: 0 !important; }
html[dir="rtl"] :is(em, i, cite, address, .pivot, .qx-accent) { font-style: normal !important; }
html[dir="rtl"] :is(h1, h2, h3, h4, h5, h6, .eyebrow, .badge, label, summary, .tier-price) { text-transform: none; }

/* Arabic has a smaller visual size and taller marks than Latin at the same px: body 16, small copy never under 13, looser leading. */
html[dir="rtl"] body { font-size: 16px; line-height: 1.75; }
html[dir="rtl"] main :is(p, li, dd, td, th, .lede) { line-height: 1.8; }
html[dir="rtl"] main :is(.card p, .tier-card p, .panel p, .tier-card li, td, th, .stats p, .steps li) { font-size: 15px; }
html[dir="rtl"] :is(.note, .muted, small, .eyebrow, .badge, .hs-kicker, .hs-label, .section-kicker, .h-label, label, .free-score-form label, .foot-label, .foot-powered, .page-breadcrumb, .price-note, .form-status, .field-hint) { font-size: 13px; line-height: 1.6; }
html[dir="rtl"] body main h1, html[dir="rtl"] body main :is(.hs-hero h1, .hero-block h1) { font-size: 56px !important; line-height: 1.3 !important; font-weight: 500 !important; max-width: 20ch !important; padding-block: 0.06em; }
html[dir="rtl"] body main h2, html[dir="rtl"] body .hs-band h2 { font-size: 40px !important; line-height: 1.35 !important; max-width: 24ch !important; }
html[dir="rtl"] body main h3, html[dir="rtl"] .card h3, html[dir="rtl"] .panel h3, html[dir="rtl"] .tier-card h3 { line-height: 1.4 !important; }
html[dir="rtl"] .card h3, html[dir="rtl"] .panel h3, html[dir="rtl"] .tier-card h3 { font-size: 22px !important; }
@media (max-width: 991px) { html[dir="rtl"] body main :is(h1, .hs-hero h1, .hero-block h1) { font-size: 46px !important; } html[dir="rtl"] body main h2, html[dir="rtl"] body .hs-band h2 { font-size: 34px !important; } }
@media (max-width: 767px) { html[dir="rtl"] body main :is(h1, .hs-hero h1, .hero-block h1) { font-size: 38px !important; } html[dir="rtl"] body main h2, html[dir="rtl"] body .hs-band h2 { font-size: 30px !important; } }
@media (max-width: 479px) { html[dir="rtl"] body main :is(h1, .hs-hero h1, .hero-block h1) { font-size: 32px !important; } html[dir="rtl"] body main h2, html[dir="rtl"] body .hs-band h2 { font-size: 27px !important; } html[dir="rtl"] body { font-size: 15px; } }
/* The marquee words are display type: Arabic needs less size and no negative tracking. */
html[dir="rtl"] :is(.hs-marq-run, .hs-marq-run span) { font-size: 40px; line-height: 1.5; }
@media (max-width: 767px) { html[dir="rtl"] :is(.hs-marq-run, .hs-marq-run span) { font-size: 28px; } }
/* Bold labels use the real 600/700 Plex face (fonts.css maps 700 to the 600 file), never synthesised bold. */
html[dir="rtl"] :is(main summary, .hs-tab, .badge[data-status="outage"], .foot-label) { font-synthesis: none; }

/* Numbers, prices, scores, codes: keep digits and Latin runs in reading order inside Arabic sentences. */
html[dir="rtl"] :is(.num, .tier-price, .price-slot, .pr-tier__n, .au-card__score, .au-card__domain, .hs-score, [data-score], time, .stats .num, bdi) { unicode-bidi: isolate; }
html[dir="rtl"] :is(.au-card__score, .au-card__domain, [data-score], input[type="url"], input[type="email"], input[name="website"], input[type="tel"], code, kbd, samp) { direction: ltr; text-align: start; }
html[dir="rtl"] :is(input[type="url"], input[type="email"], input[name="website"], input[type="tel"])::placeholder { text-align: right; }

/* Header: pill nav mirrors; at phone widths the three actions shrink so the pill never overflows 320px. */
@media (max-width: 479px) {
  html[dir="rtl"] .site-head { padding-inline: 4px; }
  html[dir="rtl"] .site-head .nav { padding: 4px 12px 4px 4px; gap: 4px; min-height: 52px; }
  html[dir="rtl"] .nav-actions { gap: 2px; flex-wrap: nowrap; min-inline-size: 0; }
  html[dir="rtl"] :is(.lang-switch, .sign-in, .theme-toggle) { padding: 0 8px; font-size: 13px; min-height: 40px; }
  html[dir="rtl"] .sign-up { padding: 0 12px; font-size: 13px; white-space: nowrap; }
  html[dir="rtl"] .brand-name { font-size: 19px; }
}
@media (max-width: 359px) { html[dir="rtl"] .sign-in { display: none; } }

/* Hero: the intro stacks (headline, copy, buttons) at the inline start, as in English, instead of splitting to two sides. */
html[dir="rtl"] .hs-intro { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--q-space-2xl); }
html[dir="rtl"] .hs-intro > * { max-inline-size: 100%; }
html[dir="rtl"] .hs-hero, html[dir="rtl"] main { overflow-x: clip; }

/* Centred absolutes: `left: 50%` plus a logical negative margin lands the phone and notch off-centre in RTL (the margin moves to the
 * wrong side), and a -50% translate on an inline-start offset moves the orbits the wrong way. Mirror the offset. */
html[dir="rtl"] .hs-phone { margin-inline-start: 0; margin-left: calc(min(16.25rem, 52vw) / -2); }
html[dir="rtl"] .hs-notch { margin-inline-start: 0; margin-left: -3rem; }
@media (max-width: 899px) { html[dir="rtl"] .hs-phone { margin-left: -6.25rem; } }
html[dir="rtl"] body.os-page .h-orbit { translate: 50% -50%; }

/* The home card's noise layer (opacity .07) is a full-card background image; on the Arabic home the card sits inside the mobile
 * viewport and the late-rasterised noise became the LCP element (1.4 s -> 2.3 s). At 7% it is imperceptible, so drop it on Arabic. */
html[dir="rtl"] .hs-grain { display: none; }
