/* WX (2026-11-27): the reading layer for the client homepage, from the thatopen.com comparison and
   the two reviews of it (aura-ops artifacts/2026-11-27/wx/WX.md, wr1/REVIEW.md, wr2/REVIEW.md).
   Loaded by index.html only, after style.css and cx.css.
   Rules: one type ladder (mono kicker -> one H2 size -> 19px item title -> 16px body); gold only on
   the consulting button ("Tell us about your project"); centred panels, with the Engine screen as the one
   deliberate side panel and its diagram on the globe. */

/* ---- reading size ---- */
.card p, .mod p, .app-row p, .new-card p, .bgv-points li, .price-list li { font-size: 16px; line-height: 1.6; }
.member p { font-size: 15px; line-height: 1.65; }
.pipe-cell p { font-size: 13px; line-height: 1.45; }
.pipe-cell h4 { font-size: 15px; }
.app-row h3 { font-size: 19px; }
.cx-examples { font-size: 12px; }
.cx-examples a { white-space: nowrap; }   /* a link never splits across a line break */
@media (max-width: 720px) {
  .card p, .mod p, .app-row p, .new-card p, .bgv-points li, .price-list li { font-size: 16px; }
  .new-hero-copy p { font-size: 16px; }
  .new-hero-copy { left: 0; right: 0; bottom: auto; }   /* phone: don't re-apply the desktop offsets */
}

/* ---- one H2 size across the page (the reviews measured 42, 46, 52 and 58 px) ---- */
#content h2, #content .bento-title, #content .bgv-title {
  font-size: clamp(30px, 2.9vw, 42px) !important;
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}
#content .bento-title { white-space: normal; }

