/* AZ Clarity — artistic mid-greys + purple accents · organised A–Z template · Sep 2026 */
/* NOT a purple page slab. NOT washed muddy ash. Rich graphite / slate / cool mid-grey + artistic purple accents. */

/* ========== WIDE LAYOUT (anti-squish) — Sep 21 evening ========== */
body.az-clarity,
body.enterprise.clarity.az-clarity,
body.cx-clarity.az-clarity {
  --max-w: 100rem;          /* ~1600px — full enterprise canvas */
  --max-w-wide: 112rem;     /* ~1792px — ultra-wide sections */
  --max-w-reading: 100rem;
  --max-w-narrow: 48rem;
}

body.az-clarity .wrap,
body.az-clarity .wrap.reading,
body.az-clarity main.editorial .wrap.reading,
body.az-clarity .site-header .inner,
body.az-clarity .site-footer .wrap,
body.az-clarity .cta-band > .wrap,
body.az-clarity .footer-bottom .wrap {
  width: min(100% - 3rem, var(--max-w)) !important;
  max-width: var(--max-w) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

body.az-clarity .wrap.wide {
  width: min(100% - 3rem, var(--max-w-wide)) !important;
  max-width: var(--max-w-wide) !important;
}

/* Kill CX stage middle pinch when AZ is active */
body.az-clarity.cx-clarity main#main,
body.az-clarity.cx-clarity main.page-main,
body.az-clarity.cx-clarity main.cx-stage,
body.az-clarity main#main,
body.az-clarity main.page-main {
  max-width: var(--max-w) !important;
  width: min(100%, var(--max-w)) !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 2.5vw, 2rem) !important;
  display: block !important;
  grid-template-columns: none !important;
}

/* Sections / heroes use full wrap width */
body.az-clarity .section > .wrap,
body.az-clarity .hero > .wrap,
body.az-clarity .page-hero > .wrap,
body.az-clarity .cta-band > .wrap {
  width: min(100% - 3rem, var(--max-w)) !important;
  max-width: var(--max-w) !important;
}


body.az-clarity,
body.enterprise.clarity.az-clarity,
body.cx-clarity.az-clarity {
  --theme-name: az-clarity;
  /* Artistic mid-greys — rich graphite / slate / cool panel */
  --az-canvas: #0A0B10;
  --az-graphite: #14161E;
  --az-slate: #1C1F2A;
  --az-panel: #222632;
  --az-panel-2: #2A2F3D;
  --az-border: rgba(196, 200, 214, 0.16);
  --az-border-strong: rgba(210, 214, 228, 0.28);
  --az-text: #F4F5F8;
  --az-text-2: #D2D5E0;
  --az-text-3: #A8ADBD;
  --az-silver: #E6E8F0;
  /* Artistic purple — accents only */
  --az-purple: #8B6CFF;
  --az-purple-soft: #A78BFA;
  --az-purple-glow: rgba(139, 108, 255, 0.18);
  --az-purple-edge: rgba(167, 139, 250, 0.35);
  --az-blue: #6B93F0;
  --az-amber: #F0B429;
  --secondary: #D2D5E0;
  --muted: #A8ADBD;
  --tertiary: #A8ADBD;
  --steel: #D2D5E0;
  --steel-deep: #A8ADBD;
  --text-faint: #D2D5E0;
  --footer-link: #E6E8F0;
  --footer-link-hover: #F8F8FB;
  --footer-meta: #D2D5E0;
  color: var(--az-text);
  background: var(--az-canvas) !important;
  background-image: none !important;
}

