﻿
:root{
  --black:#050505; --black2:#0b0b0b; --panel:#111; --panel2:#171717;
  --gold:#d7a62f; --gold2:#f1d37a; --gold3:#8a6415;
  --white:#f6f0e5; --muted:#b8b2a5; --green:#27e889; --red:#ff4b4b; --orange:#ff9d1e;
  --line:rgba(215,166,47,.28); --shadow:0 24px 70px rgba(0,0,0,.55);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--white);font-family:Arial,Helvetica,sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1180px,92vw);margin:0 auto}
.container.narrow{width:min(860px,92vw)}
.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:14px min(4vw,50px);background:rgba(5,5,5,.82);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:42px;height:42px;object-fit:contain}
.brand strong{display:block;color:var(--gold2);font-family:Georgia,serif;letter-spacing:.06em}
.brand em{display:block;color:var(--muted);font-size:.78rem;font-style:normal;letter-spacing:.12em;text-transform:uppercase}
.main-nav{display:flex;gap:20px;align-items:center}
.main-nav a{font-size:.92rem;color:var(--muted)}
.main-nav a:hover{color:var(--gold2)}
.nav-cta{border:1px solid var(--gold);padding:10px 14px;border-radius:999px;color:var(--gold2)!important;background:rgba(215,166,47,.08)}
.nav-toggle{display:none;background:none;border:1px solid var(--line);color:var(--gold2);padding:8px 10px;border-radius:10px}
.hero{position:relative;overflow:hidden;padding:62px 0 54px;border-bottom:1px solid var(--line)}
.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.74),rgba(0,0,0,.62)),url('/assets/img/cover-background.png') center/cover no-repeat;opacity:.92}
.hero:after{content:"";position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.hero-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:38px;align-items:center}
.eyebrow{color:var(--gold2);text-transform:uppercase;letter-spacing:.18em;font-weight:700;font-size:.78rem;margin:0 0 14px}
h1,h2,h3{line-height:1.08;margin:0 0 18px}
h1{font-family:Georgia,serif;font-size:clamp(2.05rem,3.7vw,3.95rem);letter-spacing:-.05em}
h2{font-family:Georgia,serif;font-size:clamp(1.9rem,3vw,3.4rem)}
h3{font-size:1.15rem;color:var(--gold2)}
.lead{font-size:1.04rem;color:#e9e0d0;max-width:680px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;padding:14px 18px;font-weight:800;letter-spacing:.03em;transition:.2s transform,.2s box-shadow,.2s background;border:1px solid var(--line)}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#151008;box-shadow:0 14px 42px rgba(215,166,47,.22)}
.btn-secondary{background:rgba(255,255,255,.05);color:var(--gold2);border-color:var(--gold3)}
.btn-wide{width:100%}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin:28px 0}
.trust-strip{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}
.trust-strip span{border:1px solid var(--line);background:rgba(255,255,255,.04);border-radius:999px;padding:8px 12px;color:var(--gold2);font-size:.84rem}
.terminal-card{background:linear-gradient(180deg,#141414,#050505);border:1px solid var(--line);border-radius:22px;padding:14px;box-shadow:var(--shadow);transform:translateY(0)}
.terminal-top{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.76rem;padding:0 0 12px}
.terminal-top span{width:10px;height:10px;border-radius:99px;background:var(--gold3)}
.terminal-top b{margin-left:auto;color:var(--gold2)}
.terminal-card img{border-radius:12px;border:1px solid rgba(255,255,255,.12)}
.floating-card{position:absolute;right:4%;bottom:8%;background:rgba(7,7,7,.92);border:1px solid var(--gold);border-radius:18px;padding:18px 20px;box-shadow:var(--shadow);text-align:center}
.floating-card span,.floating-card em{display:block;color:var(--muted);font-size:.82rem}
.floating-card strong{font-family:Georgia,serif;color:var(--gold2);font-size:2.4rem}
.warning-ribbon{background:#120b04;border-block:1px solid rgba(255,157,30,.35);padding:14px 0;color:#f5d5a6}
.section{padding:78px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.section.dark{background:linear-gradient(180deg,#080808,#0f0f0f)}
.split{display:grid;grid-template-columns:.82fr 1.18fr;gap:44px;align-items:start}
.problem-grid,.feature-grid,.asset-grid,.compat-grid,.portal-grid,.support-grid{display:grid;gap:18px}
.problem-grid{grid-template-columns:repeat(2,1fr)}
.problem-grid div,.feature-grid article,.asset-grid div,.compat-grid div,.portal-card,.legal-card,.checkout-card,.order-summary,.metric-panel,.pricing-card{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 12px 40px rgba(0,0,0,.22)}
.problem-grid span{color:var(--gold2);font-family:Georgia,serif;font-size:1.6rem}
.problem-grid strong{display:block;font-size:1.1rem;margin:6px 0}
.muted{color:var(--muted)}
.small{font-size:.86rem}
.section-head{max-width:800px;margin-bottom:34px}
.feature-grid{grid-template-columns:repeat(3,1fr)}
.feature-grid i{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--gold);border-radius:14px;color:var(--gold2);font-style:normal;margin-bottom:18px;background:rgba(215,166,47,.08)}
.showcase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.showcase-grid figure{margin:0;background:#0c0c0c;border:1px solid var(--line);border-radius:22px;padding:18px}
.showcase-grid img{margin:auto;max-height:330px;object-fit:contain}
.showcase-grid figcaption{color:var(--muted);font-size:.95rem;margin-top:16px}
.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.bar-row{display:grid;grid-template-columns:190px 1fr 90px;gap:12px;align-items:center;margin:16px 0}
.bar-row b{height:14px;background:linear-gradient(90deg,var(--orange),#62360b);border-radius:999px}
.bar-row.gold b{background:linear-gradient(90deg,var(--gold2),var(--gold3))}
.bar-row em{font-style:normal;color:var(--muted);font-size:.86rem}
.step-line{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:24px 0}
.step-line span{border:1px solid var(--line);padding:12px 8px;border-radius:12px;text-align:center;color:var(--gold2);font-size:.86rem}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:22px;background:#080808}
table{width:100%;border-collapse:collapse;min-width:760px}
th,td{padding:16px;border-bottom:1px solid rgba(255,255,255,.08);text-align:left}
th{color:var(--gold2);background:rgba(215,166,47,.08)}
td{color:#e5ded1}
.notice{border-left:4px solid var(--gold);padding:16px 18px;background:rgba(215,166,47,.07);color:#eadbb9;border-radius:12px}
.asset-grid{grid-template-columns:repeat(3,1fr)}
.pricing-section{background:radial-gradient(circle at 70% 20%,rgba(215,166,47,.16),transparent 36%),#070707}
.pricing-grid,.checkout-grid{display:grid;grid-template-columns:1fr 420px;gap:34px;align-items:start}
.check-list{list-style:none;padding:0;margin:22px 0}
.check-list li{margin:10px 0;padding-left:28px;position:relative}
.check-list li:before{content:"\2713";position:absolute;left:0;color:var(--green);font-weight:900}
.pricing-card{text-align:center;position:relative}
.badge{display:inline-block;background:rgba(215,166,47,.14);border:1px solid var(--gold);padding:8px 12px;border-radius:999px;color:var(--gold2);font-size:.82rem;text-transform:uppercase;letter-spacing:.12em}
.pricing-card strong{display:block;font-family:Georgia,serif;color:var(--gold2);font-size:4.4rem;line-height:1;margin:18px 0 6px}
.regular{color:var(--muted)}
.compat-grid{grid-template-columns:repeat(3,1fr)}
.compat-grid div strong{display:block;color:var(--gold2);margin-bottom:6px}
.compat-grid div span{color:var(--muted)}
.link-arrow{display:inline-block;margin-top:20px;color:var(--gold2);font-weight:800}
.link-arrow:after{content:" \2192"}
.accordion button{width:100%;text-align:left;background:#0e0e0e;color:var(--gold2);border:1px solid var(--line);padding:16px 18px;border-radius:14px;margin:8px 0;font-weight:800;cursor:pointer}
.accordion div{display:none;padding:0 18px 16px;color:var(--muted)}
.accordion button.active+div,.accordion.open div{display:block}
.final-cta{text-align:center;padding:82px 0;background:linear-gradient(135deg,#090909,#17120a);border-top:1px solid var(--line)}
.legal-hero,.portal-hero{padding:72px 0 42px;background:radial-gradient(circle at 70% 10%,rgba(215,166,47,.14),transparent 38%),#050505;border-bottom:1px solid var(--line)}
.legal-body{padding:48px 0 80px}
.legal-card h2{margin-top:28px;color:var(--gold2);font-size:1.55rem}
.legal-card li{margin:8px 0}
.summary-row{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid rgba(255,255,255,.08);padding:12px 0}
.summary-row.total{font-size:1.2rem;color:var(--gold2)}
.portal-alert{margin-top:24px;border:1px solid var(--orange);border-radius:16px;padding:14px 18px;background:rgba(255,157,30,.08);color:#ffd8a3}
.portal-grid{grid-template-columns:repeat(3,1fr)}
.download-placeholder{border:1px dashed var(--gold);border-radius:18px;padding:22px;background:rgba(215,166,47,.06);margin:20px 0}
.download-placeholder span{display:block;color:var(--muted);margin-top:8px}
.footer{padding:54px min(4vw,50px) 26px;background:#050505;border-top:1px solid var(--line)}
.footer-grid{display:grid;grid-template-columns:1.4fr .7fr .7fr;gap:32px}
.footer h4{color:var(--gold2);margin:0 0 14px}
.footer a{display:block;color:var(--muted);margin:8px 0}
.footer a:hover{color:var(--gold2)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:34px;padding-top:20px;display:flex;justify-content:space-between;color:var(--muted);font-size:.9rem}
@media (max-width:900px){
  .nav-toggle{display:block}.main-nav{position:absolute;top:74px;left:0;right:0;background:#060606;border-bottom:1px solid var(--line);display:none;flex-direction:column;padding:20px}.main-nav.open{display:flex}
  .hero-grid,.split,.pricing-grid,.checkout-grid,.analytics-grid{grid-template-columns:1fr}
  .feature-grid,.asset-grid,.compat-grid,.portal-grid,.support-grid,.showcase-grid,.problem-grid{grid-template-columns:1fr}
  .floating-card{position:static;margin-top:18px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:10px}
}

.ack-card{
  margin:24px 0;
  padding:20px;
  border:1px solid rgba(215,166,47,.34);
  border-radius:18px;
  background:rgba(215,166,47,.055);
}
.ack-card h3{
  margin-bottom:14px;
}
.ack-card label{
  display:block;
  margin:12px 0;
  color:#e8dfcf;
  font-size:.96rem;
}
.ack-card input{
  transform:translateY(2px);
  margin-right:10px;
  accent-color:#d7a62f;
}
.disabled-link{
  opacity:.45;
  pointer-events:none;
  filter:grayscale(.35);
}
.soft-line{
  border:0;
  border-top:1px solid rgba(255,255,255,.12);
  margin:18px 0;
}

/* --- v4 sales site polish: interactive motion, no external libraries --- */
.hero:before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at var(--mx,70%) var(--my,25%), rgba(215,166,47,.20), transparent 18%),
    radial-gradient(circle at 18% 82%, rgba(39,232,137,.08), transparent 20%);
  pointer-events:none;
  transition:background .18s ease;
  animation: heroGlow 9s ease-in-out infinite alternate;
}
@keyframes heroGlow{
  from{opacity:.70;transform:translate3d(-1%,0,0) scale(1)}
  to{opacity:1;transform:translate3d(1%,0,0) scale(1.02)}
}
.hero-copy,.hero-visual{animation:heroRise .75s ease both}
.hero-visual{animation-delay:.12s}
@keyframes heroRise{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:translateY(0)}
}
.terminal-card{
  animation:terminalFloat 6s ease-in-out infinite;
  transform-style:preserve-3d;
  will-change:transform;
}
@keyframes terminalFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
.floating-card{
  animation:pricePulse 4.8s ease-in-out infinite;
}
@keyframes pricePulse{
  0%,100%{box-shadow:0 14px 45px rgba(215,166,47,.20)}
  50%{box-shadow:0 18px 62px rgba(215,166,47,.36)}
}
.btn-primary{
  position:relative;
  overflow:hidden;
}
.btn-primary:before{
  content:"";
  position:absolute;
  inset:0 auto 0 -80%;
  width:55%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);
  transform:skewX(-18deg);
  animation:buttonSweep 4.2s ease-in-out infinite;
}
@keyframes buttonSweep{
  0%,55%{left:-80%}
  78%,100%{left:130%}
}
.feature-grid article,.problem-grid div,.asset-grid div,.compat-grid div,.portal-card,.legal-card,.checkout-card,.order-summary,.metric-panel,.pricing-card,.showcase-grid figure{
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;
}
.feature-grid article:hover,.problem-grid div:hover,.asset-grid div:hover,.compat-grid div:hover,.portal-card:hover,.legal-card:hover,.checkout-card:hover,.order-summary:hover,.metric-panel:hover,.pricing-card:hover,.showcase-grid figure:hover{
  transform:translateY(-4px);
  border-color:rgba(241,211,122,.55);
  box-shadow:0 18px 55px rgba(0,0,0,.34),0 0 0 1px rgba(215,166,47,.10);
}
[data-reveal]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .65s ease,transform .65s ease;
}
[data-reveal].is-visible{
  opacity:1;
  transform:translateY(0);
}
.bar-row b{
  transform-origin:left center;
  transform:scaleX(.05);
  transition:transform .9s cubic-bezier(.2,.8,.2,1);
}
.is-visible .bar-row b,.metric-panel.is-visible .bar-row b{
  transform:scaleX(1);
}
.step-line span{
  position:relative;
  overflow:hidden;
}
.step-line span:after{
  content:"";
  position:absolute;
  inset:0 auto 0 -60%;
  width:40%;
  background:linear-gradient(90deg,transparent,rgba(241,211,122,.18),transparent);
  animation:miniSweep 3.5s ease-in-out infinite;
}
@keyframes miniSweep{
  0%,40%{left:-60%}
  70%,100%{left:120%}
}
.site-header{
  box-shadow:0 8px 40px rgba(0,0,0,.22);
}
.warning-ribbon{
  position:relative;
  overflow:hidden;
}
.warning-ribbon:after{
  content:"";
  position:absolute;
  inset:0 auto 0 -20%;
  width:18%;
  background:linear-gradient(90deg,transparent,rgba(255,157,30,.18),transparent);
  animation:warningSweep 5s linear infinite;
}
@keyframes warningSweep{
  to{left:120%}
}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  [data-reveal]{opacity:1;transform:none}
  .bar-row b{transform:none}
}

/* --- v5 visible premium motion system, local only, no external dependencies --- */
.hero{min-height:calc(100vh - 82px);display:flex;align-items:center}
.hero-market-canvas{position:absolute;inset:0;z-index:0;width:100%;height:100%;opacity:.34;mix-blend-mode:screen;pointer-events:none}
.hero-bg{z-index:0}.hero-grid{z-index:2}.hero:before{z-index:1}
.terminal-card{transform:translateY(0)!important;animation:terminalFloatNoTilt 6s ease-in-out infinite!important;box-shadow:0 24px 70px rgba(0,0,0,.62),0 0 42px rgba(215,166,47,.10)}
@keyframes terminalFloatNoTilt{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.terminal-card:after{content:"";position:absolute;inset:14px;border-radius:14px;background:linear-gradient(180deg,transparent,rgba(241,211,122,.05),transparent);opacity:.65;pointer-events:none;animation:scanGlow 4.5s ease-in-out infinite}
@keyframes scanGlow{0%,100%{opacity:.16}50%{opacity:.60}}
.market-ticker{overflow:hidden;border-block:1px solid rgba(215,166,47,.28);background:linear-gradient(90deg,#070707,#17120a,#070707);box-shadow:inset 0 0 28px rgba(215,166,47,.08)}
.ticker-track{display:flex;align-items:center;gap:28px;white-space:nowrap;width:max-content;padding:12px 0;animation:tickerMove 28s linear infinite;color:var(--muted);font-size:.88rem;letter-spacing:.08em;text-transform:uppercase}
.ticker-track span{padding-left:28px}.ticker-track b{color:#0a0a0a;background:linear-gradient(135deg,var(--gold2),var(--gold));border-radius:999px;padding:5px 10px;box-shadow:0 0 22px rgba(215,166,47,.18)}
@keyframes tickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.hero h1{text-shadow:0 2px 0 rgba(0,0,0,.55),0 0 38px rgba(215,166,47,.14)}
.terminal-card img{transform:none!important}.btn-primary{box-shadow:0 14px 42px rgba(215,166,47,.26),0 0 0 1px rgba(255,255,255,.05) inset}
.feature-grid article{position:relative;overflow:hidden}.feature-grid article:before{content:"";position:absolute;inset:-60% auto auto -35%;width:120px;height:220px;background:linear-gradient(90deg,transparent,rgba(241,211,122,.10),transparent);transform:rotate(22deg);transition:.45s ease}.feature-grid article:hover:before{left:105%}
@media (max-width:900px){.hero{min-height:auto}}

/* --- v6 parallax and product showcase polish --- */
.hero{min-height:calc(100vh - 78px)}
.hero-bg{transform:translate3d(var(--bgx,0px),var(--bgy,0px),0) scale(1.05);transition:transform .18s ease-out;filter:saturate(1.02) brightness(.9)}
.hero-grid{grid-template-columns:1fr 1fr;gap:44px}
.hero-copy{position:relative;z-index:3}
.hero-visual{position:relative;z-index:3;min-height:650px;display:flex;align-items:center;justify-content:center}
.hero-stack{position:relative;width:min(680px,100%);min-height:650px}
.flat-card{transform:none!important;animation:terminalFloatFlat 6.5s ease-in-out infinite!important}
@keyframes terminalFloatFlat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.software-card{position:absolute;left:0;top:20px;width:72%;padding:14px 14px 18px;background:linear-gradient(180deg,rgba(16,16,16,.96),rgba(4,4,4,.98));backdrop-filter:blur(10px);box-shadow:0 26px 80px rgba(0,0,0,.62),0 0 0 1px rgba(215,166,47,.12)}
.software-card img{border-radius:14px;background:#080808;box-shadow:0 6px 24px rgba(0,0,0,.45)}
.software-card figcaption{margin-top:12px;color:var(--muted);font-size:.88rem}
.macro-float{position:absolute;background:linear-gradient(180deg,rgba(12,12,12,.95),rgba(5,5,5,.98));border:1px solid rgba(215,166,47,.22);border-radius:24px;padding:12px;box-shadow:0 22px 60px rgba(0,0,0,.55);overflow:hidden}
.macro-float img{border-radius:16px;display:block;width:100%;height:auto}
.macro-float figcaption{margin-top:10px;color:var(--muted);font-size:.84rem;line-height:1.5}
.macro-float-primary{right:0;top:0;width:50%;animation:floatAlt 7s ease-in-out infinite}
.macro-float-secondary{right:4%;bottom:0;width:54%;animation:floatAlt2 8.6s ease-in-out infinite}
@keyframes floatAlt{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes floatAlt2{0%,100%{transform:translateY(0)}50%{transform:translateY(10px)}}
.hardware-showcase{background:radial-gradient(circle at 20% 20%,rgba(215,166,47,.12),transparent 28%),#060606}
.hardware-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.hardware-card{margin:0;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.018));border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:0 14px 42px rgba(0,0,0,.24);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.hardware-card:hover{transform:translateY(-6px);border-color:rgba(241,211,122,.56);box-shadow:0 20px 60px rgba(0,0,0,.38)}
.hardware-card img{border-radius:18px;aspect-ratio:4/3;object-fit:cover;width:100%;background:#0a0a0a}
.hardware-card figcaption{display:flex;flex-direction:column;gap:6px;margin-top:14px}
.hardware-card strong{color:var(--gold2);font-size:1.08rem}
.hardware-card span{color:var(--muted)}
.hardware-note{text-align:center;margin-top:18px}
.btn-primary{box-shadow:0 14px 42px rgba(215,166,47,.26),0 0 26px rgba(215,166,47,.18)}
.pricing-card,.metric-panel,.hardware-card,.software-card,.macro-float{position:relative}
.pricing-card:after,.hardware-card:after,.software-card:after,.macro-float:after{
 content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(241,211,122,.26),transparent,rgba(241,211,122,.12));
 -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;
}
@media (max-width:1100px){
  .hero-visual{min-height:740px}
  .hero-stack{min-height:740px}
  .software-card{width:78%}
  .macro-float-primary{width:58%}
  .macro-float-secondary{width:62%}
}
@media (max-width:900px){
  .hero{min-height:auto}
  .hero-visual{min-height:auto;padding-top:10px}
  .hero-stack{display:grid;min-height:auto;gap:18px}
  .software-card,.macro-float,.macro-float-primary,.macro-float-secondary{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:100%;animation:none}
  .hardware-grid{grid-template-columns:1fr}
}

/* --- v7 Gumroad carousel update with supplied non-tilted marketing images --- */
.hero-sales{padding:52px 0 58px;min-height:auto;}
.hero-sales-grid{position:relative;z-index:3;display:grid;grid-template-columns:.86fr 1.14fr;gap:34px;align-items:center;}
.hero-carousel-wrap{min-width:0;}
.sales-carousel{position:relative;border:1px solid rgba(241,211,122,.34);border-radius:22px;overflow:hidden;background:#050505;box-shadow:0 28px 80px rgba(0,0,0,.58),0 0 0 1px rgba(215,166,47,.12);}
.carousel-track{position:relative;aspect-ratio:16/9;background:#050505;}
.carousel-slide{position:absolute;inset:0;margin:0;opacity:0;transform:scale(1.015);transition:opacity .55s ease,transform .75s ease;}
.carousel-slide.is-active{opacity:1;transform:scale(1);z-index:2;}
.carousel-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.carousel-arrow{position:absolute;top:50%;z-index:5;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:1px solid rgba(241,211,122,.55);background:rgba(0,0,0,.58);color:var(--gold2);font-size:2rem;line-height:1;cursor:pointer;display:grid;place-items:center;transition:.2s ease;}
.carousel-arrow:hover{background:rgba(215,166,47,.22);transform:translateY(-50%) scale(1.04);}
.carousel-prev{left:14px}.carousel-next{right:14px}
.carousel-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px;z-index:6;}
.carousel-dots button{width:10px;height:10px;border-radius:999px;border:1px solid rgba(241,211,122,.75);background:rgba(0,0,0,.48);padding:0;cursor:pointer;transition:.2s ease;}
.carousel-dots button.is-active{width:34px;background:linear-gradient(135deg,var(--gold2),var(--gold));}
.carousel-note{text-align:center;margin:12px 0 0;color:#c9c0ad;}
.marketing-showcase{background:radial-gradient(circle at 80% 10%,rgba(215,166,47,.10),transparent 35%),linear-gradient(180deg,#090909,#050505);}
.marketing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;}
.marketing-grid figure{margin:0;border:1px solid rgba(215,166,47,.28);border-radius:22px;overflow:hidden;background:#070707;box-shadow:0 14px 42px rgba(0,0,0,.32);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;}
.marketing-grid figure:first-child{grid-column:1/-1;}
.marketing-grid figure:hover{transform:translateY(-5px);border-color:rgba(241,211,122,.56);box-shadow:0 22px 65px rgba(0,0,0,.45);}
.marketing-grid img{width:100%;aspect-ratio:16/9;object-fit:cover;}
.marketing-grid figcaption{padding:14px 16px;color:var(--gold2);font-weight:700;}
@media(max-width:1050px){.hero-sales-grid{grid-template-columns:1fr}.hero-carousel-wrap{order:-1}.hero-copy{max-width:850px}.marketing-grid{grid-template-columns:1fr}.marketing-grid figure:first-child{grid-column:auto}}
@media(max-width:600px){.carousel-arrow{width:36px;height:36px;font-size:1.55rem}.hero-sales{padding-top:28px}.hero-actions .btn{width:100%}}

/* V14 article categories + breadcrumbs */
.breadcrumbs{
  position:relative;
  z-index:3;
  background:rgba(5,5,5,.92);
  border-bottom:1px solid var(--line);
  padding:10px 0;
  font-size:.84rem;
  color:var(--muted);
}
.breadcrumbs .container{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.breadcrumbs a{color:var(--gold2)}
.breadcrumbs span{color:var(--muted)}
.article-category-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.article-category-nav a{
  border:1px solid var(--line);
  color:var(--gold2);
  background:rgba(215,166,47,.06);
  border-radius:999px;
  padding:10px 14px;
  font-size:.88rem;
}
.article-category-nav a:hover{background:rgba(215,166,47,.12)}
.article-series-nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.article-series-nav a{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 14px;
  color:var(--gold2);
  background:rgba(255,255,255,.04);
}
.article-series-nav a:hover{background:rgba(215,166,47,.09)}
.article-meta{
  color:var(--muted);
  font-size:.92rem;
  margin:12px 0 0;
}
.category-label{
  display:inline-flex;
  color:var(--gold2);
  border:1px solid var(--line);
  border-radius:999px;
  padding:5px 10px;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.article-body p{max-width:860px}

/* V15 verified article dropdown menu */
.nav-dropdown{position:relative}
.nav-dropdown-toggle{background:transparent;border:0;color:var(--muted);font:inherit;font-size:.92rem;cursor:pointer;padding:0}
.nav-dropdown-toggle:hover,.nav-dropdown.open .nav-dropdown-toggle{color:var(--gold2)}
.nav-dropdown-panel{position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);min-width:285px;background:rgba(5,5,5,.98);border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 55px rgba(0,0,0,.55);padding:10px;display:none;z-index:99}
.nav-dropdown.open .nav-dropdown-panel,.nav-dropdown:hover .nav-dropdown-panel{display:grid;gap:6px}
.nav-dropdown-panel a{display:block;padding:11px 12px;border-radius:10px;color:var(--muted);white-space:nowrap}
.nav-dropdown-panel a:hover{color:var(--gold2);background:rgba(215,166,47,.10)}
@media(max-width:860px){.nav-dropdown{width:100%}.nav-dropdown-toggle{width:100%;text-align:left;padding:10px 0}.nav-dropdown-panel{position:static;transform:none;min-width:0;width:100%;box-shadow:none;margin-top:8px}}
.breadcrumbs{position:relative;z-index:3;background:rgba(5,5,5,.92);border-bottom:1px solid var(--line);padding:10px 0;font-size:.84rem;color:var(--muted)}
.breadcrumbs .container{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.breadcrumbs a{color:var(--gold2)}
.breadcrumbs span{color:var(--muted)}
.article-category-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.article-category-nav a{border:1px solid var(--line);color:var(--gold2);background:rgba(215,166,47,.06);border-radius:999px;padding:10px 14px;font-size:.88rem}
.article-category-nav a:hover{background:rgba(215,166,47,.12)}
.article-series-nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.article-series-nav a{border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:var(--gold2);background:rgba(255,255,255,.04)}
.article-series-nav a:hover{background:rgba(215,166,47,.09)}
.category-label{display:inline-flex;color:var(--gold2);border:1px solid var(--line);border-radius:999px;padding:5px 10px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px}

/* V16 verified article menu + compact article pages */
.main-nav{overflow:visible}
.site-header{overflow:visible}
.nav-dropdown{position:relative}
.nav-dropdown-toggle{
  background:transparent;
  border:0;
  color:var(--muted);
  font:inherit;
  font-size:.92rem;
  cursor:pointer;
  padding:0;
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.nav-dropdown-toggle:hover,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle{color:var(--gold2)}
.nav-dropdown-panel{
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  transform:translateX(-50%);
  min-width:310px;
  background:rgba(5,5,5,.98);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 20px 55px rgba(0,0,0,.55);
  padding:10px;
  display:none;
  z-index:999;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.open .nav-dropdown-panel{display:grid;gap:6px}
.nav-dropdown-panel a{
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:var(--muted);
  white-space:nowrap;
}
.nav-dropdown-panel a:hover{
  color:var(--gold2);
  background:rgba(215,166,47,.10);
}
@media(max-width:860px){
  .nav-dropdown{width:100%}
  .nav-dropdown-toggle{width:100%;text-align:left;padding:10px 0}
  .nav-dropdown-panel{
    position:static;
    transform:none;
    min-width:0;
    width:100%;
    box-shadow:none;
    margin-top:8px;
  }
}
.compact-article-hero{
  padding:64px 0 42px;
  border-bottom:1px solid var(--line);
  background:
    linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.86),rgba(0,0,0,.74)),
    url('/assets/img/cover-background.png') center/cover no-repeat;
}
.compact-article-hero h1{max-width:860px;margin:0}
.compact-article-hero .lead{max-width:850px}
.article-hub-layout{
  display:grid;
  grid-template-columns:minmax(220px,300px) 1fr;
  gap:28px;
  align-items:start;
}
.article-side-menu{
  position:sticky;
  top:92px;
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
  background:rgba(255,255,255,.035);
}
.article-side-menu a{
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:var(--muted);
}
.article-side-menu a:hover{background:rgba(215,166,47,.10);color:var(--gold2)}
.article-category-block{
  margin-bottom:36px;
  padding-bottom:26px;
  border-bottom:1px solid var(--line);
}
.article-category-block:last-child{border-bottom:0}
.article-list-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.article-list-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));
}
.article-list-card h3{font-size:1.02rem;margin:0 0 8px}
.article-list-card p{font-size:.93rem;color:var(--muted);margin:0}
.breadcrumbs{
  position:relative;
  z-index:3;
  background:rgba(5,5,5,.92);
  border-bottom:1px solid var(--line);
  padding:10px 0;
  font-size:.84rem;
  color:var(--muted);
}
.breadcrumbs .container{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.breadcrumbs a{color:var(--gold2)}
.breadcrumbs span{color:var(--muted)}
.article-category-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.article-category-nav a{
  border:1px solid var(--line);
  color:var(--gold2);
  background:rgba(215,166,47,.06);
  border-radius:999px;
  padding:10px 14px;
  font-size:.88rem;
}
.article-category-nav a:hover{background:rgba(215,166,47,.12)}
.article-series-nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.article-series-nav a{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 14px;
  color:var(--gold2);
  background:rgba(255,255,255,.04);
}
.article-series-nav a:hover{background:rgba(215,166,47,.09)}
@media(max-width:900px){
  .article-hub-layout{grid-template-columns:1fr}
  .article-side-menu{position:static}
  .article-list-grid{grid-template-columns:1fr}
}

/* V17 native Articles dropdown - no JavaScript required */
.main-nav details.nav-dropdown{position:relative}
.main-nav details.nav-dropdown summary{
  list-style:none;
  cursor:pointer;
  color:var(--muted);
  font-size:.92rem;
  user-select:none;
}
.main-nav details.nav-dropdown summary::-webkit-details-marker{display:none}
.main-nav details.nav-dropdown summary:hover,
.main-nav details.nav-dropdown[open] summary{color:var(--gold2)}
.main-nav details.nav-dropdown .nav-dropdown-panel{
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  transform:translateX(-50%);
  min-width:295px;
  background:rgba(5,5,5,.99);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 22px 60px rgba(0,0,0,.65);
  padding:10px;
  display:grid;
  gap:6px;
  z-index:9999;
}
.main-nav details.nav-dropdown .nav-dropdown-panel a{
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:var(--muted);
  white-space:nowrap;
}
.main-nav details.nav-dropdown .nav-dropdown-panel a:hover{
  color:var(--gold2);
  background:rgba(215,166,47,.12);
}
@media(max-width:860px){
  .main-nav details.nav-dropdown{width:100%}
  .main-nav details.nav-dropdown summary{width:100%;padding:10px 0}
  .main-nav details.nav-dropdown .nav-dropdown-panel{
    position:static;
    transform:none;
    min-width:0;
    width:100%;
    margin-top:8px;
    box-shadow:none;
  }
}
/* V17 clean command-center cards */
.showcase-grid img{
  width:100%;
  max-height:330px;
  object-fit:contain;
  border-radius:14px;
}

/* V18: feature/articles dropdowns, larger readable command-center screenshots, consistent footer */
.main-nav details.nav-dropdown{position:relative}
.main-nav details.nav-dropdown summary{
  list-style:none;
  cursor:pointer;
  color:var(--muted);
  font-size:.92rem;
  user-select:none;
}
.main-nav details.nav-dropdown summary::-webkit-details-marker{display:none}
.main-nav details.nav-dropdown summary:hover,
.main-nav details.nav-dropdown[open] summary{color:var(--gold2)}
.main-nav details.nav-dropdown .nav-dropdown-panel{
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  transform:translateX(-50%);
  min-width:320px;
  max-width:min(420px,92vw);
  background:rgba(5,5,5,.99);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 22px 60px rgba(0,0,0,.65);
  padding:10px;
  display:grid;
  gap:6px;
  z-index:9999;
}
.main-nav details.nav-dropdown .nav-dropdown-panel a{
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:var(--muted);
  white-space:nowrap;
}
.main-nav details.nav-dropdown .nav-dropdown-panel a:hover{
  color:var(--gold2);
  background:rgba(215,166,47,.12);
}
.command-tabs-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:30px;
}
.command-tabs-grid figure{
  display:grid;
  grid-template-columns:minmax(520px,1.35fr) minmax(260px,.65fr);
  gap:26px;
  align-items:center;
  padding:24px;
}
.command-tabs-grid img{
  width:100%;
  max-height:none!important;
  object-fit:contain;
  border-radius:16px;
  background:#050505;
  box-shadow:0 20px 55px rgba(0,0,0,.45);
}
.command-tabs-grid figcaption{
  font-size:1.06rem;
  line-height:1.65;
  margin-top:0;
}
.footer-grid.footer-grid-v18{
  grid-template-columns:1.25fr repeat(4,minmax(145px,1fr));
  gap:28px;
}
.footer-grid.footer-grid-v18 a{display:block;margin:10px 0}
.breadcrumbs{
  position:relative;
  z-index:3;
  background:rgba(5,5,5,.92);
  border-bottom:1px solid var(--line);
  padding:10px 0;
  font-size:.84rem;
  color:var(--muted);
}
.breadcrumbs .container{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.breadcrumbs a{color:var(--gold2)}
.breadcrumbs span{color:var(--muted)}
.article-category-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.article-category-nav a{border:1px solid var(--line);color:var(--gold2);background:rgba(215,166,47,.06);border-radius:999px;padding:10px 14px;font-size:.88rem}
.article-category-nav a:hover{background:rgba(215,166,47,.12)}
.article-card-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.article-card-list article{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 12px 40px rgba(0,0,0,.22)}
.article-card-list article h3 a{color:var(--gold2)}
.article-body p{max-width:920px}
.article-body .content-block{margin:0 0 34px}
.article-body .content-block h2{font-size:clamp(1.45rem,2.4vw,2.35rem)}
.article-points{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}
.article-points span{border:1px solid var(--line);border-radius:14px;padding:12px;color:var(--gold2);background:rgba(215,166,47,.06);text-align:center}
@media(max-width:1040px){
  .command-tabs-grid figure{grid-template-columns:1fr}
  .footer-grid.footer-grid-v18{grid-template-columns:1fr 1fr}
}
@media(max-width:860px){
  .main-nav details.nav-dropdown{width:100%}
  .main-nav details.nav-dropdown summary{width:100%;padding:10px 0}
  .main-nav details.nav-dropdown .nav-dropdown-panel{
    position:static;
    transform:none;
    min-width:0;
    width:100%;
    margin-top:8px;
    box-shadow:none;
  }
  .article-card-list{grid-template-columns:1fr}
  .article-points{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .footer-grid.footer-grid-v18{grid-template-columns:1fr}
  .article-points{grid-template-columns:1fr}
}

/* V19 REAL FIXES: stable dropdowns, readable screenshots, global footer/menu consistency */
.main-nav details.nav-dropdown{display:none!important}
.main-nav .nav-dropdown{position:relative;display:inline-flex;align-items:center}
.main-nav .nav-dropdown-button{
  appearance:none;background:transparent;border:0;color:var(--muted);font:inherit;font-size:.92rem;cursor:pointer;padding:0;line-height:1.4
}
.main-nav .nav-dropdown-button:hover,
.main-nav .nav-dropdown.open .nav-dropdown-button{color:var(--gold2)}
.main-nav .nav-dropdown-panel{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);min-width:330px;max-width:min(460px,92vw);
  background:rgba(5,5,5,.99);border:1px solid var(--line);border-radius:16px;box-shadow:0 22px 60px rgba(0,0,0,.68);
  padding:10px;display:none;gap:6px;z-index:10000
}
.main-nav .nav-dropdown.open .nav-dropdown-panel{display:grid}
.main-nav .nav-dropdown-panel a{display:block;padding:11px 12px;border-radius:10px;color:var(--muted);white-space:nowrap}
.main-nav .nav-dropdown-panel a:hover{color:var(--gold2);background:rgba(215,166,47,.12)}

.command-tabs-grid{display:grid!important;grid-template-columns:1fr!important;gap:36px!important;max-width:1220px;margin:0 auto}
.command-tabs-grid figure{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;align-items:start!important;padding:28px!important;margin:0 auto!important;max-width:1180px!important;width:100%!important}
.command-tabs-grid figure a.screenshot-link{display:block;width:100%}
.command-tabs-grid img{display:block;width:100%!important;max-width:1100px!important;max-height:none!important;margin:0 auto!important;object-fit:contain!important;border-radius:18px!important;background:#050505!important;box-shadow:0 22px 58px rgba(0,0,0,.55)!important}
.command-tabs-grid figcaption{font-size:1.08rem!important;line-height:1.65!important;margin:0 auto!important;max-width:960px!important;color:var(--muted)!important}
.command-tabs-grid figcaption strong{color:var(--gold2)}

.footer-grid.footer-grid-v19{display:grid;grid-template-columns:1.25fr repeat(4,minmax(145px,1fr));gap:28px}
.footer-grid.footer-grid-v19 a{display:block;margin:10px 0}
.article-category-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.article-category-nav a{border:1px solid var(--line);color:var(--gold2);background:rgba(215,166,47,.06);border-radius:999px;padding:10px 14px;font-size:.88rem}
.article-category-nav a:hover{background:rgba(215,166,47,.12)}
.same-category-links{margin-top:24px}
.same-category-links .article-card-list{margin-top:20px}
@media(max-width:1040px){.footer-grid.footer-grid-v19{grid-template-columns:1fr 1fr}.command-tabs-grid figure{padding:22px!important}}
@media(max-width:860px){
  .main-nav .nav-dropdown{width:100%;display:block}
  .main-nav .nav-dropdown-button{width:100%;text-align:left;padding:10px 0}
  .main-nav .nav-dropdown-panel{position:static;transform:none;min-width:0;width:100%;box-shadow:none;margin-top:8px}
}
@media(max-width:620px){.footer-grid.footer-grid-v19{grid-template-columns:1fr}}

/* V20 ACTUAL FIXES: robust dropdowns, readable command screenshots, consistent footer */
.site-header{z-index:1000}
.main-nav{align-items:center}
.main-nav .nav-dropdown{position:relative;display:flex;align-items:center}
.main-nav .nav-dropdown-button{
  appearance:none;
  background:transparent;
  border:0;
  color:var(--muted);
  font:inherit;
  font-size:.92rem;
  cursor:pointer;
  padding:10px 0;
  line-height:1;
}
.main-nav .nav-dropdown-button:hover,
.main-nav .nav-dropdown:hover .nav-dropdown-button,
.main-nav .nav-dropdown.force-open .nav-dropdown-button{color:var(--gold2)}
.main-nav .nav-dropdown-panel{
  position:absolute!important;
  top:calc(100% + 10px)!important;
  left:50%!important;
  transform:translateX(-50%) translateY(4px)!important;
  min-width:315px!important;
  width:max-content!important;
  max-width:min(420px,92vw)!important;
  display:none!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
  padding:12px!important;
  z-index:99999!important;
  background:rgba(2,2,2,.99)!important;
  border:1px solid rgba(215,166,47,.45)!important;
  border-radius:18px!important;
  box-shadow:0 28px 80px rgba(0,0,0,.78)!important;
  pointer-events:auto!important;
}
.main-nav .nav-dropdown:hover .nav-dropdown-panel,
.main-nav .nav-dropdown:focus-within .nav-dropdown-panel,
.main-nav .nav-dropdown.force-open .nav-dropdown-panel{display:grid!important}
.main-nav .nav-dropdown-panel a{
  display:block!important;
  padding:12px 14px!important;
  border-radius:12px!important;
  color:var(--muted)!important;
  white-space:nowrap!important;
}
.main-nav .nav-dropdown-panel a:hover{
  color:var(--gold2)!important;
  background:rgba(215,166,47,.12)!important;
}
.command-tabs-grid,
.command-readable-stack{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:44px!important;
  max-width:1280px!important;
  margin:0 auto!important;
}
.command-tabs-grid figure,
.command-readable-stack figure{
  display:block!important;
  width:100%!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:26px!important;
  border:1px solid rgba(215,166,47,.28)!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01))!important;
}
.command-tabs-grid figure a.screenshot-link,
.command-readable-stack figure a.screenshot-link{
  display:block!important;
  width:100%!important;
}
.command-tabs-grid img,
.command-readable-stack img{
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:18px!important;
  background:#050505!important;
  box-shadow:0 24px 70px rgba(0,0,0,.62)!important;
}
.command-tabs-grid figcaption,
.command-readable-stack figcaption{
  max-width:1000px!important;
  margin:18px auto 0!important;
  font-size:1.08rem!important;
  line-height:1.7!important;
  color:var(--muted)!important;
}
.command-tabs-grid figcaption strong,
.command-readable-stack figcaption strong{color:var(--gold2)!important}
.footer-grid.footer-grid-v20{
  display:grid!important;
  grid-template-columns:1.25fr repeat(4,minmax(150px,1fr))!important;
  gap:30px!important;
}
.footer-grid.footer-grid-v20 a{display:block;margin:10px 0}
@media(max-width:1040px){
  .footer-grid.footer-grid-v20{grid-template-columns:1fr 1fr!important}
}
@media(max-width:860px){
  .main-nav .nav-dropdown{width:100%;display:block}
  .main-nav .nav-dropdown-button{width:100%;text-align:left;padding:10px 0}
  .main-nav .nav-dropdown-panel{position:static!important;transform:none!important;min-width:0!important;width:100%!important;box-shadow:none!important;margin:8px 0 4px!important}
  .footer-grid.footer-grid-v20{grid-template-columns:1fr!important}
}

/* === CIQ SHELL A2 CORRECT MENU FOOTER START === */

.footer.footer-a2 {
  padding: 0 clamp(22px, 3vw, 44px);
  background:
    radial-gradient(circle at top left, rgba(215,166,47,.07), transparent 30rem),
    #030303;
  border-top: 1px solid rgba(215,166,47,.22);
}

.footer-a2-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 4vw, 48px) 0 30px;
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(140px,.58fr) minmax(185px,.78fr) minmax(205px,.86fr) minmax(155px,.64fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}

.footer-a2-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  text-decoration: none;
}

.footer-a2-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-a2-logo span {
  display: grid;
  gap: 2px;
}

.footer-a2-logo strong {
  color: var(--gold2);
  font-family: Georgia, serif;
  letter-spacing: .06em;
  line-height: 1;
}

.footer-a2-logo em {
  color: var(--muted);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-a2-brand p {
  max-width: 34rem;
  margin: 0;
  color: rgba(236,231,218,.70);
  line-height: 1.58;
  font-size: .92rem;
}

.footer-a2-col h4 {
  margin: 0 0 13px;
  color: var(--gold2);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-a2-col a {
  display: block;
  margin: 0 0 9px;
  color: rgba(236,231,218,.68);
  text-decoration: none;
  line-height: 1.32;
}

.footer-a2-col a:hover,
.footer-a2-col a:focus-visible {
  color: var(--gold2);
  outline: none;
}

.footer-a2-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(236,231,218,.56);
  font-size: .8rem;
  line-height: 1.45;
}

.footer-a2-bottom p {
  margin: 0;
}

.footer-a2-bottom p:last-child {
  text-align: right;
}

@media(max-width: 1100px) {
  .footer-a2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-a2-brand {
    grid-column: 1 / -1;
  }

  .footer-a2-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer-a2-bottom p:last-child {
    text-align: left;
  }
}

@media(max-width: 680px) {
  .footer.footer-a2 {
    padding-inline: 20px;
  }

  .footer-a2-grid {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }
}

/* === CIQ SHELL A2 CORRECT MENU FOOTER END === */

/* === CIQ HOMEPAGE FINAL DIRECT REPLACEMENT START === */

/*
  Homepage final direct replacement.
  Intent:
  - Original sales hero stays first.
  - Product carousel sits directly below hero with no extra showcase heading.
  - Carousel images display fully, not cropped.
  - Visible layered parallax: background image, grid, gold arc, glow, hero card, carousel, and slide move at different depths.
*/

.ciq-b1-hero,
.ciq-b1-showcase {
  --ciq-home-x: 0px;
  --ciq-home-y: 0px;
  --ciq-home-scroll: 0px;
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: #020202;
}

/* Shared moving background layer */
.ciq-b1-bg {
  position: absolute;
  inset: -18%;
  z-index: -7;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  opacity: .34;
  filter: saturate(1.12) contrast(1.15) brightness(.82);
  transform:
    translate3d(calc(var(--ciq-home-x) * -.25), calc(var(--ciq-home-scroll) * -.18), 0)
    scale(1.22);
  animation: ciqBgBreath 16s ease-in-out infinite alternate;
}

@keyframes ciqBgBreath {
  from { filter: saturate(1.02) contrast(1.08) brightness(.76); }
  to { filter: saturate(1.18) contrast(1.18) brightness(.92); }
}

.ciq-b1-hero::before,
.ciq-b1-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -6;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.75) 42%, rgba(0,0,0,.92)),
    radial-gradient(circle at calc(76% + var(--ciq-home-x)) calc(34% + var(--ciq-home-y)), rgba(215,166,47,.28), transparent 32rem),
    radial-gradient(circle at 18% 78%, rgba(39,232,137,.12), transparent 28rem);
}

.ciq-b1-layer {
  position: absolute;
  pointer-events: none;
}

.ciq-b1-layer-grid {
  inset: -22%;
  z-index: -5;
  opacity: .72;
  background-image:
    linear-gradient(rgba(215,166,47,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,166,47,.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 68% 45%, black, transparent 62%);
  transform:
    translate3d(calc(var(--ciq-home-x) * .42), calc(var(--ciq-home-scroll) * .17), 0)
    rotate(-2deg);
  animation: ciqGridDrift 24s linear infinite;
}

@keyframes ciqGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 152px 76px, -76px 152px; }
}

.ciq-b1-layer-arc {
  width: 72rem;
  height: 72rem;
  right: -28rem;
  top: -24rem;
  z-index: -4;
  border: 1px solid rgba(215,166,47,.30);
  border-radius: 999px;
  box-shadow:
    inset 0 0 150px rgba(215,166,47,.10),
    0 0 120px rgba(215,166,47,.16);
  transform:
    translate3d(calc(var(--ciq-home-x) * .62), calc(var(--ciq-home-y) * .38), 0)
    rotate(calc(var(--ciq-home-scroll) * .035deg));
  animation: ciqArcPulse 9s ease-in-out infinite alternate;
}

@keyframes ciqArcPulse {
  from { opacity: .62; }
  to { opacity: 1; }
}

.ciq-b1-layer-glow {
  width: 42rem;
  height: 42rem;
  right: 9%;
  bottom: -18rem;
  z-index: -3;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215,166,47,.30), rgba(215,166,47,.05) 60%, transparent 72%);
  filter: blur(8px);
  transform:
    translate3d(calc(var(--ciq-home-x) * -.35), calc(var(--ciq-home-y) * -.45), 0);
  animation: ciqGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes ciqGlowPulse {
  from { opacity: .55; transform: translate3d(calc(var(--ciq-home-x) * -.35), calc(var(--ciq-home-y) * -.45), 0) scale(.96); }
  to { opacity: .95; transform: translate3d(calc(var(--ciq-home-x) * -.35), calc(var(--ciq-home-y) * -.45), 0) scale(1.05); }
}

/* Original sales hero first */
.ciq-b1-hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(68px, 8vw, 118px) clamp(20px, 4vw, 60px);
  border-bottom: 1px solid rgba(215,166,47,.24);
}

.ciq-b1-hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 390px);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.ciq-b1-hero-copy {
  max-width: 990px;
}

.ciq-b1-eyebrow {
  display: inline-flex;
  color: #f2cf72;
  text-transform: uppercase;
  letter-spacing: .20em;
  font-size: .8rem;
  font-weight: 850;
}

.ciq-b1-hero h1 {
  max-width: 960px;
  margin: 18px 0 20px;
  color: #f8f0df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.35vw, 6.85rem);
  line-height: .91;
  letter-spacing: -.05em;
  text-wrap: balance;
  text-shadow: 0 3px 0 rgba(0,0,0,.35), 0 0 42px rgba(215,166,47,.12);
}

.ciq-b1-hero p {
  max-width: 760px;
  color: rgba(248,240,223,.78);
  font-size: clamp(1rem, 1.16vw, 1.18rem);
  line-height: 1.64;
}

.ciq-b1-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 22px;
}

.ciq-b1-hero-actions .btn.ghost,
.ciq-b1-hero-actions a[href="/products/mt5/traders-keyboard/features/"] {
  display: none !important;
}

.ciq-b1-price-note {
  font-size: .96rem !important;
  color: rgba(248,240,223,.66) !important;
}

.ciq-b1-hero-card {
  border: 1px solid rgba(215,166,47,.34);
  border-radius: 28px;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(215,166,47,.18), transparent 18rem),
    rgba(8,8,8,.82);
  box-shadow:
    0 34px 90px rgba(0,0,0,.56),
    inset 0 0 0 1px rgba(255,255,255,.035);
  transform:
    translate3d(calc(var(--ciq-home-x) * .23), calc(var(--ciq-home-y) * .16), 0);
  transition: transform 80ms linear;
}

.ciq-b1-hero-card strong {
  display: block;
  margin-bottom: 14px;
  color: #f2cf72;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.ciq-b1-hero-card span {
  display: block;
  padding: 11px 0;
  color: rgba(248,240,223,.72);
  border-top: 1px solid rgba(255,255,255,.08);
  line-height: 1.38;
}

/* Full-width product carousel below hero; no extra heading text */
.ciq-b1-showcase {
  min-height: 176vh;
  padding: clamp(34px, 5vw, 64px) clamp(12px, 3vw, 42px) clamp(92px, 12vw, 150px);
  border-bottom: 1px solid rgba(215,166,47,.18);
}

.ciq-b1-showcase-head {
  display: none !important;
}

.ciq-b1-showcase::after {
  content: "";
  position: absolute;
  inset: -26%;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 34%, rgba(215,166,47,.25) 38%, transparent 43% 100%),
    linear-gradient(64deg, transparent 0 58%, rgba(242,207,114,.16) 61%, transparent 66% 100%),
    repeating-linear-gradient(90deg, rgba(215,166,47,.07) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(215,166,47,.05) 0 1px, transparent 1px 82px);
  transform:
    translate3d(calc(var(--ciq-home-x) * -.72), calc(var(--ciq-home-scroll) * .38), 0)
    rotate(calc(var(--ciq-home-scroll) * .018deg));
  opacity: .95;
}

.ciq-b1-showcase .ciq-b1-bg {
  opacity: .40;
  transform:
    translate3d(calc(var(--ciq-home-x) * -.40), calc(var(--ciq-home-scroll) * -.42), 0)
    scale(1.34);
}

.ciq-b1-carousel {
  position: sticky;
  top: 94px;
  z-index: 10;
  width: min(1560px, calc(100vw - 40px));
  margin: 0 auto;
  transform:
    translate3d(calc(var(--ciq-home-x) * .48), calc(var(--ciq-home-y) * .22), 0)
    perspective(1400px)
    rotateX(calc(var(--ciq-home-y) * -.06deg))
    rotateY(calc(var(--ciq-home-x) * .06deg));
  transition: transform 60ms linear;
}

.ciq-b1-carousel::before,
.ciq-b1-carousel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -2;
  border-radius: 999px;
}

.ciq-b1-carousel::before {
  width: 62vw;
  height: 62vw;
  right: -22vw;
  top: -28vw;
  border: 1px solid rgba(215,166,47,.30);
  box-shadow:
    inset 0 0 140px rgba(215,166,47,.11),
    0 0 110px rgba(215,166,47,.14);
  transform:
    translate3d(calc(var(--ciq-home-x) * .85), calc(var(--ciq-home-scroll) * -.22), 0)
    rotate(calc(var(--ciq-home-scroll) * .03deg));
  animation: ciqCarouselArcSpin 15s ease-in-out infinite alternate;
}

@keyframes ciqCarouselArcSpin {
  from { opacity: .62; }
  to { opacity: 1; }
}

.ciq-b1-carousel::after {
  width: 38vw;
  height: 38vw;
  left: -15vw;
  bottom: -16vw;
  background: radial-gradient(circle, rgba(215,166,47,.24), rgba(215,166,47,.04) 60%, transparent 72%);
  filter: blur(8px);
  transform:
    translate3d(calc(var(--ciq-home-x) * -.62), calc(var(--ciq-home-scroll) * .35), 0);
}

.ciq-b1-carousel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: clamp(22px, 2.4vw, 40px);
  border: 1px solid rgba(242,207,114,.44);
  background:
    radial-gradient(circle at 50% 50%, rgba(215,166,47,.16), transparent 34rem),
    linear-gradient(135deg, rgba(215,166,47,.10), rgba(0,0,0,.96)),
    #030303;
  box-shadow:
    0 58px 160px rgba(0,0,0,.86),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 100px rgba(215,166,47,.22);
}

.ciq-b1-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #030303;
  opacity: 0;
  transform: scale(.985);
  transition: opacity 520ms ease, transform 900ms ease;
}

.ciq-b1-slide.is-active {
  opacity: 1;
  animation: ciqActiveSlideMotion 7s ease both;
}

@keyframes ciqActiveSlideMotion {
  0% {
    transform: scale(.965) translate3d(calc(var(--ciq-home-x) * -.05), calc(var(--ciq-home-y) * -.035), 0);
  }
  50% {
    transform: scale(1.018) translate3d(calc(var(--ciq-home-x) * .055), calc(var(--ciq-home-y) * .045), 0);
  }
  100% {
    transform: scale(1.005) translate3d(calc(var(--ciq-home-x) * .035), calc(var(--ciq-home-y) * .025), 0);
  }
}

.ciq-b1-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(242,207,114,.70);
  background: rgba(3,3,3,.82);
  color: #f2cf72;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0,0,0,.56);
}

.ciq-b1-carousel-btn:hover {
  background: rgba(215,166,47,.20);
}

.ciq-b1-prev { left: 22px; }
.ciq-b1-next { right: 22px; }

.ciq-b1-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 7;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}

.ciq-b1-dots span {
  width: 28px;
  height: 5px;
  border-radius: 99px;
  background: rgba(248,240,223,.34);
}

.ciq-b1-dots span.is-active {
  background: #f2cf72;
}

.ciq-b1-proof {
  padding: clamp(38px, 5vw, 62px) clamp(20px, 4vw, 60px);
  background: linear-gradient(180deg, #050505, #030303);
  border-bottom: 1px solid rgba(215,166,47,.16);
}

.ciq-b1-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ciq-b1-proof article {
  border: 1px solid rgba(215,166,47,.18);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,.035);
}

.ciq-b1-proof span {
  color: #f2cf72;
  font-size: .78rem;
  letter-spacing: .16em;
  font-weight: 850;
}

.ciq-b1-proof h3 {
  margin: 12px 0 8px;
  color: #f8f0df;
}

.ciq-b1-proof p {
  margin: 0;
  color: rgba(248,240,223,.66);
  line-height: 1.5;
}

@media(max-width: 980px) {
  .ciq-b1-hero {
    min-height: auto;
    padding-block: 58px;
  }

  .ciq-b1-hero-inner {
    grid-template-columns: 1fr;
  }

  .ciq-b1-hero-card {
    max-width: 560px;
  }

  .ciq-b1-showcase {
    min-height: auto;
  }

  .ciq-b1-carousel {
    position: relative;
    top: auto;
    width: min(100%, 920px);
    transform: none;
  }

  .ciq-b1-carousel-frame {
    aspect-ratio: 16 / 10;
  }

  .ciq-b1-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width: 620px) {
  .ciq-b1-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.7rem);
  }

  .ciq-b1-carousel-frame {
    aspect-ratio: 1 / 1;
  }

  .ciq-b1-carousel-btn {
    width: 42px;
    height: 42px;
  }

  .ciq-b1-prev { left: 10px; }
  .ciq-b1-next { right: 10px; }

  .ciq-b1-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media(prefers-reduced-motion: reduce) {
  .ciq-b1-bg,
  .ciq-b1-layer,
  .ciq-b1-hero-card,
  .ciq-b1-carousel,
  .ciq-b1-carousel::before,
  .ciq-b1-carousel::after,
  .ciq-b1-slide {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* === CIQ HOMEPAGE FINAL DIRECT REPLACEMENT END === */

/* === CIQ TAXONOMY AND ARTICLE LIBRARY V1 START === */

/* Global taxonomy cleanup and premium article library styles. */
.article-library-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(42px, 6vw, 72px);
  background:
    radial-gradient(circle at 74% 12%, rgba(215,166,47,.16), transparent 34rem),
    linear-gradient(135deg, #070604, #030303 68%);
  border-bottom: 1px solid var(--line);
}

.article-library-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(215,166,47,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,166,47,.045) 1px, transparent 1px);
  background-size: 74px 74px;
  transform: rotate(-2deg);
  opacity: .55;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 62%);
}

.article-library-hero .container {
  position: relative;
  z-index: 2;
}

.article-library-hero h1 {
  max-width: 960px;
  font-size: clamp(2.5rem, 5.5vw, 5.9rem);
  line-height: .94;
}

.article-library-hero .lead {
  max-width: 820px;
  color: rgba(246,240,229,.78);
}

.article-library-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.article-library-nav a {
  border: 1px solid rgba(215,166,47,.32);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--gold2);
  background: rgba(215,166,47,.065);
  font-size: .9rem;
}

.article-library-nav a:hover {
  background: rgba(215,166,47,.14);
}

.article-library-section {
  padding: clamp(54px, 7vw, 86px) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.article-library-section:nth-child(even) {
  background: linear-gradient(180deg, #070707, #050505);
}

.article-category-head {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  margin-bottom: 28px;
}

.article-category-head .eyebrow {
  margin-bottom: 10px;
}

.article-category-head h2 {
  max-width: 680px;
}

.article-category-head p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(215,166,47,.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(215,166,47,.08), transparent 14rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: 0 14px 42px rgba(0,0,0,.24);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241,211,122,.55);
  box-shadow: 0 20px 64px rgba(0,0,0,.38);
}

.article-card small {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 800;
}

.article-card h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.1rem;
}

.article-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.52;
}

.article-card .link-arrow {
  margin-top: auto;
}

.article-library-cta {
  padding: clamp(54px, 7vw, 82px) 0;
  background:
    radial-gradient(circle at 24% 16%, rgba(215,166,47,.13), transparent 30rem),
    linear-gradient(135deg, #090909, #151008);
  text-align: center;
}

.article-library-cta p {
  max-width: 780px;
  margin: 0 auto 24px;
  color: rgba(246,240,229,.72);
}

@media(max-width: 960px) {
  .article-category-head {
    grid-template-columns: 1fr;
  }

  .article-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width: 640px) {
  .article-card-grid {
    grid-template-columns: 1fr;
  }

  .article-library-hero {
    padding-top: 46px;
  }
}

/* === CIQ TAXONOMY AND ARTICLE LIBRARY V1 END === */

/* CIQ Phase 1G legal completion styles */
.legal-layout{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:28px;align-items:start}
.legal-side-menu{position:sticky;top:92px;border:1px solid var(--line);border-radius:20px;padding:16px;background:rgba(255,255,255,.035)}
.legal-side-menu strong{display:block;color:var(--gold2);margin:0 0 10px}
.legal-side-menu a{display:block;padding:10px 11px;border-radius:10px;color:var(--muted);font-size:.94rem}
.legal-side-menu a:hover,.legal-side-menu a[aria-current="page"]{background:rgba(215,166,47,.10);color:var(--gold2)}
.legal-card-long{display:grid;gap:18px}
.legal-topic-card{border-top:1px solid rgba(255,255,255,.09);padding-top:18px}
.legal-topic-card:first-of-type{border-top:0}
.legal-topic-card h2{font-size:clamp(1.25rem,2vw,1.8rem);margin:0 0 10px;color:var(--gold2)}
.legal-topic-card p{margin:0;color:#e8dfcf}
.legal-center-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}
.legal-center-card{display:block;border:1px solid var(--line);border-radius:22px;padding:22px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));box-shadow:0 12px 40px rgba(0,0,0,.22)}
.legal-center-card h2{font-size:1.15rem;color:var(--gold2);margin:0 0 10px}
.legal-center-card p{margin:0;color:var(--muted);font-size:.95rem}
.legal-wide-notice{margin-bottom:24px}
@media(max-width:980px){.legal-layout{grid-template-columns:1fr}.legal-side-menu{position:static}.legal-center-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.legal-center-grid{grid-template-columns:1fr}}