/* ---- gold only on the consulting button: everything else that was gold goes cyan or white ---- */
.hx-l3 em { color: var(--holo); text-shadow: var(--hx-halo), 0 0 30px rgba(123, 228, 255, 0.4); }
.new-panel { border-color: rgba(123, 228, 255, 0.28); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 90px rgba(123, 228, 255, 0.08); }
.new-panel::before { background: linear-gradient(90deg, transparent, var(--holo) 30%, #ffffff 50%, var(--holo) 70%, transparent); }
.new-kick { color: var(--holo); }
.new-kick .rb-tag { background: rgba(123, 228, 255, 0.14); color: var(--holo); border-color: rgba(123, 228, 255, 0.5); box-shadow: none; }
.new-grad {
  background: linear-gradient(100deg, var(--holo) 0%, #ffffff 60%, var(--holo) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.new-card:hover { border-color: rgba(123, 228, 255, 0.5); box-shadow: 0 14px 40px rgba(123, 228, 255, 0.12); }
.new-card h3::before { background: var(--holo); }
.new-panel .btn.ghost { border-color: rgba(123, 228, 255, 0.35); background: rgba(123, 228, 255, 0.04); }
.new-panel .btn.ghost:hover { border-color: var(--holo); color: var(--holo); text-shadow: 0 0 10px rgba(123, 228, 255, 0.5); box-shadow: 0 0 22px rgba(123, 228, 255, 0.18); }
.bgv-panel { border-color: rgba(123, 228, 255, 0.3); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 50px rgba(123, 228, 255, 0.07); }
.bgv-points { background: linear-gradient(160deg, rgba(123, 228, 255, 0.07), rgba(5, 9, 12, 0.4)); }
.bgv-points li + li { border-top-color: rgba(123, 228, 255, 0.2); }
.bgv-points b { color: var(--holo); }
.fe-dot { background: var(--holo); box-shadow: 0 0 12px rgba(123, 228, 255, 0.8); }
.pipe-arrow.warm { color: var(--holo); }
.pipe-col.delivery .pipe-cell { border-left-color: var(--holo); }
.diagram .dg-w { stroke: #ffffff; }
.diagram .dg-nodew { stroke: #ffffff; }
.diagram .dg-fillw { fill: #ffffff; }
.diagram .wx-lblw { fill: #ffffff; }

/* ---- working with: one label, one even row, over the globe (no band) ---- */
.sect.wx-logos { display: block; padding: clamp(28px, 5vh, 56px) 24px clamp(44px, 7vh, 84px); }
.wx-logos-inner { max-width: 1360px; margin: 0 auto; text-align: center; }
.wx-logos-label {
  margin: 0 0 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--holo); text-shadow: 0 0 8px rgba(2, 5, 7, 0.95), 0 1px 3px rgba(2, 5, 7, 1);
}
.wx-logo-row { gap: 30px clamp(28px, 4vw, 64px); flex-wrap: nowrap; }
.wx-logo-row img {
  height: clamp(30px, 3.1vw, 46px); width: auto; max-width: 300px; object-fit: contain; opacity: 0.88;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(2, 5, 7, 0.95));
}
@media (max-width: 600px) {
  .sect.wx-logos { padding: 28px 16px 48px; }
  .wx-logo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; align-items: center; gap: 24px 20px; }
  .wx-logo-row > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wx-logo-row img { height: 32px; max-width: 100%; }
}

/* ---- diagrams drawn inside a centred panel (problem, sectors) instead of floating on the globe ---- */
.diagram.wx-inline-diagram,
.sect.visible .diagram.wx-inline-diagram {
  position: static; display: block; width: 100%; max-width: 360px; margin: 0 auto;
  opacity: 0.95; transform: none; pointer-events: none;
}
@media (max-width: 1100px) { .diagram.wx-inline-diagram { display: block; } }

/* problem: copy left, diagram right, one centred panel */
.frame.wx-problem { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.wx-problem-copy { min-width: 0; }

/* sectors: the scale rings left, the four sectors as a two-by-two on the right, one centred panel */
.frame.wx-sectors { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.wx-sectors-copy { min-width: 0; }
.frame.wx-sectors .app-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.frame.wx-sectors .app-row:nth-child(2) { border-top: 1px solid var(--holo-ghost); }
@media (max-width: 860px) {
  .frame.wx-problem, .frame.wx-sectors { grid-template-columns: minmax(0, 1fr); }
  .diagram.wx-inline-diagram { max-width: 280px; }
  .frame.wx-sectors .diagram.wx-inline-diagram { order: 2; }
}
@media (max-width: 760px) {
  .frame.wx-sectors .app-list { grid-template-columns: minmax(0, 1fr); }
  .frame.wx-sectors .app-row:nth-child(2) { border-top: 0; }
}

/* ---- what we deliver: the reader's equation heads the card columns ---- */
.wx-eq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0 clamp(10px, 1.4vw, 22px);
  padding: 34px 44px 0;
  align-items: start;
}
.wx-eq-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.wx-eq-term { padding-bottom: 12px; border-bottom: 1px solid rgba(123, 228, 255, 0.28); }
.wx-eq-term b {
  display: block; font-family: var(--display); font-size: clamp(19px, 1.55vw, 25px); font-weight: 700;
  letter-spacing: 0.06em; line-height: 1.15; text-transform: uppercase; color: #dff8ff;
}
.wx-eq-term small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--holo); }
.wx-eq-op { padding-top: 2px; font-family: var(--mono); font-size: clamp(22px, 1.8vw, 30px); line-height: 1; color: var(--holo); }
.wx-eq-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  padding: 18px 20px; border-radius: 12px;
  border: 1px solid rgba(123, 228, 255, 0.18); background: rgba(123, 228, 255, 0.04);
}
.wx-eq-stats b { display: block; font-family: var(--display); font-size: clamp(28px, 2.4vw, 38px); font-weight: 600; line-height: 1.05; color: #ffffff; font-variant-numeric: tabular-nums; }
.wx-eq-stats span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #b9d2dd; }
.wx-eq-result {
  margin: 30px 44px 0; padding-top: 22px; border-top: 1px solid rgba(123, 228, 255, 0.28);
  text-align: center; font-family: var(--display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; color: #f2fbff;
}
.wx-eq-result i { font-style: normal; font-family: var(--mono); color: var(--holo); margin-right: 8px; }
.wx-eq-result span { color: #b8dbe6; font-weight: 400; }
.wx-eq-soon { margin: 0; max-width: 52ch; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; line-height: 1.6; color: var(--ink-dim); }
.wx-eq-col, .wx-eq-op, .wx-eq-result { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.sect.visible .wx-eq-col, .sect.visible .wx-eq-op, .sect.visible .wx-eq-result { opacity: 1; transform: none; }
.sect.visible .wx-eq > :nth-child(2), .sect.visible .wx-eq > :nth-child(3) { transition-delay: 0.14s; }
.sect.visible .wx-eq > :nth-child(4), .sect.visible .wx-eq > :nth-child(5) { transition-delay: 0.28s; }
.sect.visible .wx-eq-result { transition-delay: 0.44s; }
@media (max-width: 900px) {
  .wx-eq { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 28px 20px 0; }
  .wx-eq-op { text-align: center; }
  .wx-eq-result { margin: 26px 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wx-eq-col, .wx-eq-op, .wx-eq-result { opacity: 1; transform: none; transition: none; }
}

/* ---- Ask AURA, compact: a shorter section than live's full screen ---- */
@media (min-width: 721px) {
  .gc-sect { min-height: 80vh; margin: 60px 0 70px; }
}

/* ---- the engine: three cards, not 6 + 4 + 6 ---- */
.wx-engine .mod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .wx-engine .mod-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- how we check: the 8-of-8 story, where it explains itself ---- */
.wx-story { margin: -4px 0 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; line-height: 1.6; color: var(--holo); }

/* ---- team: the founders' note ---- */
.wx-founders { margin: clamp(34px, 5vh, 56px) auto 0; max-width: 1100px; padding-top: 28px; border-top: 1px solid var(--holo-ghost); }
.wx-founders-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 16px; }
.wx-founders blockquote { margin: 0; padding: 0; border: 0; }
.wx-founders blockquote p { margin: 0 0 12px; font-family: var(--display); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; color: #f2fbff; }
.wx-founders cite { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--holo); }
.wx-founders-line { margin: 22px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--holo); text-shadow: 0 0 8px rgba(2, 5, 7, 0.95), 0 1px 3px rgba(2, 5, 7, 1); }
.wx-founders-line span { white-space: nowrap; }
.wx-founders .wx-placeholder p { padding: 10px 14px; border: 1px dashed rgba(123, 228, 255, 0.45); border-radius: 8px; font-family: var(--mono); font-size: 13px; color: var(--ink-dim); }
@media (max-width: 760px) { .wx-founders-quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---- Visions: the buyer's line, then what the pictures are ---- */
.bento-title + .wx-bento-sub { margin: -14px 0 24px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }

/* the logo row over the globe: a soft dark scrim behind the marks, not a band */
.wx-logos-inner { padding: 18px 12px 22px; border-radius: 28px; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(2, 5, 7, 0.72), rgba(2, 5, 7, 0) 100%); }