/* Soft purple field glows — never full-page wash */
body.az-clarity .intel-field,
body.az-clarity .field-glow,
body.az-clarity .precision-field {
  background:
    radial-gradient(ellipse 55% 38% at 78% 8%, rgba(139, 108, 255, 0.09), transparent 58%),
    radial-gradient(ellipse 42% 32% at 8% 72%, rgba(107, 147, 240, 0.05), transparent 52%),
    radial-gradient(ellipse 30% 24% at 50% 40%, rgba(248, 248, 251, 0.02), transparent 60%) !important;
  opacity: 0.7 !important;
}
body.az-clarity .field-fog { opacity: 0.2 !important; filter: none !important; }
body.az-clarity {
  --grad-field:
    radial-gradient(ellipse 70% 50% at 72% 8%, rgba(139, 108, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 80%, rgba(248, 248, 251, 0.025), transparent),
    linear-gradient(180deg, #0A0B10 0%, #10121A 50%, #0A0B10 100%);
  --orb-cyan: rgba(107, 147, 240, 0.12);
  --orb-violet: rgba(139, 108, 255, 0.1);
  --grad-cta: linear-gradient(135deg, #F4F5F8, #E6E8F0);
  --grad-flow: linear-gradient(90deg, #8B6CFF, #6B93F0, #E6E8F0);
}

/* Hide legacy floating left rail — replaced by A–Z shell */
body.az-clarity > main > aside.e2e-rail--left:not(.az-keep),
body.az-clarity > main > .cx-viz-stage:not(.az-keep) {
  /* rails moved into az-shell; orphaned legacy at top of main suppressed when az-shell present */
}
body.az-clarity main:has(.az-shell) > aside.e2e-rail--left,
body.az-clarity main:has(.az-shell) > .cx-viz-stage {
  display: none !important;
}

/* ——— FOOTER quality contrast ——— */
body.az-clarity .site-footer {
  background: #07080C !important;
  border-top: 1px solid var(--az-border-strong) !important;
}
body.az-clarity .site-footer a,
body.az-clarity .site-footer .footer-col a {
  color: var(--footer-link) !important;
  font-weight: 500;
}
body.az-clarity .site-footer a:hover { color: var(--footer-link-hover) !important; }
body.az-clarity .site-footer h4 { color: #F8F8FB !important; }
body.az-clarity .site-footer .text-sec,
body.az-clarity .site-footer .note,
body.az-clarity .site-footer .footer-bottom,
body.az-clarity .site-footer .footer-bottom p { color: var(--footer-meta) !important; }

body.az-clarity .note,
body.az-clarity .text-sec,
body.az-clarity .muted,
body.az-clarity .secondary,
body.az-clarity .mega-d,
body.az-clarity .hero-meta { color: var(--az-text-2) !important; }
body.az-clarity .section-kicker { color: var(--az-purple-soft) !important; letter-spacing: 0.12em; }

body.az-clarity .btn-primary {
  background: #F4F5F8 !important;
  color: #0A0B10 !important;
  border: 1px solid rgba(248,248,251,0.2) !important;
  box-shadow: 0 0 0 1px rgba(139,108,255,0.12) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
body.az-clarity .btn-primary:hover {
  background: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 0 24px var(--az-purple-glow) !important;
}
body.az-clarity .btn-secondary {
  color: #F4F5F8 !important;
  border-color: var(--az-border-strong) !important;
  background: rgba(34,38,50,0.6) !important;
}
body.az-clarity .btn-secondary:hover {
  border-color: var(--az-purple-edge) !important;
  background: rgba(139,108,255,0.1) !important;
}

/* ========== A–Z PAGE SHELL ========== */
.az-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.75rem 2.5rem;
  width: min(100% - 3rem, var(--max-w, 100rem));
  max-width: var(--max-w, 100rem);
  margin: 0 auto;
  padding: 1.5rem 0 3.5rem;
  align-items: start;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .az-shell { grid-template-columns: 1fr; padding: 1rem 1rem 2.5rem; }
  .az-outline { position: static !important; display: flex; flex-wrap: wrap; gap: .4rem; }
  .az-outline a { font-size: .68rem !important; padding: .35rem .55rem !important; }
}

.az-outline {
  position: sticky;
  top: 5.5rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .85rem .75rem;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(42,47,61,0.92), rgba(20,22,30,0.95));
  border: 1px solid var(--az-border);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(167,139,250,0.08);
  backdrop-filter: blur(16px);
}
.az-outline-kicker {
  margin: 0 0 .5rem;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--az-purple-soft);
  font-weight: 600;
}
.az-outline a {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  padding: .42rem .5rem;
  border-radius: 8px;
  color: var(--az-text-2) !important;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.25;
  border: 1px solid transparent;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.az-outline a .az-letter {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--az-purple-soft);
  min-width: 1.1rem;
}
.az-outline a:hover,
.az-outline a.is-active {
  background: rgba(139,108,255,0.12);
  border-color: var(--az-purple-edge);
  color: var(--az-text) !important;
  transform: translateX(2px);
}

.az-body { min-width: 0; display: flex; flex-direction: column; gap: 1.35rem; }

.az-sec {
  scroll-margin-top: 5.75rem;
  padding: 1.15rem 1.25rem 1.3rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(34,38,50,0.88), rgba(20,22,30,0.72));
  border: 1px solid var(--az-border);
  box-shadow: 0 10px 36px rgba(0,0,0,0.28), inset 0 1px 0 rgba(167,139,250,0.06);
  position: relative;
}
.az-sec::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--az-purple), transparent 85%);
  opacity: .7;
}
.az-sec-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .75rem;
}
.az-sec-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem; height: 1.7rem;
  border-radius: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #F4F5F8;
  background: linear-gradient(145deg, rgba(139,108,255,0.55), rgba(42,47,61,0.9));
  border: 1px solid var(--az-purple-edge);
  box-shadow: 0 0 16px var(--az-purple-glow);
}
.az-sec-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--az-text);
}
.az-sec-sub {
  margin: 0 0 .85rem;
  font-size: .88rem;
  color: var(--az-text-2);
  line-height: 1.55;
  max-width: 62ch;
}
.az-sec p { margin: 0 0 .65rem; color: var(--az-text-2); font-size: .9rem; line-height: 1.55; }
.az-sec p:last-child { margin-bottom: 0; }
.az-sec ul.az-list {
  margin: .4rem 0 .6rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .4rem;
}
.az-sec ul.az-list li {
  position: relative;
  padding: .45rem .6rem .45rem 1.35rem;
  border-radius: 8px;
  background: rgba(10,11,16,0.35);
  border: 1px solid var(--az-border);
  color: var(--az-text-2);
  font-size: .86rem;
  line-height: 1.45;
}
.az-sec ul.az-list li::before {
  content: "";
  position: absolute;
  left: .55rem; top: .75rem;
  width: .35rem; height: .35rem;
  border-radius: 50%;
  background: var(--az-purple-soft);
  box-shadow: 0 0 8px var(--az-purple-glow);
}