/* CIQ Phase 1H architecture alignment styles */
.ciq-foundation-hero{background:linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.84),rgba(0,0,0,.72)),url('/assets/img/cover-background.png') center/cover no-repeat}
.ciq-foundation-grid .article-list-card,.ciq-foundation-card{min-height:145px}
.ciq-faq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ciq-faq-grid div h3{color:var(--gold2);margin:0 0 8px}
.ciq-faq-grid div p{margin:0;color:var(--muted)}
@media(max-width:820px){.ciq-faq-grid{grid-template-columns:1fr}}


/* CIQ Phase 1I parent hubs thin repair styles */
.ciq-foundation-grid{align-items:stretch}
.ciq-foundation-grid .article-list-card{min-height:150px}


/* CIQ Phase 1J depth expansion styles */
.ciq-depth-expansion{border-top:1px solid rgba(255,255,255,.08)}
.ciq-depth-expansion h2{color:var(--gold2);margin-bottom:18px}
.ciq-depth-expansion h3{color:var(--gold2);font-size:1.05rem;margin:0 0 8px}
.ciq-depth-expansion p{color:#e8dfcf}
.ciq-depth-expansion .legal-topic-card{margin-top:18px}
.ciq-depth-expansion .notice{margin-top:22px}
.ciq-depth-expansion .check-list{margin-top:10px}


/* CIQ Phase 1K final thin closure styles */
.ciq-final-depth-closure{border-top:1px solid rgba(215,166,47,.16);background:linear-gradient(180deg,rgba(215,166,47,.035),rgba(0,0,0,0))}
.ciq-final-depth-closure h2{color:var(--gold2);margin-bottom:18px}
.ciq-final-depth-closure p{color:#e8dfcf}
.ciq-final-depth-closure .notice{margin-top:22px}


/* CIQ Phase 1L force depth closure styles */
.ciq-force-depth-closure{border-top:1px solid rgba(215,166,47,.18);background:radial-gradient(circle at top left,rgba(215,166,47,.055),transparent 28rem)}
.ciq-force-depth-closure h2{color:var(--gold2);margin-bottom:18px}
.ciq-force-depth-closure p{color:#e8dfcf}
.ciq-force-depth-closure .notice{margin-top:24px}


/* Public polish cleanup */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:fixed;left:16px;top:16px;width:auto;height:auto;z-index:10000;padding:10px 14px;border-radius:999px;background:#0b0b0b;color:#f0c76a;border:1px solid rgba(215,166,47,.55)}
.public-polish-depth{border-top:1px solid rgba(215,166,47,.14);background:linear-gradient(180deg,rgba(215,166,47,.035),rgba(0,0,0,0))}
.public-polish-depth h2{color:var(--gold2);margin-bottom:18px}
.public-polish-depth p{color:#e8dfcf}


/* Final public depth and schema cleanup */
.final-public-depth{border-top:1px solid rgba(215,166,47,.16);background:linear-gradient(180deg,rgba(215,166,47,.035),rgba(0,0,0,0))}
.final-public-depth h2{color:var(--gold2);margin-bottom:18px}
.final-public-depth p{color:#e8dfcf}
.final-public-depth .notice{margin-top:24px}


/* Audit calibrated public depth */
.audit-calibrated-public-depth{border-top:1px solid rgba(215,166,47,.18);background:linear-gradient(180deg,rgba(215,166,47,.04),rgba(0,0,0,0))}
.audit-calibrated-public-depth h2{color:var(--gold2);margin-bottom:22px}
.public-depth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.public-depth-grid section{border:1px solid rgba(215,166,47,.18);border-radius:18px;padding:18px;background:rgba(255,255,255,.025)}
.public-depth-grid h3{color:var(--gold2);font-size:1.05rem;margin:0 0 8px}
.public-depth-grid p{color:#e8dfcf;margin:0}
.audit-calibrated-public-depth .notice{margin-top:22px}
@media(max-width:820px){.public-depth-grid{grid-template-columns:1fr}}


/* Article hub body rebuild */
.ciq-hub-rebuild-hero{background:linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.84),rgba(0,0,0,.70)),url('/assets/img/cover-background.png') center/cover no-repeat}
.ciq-hub-card-list{margin-bottom:28px}
.ciq-hub-body{display:grid;gap:22px}
.article-body-section{border-top:1px solid rgba(255,255,255,.08);padding-top:20px}
.article-body-section:first-child{border-top:0;padding-top:0}
.article-body-section h2{color:var(--gold2);font-size:clamp(1.3rem,2vw,1.9rem);margin:0 0 10px}
.article-body-section p{color:#e8dfcf;margin:0 0 12px}
.article-body-section p:last-child{margin-bottom:0}


/* Phase 2D visual safety safeguards */
html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%;height:auto}
.skip-link{position:absolute;left:-999px;top:8px;z-index:9999;padding:10px 14px;border-radius:10px;background:#d7a62f;color:#070707;font-weight:800}
.skip-link:focus{left:12px}
.ciq-nav-dropdown{position:relative}
.ciq-nav-dropdown-menu{display:none;position:absolute;top:100%;left:0;z-index:1000;min-width:240px;padding:10px;border:1px solid rgba(215,166,47,.22);border-radius:16px;background:rgba(6,6,8,.98);box-shadow:0 20px 50px rgba(0,0,0,.35)}
.ciq-nav-dropdown:hover .ciq-nav-dropdown-menu,.ciq-nav-dropdown:focus-within .ciq-nav-dropdown-menu,.ciq-nav-dropdown[data-open="true"] .ciq-nav-dropdown-menu{display:grid;gap:6px}
@media(max-width:820px){.ciq-nav-dropdown-menu{position:static;box-shadow:none;background:transparent;border:0;padding:6px 0 0}}

/* CIQ Phase 3B v4 product access card cleanup */
.ciq-access-card{
  max-width:760px;
  margin-inline:auto;
  padding:clamp(1.65rem,3vw,2.45rem);
}

.ciq-access-card h3{
  margin:0 0 1.25rem;
  text-align:center;
}

.ciq-access-card .ciq-access-list{
  width:min(100%,560px);
  margin:0 auto 1.2rem;
  padding:0;
  list-style:none;
  display:grid;
  gap:.82rem;
}

.ciq-access-card .ciq-access-list li{
  display:grid;
  grid-template-columns:1.2rem minmax(0,1fr);
  gap:.78rem;
  align-items:start;
  text-align:left;
  line-height:1.6;
}

.ciq-access-card .ciq-access-check{
  width:1.2rem;
  color:#19f28a;
  font-weight:800;
  line-height:1.6;
  text-align:center;
}

.ciq-access-card .muted.small{
  width:min(100%,620px);
  margin:1.15rem auto 0;
  text-align:center;
}

@media(max-width:700px){
  .ciq-access-card{
    padding:1.25rem;
  }

  .ciq-access-card h3,
  .ciq-access-card .muted.small{
    text-align:left;
  }

  .ciq-access-card .ciq-access-list{
    width:100%;
    margin-inline:0;
  }
}
/* CIQ Phase 3B v4 end */


body.ciq-trade-feature-prototype .compact-article-hero{
  padding-block:clamp(3rem,6vw,5rem);
}

body.ciq-trade-feature-prototype .compact-article-hero .container{
  max-width:1040px;
}

body.ciq-trade-feature-prototype .compact-article-hero h1{
  max-width:880px;
  font-size:clamp(2.05rem,4.4vw,4rem);
  line-height:1.02;
  letter-spacing:-.04em;
  text-wrap:balance;
}

body.ciq-trade-feature-prototype .compact-article-hero p,
body.ciq-trade-feature-prototype .compact-article-hero .lead{
  max-width:760px;
  font-size:clamp(1.02rem,1.35vw,1.18rem);
  line-height:1.72;
}

body.ciq-trade-feature-prototype main > section{
  padding-block:clamp(2.35rem,4.8vw,3.7rem);
}

body.ciq-trade-feature-prototype main > section + section{
  padding-top:clamp(1.65rem,3.6vw,2.8rem);
}

body.ciq-trade-feature-prototype .container{
  width:min(1120px,calc(100% - 40px));
  margin-inline:auto;
}

body.ciq-trade-feature-prototype h2{
  max-width:820px;
  font-size:clamp(1.65rem,2.7vw,2.55rem);
  line-height:1.12;
  letter-spacing:-.025em;
  text-wrap:balance;
  margin-bottom:.9rem;
}

body.ciq-trade-feature-prototype h3{
  font-size:clamp(1.08rem,1.45vw,1.28rem);
  line-height:1.25;
  text-wrap:balance;
}

body.ciq-trade-feature-prototype p,
body.ciq-trade-feature-prototype li{
  line-height:1.72;
}

body.ciq-trade-feature-prototype p + p{
  margin-top:1rem;
}

body.ciq-trade-feature-prototype .feature-grid,
body.ciq-trade-feature-prototype .card-grid,
body.ciq-trade-feature-prototype .product-grid,
body.ciq-trade-feature-prototype .article-card-list{
  gap:clamp(1rem,2vw,1.35rem);
  align-items:stretch;
}

body.ciq-trade-feature-prototype .feature-card,
body.ciq-trade-feature-prototype .card,
body.ciq-trade-feature-prototype .notice,
body.ciq-trade-feature-prototype .article-body,
body.ciq-trade-feature-prototype .content-panel{
  border:1px solid rgba(215,166,47,.16);
  border-radius:22px;
  background:rgba(255,255,255,.032);
}

body.ciq-trade-feature-prototype .feature-card,
body.ciq-trade-feature-prototype .card,
body.ciq-trade-feature-prototype .notice{
  padding:clamp(1.15rem,2.2vw,1.65rem);
}

body.ciq-trade-feature-prototype .article-body,
body.ciq-trade-feature-prototype .content-panel{
  max-width:920px;
  margin-inline:auto;
  padding:clamp(1.35rem,3vw,2.15rem);
}

body.ciq-trade-feature-prototype ul,
body.ciq-trade-feature-prototype ol{
  padding-left:1.25rem;
}

body.ciq-trade-feature-prototype li + li{
  margin-top:.48rem;
}

body.ciq-trade-feature-prototype .check-list,
body.ciq-trade-feature-prototype ul.check-list{
  padding:0;
  margin:1rem 0;
  list-style:none;
  display:grid;
  gap:.72rem;
}

body.ciq-trade-feature-prototype .check-list li,
body.ciq-trade-feature-prototype ul.check-list li{
  position:relative;
  padding-left:1.7rem;
  line-height:1.62;
}

body.ciq-trade-feature-prototype .check-list li::before,
body.ciq-trade-feature-prototype ul.check-list li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:#19f28a;
  font-weight:800;
}

body.ciq-trade-feature-prototype .btn-row,
body.ciq-trade-feature-prototype .cta-row,
body.ciq-trade-feature-prototype .hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
  align-items:center;
}

body.ciq-trade-feature-prototype .btn,
body.ciq-trade-feature-prototype .button,
body.ciq-trade-feature-prototype .cta,
body.ciq-trade-feature-prototype a[class*="btn"]{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:980px){
  body.ciq-trade-feature-prototype .container{
    width:min(100% - 32px,1120px);
  }

  body.ciq-trade-feature-prototype .two-column,
  body.ciq-trade-feature-prototype .split-layout,
  body.ciq-trade-feature-prototype .product-layout,
  body.ciq-trade-feature-prototype .feature-grid,
  body.ciq-trade-feature-prototype .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-trade-feature-prototype .container{
    width:min(100% - 24px,1120px);
  }

  body.ciq-trade-feature-prototype .compact-article-hero{
    padding-block:2.75rem;
  }

  body.ciq-trade-feature-prototype main > section{
    padding-block:2.15rem;
  }

  body.ciq-trade-feature-prototype .feature-card,
  body.ciq-trade-feature-prototype .card,
  body.ciq-trade-feature-prototype .notice,
  body.ciq-trade-feature-prototype .article-body,
  body.ciq-trade-feature-prototype .content-panel{
    border-radius:18px;
  }

  body.ciq-trade-feature-prototype .btn,
  body.ciq-trade-feature-prototype .button,
  body.ciq-trade-feature-prototype .cta,
  body.ciq-trade-feature-prototype a[class*="btn"]{
    width:100%;
  }

  body.ciq-trade-feature-prototype .btn-row,
  body.ciq-trade-feature-prototype .cta-row,
  body.ciq-trade-feature-prototype .hero-actions{
    align-items:stretch;
  }
}
/* CIQ Phase 3D end */


body.ciq-trade-feature-prototype-v2 .compact-article-hero{
  padding-block:clamp(2.75rem,5vw,4.25rem);
}

body.ciq-trade-feature-prototype-v2 .compact-article-hero .container{
  max-width:1040px;
}

body.ciq-trade-feature-prototype-v2 .compact-article-hero h1{
  max-width:760px;
  font-size:clamp(1.9rem,3.45vw,3.25rem);
  line-height:1.05;
  letter-spacing:-.035em;
  text-wrap:balance;
}

body.ciq-trade-feature-prototype-v2 .compact-article-hero p,
body.ciq-trade-feature-prototype-v2 .compact-article-hero .lead{
  max-width:760px;
  font-size:clamp(.98rem,1.15vw,1.08rem);
  line-height:1.7;
}

body.ciq-trade-feature-prototype-v2 main > section{
  padding-block:clamp(2.05rem,3.7vw,3.2rem);
}

body.ciq-trade-feature-prototype-v2 main > section + section{
  padding-top:clamp(2.05rem,3.7vw,3.2rem);
}

body.ciq-trade-feature-prototype-v2 .container{
  width:min(1120px,calc(100% - 40px));
  margin-inline:auto;
}

body.ciq-trade-feature-prototype-v2 h2{
  max-width:760px;
  font-size:clamp(1.42rem,2.15vw,2.15rem);
  line-height:1.14;
  letter-spacing:-.025em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.9rem;
}

body.ciq-trade-feature-prototype-v2 h3{
  font-size:clamp(1.04rem,1.25vw,1.2rem);
  line-height:1.28;
  text-wrap:balance;
}

body.ciq-trade-feature-prototype-v2 p,
body.ciq-trade-feature-prototype-v2 li,
body.ciq-trade-feature-prototype-v2 td,
body.ciq-trade-feature-prototype-v2 th{
  line-height:1.68;
}

body.ciq-trade-feature-prototype-v2 p + p{
  margin-top:.85rem;
}

body.ciq-trade-feature-prototype-v2 .feature-grid,
body.ciq-trade-feature-prototype-v2 .card-grid,
body.ciq-trade-feature-prototype-v2 .product-grid,
body.ciq-trade-feature-prototype-v2 .article-card-list{
  gap:clamp(1rem,1.8vw,1.25rem);
  align-items:stretch;
  margin-bottom:clamp(2rem,4vw,3rem);
}

body.ciq-trade-feature-prototype-v2 table{
  margin-bottom:clamp(2rem,4vw,3rem);
}

body.ciq-trade-feature-prototype-v2 .feature-grid + h2,
body.ciq-trade-feature-prototype-v2 .card-grid + h2,
body.ciq-trade-feature-prototype-v2 .product-grid + h2,
body.ciq-trade-feature-prototype-v2 .article-card-list + h2,
body.ciq-trade-feature-prototype-v2 table + h2,
body.ciq-trade-feature-prototype-v2 .table-wrap + h2{
  margin-top:clamp(2rem,4vw,3rem);
}

body.ciq-trade-feature-prototype-v2 .feature-card,
body.ciq-trade-feature-prototype-v2 .card,
body.ciq-trade-feature-prototype-v2 .notice,
body.ciq-trade-feature-prototype-v2 .article-body,
body.ciq-trade-feature-prototype-v2 .content-panel{
  border:1px solid rgba(215,166,47,.16);
  border-radius:20px;
  background:rgba(255,255,255,.032);
}

body.ciq-trade-feature-prototype-v2 .feature-card,
body.ciq-trade-feature-prototype-v2 .card,
body.ciq-trade-feature-prototype-v2 .notice{
  padding:clamp(1.05rem,2vw,1.45rem);
}

body.ciq-trade-feature-prototype-v2 .article-body,
body.ciq-trade-feature-prototype-v2 .content-panel{
  max-width:920px;
  margin-inline:auto;
  padding:clamp(1.25rem,2.5vw,1.95rem);
}

body.ciq-trade-feature-prototype-v2 ul,
body.ciq-trade-feature-prototype-v2 ol{
  padding-left:1.2rem;
}

body.ciq-trade-feature-prototype-v2 li + li{
  margin-top:.42rem;
}

body.ciq-trade-feature-prototype-v2 .check-list,
body.ciq-trade-feature-prototype-v2 ul.check-list{
  padding:0;
  margin:.95rem 0;
  list-style:none;
  display:grid;
  gap:.62rem;
}

body.ciq-trade-feature-prototype-v2 .check-list li,
body.ciq-trade-feature-prototype-v2 ul.check-list li{
  position:relative;
  padding-left:1.55rem;
  line-height:1.58;
}

body.ciq-trade-feature-prototype-v2 .check-list li::before,
body.ciq-trade-feature-prototype-v2 ul.check-list li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:#19f28a;
  font-weight:800;
}

body.ciq-trade-feature-prototype-v2 .btn-row,
body.ciq-trade-feature-prototype-v2 .cta-row,
body.ciq-trade-feature-prototype-v2 .hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  align-items:center;
}

body.ciq-trade-feature-prototype-v2 .btn,
body.ciq-trade-feature-prototype-v2 .button,
body.ciq-trade-feature-prototype-v2 .cta,
body.ciq-trade-feature-prototype-v2 a[class*="btn"]{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

body.ciq-trade-feature-prototype-v2 .cta-section,
body.ciq-trade-feature-prototype-v2 section:has(.cta),
body.ciq-trade-feature-prototype-v2 section:has(a[href*="gumroad"]){
  padding-block:clamp(2rem,3.8vw,3rem);
}

body.ciq-trade-feature-prototype-v2 footer h3,
body.ciq-trade-feature-prototype-v2 footer h4{
  letter-spacing:.12em;
}

@media(max-width:980px){
  body.ciq-trade-feature-prototype-v2 .container{
    width:min(100% - 32px,1120px);
  }

  body.ciq-trade-feature-prototype-v2 .two-column,
  body.ciq-trade-feature-prototype-v2 .split-layout,
  body.ciq-trade-feature-prototype-v2 .product-layout,
  body.ciq-trade-feature-prototype-v2 .feature-grid,
  body.ciq-trade-feature-prototype-v2 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-trade-feature-prototype-v2 .container{
    width:min(100% - 24px,1120px);
  }

  body.ciq-trade-feature-prototype-v2 .compact-article-hero{
    padding-block:2.45rem;
  }

  body.ciq-trade-feature-prototype-v2 main > section{
    padding-block:1.95rem;
  }

  body.ciq-trade-feature-prototype-v2 h2{
    font-size:clamp(1.35rem,8vw,1.85rem);
  }

  body.ciq-trade-feature-prototype-v2 .feature-card,
  body.ciq-trade-feature-prototype-v2 .card,
  body.ciq-trade-feature-prototype-v2 .notice,
  body.ciq-trade-feature-prototype-v2 .article-body,
  body.ciq-trade-feature-prototype-v2 .content-panel{
    border-radius:16px;
  }

  body.ciq-trade-feature-prototype-v2 .btn,
  body.ciq-trade-feature-prototype-v2 .button,
  body.ciq-trade-feature-prototype-v2 .cta,
  body.ciq-trade-feature-prototype-v2 a[class*="btn"]{
    width:100%;
  }

  body.ciq-trade-feature-prototype-v2 .btn-row,
  body.ciq-trade-feature-prototype-v2 .cta-row,
  body.ciq-trade-feature-prototype-v2 .hero-actions{
    align-items:stretch;
  }
}
/* CIQ Phase 3D v2 end */

/* CIQ Phase 3D v4 actual markup spacing */
body.ciq-trade-feature-prototype-v4{
  --ciq-feature-rail:1120px;
  --ciq-feature-text:860px;
  --ciq-feature-panel:rgba(255,255,255,.033);
  --ciq-feature-border:rgba(215,166,47,.16);
}

body.ciq-trade-feature-prototype-v4 .hero{
  padding-block:clamp(3rem,5.2vw,4.5rem);
}

body.ciq-trade-feature-prototype-v4 .hero-grid{
  gap:clamp(1.5rem,3vw,2.5rem);
  align-items:center;
}

body.ciq-trade-feature-prototype-v4 .hero-copy h1{
  max-width:760px;
  font-size:clamp(1.9rem,3.45vw,3.25rem);
  line-height:1.05;
  letter-spacing:-.035em;
  text-wrap:balance;
}

body.ciq-trade-feature-prototype-v4 .hero-copy .lead{
  max-width:760px;
  font-size:clamp(.98rem,1.15vw,1.08rem);
  line-height:1.7;
}

body.ciq-trade-feature-prototype-v4 .container{
  width:min(var(--ciq-feature-rail),calc(100% - 40px));
  max-width:var(--ciq-feature-rail);
  margin-inline:auto;
}

body.ciq-trade-feature-prototype-v4 .section{
  padding-block:clamp(2.45rem,4.3vw,3.65rem);
}

body.ciq-trade-feature-prototype-v4 .section + .section,
body.ciq-trade-feature-prototype-v4 .section + .final-cta,
body.ciq-trade-feature-prototype-v4 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.09);
}

