/* Inner-page components shared by both variations. Each variation's styles.css supplies
   nav, footer, buttons, .container, .section and the FAQ; this file maps its tokens below. */
.theme-a {
  --pg-text: var(--ink);
  --pg-muted: var(--muted);
  --pg-surface: var(--surface);
  --pg-line: var(--line);
  --pg-alt: #fbfaf6;
  --pg-accent: #c2410c;
  --pg-chip: var(--ink);
  --pg-on-chip: #fff;
  --pg-head: var(--font);
  --pg-shadow: var(--shadow);
  --pg-hero: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
  --pg-panel: #e9e7df;
  --pg-hl: #c2410c;
  --pg-grid: rgba(21, 21, 15, .06);
  --pg-c1: #fa6a44;
  --pg-c2: #8c7cf0;
  --pg-c3: #33c893;
}
.theme-b {
  --pg-text: var(--text);
  --pg-muted: var(--muted);
  --pg-surface: var(--surface);
  --pg-line: var(--line);
  --pg-alt: var(--bg-alt);
  --pg-accent: var(--mint);
  --pg-chip: var(--mint);
  --pg-on-chip: var(--ink);
  --pg-head: var(--display);
  --pg-shadow: none;
  --pg-hero: radial-gradient(600px 320px at 85% 0%, rgba(140, 124, 240, .2), transparent 70%);
  --pg-panel: #1b1b20;
  --pg-hl: var(--mint);
  --pg-grid: rgba(255, 255, 255, .05);
  --pg-c1: #fa6a44;
  --pg-c2: #8c7cf0;
  --pg-c3: #33c893;
}

/* Page hero */
.page-hero { padding: clamp(14px, 2.2vw, 28px) 0 clamp(28px, 4vw, 48px); background: var(--pg-hero); border-bottom: 1px solid var(--pg-line); }
.page-hero .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero.no-aside .container { grid-template-columns: 1fr; max-width: 900px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 .7rem; font-size: .82rem; color: var(--pg-muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--pg-accent); }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: .4em; }
.page-lede { text-wrap: pretty; color: var(--pg-muted); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 640px; margin-bottom: 1.6rem; }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.page-aside { display: grid; place-items: center; }
.aside-icon { width: clamp(120px, 16vw, 180px); height: clamp(120px, 16vw, 180px); border-radius: 36px; background: #fff; display: grid; place-items: center; box-shadow: 0 30px 70px rgba(0, 0, 0, .14); border: 1px solid var(--pg-line); }
.aside-icon img { width: 62%; height: 62%; object-fit: contain; }
.aside-metrics { display: grid; gap: 12px; width: 100%; max-width: 360px; }
.aside-metrics div { background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--pg-shadow); }
.aside-metrics b { display: block; font-family: var(--pg-head); font-size: 1.8rem; letter-spacing: -.03em; color: var(--pg-accent); }
.aside-metrics span { color: var(--pg-muted); font-size: .9rem; }

/* Section heading used on inner pages */
.pg-head { max-width: 760px; margin-bottom: 36px; }
.pg-head h2 { margin-bottom: .3em; }
.pg-head p { color: var(--pg-muted); font-size: 1.05rem; margin: 0; }
.pg-alt { background: var(--pg-alt); border-block: 1px solid var(--pg-line); }

/* Cards */
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pg-cards.two { grid-template-columns: repeat(2, 1fr); }
.pg-cards.four { grid-template-columns: repeat(4, 1fr); }
.pg-card { background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 22px; padding: 26px; box-shadow: var(--pg-shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s ease, border-color .25s ease; }
a.pg-card:hover { transform: translateY(-4px); border-color: var(--pg-accent); }
.pg-card > img { width: 48px; height: 48px; border-radius: 12px; background: #fff; padding: 6px; margin-bottom: 16px; border: 1px solid var(--pg-line); }
.pg-card h3 { margin-bottom: .4em; }
.pg-card p { color: var(--pg-muted); margin: 0; font-size: .95rem; }
.pg-card .pg-more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--pg-accent); display: inline-flex; align-items: center; gap: .6rem; }
.pg-card .tagline { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pg-accent); margin-bottom: .6rem; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; line-height: 1.5; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--pg-chip); color: var(--pg-on-chip); display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.pg-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.pg-split .pg-head { margin-bottom: 0; }

/* Steps */
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.pg-steps li { background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 22px; padding: 24px; box-shadow: var(--pg-shadow); counter-increment: st; }
.pg-steps li::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--mono, ui-monospace, monospace); font-size: .8rem; font-weight: 700; color: var(--pg-accent); margin-bottom: 10px; }
.pg-steps h3 { margin-bottom: .3em; }
.pg-steps p { color: var(--pg-muted); margin: 0; font-size: .95rem; }

/* Metrics */
.pg-metrics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.pg-metrics li { background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 20px; padding: 20px; box-shadow: var(--pg-shadow); }
.pg-metrics b { display: block; font-family: var(--pg-head); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; color: var(--pg-accent); }
.pg-metrics span { color: var(--pg-muted); font-size: .9rem; }