/* Clarity module inside A–Z (not floating dual layout) */
.az-clarity-mod {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .75rem;
}
@media (max-width: 800px) { .az-clarity-mod { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .az-clarity-mod { grid-template-columns: 1fr; } }
.az-clarity-mod .az-beat {
  padding: .55rem .6rem;
  border-radius: 10px;
  background: var(--az-graphite);
  border: 1px solid var(--az-border);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.az-clarity-mod .az-beat:hover {
  border-color: var(--az-purple-edge);
  box-shadow: 0 0 20px var(--az-purple-glow);
  transform: translateY(-1px);
}
.az-clarity-mod .az-beat .k {
  display: block;
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--az-purple-soft);
  font-weight: 700;
  margin-bottom: .25rem;
}
.az-clarity-mod .az-beat .v {
  font-size: .75rem;
  color: var(--az-text-2);
  line-height: 1.4;
}
.az-clarity-mod .az-beat .v a { color: var(--az-silver) !important; text-decoration: underline; text-underline-offset: 2px; }

/* Value proof stats */
.az-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .55rem;
  margin: .75rem 0 .25rem;
}
.az-stat {
  padding: .7rem .75rem;
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(42,47,61,0.95), rgba(20,22,30,0.9));
  border: 1px solid var(--az-border);
  box-shadow: inset 0 1px 0 rgba(167,139,250,0.08);
}
.az-stat b {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--az-text);
  background: linear-gradient(90deg, #F4F5F8, var(--az-purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.az-stat span {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  color: var(--az-text-3);
  line-height: 1.35;
}
.az-stat .ex {
  display: inline-block;
  margin-top: .25rem;
  font-size: .55rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--az-amber);
  border: 1px solid rgba(240,180,41,0.35);
  padding: .1rem .35rem;
  border-radius: 4px;
}

.az-next-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .65rem;
}

/* ========== DEEP INTERACTIVE VIZ ========== */
.az-viz {
  margin-top: .85rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--az-graphite);
  border: 1px solid var(--az-border);
  box-shadow: inset 0 0 0 1px rgba(139,108,255,0.06), 0 12px 40px rgba(0,0,0,0.25);
}
.az-viz-kicker {
  margin: 0 0 .35rem;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--az-purple-soft);
  font-weight: 650;
}
.az-viz-title {
  margin: 0 0 .75rem;
  font-size: 1rem;
  font-weight: 650;
  color: var(--az-text);
}
.az-viz-hint {
  margin: .75rem 0 0;
  font-size: .72rem;
  color: var(--az-text-3);
}