body.ciq-trade-feature-prototype-v4 .section-head{
  max-width:var(--ciq-feature-text);
  margin-bottom:clamp(1.25rem,2.3vw,1.85rem);
}

body.ciq-trade-feature-prototype-v4 .section-head h2,
body.ciq-trade-feature-prototype-v4 .content-block h2,
body.ciq-trade-feature-prototype-v4 .final-cta h2,
body.ciq-trade-feature-prototype-v4 .public-polish-depth h2{
  font-size:clamp(1.42rem,2.15vw,2.15rem);
  line-height:1.14;
  letter-spacing:-.025em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.85rem;
}

body.ciq-trade-feature-prototype-v4 .section-head .lead,
body.ciq-trade-feature-prototype-v4 .content-block p,
body.ciq-trade-feature-prototype-v4 .public-polish-depth p{
  max-width:var(--ciq-feature-text);
  line-height:1.68;
}

body.ciq-trade-feature-prototype-v4 p,
body.ciq-trade-feature-prototype-v4 li,
body.ciq-trade-feature-prototype-v4 td,
body.ciq-trade-feature-prototype-v4 th{
  line-height:1.68;
}

body.ciq-trade-feature-prototype-v4 .table-wrap{
  margin-top:clamp(1.1rem,2vw,1.55rem);
  margin-bottom:clamp(2.8rem,5vw,4.25rem);
}

body.ciq-trade-feature-prototype-v4 .feature-grid{
  gap:clamp(1rem,1.8vw,1.25rem);
  align-items:stretch;
  margin-top:clamp(1.1rem,2vw,1.55rem);
  margin-bottom:clamp(2.8rem,5vw,4.25rem);
}

body.ciq-trade-feature-prototype-v4 .table-wrap + .content-block,
body.ciq-trade-feature-prototype-v4 .feature-grid + .content-block{
  margin-top:0;
}

body.ciq-trade-feature-prototype-v4 .content-block + .content-block{
  margin-top:clamp(1.25rem,2.4vw,1.9rem);
}

body.ciq-trade-feature-prototype-v4 .content-block{
  max-width:920px;
  padding:clamp(1.25rem,2.5vw,1.95rem);
  border:1px solid var(--ciq-feature-border);
  border-radius:20px;
  background:var(--ciq-feature-panel);
}

body.ciq-trade-feature-prototype-v4 .content-block h2{
  max-width:var(--ciq-feature-text);
}

body.ciq-trade-feature-prototype-v4 .feature-grid > article,
body.ciq-trade-feature-prototype-v4 .metric-panel{
  border:1px solid var(--ciq-feature-border);
  border-radius:20px;
  background:var(--ciq-feature-panel);
  padding:clamp(1.05rem,2vw,1.45rem);
}

body.ciq-trade-feature-prototype-v4 .split{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:clamp(1.25rem,3vw,2.25rem);
  align-items:stretch;
}

body.ciq-trade-feature-prototype-v4 .split > div:first-child{
  max-width:760px;
}

body.ciq-trade-feature-prototype-v4 .split > div:first-child h2{
  font-size:clamp(1.42rem,2.15vw,2.15rem);
  line-height:1.14;
  margin-top:0;
}

body.ciq-trade-feature-prototype-v4 .final-cta{
  padding-block:clamp(2.35rem,4.4vw,3.6rem);
  text-align:center;
}

body.ciq-trade-feature-prototype-v4 .final-cta .container,
body.ciq-trade-feature-prototype-v4 .public-polish-depth .container{
  max-width:900px;
}

body.ciq-trade-feature-prototype-v4 .final-cta h2,
body.ciq-trade-feature-prototype-v4 .final-cta p{
  margin-left:auto;
  margin-right:auto;
}

body.ciq-trade-feature-prototype-v4 .public-polish-depth{
  padding-block:clamp(2.25rem,4vw,3.25rem);
}

body.ciq-trade-feature-prototype-v4 .btn,
body.ciq-trade-feature-prototype-v4 .button,
body.ciq-trade-feature-prototype-v4 .cta,
body.ciq-trade-feature-prototype-v4 a[class*="btn"]{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:980px){
  body.ciq-trade-feature-prototype-v4 .container{
    width:min(100% - 32px,var(--ciq-feature-rail));
  }

  body.ciq-trade-feature-prototype-v4 .hero-grid,
  body.ciq-trade-feature-prototype-v4 .split,
  body.ciq-trade-feature-prototype-v4 .feature-grid,
  body.ciq-trade-feature-prototype-v4 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-trade-feature-prototype-v4 .container{
    width:min(100% - 24px,var(--ciq-feature-rail));
  }

  body.ciq-trade-feature-prototype-v4 .hero{
    padding-block:2.45rem;
  }

  body.ciq-trade-feature-prototype-v4 .section{
    padding-block:2.05rem;
  }

  body.ciq-trade-feature-prototype-v4 .content-block,
  body.ciq-trade-feature-prototype-v4 .feature-grid > article,
  body.ciq-trade-feature-prototype-v4 .metric-panel{
    border-radius:16px;
  }

  body.ciq-trade-feature-prototype-v4 .table-wrap,
  body.ciq-trade-feature-prototype-v4 .feature-grid{
    margin-bottom:2.5rem;
  }

  body.ciq-trade-feature-prototype-v4 .btn,
  body.ciq-trade-feature-prototype-v4 .button,
  body.ciq-trade-feature-prototype-v4 .cta,
  body.ciq-trade-feature-prototype-v4 a[class*="btn"]{
    width:100%;
  }

  body.ciq-trade-feature-prototype-v4 .hero-actions,
  body.ciq-trade-feature-prototype-v4 .cta-row,
  body.ciq-trade-feature-prototype-v4 .btn-row{
    align-items:stretch;
  }
}
/* CIQ Phase 3D v4 end */


body.ciq-setup-doc-prototype-v1{
  --ciq-doc-rail:1120px;
  --ciq-doc-text:840px;
  --ciq-doc-panel:rgba(255,255,255,.032);
  --ciq-doc-border:rgba(215,166,47,.16);
}

/* Setup pages should feel like guided documentation, not a heavy sales page. */
body.ciq-setup-doc-prototype-v1 .hero{
  padding-block:clamp(2.75rem,5vw,4.15rem);
}

body.ciq-setup-doc-prototype-v1 .hero-grid{
  gap:clamp(1.35rem,3vw,2.35rem);
  align-items:center;
}

body.ciq-setup-doc-prototype-v1 .hero-copy h1{
  max-width:760px;
  font-size:clamp(1.85rem,3.25vw,3.05rem);
  line-height:1.06;
  letter-spacing:-.035em;
  text-wrap:balance;
}

body.ciq-setup-doc-prototype-v1 .hero-copy .lead,
body.ciq-setup-doc-prototype-v1 .hero-copy p{
  max-width:760px;
  font-size:clamp(.98rem,1.1vw,1.06rem);
  line-height:1.7;
}

body.ciq-setup-doc-prototype-v1 .container{
  width:min(var(--ciq-doc-rail),calc(100% - 40px));
  max-width:var(--ciq-doc-rail);
  margin-inline:auto;
}

body.ciq-setup-doc-prototype-v1 .section{
  padding-block:clamp(2.35rem,4vw,3.45rem);
}

body.ciq-setup-doc-prototype-v1 .section + .section,
body.ciq-setup-doc-prototype-v1 .section + .final-cta,
body.ciq-setup-doc-prototype-v1 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.085);
}

body.ciq-setup-doc-prototype-v1 .section-head{
  max-width:var(--ciq-doc-text);
  margin-bottom:clamp(1.15rem,2.2vw,1.75rem);
}

body.ciq-setup-doc-prototype-v1 .section-head h2,
body.ciq-setup-doc-prototype-v1 .content-block h2,
body.ciq-setup-doc-prototype-v1 .final-cta h2,
body.ciq-setup-doc-prototype-v1 .public-polish-depth h2{
  font-size:clamp(1.38rem,2.05vw,2.05rem);
  line-height:1.15;
  letter-spacing:-.025em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.85rem;
}

body.ciq-setup-doc-prototype-v1 .section-head .lead,
body.ciq-setup-doc-prototype-v1 .content-block p,
body.ciq-setup-doc-prototype-v1 .public-polish-depth p{
  max-width:var(--ciq-doc-text);
  line-height:1.68;
}

body.ciq-setup-doc-prototype-v1 p,
body.ciq-setup-doc-prototype-v1 li,
body.ciq-setup-doc-prototype-v1 td,
body.ciq-setup-doc-prototype-v1 th{
  line-height:1.68;
}

body.ciq-setup-doc-prototype-v1 p + p{
  margin-top:.85rem;
}

/* Setup/how-to pages often have sequential cards. Keep them compact and instructional. */
body.ciq-setup-doc-prototype-v1 .feature-grid,
body.ciq-setup-doc-prototype-v1 .card-grid,
body.ciq-setup-doc-prototype-v1 .product-grid,
body.ciq-setup-doc-prototype-v1 .article-card-list{
  gap:clamp(1rem,1.8vw,1.25rem);
  align-items:stretch;
  margin-top:clamp(1.05rem,2vw,1.5rem);
  margin-bottom:clamp(2.35rem,4.5vw,3.75rem);
}

body.ciq-setup-doc-prototype-v1 .feature-grid > article,
body.ciq-setup-doc-prototype-v1 .card,
body.ciq-setup-doc-prototype-v1 .feature-card,
body.ciq-setup-doc-prototype-v1 .notice,
body.ciq-setup-doc-prototype-v1 .metric-panel{
  border:1px solid var(--ciq-doc-border);
  border-radius:18px;
  background:var(--ciq-doc-panel);
  padding:clamp(1rem,1.9vw,1.4rem);
}

/* Content blocks become readable instruction panels. */
body.ciq-setup-doc-prototype-v1 .content-block{
  max-width:920px;
  padding:clamp(1.15rem,2.35vw,1.85rem);
  border:1px solid var(--ciq-doc-border);
  border-radius:18px;
  background:var(--ciq-doc-panel);
}

body.ciq-setup-doc-prototype-v1 .content-block + .content-block{
  margin-top:clamp(1.15rem,2.3vw,1.8rem);
}

body.ciq-setup-doc-prototype-v1 .feature-grid + .content-block,
body.ciq-setup-doc-prototype-v1 .card-grid + .content-block,
body.ciq-setup-doc-prototype-v1 .table-wrap + .content-block{
  margin-top:0;
}

body.ciq-setup-doc-prototype-v1 .table-wrap,
body.ciq-setup-doc-prototype-v1 table{
  margin-top:clamp(1.05rem,2vw,1.5rem);
  margin-bottom:clamp(2.35rem,4.5vw,3.75rem);
}

body.ciq-setup-doc-prototype-v1 ul,
body.ciq-setup-doc-prototype-v1 ol{
  padding-left:1.2rem;
}

body.ciq-setup-doc-prototype-v1 li + li{
  margin-top:.42rem;
}

body.ciq-setup-doc-prototype-v1 .check-list,
body.ciq-setup-doc-prototype-v1 ul.check-list{
  padding:0;
  margin:.95rem 0;
  list-style:none;
  display:grid;
  gap:.62rem;
}

body.ciq-setup-doc-prototype-v1 .check-list li,
body.ciq-setup-doc-prototype-v1 ul.check-list li{
  position:relative;
  padding-left:1.55rem;
  line-height:1.58;
}

body.ciq-setup-doc-prototype-v1 .check-list li::before,
body.ciq-setup-doc-prototype-v1 ul.check-list li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:#19f28a;
  font-weight:800;
}

/* Avoid oversized sales interruption on support/setup pages. */
body.ciq-setup-doc-prototype-v1 .final-cta{
  padding-block:clamp(2.25rem,4vw,3.25rem);
  text-align:center;
}

body.ciq-setup-doc-prototype-v1 .final-cta .container,
body.ciq-setup-doc-prototype-v1 .public-polish-depth .container{
  max-width:900px;
}

body.ciq-setup-doc-prototype-v1 .final-cta h2,
body.ciq-setup-doc-prototype-v1 .final-cta p{
  margin-left:auto;
  margin-right:auto;
}

body.ciq-setup-doc-prototype-v1 .public-polish-depth{
  padding-block:clamp(2.15rem,3.8vw,3.15rem);
}

body.ciq-setup-doc-prototype-v1 .btn,
body.ciq-setup-doc-prototype-v1 .button,
body.ciq-setup-doc-prototype-v1 .cta,
body.ciq-setup-doc-prototype-v1 a[class*="btn"]{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:980px){
  body.ciq-setup-doc-prototype-v1 .container{
    width:min(100% - 32px,var(--ciq-doc-rail));
  }

  body.ciq-setup-doc-prototype-v1 .hero-grid,
  body.ciq-setup-doc-prototype-v1 .split,
  body.ciq-setup-doc-prototype-v1 .feature-grid,
  body.ciq-setup-doc-prototype-v1 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-setup-doc-prototype-v1 .container{
    width:min(100% - 24px,var(--ciq-doc-rail));
  }

  body.ciq-setup-doc-prototype-v1 .hero{
    padding-block:2.35rem;
  }

  body.ciq-setup-doc-prototype-v1 .section{
    padding-block:1.95rem;
  }

  body.ciq-setup-doc-prototype-v1 .content-block,
  body.ciq-setup-doc-prototype-v1 .feature-grid > article,
  body.ciq-setup-doc-prototype-v1 .card,
  body.ciq-setup-doc-prototype-v1 .feature-card,
  body.ciq-setup-doc-prototype-v1 .notice{
    border-radius:16px;
  }

  body.ciq-setup-doc-prototype-v1 .btn,
  body.ciq-setup-doc-prototype-v1 .button,
  body.ciq-setup-doc-prototype-v1 .cta,
  body.ciq-setup-doc-prototype-v1 a[class*="btn"]{
    width:100%;
  }

  body.ciq-setup-doc-prototype-v1 .hero-actions,
  body.ciq-setup-doc-prototype-v1 .cta-row,
  body.ciq-setup-doc-prototype-v1 .btn-row{
    align-items:stretch;
  }
}
/* CIQ Phase 3E end */

/* CIQ Phase 3E v2 setup step heading fix */
body.ciq-setup-doc-prototype-v2{
  --ciq-doc-rail:1120px;
  --ciq-doc-text:840px;
  --ciq-doc-panel:rgba(255,255,255,.032);
  --ciq-doc-border:rgba(215,166,47,.16);
}

body.ciq-setup-doc-prototype-v2 .hero{
  padding-block:clamp(2.75rem,5vw,4.15rem);
}

body.ciq-setup-doc-prototype-v2 .hero-grid{
  gap:clamp(1.35rem,3vw,2.35rem);
  align-items:center;
}

body.ciq-setup-doc-prototype-v2 .hero-copy h1{
  max-width:760px;
  font-size:clamp(1.85rem,3.25vw,3.05rem);
  line-height:1.06;
  letter-spacing:-.035em;
  text-wrap:balance;
}

body.ciq-setup-doc-prototype-v2 .hero-copy .lead,
body.ciq-setup-doc-prototype-v2 .hero-copy p{
  max-width:760px;
  font-size:clamp(.98rem,1.1vw,1.06rem);
  line-height:1.7;
}

body.ciq-setup-doc-prototype-v2 .container{
  width:min(var(--ciq-doc-rail),calc(100% - 40px));
  max-width:var(--ciq-doc-rail);
  margin-inline:auto;
}

body.ciq-setup-doc-prototype-v2 .section{
  padding-block:clamp(2.35rem,4vw,3.45rem);
}

body.ciq-setup-doc-prototype-v2 .section + .section,
body.ciq-setup-doc-prototype-v2 .section + .final-cta,
body.ciq-setup-doc-prototype-v2 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.085);
}

body.ciq-setup-doc-prototype-v2 .section-head{
  max-width:var(--ciq-doc-text);
  margin-bottom:clamp(1.15rem,2.2vw,1.75rem);
}

body.ciq-setup-doc-prototype-v2 .section-head h2,
body.ciq-setup-doc-prototype-v2 .final-cta h2,
body.ciq-setup-doc-prototype-v2 .public-polish-depth h2{
  font-size:clamp(1.38rem,2.05vw,2.05rem);
  line-height:1.15;
  letter-spacing:-.025em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.85rem;
}

/* The setup steps were visually reading like main headings. Keep step headings clearly smaller. */
body.ciq-setup-doc-prototype-v2 .content-block h2,
body.ciq-setup-doc-prototype-v2 .content-block h3,
body.ciq-setup-doc-prototype-v2 .feature-grid > article h2,
body.ciq-setup-doc-prototype-v2 .feature-grid > article h3,
body.ciq-setup-doc-prototype-v2 .card h2,
body.ciq-setup-doc-prototype-v2 .card h3,
body.ciq-setup-doc-prototype-v2 .feature-card h2,
body.ciq-setup-doc-prototype-v2 .feature-card h3{
  font-size:clamp(1.08rem,1.35vw,1.32rem);
  line-height:1.24;
  letter-spacing:-.01em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.75rem;
}

body.ciq-setup-doc-prototype-v2 .section-head .lead,
body.ciq-setup-doc-prototype-v2 .content-block p,
body.ciq-setup-doc-prototype-v2 .public-polish-depth p{
  max-width:var(--ciq-doc-text);
  line-height:1.68;
}

body.ciq-setup-doc-prototype-v2 p,
body.ciq-setup-doc-prototype-v2 li,
body.ciq-setup-doc-prototype-v2 td,
body.ciq-setup-doc-prototype-v2 th{
  line-height:1.68;
}

body.ciq-setup-doc-prototype-v2 p + p{
  margin-top:.85rem;
}

body.ciq-setup-doc-prototype-v2 .feature-grid,
body.ciq-setup-doc-prototype-v2 .card-grid,
body.ciq-setup-doc-prototype-v2 .product-grid,
body.ciq-setup-doc-prototype-v2 .article-card-list{
  gap:clamp(1rem,1.8vw,1.25rem);
  align-items:stretch;
  margin-top:clamp(1.05rem,2vw,1.5rem);
  margin-bottom:clamp(2.35rem,4.5vw,3.75rem);
}

body.ciq-setup-doc-prototype-v2 .feature-grid > article,
body.ciq-setup-doc-prototype-v2 .card,
body.ciq-setup-doc-prototype-v2 .feature-card,
body.ciq-setup-doc-prototype-v2 .notice,
body.ciq-setup-doc-prototype-v2 .metric-panel{
  border:1px solid var(--ciq-doc-border);
  border-radius:18px;
  background:var(--ciq-doc-panel);
  padding:clamp(1rem,1.9vw,1.4rem);
}

body.ciq-setup-doc-prototype-v2 .content-block{
  max-width:920px;
  padding:clamp(1.15rem,2.35vw,1.85rem);
  border:1px solid var(--ciq-doc-border);
  border-radius:18px;
  background:var(--ciq-doc-panel);
}

body.ciq-setup-doc-prototype-v2 .content-block + .content-block{
  margin-top:clamp(1.15rem,2.3vw,1.8rem);
}

body.ciq-setup-doc-prototype-v2 .feature-grid + .content-block,
body.ciq-setup-doc-prototype-v2 .card-grid + .content-block,
body.ciq-setup-doc-prototype-v2 .table-wrap + .content-block{
  margin-top:0;
}

body.ciq-setup-doc-prototype-v2 .table-wrap,
body.ciq-setup-doc-prototype-v2 table{
  margin-top:clamp(1.05rem,2vw,1.5rem);
  margin-bottom:clamp(2.35rem,4.5vw,3.75rem);
}

body.ciq-setup-doc-prototype-v2 ul,
body.ciq-setup-doc-prototype-v2 ol{
  padding-left:1.2rem;
}

body.ciq-setup-doc-prototype-v2 li + li{
  margin-top:.42rem;
}

body.ciq-setup-doc-prototype-v2 .check-list,
body.ciq-setup-doc-prototype-v2 ul.check-list{
  padding:0;
  margin:.95rem 0;
  list-style:none;
  display:grid;
  gap:.62rem;
}

body.ciq-setup-doc-prototype-v2 .check-list li,
body.ciq-setup-doc-prototype-v2 ul.check-list li{
  position:relative;
  padding-left:1.55rem;
  line-height:1.58;
}

body.ciq-setup-doc-prototype-v2 .check-list li::before,
body.ciq-setup-doc-prototype-v2 ul.check-list li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:#19f28a;
  font-weight:800;
}

body.ciq-setup-doc-prototype-v2 .final-cta{
  padding-block:clamp(2.25rem,4vw,3.25rem);
  text-align:center;
}

body.ciq-setup-doc-prototype-v2 .final-cta .container,
body.ciq-setup-doc-prototype-v2 .public-polish-depth .container{
  max-width:900px;
}

body.ciq-setup-doc-prototype-v2 .final-cta h2,
body.ciq-setup-doc-prototype-v2 .final-cta p{
  margin-left:auto;
  margin-right:auto;
}

body.ciq-setup-doc-prototype-v2 .public-polish-depth{
  padding-block:clamp(2.15rem,3.8vw,3.15rem);
}