/* Case study cards + detail */
.case-card { padding: 0; overflow: hidden; }
.case-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--pg-line); }
.case-card .case-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-card .metric-chip { align-self: flex-start; font-size: .78rem; font-weight: 700; background: var(--pg-chip); color: var(--pg-on-chip); border-radius: 999px; padding: .3rem .75rem; margin-bottom: .8rem; }
.pills { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-pills li { font-size: .78rem; font-weight: 600; border: 1px solid var(--pg-line); border-radius: 999px; padding: .3rem .75rem; color: var(--pg-muted); }
.case-cover { width: 100%; max-width: 420px; height: auto; border-radius: 26px; border: 1px solid var(--pg-line); box-shadow: 0 30px 70px rgba(0, 0, 0, .14); }
.case-detail { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.case-detail section { background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 22px; padding: 26px; box-shadow: var(--pg-shadow); }
.case-detail h2 { font-size: 1.3rem; }
.case-detail p, .case-detail li { color: var(--pg-muted); }
.case-detail ul { padding-left: 1.1rem; margin: 0; display: grid; gap: 8px; }

/* Quotes, reviews, placeholders */
.pg-quote { margin: 0; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 22px; padding: 26px; box-shadow: var(--pg-shadow); }
.pg-quote blockquote { margin: 0 0 1rem; font-size: 1.08rem; line-height: 1.5; }
.pg-quote figcaption { color: var(--pg-muted); font-size: .88rem; }
.pg-quote figcaption b { color: var(--pg-text); display: block; }
.placeholder { border: 2px dashed var(--pg-line) !important; background: transparent !important; box-shadow: none !important; position: relative; }
.placeholder::before { content: "Placeholder"; position: absolute; top: 12px; right: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pg-accent); }
.placeholder p, .placeholder blockquote { color: var(--pg-muted); font-style: italic; }
.avatar-ph { width: 72px; height: 72px; border-radius: 50%; background: var(--pg-alt); border: 2px dashed var(--pg-line); display: grid; place-items: center; font-weight: 800; color: var(--pg-muted); margin-bottom: 14px; }
.team-card { align-items: flex-start; }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: .6rem; }

/* Forms */
.pg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 26px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--pg-shadow); }
.pg-form .full { grid-column: 1 / -1; }
.pg-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.pg-form input, .pg-form select, .pg-form textarea { font: inherit; color: var(--pg-text); background: transparent; border: 1px solid var(--pg-line); border-radius: 12px; padding: .75rem .9rem; }
.pg-form textarea { min-height: 120px; resize: vertical; }
.pg-form input:focus, .pg-form select:focus, .pg-form textarea:focus { outline: 2px solid var(--pg-accent); outline-offset: 1px; }
.pg-form fieldset { border: 0; padding: 0; margin: 0; }
.pg-form legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.pg-form .options { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-form .options label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border: 1px solid var(--pg-line); border-radius: 999px; padding: .35rem .8rem; cursor: pointer; }
.pg-form .options input { padding: 0; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--pg-muted); font-size: .85rem; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.contact-side { display: grid; gap: 14px; }
.contact-side .pg-card p + p { margin-top: .4rem; }
.contact-side a { color: var(--pg-accent); }

/* Long-form legal text */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; }
.prose h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.prose p, .prose li { color: var(--pg-muted); line-height: 1.7; }
.prose a { color: var(--pg-accent); }

/* Closing band */
.pg-band { border-radius: 30px; padding: clamp(32px, 6vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--pg-surface); border: 1px solid var(--pg-line); box-shadow: var(--pg-shadow); }
.pg-band h2 { margin-bottom: .2em; }
.pg-band p { color: var(--pg-muted); margin: 0; max-width: 560px; }

@media (max-width: 960px) {
  .page-hero .container, .pg-split, .contact-grid { grid-template-columns: 1fr; }
  .page-aside { justify-items: start; }
  .pg-cards, .pg-cards.four, .pg-steps, .case-detail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pg-cards, .pg-cards.two, .pg-cards.four, .pg-steps, .case-detail, .pg-form { grid-template-columns: 1fr; }
  .aside-icon { width: 96px; height: 96px; border-radius: 24px; }
}

/* Stack list (how it works) */
.pg-stack { list-style: none; margin: 0; padding: 0; border: 1px solid var(--pg-line); border-radius: 22px; overflow: hidden; }
.pg-stack li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--pg-line); background: var(--pg-surface); }
.pg-stack li:last-child { border-bottom: 0; }
.pg-stack span { font-weight: 700; color: var(--pg-accent); font-size: .88rem; }
.pg-stack p { margin: 0; color: var(--pg-muted); }
.footer-contact { font-size: .88rem; }
.footer-contact a { color: inherit; }
.footer-grid-wide { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr !important; gap: 28px; }
.page-hero .pills { margin: -0.6rem 0 1.4rem; }
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 2px solid var(--pg-line); }
.timeline li { padding: 0 0 22px 24px; position: relative; color: var(--pg-muted); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--pg-chip); }
.timeline b { color: var(--pg-text); margin-right: .5rem; }
.res-group + .res-group { margin-top: 40px; }
.res-group h3.res-cat { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--pg-muted); margin-bottom: 14px; }
@media (max-width: 960px) {
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid-wide { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .pg-stack li { grid-template-columns: 1fr; gap: 4px; }
  .office-grid, .footer-grid-wide { grid-template-columns: 1fr !important; }
}
.case-hero h1 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--pg-alt); border: 1px solid var(--pg-accent); }
@media (max-width: 600px) { .page-aside:has(.aside-icon) { display: none; } }
.post-meta { color: var(--pg-muted); font-size: .88rem; margin: -0.6rem 0 0; }
.post-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.post-body { max-width: 720px; margin-inline: auto; }
.post-body h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.post-body h3 { font-size: 1.15rem; }
.post-body p, .post-body li { color: var(--pg-text); opacity: .88; font-size: 1.04rem; }
.post-body blockquote { margin: 1.6rem 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--pg-accent); }
.post-body blockquote p:first-child { font-size: 1.15rem; opacity: 1; }
.post-body blockquote p + p { font-size: .88rem; color: var(--pg-muted); }
.pg-band p a { color: var(--pg-accent); }