.az-flow {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .65rem;
}
.az-flow button,
.az-nodes button,
.az-modules button,
.az-plan-tabs button {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--az-border);
  background: var(--az-panel);
  color: var(--az-text-2);
  border-radius: 9px;
  padding: .45rem .65rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 550;
  transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.az-flow button .k,
.az-plan-tabs button .k {
  display: block;
  font-size: .55rem;
  letter-spacing: .1em;
  color: var(--az-purple-soft);
  margin-bottom: .1rem;
}
.az-flow button.is-on,
.az-nodes button.is-on,
.az-modules button.is-on,
.az-plan-tabs button.is-on {
  border-color: var(--az-purple-edge);
  background: linear-gradient(145deg, rgba(139,108,255,0.22), rgba(34,38,50,0.95));
  color: var(--az-text);
  box-shadow: 0 0 20px var(--az-purple-glow);
  transform: translateY(-1px);
}
.az-flow button:hover,
.az-nodes button:hover,
.az-modules button:hover,
.az-plan-tabs button:hover {
  border-color: var(--az-purple-edge);
}

.az-nodes, .az-modules {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .65rem;
}

.az-panel {
  display: none;
  padding: .85rem .9rem;
  border-radius: 10px;
  background: rgba(28,31,42,0.85);
  border: 1px solid var(--az-border);
  color: var(--az-text-2);
  font-size: .86rem;
  line-height: 1.5;
  animation: azFade .28s ease;
}
.az-panel.is-on { display: block; }
.az-panel strong { color: var(--az-text); }
.az-panel .az-io {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-top: .65rem;
}
@media (max-width: 560px) { .az-panel .az-io { grid-template-columns: 1fr; } }
.az-panel .az-io div {
  padding: .5rem .55rem;
  border-radius: 8px;
  background: rgba(10,11,16,0.45);
  border: 1px solid var(--az-border);
  font-size: .78rem;
}
.az-panel .az-io .lbl {
  display: block;
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--az-purple-soft);
  margin-bottom: .2rem;
  font-weight: 700;
}

@keyframes azFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .az-panel { animation: none; }
  .az-flow button, .az-nodes button, .az-modules button, .az-plan-tabs button,
  .az-outline a, .az-clarity-mod .az-beat, .btn-primary, .btn-secondary { transition: none !important; transform: none !important; }
}

/* Plan deep demos */
.az-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: .65rem;
}
@media (max-width: 720px) { .az-plan-grid { grid-template-columns: 1fr; } }
.az-plan-card {
  text-align: left;
  padding: .85rem .9rem !important;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.az-plan-card .name { font-size: .95rem; font-weight: 700; color: var(--az-text); }
.az-plan-card .fee { font-size: .8rem; color: var(--az-purple-soft); }
.az-plan-card .mo { font-size: .78rem; color: var(--az-text-3); }

/* Compare interactive */
.az-compare {
  display: grid;
  grid-template-columns: 160px repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--az-border);
  border-radius: 12px;
  overflow: hidden;
  font-size: .78rem;
}
@media (max-width: 800px) {
  .az-compare { display: block; }
  .az-compare .az-c-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .az-compare .az-c-feat { grid-column: 1 / -1; background: var(--az-panel); }
}
.az-compare .az-c-head,
.az-compare .az-c-cell,
.az-compare .az-c-feat {
  padding: .55rem .6rem;
  border-bottom: 1px solid var(--az-border);
  border-right: 1px solid var(--az-border);
  color: var(--az-text-2);
}
.az-compare .az-c-head {
  background: var(--az-panel);
  font-weight: 700;
  color: var(--az-text);
  text-align: center;
}
.az-compare .az-c-feat { background: rgba(10,11,16,0.35); font-weight: 550; color: var(--az-text); }
.az-compare .az-c-cell { text-align: center; }
.az-compare .az-c-cell.is-yes { color: var(--az-purple-soft); font-weight: 650; }
.az-compare .az-c-cell.is-no { color: var(--az-text-3); opacity: .7; }
.az-compare-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .65rem;
}
.az-compare-toggles button {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--az-border);
  background: var(--az-panel);
  color: var(--az-text-2);
  border-radius: 999px;
  padding: .35rem .7rem;
  font: inherit;
  font-size: .72rem;
}
.az-compare-toggles button.is-on {
  border-color: var(--az-purple-edge);
  background: rgba(139,108,255,0.18);
  color: var(--az-text);
}