body.ciq-setup-doc-prototype-v2 .btn,
body.ciq-setup-doc-prototype-v2 .button,
body.ciq-setup-doc-prototype-v2 .cta,
body.ciq-setup-doc-prototype-v2 a[class*="btn"]{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:980px){
  body.ciq-setup-doc-prototype-v2 .container{
    width:min(100% - 32px,var(--ciq-doc-rail));
  }

  body.ciq-setup-doc-prototype-v2 .hero-grid,
  body.ciq-setup-doc-prototype-v2 .split,
  body.ciq-setup-doc-prototype-v2 .feature-grid,
  body.ciq-setup-doc-prototype-v2 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-setup-doc-prototype-v2 .container{
    width:min(100% - 24px,var(--ciq-doc-rail));
  }

  body.ciq-setup-doc-prototype-v2 .hero{
    padding-block:2.35rem;
  }

  body.ciq-setup-doc-prototype-v2 .section{
    padding-block:1.95rem;
  }

  body.ciq-setup-doc-prototype-v2 .content-block h2,
  body.ciq-setup-doc-prototype-v2 .content-block h3,
  body.ciq-setup-doc-prototype-v2 .feature-grid > article h2,
  body.ciq-setup-doc-prototype-v2 .feature-grid > article h3{
    font-size:1.12rem;
  }

  body.ciq-setup-doc-prototype-v2 .content-block,
  body.ciq-setup-doc-prototype-v2 .feature-grid > article,
  body.ciq-setup-doc-prototype-v2 .card,
  body.ciq-setup-doc-prototype-v2 .feature-card,
  body.ciq-setup-doc-prototype-v2 .notice{
    border-radius:16px;
  }

  body.ciq-setup-doc-prototype-v2 .btn,
  body.ciq-setup-doc-prototype-v2 .button,
  body.ciq-setup-doc-prototype-v2 .cta,
  body.ciq-setup-doc-prototype-v2 a[class*="btn"]{
    width:100%;
  }

  body.ciq-setup-doc-prototype-v2 .hero-actions,
  body.ciq-setup-doc-prototype-v2 .cta-row,
  body.ciq-setup-doc-prototype-v2 .btn-row{
    align-items:stretch;
  }
}
/* CIQ Phase 3E v2 end */

/* CIQ Phase 3F compatibility support prototype */
body.ciq-support-doc-prototype-v1{
  --ciq-support-rail:1120px;
  --ciq-support-text:840px;
  --ciq-support-panel:rgba(255,255,255,.032);
  --ciq-support-border:rgba(215,166,47,.16);
}

body.ciq-support-doc-prototype-v1 .hero{
  padding-block:clamp(2.65rem,4.8vw,4rem);
}

body.ciq-support-doc-prototype-v1 .hero-grid{
  gap:clamp(1.35rem,3vw,2.25rem);
  align-items:center;
}

body.ciq-support-doc-prototype-v1 .hero-copy h1{
  max-width:760px;
  font-size:clamp(1.82rem,3.1vw,2.95rem);
  line-height:1.06;
  letter-spacing:-.035em;
  text-wrap:balance;
}

body.ciq-support-doc-prototype-v1 .hero-copy .lead,
body.ciq-support-doc-prototype-v1 .hero-copy p{
  max-width:760px;
  font-size:clamp(.98rem,1.1vw,1.06rem);
  line-height:1.7;
}

body.ciq-support-doc-prototype-v1 .container{
  width:min(var(--ciq-support-rail),calc(100% - 40px));
  max-width:var(--ciq-support-rail);
  margin-inline:auto;
}

body.ciq-support-doc-prototype-v1 .section{
  padding-block:clamp(2.3rem,3.9vw,3.35rem);
}

body.ciq-support-doc-prototype-v1 .section + .section,
body.ciq-support-doc-prototype-v1 .section + .final-cta,
body.ciq-support-doc-prototype-v1 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.085);
}

body.ciq-support-doc-prototype-v1 .section-head{
  max-width:var(--ciq-support-text);
  margin-bottom:clamp(1.15rem,2.2vw,1.75rem);
}

body.ciq-support-doc-prototype-v1 .section-head h2,
body.ciq-support-doc-prototype-v1 .content-block h2,
body.ciq-support-doc-prototype-v1 .final-cta h2,
body.ciq-support-doc-prototype-v1 .public-polish-depth h2{
  font-size:clamp(1.34rem,1.95vw,1.95rem);
  line-height:1.15;
  letter-spacing:-.02em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.85rem;
}

body.ciq-support-doc-prototype-v1 .content-block h3,
body.ciq-support-doc-prototype-v1 .feature-grid > article h2,
body.ciq-support-doc-prototype-v1 .feature-grid > article h3,
body.ciq-support-doc-prototype-v1 .card h2,
body.ciq-support-doc-prototype-v1 .card h3,
body.ciq-support-doc-prototype-v1 .feature-card h2,
body.ciq-support-doc-prototype-v1 .feature-card h3{
  font-size:clamp(1.06rem,1.25vw,1.24rem);
  line-height:1.24;
  letter-spacing:-.01em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.72rem;
}

body.ciq-support-doc-prototype-v1 .section-head .lead,
body.ciq-support-doc-prototype-v1 .content-block p,
body.ciq-support-doc-prototype-v1 .public-polish-depth p{
  max-width:var(--ciq-support-text);
  line-height:1.68;
}

body.ciq-support-doc-prototype-v1 p,
body.ciq-support-doc-prototype-v1 li,
body.ciq-support-doc-prototype-v1 td,
body.ciq-support-doc-prototype-v1 th{
  line-height:1.68;
}

body.ciq-support-doc-prototype-v1 p + p{
  margin-top:.85rem;
}

body.ciq-support-doc-prototype-v1 .table-wrap{
  margin-top:clamp(1.05rem,2vw,1.5rem);
  margin-bottom:clamp(2.35rem,4.5vw,3.75rem);
  overflow-x:auto;
}

body.ciq-support-doc-prototype-v1 table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}

body.ciq-support-doc-prototype-v1 th,
body.ciq-support-doc-prototype-v1 td{
  vertical-align:top;
}

body.ciq-support-doc-prototype-v1 .feature-grid,
body.ciq-support-doc-prototype-v1 .card-grid,
body.ciq-support-doc-prototype-v1 .product-grid,
body.ciq-support-doc-prototype-v1 .article-card-list{
  gap:clamp(1rem,1.8vw,1.25rem);
  align-items:stretch;
  margin-top:clamp(1.05rem,2vw,1.5rem);
  margin-bottom:clamp(2.35rem,4.5vw,3.75rem);
}

body.ciq-support-doc-prototype-v1 .feature-grid > article,
body.ciq-support-doc-prototype-v1 .card,
body.ciq-support-doc-prototype-v1 .feature-card,
body.ciq-support-doc-prototype-v1 .notice,
body.ciq-support-doc-prototype-v1 .metric-panel,
body.ciq-support-doc-prototype-v1 .content-block{
  border:1px solid var(--ciq-support-border);
  border-radius:18px;
  background:var(--ciq-support-panel);
}

body.ciq-support-doc-prototype-v1 .feature-grid > article,
body.ciq-support-doc-prototype-v1 .card,
body.ciq-support-doc-prototype-v1 .feature-card,
body.ciq-support-doc-prototype-v1 .notice,
body.ciq-support-doc-prototype-v1 .metric-panel{
  padding:clamp(1rem,1.9vw,1.4rem);
}

body.ciq-support-doc-prototype-v1 .content-block{
  max-width:920px;
  padding:clamp(1.15rem,2.35vw,1.85rem);
}

body.ciq-support-doc-prototype-v1 .content-block + .content-block{
  margin-top:clamp(1.15rem,2.3vw,1.8rem);
}

body.ciq-support-doc-prototype-v1 .feature-grid + .content-block,
body.ciq-support-doc-prototype-v1 .card-grid + .content-block,
body.ciq-support-doc-prototype-v1 .table-wrap + .content-block{
  margin-top:0;
}

body.ciq-support-doc-prototype-v1 ul,
body.ciq-support-doc-prototype-v1 ol{
  padding-left:1.2rem;
}

body.ciq-support-doc-prototype-v1 li + li{
  margin-top:.42rem;
}

body.ciq-support-doc-prototype-v1 .check-list,
body.ciq-support-doc-prototype-v1 ul.check-list{
  padding:0;
  margin:.95rem 0;
  list-style:none;
  display:grid;
  gap:.62rem;
}

body.ciq-support-doc-prototype-v1 .check-list li,
body.ciq-support-doc-prototype-v1 ul.check-list li{
  position:relative;
  padding-left:1.55rem;
  line-height:1.58;
}

body.ciq-support-doc-prototype-v1 .check-list li::before,
body.ciq-support-doc-prototype-v1 ul.check-list li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:#19f28a;
  font-weight:800;
}

body.ciq-support-doc-prototype-v1 .final-cta{
  padding-block:clamp(2.2rem,3.8vw,3.2rem);
  text-align:center;
}

body.ciq-support-doc-prototype-v1 .final-cta .container,
body.ciq-support-doc-prototype-v1 .public-polish-depth .container{
  max-width:900px;
}

body.ciq-support-doc-prototype-v1 .final-cta h2,
body.ciq-support-doc-prototype-v1 .final-cta p{
  margin-left:auto;
  margin-right:auto;
}

body.ciq-support-doc-prototype-v1 .public-polish-depth{
  padding-block:clamp(2.1rem,3.7vw,3.05rem);
}

body.ciq-support-doc-prototype-v1 .btn,
body.ciq-support-doc-prototype-v1 .button,
body.ciq-support-doc-prototype-v1 .cta,
body.ciq-support-doc-prototype-v1 a[class*="btn"]{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:980px){
  body.ciq-support-doc-prototype-v1 .container{
    width:min(100% - 32px,var(--ciq-support-rail));
  }

  body.ciq-support-doc-prototype-v1 .hero-grid,
  body.ciq-support-doc-prototype-v1 .split,
  body.ciq-support-doc-prototype-v1 .feature-grid,
  body.ciq-support-doc-prototype-v1 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-support-doc-prototype-v1 .container{
    width:min(100% - 24px,var(--ciq-support-rail));
  }

  body.ciq-support-doc-prototype-v1 .hero{
    padding-block:2.3rem;
  }

  body.ciq-support-doc-prototype-v1 .section{
    padding-block:1.9rem;
  }

  body.ciq-support-doc-prototype-v1 .content-block,
  body.ciq-support-doc-prototype-v1 .feature-grid > article,
  body.ciq-support-doc-prototype-v1 .card,
  body.ciq-support-doc-prototype-v1 .feature-card,
  body.ciq-support-doc-prototype-v1 .notice,
  body.ciq-support-doc-prototype-v1 .metric-panel{
    border-radius:16px;
  }

  body.ciq-support-doc-prototype-v1 .btn,
  body.ciq-support-doc-prototype-v1 .button,
  body.ciq-support-doc-prototype-v1 .cta,
  body.ciq-support-doc-prototype-v1 a[class*="btn"]{
    width:100%;
  }

  body.ciq-support-doc-prototype-v1 .hero-actions,
  body.ciq-support-doc-prototype-v1 .cta-row,
  body.ciq-support-doc-prototype-v1 .btn-row{
    align-items:stretch;
  }
}
/* CIQ Phase 3F end */

/* CIQ Phase 3G site support prototype */
body.ciq-site-support-prototype-v1{
  --ciq-site-support-rail:1120px;
  --ciq-site-support-text:850px;
  --ciq-site-support-panel:rgba(255,255,255,.032);
  --ciq-site-support-border:rgba(215,166,47,.16);
}

/* Site-level support should feel like a trust/help center, not a product feature page. */
body.ciq-site-support-prototype-v1 .hero,
body.ciq-site-support-prototype-v1 .page-hero,
body.ciq-site-support-prototype-v1 .compact-article-hero{
  padding-block:clamp(2.65rem,4.8vw,4rem);
}

body.ciq-site-support-prototype-v1 .hero-grid,
body.ciq-site-support-prototype-v1 .page-hero-grid{
  gap:clamp(1.35rem,3vw,2.25rem);
  align-items:center;
}

body.ciq-site-support-prototype-v1 .hero-copy h1,
body.ciq-site-support-prototype-v1 .page-hero h1,
body.ciq-site-support-prototype-v1 .compact-article-hero h1{
  max-width:800px;
  font-size:clamp(1.82rem,3vw,2.9rem);
  line-height:1.06;
  letter-spacing:-.035em;
  text-wrap:balance;
}

body.ciq-site-support-prototype-v1 .hero-copy .lead,
body.ciq-site-support-prototype-v1 .hero-copy p,
body.ciq-site-support-prototype-v1 .page-hero p,
body.ciq-site-support-prototype-v1 .compact-article-hero p{
  max-width:800px;
  font-size:clamp(.98rem,1.1vw,1.06rem);
  line-height:1.7;
}

body.ciq-site-support-prototype-v1 .container{
  width:min(var(--ciq-site-support-rail),calc(100% - 40px));
  max-width:var(--ciq-site-support-rail);
  margin-inline:auto;
}

body.ciq-site-support-prototype-v1 .section{
  padding-block:clamp(2.25rem,3.8vw,3.25rem);
}

body.ciq-site-support-prototype-v1 .section + .section,
body.ciq-site-support-prototype-v1 .section + .final-cta,
body.ciq-site-support-prototype-v1 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.085);
}

body.ciq-site-support-prototype-v1 .section-head{
  max-width:var(--ciq-site-support-text);
  margin-bottom:clamp(1.1rem,2.1vw,1.7rem);
}

body.ciq-site-support-prototype-v1 .section-head h2,
body.ciq-site-support-prototype-v1 .content-block h2,
body.ciq-site-support-prototype-v1 .final-cta h2,
body.ciq-site-support-prototype-v1 .public-polish-depth h2{
  font-size:clamp(1.32rem,1.9vw,1.9rem);
  line-height:1.15;
  letter-spacing:-.02em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.85rem;
}

body.ciq-site-support-prototype-v1 .content-block h3,
body.ciq-site-support-prototype-v1 .feature-grid > article h2,
body.ciq-site-support-prototype-v1 .feature-grid > article h3,
body.ciq-site-support-prototype-v1 .card h2,
body.ciq-site-support-prototype-v1 .card h3,
body.ciq-site-support-prototype-v1 .support-card h2,
body.ciq-site-support-prototype-v1 .support-card h3,
body.ciq-site-support-prototype-v1 .faq-card h2,
body.ciq-site-support-prototype-v1 .faq-card h3{
  font-size:clamp(1.05rem,1.22vw,1.22rem);
  line-height:1.24;
  letter-spacing:-.01em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.72rem;
}

body.ciq-site-support-prototype-v1 .section-head .lead,
body.ciq-site-support-prototype-v1 .content-block p,
body.ciq-site-support-prototype-v1 .public-polish-depth p{
  max-width:var(--ciq-site-support-text);
  line-height:1.68;
}

body.ciq-site-support-prototype-v1 p,
body.ciq-site-support-prototype-v1 li,
body.ciq-site-support-prototype-v1 td,
body.ciq-site-support-prototype-v1 th{
  line-height:1.68;
}

body.ciq-site-support-prototype-v1 p + p{
  margin-top:.85rem;
}

body.ciq-site-support-prototype-v1 .feature-grid,
body.ciq-site-support-prototype-v1 .card-grid,
body.ciq-site-support-prototype-v1 .support-grid,
body.ciq-site-support-prototype-v1 .faq-grid,
body.ciq-site-support-prototype-v1 .product-grid,
body.ciq-site-support-prototype-v1 .article-card-list{
  gap:clamp(1rem,1.8vw,1.25rem);
  align-items:stretch;
  margin-top:clamp(1.05rem,2vw,1.5rem);
  margin-bottom:clamp(2.2rem,4.2vw,3.55rem);
}

body.ciq-site-support-prototype-v1 .feature-grid > article,
body.ciq-site-support-prototype-v1 .card,
body.ciq-site-support-prototype-v1 .feature-card,
body.ciq-site-support-prototype-v1 .support-card,
body.ciq-site-support-prototype-v1 .faq-card,
body.ciq-site-support-prototype-v1 .notice,
body.ciq-site-support-prototype-v1 .metric-panel,
body.ciq-site-support-prototype-v1 .content-block{
  border:1px solid var(--ciq-site-support-border);
  border-radius:18px;
  background:var(--ciq-site-support-panel);
}

body.ciq-site-support-prototype-v1 .feature-grid > article,
body.ciq-site-support-prototype-v1 .card,
body.ciq-site-support-prototype-v1 .feature-card,
body.ciq-site-support-prototype-v1 .support-card,
body.ciq-site-support-prototype-v1 .faq-card,
body.ciq-site-support-prototype-v1 .notice,
body.ciq-site-support-prototype-v1 .metric-panel{
  padding:clamp(1rem,1.9vw,1.4rem);
}

body.ciq-site-support-prototype-v1 .content-block{
  max-width:920px;
  padding:clamp(1.15rem,2.35vw,1.85rem);
}

body.ciq-site-support-prototype-v1 .content-block + .content-block{
  margin-top:clamp(1.15rem,2.3vw,1.8rem);
}

body.ciq-site-support-prototype-v1 .feature-grid + .content-block,
body.ciq-site-support-prototype-v1 .card-grid + .content-block,
body.ciq-site-support-prototype-v1 .support-grid + .content-block,
body.ciq-site-support-prototype-v1 .faq-grid + .content-block,
body.ciq-site-support-prototype-v1 .table-wrap + .content-block{
  margin-top:0;
}

body.ciq-site-support-prototype-v1 .table-wrap{
  margin-top:clamp(1.05rem,2vw,1.5rem);
  margin-bottom:clamp(2.2rem,4.2vw,3.55rem);
  overflow-x:auto;
}

body.ciq-site-support-prototype-v1 table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}

body.ciq-site-support-prototype-v1 th,
body.ciq-site-support-prototype-v1 td{
  vertical-align:top;
}

body.ciq-site-support-prototype-v1 ul,
body.ciq-site-support-prototype-v1 ol{
  padding-left:1.2rem;
}

body.ciq-site-support-prototype-v1 li + li{
  margin-top:.42rem;
}

body.ciq-site-support-prototype-v1 .check-list,
body.ciq-site-support-prototype-v1 ul.check-list{
  padding:0;
  margin:.95rem 0;
  list-style:none;
  display:grid;
  gap:.62rem;
}

body.ciq-site-support-prototype-v1 .check-list li,
body.ciq-site-support-prototype-v1 ul.check-list li{
  position:relative;
  padding-left:1.55rem;
  line-height:1.58;
}

body.ciq-site-support-prototype-v1 .check-list li::before,
body.ciq-site-support-prototype-v1 ul.check-list li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:#19f28a;
  font-weight:800;
}

body.ciq-site-support-prototype-v1 .final-cta{
  padding-block:clamp(2.15rem,3.7vw,3.05rem);
  text-align:center;
}

body.ciq-site-support-prototype-v1 .final-cta .container,
body.ciq-site-support-prototype-v1 .public-polish-depth .container{
  max-width:900px;
}

body.ciq-site-support-prototype-v1 .final-cta h2,
body.ciq-site-support-prototype-v1 .final-cta p{
  margin-left:auto;
  margin-right:auto;
}

body.ciq-site-support-prototype-v1 .public-polish-depth{
  padding-block:clamp(2.05rem,3.6vw,3rem);
}

body.ciq-site-support-prototype-v1 .btn,
body.ciq-site-support-prototype-v1 .button,
body.ciq-site-support-prototype-v1 .cta,
body.ciq-site-support-prototype-v1 a[class*="btn"]{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:980px){
  body.ciq-site-support-prototype-v1 .container{
    width:min(100% - 32px,var(--ciq-site-support-rail));
  }

  body.ciq-site-support-prototype-v1 .hero-grid,
  body.ciq-site-support-prototype-v1 .page-hero-grid,
  body.ciq-site-support-prototype-v1 .split,
  body.ciq-site-support-prototype-v1 .feature-grid,
  body.ciq-site-support-prototype-v1 .support-grid,
  body.ciq-site-support-prototype-v1 .faq-grid,
  body.ciq-site-support-prototype-v1 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-site-support-prototype-v1 .container{
    width:min(100% - 24px,var(--ciq-site-support-rail));
  }

  body.ciq-site-support-prototype-v1 .hero,
  body.ciq-site-support-prototype-v1 .page-hero,
  body.ciq-site-support-prototype-v1 .compact-article-hero{
    padding-block:2.25rem;
  }

  body.ciq-site-support-prototype-v1 .section{
    padding-block:1.85rem;
  }

  body.ciq-site-support-prototype-v1 .content-block,
  body.ciq-site-support-prototype-v1 .feature-grid > article,
  body.ciq-site-support-prototype-v1 .card,
  body.ciq-site-support-prototype-v1 .feature-card,
  body.ciq-site-support-prototype-v1 .support-card,
  body.ciq-site-support-prototype-v1 .faq-card,
  body.ciq-site-support-prototype-v1 .notice,
  body.ciq-site-support-prototype-v1 .metric-panel{
    border-radius:16px;
  }

  body.ciq-site-support-prototype-v1 .btn,
  body.ciq-site-support-prototype-v1 .button,
  body.ciq-site-support-prototype-v1 .cta,
  body.ciq-site-support-prototype-v1 a[class*="btn"]{
    width:100%;
  }

  body.ciq-site-support-prototype-v1 .hero-actions,
  body.ciq-site-support-prototype-v1 .cta-row,
  body.ciq-site-support-prototype-v1 .btn-row{
    align-items:stretch;
  }
}
/* CIQ Phase 3G end */


body.ciq-legal-detail-prototype-v1{
  --ciq-legal-rail:1040px;
  --ciq-legal-text:820px;
  --ciq-legal-panel:rgba(255,255,255,.028);
  --ciq-legal-border:rgba(215,166,47,.16);
}

/* Legal detail pages should be calm, readable, and precise. */
body.ciq-legal-detail-prototype-v1 .hero,
body.ciq-legal-detail-prototype-v1 .page-hero,
body.ciq-legal-detail-prototype-v1 .compact-article-hero{
  padding-block:clamp(2.45rem,4.2vw,3.55rem);
}

body.ciq-legal-detail-prototype-v1 .hero-grid,
body.ciq-legal-detail-prototype-v1 .page-hero-grid{
  gap:clamp(1.25rem,2.6vw,2rem);
  align-items:center;
}

body.ciq-legal-detail-prototype-v1 .hero-copy h1,
body.ciq-legal-detail-prototype-v1 .page-hero h1,
body.ciq-legal-detail-prototype-v1 .compact-article-hero h1{
  max-width:820px;
  font-size:clamp(1.78rem,2.85vw,2.7rem);
  line-height:1.08;
  letter-spacing:-.03em;
  text-wrap:balance;
}

body.ciq-legal-detail-prototype-v1 .hero-copy .lead,
body.ciq-legal-detail-prototype-v1 .hero-copy p,
body.ciq-legal-detail-prototype-v1 .page-hero p,
body.ciq-legal-detail-prototype-v1 .compact-article-hero p{
  max-width:820px;
  font-size:clamp(.97rem,1.05vw,1.04rem);
  line-height:1.72;
}

body.ciq-legal-detail-prototype-v1 .container{
  width:min(var(--ciq-legal-rail),calc(100% - 40px));
  max-width:var(--ciq-legal-rail);
  margin-inline:auto;
}

body.ciq-legal-detail-prototype-v1 .section{
  padding-block:clamp(2rem,3.3vw,2.85rem);
}

body.ciq-legal-detail-prototype-v1 .section + .section,
body.ciq-legal-detail-prototype-v1 .section + .final-cta,
body.ciq-legal-detail-prototype-v1 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.08);
}

body.ciq-legal-detail-prototype-v1 .section-head{
  max-width:var(--ciq-legal-text);
  margin-bottom:clamp(1rem,1.85vw,1.45rem);
}

body.ciq-legal-detail-prototype-v1 .section-head h2,
body.ciq-legal-detail-prototype-v1 .content-block h2,
body.ciq-legal-detail-prototype-v1 .legal-content h2,
body.ciq-legal-detail-prototype-v1 article h2,
body.ciq-legal-detail-prototype-v1 .public-polish-depth h2{
  font-size:clamp(1.22rem,1.65vw,1.68rem);
  line-height:1.2;
  letter-spacing:-.015em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.72rem;
}

body.ciq-legal-detail-prototype-v1 .content-block h3,
body.ciq-legal-detail-prototype-v1 .legal-content h3,
body.ciq-legal-detail-prototype-v1 article h3,
body.ciq-legal-detail-prototype-v1 .feature-grid > article h2,
body.ciq-legal-detail-prototype-v1 .feature-grid > article h3,
body.ciq-legal-detail-prototype-v1 .card h2,
body.ciq-legal-detail-prototype-v1 .card h3{
  font-size:clamp(1.03rem,1.16vw,1.16rem);
  line-height:1.26;
  letter-spacing:-.005em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.62rem;
}

body.ciq-legal-detail-prototype-v1 .section-head .lead,
body.ciq-legal-detail-prototype-v1 .content-block p,
body.ciq-legal-detail-prototype-v1 .legal-content p,
body.ciq-legal-detail-prototype-v1 article p,
body.ciq-legal-detail-prototype-v1 .public-polish-depth p{
  max-width:var(--ciq-legal-text);
  line-height:1.72;
}

body.ciq-legal-detail-prototype-v1 p,
body.ciq-legal-detail-prototype-v1 li,
body.ciq-legal-detail-prototype-v1 td,
body.ciq-legal-detail-prototype-v1 th{
  line-height:1.72;
}

body.ciq-legal-detail-prototype-v1 p + p{
  margin-top:.88rem;
}

body.ciq-legal-detail-prototype-v1 .content-block,
body.ciq-legal-detail-prototype-v1 .legal-content,
body.ciq-legal-detail-prototype-v1 main article,
body.ciq-legal-detail-prototype-v1 .notice,
body.ciq-legal-detail-prototype-v1 .callout,
body.ciq-legal-detail-prototype-v1 .feature-grid > article,
body.ciq-legal-detail-prototype-v1 .card,
body.ciq-legal-detail-prototype-v1 .feature-card{
  border:1px solid var(--ciq-legal-border);
  border-radius:18px;
  background:var(--ciq-legal-panel);
}

body.ciq-legal-detail-prototype-v1 .content-block,
body.ciq-legal-detail-prototype-v1 .legal-content,
body.ciq-legal-detail-prototype-v1 main article{
  max-width:920px;
  padding:clamp(1.15rem,2.2vw,1.75rem);
}

body.ciq-legal-detail-prototype-v1 .notice,
body.ciq-legal-detail-prototype-v1 .callout,
body.ciq-legal-detail-prototype-v1 .feature-grid > article,
body.ciq-legal-detail-prototype-v1 .card,
body.ciq-legal-detail-prototype-v1 .feature-card{
  padding:clamp(1rem,1.75vw,1.3rem);
}

body.ciq-legal-detail-prototype-v1 .content-block + .content-block,
body.ciq-legal-detail-prototype-v1 .legal-content + .content-block,
body.ciq-legal-detail-prototype-v1 .content-block + .legal-content{
  margin-top:clamp(1.05rem,2vw,1.55rem);
}

body.ciq-legal-detail-prototype-v1 .feature-grid,
body.ciq-legal-detail-prototype-v1 .card-grid,
body.ciq-legal-detail-prototype-v1 .product-grid,
body.ciq-legal-detail-prototype-v1 .article-card-list{
  gap:clamp(1rem,1.75vw,1.2rem);
  align-items:stretch;
  margin-top:clamp(1rem,1.8vw,1.35rem);
  margin-bottom:clamp(2rem,3.8vw,3rem);
}

body.ciq-legal-detail-prototype-v1 .feature-grid + .content-block,
body.ciq-legal-detail-prototype-v1 .card-grid + .content-block,
body.ciq-legal-detail-prototype-v1 .table-wrap + .content-block,
body.ciq-legal-detail-prototype-v1 .table-wrap + .legal-content{
  margin-top:0;
}

body.ciq-legal-detail-prototype-v1 .table-wrap{
  margin-top:clamp(1rem,1.8vw,1.35rem);
  margin-bottom:clamp(2rem,3.8vw,3rem);
  overflow-x:auto;
}

body.ciq-legal-detail-prototype-v1 table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}

body.ciq-legal-detail-prototype-v1 th,
body.ciq-legal-detail-prototype-v1 td{
  vertical-align:top;
}

body.ciq-legal-detail-prototype-v1 ul,
body.ciq-legal-detail-prototype-v1 ol{
  padding-left:1.2rem;
  max-width:var(--ciq-legal-text);
}

body.ciq-legal-detail-prototype-v1 li + li{
  margin-top:.42rem;
}

body.ciq-legal-detail-prototype-v1 .check-list,
body.ciq-legal-detail-prototype-v1 ul.check-list{
  padding:0;
  margin:.95rem 0;
  list-style:none;
  display:grid;
  gap:.62rem;
}

body.ciq-legal-detail-prototype-v1 .check-list li,
body.ciq-legal-detail-prototype-v1 ul.check-list li{
  position:relative;
  padding-left:1.55rem;
  line-height:1.58;
}

body.ciq-legal-detail-prototype-v1 .check-list li::before,
body.ciq-legal-detail-prototype-v1 ul.check-list li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:#19f28a;
  font-weight:800;
}

body.ciq-legal-detail-prototype-v1 .final-cta{
  padding-block:clamp(2rem,3.4vw,2.85rem);
  text-align:center;
}

body.ciq-legal-detail-prototype-v1 .final-cta .container,
body.ciq-legal-detail-prototype-v1 .public-polish-depth .container{
  max-width:900px;
}

body.ciq-legal-detail-prototype-v1 .final-cta h2,
body.ciq-legal-detail-prototype-v1 .final-cta p{
  margin-left:auto;
  margin-right:auto;
}

body.ciq-legal-detail-prototype-v1 .final-cta h2{
  font-size:clamp(1.25rem,1.75vw,1.75rem);
}

body.ciq-legal-detail-prototype-v1 .public-polish-depth{
  padding-block:clamp(2rem,3.4vw,2.85rem);
}

body.ciq-legal-detail-prototype-v1 .btn,
body.ciq-legal-detail-prototype-v1 .button,
body.ciq-legal-detail-prototype-v1 .cta,
body.ciq-legal-detail-prototype-v1 a[class*="btn"]{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:980px){
  body.ciq-legal-detail-prototype-v1 .container{
    width:min(100% - 32px,var(--ciq-legal-rail));
  }

  body.ciq-legal-detail-prototype-v1 .hero-grid,
  body.ciq-legal-detail-prototype-v1 .page-hero-grid,
  body.ciq-legal-detail-prototype-v1 .split,
  body.ciq-legal-detail-prototype-v1 .feature-grid,
  body.ciq-legal-detail-prototype-v1 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-legal-detail-prototype-v1 .container{
    width:min(100% - 24px,var(--ciq-legal-rail));
  }

  body.ciq-legal-detail-prototype-v1 .hero,
  body.ciq-legal-detail-prototype-v1 .page-hero,
  body.ciq-legal-detail-prototype-v1 .compact-article-hero{
    padding-block:2.15rem;
  }

  body.ciq-legal-detail-prototype-v1 .section{
    padding-block:1.75rem;
  }

  body.ciq-legal-detail-prototype-v1 .content-block,
  body.ciq-legal-detail-prototype-v1 .legal-content,
  body.ciq-legal-detail-prototype-v1 main article,
  body.ciq-legal-detail-prototype-v1 .notice,
  body.ciq-legal-detail-prototype-v1 .callout,
  body.ciq-legal-detail-prototype-v1 .card,
  body.ciq-legal-detail-prototype-v1 .feature-card{
    border-radius:16px;
  }

  body.ciq-legal-detail-prototype-v1 .btn,
  body.ciq-legal-detail-prototype-v1 .button,
  body.ciq-legal-detail-prototype-v1 .cta,
  body.ciq-legal-detail-prototype-v1 a[class*="btn"]{
    width:100%;
  }

  body.ciq-legal-detail-prototype-v1 .hero-actions,
  body.ciq-legal-detail-prototype-v1 .cta-row,
  body.ciq-legal-detail-prototype-v1 .btn-row{
    align-items:stretch;
  }
}
/* CIQ Phase 3H end */


body.ciq-legal-detail-prototype-v2{
  --ciq-legal-rail:1040px;
  --ciq-legal-text:820px;
  --ciq-legal-panel:rgba(255,255,255,.028);
  --ciq-legal-border:rgba(215,166,47,.16);
}

/*
  Legal detail pages should be smaller and calmer than product/sales pages.
  Target h1 is intentionally below the large product hero scale.
*/
body.ciq-legal-detail-prototype-v2 .hero,
body.ciq-legal-detail-prototype-v2 .page-hero,
body.ciq-legal-detail-prototype-v2 .compact-article-hero{
  padding-top:clamp(2.15rem,3.35vw,3rem);
  padding-bottom:clamp(2.15rem,3.35vw,3rem);
}

body.ciq-legal-detail-prototype-v2 .hero-grid,
body.ciq-legal-detail-prototype-v2 .page-hero-grid{
  gap:clamp(1.2rem,2.4vw,1.85rem);
  align-items:center;
}

body.ciq-legal-detail-prototype-v2 .hero-copy h1,
body.ciq-legal-detail-prototype-v2 .page-hero h1,
body.ciq-legal-detail-prototype-v2 .compact-article-hero h1{
  max-width:800px;
  font-size:clamp(1.65rem,2.35vw,2.35rem);
  line-height:1.09;
  letter-spacing:-.025em;
  text-wrap:balance;
  margin-bottom:clamp(.85rem,1.55vw,1.15rem);
}

body.ciq-legal-detail-prototype-v2 .hero-copy .lead,
body.ciq-legal-detail-prototype-v2 .hero-copy p,
body.ciq-legal-detail-prototype-v2 .page-hero p,
body.ciq-legal-detail-prototype-v2 .compact-article-hero p{
  max-width:800px;
  font-size:clamp(.96rem,1vw,1.02rem);
  line-height:1.7;
}

body.ciq-legal-detail-prototype-v2 .container{
  width:min(var(--ciq-legal-rail),calc(100% - 40px));
  max-width:var(--ciq-legal-rail);
  margin-inline:auto;
}

body.ciq-legal-detail-prototype-v2 .section{
  padding-top:clamp(1.65rem,2.7vw,2.35rem);
  padding-bottom:clamp(1.65rem,2.7vw,2.35rem);
}