/* =====================================================================
   Homepage sections shared by both variations (hx-*)
   ===================================================================== */
.hx-hl { color: var(--pg-hl); }
.hx-head { max-width: 820px; margin: 0 auto 36px; text-align: center; }
.hx-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.hx-head p { color: var(--pg-muted); font-size: 1.12rem; margin: 0; }
.ln { display: block; height: 8px; border-radius: 6px; background: var(--pg-line); }
.ln.soft { opacity: .55; }
.ln.w30 { width: 30%; } .ln.w35 { width: 35%; } .ln.w38 { width: 38%; } .ln.w40 { width: 40%; } .ln.w48 { width: 48%; }
.ln.w55 { width: 55%; } .ln.w60 { width: 60%; } .ln.w64 { width: 64%; } .ln.w70 { width: 70%; }

/* ---- Trust: dashboard illustration + logo wall ---- */
.hx-trust { overflow-x: clip; }
.hx-dash { position: relative; max-width: 760px; margin: 0 auto 150px; padding: 0 40px; }
.hx-screen { display: grid; grid-template-columns: .9fr 1.3fr; gap: 16px; padding: 22px; border-radius: 26px; background: var(--pg-surface); border: 1px solid var(--pg-line); box-shadow: 0 30px 80px rgba(0, 0, 0, .12); }
.hx-col { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 18px; background: var(--pg-alt); }
.hx-col-wide { background: none; padding: 0; gap: 14px; }
.hx-bars { display: flex; align-items: flex-end; gap: 9px; height: 110px; margin-top: 8px; }
.hx-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--pg-c1); transform-origin: bottom; }
.hx-bars i:nth-child(3n+2) { background: #f5b23d; }
.hx-bars i:nth-child(3n) { background: #ef5a5a; }
.hx-pillbar { height: 30px; border-radius: 10px; background: var(--pg-c1); width: 70%; justify-self: end; }
.hx-linecard { padding: 16px; border-radius: 18px; background: var(--pg-alt); }
.hx-linecard svg { width: 100%; height: 70px; }
.hx-linecard path { fill: none; stroke: var(--pg-c1); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.hx-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; border-radius: 18px; background: var(--pg-alt); }
.hx-row { display: grid; grid-template-columns: 26px 1fr; gap: 4px 10px; align-items: center; }
.hx-row img { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: #fff; padding: 3px; border: 1px solid var(--pg-line); }
.hx-float { position: absolute; z-index: 2; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 22px; padding: 16px 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .16); display: grid; gap: 6px; justify-items: center; }
.hx-float small { font-weight: 700; font-size: .78rem; color: var(--pg-text); }
.hx-float .hx-cap { font-weight: 500; color: var(--pg-muted); font-size: .7rem; }
.hx-float-ring { left: -6px; bottom: -30px; }
.hx-float-bars { right: -6px; top: -26px; justify-items: start; }
.hx-float-bars b { font-family: var(--pg-head); font-size: 1.5rem; line-height: 1; }
@property --ring { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.hx-ring { --ring: 0%; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#f5b23d 0 var(--ring), var(--pg-c1) var(--ring) 100%); }
.hx-ring b { color: #fff; font-family: var(--pg-head); font-size: 1.5rem; }
.hx-mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.hx-mini-bars i { width: 8px; height: var(--h); border-radius: 4px; background: var(--pg-c1); }
.hx-mini-bars i:nth-child(2n) { background: #f5b23d; }
.hx-mini-bars i:nth-child(3n) { background: #ef5a5a; }
.motion-js .hx-trust .hx-bars i, .motion-js .hx-trust .hx-mini-bars i { transform: scaleY(.15); transform-origin: bottom; transition: transform .9s var(--ease-out-quint) var(--d, 0ms); }
.motion-js .hx-trust.is-seen .hx-bars i, .motion-js .hx-trust.is-seen .hx-mini-bars i { transform: none; }
.hx-trust.is-seen .hx-linecard path { animation: hx-draw 1.6s ease forwards .3s; }
.hx-trust.is-seen .hx-ring { animation: hx-ring 1.4s var(--ease-out-quint) forwards .2s; }
@keyframes hx-draw { to { stroke-dashoffset: 0; } }
@keyframes hx-ring { to { --ring: 20%; } }

.hx-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hx-logos > .hx-logo { flex: 0 1 calc(25% - 12px); }
.hx-logo { display: grid; justify-items: center; align-content: center; gap: 16px; min-height: 150px; padding: 24px 16px; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 24px; box-shadow: var(--pg-shadow); transition: transform .3s var(--ease-out-quint), border-color .3s; }
.hx-logo:hover { transform: translateY(-4px); border-color: var(--pg-hl); }
.hx-logo img { height: 32px; width: auto; max-width: 100%; }
.hx-logo img[src$="pixis.webp"] { height: 22px; }
.theme-b .hx-logo img { filter: brightness(0) invert(1); opacity: .85; }
.hx-wordmark { font-family: var(--pg-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.hx-case { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--pg-hl); border: 1.5px solid currentColor; border-radius: 10px; padding: .45rem .8rem; transition: background-color .3s, color .3s; }
.hx-case svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; border: 1.5px solid currentColor; border-radius: 4px; padding: 1px; transition: transform .3s var(--ease-out-quint); }
.hx-case:hover, .hx-case:focus-visible { background: var(--pg-hl); color: var(--pg-surface); }
.theme-b .hx-case:hover, .theme-b .hx-case:focus-visible { color: var(--ink); }
.hx-case:hover svg { transform: translateX(2px); }

/* ---- Feature slider ---- */
.hx-feat { position: relative; }
.hx-feat-viewport { overflow: hidden; padding: 8px 0 20px; }
.hx-feat-track { --slide: min(1080px, 86vw); display: flex; gap: 28px; transition: transform .7s var(--ease-out-quint); will-change: transform; }
.hx-slide { flex: 0 0 var(--slide); display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: 30px; background: var(--pg-surface); border: 1px solid var(--pg-line); box-shadow: var(--pg-shadow); opacity: .45; transform: scale(.94); transition: opacity .6s ease, transform .7s var(--ease-out-quint); cursor: pointer; }
.hx-slide.is-active { opacity: 1; transform: none; cursor: default; }
.hx-copy h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.01em; line-height: 1.05; font-weight: 800; }
.hx-copy p { color: var(--pg-muted); font-size: 1.05rem; margin: 0; }
.hx-step { font-family: var(--mono, ui-monospace, monospace); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pg-hl) !important; margin-bottom: .8rem !important; }
.hx-arrow { position: absolute; top: calc(50% - 40px); z-index: 3; width: 64px; height: 64px; border: 0; border-radius: 16px; display: grid; place-items: center; cursor: pointer; background: var(--pg-c1); color: var(--ink, #15150f); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); transition: transform .3s var(--ease-out-quint), background-color .3s; }
.hx-arrow svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hx-arrow:hover { transform: scale(1.06); }
.hx-arrow:focus-visible { outline: 3px solid var(--pg-text); outline-offset: 3px; }
.hx-prev { left: calc(50% - var(--slide-half, 540px) - 32px); }
.hx-next { right: calc(50% - var(--slide-half, 540px) - 32px); }
.hx-dots { display: flex; justify-content: center; gap: 0; margin-top: 2px; }
.hx-dots button { width: 10px; height: 10px; padding: 7px; border-radius: 99px; border: 0; background-color: var(--pg-line); background-clip: content-box; box-sizing: content-box; cursor: pointer; transition: width .4s var(--ease-out-quint), background-color .3s; }
.hx-dots button[aria-current="true"] { width: 34px; background-color: var(--pg-c1); }

/* slide illustrations: a gridded panel; children animate when the slide is active */
.hx-art { position: relative; height: 320px; border-radius: 22px; overflow: hidden; background-color: var(--pg-panel); background-image: linear-gradient(var(--pg-grid) 1px, transparent 1px), linear-gradient(90deg, var(--pg-grid) 1px, transparent 1px); background-size: 32px 32px; }
.hx-art .spark { position: absolute; color: var(--pg-c1); font-size: 1.4rem; }
.hx-art .spark.s1 { left: 12%; top: 14%; } .hx-art .spark.s2 { right: 14%; bottom: 14%; }
.is-playing .hx-art .spark { animation: hx-twinkle 2.4s ease-in-out infinite; }
@keyframes hx-twinkle { 50% { transform: scale(1.4) rotate(20deg); opacity: .6; } }
@keyframes hx-pop { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes hx-grow { from { transform: scaleY(.1); } to { transform: none; } }

.art-pull .db { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; display: grid; justify-items: center; gap: 4px; }
.art-pull .db i { display: block; width: 130px; height: 34px; border-radius: 50%; background: var(--pg-c3); border: 3px solid var(--pg-surface); margin-top: -18px; }
.art-pull .db i:first-child { margin-top: 0; }
.art-pull .db b { margin-top: 10px; font-size: .78rem; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 999px; padding: .25rem .7rem; }
.art-pull .fly { position: absolute; width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.art-pull .fly img { width: 32px; height: 32px; }
.art-pull .f0 { left: 6%; top: 12%; } .art-pull .f1 { left: 4%; top: 44%; } .art-pull .f2 { left: 10%; top: 74%; }
.art-pull .f3 { right: 8%; top: 10%; } .art-pull .f4 { right: 4%; top: 42%; } .art-pull .f5 { right: 10%; top: 72%; } .art-pull .f6 { left: 44%; top: 6%; }
@keyframes hx-fly { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.08); } 100% { transform: none; } }

.art-store { padding: 16px 18px 42px; box-sizing: border-box; }
.art-store .wh { height: 100%; box-sizing: border-box; min-height: 0; display: flex; flex-direction: column; gap: 10px; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 18px; padding: 12px 14px 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }
.art-store .wh-top { display: flex; align-items: center; gap: 8px; font-size: .8rem; }
.art-store .wh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pg-c3); box-shadow: 0 0 0 4px rgba(51, 200, 147, .18); }
.art-store .wh-eng { margin-left: auto; display: flex; gap: 4px; }
.art-store .wh-eng i { font-style: normal; font-size: .66rem; font-weight: 700; padding: .15rem .45rem; border-radius: 999px; border: 1px solid var(--pg-line); color: var(--pg-muted); }
.art-store .wh-tiers { position: relative; flex: 1; min-height: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; padding-left: 18px; }
.art-store .wh-pipe { position: absolute; left: 4px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--pg-line); overflow: hidden; }
.art-store .wh-pipe i { position: absolute; left: -1.5px; width: 6px; height: 14px; border-radius: 3px; background: var(--pg-c1); bottom: -14px; opacity: 0; }
.art-store .tier { min-height: 0; overflow: hidden; border-radius: 12px; padding: 6px 10px; display: grid; gap: 5px; align-content: center; min-width: 0; }
.art-store .tier-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: .8rem; }
.art-store .tier-h code { font-family: var(--mono, ui-monospace, monospace); font-size: .68rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-store .tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 4px; overflow: hidden; }
.art-store .tier li { font-size: .66rem; font-weight: 600; padding: .14rem .45rem; border-radius: 6px; background: rgba(255, 255, 255, .55); white-space: nowrap; }
.art-store .t1 { background: linear-gradient(100deg, #c27a4c, #e1a77d); color: #2a1408; }
.art-store .t1 li { font-family: var(--mono, ui-monospace, monospace); }
.art-store .t2 { background: linear-gradient(100deg, #c3c7cf, #e7e9ee); color: #1b1c20; }
.art-store .t3 { background: linear-gradient(100deg, #dcae4a, #f2d686); color: #2a1f07; }
.art-store .kpis li { display: flex; gap: 6px; align-items: baseline; background: rgba(255, 255, 255, .7); }
.art-store .kpis b { font-size: .8rem; }
.art-store .kpis li:last-child { background: #15150f; color: #f2d686; }
.art-store .wh-lock { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; white-space: nowrap; font-size: .72rem; font-weight: 700; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 999px; padding: .28rem .75rem; }
.is-playing .art-store .tier { animation: hx-pop .6s var(--ease-out-quint) both var(--d); }
.is-playing .art-store .tier li { animation: hx-pop .45s var(--ease-out-quint) both var(--d); }
.is-playing .art-store .wh-pipe i { animation: hx-rise 2.4s linear infinite; }
.is-playing .art-store .wh-pipe i:nth-child(2) { animation-delay: .8s; }
.is-playing .art-store .wh-pipe i:nth-child(3) { animation-delay: 1.6s; }
.is-playing .art-store .wh-lock { animation: hx-pop .5s var(--ease-out-quint) both 1.9s; }
@keyframes hx-rise { 0% { bottom: -14px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { bottom: 100%; opacity: 0; } }
/* Pull slide: wires from each platform into the warehouse, with data flowing along them */
.art-pull .wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-pull .wires path { fill: none; stroke: var(--pg-muted, #8a877c); stroke-width: 1.4; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; opacity: .55; }
.is-playing .art-pull .wires path { animation: hx-flow .9s linear infinite, hx-fade .6s ease both var(--d); }
.is-playing .art-pull .fly { animation: hx-fly 1.1s var(--ease-out-quint) both var(--d), hx-bob 3.2s ease-in-out infinite calc(var(--d) + 1.1s); }
.is-playing .art-pull .db i { animation: hx-glow 2.4s ease-in-out infinite; }
.is-playing .art-pull .db i:nth-child(2) { animation-delay: .3s; } .is-playing .art-pull .db i:nth-child(3) { animation-delay: .6s; }
.art-pull .pulltag { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; white-space: nowrap; font-size: .72rem; font-weight: 700; color: var(--pg-muted); }
@keyframes hx-fade { from { opacity: 0; } to { opacity: .55; } }
@keyframes hx-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes hx-glow { 0%, 100% { filter: none; } 50% { filter: brightness(1.18); } }

.art-clean { display: flex; align-items: center; justify-content: center; gap: 22px; }
.art-clean .col { display: grid; gap: 10px; }
.art-clean code { font-family: var(--mono, ui-monospace, monospace); font-size: .86rem; padding: .5rem .8rem; border-radius: 10px; background: var(--pg-surface); border: 1px solid var(--pg-line); }
.art-clean .bad { color: #d23c3c; border-style: dashed; transform: rotate(-3deg); }
.art-clean .bad:nth-child(even) { transform: rotate(3deg); }
.art-clean .good { color: #0f7a55; border-color: rgba(51, 200, 147, .6); }
.art-clean .arrow { font-size: 1.8rem; font-weight: 800; color: var(--pg-c1); }
.art-clean .check { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: .78rem; font-weight: 700; color: #0f7a55; background: var(--pg-surface); border-radius: 999px; padding: .3rem .8rem; }
.theme-b .art-clean .good, .theme-b .art-clean .check { color: var(--mint); }
.is-playing .art-clean .bad { animation: hx-pop .5s ease both var(--d); }
.is-playing .art-clean .good { animation: hx-pop .5s var(--ease-out-quint) both var(--d); }
.is-playing .art-clean .arrow { animation: hx-nudge 1.4s ease-in-out infinite .4s; }
@keyframes hx-nudge { 50% { transform: translateX(8px); } }

.art-dash { display: grid; grid-template-columns: 112px minmax(28px, 1fr) 54%; align-items: center; padding: 0 22px; }
.art-dash .tags { display: grid; grid-template-rows: repeat(6, 32px); align-content: space-between; height: 232px; }
.art-dash .dtag { display: flex; align-items: center; padding: 0 .75rem; border-radius: 10px; font-size: .78rem; font-weight: 700; background: var(--pg-surface); border: 1px solid var(--pg-line); box-shadow: 0 6px 14px rgba(0, 0, 0, .06); }
.art-dash .dtag::before { content: ""; width: 8px; height: 8px; border-radius: 3px; margin-right: 8px; background: var(--pg-c1); }
.art-dash .dtag:nth-child(3n+2)::before { background: var(--pg-c2); } .art-dash .dtag:nth-child(3n)::before { background: #f5b23d; }
.art-dash .wires { width: 100%; height: 232px; overflow: visible; }
.art-dash .wires path { fill: none; stroke: var(--pg-muted, #8a877c); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; opacity: .7; }
.art-dash .chart { position: relative; height: 196px; border-radius: 16px; background: var(--pg-surface); border: 1px solid var(--pg-line); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); padding: 34px 14px 12px; }
.art-dash .ttl { position: absolute; left: 14px; top: 10px; font-size: .72rem; font-weight: 700; opacity: .7; }
.art-dash .bars { position: absolute; inset: 34px 14px 12px; display: flex; align-items: flex-end; gap: 7px; }
.art-dash .bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--pg-c1); transform-origin: bottom; opacity: .9; }
.art-dash .bars i:nth-child(3n) { background: #f5b23d; }
.art-dash .chart svg { position: absolute; inset: 34px 14px 12px; width: calc(100% - 28px); height: calc(100% - 46px); }
.art-dash .chart path { fill: none; stroke: var(--pg-c2); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 500; stroke-dashoffset: 500; }
.is-playing .art-dash .dtag { animation: hx-pop .5s var(--ease-out-quint) both var(--d); }
.is-playing .art-dash .wires path { animation: hx-flow 1.2s linear infinite; }
.is-playing .art-dash .bars i { animation: hx-grow .8s var(--ease-out-quint) both var(--d); }
.is-playing .art-dash .chart path { animation: hx-draw 1.4s ease forwards 1.1s; }
.art-dash .kpi { position: absolute; font-size: .78rem; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 999px; padding: .4rem .8rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.art-dash .kpi b { margin-left: 4px; color: var(--pg-c2); }
.art-dash .k1 { right: 30%; top: 14px; } .art-dash .k2 { right: 16px; bottom: 12px; }
.is-playing .art-dash .kpi { animation: hx-pop .5s var(--ease-out-quint) both 1.3s; }
@keyframes hx-flow { to { stroke-dashoffset: -18; } }

.art-insight { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 18px; padding: 24px; }
.art-insight .pulse { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--pg-c2); color: #fff; font-weight: 800; position: relative; }
.art-insight .pulse::before, .art-insight .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--pg-c2); opacity: 0; }
.is-playing .art-insight .pulse::before { animation: hx-ripple 2s ease-out infinite; }
.is-playing .art-insight .pulse::after { animation: hx-ripple 2s ease-out infinite 1s; }
@keyframes hx-ripple { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
.art-insight .alerts { display: grid; gap: 10px; }
.art-insight .alert { display: flex; align-items: center; gap: 10px; font-size: .85rem; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 12px; padding: .65rem .8rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
.art-insight .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pg-c1); flex: none; }
.is-playing .art-insight .alert { animation: hx-pop .55s var(--ease-out-quint) both var(--d); }

.art-act { display: grid; align-content: center; gap: 10px; padding: 24px 28px; }
.art-act .rail { position: relative; height: 10px; border-radius: 99px; background: var(--pg-surface); border: 1px solid var(--pg-line); margin: 6px 0 14px; }
.art-act .cap { position: absolute; right: 18%; top: -26px; font-size: .7rem; font-weight: 700; color: var(--pg-hl); }
.art-act .rail::after { content: ""; position: absolute; right: 22%; top: -6px; width: 2px; height: 20px; background: var(--pg-hl); }
.art-act .knob { position: absolute; top: -6px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--pg-c3); border: 3px solid var(--pg-surface); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.is-playing .art-act .knob { animation: hx-slide-knob 1.4s var(--ease-out-quint) forwards .2s; }
@keyframes hx-slide-knob { to { left: calc(70% - 10px); } }
.art-act .act { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 12px; padding: .65rem .85rem; }
.art-act .act span { font-weight: 600; color: #0f7a55; }
.art-act .act.wait span { color: var(--pg-c2); }
.theme-b .art-act .act span { color: var(--mint); }
.theme-b .art-act .act.wait span { color: #b0a6ff; }
.art-act .log { font-size: .74rem; color: var(--pg-muted); text-align: center; }
.is-playing .art-act .act { animation: hx-pop .5s var(--ease-out-quint) both var(--d); }

/* ---- Guides + ad data plan cards ---- */
.hx-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.hx-duo-card { min-width: 0; }
.hx-duo-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 32px; padding: 22px 22px 30px; box-shadow: var(--pg-shadow); transition: transform .3s var(--ease-out-quint); }
.hx-duo-card:hover { transform: translateY(-4px); }
.hx-panel { position: relative; height: 330px; border-radius: 22px; background: var(--pg-panel); display: grid; place-items: center; overflow: hidden; margin-bottom: 26px; }
.hx-folder { transform: scale(1.25); }
.hx-chip { position: absolute; width: 64px; height: 64px; border-radius: 18px; background: var(--pg-surface); display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0, 0, 0, .14); font-size: 1.5rem; color: var(--pg-c1); transition: transform 1s var(--ease-in); }
.hx-chip img { width: 30px; height: 30px; }
.hx-chip b { font-size: .9rem; color: var(--pg-text); }
.hx-chip.c1 { left: 12%; top: 46%; } .hx-chip.c2 { right: 14%; bottom: 14%; }
.hx-chip.c3 { left: 14%; bottom: 12%; } .hx-chip.c4 { right: 12%; top: 12%; }
.hx-duo-card:hover .hx-chip, .hx-duo-card:focus-visible .hx-chip { transition-timing-function: var(--ease-out-quint); }
.hx-duo-card:hover .c1 { transform: translate(-10px, -14px) rotate(-8deg); }
.hx-duo-card:hover .c2 { transform: translate(10px, 10px) rotate(8deg); }
.hx-duo-card:hover .c3 { transform: translate(-12px, 8px) rotate(-10deg); }
.hx-duo-card:hover .c4 { transform: translate(10px, -10px) rotate(10deg); }
.hx-plans { position: relative; width: 340px; height: 250px; }
.hx-plans .plan { position: absolute; width: 190px; padding: 14px; border-radius: 18px; background: var(--pg-surface); border: 1px solid var(--pg-line); box-shadow: 0 16px 36px rgba(0, 0, 0, .12); display: grid; gap: 8px; transition: transform 1s var(--ease-in); }
.hx-plans small { font-size: .72rem; color: var(--pg-muted); font-weight: 600; }
.hx-plans .p1 { left: 0; top: 0; } .hx-plans .p2 { left: 76px; top: 46px; } .hx-plans .p3 { left: 150px; top: 92px; }
.hx-plans .mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.hx-plans .mini-bars i { flex: 1; height: var(--h); border-radius: 4px; background: var(--pg-c1); }
.hx-plans .mini-bars i:nth-child(2n) { background: #f5b23d; }
.hx-plans .donut { width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--pg-c3) 0 38%, #f5b23d 38% 66%, var(--pg-c1) 66%); }
.hx-plans .stat { display: grid; padding: 8px 10px; border-radius: 10px; background: var(--pg-alt); }
.hx-plans .stat span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pg-hl); }
.hx-plans .stat b { font-size: .92rem; }
.hx-plans svg { width: 100%; height: 40px; }
.hx-plans path { fill: none; stroke: var(--pg-c1); stroke-width: 3; stroke-linecap: round; }
.hx-duo-card:hover .plan { transition-timing-function: var(--ease-out-quint); }
.hx-duo-card:hover .p1 { transform: translate(-18px, -10px) rotate(-5deg); }
.hx-duo-card:hover .p3 { transform: translate(18px, 10px) rotate(5deg); }
.hx-duo-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.hx-duo-head h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.hx-duo-head img { border-radius: 8px; flex: none; }
.hx-duo-card > p { color: var(--pg-muted); font-size: 1.05rem; flex: 1; }
.hx-outline { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--pg-hl); border: 1.5px solid currentColor; border-radius: 12px; padding: .6rem 1rem; transition: background-color .3s, color .3s; }
.hx-outline svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; border: 1.5px solid currentColor; border-radius: 4px; padding: 1px; }
.hx-duo-card:hover .hx-outline { background: var(--pg-hl); color: var(--pg-surface); }
.theme-b .hx-duo-card:hover .hx-outline { color: var(--ink); }

/* ---- Newsletter ---- */
.hx-news { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--pg-panel); }
.hx-news-icon { position: relative; width: 120px; height: 120px; border-radius: 50%; margin-bottom: 26px; background: radial-gradient(circle at 35% 30%, #ffb27a, var(--pg-c1) 60%, #b8431e); box-shadow: inset 0 -10px 24px rgba(0, 0, 0, .2), 0 18px 40px rgba(250, 106, 68, .35); display: grid; place-items: center; }
.hx-news-icon .env { width: 56px; height: 40px; border-radius: 6px; background: #fff; position: relative; overflow: hidden; }
.hx-news-icon .env::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 40px; border: 3px solid var(--pg-c1); border-top: 0; transform: rotate(45deg) scale(.7); transform-origin: center; }
.hx-news-icon .spark { position: absolute; right: 4px; top: 6px; color: #ffe08a; font-size: 1.3rem; animation: hx-twinkle 2.4s ease-in-out infinite; }
.hx-news h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
.hx-news-copy p { color: var(--pg-muted); font-size: 1.08rem; margin: 0; }
.hx-news-form { display: grid; gap: 10px; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--pg-surface); border: 1px solid var(--pg-line); }
.hx-news-form label { font-weight: 600; font-size: .92rem; }
.hx-news-form label span { color: #d23c3c; }
.hx-news-form input { font: inherit; color: var(--pg-text); background: var(--pg-alt); border: 1px solid var(--pg-line); border-radius: 999px; padding: .85rem 1.1rem; margin-bottom: 8px; }
.hx-news-form input:focus { outline: 2px solid var(--pg-hl); outline-offset: 1px; }
.hx-news-form button { font: inherit; font-weight: 700; margin-top: 8px; border: 0; border-radius: 999px; padding: 1rem; cursor: pointer; background: var(--pg-c1); color: var(--ink, #15150f); transition: transform .2s; }
.hx-news-form button:hover { transform: translateY(-2px); }

@media (max-width: 960px) {
  .hx-logos > .hx-logo { flex-basis: calc(50% - 8px); }
  .hx-slide { grid-template-columns: 1fr; gap: 22px; }
  .hx-art { height: 260px; }
  .hx-arrow { top: auto; bottom: -6px; width: 52px; height: 52px; }
  .hx-prev { left: calc(50% - 120px); } .hx-next { right: calc(50% - 120px); }
  .hx-dots { margin-top: 18px; }
  .hx-duo, .hx-news { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hx-dash { padding: 0 6px; }
  .hx-screen { grid-template-columns: 1fr; }
  .hx-col:first-child { display: none; }
  .hx-float-ring { left: -4px; bottom: -40px; transform: scale(.8); }
  .hx-float-bars { right: -4px; top: -36px; transform: scale(.8); }
  .hx-logo { min-height: 120px; padding: 18px 10px; }
  .hx-logo img { height: 24px; }
  .hx-logo img[src$="pixis.webp"] { height: 17px; }
  .hx-panel { height: 260px; }
  .hx-plans { transform: scale(.82); }
  .hx-feat-track { --slide: 88vw; gap: 14px; }
  .art-pull .db { transform: translate(-50%, -50%) scale(.8); }
  .art-store { padding: 12px 12px 40px; height: 330px; }
  .art-store .tier-h code { display: none; }
  .art-store .wh-lock { font-size: .66rem; }
  .art-store .wh-eng { display: none; }
  .art-store .tier li:nth-child(n+4) { display: none; }
  .art-dash { grid-template-columns: 92px minmax(18px, 1fr) 56%; padding: 0 12px; }
  .art-dash .tags { grid-template-rows: repeat(6, 28px); height: 208px; }
  .art-dash .dtag { font-size: .7rem; padding: 0 .5rem; }
  .art-dash .dtag::before { margin-right: 5px; }
  .art-dash .wires { height: 208px; }
  .art-dash .k1 { right: 12px; top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-feat-track, .hx-slide { transition: none; }
  .hx-art *, .hx-art *::before, .hx-art *::after { animation: none !important; }
  .hx-linecard path, .art-dash .chart path { stroke-dashoffset: 0; }
  .art-store .wh-pipe i { display: none; }
  .hx-ring { --ring: 20%; }
}
.hx-duo-card.illo-card > .hx-panel { height: 330px; display: grid; place-items: center; align-items: center; margin-bottom: 26px; background: var(--pg-panel); border-radius: 22px; }
.hx-duo-card.illo-card { padding: 22px 22px 30px; }
.theme-a .hx-duo-card.illo-card { background: var(--pg-surface); }
@media (max-width: 600px) { .hx-duo-card.illo-card > .hx-panel { height: 260px; } }

/* =====================================================================
   Variation A dark mode (html[data-theme="dark"], set by assets/theme.js).
   Overrides the A-side --pg-* tokens and a few hard-coded light colors.
   Keep this block at the end of the file.
   ===================================================================== */

/* A results row with a single card should not leave two-thirds of the row empty */
.pg-cards:has(> .case-card:only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }

/* Team cards (About) */
.team-leads { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .team-leads { grid-template-columns: repeat(2, 1fr); } }
.team-card { display: flex; flex-direction: column; gap: 4px; }
.team-card .tagline { margin: 0; }
.team-card h3 { margin: 10px 0 0; }
.team-li { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .88rem; color: var(--pg-hl); }
@media (max-width: 860px) { .team-leads { grid-template-columns: 1fr; } }

/* Custom work section (homepage) */
.hx-custom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.hx-custom-card { background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 20px; padding: 22px 22px 24px; }
.hx-custom-card h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.hx-custom-card p { margin: 0; color: var(--pg-muted); font-size: .95rem; }
.hx-custom-n { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--pg-hl); }
.hx-custom-cta { margin-top: 22px; text-align: center; }
.hx-custom-cta a { font-weight: 700; color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.hx-custom-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 960px) { .hx-custom-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hx-custom-grid { grid-template-columns: 1fr; } }

/* Pricing cards and hours-saved calculator */
.price-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 6px; }
.price-card h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--pg-hl); }
.price-card > p:not(.tagline) { flex: 1; }
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.calc-inputs { display: grid; gap: 18px; }
.calc-inputs label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; }
.calc-inputs input[type=number] { font: inherit; color: var(--pg-text); background: transparent; border: 1px solid var(--pg-line); border-radius: 12px; padding: .7rem .9rem; max-width: 220px; }
.calc-rate { display: flex; gap: 8px; }
.calc-rate select { font: inherit; color: var(--pg-text); background: transparent; border: 1px solid var(--pg-line); border-radius: 12px; padding: .7rem .6rem; }
.calc-inputs input[type=range] { accent-color: var(--pg-hl); width: 100%; }
.calc-inputs input:focus-visible { outline: 2px solid var(--pg-hl); outline-offset: 2px; }
.calc-out { display: grid; gap: 14px; }
.calc-out div { border: 1px solid var(--pg-line); border-radius: 16px; padding: 14px 18px; display: grid; }
.calc-out b { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: var(--pg-hl); font-variant-numeric: tabular-nums; }
.calc-out span { color: var(--pg-muted); font-size: .88rem; }
.calc .form-note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }
[data-theme="dark"] .theme-a {
  --pg-alt: #171715;
  --pg-accent: #ff9466;
  --pg-chip: var(--ink);
  --pg-on-chip: #15150f;
  --pg-shadow: var(--shadow);
  --pg-hero: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
  --pg-panel: #23231f;
  --pg-hl: #ff7a45;
  --pg-grid: rgba(255, 255, 255, .05);
  --pg-c1: #ff7a45;
}
[data-theme="dark"] .theme-a .hx-logo img { filter: brightness(0) invert(1); opacity: .85; }
[data-theme="dark"] .theme-a .hx-arrow, [data-theme="dark"] .theme-a .hx-news-form button { color: #15150f; }
[data-theme="dark"] .theme-a .hx-screen, [data-theme="dark"] .theme-a .hx-float, [data-theme="dark"] .theme-a .aside-icon, [data-theme="dark"] .theme-a .case-cover { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
[data-theme="dark"] .theme-a .art-clean .good, [data-theme="dark"] .theme-a .art-clean .check, [data-theme="dark"] .theme-a .art-act .act span { color: #4fd6a2; }
[data-theme="dark"] .theme-a .art-act .act.wait span { color: #b3a8ff; }
[data-theme="dark"] .theme-a .art-clean .bad, [data-theme="dark"] .theme-a .hx-news-form label span { color: #ff7070; }
[data-theme="dark"] .theme-a .case-card > img { background: var(--pg-surface); }

/* Inner pages: tighter vertical rhythm so the main content comes into view sooner (homepage keeps its own spacing) */
.page-hero ~ .section { padding: clamp(44px, 5.5vw, 76px) 0; }

/* Contrast fixes (WCAG AA 4.5:1 on light surfaces) */
.theme-a .card-roas em { color: #137a55; }
[data-theme="dark"] .theme-a .card-roas em { color: var(--mint); }
.theme-a .ft-sub { opacity: 1; }