/* Topology / module grid */
.az-topo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin-bottom: .65rem;
}
@media (max-width: 640px) { .az-topo { grid-template-columns: 1fr 1fr; } }
.az-topo .cell {
  padding: .65rem .7rem;
  border-radius: 10px;
  background: var(--az-panel);
  border: 1px solid var(--az-border);
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.az-topo .cell.is-on,
.az-topo .cell:hover {
  border-color: var(--az-purple-edge);
  box-shadow: 0 0 18px var(--az-purple-glow);
  transform: translateY(-1px);
}
.az-topo .cell h4 { margin: 0 0 .2rem; font-size: .82rem; color: var(--az-text); }
.az-topo .cell p { margin: 0; font-size: .72rem; color: var(--az-text-3); }

.az-chooser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .55rem;
}
.az-chooser a {
  display: block;
  padding: .9rem 1rem;
  border-radius: 12px;
  background: var(--az-panel);
  border: 1px solid var(--az-border);
  text-decoration: none;
  color: inherit !important;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.az-chooser a:hover {
  border-color: var(--az-purple-edge);
  box-shadow: 0 0 22px var(--az-purple-glow);
  transform: translateY(-2px);
}
.az-chooser a h3 { margin: 0 0 .3rem; font-size: .95rem; color: var(--az-text); }
.az-chooser a p { margin: 0; font-size: .78rem; color: var(--az-text-3); }

/* Intel core purple accents (artistic, not wash) */
body.az-clarity .intel-core-stage {
  background:
    radial-gradient(circle at 40% 35%, rgba(139,108,255,0.16), transparent 45%),
    radial-gradient(circle at 60% 65%, rgba(107,147,240,0.08), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(20,22,30,0.95), #0A0B10) !important;
  border-color: var(--az-purple-edge) !important;
  box-shadow: 0 0 48px rgba(139,108,255,0.12), inset 0 0 32px rgba(0,0,0,0.35) !important;
}
body.az-clarity .intel-core-node {
  background: var(--az-purple) !important;
  box-shadow: 0 0 12px var(--az-purple-glow) !important;
}

/* Cards / panels mid-grey */
body.az-clarity .g01, body.az-clarity .g02, body.az-clarity .card,
body.az-clarity .story-row, body.az-clarity .pricing-plane {
  border-color: var(--az-border) !important;
}
body.az-clarity .pricing-plane {
  background: linear-gradient(160deg, rgba(34,38,50,0.9), rgba(20,22,30,0.85)) !important;
}
body.az-clarity .pricing-plane.is-featured {
  border-color: var(--az-purple-edge) !important;
  box-shadow: 0 0 32px var(--az-purple-glow) !important;
}

/* data-e2e marker for budget (hidden meta) */
.az-shell[data-e2e] { /* present for gate */ }

/* === PLAIN CLIENT · flat dark arch · Sep 21 === */
/* Kill light-grey wash + 3D twist on architecture / flat instruments */
body.az-clarity .arch-glass,
body.az-clarity .viz-arch,
body.az-clarity .glass-instrument.is-flat,
body.az-clarity .glass-instrument[data-no-tilt] {
  transform: none !important;
  perspective: none !important;
  transform-style: flat !important;
  background: linear-gradient(165deg, rgba(28, 31, 42, 0.96), rgba(14, 16, 22, 0.94)) !important;
  border: 1px solid rgba(167, 139, 250, 0.28) !important;
  box-shadow:
    0 0 0 1px rgba(10, 11, 16, 0.6),
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(248, 248, 251, 0.06) !important;
  backdrop-filter: blur(18px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
}
body.az-clarity .arch-glass .gi-stage,
body.az-clarity .viz-arch .gi-stage,
body.az-clarity .is-flat .gi-stage,
body.az-clarity [data-no-tilt] .gi-stage {
  transform: none !important;
  perspective: none !important;
  transform-style: flat !important;
}
body.az-clarity .arch-glass .gi-pane,
body.az-clarity .viz-arch .gi-pane,
body.az-clarity .is-flat .gi-pane,
body.az-clarity [data-no-tilt] .gi-pane,
body.az-clarity .arch-glass .gi-core {
  background: linear-gradient(160deg, rgba(34, 38, 50, 0.92), rgba(20, 22, 30, 0.88)) !important;
  border: 1px solid rgba(196, 200, 214, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(248, 248, 251, 0.05), 0 8px 20px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  transform: none !important;
  color: #F4F5F8 !important;
}
body.az-clarity .arch-glass .gi-pane:hover,
body.az-clarity .arch-glass .gi-pane:focus-within,
body.az-clarity .arch-glass .gi-pane.is-on,
body.az-clarity .viz-arch .gi-pane.is-on,
body.az-clarity .is-flat .gi-pane.is-on {
  background: linear-gradient(160deg, rgba(42, 47, 61, 0.95), rgba(28, 31, 42, 0.9)) !important;
  border-color: rgba(167, 139, 250, 0.4) !important;
  box-shadow: 0 0 22px rgba(139, 108, 255, 0.16), inset 0 1px 0 rgba(248, 248, 251, 0.08) !important;
  transform: none !important;
}
body.az-clarity .arch-glass .gi-title,
body.az-clarity .arch-glass .gi-pane strong,
body.az-clarity .arch-glass .gi-core strong { color: #F8F8FB !important; }
body.az-clarity .arch-glass .gi-muted,
body.az-clarity .arch-glass .gi-micro { color: #C4C8D6 !important; }
body.az-clarity .arch-glass .gi-kicker { color: #A78BFA !important; }
body.az-clarity .arch-glass .gi-core {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border-style: dashed !important;
  border-color: rgba(167, 139, 250, 0.3) !important;
  color: #E6E8F0 !important;
}

/* Also darken legacy light gi-pane wash sitewide under az-clarity (not only arch) */
body.az-clarity .gi-pane {
  background: linear-gradient(160deg, rgba(34, 38, 50, 0.9), rgba(20, 22, 30, 0.85)) !important;
  border: 1px solid rgba(196, 200, 214, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(248, 248, 251, 0.05), 0 8px 18px rgba(0, 0, 0, 0.22) !important;
  color: #F4F5F8 !important;
}
body.az-clarity .gi-pane .gi-title,
body.az-clarity .gi-pane strong { color: #F8F8FB !important; }
body.az-clarity .gi-pane .gi-muted,
body.az-clarity .gi-pane .gi-micro { color: #C4C8D6 !important; }
body.az-clarity .gi-pane:hover,
body.az-clarity .gi-pane:focus-within,
body.az-clarity .gi-pane.is-on {
  background: linear-gradient(160deg, rgba(42, 47, 61, 0.95), rgba(28, 31, 42, 0.9)) !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
  transform: translateY(-2px) !important; /* subtle lift only — no rotate */
}

/* Plain-client walkthrough + inclusions blocks */
.az-walk,
.az-includes {
  margin: 1.1rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(28, 31, 42, 0.75), rgba(14, 16, 22, 0.65));
  border: 1px solid var(--az-border);
}
.az-walk h3,
.az-includes h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: var(--az-text);
  letter-spacing: -0.01em;
}
.az-walk ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--az-text-2);
  font-size: 0.9rem;
  line-height: 1.55;
}
.az-walk ol li { margin: 0.35rem 0; }
.az-walk .az-walk-note,
.az-includes .az-inc-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--az-text-3);
}
.az-stat-cite {
  display: block;
  font-size: 0.62rem;
  color: var(--az-text-3);
  margin-top: 0.15rem;
  line-height: 1.35;
}
.az-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}
@media (max-width: 720px) { .az-insight-grid { grid-template-columns: 1fr; } }
.az-insight {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: var(--az-panel);
  border: 1px solid var(--az-border);
}
.az-insight .n {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--az-purple-soft);
  letter-spacing: -0.02em;
}
.az-insight .l { font-size: 0.82rem; color: var(--az-text); margin-top: 0.2rem; }
.az-insight .s { font-size: 0.68rem; color: var(--az-text-3); margin-top: 0.35rem; line-height: 1.4; }
.az-insight .tag {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--az-purple-soft);
  border: 1px solid var(--az-purple-edge);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

/* Calm page unity — one document feel */
body.az-clarity .az-shell {
  margin-top: 0.5rem;
}
body.az-clarity .az-sec + .az-sec {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--az-border);
}
body.az-clarity .az-outline {
  position: sticky;
  top: 4.5rem;
  z-index: 5;
  margin-bottom: 1.25rem;
}