body.ciq-legal-detail-prototype-v2 .section + .section,
body.ciq-legal-detail-prototype-v2 .section + .final-cta,
body.ciq-legal-detail-prototype-v2 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.08);
}

body.ciq-legal-detail-prototype-v2 .section-head{
  max-width:var(--ciq-legal-text);
  margin-bottom:clamp(.95rem,1.7vw,1.3rem);
}

body.ciq-legal-detail-prototype-v2 .section-head h2,
body.ciq-legal-detail-prototype-v2 .content-block h2,
body.ciq-legal-detail-prototype-v2 .legal-content h2,
body.ciq-legal-detail-prototype-v2 article h2,
body.ciq-legal-detail-prototype-v2 .public-polish-depth h2{
  font-size:clamp(1.16rem,1.48vw,1.48rem);
  line-height:1.22;
  letter-spacing:-.012em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.68rem;
}

body.ciq-legal-detail-prototype-v2 .content-block h3,
body.ciq-legal-detail-prototype-v2 .legal-content h3,
body.ciq-legal-detail-prototype-v2 article h3,
body.ciq-legal-detail-prototype-v2 .feature-grid > article h2,
body.ciq-legal-detail-prototype-v2 .feature-grid > article h3,
body.ciq-legal-detail-prototype-v2 .card h2,
body.ciq-legal-detail-prototype-v2 .card h3{
  font-size:clamp(1.02rem,1.1vw,1.12rem);
  line-height:1.28;
  letter-spacing:-.004em;
  text-wrap:balance;
  margin-top:0;
  margin-bottom:.58rem;
}

body.ciq-legal-detail-prototype-v2 .section-head .lead,
body.ciq-legal-detail-prototype-v2 .content-block p,
body.ciq-legal-detail-prototype-v2 .legal-content p,
body.ciq-legal-detail-prototype-v2 article p,
body.ciq-legal-detail-prototype-v2 .public-polish-depth p{
  max-width:var(--ciq-legal-text);
  line-height:1.7;
}

body.ciq-legal-detail-prototype-v2 p,
body.ciq-legal-detail-prototype-v2 li,
body.ciq-legal-detail-prototype-v2 td,
body.ciq-legal-detail-prototype-v2 th{
  line-height:1.7;
}

body.ciq-legal-detail-prototype-v2 p + p{
  margin-top:.82rem;
}

/* Legal cards and content panels: readable, not bulky. */
body.ciq-legal-detail-prototype-v2 .content-block,
body.ciq-legal-detail-prototype-v2 .legal-content,
body.ciq-legal-detail-prototype-v2 main article,
body.ciq-legal-detail-prototype-v2 .notice,
body.ciq-legal-detail-prototype-v2 .callout,
body.ciq-legal-detail-prototype-v2 .feature-grid > article,
body.ciq-legal-detail-prototype-v2 .card,
body.ciq-legal-detail-prototype-v2 .feature-card{
  border:1px solid var(--ciq-legal-border);
  border-radius:18px;
  background:var(--ciq-legal-panel);
}

body.ciq-legal-detail-prototype-v2 .content-block,
body.ciq-legal-detail-prototype-v2 .legal-content,
body.ciq-legal-detail-prototype-v2 main article{
  max-width:920px;
  padding:clamp(1.05rem,1.95vw,1.5rem);
}

body.ciq-legal-detail-prototype-v2 .notice,
body.ciq-legal-detail-prototype-v2 .callout,
body.ciq-legal-detail-prototype-v2 .feature-grid > article,
body.ciq-legal-detail-prototype-v2 .card,
body.ciq-legal-detail-prototype-v2 .feature-card{
  padding:clamp(.95rem,1.55vw,1.2rem);
}

body.ciq-legal-detail-prototype-v2 .content-block + .content-block,
body.ciq-legal-detail-prototype-v2 .legal-content + .content-block,
body.ciq-legal-detail-prototype-v2 .content-block + .legal-content{
  margin-top:clamp(.95rem,1.8vw,1.35rem);
}

body.ciq-legal-detail-prototype-v2 .feature-grid,
body.ciq-legal-detail-prototype-v2 .card-grid,
body.ciq-legal-detail-prototype-v2 .product-grid,
body.ciq-legal-detail-prototype-v2 .article-card-list{
  gap:clamp(.95rem,1.55vw,1.15rem);
  align-items:stretch;
  margin-top:clamp(.95rem,1.6vw,1.2rem);
  margin-bottom:clamp(1.65rem,2.7vw,2.35rem);
}

body.ciq-legal-detail-prototype-v2 .feature-grid + .content-block,
body.ciq-legal-detail-prototype-v2 .card-grid + .content-block,
body.ciq-legal-detail-prototype-v2 .table-wrap + .content-block,
body.ciq-legal-detail-prototype-v2 .table-wrap + .legal-content{
  margin-top:0;
}

body.ciq-legal-detail-prototype-v2 .table-wrap{
  margin-top:clamp(.95rem,1.6vw,1.2rem);
  margin-bottom:clamp(1.65rem,2.7vw,2.35rem);
  overflow-x:auto;
}

body.ciq-legal-detail-prototype-v2 table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}

body.ciq-legal-detail-prototype-v2 th,
body.ciq-legal-detail-prototype-v2 td{
  vertical-align:top;
}

body.ciq-legal-detail-prototype-v2 ul,
body.ciq-legal-detail-prototype-v2 ol{
  padding-left:1.2rem;
  max-width:var(--ciq-legal-text);
}

body.ciq-legal-detail-prototype-v2 li + li{
  margin-top:.38rem;
}

body.ciq-legal-detail-prototype-v2 .check-list,
body.ciq-legal-detail-prototype-v2 ul.check-list{
  padding:0;
  margin:.85rem 0;
  list-style:none;
  display:grid;
  gap:.55rem;
}

body.ciq-legal-detail-prototype-v2 .check-list li,
body.ciq-legal-detail-prototype-v2 ul.check-list li{
  position:relative;
  padding-left:1.45rem;
  line-height:1.56;
}

body.ciq-legal-detail-prototype-v2 .check-list li::before,
body.ciq-legal-detail-prototype-v2 ul.check-list li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:#19f28a;
  font-weight:800;
}

body.ciq-legal-detail-prototype-v2 .final-cta{
  padding-top:clamp(1.65rem,2.7vw,2.35rem);
  padding-bottom:clamp(1.65rem,2.7vw,2.35rem);
  text-align:center;
}

body.ciq-legal-detail-prototype-v2 .final-cta .container,
body.ciq-legal-detail-prototype-v2 .public-polish-depth .container{
  max-width:860px;
}

body.ciq-legal-detail-prototype-v2 .final-cta h2,
body.ciq-legal-detail-prototype-v2 .final-cta p{
  margin-left:auto;
  margin-right:auto;
}

body.ciq-legal-detail-prototype-v2 .final-cta h2{
  font-size:clamp(1.18rem,1.55vw,1.55rem);
}

body.ciq-legal-detail-prototype-v2 .public-polish-depth{
  padding-top:clamp(1.65rem,2.7vw,2.35rem);
  padding-bottom:clamp(1.65rem,2.7vw,2.35rem);
}

body.ciq-legal-detail-prototype-v2 .btn,
body.ciq-legal-detail-prototype-v2 .button,
body.ciq-legal-detail-prototype-v2 .cta,
body.ciq-legal-detail-prototype-v2 a[class*="btn"]{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:980px){
  body.ciq-legal-detail-prototype-v2 .container{
    width:min(100% - 32px,var(--ciq-legal-rail));
  }

  body.ciq-legal-detail-prototype-v2 .hero-grid,
  body.ciq-legal-detail-prototype-v2 .page-hero-grid,
  body.ciq-legal-detail-prototype-v2 .split,
  body.ciq-legal-detail-prototype-v2 .feature-grid,
  body.ciq-legal-detail-prototype-v2 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-legal-detail-prototype-v2 .container{
    width:min(100% - 24px,var(--ciq-legal-rail));
  }

  body.ciq-legal-detail-prototype-v2 .hero,
  body.ciq-legal-detail-prototype-v2 .page-hero,
  body.ciq-legal-detail-prototype-v2 .compact-article-hero{
    padding-top:1.9rem;
    padding-bottom:1.9rem;
  }

  body.ciq-legal-detail-prototype-v2 .hero-copy h1,
  body.ciq-legal-detail-prototype-v2 .page-hero h1,
  body.ciq-legal-detail-prototype-v2 .compact-article-hero h1{
    font-size:clamp(1.55rem,8vw,2.05rem);
  }

  body.ciq-legal-detail-prototype-v2 .section{
    padding-top:1.45rem;
    padding-bottom:1.45rem;
  }

  body.ciq-legal-detail-prototype-v2 .content-block,
  body.ciq-legal-detail-prototype-v2 .legal-content,
  body.ciq-legal-detail-prototype-v2 main article,
  body.ciq-legal-detail-prototype-v2 .notice,
  body.ciq-legal-detail-prototype-v2 .callout,
  body.ciq-legal-detail-prototype-v2 .card,
  body.ciq-legal-detail-prototype-v2 .feature-card{
    border-radius:16px;
  }

  body.ciq-legal-detail-prototype-v2 .btn,
  body.ciq-legal-detail-prototype-v2 .button,
  body.ciq-legal-detail-prototype-v2 .cta,
  body.ciq-legal-detail-prototype-v2 a[class*="btn"]{
    width:100%;
  }

  body.ciq-legal-detail-prototype-v2 .hero-actions,
  body.ciq-legal-detail-prototype-v2 .cta-row,
  body.ciq-legal-detail-prototype-v2 .btn-row{
    align-items:stretch;
  }
}
/* CIQ Phase 3H v2 end */


body.ciq-legal-detail-prototype-v3{
  --ciq-legal-rail:1040px;
  --ciq-legal-text:820px;
  --ciq-legal-panel:rgba(255,255,255,.028);
  --ciq-legal-border:rgba(215,166,47,.16);
}

/*
  This block intentionally uses a few scoped !important rules because the
  existing global hero/type rules are stronger than the first legal pass.
  Scope is limited to legal detail pages with body.ciq-legal-detail-prototype-v3.
*/
body.ciq-legal-detail-prototype-v3 .container{
  width:min(var(--ciq-legal-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-legal-rail) !important;
  margin-inline:auto !important;
}

/* Legal hero: smaller and balanced top/bottom. */
body.ciq-legal-detail-prototype-v3 .hero,
body.ciq-legal-detail-prototype-v3 .page-hero,
body.ciq-legal-detail-prototype-v3 .compact-article-hero,
body.ciq-legal-detail-prototype-v3 [class*="hero"]{
  min-height:0 !important;
  padding-top:clamp(2rem,3vw,2.75rem) !important;
  padding-bottom:clamp(2rem,3vw,2.75rem) !important;
}

body.ciq-legal-detail-prototype-v3 .hero-grid,
body.ciq-legal-detail-prototype-v3 .page-hero-grid,
body.ciq-legal-detail-prototype-v3 [class*="hero-grid"]{
  gap:clamp(1.1rem,2.2vw,1.75rem) !important;
  align-items:center !important;
}

/* Legal detail h1 must not use product/sales hero scale. */
body.ciq-legal-detail-prototype-v3 h1,
body.ciq-legal-detail-prototype-v3 .hero h1,
body.ciq-legal-detail-prototype-v3 .page-hero h1,
body.ciq-legal-detail-prototype-v3 .compact-article-hero h1,
body.ciq-legal-detail-prototype-v3 .hero-title,
body.ciq-legal-detail-prototype-v3 .page-title,
body.ciq-legal-detail-prototype-v3 .display-title,
body.ciq-legal-detail-prototype-v3 [class*="hero"] h1,
body.ciq-legal-detail-prototype-v3 [class*="title"] h1{
  max-width:760px !important;
  font-size:clamp(1.55rem,2.05vw,2.05rem) !important;
  line-height:1.12 !important;
  letter-spacing:-.02em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.75rem,1.35vw,1rem) !important;
}

body.ciq-legal-detail-prototype-v3 .hero-copy .lead,
body.ciq-legal-detail-prototype-v3 .hero-copy p,
body.ciq-legal-detail-prototype-v3 .page-hero p,
body.ciq-legal-detail-prototype-v3 .compact-article-hero p,
body.ciq-legal-detail-prototype-v3 [class*="hero"] p{
  max-width:780px !important;
  font-size:clamp(.95rem,1vw,1.01rem) !important;
  line-height:1.7 !important;
}

/* Content rhythm: legal detail pages should be tighter than marketing pages. */
body.ciq-legal-detail-prototype-v3 .section{
  padding-top:clamp(1.45rem,2.35vw,2.05rem) !important;
  padding-bottom:clamp(1.45rem,2.35vw,2.05rem) !important;
}

body.ciq-legal-detail-prototype-v3 .section + .section,
body.ciq-legal-detail-prototype-v3 .section + .final-cta,
body.ciq-legal-detail-prototype-v3 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.08) !important;
}

body.ciq-legal-detail-prototype-v3 .section-head{
  max-width:var(--ciq-legal-text) !important;
  margin-bottom:clamp(.85rem,1.5vw,1.15rem) !important;
}

body.ciq-legal-detail-prototype-v3 .section-head h2,
body.ciq-legal-detail-prototype-v3 .content-block h2,
body.ciq-legal-detail-prototype-v3 .legal-content h2,
body.ciq-legal-detail-prototype-v3 article h2,
body.ciq-legal-detail-prototype-v3 main h2,
body.ciq-legal-detail-prototype-v3 .public-polish-depth h2{
  font-size:clamp(1.12rem,1.35vw,1.35rem) !important;
  line-height:1.24 !important;
  letter-spacing:-.01em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.6rem !important;
}

body.ciq-legal-detail-prototype-v3 .content-block h3,
body.ciq-legal-detail-prototype-v3 .legal-content h3,
body.ciq-legal-detail-prototype-v3 article h3,
body.ciq-legal-detail-prototype-v3 main h3,
body.ciq-legal-detail-prototype-v3 .feature-grid > article h2,
body.ciq-legal-detail-prototype-v3 .feature-grid > article h3,
body.ciq-legal-detail-prototype-v3 .card h2,
body.ciq-legal-detail-prototype-v3 .card h3{
  font-size:clamp(1rem,1.05vw,1.08rem) !important;
  line-height:1.28 !important;
  letter-spacing:0 !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.55rem !important;
}

body.ciq-legal-detail-prototype-v3 p,
body.ciq-legal-detail-prototype-v3 li,
body.ciq-legal-detail-prototype-v3 td,
body.ciq-legal-detail-prototype-v3 th{
  line-height:1.68 !important;
}

body.ciq-legal-detail-prototype-v3 p + p{
  margin-top:.78rem !important;
}

body.ciq-legal-detail-prototype-v3 .content-block,
body.ciq-legal-detail-prototype-v3 .legal-content,
body.ciq-legal-detail-prototype-v3 main article,
body.ciq-legal-detail-prototype-v3 .notice,
body.ciq-legal-detail-prototype-v3 .callout,
body.ciq-legal-detail-prototype-v3 .feature-grid > article,
body.ciq-legal-detail-prototype-v3 .card,
body.ciq-legal-detail-prototype-v3 .feature-card{
  border:1px solid var(--ciq-legal-border) !important;
  border-radius:18px !important;
  background:var(--ciq-legal-panel) !important;
}

body.ciq-legal-detail-prototype-v3 .content-block,
body.ciq-legal-detail-prototype-v3 .legal-content,
body.ciq-legal-detail-prototype-v3 main article{
  max-width:920px !important;
  padding:clamp(1rem,1.75vw,1.35rem) !important;
}

body.ciq-legal-detail-prototype-v3 .notice,
body.ciq-legal-detail-prototype-v3 .callout,
body.ciq-legal-detail-prototype-v3 .feature-grid > article,
body.ciq-legal-detail-prototype-v3 .card,
body.ciq-legal-detail-prototype-v3 .feature-card{
  padding:clamp(.9rem,1.45vw,1.1rem) !important;
}

body.ciq-legal-detail-prototype-v3 .feature-grid,
body.ciq-legal-detail-prototype-v3 .card-grid,
body.ciq-legal-detail-prototype-v3 .product-grid,
body.ciq-legal-detail-prototype-v3 .article-card-list{
  gap:clamp(.9rem,1.45vw,1.05rem) !important;
  align-items:stretch !important;
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.45rem,2.35vw,2.05rem) !important;
}

body.ciq-legal-detail-prototype-v3 .table-wrap{
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.45rem,2.35vw,2.05rem) !important;
  overflow-x:auto !important;
}

body.ciq-legal-detail-prototype-v3 ul,
body.ciq-legal-detail-prototype-v3 ol{
  padding-left:1.15rem !important;
  max-width:var(--ciq-legal-text) !important;
}

body.ciq-legal-detail-prototype-v3 li + li{
  margin-top:.34rem !important;
}

body.ciq-legal-detail-prototype-v3 .final-cta,
body.ciq-legal-detail-prototype-v3 .public-polish-depth{
  padding-top:clamp(1.45rem,2.35vw,2.05rem) !important;
  padding-bottom:clamp(1.45rem,2.35vw,2.05rem) !important;
}

body.ciq-legal-detail-prototype-v3 .final-cta{
  text-align:center !important;
}

body.ciq-legal-detail-prototype-v3 .final-cta .container,
body.ciq-legal-detail-prototype-v3 .public-polish-depth .container{
  max-width:860px !important;
}

body.ciq-legal-detail-prototype-v3 .final-cta h2{
  font-size:clamp(1.15rem,1.45vw,1.45rem) !important;
}

body.ciq-legal-detail-prototype-v3 .btn,
body.ciq-legal-detail-prototype-v3 .button,
body.ciq-legal-detail-prototype-v3 .cta,
body.ciq-legal-detail-prototype-v3 a[class*="btn"]{
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:980px){
  body.ciq-legal-detail-prototype-v3 .container{
    width:min(100% - 32px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v3 .hero-grid,
  body.ciq-legal-detail-prototype-v3 .page-hero-grid,
  body.ciq-legal-detail-prototype-v3 .split,
  body.ciq-legal-detail-prototype-v3 .feature-grid,
  body.ciq-legal-detail-prototype-v3 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-legal-detail-prototype-v3 .container{
    width:min(100% - 24px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v3 .hero,
  body.ciq-legal-detail-prototype-v3 .page-hero,
  body.ciq-legal-detail-prototype-v3 .compact-article-hero,
  body.ciq-legal-detail-prototype-v3 [class*="hero"]{
    padding-top:1.75rem !important;
    padding-bottom:1.75rem !important;
  }

  body.ciq-legal-detail-prototype-v3 h1,
  body.ciq-legal-detail-prototype-v3 [class*="hero"] h1{
    font-size:clamp(1.45rem,7.2vw,1.9rem) !important;
  }

  body.ciq-legal-detail-prototype-v3 .section{
    padding-top:1.3rem !important;
    padding-bottom:1.3rem !important;
  }

  body.ciq-legal-detail-prototype-v3 .btn,
  body.ciq-legal-detail-prototype-v3 .button,
  body.ciq-legal-detail-prototype-v3 .cta,
  body.ciq-legal-detail-prototype-v3 a[class*="btn"]{
    width:100% !important;
  }
}
/* CIQ Phase 3H v3 end */


body.ciq-legal-detail-prototype-v4{
  --ciq-legal-rail:1040px;
  --ciq-legal-text:820px;
  --ciq-legal-panel:rgba(255,255,255,.028);
  --ciq-legal-border:rgba(215,166,47,.16);
  --ciq-legal-hero-pad:clamp(2.15rem,3vw,2.75rem);
}

/*
  Legal detail override.
  Uses scoped !important rules because existing global hero/title rules are stronger.
  Scope is limited to body.ciq-legal-detail-prototype-v4.
*/
body.ciq-legal-detail-prototype-v4 .container{
  width:min(var(--ciq-legal-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-legal-rail) !important;
  margin-inline:auto !important;
}

/* Force hero vertical rhythm: same top and bottom padding, no hidden min-height. */
body.ciq-legal-detail-prototype-v4 .hero,
body.ciq-legal-detail-prototype-v4 .page-hero,
body.ciq-legal-detail-prototype-v4 .compact-article-hero,
body.ciq-legal-detail-prototype-v4 [class*="hero"]{
  min-height:0 !important;
  height:auto !important;
  padding-top:var(--ciq-legal-hero-pad) !important;
  padding-bottom:var(--ciq-legal-hero-pad) !important;
  display:block !important;
}

body.ciq-legal-detail-prototype-v4 .hero .container,
body.ciq-legal-detail-prototype-v4 .page-hero .container,
body.ciq-legal-detail-prototype-v4 .compact-article-hero .container,
body.ciq-legal-detail-prototype-v4 [class*="hero"] .container{
  padding-top:0 !important;
  padding-bottom:0 !important;
}

body.ciq-legal-detail-prototype-v4 .hero-grid,
body.ciq-legal-detail-prototype-v4 .page-hero-grid,
body.ciq-legal-detail-prototype-v4 [class*="hero-grid"]{
  min-height:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  gap:clamp(1rem,2vw,1.5rem) !important;
  align-items:center !important;
}

body.ciq-legal-detail-prototype-v4 .hero-copy,
body.ciq-legal-detail-prototype-v4 .page-hero-copy,
body.ciq-legal-detail-prototype-v4 .compact-article-hero-copy,
body.ciq-legal-detail-prototype-v4 [class*="hero"] [class*="copy"]{
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* Remove hidden top/bottom imbalance from first/last hero children. */
body.ciq-legal-detail-prototype-v4 .hero-copy > :first-child,
body.ciq-legal-detail-prototype-v4 .page-hero > .container > :first-child,
body.ciq-legal-detail-prototype-v4 .compact-article-hero > .container > :first-child,
body.ciq-legal-detail-prototype-v4 [class*="hero"] .container > :first-child,
body.ciq-legal-detail-prototype-v4 [class*="hero"] [class*="copy"] > :first-child{
  margin-top:0 !important;
}

body.ciq-legal-detail-prototype-v4 .hero-copy > :last-child,
body.ciq-legal-detail-prototype-v4 .page-hero > .container > :last-child,
body.ciq-legal-detail-prototype-v4 .compact-article-hero > .container > :last-child,
body.ciq-legal-detail-prototype-v4 [class*="hero"] .container > :last-child,
body.ciq-legal-detail-prototype-v4 [class*="hero"] [class*="copy"] > :last-child{
  margin-bottom:0 !important;
}

/* Legal detail h1: document scale, not product/sales scale. */
body.ciq-legal-detail-prototype-v4 h1,
body.ciq-legal-detail-prototype-v4 .hero h1,
body.ciq-legal-detail-prototype-v4 .page-hero h1,
body.ciq-legal-detail-prototype-v4 .compact-article-hero h1,
body.ciq-legal-detail-prototype-v4 .hero-title,
body.ciq-legal-detail-prototype-v4 .page-title,
body.ciq-legal-detail-prototype-v4 .display-title,
body.ciq-legal-detail-prototype-v4 [class*="hero"] h1,
body.ciq-legal-detail-prototype-v4 [class*="title"] h1{
  max-width:760px !important;
  font-size:clamp(1.55rem,2.05vw,2.05rem) !important;
  line-height:1.12 !important;
  letter-spacing:-.02em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.72rem,1.25vw,.95rem) !important;
}

body.ciq-legal-detail-prototype-v4 .eyebrow,
body.ciq-legal-detail-prototype-v4 .kicker,
body.ciq-legal-detail-prototype-v4 .section-kicker,
body.ciq-legal-detail-prototype-v4 [class*="eyebrow"],
body.ciq-legal-detail-prototype-v4 [class*="kicker"]{
  margin-top:0 !important;
  margin-bottom:clamp(.65rem,1vw,.85rem) !important;
}

body.ciq-legal-detail-prototype-v4 .hero-copy .lead,
body.ciq-legal-detail-prototype-v4 .hero-copy p,
body.ciq-legal-detail-prototype-v4 .page-hero p,
body.ciq-legal-detail-prototype-v4 .compact-article-hero p,
body.ciq-legal-detail-prototype-v4 [class*="hero"] p{
  max-width:780px !important;
  font-size:clamp(.95rem,1vw,1.01rem) !important;
  line-height:1.68 !important;
}

/* Legal content rhythm. */
body.ciq-legal-detail-prototype-v4 .section{
  padding-top:clamp(1.45rem,2.35vw,2.05rem) !important;
  padding-bottom:clamp(1.45rem,2.35vw,2.05rem) !important;
}

body.ciq-legal-detail-prototype-v4 .section + .section,
body.ciq-legal-detail-prototype-v4 .section + .final-cta,
body.ciq-legal-detail-prototype-v4 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.08) !important;
}

body.ciq-legal-detail-prototype-v4 .section-head{
  max-width:var(--ciq-legal-text) !important;
  margin-bottom:clamp(.85rem,1.5vw,1.15rem) !important;
}

body.ciq-legal-detail-prototype-v4 .section-head h2,
body.ciq-legal-detail-prototype-v4 .content-block h2,
body.ciq-legal-detail-prototype-v4 .legal-content h2,
body.ciq-legal-detail-prototype-v4 article h2,
body.ciq-legal-detail-prototype-v4 main h2,
body.ciq-legal-detail-prototype-v4 .public-polish-depth h2{
  font-size:clamp(1.12rem,1.35vw,1.35rem) !important;
  line-height:1.24 !important;
  letter-spacing:-.01em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.6rem !important;
}

body.ciq-legal-detail-prototype-v4 .content-block h3,
body.ciq-legal-detail-prototype-v4 .legal-content h3,
body.ciq-legal-detail-prototype-v4 article h3,
body.ciq-legal-detail-prototype-v4 main h3,
body.ciq-legal-detail-prototype-v4 .feature-grid > article h2,
body.ciq-legal-detail-prototype-v4 .feature-grid > article h3,
body.ciq-legal-detail-prototype-v4 .card h2,
body.ciq-legal-detail-prototype-v4 .card h3{
  font-size:clamp(1rem,1.05vw,1.08rem) !important;
  line-height:1.28 !important;
  letter-spacing:0 !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.55rem !important;
}

body.ciq-legal-detail-prototype-v4 p,
body.ciq-legal-detail-prototype-v4 li,
body.ciq-legal-detail-prototype-v4 td,
body.ciq-legal-detail-prototype-v4 th{
  line-height:1.68 !important;
}

body.ciq-legal-detail-prototype-v4 p + p{
  margin-top:.78rem !important;
}

body.ciq-legal-detail-prototype-v4 .content-block,
body.ciq-legal-detail-prototype-v4 .legal-content,
body.ciq-legal-detail-prototype-v4 main article,
body.ciq-legal-detail-prototype-v4 .notice,
body.ciq-legal-detail-prototype-v4 .callout,
body.ciq-legal-detail-prototype-v4 .feature-grid > article,
body.ciq-legal-detail-prototype-v4 .card,
body.ciq-legal-detail-prototype-v4 .feature-card{
  border:1px solid var(--ciq-legal-border) !important;
  border-radius:18px !important;
  background:var(--ciq-legal-panel) !important;
}

body.ciq-legal-detail-prototype-v4 .content-block,
body.ciq-legal-detail-prototype-v4 .legal-content,
body.ciq-legal-detail-prototype-v4 main article{
  max-width:920px !important;
  padding:clamp(1rem,1.75vw,1.35rem) !important;
}

body.ciq-legal-detail-prototype-v4 .notice,
body.ciq-legal-detail-prototype-v4 .callout,
body.ciq-legal-detail-prototype-v4 .feature-grid > article,
body.ciq-legal-detail-prototype-v4 .card,
body.ciq-legal-detail-prototype-v4 .feature-card{
  padding:clamp(.9rem,1.45vw,1.1rem) !important;
}

body.ciq-legal-detail-prototype-v4 .feature-grid,
body.ciq-legal-detail-prototype-v4 .card-grid,
body.ciq-legal-detail-prototype-v4 .product-grid,
body.ciq-legal-detail-prototype-v4 .article-card-list{
  gap:clamp(.9rem,1.45vw,1.05rem) !important;
  align-items:stretch !important;
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.45rem,2.35vw,2.05rem) !important;
}

body.ciq-legal-detail-prototype-v4 .table-wrap{
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.45rem,2.35vw,2.05rem) !important;
  overflow-x:auto !important;
}

body.ciq-legal-detail-prototype-v4 ul,
body.ciq-legal-detail-prototype-v4 ol{
  padding-left:1.15rem !important;
  max-width:var(--ciq-legal-text) !important;
}

body.ciq-legal-detail-prototype-v4 li + li{
  margin-top:.34rem !important;
}

body.ciq-legal-detail-prototype-v4 .final-cta,
body.ciq-legal-detail-prototype-v4 .public-polish-depth{
  padding-top:clamp(1.45rem,2.35vw,2.05rem) !important;
  padding-bottom:clamp(1.45rem,2.35vw,2.05rem) !important;
}

body.ciq-legal-detail-prototype-v4 .final-cta{
  text-align:center !important;
}

body.ciq-legal-detail-prototype-v4 .final-cta .container,
body.ciq-legal-detail-prototype-v4 .public-polish-depth .container{
  max-width:860px !important;
}

body.ciq-legal-detail-prototype-v4 .final-cta h2{
  font-size:clamp(1.15rem,1.45vw,1.45rem) !important;
}

body.ciq-legal-detail-prototype-v4 .btn,
body.ciq-legal-detail-prototype-v4 .button,
body.ciq-legal-detail-prototype-v4 .cta,
body.ciq-legal-detail-prototype-v4 a[class*="btn"]{
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:980px){
  body.ciq-legal-detail-prototype-v4 .container{
    width:min(100% - 32px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v4 .hero-grid,
  body.ciq-legal-detail-prototype-v4 .page-hero-grid,
  body.ciq-legal-detail-prototype-v4 .split,
  body.ciq-legal-detail-prototype-v4 .feature-grid,
  body.ciq-legal-detail-prototype-v4 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-legal-detail-prototype-v4 .container{
    width:min(100% - 24px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v4 .hero,
  body.ciq-legal-detail-prototype-v4 .page-hero,
  body.ciq-legal-detail-prototype-v4 .compact-article-hero,
  body.ciq-legal-detail-prototype-v4 [class*="hero"]{
    padding-top:1.65rem !important;
    padding-bottom:1.65rem !important;
  }

  body.ciq-legal-detail-prototype-v4 h1,
  body.ciq-legal-detail-prototype-v4 [class*="hero"] h1{
    font-size:clamp(1.45rem,7.2vw,1.9rem) !important;
  }

  body.ciq-legal-detail-prototype-v4 .section{
    padding-top:1.3rem !important;
    padding-bottom:1.3rem !important;
  }

  body.ciq-legal-detail-prototype-v4 .btn,
  body.ciq-legal-detail-prototype-v4 .button,
  body.ciq-legal-detail-prototype-v4 .cta,
  body.ciq-legal-detail-prototype-v4 a[class*="btn"]{
    width:100% !important;
  }
}
/* CIQ Phase 3H v4 end */


body.ciq-legal-detail-prototype-v6{
  --ciq-legal-rail:1040px;
  --ciq-legal-text:820px;
  --ciq-legal-panel:rgba(255,255,255,.028);
  --ciq-legal-border:rgba(215,166,47,.16);
  --ciq-legal-hero-pad:clamp(2rem,3vw,2.65rem);
  --ciq-legal-section-pad:clamp(1.35rem,2.05vw,1.75rem);
  --ciq-legal-last-section-bottom:clamp(.75rem,1vw,1rem);
}

/*
  Legal detail document layout.
  v3 fixed heading scale. v6 fixes the actual issue:
  the legal content section had too much bottom padding before the footer divider.
*/
body.ciq-legal-detail-prototype-v6 .container{
  width:min(var(--ciq-legal-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-legal-rail) !important;
  margin-inline:auto !important;
}

/* Hero stays balanced; this is not the footer-gap fix. */
body.ciq-legal-detail-prototype-v6 .hero,
body.ciq-legal-detail-prototype-v6 .page-hero,
body.ciq-legal-detail-prototype-v6 .compact-article-hero,
body.ciq-legal-detail-prototype-v6 [class*="hero"]{
  min-height:0 !important;
  height:auto !important;
  padding-top:var(--ciq-legal-hero-pad) !important;
  padding-bottom:var(--ciq-legal-hero-pad) !important;
  margin-bottom:0 !important;
  display:block !important;
}

body.ciq-legal-detail-prototype-v6 .hero .container,
body.ciq-legal-detail-prototype-v6 .page-hero .container,
body.ciq-legal-detail-prototype-v6 .compact-article-hero .container,
body.ciq-legal-detail-prototype-v6 [class*="hero"] .container,
body.ciq-legal-detail-prototype-v6 .hero-copy,
body.ciq-legal-detail-prototype-v6 .page-hero-copy,
body.ciq-legal-detail-prototype-v6 .compact-article-hero-copy,
body.ciq-legal-detail-prototype-v6 [class*="hero"] [class*="copy"]{
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  min-height:0 !important;
}

body.ciq-legal-detail-prototype-v6 .hero-grid,
body.ciq-legal-detail-prototype-v6 .page-hero-grid,
body.ciq-legal-detail-prototype-v6 [class*="hero-grid"],
body.ciq-legal-detail-prototype-v6 .hero-inner,
body.ciq-legal-detail-prototype-v6 .page-hero-inner,
body.ciq-legal-detail-prototype-v6 [class*="hero-inner"]{
  min-height:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  gap:clamp(1rem,2vw,1.5rem) !important;
  align-items:center !important;
}

/* Heading scale: document/legal, not product/sales. */
body.ciq-legal-detail-prototype-v6 h1,
body.ciq-legal-detail-prototype-v6 .hero h1,
body.ciq-legal-detail-prototype-v6 .page-hero h1,
body.ciq-legal-detail-prototype-v6 .compact-article-hero h1,
body.ciq-legal-detail-prototype-v6 .hero-title,
body.ciq-legal-detail-prototype-v6 .page-title,
body.ciq-legal-detail-prototype-v6 .display-title,
body.ciq-legal-detail-prototype-v6 [class*="hero"] h1,
body.ciq-legal-detail-prototype-v6 [class*="title"] h1{
  max-width:760px !important;
  font-size:clamp(1.55rem,2.05vw,2.05rem) !important;
  line-height:1.12 !important;
  letter-spacing:-.02em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.72rem,1.25vw,.95rem) !important;
}

body.ciq-legal-detail-prototype-v6 .eyebrow,
body.ciq-legal-detail-prototype-v6 .kicker,
body.ciq-legal-detail-prototype-v6 .section-kicker,
body.ciq-legal-detail-prototype-v6 [class*="eyebrow"],
body.ciq-legal-detail-prototype-v6 [class*="kicker"]{
  margin-top:0 !important;
  margin-bottom:clamp(.65rem,1vw,.85rem) !important;
}

body.ciq-legal-detail-prototype-v6 .hero-copy .lead,
body.ciq-legal-detail-prototype-v6 .hero-copy p,
body.ciq-legal-detail-prototype-v6 .page-hero p,
body.ciq-legal-detail-prototype-v6 .compact-article-hero p,
body.ciq-legal-detail-prototype-v6 [class*="hero"] p{
  max-width:780px !important;
  font-size:clamp(.95rem,1vw,1.01rem) !important;
  line-height:1.68 !important;
}

/* Legal content section rhythm: top and bottom should be visually comparable. */
body.ciq-legal-detail-prototype-v6 .section{
  padding-top:var(--ciq-legal-section-pad) !important;
  padding-bottom:var(--ciq-legal-section-pad) !important;
}

body.ciq-legal-detail-prototype-v6 .section + .section,
body.ciq-legal-detail-prototype-v6 .section + .final-cta,
body.ciq-legal-detail-prototype-v6 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.08) !important;
}

/*
  The user-reported issue is the bottom gap below the terms content before the footer line.
  Compress only the last content-bearing section before footer/main end.
*/
body.ciq-legal-detail-prototype-v6 main > .section:last-of-type,
body.ciq-legal-detail-prototype-v6 .site-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v6 .page-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v6 .legal-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v6 .content-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v6 main section:last-of-type{
  padding-bottom:var(--ciq-legal-last-section-bottom) !important;
}

/* If there is a content/card panel inside the final legal section, remove extra bottom margin. */
body.ciq-legal-detail-prototype-v6 main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v6 .site-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v6 .page-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v6 .legal-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v6 .content-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v6 main section:last-of-type .container > :last-child{
  margin-bottom:0 !important;
}

/* Avoid a large gap above footer/divider. */
body.ciq-legal-detail-prototype-v6 main + footer,
body.ciq-legal-detail-prototype-v6 .site-main + footer,
body.ciq-legal-detail-prototype-v6 .page-main + footer,
body.ciq-legal-detail-prototype-v6 main + .footer,
body.ciq-legal-detail-prototype-v6 .site-main + .footer,
body.ciq-legal-detail-prototype-v6 .page-main + .footer{
  margin-top:0 !important;
}

/* If the footer itself creates the divider/gap, keep its top padding controlled. */
body.ciq-legal-detail-prototype-v6 footer,
body.ciq-legal-detail-prototype-v6 .site-footer,
body.ciq-legal-detail-prototype-v6 .footer{
  margin-top:0 !important;
}

/* Legal text hierarchy. */
body.ciq-legal-detail-prototype-v6 .section-head{
  max-width:var(--ciq-legal-text) !important;
  margin-bottom:clamp(.85rem,1.5vw,1.15rem) !important;
}

body.ciq-legal-detail-prototype-v6 .section-head h2,
body.ciq-legal-detail-prototype-v6 .content-block h2,
body.ciq-legal-detail-prototype-v6 .legal-content h2,
body.ciq-legal-detail-prototype-v6 article h2,
body.ciq-legal-detail-prototype-v6 main h2,
body.ciq-legal-detail-prototype-v6 .public-polish-depth h2{
  font-size:clamp(1.12rem,1.35vw,1.35rem) !important;
  line-height:1.24 !important;
  letter-spacing:-.01em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.6rem !important;
}

body.ciq-legal-detail-prototype-v6 .content-block h3,
body.ciq-legal-detail-prototype-v6 .legal-content h3,
body.ciq-legal-detail-prototype-v6 article h3,
body.ciq-legal-detail-prototype-v6 main h3,
body.ciq-legal-detail-prototype-v6 .feature-grid > article h2,
body.ciq-legal-detail-prototype-v6 .feature-grid > article h3,
body.ciq-legal-detail-prototype-v6 .card h2,
body.ciq-legal-detail-prototype-v6 .card h3{
  font-size:clamp(1rem,1.05vw,1.08rem) !important;
  line-height:1.28 !important;
  letter-spacing:0 !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.55rem !important;
}

body.ciq-legal-detail-prototype-v6 p,
body.ciq-legal-detail-prototype-v6 li,
body.ciq-legal-detail-prototype-v6 td,
body.ciq-legal-detail-prototype-v6 th{
  line-height:1.68 !important;
}

body.ciq-legal-detail-prototype-v6 p + p{
  margin-top:.78rem !important;
}

body.ciq-legal-detail-prototype-v6 .content-block,
body.ciq-legal-detail-prototype-v6 .legal-content,
body.ciq-legal-detail-prototype-v6 main article,
body.ciq-legal-detail-prototype-v6 .notice,
body.ciq-legal-detail-prototype-v6 .callout,
body.ciq-legal-detail-prototype-v6 .feature-grid > article,
body.ciq-legal-detail-prototype-v6 .card,
body.ciq-legal-detail-prototype-v6 .feature-card{
  border:1px solid var(--ciq-legal-border) !important;
  border-radius:18px !important;
  background:var(--ciq-legal-panel) !important;
}

body.ciq-legal-detail-prototype-v6 .content-block,
body.ciq-legal-detail-prototype-v6 .legal-content,
body.ciq-legal-detail-prototype-v6 main article{
  max-width:920px !important;
  padding:clamp(1rem,1.75vw,1.35rem) !important;
}

body.ciq-legal-detail-prototype-v6 .notice,
body.ciq-legal-detail-prototype-v6 .callout,
body.ciq-legal-detail-prototype-v6 .feature-grid > article,
body.ciq-legal-detail-prototype-v6 .card,
body.ciq-legal-detail-prototype-v6 .feature-card{
  padding:clamp(.9rem,1.45vw,1.1rem) !important;
}

body.ciq-legal-detail-prototype-v6 .feature-grid,
body.ciq-legal-detail-prototype-v6 .card-grid,
body.ciq-legal-detail-prototype-v6 .product-grid,
body.ciq-legal-detail-prototype-v6 .article-card-list{
  gap:clamp(.9rem,1.45vw,1.05rem) !important;
  align-items:stretch !important;
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.25rem,2vw,1.75rem) !important;
}

body.ciq-legal-detail-prototype-v6 .table-wrap{
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.25rem,2vw,1.75rem) !important;
  overflow-x:auto !important;
}

body.ciq-legal-detail-prototype-v6 ul,
body.ciq-legal-detail-prototype-v6 ol{
  padding-left:1.15rem !important;
  max-width:var(--ciq-legal-text) !important;
}

body.ciq-legal-detail-prototype-v6 li + li{
  margin-top:.34rem !important;
}

body.ciq-legal-detail-prototype-v6 .final-cta,
body.ciq-legal-detail-prototype-v6 .public-polish-depth{
  padding-top:var(--ciq-legal-section-pad) !important;
  padding-bottom:var(--ciq-legal-section-pad) !important;
}

body.ciq-legal-detail-prototype-v6 .final-cta{
  text-align:center !important;
}

body.ciq-legal-detail-prototype-v6 .final-cta .container,
body.ciq-legal-detail-prototype-v6 .public-polish-depth .container{
  max-width:860px !important;
}

body.ciq-legal-detail-prototype-v6 .final-cta h2{
  font-size:clamp(1.15rem,1.45vw,1.45rem) !important;
}

body.ciq-legal-detail-prototype-v6 .btn,
body.ciq-legal-detail-prototype-v6 .button,
body.ciq-legal-detail-prototype-v6 .cta,
body.ciq-legal-detail-prototype-v6 a[class*="btn"]{
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:980px){
  body.ciq-legal-detail-prototype-v6 .container{
    width:min(100% - 32px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v6 .hero-grid,
  body.ciq-legal-detail-prototype-v6 .page-hero-grid,
  body.ciq-legal-detail-prototype-v6 .split,
  body.ciq-legal-detail-prototype-v6 .feature-grid,
  body.ciq-legal-detail-prototype-v6 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-legal-detail-prototype-v6{
    --ciq-legal-hero-pad:1.7rem;
    --ciq-legal-section-pad:1.25rem;
    --ciq-legal-last-section-bottom:.75rem;
  }

  body.ciq-legal-detail-prototype-v6 .container{
    width:min(100% - 24px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v6 h1,
  body.ciq-legal-detail-prototype-v6 [class*="hero"] h1{
    font-size:clamp(1.45rem,7.2vw,1.9rem) !important;
  }

  body.ciq-legal-detail-prototype-v6 .btn,
  body.ciq-legal-detail-prototype-v6 .button,
  body.ciq-legal-detail-prototype-v6 .cta,
  body.ciq-legal-detail-prototype-v6 a[class*="btn"]{
    width:100% !important;
  }
}
/* CIQ Phase 3H v6 end */


body.ciq-legal-detail-prototype-v7{
  --ciq-legal-rail:1040px;
  --ciq-legal-text:820px;
  --ciq-legal-panel:rgba(255,255,255,.028);
  --ciq-legal-border:rgba(215,166,47,.16);
  --ciq-legal-hero-pad:clamp(2rem,3vw,2.65rem);
  --ciq-legal-section-pad:clamp(1.35rem,2.05vw,1.75rem);
  --ciq-legal-last-section-bottom:clamp(1.15rem,1.55vw,1.45rem);
}

/*
  Legal detail document layout.
  v3 fixed heading scale.
  v6 compressed the footer-side spacing too much.
  v7 restores a balanced middle value for the last legal content section.
*/
body.ciq-legal-detail-prototype-v7 .container{
  width:min(var(--ciq-legal-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-legal-rail) !important;
  margin-inline:auto !important;
}

/* Hero remains balanced. The footer-side legal content gap is controlled separately below. */
body.ciq-legal-detail-prototype-v7 .hero,
body.ciq-legal-detail-prototype-v7 .page-hero,
body.ciq-legal-detail-prototype-v7 .compact-article-hero,
body.ciq-legal-detail-prototype-v7 [class*="hero"]{
  min-height:0 !important;
  height:auto !important;
  padding-top:var(--ciq-legal-hero-pad) !important;
  padding-bottom:var(--ciq-legal-hero-pad) !important;
  margin-bottom:0 !important;
  display:block !important;
}

body.ciq-legal-detail-prototype-v7 .hero .container,
body.ciq-legal-detail-prototype-v7 .page-hero .container,
body.ciq-legal-detail-prototype-v7 .compact-article-hero .container,
body.ciq-legal-detail-prototype-v7 [class*="hero"] .container,
body.ciq-legal-detail-prototype-v7 .hero-copy,
body.ciq-legal-detail-prototype-v7 .page-hero-copy,
body.ciq-legal-detail-prototype-v7 .compact-article-hero-copy,
body.ciq-legal-detail-prototype-v7 [class*="hero"] [class*="copy"]{
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  min-height:0 !important;
}

body.ciq-legal-detail-prototype-v7 .hero-grid,
body.ciq-legal-detail-prototype-v7 .page-hero-grid,
body.ciq-legal-detail-prototype-v7 [class*="hero-grid"],
body.ciq-legal-detail-prototype-v7 .hero-inner,
body.ciq-legal-detail-prototype-v7 .page-hero-inner,
body.ciq-legal-detail-prototype-v7 [class*="hero-inner"]{
  min-height:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  gap:clamp(1rem,2vw,1.5rem) !important;
  align-items:center !important;
}

/* Heading scale: document/legal, not product/sales. */
body.ciq-legal-detail-prototype-v7 h1,
body.ciq-legal-detail-prototype-v7 .hero h1,
body.ciq-legal-detail-prototype-v7 .page-hero h1,
body.ciq-legal-detail-prototype-v7 .compact-article-hero h1,
body.ciq-legal-detail-prototype-v7 .hero-title,
body.ciq-legal-detail-prototype-v7 .page-title,
body.ciq-legal-detail-prototype-v7 .display-title,
body.ciq-legal-detail-prototype-v7 [class*="hero"] h1,
body.ciq-legal-detail-prototype-v7 [class*="title"] h1{
  max-width:760px !important;
  font-size:clamp(1.55rem,2.05vw,2.05rem) !important;
  line-height:1.12 !important;
  letter-spacing:-.02em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.72rem,1.25vw,.95rem) !important;
}

body.ciq-legal-detail-prototype-v7 .eyebrow,
body.ciq-legal-detail-prototype-v7 .kicker,
body.ciq-legal-detail-prototype-v7 .section-kicker,
body.ciq-legal-detail-prototype-v7 [class*="eyebrow"],
body.ciq-legal-detail-prototype-v7 [class*="kicker"]{
  margin-top:0 !important;
  margin-bottom:clamp(.65rem,1vw,.85rem) !important;
}

body.ciq-legal-detail-prototype-v7 .hero-copy .lead,
body.ciq-legal-detail-prototype-v7 .hero-copy p,
body.ciq-legal-detail-prototype-v7 .page-hero p,
body.ciq-legal-detail-prototype-v7 .compact-article-hero p,
body.ciq-legal-detail-prototype-v7 [class*="hero"] p{
  max-width:780px !important;
  font-size:clamp(.95rem,1vw,1.01rem) !important;
  line-height:1.68 !important;
}

/* Legal content section rhythm. */
body.ciq-legal-detail-prototype-v7 .section{
  padding-top:var(--ciq-legal-section-pad) !important;
  padding-bottom:var(--ciq-legal-section-pad) !important;
}

body.ciq-legal-detail-prototype-v7 .section + .section,
body.ciq-legal-detail-prototype-v7 .section + .final-cta,
body.ciq-legal-detail-prototype-v7 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.08) !important;
}

/*
  Balance the bottom space after the final legal content.
  v6 used .75-1rem and was too tight; v7 uses a moderate middle value.
*/
body.ciq-legal-detail-prototype-v7 main > .section:last-of-type,
body.ciq-legal-detail-prototype-v7 .site-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v7 .page-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v7 .legal-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v7 .content-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v7 main section:last-of-type{
  padding-bottom:var(--ciq-legal-last-section-bottom) !important;
}

body.ciq-legal-detail-prototype-v7 main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v7 .site-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v7 .page-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v7 .legal-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v7 .content-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v7 main section:last-of-type .container > :last-child{
  margin-bottom:0 !important;
}

body.ciq-legal-detail-prototype-v7 main + footer,
body.ciq-legal-detail-prototype-v7 .site-main + footer,
body.ciq-legal-detail-prototype-v7 .page-main + footer,
body.ciq-legal-detail-prototype-v7 main + .footer,
body.ciq-legal-detail-prototype-v7 .site-main + .footer,
body.ciq-legal-detail-prototype-v7 .page-main + .footer,
body.ciq-legal-detail-prototype-v7 footer,
body.ciq-legal-detail-prototype-v7 .site-footer,
body.ciq-legal-detail-prototype-v7 .footer{
  margin-top:0 !important;
}

/* Legal text hierarchy. */
body.ciq-legal-detail-prototype-v7 .section-head{
  max-width:var(--ciq-legal-text) !important;
  margin-bottom:clamp(.85rem,1.5vw,1.15rem) !important;
}

body.ciq-legal-detail-prototype-v7 .section-head h2,
body.ciq-legal-detail-prototype-v7 .content-block h2,
body.ciq-legal-detail-prototype-v7 .legal-content h2,
body.ciq-legal-detail-prototype-v7 article h2,
body.ciq-legal-detail-prototype-v7 main h2,
body.ciq-legal-detail-prototype-v7 .public-polish-depth h2{
  font-size:clamp(1.12rem,1.35vw,1.35rem) !important;
  line-height:1.24 !important;
  letter-spacing:-.01em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.6rem !important;
}

body.ciq-legal-detail-prototype-v7 .content-block h3,
body.ciq-legal-detail-prototype-v7 .legal-content h3,
body.ciq-legal-detail-prototype-v7 article h3,
body.ciq-legal-detail-prototype-v7 main h3,
body.ciq-legal-detail-prototype-v7 .feature-grid > article h2,
body.ciq-legal-detail-prototype-v7 .feature-grid > article h3,
body.ciq-legal-detail-prototype-v7 .card h2,
body.ciq-legal-detail-prototype-v7 .card h3{
  font-size:clamp(1rem,1.05vw,1.08rem) !important;
  line-height:1.28 !important;
  letter-spacing:0 !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.55rem !important;
}

body.ciq-legal-detail-prototype-v7 p,
body.ciq-legal-detail-prototype-v7 li,
body.ciq-legal-detail-prototype-v7 td,
body.ciq-legal-detail-prototype-v7 th{
  line-height:1.68 !important;
}

body.ciq-legal-detail-prototype-v7 p + p{
  margin-top:.78rem !important;
}

body.ciq-legal-detail-prototype-v7 .content-block,
body.ciq-legal-detail-prototype-v7 .legal-content,
body.ciq-legal-detail-prototype-v7 main article,
body.ciq-legal-detail-prototype-v7 .notice,
body.ciq-legal-detail-prototype-v7 .callout,
body.ciq-legal-detail-prototype-v7 .feature-grid > article,
body.ciq-legal-detail-prototype-v7 .card,
body.ciq-legal-detail-prototype-v7 .feature-card{
  border:1px solid var(--ciq-legal-border) !important;
  border-radius:18px !important;
  background:var(--ciq-legal-panel) !important;
}

body.ciq-legal-detail-prototype-v7 .content-block,
body.ciq-legal-detail-prototype-v7 .legal-content,
body.ciq-legal-detail-prototype-v7 main article{
  max-width:920px !important;
  padding:clamp(1rem,1.75vw,1.35rem) !important;
}

body.ciq-legal-detail-prototype-v7 .notice,
body.ciq-legal-detail-prototype-v7 .callout,
body.ciq-legal-detail-prototype-v7 .feature-grid > article,
body.ciq-legal-detail-prototype-v7 .card,
body.ciq-legal-detail-prototype-v7 .feature-card{
  padding:clamp(.9rem,1.45vw,1.1rem) !important;
}

body.ciq-legal-detail-prototype-v7 .feature-grid,
body.ciq-legal-detail-prototype-v7 .card-grid,
body.ciq-legal-detail-prototype-v7 .product-grid,
body.ciq-legal-detail-prototype-v7 .article-card-list{
  gap:clamp(.9rem,1.45vw,1.05rem) !important;
  align-items:stretch !important;
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.25rem,2vw,1.75rem) !important;
}

body.ciq-legal-detail-prototype-v7 .table-wrap{
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.25rem,2vw,1.75rem) !important;
  overflow-x:auto !important;
}

body.ciq-legal-detail-prototype-v7 ul,
body.ciq-legal-detail-prototype-v7 ol{
  padding-left:1.15rem !important;
  max-width:var(--ciq-legal-text) !important;
}

body.ciq-legal-detail-prototype-v7 li + li{
  margin-top:.34rem !important;
}

body.ciq-legal-detail-prototype-v7 .final-cta,
body.ciq-legal-detail-prototype-v7 .public-polish-depth{
  padding-top:var(--ciq-legal-section-pad) !important;
  padding-bottom:var(--ciq-legal-section-pad) !important;
}

body.ciq-legal-detail-prototype-v7 .final-cta{
  text-align:center !important;
}

body.ciq-legal-detail-prototype-v7 .final-cta .container,
body.ciq-legal-detail-prototype-v7 .public-polish-depth .container{
  max-width:860px !important;
}

body.ciq-legal-detail-prototype-v7 .final-cta h2{
  font-size:clamp(1.15rem,1.45vw,1.45rem) !important;
}

body.ciq-legal-detail-prototype-v7 .btn,
body.ciq-legal-detail-prototype-v7 .button,
body.ciq-legal-detail-prototype-v7 .cta,
body.ciq-legal-detail-prototype-v7 a[class*="btn"]{
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:980px){
  body.ciq-legal-detail-prototype-v7 .container{
    width:min(100% - 32px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v7 .hero-grid,
  body.ciq-legal-detail-prototype-v7 .page-hero-grid,
  body.ciq-legal-detail-prototype-v7 .split,
  body.ciq-legal-detail-prototype-v7 .feature-grid,
  body.ciq-legal-detail-prototype-v7 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-legal-detail-prototype-v7{
    --ciq-legal-hero-pad:1.7rem;
    --ciq-legal-section-pad:1.25rem;
    --ciq-legal-last-section-bottom:1rem;
  }

  body.ciq-legal-detail-prototype-v7 .container{
    width:min(100% - 24px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v7 h1,
  body.ciq-legal-detail-prototype-v7 [class*="hero"] h1{
    font-size:clamp(1.45rem,7.2vw,1.9rem) !important;
  }

  body.ciq-legal-detail-prototype-v7 .btn,
  body.ciq-legal-detail-prototype-v7 .button,
  body.ciq-legal-detail-prototype-v7 .cta,
  body.ciq-legal-detail-prototype-v7 a[class*="btn"]{
    width:100% !important;
  }
}
/* CIQ Phase 3H v7 end */

/* CIQ Phase 3H v8 legal final gap medium */
body.ciq-legal-detail-prototype-v8{
  --ciq-legal-rail:1040px;
  --ciq-legal-text:820px;
  --ciq-legal-panel:rgba(255,255,255,.028);
  --ciq-legal-border:rgba(215,166,47,.16);
  --ciq-legal-hero-pad:clamp(2rem,3vw,2.65rem);
  --ciq-legal-section-pad:clamp(1.35rem,2.05vw,1.75rem);
  --ciq-legal-final-gap:clamp(2rem,2.45vw,2.35rem);
}

/*
  Legal detail page scale and rhythm.
  v8 keeps the fixed legal h1 scale and sets a clear medium bottom gap
  below the final legal content panel before the footer divider.
*/
body.ciq-legal-detail-prototype-v8 .container{
  width:min(var(--ciq-legal-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-legal-rail) !important;
  margin-inline:auto !important;
}

/* Hero scale/rhythm */
body.ciq-legal-detail-prototype-v8 .hero,
body.ciq-legal-detail-prototype-v8 .page-hero,
body.ciq-legal-detail-prototype-v8 .compact-article-hero,
body.ciq-legal-detail-prototype-v8 [class*="hero"]{
  min-height:0 !important;
  height:auto !important;
  padding-top:var(--ciq-legal-hero-pad) !important;
  padding-bottom:var(--ciq-legal-hero-pad) !important;
  margin-bottom:0 !important;
  display:block !important;
}

body.ciq-legal-detail-prototype-v8 .hero .container,
body.ciq-legal-detail-prototype-v8 .page-hero .container,
body.ciq-legal-detail-prototype-v8 .compact-article-hero .container,
body.ciq-legal-detail-prototype-v8 [class*="hero"] .container,
body.ciq-legal-detail-prototype-v8 .hero-copy,
body.ciq-legal-detail-prototype-v8 .page-hero-copy,
body.ciq-legal-detail-prototype-v8 .compact-article-hero-copy,
body.ciq-legal-detail-prototype-v8 [class*="hero"] [class*="copy"],
body.ciq-legal-detail-prototype-v8 .hero-grid,
body.ciq-legal-detail-prototype-v8 .page-hero-grid,
body.ciq-legal-detail-prototype-v8 [class*="hero-grid"]{
  min-height:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

body.ciq-legal-detail-prototype-v8 h1,
body.ciq-legal-detail-prototype-v8 .hero h1,
body.ciq-legal-detail-prototype-v8 .page-hero h1,
body.ciq-legal-detail-prototype-v8 .compact-article-hero h1,
body.ciq-legal-detail-prototype-v8 .hero-title,
body.ciq-legal-detail-prototype-v8 .page-title,
body.ciq-legal-detail-prototype-v8 .display-title,
body.ciq-legal-detail-prototype-v8 [class*="hero"] h1,
body.ciq-legal-detail-prototype-v8 [class*="title"] h1{
  max-width:760px !important;
  font-size:clamp(1.55rem,2.05vw,2.05rem) !important;
  line-height:1.12 !important;
  letter-spacing:-.02em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.72rem,1.25vw,.95rem) !important;
}

body.ciq-legal-detail-prototype-v8 .eyebrow,
body.ciq-legal-detail-prototype-v8 .kicker,
body.ciq-legal-detail-prototype-v8 .section-kicker,
body.ciq-legal-detail-prototype-v8 [class*="eyebrow"],
body.ciq-legal-detail-prototype-v8 [class*="kicker"]{
  margin-top:0 !important;
  margin-bottom:clamp(.65rem,1vw,.85rem) !important;
}

body.ciq-legal-detail-prototype-v8 .hero-copy .lead,
body.ciq-legal-detail-prototype-v8 .hero-copy p,
body.ciq-legal-detail-prototype-v8 .page-hero p,
body.ciq-legal-detail-prototype-v8 .compact-article-hero p,
body.ciq-legal-detail-prototype-v8 [class*="hero"] p{
  max-width:780px !important;
  font-size:clamp(.95rem,1vw,1.01rem) !important;
  line-height:1.68 !important;
}

/* Standard legal section rhythm */
body.ciq-legal-detail-prototype-v8 .section{
  padding-top:var(--ciq-legal-section-pad) !important;
  padding-bottom:var(--ciq-legal-section-pad) !important;
}

body.ciq-legal-detail-prototype-v8 .section + .section,
body.ciq-legal-detail-prototype-v8 .section + .final-cta,
body.ciq-legal-detail-prototype-v8 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.08) !important;
}

/*
  IMPORTANT: final legal content bottom gap.
  These broad selectors are intentionally direct because previous variants
  did not visibly alter the exact footer-side gap.
*/
body.ciq-legal-detail-prototype-v8 main > .section:last-of-type,
body.ciq-legal-detail-prototype-v8 main > section:last-of-type,
body.ciq-legal-detail-prototype-v8 main > div:last-of-type,
body.ciq-legal-detail-prototype-v8 .site-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v8 .page-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v8 .legal-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v8 .content-main > .section:last-of-type,
body.ciq-legal-detail-prototype-v8 .legal-page > .section:last-of-type,
body.ciq-legal-detail-prototype-v8 .legal-detail > .section:last-of-type{
  padding-bottom:var(--ciq-legal-final-gap) !important;
  margin-bottom:0 !important;
}

/* Last visible panel/card should not add its own bottom margin. */
body.ciq-legal-detail-prototype-v8 main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v8 main > section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v8 .site-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v8 .page-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v8 .legal-main > .section:last-of-type .container > :last-child,
body.ciq-legal-detail-prototype-v8 .content-main > .section:last-of-type .container > :last-child{
  margin-bottom:0 !important;
}

/* Footer should start immediately after its divider; do not add hidden external gap. */
body.ciq-legal-detail-prototype-v8 main + footer,
body.ciq-legal-detail-prototype-v8 .site-main + footer,
body.ciq-legal-detail-prototype-v8 .page-main + footer,
body.ciq-legal-detail-prototype-v8 main + .footer,
body.ciq-legal-detail-prototype-v8 .site-main + .footer,
body.ciq-legal-detail-prototype-v8 .page-main + .footer,
body.ciq-legal-detail-prototype-v8 footer,
body.ciq-legal-detail-prototype-v8 .site-footer,
body.ciq-legal-detail-prototype-v8 .footer{
  margin-top:0 !important;
}

/* Legal text hierarchy */
body.ciq-legal-detail-prototype-v8 .section-head{
  max-width:var(--ciq-legal-text) !important;
  margin-bottom:clamp(.85rem,1.5vw,1.15rem) !important;
}

body.ciq-legal-detail-prototype-v8 .section-head h2,
body.ciq-legal-detail-prototype-v8 .content-block h2,
body.ciq-legal-detail-prototype-v8 .legal-content h2,
body.ciq-legal-detail-prototype-v8 article h2,
body.ciq-legal-detail-prototype-v8 main h2,
body.ciq-legal-detail-prototype-v8 .public-polish-depth h2{
  font-size:clamp(1.12rem,1.35vw,1.35rem) !important;
  line-height:1.24 !important;
  letter-spacing:-.01em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.6rem !important;
}

body.ciq-legal-detail-prototype-v8 .content-block h3,
body.ciq-legal-detail-prototype-v8 .legal-content h3,
body.ciq-legal-detail-prototype-v8 article h3,
body.ciq-legal-detail-prototype-v8 main h3,
body.ciq-legal-detail-prototype-v8 .feature-grid > article h2,
body.ciq-legal-detail-prototype-v8 .feature-grid > article h3,
body.ciq-legal-detail-prototype-v8 .card h2,
body.ciq-legal-detail-prototype-v8 .card h3{
  font-size:clamp(1rem,1.05vw,1.08rem) !important;
  line-height:1.28 !important;
  letter-spacing:0 !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.55rem !important;
}

body.ciq-legal-detail-prototype-v8 p,
body.ciq-legal-detail-prototype-v8 li,
body.ciq-legal-detail-prototype-v8 td,
body.ciq-legal-detail-prototype-v8 th{
  line-height:1.68 !important;
}

body.ciq-legal-detail-prototype-v8 p + p{
  margin-top:.78rem !important;
}

body.ciq-legal-detail-prototype-v8 .content-block,
body.ciq-legal-detail-prototype-v8 .legal-content,
body.ciq-legal-detail-prototype-v8 main article,
body.ciq-legal-detail-prototype-v8 .notice,
body.ciq-legal-detail-prototype-v8 .callout,
body.ciq-legal-detail-prototype-v8 .feature-grid > article,
body.ciq-legal-detail-prototype-v8 .card,
body.ciq-legal-detail-prototype-v8 .feature-card{
  border:1px solid var(--ciq-legal-border) !important;
  border-radius:18px !important;
  background:var(--ciq-legal-panel) !important;
}

body.ciq-legal-detail-prototype-v8 .content-block,
body.ciq-legal-detail-prototype-v8 .legal-content,
body.ciq-legal-detail-prototype-v8 main article{
  max-width:920px !important;
  padding:clamp(1rem,1.75vw,1.35rem) !important;
}

body.ciq-legal-detail-prototype-v8 .notice,
body.ciq-legal-detail-prototype-v8 .callout,
body.ciq-legal-detail-prototype-v8 .feature-grid > article,
body.ciq-legal-detail-prototype-v8 .card,
body.ciq-legal-detail-prototype-v8 .feature-card{
  padding:clamp(.9rem,1.45vw,1.1rem) !important;
}

body.ciq-legal-detail-prototype-v8 .feature-grid,
body.ciq-legal-detail-prototype-v8 .card-grid,
body.ciq-legal-detail-prototype-v8 .product-grid,
body.ciq-legal-detail-prototype-v8 .article-card-list{
  gap:clamp(.9rem,1.45vw,1.05rem) !important;
  align-items:stretch !important;
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.25rem,2vw,1.75rem) !important;
}

body.ciq-legal-detail-prototype-v8 .table-wrap{
  margin-top:clamp(.85rem,1.4vw,1.1rem) !important;
  margin-bottom:clamp(1.25rem,2vw,1.75rem) !important;
  overflow-x:auto !important;
}

body.ciq-legal-detail-prototype-v8 ul,
body.ciq-legal-detail-prototype-v8 ol{
  padding-left:1.15rem !important;
  max-width:var(--ciq-legal-text) !important;
}

body.ciq-legal-detail-prototype-v8 li + li{
  margin-top:.34rem !important;
}

body.ciq-legal-detail-prototype-v8 .final-cta,
body.ciq-legal-detail-prototype-v8 .public-polish-depth{
  padding-top:var(--ciq-legal-section-pad) !important;
  padding-bottom:var(--ciq-legal-section-pad) !important;
}

body.ciq-legal-detail-prototype-v8 .final-cta{
  text-align:center !important;
}

body.ciq-legal-detail-prototype-v8 .final-cta .container,
body.ciq-legal-detail-prototype-v8 .public-polish-depth .container{
  max-width:860px !important;
}

body.ciq-legal-detail-prototype-v8 .final-cta h2{
  font-size:clamp(1.15rem,1.45vw,1.45rem) !important;
}

body.ciq-legal-detail-prototype-v8 .btn,
body.ciq-legal-detail-prototype-v8 .button,
body.ciq-legal-detail-prototype-v8 .cta,
body.ciq-legal-detail-prototype-v8 a[class*="btn"]{
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:980px){
  body.ciq-legal-detail-prototype-v8 .container{
    width:min(100% - 32px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v8 .hero-grid,
  body.ciq-legal-detail-prototype-v8 .page-hero-grid,
  body.ciq-legal-detail-prototype-v8 .split,
  body.ciq-legal-detail-prototype-v8 .feature-grid,
  body.ciq-legal-detail-prototype-v8 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-legal-detail-prototype-v8{
    --ciq-legal-hero-pad:1.7rem;
    --ciq-legal-section-pad:1.25rem;
    --ciq-legal-final-gap:1.6rem;
  }

  body.ciq-legal-detail-prototype-v8 .container{
    width:min(100% - 24px,var(--ciq-legal-rail)) !important;
  }

  body.ciq-legal-detail-prototype-v8 h1,
  body.ciq-legal-detail-prototype-v8 [class*="hero"] h1{
    font-size:clamp(1.45rem,7.2vw,1.9rem) !important;
  }

  body.ciq-legal-detail-prototype-v8 .btn,
  body.ciq-legal-detail-prototype-v8 .button,
  body.ciq-legal-detail-prototype-v8 .cta,
  body.ciq-legal-detail-prototype-v8 a[class*="btn"]{
    width:100% !important;
  }
}
/* CIQ Phase 3H v8 end */

/* CIQ Phase 3I legal hub prototype */
body.ciq-legal-hub-prototype-v1{
  --ciq-legal-hub-rail:1120px;
  --ciq-legal-hub-text:840px;
  --ciq-legal-hub-panel:rgba(255,255,255,.03);
  --ciq-legal-hub-border:rgba(215,166,47,.16);
  --ciq-legal-hub-pad:clamp(1.8rem,2.8vw,2.55rem);
}

/*
  Legal hub is a navigation/index page, not a legal document.
  It should be slightly more open than legal detail pages, but calmer than product pages.
*/
body.ciq-legal-hub-prototype-v1 .container{
  width:min(var(--ciq-legal-hub-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-legal-hub-rail) !important;
  margin-inline:auto !important;
}

/* Hub hero */
body.ciq-legal-hub-prototype-v1 .hero,
body.ciq-legal-hub-prototype-v1 .page-hero,
body.ciq-legal-hub-prototype-v1 .compact-article-hero,
body.ciq-legal-hub-prototype-v1 [class*="hero"]{
  min-height:0 !important;
  height:auto !important;
  padding-top:clamp(2.25rem,3.35vw,3.1rem) !important;
  padding-bottom:clamp(2.25rem,3.35vw,3.1rem) !important;
  margin-bottom:0 !important;
}

body.ciq-legal-hub-prototype-v1 .hero .container,
body.ciq-legal-hub-prototype-v1 .page-hero .container,
body.ciq-legal-hub-prototype-v1 .compact-article-hero .container,
body.ciq-legal-hub-prototype-v1 [class*="hero"] .container,
body.ciq-legal-hub-prototype-v1 .hero-copy,
body.ciq-legal-hub-prototype-v1 [class*="hero"] [class*="copy"],
body.ciq-legal-hub-prototype-v1 .hero-grid,
body.ciq-legal-hub-prototype-v1 [class*="hero-grid"]{
  min-height:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

body.ciq-legal-hub-prototype-v1 h1,
body.ciq-legal-hub-prototype-v1 .hero h1,
body.ciq-legal-hub-prototype-v1 .page-hero h1,
body.ciq-legal-hub-prototype-v1 .compact-article-hero h1,
body.ciq-legal-hub-prototype-v1 .hero-title,
body.ciq-legal-hub-prototype-v1 .page-title,
body.ciq-legal-hub-prototype-v1 .display-title,
body.ciq-legal-hub-prototype-v1 [class*="hero"] h1{
  max-width:820px !important;
  font-size:clamp(1.72rem,2.45vw,2.45rem) !important;
  line-height:1.1 !important;
  letter-spacing:-.025em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.8rem,1.25vw,1rem) !important;
}

body.ciq-legal-hub-prototype-v1 .eyebrow,
body.ciq-legal-hub-prototype-v1 .kicker,
body.ciq-legal-hub-prototype-v1 .section-kicker,
body.ciq-legal-hub-prototype-v1 [class*="eyebrow"],
body.ciq-legal-hub-prototype-v1 [class*="kicker"]{
  margin-top:0 !important;
  margin-bottom:clamp(.65rem,1vw,.85rem) !important;
}

body.ciq-legal-hub-prototype-v1 .hero-copy .lead,
body.ciq-legal-hub-prototype-v1 .hero-copy p,
body.ciq-legal-hub-prototype-v1 .page-hero p,
body.ciq-legal-hub-prototype-v1 .compact-article-hero p,
body.ciq-legal-hub-prototype-v1 [class*="hero"] p{
  max-width:var(--ciq-legal-hub-text) !important;
  font-size:clamp(.96rem,1.05vw,1.04rem) !important;
  line-height:1.7 !important;
}

/* Hub sections */
body.ciq-legal-hub-prototype-v1 .section{
  padding-top:var(--ciq-legal-hub-pad) !important;
  padding-bottom:var(--ciq-legal-hub-pad) !important;
}

body.ciq-legal-hub-prototype-v1 .section + .section,
body.ciq-legal-hub-prototype-v1 .section + .final-cta,
body.ciq-legal-hub-prototype-v1 .public-polish-depth + .final-cta{
  border-top:1px solid rgba(215,166,47,.08) !important;
}

body.ciq-legal-hub-prototype-v1 .section-head{
  max-width:var(--ciq-legal-hub-text) !important;
  margin-bottom:clamp(1rem,1.8vw,1.4rem) !important;
}

body.ciq-legal-hub-prototype-v1 .section-head h2,
body.ciq-legal-hub-prototype-v1 .content-block h2,
body.ciq-legal-hub-prototype-v1 .public-polish-depth h2{
  font-size:clamp(1.25rem,1.65vw,1.65rem) !important;
  line-height:1.2 !important;
  letter-spacing:-.015em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.7rem !important;
}

body.ciq-legal-hub-prototype-v1 .feature-grid > article h2,
body.ciq-legal-hub-prototype-v1 .feature-grid > article h3,
body.ciq-legal-hub-prototype-v1 .card h2,
body.ciq-legal-hub-prototype-v1 .card h3,
body.ciq-legal-hub-prototype-v1 .feature-card h2,
body.ciq-legal-hub-prototype-v1 .feature-card h3,
body.ciq-legal-hub-prototype-v1 .article-card h2,
body.ciq-legal-hub-prototype-v1 .article-card h3,
body.ciq-legal-hub-prototype-v1 .content-block h3{
  font-size:clamp(1.02rem,1.12vw,1.15rem) !important;
  line-height:1.28 !important;
  letter-spacing:0 !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.6rem !important;
}

body.ciq-legal-hub-prototype-v1 p,
body.ciq-legal-hub-prototype-v1 li,
body.ciq-legal-hub-prototype-v1 td,
body.ciq-legal-hub-prototype-v1 th{
  line-height:1.68 !important;
}

body.ciq-legal-hub-prototype-v1 p + p{
  margin-top:.8rem !important;
}

/* Hub cards and navigation lists */
body.ciq-legal-hub-prototype-v1 .feature-grid,
body.ciq-legal-hub-prototype-v1 .card-grid,
body.ciq-legal-hub-prototype-v1 .product-grid,
body.ciq-legal-hub-prototype-v1 .article-card-list,
body.ciq-legal-hub-prototype-v1 .support-grid,
body.ciq-legal-hub-prototype-v1 .faq-grid{
  gap:clamp(1rem,1.65vw,1.2rem) !important;
  align-items:stretch !important;
  margin-top:clamp(1rem,1.7vw,1.3rem) !important;
  margin-bottom:clamp(1.6rem,2.5vw,2.2rem) !important;
}

body.ciq-legal-hub-prototype-v1 .feature-grid > article,
body.ciq-legal-hub-prototype-v1 .card,
body.ciq-legal-hub-prototype-v1 .feature-card,
body.ciq-legal-hub-prototype-v1 .article-card,
body.ciq-legal-hub-prototype-v1 .support-card,
body.ciq-legal-hub-prototype-v1 .faq-card,
body.ciq-legal-hub-prototype-v1 .notice,
body.ciq-legal-hub-prototype-v1 .callout,
body.ciq-legal-hub-prototype-v1 .content-block{
  border:1px solid var(--ciq-legal-hub-border) !important;
  border-radius:18px !important;
  background:var(--ciq-legal-hub-panel) !important;
}

body.ciq-legal-hub-prototype-v1 .feature-grid > article,
body.ciq-legal-hub-prototype-v1 .card,
body.ciq-legal-hub-prototype-v1 .feature-card,
body.ciq-legal-hub-prototype-v1 .article-card,
body.ciq-legal-hub-prototype-v1 .support-card,
body.ciq-legal-hub-prototype-v1 .faq-card,
body.ciq-legal-hub-prototype-v1 .notice,
body.ciq-legal-hub-prototype-v1 .callout{
  padding:clamp(1rem,1.75vw,1.35rem) !important;
}

body.ciq-legal-hub-prototype-v1 .content-block{
  max-width:920px !important;
  padding:clamp(1.1rem,2vw,1.55rem) !important;
}

body.ciq-legal-hub-prototype-v1 .feature-grid a,
body.ciq-legal-hub-prototype-v1 .card-grid a,
body.ciq-legal-hub-prototype-v1 .article-card-list a,
body.ciq-legal-hub-prototype-v1 .content-block a{
  text-underline-offset:3px !important;
}

/* Better spacing for nav lists inside legal hub cards. */
body.ciq-legal-hub-prototype-v1 ul,
body.ciq-legal-hub-prototype-v1 ol{
  padding-left:1.15rem !important;
  max-width:var(--ciq-legal-hub-text) !important;
}

body.ciq-legal-hub-prototype-v1 li + li{
  margin-top:.38rem !important;
}

/* CTA/footer rhythm */
body.ciq-legal-hub-prototype-v1 .final-cta,
body.ciq-legal-hub-prototype-v1 .public-polish-depth{
  padding-top:var(--ciq-legal-hub-pad) !important;
  padding-bottom:var(--ciq-legal-hub-pad) !important;
}

body.ciq-legal-hub-prototype-v1 .final-cta{
  text-align:center !important;
}

body.ciq-legal-hub-prototype-v1 .final-cta .container,
body.ciq-legal-hub-prototype-v1 .public-polish-depth .container{
  max-width:900px !important;
}

body.ciq-legal-hub-prototype-v1 .btn,
body.ciq-legal-hub-prototype-v1 .button,
body.ciq-legal-hub-prototype-v1 .cta,
body.ciq-legal-hub-prototype-v1 a[class*="btn"]{
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:980px){
  body.ciq-legal-hub-prototype-v1 .container{
    width:min(100% - 32px,var(--ciq-legal-hub-rail)) !important;
  }

  body.ciq-legal-hub-prototype-v1 .hero-grid,
  body.ciq-legal-hub-prototype-v1 .page-hero-grid,
  body.ciq-legal-hub-prototype-v1 .split,
  body.ciq-legal-hub-prototype-v1 .feature-grid,
  body.ciq-legal-hub-prototype-v1 .card-grid,
  body.ciq-legal-hub-prototype-v1 .product-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-legal-hub-prototype-v1{
    --ciq-legal-hub-pad:1.55rem;
  }

  body.ciq-legal-hub-prototype-v1 .container{
    width:min(100% - 24px,var(--ciq-legal-hub-rail)) !important;
  }

  body.ciq-legal-hub-prototype-v1 h1,
  body.ciq-legal-hub-prototype-v1 [class*="hero"] h1{
    font-size:clamp(1.5rem,7.4vw,2.05rem) !important;
  }

  body.ciq-legal-hub-prototype-v1 .hero,
  body.ciq-legal-hub-prototype-v1 .page-hero,
  body.ciq-legal-hub-prototype-v1 [class*="hero"]{
    padding-top:1.85rem !important;
    padding-bottom:1.85rem !important;
  }

  body.ciq-legal-hub-prototype-v1 .btn,
  body.ciq-legal-hub-prototype-v1 .button,
  body.ciq-legal-hub-prototype-v1 .cta,
  body.ciq-legal-hub-prototype-v1 a[class*="btn"]{
    width:100% !important;
  }
}
/* CIQ Phase 3I end */

/* CIQ Phase 3I v2 legal hub bottom spacing */
body.ciq-legal-hub-prototype-v2{
  --ciq-legal-hub-final-gap:clamp(2rem,2.45vw,2.35rem);
}

/*
  Phase 3I v2 only adjusts the legal hub bottom spacing before footer/divider.
  It intentionally keeps the v1 heading and card styling that already reviewed correctly.
*/
body.ciq-legal-hub-prototype-v2 main > .section:last-of-type,
body.ciq-legal-hub-prototype-v2 main > section:last-of-type,
body.ciq-legal-hub-prototype-v2 main > div:last-of-type,
body.ciq-legal-hub-prototype-v2 .site-main > .section:last-of-type,
body.ciq-legal-hub-prototype-v2 .page-main > .section:last-of-type,
body.ciq-legal-hub-prototype-v2 .legal-main > .section:last-of-type,
body.ciq-legal-hub-prototype-v2 .content-main > .section:last-of-type,
body.ciq-legal-hub-prototype-v2 .legal-page > .section:last-of-type,
body.ciq-legal-hub-prototype-v2 .legal-hub > .section:last-of-type{
  padding-bottom:var(--ciq-legal-hub-final-gap) !important;
  margin-bottom:0 !important;
}

body.ciq-legal-hub-prototype-v2 main > .section:last-of-type .container > :last-child,
body.ciq-legal-hub-prototype-v2 main > section:last-of-type .container > :last-child,
body.ciq-legal-hub-prototype-v2 .site-main > .section:last-of-type .container > :last-child,
body.ciq-legal-hub-prototype-v2 .page-main > .section:last-of-type .container > :last-child,
body.ciq-legal-hub-prototype-v2 .legal-main > .section:last-of-type .container > :last-child,
body.ciq-legal-hub-prototype-v2 .content-main > .section:last-of-type .container > :last-child{
  margin-bottom:0 !important;
}

body.ciq-legal-hub-prototype-v2 main + footer,
body.ciq-legal-hub-prototype-v2 .site-main + footer,
body.ciq-legal-hub-prototype-v2 .page-main + footer,
body.ciq-legal-hub-prototype-v2 main + .footer,
body.ciq-legal-hub-prototype-v2 .site-main + .footer,
body.ciq-legal-hub-prototype-v2 .page-main + .footer,
body.ciq-legal-hub-prototype-v2 footer,
body.ciq-legal-hub-prototype-v2 .site-footer,
body.ciq-legal-hub-prototype-v2 .footer{
  margin-top:0 !important;
}

@media(max-width:640px){
  body.ciq-legal-hub-prototype-v2{
    --ciq-legal-hub-final-gap:1.6rem;
  }
}
/* CIQ Phase 3I v2 end */

/* CIQ Phase 3J v3 article actual wrapper prototype */
body.ciq-article-detail-prototype-v3{
  --ciq-article-rail:1120px;
  --ciq-article-text:820px;
  --ciq-article-wide:1040px;
  --ciq-article-panel:rgba(255,255,255,.028);
  --ciq-article-panel-strong:rgba(215,166,47,.055);
  --ciq-article-border:rgba(215,166,47,.16);
  --ciq-article-section-pad:clamp(1.65rem,2.6vw,2.25rem);
  --ciq-article-final-gap:clamp(2rem,2.7vw,2.5rem);
}

/*
  Article detail prototype v3.
  Built from the DOM map:
  - hero
  - section.article-body > .container
  - .content-block
  - .article-points
  - .same-category-links
  - .public-polish-depth
*/
body.ciq-article-detail-prototype-v3 .container{
  width:min(var(--ciq-article-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-rail) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Breadcrumb row should align with hero/content rail. */
body.ciq-article-detail-prototype-v3 .breadcrumbs{
  margin:0 !important;
}

body.ciq-article-detail-prototype-v3 .breadcrumbs .container{
  width:min(var(--ciq-article-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-rail) !important;
}

/* Hero: keep product visual style, but reduce article headline scale. */
body.ciq-article-detail-prototype-v3 .hero{
  min-height:0 !important;
  height:auto !important;
  padding-top:clamp(2.15rem,3.25vw,3rem) !important;
  padding-bottom:clamp(2.15rem,3.25vw,3rem) !important;
  margin-bottom:0 !important;
}

body.ciq-article-detail-prototype-v3 .hero .hero-grid,
body.ciq-article-detail-prototype-v3 .hero-grid{
  width:min(var(--ciq-article-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-rail) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-columns:minmax(0,.86fr) minmax(320px,1.14fr) !important;
  gap:clamp(1.25rem,3vw,2.5rem) !important;
  align-items:center !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

body.ciq-article-detail-prototype-v3 .hero-copy{
  max-width:620px !important;
  padding:0 !important;
  margin:0 !important;
}

body.ciq-article-detail-prototype-v3 .hero h1,
body.ciq-article-detail-prototype-v3 .hero-copy h1{
  max-width:700px !important;
  font-size:clamp(1.65rem,2.35vw,2.35rem) !important;
  line-height:1.08 !important;
  letter-spacing:-.025em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.75rem,1.25vw,1rem) !important;
}

body.ciq-article-detail-prototype-v3 .hero .lead,
body.ciq-article-detail-prototype-v3 .hero-copy .lead{
  max-width:620px !important;
  font-size:clamp(.96rem,1.04vw,1.03rem) !important;
  line-height:1.7 !important;
  margin-bottom:clamp(.95rem,1.5vw,1.25rem) !important;
}

body.ciq-article-detail-prototype-v3 .hero-card{
  width:100% !important;
  max-width:640px !important;
  justify-self:end !important;
  margin:0 !important;
}

body.ciq-article-detail-prototype-v3 .hero-card img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  border-radius:14px !important;
}

/* Article body actual wrapper from DOM map. */
body.ciq-article-detail-prototype-v3 .section.article-body{
  padding-top:var(--ciq-article-section-pad) !important;
  padding-bottom:var(--ciq-article-section-pad) !important;
  margin:0 !important;
}

body.ciq-article-detail-prototype-v3 .article-body > .container{
  width:min(var(--ciq-article-text),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-text) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  display:block !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Category label should sit on the article text rail, not far-left. */
body.ciq-article-detail-prototype-v3 .article-body .category-label{
  display:inline-flex !important;
  align-items:center !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 0 clamp(.9rem,1.45vw,1.15rem) 0 !important;
}

/* Content blocks are the real article sections. */
body.ciq-article-detail-prototype-v3 .article-body .content-block{
  width:100% !important;
  max-width:var(--ciq-article-text) !important;
  margin:0 auto clamp(1rem,1.7vw,1.35rem) auto !important;
  padding:clamp(1.05rem,1.85vw,1.45rem) !important;
  border:1px solid var(--ciq-article-border) !important;
  border-radius:18px !important;
  background:var(--ciq-article-panel) !important;
  box-sizing:border-box !important;
}

body.ciq-article-detail-prototype-v3 .article-body .content-block:last-child{
  margin-bottom:0 !important;
}

body.ciq-article-detail-prototype-v3 .article-body .content-block h2{
  font-size:clamp(1.18rem,1.55vw,1.5rem) !important;
  line-height:1.22 !important;
  letter-spacing:-.012em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.6rem,1vw,.85rem) !important;
}

body.ciq-article-detail-prototype-v3 .article-body .content-block h3{
  font-size:clamp(1.03rem,1.18vw,1.16rem) !important;
  line-height:1.28 !important;
  margin-top:clamp(.95rem,1.45vw,1.2rem) !important;
  margin-bottom:.5rem !important;
}

body.ciq-article-detail-prototype-v3 .article-body p,
body.ciq-article-detail-prototype-v3 .article-body li{
  font-size:clamp(.97rem,1.02vw,1.02rem) !important;
  line-height:1.74 !important;
}

body.ciq-article-detail-prototype-v3 .article-body p{
  margin-bottom:.85rem !important;
}

body.ciq-article-detail-prototype-v3 .article-body .content-block > :last-child{
  margin-bottom:0 !important;
}

body.ciq-article-detail-prototype-v3 .article-body ol,
body.ciq-article-detail-prototype-v3 .article-body ul{
  margin-top:.8rem !important;
  margin-bottom:.95rem !important;
  padding-left:1.2rem !important;
}

body.ciq-article-detail-prototype-v3 .article-body li + li{
  margin-top:.38rem !important;
}

/* Checklist/grid inside the article body. */
body.ciq-article-detail-prototype-v3 .article-points{
  width:100% !important;
  max-width:var(--ciq-article-text) !important;
  margin:clamp(.85rem,1.45vw,1.1rem) auto clamp(1rem,1.7vw,1.35rem) auto !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:clamp(.85rem,1.35vw,1rem) !important;
}

body.ciq-article-detail-prototype-v3 .article-points > *{
  border:1px solid var(--ciq-article-border) !important;
  border-radius:16px !important;
  background:var(--ciq-article-panel-strong) !important;
  padding:clamp(.9rem,1.45vw,1.1rem) !important;
  margin:0 !important;
}

/* Same-category links section. */
body.ciq-article-detail-prototype-v3 .same-category-links{
  padding-top:var(--ciq-article-section-pad) !important;
  padding-bottom:var(--ciq-article-section-pad) !important;
  margin:0 !important;
  border-top:1px solid rgba(215,166,47,.08) !important;
}

body.ciq-article-detail-prototype-v3 .same-category-links > .container{
  width:min(var(--ciq-article-wide),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-wide) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.ciq-article-detail-prototype-v3 .same-category-links .section-head{
  max-width:var(--ciq-article-text) !important;
  margin-bottom:clamp(1rem,1.6vw,1.25rem) !important;
}

body.ciq-article-detail-prototype-v3 .same-category-links .section-head h2{
  font-size:clamp(1.25rem,1.65vw,1.65rem) !important;
  line-height:1.2 !important;
  margin-top:0 !important;
  margin-bottom:.65rem !important;
}

body.ciq-article-detail-prototype-v3 .article-category-nav{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:.65rem !important;
  max-width:var(--ciq-article-wide) !important;
  margin:0 !important;
}

/* Bottom SEO/evaluation notes. */
body.ciq-article-detail-prototype-v3 .public-polish-depth{
  padding-top:var(--ciq-article-section-pad) !important;
  padding-bottom:var(--ciq-article-final-gap) !important;
  margin:0 !important;
  border-top:1px solid rgba(215,166,47,.08) !important;
}

body.ciq-article-detail-prototype-v3 .public-polish-depth > .container,
body.ciq-article-detail-prototype-v3 .public-polish-depth .container.narrow{
  width:min(var(--ciq-article-text),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-text) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.ciq-article-detail-prototype-v3 .public-polish-depth h2{
  font-size:clamp(1.25rem,1.65vw,1.65rem) !important;
  line-height:1.22 !important;
  margin-top:0 !important;
  margin-bottom:.75rem !important;
}

body.ciq-article-detail-prototype-v3 main + footer,
body.ciq-article-detail-prototype-v3 footer,
body.ciq-article-detail-prototype-v3 .site-footer,
body.ciq-article-detail-prototype-v3 .footer{
  margin-top:0 !important;
}

body.ciq-article-detail-prototype-v3 .btn,
body.ciq-article-detail-prototype-v3 .button,
body.ciq-article-detail-prototype-v3 .cta,
body.ciq-article-detail-prototype-v3 a[class*="btn"]{
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:980px){
  body.ciq-article-detail-prototype-v3 .container,
  body.ciq-article-detail-prototype-v3 .breadcrumbs .container,
  body.ciq-article-detail-prototype-v3 .hero .hero-grid,
  body.ciq-article-detail-prototype-v3 .hero-grid,
  body.ciq-article-detail-prototype-v3 .article-body > .container,
  body.ciq-article-detail-prototype-v3 .same-category-links > .container,
  body.ciq-article-detail-prototype-v3 .public-polish-depth > .container,
  body.ciq-article-detail-prototype-v3 .public-polish-depth .container.narrow{
    width:min(100% - 32px,var(--ciq-article-rail)) !important;
  }

  body.ciq-article-detail-prototype-v3 .hero .hero-grid,
  body.ciq-article-detail-prototype-v3 .hero-grid{
    grid-template-columns:1fr !important;
  }

  body.ciq-article-detail-prototype-v3 .hero-card{
    justify-self:start !important;
    max-width:720px !important;
  }

  body.ciq-article-detail-prototype-v3 .article-points{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:640px){
  body.ciq-article-detail-prototype-v3{
    --ciq-article-section-pad:1.35rem;
    --ciq-article-final-gap:1.65rem;
  }

  body.ciq-article-detail-prototype-v3 .container,
  body.ciq-article-detail-prototype-v3 .breadcrumbs .container,
  body.ciq-article-detail-prototype-v3 .hero .hero-grid,
  body.ciq-article-detail-prototype-v3 .hero-grid,
  body.ciq-article-detail-prototype-v3 .article-body > .container,
  body.ciq-article-detail-prototype-v3 .same-category-links > .container,
  body.ciq-article-detail-prototype-v3 .public-polish-depth > .container,
  body.ciq-article-detail-prototype-v3 .public-polish-depth .container.narrow{
    width:min(100% - 24px,var(--ciq-article-rail)) !important;
  }

  body.ciq-article-detail-prototype-v3 .hero{
    padding-top:1.8rem !important;
    padding-bottom:1.8rem !important;
  }

  body.ciq-article-detail-prototype-v3 .hero h1,
  body.ciq-article-detail-prototype-v3 .hero-copy h1{
    font-size:clamp(1.48rem,7.3vw,2.05rem) !important;
  }

  body.ciq-article-detail-prototype-v3 .article-body .content-block{
    padding:1rem !important;
  }

  body.ciq-article-detail-prototype-v3 .btn,
  body.ciq-article-detail-prototype-v3 .button,
  body.ciq-article-detail-prototype-v3 .cta,
  body.ciq-article-detail-prototype-v3 a[class*="btn"]{
    width:100% !important;
  }
}
/* CIQ Phase 3J v3 end */

/* CIQ Phase 3J v4 article width alignment */
body.ciq-article-detail-prototype-v4{
  --ciq-article-text:900px;
}

/*
  v4 keeps the v3 actual-wrapper article layout, but widens the article rail
  and centers the related-category support section on the same rail.
*/
body.ciq-article-detail-prototype-v4 .article-body > .container,
body.ciq-article-detail-prototype-v4 .article-body .content-block,
body.ciq-article-detail-prototype-v4 .article-points{
  width:min(var(--ciq-article-text),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-text) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.ciq-article-detail-prototype-v4 .same-category-links > .container,
body.ciq-article-detail-prototype-v4 .public-polish-depth > .container,
body.ciq-article-detail-prototype-v4 .public-polish-depth .container.narrow{
  width:min(var(--ciq-article-text),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-text) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.ciq-article-detail-prototype-v4 .same-category-links .section-head{
  max-width:var(--ciq-article-text) !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

body.ciq-article-detail-prototype-v4 .article-category-nav{
  max-width:var(--ciq-article-text) !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/*
  Heading scale note:
  The article H1 remains intentionally smaller than product/sales heroes.
  It should read like an article title, not like a product page hero.
*/
body.ciq-article-detail-prototype-v4 .hero h1,
body.ciq-article-detail-prototype-v4 .hero-copy h1{
  font-size:clamp(1.65rem,2.35vw,2.35rem) !important;
  line-height:1.08 !important;
}

@media(max-width:980px){
  body.ciq-article-detail-prototype-v4 .article-body > .container,
  body.ciq-article-detail-prototype-v4 .article-body .content-block,
  body.ciq-article-detail-prototype-v4 .article-points,
  body.ciq-article-detail-prototype-v4 .same-category-links > .container,
  body.ciq-article-detail-prototype-v4 .public-polish-depth > .container,
  body.ciq-article-detail-prototype-v4 .public-polish-depth .container.narrow{
    width:min(100% - 32px,var(--ciq-article-text)) !important;
  }
}

@media(max-width:640px){
  body.ciq-article-detail-prototype-v4 .article-body > .container,
  body.ciq-article-detail-prototype-v4 .article-body .content-block,
  body.ciq-article-detail-prototype-v4 .article-points,
  body.ciq-article-detail-prototype-v4 .same-category-links > .container,
  body.ciq-article-detail-prototype-v4 .public-polish-depth > .container,
  body.ciq-article-detail-prototype-v4 .public-polish-depth .container.narrow{
    width:min(100% - 24px,var(--ciq-article-text)) !important;
  }
}
/* CIQ Phase 3J v4 end */

/* CIQ Phase 3J v5 article symmetry cleanup */
body.ciq-article-detail-prototype-v5{
  --ciq-article-text:960px;
}

/*
  v5 cleanup:
  - removes the small category pill above the article body
  - makes article cards, related-category links, and the bottom learning/support note share one centered 960px rail
  - keeps text left-aligned inside that rail
*/
body.ciq-article-detail-prototype-v5 .article-body .category-label{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

body.ciq-article-detail-prototype-v5 .article-body > .container,
body.ciq-article-detail-prototype-v5 .article-body .content-block,
body.ciq-article-detail-prototype-v5 .article-points,
body.ciq-article-detail-prototype-v5 .same-category-links > .container,
body.ciq-article-detail-prototype-v5 .public-polish-depth > .container,
body.ciq-article-detail-prototype-v5 .public-polish-depth .container.narrow{
  width:min(var(--ciq-article-text),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-text) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.ciq-article-detail-prototype-v5 .article-body .content-block{
  box-sizing:border-box !important;
}

body.ciq-article-detail-prototype-v5 .same-category-links .section-head,
body.ciq-article-detail-prototype-v5 .article-category-nav,
body.ciq-article-detail-prototype-v5 .public-polish-depth h2,
body.ciq-article-detail-prototype-v5 .public-polish-depth p{
  max-width:var(--ciq-article-text) !important;
  margin-left:0 !important;
  margin-right:0 !important;
  text-align:left !important;
}

body.ciq-article-detail-prototype-v5 .same-category-links{
  padding-top:clamp(1.65rem,2.6vw,2.25rem) !important;
  padding-bottom:clamp(1.65rem,2.6vw,2.25rem) !important;
}

body.ciq-article-detail-prototype-v5 .public-polish-depth{
  padding-top:clamp(1.65rem,2.6vw,2.25rem) !important;
  padding-bottom:clamp(2rem,2.7vw,2.5rem) !important;
}

body.ciq-article-detail-prototype-v5 .article-category-nav{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:.65rem !important;
}

/* Keep article headings article-sized, but make lower support section visually consistent. */
body.ciq-article-detail-prototype-v5 .public-polish-depth h2,
body.ciq-article-detail-prototype-v5 .same-category-links .section-head h2{
  font-size:clamp(1.25rem,1.65vw,1.65rem) !important;
  line-height:1.2 !important;
  letter-spacing:-.012em !important;
}

@media(max-width:980px){
  body.ciq-article-detail-prototype-v5 .article-body > .container,
  body.ciq-article-detail-prototype-v5 .article-body .content-block,
  body.ciq-article-detail-prototype-v5 .article-points,
  body.ciq-article-detail-prototype-v5 .same-category-links > .container,
  body.ciq-article-detail-prototype-v5 .public-polish-depth > .container,
  body.ciq-article-detail-prototype-v5 .public-polish-depth .container.narrow{
    width:min(100% - 32px,var(--ciq-article-text)) !important;
  }
}

@media(max-width:640px){
  body.ciq-article-detail-prototype-v5 .article-body > .container,
  body.ciq-article-detail-prototype-v5 .article-body .content-block,
  body.ciq-article-detail-prototype-v5 .article-points,
  body.ciq-article-detail-prototype-v5 .same-category-links > .container,
  body.ciq-article-detail-prototype-v5 .public-polish-depth > .container,
  body.ciq-article-detail-prototype-v5 .public-polish-depth .container.narrow{
    width:min(100% - 24px,var(--ciq-article-text)) !important;
  }
}
/* CIQ Phase 3J v5 end */

/* CIQ Phase 3J v6 article inner rail consistency */
body.ciq-article-detail-prototype-v6{
  --ciq-article-text:960px;
  --ciq-article-inner-pad:clamp(1.05rem,1.85vw,1.45rem);
}

/*
  v6 makes the lower non-card sections line up with the text inside article cards.
  The article cards have internal padding, so the support sections need the same
  horizontal inset to feel visually symmetrical.
*/
body.ciq-article-detail-prototype-v6 .article-body > .container,
body.ciq-article-detail-prototype-v6 .article-body .content-block,
body.ciq-article-detail-prototype-v6 .article-points{
  width:min(var(--ciq-article-text),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-text) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Same outer rail as cards, but with card-like inner text inset. */
body.ciq-article-detail-prototype-v6 .same-category-links > .container,
body.ciq-article-detail-prototype-v6 .public-polish-depth > .container,
body.ciq-article-detail-prototype-v6 .public-polish-depth .container.narrow{
  width:min(var(--ciq-article-text),calc(100% - 40px)) !important;
  max-width:var(--ciq-article-text) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:var(--ciq-article-inner-pad) !important;
  padding-right:var(--ciq-article-inner-pad) !important;
  box-sizing:border-box !important;
}

/* Keep lower support text aligned to the same inner rail, not to a separate narrow column. */
body.ciq-article-detail-prototype-v6 .same-category-links .section-head,
body.ciq-article-detail-prototype-v6 .same-category-links .section-head h2,
body.ciq-article-detail-prototype-v6 .same-category-links .section-head p,
body.ciq-article-detail-prototype-v6 .article-category-nav,
body.ciq-article-detail-prototype-v6 .public-polish-depth h2,
body.ciq-article-detail-prototype-v6 .public-polish-depth p{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  text-align:left !important;
}

body.ciq-article-detail-prototype-v6 .article-category-nav{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:.65rem !important;
}

/* Make the two lower bands use matching rhythm. */
body.ciq-article-detail-prototype-v6 .same-category-links,
body.ciq-article-detail-prototype-v6 .public-polish-depth{
  padding-top:clamp(1.75rem,2.7vw,2.35rem) !important;
  padding-bottom:clamp(1.75rem,2.7vw,2.35rem) !important;
}

body.ciq-article-detail-prototype-v6 .same-category-links .section-head{
  margin-bottom:clamp(1rem,1.55vw,1.25rem) !important;
}

body.ciq-article-detail-prototype-v6 .public-polish-depth h2,
body.ciq-article-detail-prototype-v6 .same-category-links .section-head h2{
  font-size:clamp(1.25rem,1.65vw,1.65rem) !important;
  line-height:1.2 !important;
  letter-spacing:-.012em !important;
}

@media(max-width:980px){
  body.ciq-article-detail-prototype-v6 .article-body > .container,
  body.ciq-article-detail-prototype-v6 .article-body .content-block,
  body.ciq-article-detail-prototype-v6 .article-points,
  body.ciq-article-detail-prototype-v6 .same-category-links > .container,
  body.ciq-article-detail-prototype-v6 .public-polish-depth > .container,
  body.ciq-article-detail-prototype-v6 .public-polish-depth .container.narrow{
    width:min(100% - 32px,var(--ciq-article-text)) !important;
  }
}

@media(max-width:640px){
  body.ciq-article-detail-prototype-v6{
    --ciq-article-inner-pad:1rem;
  }

  body.ciq-article-detail-prototype-v6 .article-body > .container,
  body.ciq-article-detail-prototype-v6 .article-body .content-block,
  body.ciq-article-detail-prototype-v6 .article-points,
  body.ciq-article-detail-prototype-v6 .same-category-links > .container,
  body.ciq-article-detail-prototype-v6 .public-polish-depth > .container,
  body.ciq-article-detail-prototype-v6 .public-polish-depth .container.narrow{
    width:min(100% - 24px,var(--ciq-article-text)) !important;
  }
}
/* CIQ Phase 3J v6 end */

/* CIQ Phase 3K v2 cluster article prototype */
body.ciq-article-cluster-prototype-v1{
  --ciq-cluster-rail:1120px;
  --ciq-cluster-text:960px;
  --ciq-cluster-panel:rgba(255,255,255,.028);
  --ciq-cluster-panel-strong:rgba(215,166,47,.055);
  --ciq-cluster-border:rgba(215,166,47,.16);
  --ciq-cluster-section-pad:clamp(1.75rem,2.75vw,2.4rem);
  --ciq-cluster-inner-pad:clamp(1.05rem,1.85vw,1.45rem);
  --ciq-cluster-final-gap:clamp(2rem,2.8vw,2.55rem);
}

/*
  Phase 3K cluster/article-hub prototype.
  Scope: body.ciq-article-cluster-prototype-v1 only.
  Built for skipped pages that use hero + section + content-block + feature-grid + public-polish-depth,
  not the article-body wrapper used by Phase 3J article detail pages.
*/
body.ciq-article-cluster-prototype-v1 .container{
  width:min(var(--ciq-cluster-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-cluster-rail) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.ciq-article-cluster-prototype-v1 .hero{
  min-height:0 !important;
  height:auto !important;
  padding-top:clamp(2.15rem,3.25vw,3rem) !important;
  padding-bottom:clamp(2.15rem,3.25vw,3rem) !important;
  margin-bottom:0 !important;
}

body.ciq-article-cluster-prototype-v1 .hero .hero-grid,
body.ciq-article-cluster-prototype-v1 .hero-grid{
  width:min(var(--ciq-cluster-rail),calc(100% - 40px)) !important;
  max-width:var(--ciq-cluster-rail) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-columns:minmax(0,.88fr) minmax(320px,1.12fr) !important;
  gap:clamp(1.25rem,3vw,2.5rem) !important;
  align-items:center !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

body.ciq-article-cluster-prototype-v1 .hero-copy{
  max-width:660px !important;
  padding:0 !important;
  margin:0 !important;
}

body.ciq-article-cluster-prototype-v1 .hero h1,
body.ciq-article-cluster-prototype-v1 .hero-copy h1{
  max-width:760px !important;
  font-size:clamp(1.68rem,2.38vw,2.38rem) !important;
  line-height:1.08 !important;
  letter-spacing:-.025em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:clamp(.75rem,1.25vw,1rem) !important;
}

body.ciq-article-cluster-prototype-v1 .hero .lead,
body.ciq-article-cluster-prototype-v1 .hero-copy .lead{
  max-width:660px !important;
  font-size:clamp(.96rem,1.04vw,1.03rem) !important;
  line-height:1.7 !important;
  margin-bottom:clamp(.95rem,1.5vw,1.25rem) !important;
}

body.ciq-article-cluster-prototype-v1 .hero-card{
  width:100% !important;
  max-width:640px !important;
  justify-self:end !important;
  margin:0 !important;
}

body.ciq-article-cluster-prototype-v1 .hero-card img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  border-radius:14px !important;
}

body.ciq-article-cluster-prototype-v1 .section,
body.ciq-article-cluster-prototype-v1 .final-cta,
body.ciq-article-cluster-prototype-v1 .public-polish-depth{
  padding-top:var(--ciq-cluster-section-pad) !important;
  padding-bottom:var(--ciq-cluster-section-pad) !important;
  margin:0 !important;
}

body.ciq-article-cluster-prototype-v1 .section + .section,
body.ciq-article-cluster-prototype-v1 .section + .final-cta,
body.ciq-article-cluster-prototype-v1 .final-cta + .section,
body.ciq-article-cluster-prototype-v1 .public-polish-depth{
  border-top:1px solid rgba(215,166,47,.08) !important;
}

body.ciq-article-cluster-prototype-v1 .section > .container,
body.ciq-article-cluster-prototype-v1 .final-cta > .container,
body.ciq-article-cluster-prototype-v1 .public-polish-depth > .container,
body.ciq-article-cluster-prototype-v1 .public-polish-depth .container.narrow{
  width:min(var(--ciq-cluster-text),calc(100% - 40px)) !important;
  max-width:var(--ciq-cluster-text) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.ciq-article-cluster-prototype-v1 .section-head{
  width:100% !important;
  max-width:100% !important;
  margin:0 0 clamp(1rem,1.65vw,1.3rem) 0 !important;
  text-align:left !important;
}

body.ciq-article-cluster-prototype-v1 .section-head h2,
body.ciq-article-cluster-prototype-v1 .public-polish-depth h2,
body.ciq-article-cluster-prototype-v1 .final-cta h2{
  font-size:clamp(1.25rem,1.65vw,1.65rem) !important;
  line-height:1.2 !important;
  letter-spacing:-.012em !important;
  text-wrap:balance !important;
  margin-top:0 !important;
  margin-bottom:.65rem !important;
}

body.ciq-article-cluster-prototype-v1 .section-head .lead,
body.ciq-article-cluster-prototype-v1 .section-head p,
body.ciq-article-cluster-prototype-v1 .public-polish-depth p,
body.ciq-article-cluster-prototype-v1 .final-cta p{
  max-width:100% !important;
  line-height:1.7 !important;
}

body.ciq-article-cluster-prototype-v1 .content-block,
body.ciq-article-cluster-prototype-v1 .notice,
body.ciq-article-cluster-prototype-v1 .callout{
  width:100% !important;
  max-width:var(--ciq-cluster-text) !important;
  margin:0 auto clamp(1rem,1.7vw,1.35rem) auto !important;
  padding:var(--ciq-cluster-inner-pad) !important;
  border:1px solid var(--ciq-cluster-border) !important;
  border-radius:18px !important;
  background:var(--ciq-cluster-panel) !important;
  box-sizing:border-box !important;
}

body.ciq-article-cluster-prototype-v1 .content-block:last-child{
  margin-bottom:0 !important;
}

body.ciq-article-cluster-prototype-v1 .content-block h2,
body.ciq-article-cluster-prototype-v1 .content-block h3{
  font-size:clamp(1.05rem,1.22vw,1.2rem) !important;
  line-height:1.28 !important;
  margin-top:0 !important;
  margin-bottom:.55rem !important;
}

body.ciq-article-cluster-prototype-v1 .feature-grid,
body.ciq-article-cluster-prototype-v1 .card-grid{
  width:100% !important;
  max-width:var(--ciq-cluster-text) !important;
  margin:clamp(.95rem,1.55vw,1.2rem) auto clamp(1.1rem,1.8vw,1.45rem) auto !important;
  gap:clamp(.9rem,1.45vw,1.1rem) !important;
  align-items:stretch !important;
}

body.ciq-article-cluster-prototype-v1 .feature-grid > article,
body.ciq-article-cluster-prototype-v1 .card,
body.ciq-article-cluster-prototype-v1 .feature-card{
  border:1px solid var(--ciq-cluster-border) !important;
  border-radius:18px !important;
  background:var(--ciq-cluster-panel-strong) !important;
  padding:var(--ciq-cluster-inner-pad) !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

body.ciq-article-cluster-prototype-v1 p,
body.ciq-article-cluster-prototype-v1 li{
  line-height:1.7 !important;
}

body.ciq-article-cluster-prototype-v1 .table-wrap{
  width:100% !important;
  max-width:var(--ciq-cluster-text) !important;
  margin:clamp(.95rem,1.55vw,1.2rem) auto clamp(1.1rem,1.8vw,1.45rem) auto !important;
  overflow-x:auto !important;
}

body.ciq-article-cluster-prototype-v1 table{
  width:100% !important;
  border-collapse:collapse !important;
}

body.ciq-article-cluster-prototype-v1 .final-cta{
  text-align:left !important;
}

body.ciq-article-cluster-prototype-v1 .final-cta .container{
  padding-left:var(--ciq-cluster-inner-pad) !important;
  padding-right:var(--ciq-cluster-inner-pad) !important;
  box-sizing:border-box !important;
}

body.ciq-article-cluster-prototype-v1 .public-polish-depth{
  padding-bottom:var(--ciq-cluster-final-gap) !important;
}

body.ciq-article-cluster-prototype-v1 .public-polish-depth > .container,
body.ciq-article-cluster-prototype-v1 .public-polish-depth .container.narrow{
  padding-left:var(--ciq-cluster-inner-pad) !important;
  padding-right:var(--ciq-cluster-inner-pad) !important;
  box-sizing:border-box !important;
}

body.ciq-article-cluster-prototype-v1 main + footer,
body.ciq-article-cluster-prototype-v1 footer,
body.ciq-article-cluster-prototype-v1 .site-footer,
body.ciq-article-cluster-prototype-v1 .footer{
  margin-top:0 !important;
}

body.ciq-article-cluster-prototype-v1 .btn,
body.ciq-article-cluster-prototype-v1 .button,
body.ciq-article-cluster-prototype-v1 .cta,
body.ciq-article-cluster-prototype-v1 a[class*="btn"]{
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:980px){
  body.ciq-article-cluster-prototype-v1 .container,
  body.ciq-article-cluster-prototype-v1 .hero .hero-grid,
  body.ciq-article-cluster-prototype-v1 .hero-grid,
  body.ciq-article-cluster-prototype-v1 .section > .container,
  body.ciq-article-cluster-prototype-v1 .final-cta > .container,
  body.ciq-article-cluster-prototype-v1 .public-polish-depth > .container,
  body.ciq-article-cluster-prototype-v1 .public-polish-depth .container.narrow{
    width:min(100% - 32px,var(--ciq-cluster-rail)) !important;
  }

  body.ciq-article-cluster-prototype-v1 .hero .hero-grid,
  body.ciq-article-cluster-prototype-v1 .hero-grid{
    grid-template-columns:1fr !important;
  }

  body.ciq-article-cluster-prototype-v1 .hero-card{
    justify-self:start !important;
    max-width:720px !important;
  }
}

@media(max-width:640px){
  body.ciq-article-cluster-prototype-v1{
    --ciq-cluster-section-pad:1.35rem;
    --ciq-cluster-inner-pad:1rem;
    --ciq-cluster-final-gap:1.65rem;
  }

  body.ciq-article-cluster-prototype-v1 .container,
  body.ciq-article-cluster-prototype-v1 .hero .hero-grid,
  body.ciq-article-cluster-prototype-v1 .hero-grid,
  body.ciq-article-cluster-prototype-v1 .section > .container,
  body.ciq-article-cluster-prototype-v1 .final-cta > .container,
  body.ciq-article-cluster-prototype-v1 .public-polish-depth > .container,
  body.ciq-article-cluster-prototype-v1 .public-polish-depth .container.narrow{
    width:min(100% - 24px,var(--ciq-cluster-rail)) !important;
  }

  body.ciq-article-cluster-prototype-v1 .hero{
    padding-top:1.8rem !important;
    padding-bottom:1.8rem !important;
  }

  body.ciq-article-cluster-prototype-v1 .hero h1,
  body.ciq-article-cluster-prototype-v1 .hero-copy h1{
    font-size:clamp(1.48rem,7.3vw,2.05rem) !important;
  }

  body.ciq-article-cluster-prototype-v1 .btn,
  body.ciq-article-cluster-prototype-v1 .button,
  body.ciq-article-cluster-prototype-v1 .cta,
  body.ciq-article-cluster-prototype-v1 a[class*="btn"]{
    width:100% !important;
  }
}
/* CIQ Phase 3K v2 end */

/* CIQ Phase 4A v3 25 SEO article additions */
.ciq-phase4a-article .article-hero { border-bottom: 1px solid rgba(214,169,75,.32); background: radial-gradient(circle at 70% 20%, rgba(214,169,75,.12), transparent 36%), linear-gradient(135deg, rgba(9,9,8,.98), rgba(20,16,9,.96)); padding: clamp(4.5rem,8vw,7rem) 0; }
.ciq-phase4a-article .article-hero-grid, .ciq-phase4a-article .article-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(18rem,24rem); gap:clamp(2rem,5vw,4rem); align-items:start; }
.ciq-phase4a-article .article-lead { max-width:58rem; font-size:clamp(1.05rem,1.3vw,1.25rem); line-height:1.7; }
.ciq-phase4a-article .article-hero-card, .ciq-phase4a-article .content-block, .ciq-phase4a-article .sidebar-card { border:1px solid rgba(214,169,75,.28); border-radius:1.35rem; background:rgba(13,13,12,.78); box-shadow:0 22px 80px rgba(0,0,0,.28); }
.ciq-phase4a-article .article-hero-card, .ciq-phase4a-article .sidebar-card { padding:clamp(1.25rem,2vw,1.75rem); }
.ciq-phase4a-article .article-body-section { padding:clamp(3.5rem,6vw,5rem) 0; }
.ciq-phase4a-article .article-body { display:grid; gap:1.5rem; }
.ciq-phase4a-article .content-block { padding:clamp(1.35rem,2.5vw,2rem); }
.ciq-phase4a-article .content-block p { line-height:1.75; }
.ciq-phase4a-article .highlight-block { background:linear-gradient(135deg, rgba(214,169,75,.11), rgba(255,255,255,.025)); }
.ciq-phase4a-article .cta-block { background:linear-gradient(135deg, rgba(214,169,75,.14), rgba(17,17,15,.88)); }
.ciq-phase4a-article .pill-row, .ciq-phase4a-launch-links { display:flex; flex-wrap:wrap; gap:.75rem; }
.ciq-phase4a-article .pill-link, .ciq-phase4a-launch-links a { border:1px solid rgba(214,169,75,.42); border-radius:999px; color:var(--gold,#d6a94b); padding:.65rem 1rem; text-decoration:none; }
.ciq-phase4a-article .article-sidebar { display:grid; gap:1.25rem; position:sticky; top:6rem; }
.ciq-phase4a-article .sidebar-link-list { display:grid; gap:.8rem; list-style:none; margin:1rem 0 0; padding:0; }
.ciq-phase4a-article .sidebar-link-list a { color:inherit; text-decoration:none; }
.ciq-phase4a-article .small-note { color:rgba(255,255,255,.68); font-size:.92rem; }
.ciq-phase4a-article .public-polish-depth { border-top:1px solid rgba(214,169,75,.22); padding:clamp(3rem,5vw,4.5rem) 0; }
.ciq-phase4a-index-block { border:1px solid rgba(214,169,75,.28); border-radius:1.4rem; margin:clamp(2rem,5vw,4rem) auto; padding:clamp(1.5rem,3vw,2.25rem); background:rgba(13,13,12,.76); }
@media (max-width:900px) { .ciq-phase4a-article .article-hero-grid, .ciq-phase4a-article .article-layout { grid-template-columns:1fr; } .ciq-phase4a-article .article-sidebar { position:static; } }

/* CIQ Phase 4G key point callout system */
/* Reusable Key Point component. Gold is reserved for explicit Key Point callouts only. */
.content-block.key-point-block {
  border-color: rgba(214, 169, 75, 0.36);
  background: linear-gradient(135deg, rgba(214, 169, 75, 0.10), rgba(255, 255, 255, 0.018));
}

.content-block.key-point-block > h2:first-child {
  color: var(--gold, #d6a94b);
}

.content-block.key-point-block > h2:first-child::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 1px;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, rgba(214, 169, 75, 0.95), rgba(214, 169, 75, 0));
}

/* CIQ Phase 4G v2 force key point gold */
.article-body .content-block.key-point-block > h2:first-child,
.content-block.key-point-block > h2:first-child {
  color: #d6a94b !important;
}

.article-body .content-block.key-point-block > h2:first-child::after,
.content-block.key-point-block > h2:first-child::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 1px;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, rgba(214, 169, 75, 0.95), rgba(214, 169, 75, 0));
}

/* CIQ Phase 4I article continue-learning grid */
.article-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin: 1.5rem 0 0;
}

.article-next-grid article {
  border: 1px solid rgba(214, 169, 75, 0.24);
  border-radius: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: rgba(10, 10, 9, 0.55);
}

.article-next-grid h3 {
  margin: 0.25rem 0 0.65rem;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.18;
}

.article-next-grid h3 a,
.text-link {
  color: var(--gold, #d6a94b);
  text-decoration: none;
}

.article-next-grid h3 a:hover,
.text-link:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .article-next-grid {
    grid-template-columns: 1fr;
  }
}

/* CIQ Phase 4I-B compact continue learning */
.same-category-links .content-block > h2 {
  font-size: clamp(2.05rem, 3.6vw, 3.35rem);
  line-height: 0.98;
  max-width: 880px;
}

.same-category-links .content-block > p {
  max-width: 980px;
}

.same-category-links .article-next-grid {
  align-items: stretch;
}

.same-category-links .article-next-grid article {
  min-height: 0;
}

/* CIQ Phase 4I-C SEO compact continue learning */
.same-category-links .content-block > h2 {
  font-size: clamp(2.05rem, 3.4vw, 3.1rem);
  line-height: 1;
  max-width: 920px;
}

.same-category-links .content-block > p {
  max-width: 980px;
}

.same-category-links .article-next-grid {
  align-items: stretch;
}

.same-category-links .article-next-grid article {
  min-height: 0;
}

/* CIQ Phase 4K continue learning heading visual fix */
.same-category-links .content-block > h2 {
  font-size: clamp(1.65rem, 2.35vw, 2.25rem) !important;
  line-height: 1.08 !important;
  max-width: 780px;
}

.same-category-links .content-block > p {
  max-width: 860px;
}

.same-category-links .article-next-grid h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.16;
}

.same-category-links .article-next-grid article {
  min-height: 0;
}

/* CIQ Phase 4AW-B2 article detail CSS-only preserve effects
   Important:
   - Does not rename/remove existing article HTML classes.
   - Preserves existing background/parallax/reveal hooks.
   - Homepage remains untouched.
   - Targets article detail pages only through ciq-article-detail-prototype-v6 scope.
*/

/* Compact the article detail top section while keeping its existing visual background/effects. */
.ciq-article-detail-prototype-v6 .hero,
.ciq-article-detail-prototype-v6 .page-hero,
.ciq-article-detail-prototype-v6 .article-hero,
.ciq-article-detail-prototype-v6 .article-intro,
.ciq-article-detail-prototype-v6 .article-detail-intro {
  min-height: auto;
  padding-top: clamp(2.5rem, 5vw, 4.75rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

/* Keep article titles premium but not homepage-scale. */
.ciq-article-detail-prototype-v6 .hero h1,
.ciq-article-detail-prototype-v6 .page-hero h1,
.ciq-article-detail-prototype-v6 .article-hero h1,
.ciq-article-detail-prototype-v6 .article-intro h1,
.ciq-article-detail-prototype-v6 .article-detail-intro h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 4.55vw, 4.45rem);
  line-height: .98;
  letter-spacing: -0.045em;
  margin-bottom: clamp(.9rem, 1.8vw, 1.25rem);
}

/* Improve hero/meta copy rhythm. */
.ciq-article-detail-prototype-v6 .hero p,
.ciq-article-detail-prototype-v6 .page-hero p,
.ciq-article-detail-prototype-v6 .article-hero p,
.ciq-article-detail-prototype-v6 .article-intro p,
.ciq-article-detail-prototype-v6 .article-detail-intro p {
  max-width: 880px;
}

/* Fix the smoke-test issue: CTA button should not visually touch the main image. */
.ciq-article-detail-prototype-v6 .hero .btn,
.ciq-article-detail-prototype-v6 .page-hero .btn,
.ciq-article-detail-prototype-v6 .article-hero .btn,
.ciq-article-detail-prototype-v6 .article-intro .btn,
.ciq-article-detail-prototype-v6 .article-detail-intro .btn {
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

/* Add breathing room before the first image/media block after intro CTA. */
.ciq-article-detail-prototype-v6 .hero img,
.ciq-article-detail-prototype-v6 .page-hero img,
.ciq-article-detail-prototype-v6 .article-hero img,
.ciq-article-detail-prototype-v6 .article-intro img,
.ciq-article-detail-prototype-v6 .article-detail-intro img,
.ciq-article-detail-prototype-v6 .hero figure,
.ciq-article-detail-prototype-v6 .page-hero figure,
.ciq-article-detail-prototype-v6 .article-hero figure,
.ciq-article-detail-prototype-v6 .article-intro figure,
.ciq-article-detail-prototype-v6 .article-detail-intro figure,
.ciq-article-detail-prototype-v6 .article-hero-media,
.ciq-article-detail-prototype-v6 .article-feature-image,
.ciq-article-detail-prototype-v6 .article-cover,
.ciq-article-detail-prototype-v6 .article-image {
  margin-top: clamp(1.15rem, 2.8vw, 2.25rem);
}

/* Keep large article images contained and professional. */
.ciq-article-detail-prototype-v6 .hero img,
.ciq-article-detail-prototype-v6 .page-hero img,
.ciq-article-detail-prototype-v6 .article-hero img,
.ciq-article-detail-prototype-v6 .article-intro img,
.ciq-article-detail-prototype-v6 .article-detail-intro img {
  display: block;
  width: 100%;
  max-height: min(62vh, 680px);
  object-fit: cover;
}

/* Article body heading scale only. */
.ciq-article-detail-prototype-v6 .article-body h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.95rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.ciq-article-detail-prototype-v6 .article-body h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

/* Preserve reveal/parallax layers by not overriding transforms globally. */
.ciq-article-detail-prototype-v6 [data-reveal] {
  will-change: opacity, transform;
}

@media (max-width: 760px) {
  .ciq-article-detail-prototype-v6 .hero,
  .ciq-article-detail-prototype-v6 .page-hero,
  .ciq-article-detail-prototype-v6 .article-hero,
  .ciq-article-detail-prototype-v6 .article-intro,
  .ciq-article-detail-prototype-v6 .article-detail-intro {
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }

  .ciq-article-detail-prototype-v6 .hero h1,
  .ciq-article-detail-prototype-v6 .page-hero h1,
  .ciq-article-detail-prototype-v6 .article-hero h1,
  .ciq-article-detail-prototype-v6 .article-intro h1,
  .ciq-article-detail-prototype-v6 .article-detail-intro h1 {
    font-size: clamp(2rem, 10.5vw, 3.55rem);
  }
}

/* CIQ Phase 4AW-B3 article image top alignment
   Scope: article detail pages only.
   Purpose: align article hero/media image closer to the eyebrow/kicker line.
   No HTML, JS, content, homepage, carousel, or parallax files are modified.
*/
@media (min-width: 900px) {
  .ciq-article-detail-prototype-v6 .hero figure,
  .ciq-article-detail-prototype-v6 .page-hero figure,
  .ciq-article-detail-prototype-v6 .article-hero figure,
  .ciq-article-detail-prototype-v6 .article-intro figure,
  .ciq-article-detail-prototype-v6 .article-detail-intro figure,
  .ciq-article-detail-prototype-v6 .article-hero-media,
  .ciq-article-detail-prototype-v6 .article-feature-image,
  .ciq-article-detail-prototype-v6 .article-cover,
  .ciq-article-detail-prototype-v6 .article-image {
    align-self: start;
    margin-top: clamp(.2rem, .7vw, .65rem);
  }

  .ciq-article-detail-prototype-v6 .hero img,
  .ciq-article-detail-prototype-v6 .page-hero img,
  .ciq-article-detail-prototype-v6 .article-hero img,
  .ciq-article-detail-prototype-v6 .article-intro img,
  .ciq-article-detail-prototype-v6 .article-detail-intro img {
    transform: translateY(clamp(-2.9rem, -2.35vw, -1.35rem));
  }
}

/* Keep mobile simple; do not force upward movement on narrow screens. */
@media (max-width: 899px) {
  .ciq-article-detail-prototype-v6 .hero img,
  .ciq-article-detail-prototype-v6 .page-hero img,
  .ciq-article-detail-prototype-v6 .article-hero img,
  .ciq-article-detail-prototype-v6 .article-intro img,
  .ciq-article-detail-prototype-v6 .article-detail-intro img {
    transform: none;
  }
}

/* CIQ Phase 4AW-C5 final article hub alignment lock
   Scope: existing article hub/category hero class only.
   Uses actual class found by C4: .compact-article-hero.ciq-hub-rebuild-hero
   Does not affect homepage carousel/parallax or article detail pages.
*/
.compact-article-hero.ciq-hub-rebuild-hero {
  min-height: auto;
  padding-top: clamp(2.75rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.compact-article-hero.ciq-hub-rebuild-hero > .container,
.compact-article-hero.ciq-hub-rebuild-hero > .wrap,
.compact-article-hero.ciq-hub-rebuild-hero > .hero-wrap,
.compact-article-hero.ciq-hub-rebuild-hero > .hero-inner,
.compact-article-hero.ciq-hub-rebuild-hero > .page-width,
.compact-article-hero.ciq-hub-rebuild-hero > .section-inner,
.compact-article-hero.ciq-hub-rebuild-hero > div {
  width: min(100% - 48px, 1180px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.compact-article-hero.ciq-hub-rebuild-hero .hero-copy,
.compact-article-hero.ciq-hub-rebuild-hero .hero-content,
.compact-article-hero.ciq-hub-rebuild-hero .page-hero-content,
.compact-article-hero.ciq-hub-rebuild-hero .intro-copy,
.compact-article-hero.ciq-hub-rebuild-hero .intro-content,
.compact-article-hero.ciq-hub-rebuild-hero .copy,
.compact-article-hero.ciq-hub-rebuild-hero header {
  max-width: 980px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.compact-article-hero.ciq-hub-rebuild-hero h1 {
  max-width: 1040px;
  font-size: clamp(2.45rem, 4.7vw, 4.65rem);
  line-height: .98;
  letter-spacing: -0.045em;
  margin-bottom: clamp(.85rem, 1.6vw, 1.25rem);
}

.compact-article-hero.ciq-hub-rebuild-hero p {
  max-width: 880px;
}

/* Card rhythm for article hubs only; keeps existing markup/effects. */
main:has(.compact-article-hero.ciq-hub-rebuild-hero) .article-grid,
main:has(.compact-article-hero.ciq-hub-rebuild-hero) .learn-grid,
main:has(.compact-article-hero.ciq-hub-rebuild-hero) .hub-grid,
main:has(.compact-article-hero.ciq-hub-rebuild-hero) .article-card-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 760px) {
  .compact-article-hero.ciq-hub-rebuild-hero {
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }

  .compact-article-hero.ciq-hub-rebuild-hero > .container,
  .compact-article-hero.ciq-hub-rebuild-hero > .wrap,
  .compact-article-hero.ciq-hub-rebuild-hero > .hero-wrap,
  .compact-article-hero.ciq-hub-rebuild-hero > .hero-inner,
  .compact-article-hero.ciq-hub-rebuild-hero > .page-width,
  .compact-article-hero.ciq-hub-rebuild-hero > .section-inner,
  .compact-article-hero.ciq-hub-rebuild-hero > div {
    width: min(100% - 32px, 1180px);
  }

  .compact-article-hero.ciq-hub-rebuild-hero h1 {
    font-size: clamp(2.05rem, 10.7vw, 3.6rem);
  }
}

/* CIQ Phase 4AX-B2 concise legal coverage lock
   Scope: legal pages only. Concise public-facing boundary blocks.
*/
.ciq-legal-boundary {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border: 1px solid rgba(215,166,47,.28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(215,166,47,.08), rgba(255,255,255,.025));
}

.ciq-legal-boundary h2 {
  margin: 0 0 .85rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.ciq-legal-boundary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.ciq-legal-boundary li {
  margin: .7rem 0;
  color: var(--muted, #c7c7c7);
  line-height: 1.65;
}

.ciq-legal-boundary strong {
  color: var(--gold2, #f3d47a);
}
/* CIQ HOMEPAGE B1 CAROUSEL PARALLAX REPAIR START */
.ciq-b1-hero,
.ciq-b1-showcase {
  --ciq-px: 0px;
  --ciq-py: 0px;
  --ciq-ps: 0px;
  --ciq-fx: 50%;
  --ciq-fy: 25%;
}

.ciq-b1-showcase {
  min-height: auto !important;
  padding-top: clamp(2rem, 4vw, 3.75rem) !important;
  padding-bottom: clamp(2.4rem, 5vw, 4.75rem) !important;
}

.ciq-b1-showcase + .ciq-b1-proof,
.ciq-b1-showcase + section {
  margin-top: 0 !important;
}

.ciq-b1-bg {
  transform: translate3d(calc(var(--ciq-px) * -0.45), calc(var(--ciq-py) * -0.30), 0) translateY(calc(var(--ciq-ps) * -0.08)) scale(1.08) !important;
  transition: transform .08s linear;
  will-change: transform;
}

.ciq-b1-layer-grid {
  transform: translate3d(calc(var(--ciq-px) * 0.25), calc(var(--ciq-py) * 0.16), 0) translateY(calc(var(--ciq-ps) * -0.04)) !important;
  transition: transform .08s linear;
  will-change: transform;
}

.ciq-b1-layer-arc {
  transform: translate3d(calc(var(--ciq-px) * 1.10), calc(var(--ciq-py) * 0.70), 0) translateY(calc(var(--ciq-ps) * -0.18)) !important;
  transition: transform .08s linear;
  will-change: transform;
}

.ciq-b1-layer-glow {
  transform: translate3d(calc(var(--ciq-px) * -0.90), calc(var(--ciq-py) * -0.58), 0) translateY(calc(var(--ciq-ps) * -0.11)) !important;
  transition: transform .08s linear;
  will-change: transform;
}

.ciq-b1-hero-card {
  transform: translate3d(calc(var(--ciq-px) * 0.20), calc(var(--ciq-py) * 0.13), 0) !important;
  transition: transform .08s linear, border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
}

.ciq-b1-carousel {
  position: relative !important;
  top: auto !important;
  transform: translate3d(calc(var(--ciq-px) * 0.08), calc(var(--ciq-py) * 0.05), 0) !important;
  transition: transform .08s linear;
  will-change: transform;
}

.ciq-b1-carousel-frame {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9;
}

.ciq-b1-carousel-frame > [data-ciq-b1-slide],
.ciq-b1-carousel-frame > .ciq-b1-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.006);
  transition: opacity .72s ease, transform .72s ease;
  z-index: 1;
}

.ciq-b1-carousel-frame > [data-ciq-b1-slide].is-active,
.ciq-b1-carousel-frame > .ciq-b1-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.ciq-b1-dots span,
.ciq-b1-dots [data-ciq-b1-dot] {
  opacity: .42;
  transform: scaleX(.78);
  transition: opacity .25s ease, transform .25s ease, background-color .25s ease;
}

.ciq-b1-dots span.is-active,
.ciq-b1-dots span[aria-current="true"],
.ciq-b1-dots [data-ciq-b1-dot].is-active,
.ciq-b1-dots [data-ciq-b1-dot][aria-current="true"] {
  opacity: 1;
  transform: scaleX(1);
}

.ciq-b1-hero::before,
.ciq-b1-showcase::before {
  background:
    radial-gradient(circle at var(--ciq-fx) var(--ciq-fy), rgba(215,166,47,.20), transparent 18rem),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.84));
}
/* CIQ HOMEPAGE B1 CAROUSEL PARALLAX REPAIR END */

/* CIQ LEGAL VISUAL CONTAINMENT REPAIR START */
.legal-body .legal-card.legal-card-long > section[data-legal-section],
.legal-body .legal-card.legal-card-long > .legal-topic-card[data-legal-section],
.legal-body .legal-card.legal-card-long section[data-legal-section="core-disclaimer"],
.legal-body .legal-card.legal-card-long section[data-legal-section="hardening"],
.legal-body .legal-card.legal-card-long .legal-topic-card {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: clamp(1rem, 2vw, 1.35rem) 0 0 !important;
  padding: clamp(1.1rem, 2.2vw, 1.55rem) !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  border: 1px solid rgba(214, 174, 59, 0.26) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255, 215, 128, 0.055), rgba(255, 215, 128, 0.018)), rgba(10, 10, 8, 0.84) !important;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28) !important;
}
.legal-body .legal-card.legal-card-long > section[data-legal-section] h2,
.legal-body .legal-card.legal-card-long > .legal-topic-card h2 { margin-top: 0 !important; }
.legal-body .legal-card.legal-card-long > section[data-legal-section]:last-child,
.legal-body .legal-card.legal-card-long > .legal-topic-card:last-child { margin-bottom: 0 !important; }
.legal-body .legal-card.legal-card-long > section[data-legal-section] ul,
.legal-body .legal-card.legal-card-long > .legal-topic-card ul { margin-bottom: 0 !important; }
main > section[data-legal-section], main > .legal-topic-card[data-legal-section], main > section.legal-topic-card { max-width: var(--container, 1120px) !important; margin-left: auto !important; margin-right: auto !important; }
@media (min-width: 900px) { .legal-body .legal-card.legal-card-long { overflow: visible !important; } }
@media (max-width: 899px) { .legal-body .legal-card.legal-card-long > section[data-legal-section], .legal-body .legal-card.legal-card-long > .legal-topic-card[data-legal-section], .legal-body .legal-card.legal-card-long .legal-topic-card { padding: 1rem !important; } }
/* CIQ LEGAL VISUAL CONTAINMENT REPAIR END */

/* Phase 4BI-A: homepage hero pricing CTA */
.ciq-b1-hero-pricing-card{
  position:relative;
  width:min(100%, 430px);
  justify-self:end;
  text-align:center;
  border:1px solid rgba(244,197,94,.64);
  border-radius:28px;
  padding:34px 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244,197,94,.20), transparent 38%),
    linear-gradient(145deg, rgba(244,197,94,.12), rgba(11,10,7,.96) 52%, rgba(0,0,0,.98));
  box-shadow:0 26px 72px rgba(0,0,0,.48), 0 0 42px rgba(244,197,94,.12);
}
.ciq-b1-pricing-eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 22px;
  padding:9px 18px;
  border:1px solid rgba(244,197,94,.82);
  border-radius:999px;
  color:var(--gold);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:.78rem;
}
.ciq-b1-pricing-regular{
  margin:0 0 10px;
  color:rgba(255,255,255,.72);
}
.ciq-b1-pricing-main{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  color:var(--gold);
  line-height:.92;
  text-shadow:0 0 30px rgba(244,197,94,.16);
}
.ciq-b1-pricing-currency{
  font-family:var(--font-display);
  font-size:3rem;
  margin-top:.22em;
}
.ciq-b1-pricing-amount{
  font-family:var(--font-display);
  font-size:5.8rem;
  font-weight:800;
  letter-spacing:.01em;
}
.ciq-b1-pricing-sub{
  margin:6px 0 20px;
  color:rgba(255,255,255,.82);
  font-style:italic;
}
.ciq-b1-pricing-save{
  max-width:315px;
  margin:0 auto 22px;
  color:rgba(255,255,255,.84);
}
.ciq-b1-pricing-btn{
  width:100%;
  justify-content:center;
  color:#050505 !important;
  background:linear-gradient(135deg, #ffe28a 0%, #f4c55e 42%, #d99a24 100%);
  border:1px solid rgba(255,232,155,.92);
  box-shadow:0 18px 46px rgba(244,197,94,.34), 0 0 0 1px rgba(0,0,0,.16) inset;
  text-shadow:none;
}
.ciq-b1-pricing-btn:hover{
  color:#050505 !important;
  filter:brightness(1.05);
  transform:translateY(-1px);
  box-shadow:0 22px 54px rgba(244,197,94,.42), 0 0 0 1px rgba(0,0,0,.18) inset;
}
.ciq-b1-pricing-note{
  margin:18px 0 0;
  color:rgba(255,255,255,.62);
  font-size:.88rem;
}
.ciq-b1-price-note-hero{
  margin-top:22px;
  max-width:580px;
}
@media (max-width: 980px){
  .ciq-b1-hero-pricing-card{
    justify-self:start;
    width:100%;
    max-width:520px;
    padding:28px;
  }
  .ciq-b1-pricing-amount{
    font-size:4.8rem;
  }
}


