/* =================================================================
   MultiCloud Optimization — subpage & extended-section styles
   Loaded alongside styles.css on Services / Method / Savings / Results
   and for the About + before-after sections on the home page.
   ================================================================= */

/* ---------- page header ---------- */
.page-head { padding-top: 160px; padding-bottom: clamp(48px, 7vw, 96px); }
.page-head .eyebrow { margin-bottom: 28px; }
.page-head h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 28px;
}
.page-head .lede { font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 58ch; }
.page-head-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.page-head-aside {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.page-head-aside .ah {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--paper-mute); margin-bottom: 14px;
}
.page-head-aside p { color: var(--paper-dim); font-size: 15px; line-height: 1.6; }

.breadcrumb {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--paper-mute); margin-bottom: 26px;
  display: flex; gap: 10px; align-items: center;
}
.breadcrumb a { color: var(--paper-mute); transition: color .25s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--line-strong); }

/* nav active state */
.nav-links a.current { color: var(--paper); }
.nav-links a.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
}

/* =================================================================
   SERVICES PAGE — detail rows
   ================================================================= */
.svc-detail {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
.svc-detail-id {
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 22px;
}
.svc-detail-aside h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.svc-detail-aside .ico { margin-bottom: 24px; }
.svc-detail-aside .summary { color: var(--paper-dim); font-size: 16px; line-height: 1.6; }
.svc-detail-body .lead {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 500; line-height: 1.4; letter-spacing: -0.01em;
  margin-bottom: 32px; text-wrap: pretty;
}
.svc-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-includes .inc { background: var(--ink-800); padding: 24px; }
.svc-includes .inc .it { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.svc-includes .inc p { font-size: 14.5px; color: var(--paper-dim); line-height: 1.55; }
.svc-deliver { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.svc-deliver .d { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--paper-dim); border: 1px solid var(--line-strong); border-radius: 100px; padding: 8px 16px; }
.svc-deliver .d::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* =================================================================
   METHOD PAGE — animated timeline
   ================================================================= */
.method-stage {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method-player {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
/* timeline rail (left) */
.mt-rail { position: relative; }
.mt-progress-track {
  position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px;
  background: var(--ink-500); border-radius: 2px;
}
.mt-progress-fill {
  position: absolute; left: 13px; top: 8px; width: 2px;
  background: var(--accent); border-radius: 2px; height: 0;
  transition: height .6s var(--ease);
}
.mt-phase {
  position: relative; padding: 0 0 0 48px; margin-bottom: 30px;
  cursor: pointer; opacity: 0.42; transition: opacity .45s;
}
.mt-phase:last-child { margin-bottom: 0; }
.mt-phase.active { opacity: 1; }
.mt-phase.done { opacity: 0.7; }
.mt-dot {
  position: absolute; left: 6px; top: 3px; width: 16px; height: 16px;
  border-radius: 50%; border: 2px solid var(--ink-500); background: var(--ink-900);
  transition: all .4s; z-index: 2;
}
.mt-phase.active .mt-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px var(--accent-tint); }
.mt-phase.done .mt-dot { border-color: var(--accent); background: var(--accent); }
.mt-phase .ph-no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.mt-phase h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); margin: 6px 0 8px; }
.mt-phase .ph-when { font-family: var(--mono); font-size: 12px; color: var(--paper-mute); }
.mt-phase p { color: var(--paper-dim); font-size: 14.5px; margin-top: 12px; max-width: 44ch; line-height: 1.55;
  max-height: 0; overflow: hidden; opacity: 0; transition: all .5s var(--ease); }
.mt-phase.active p { max-height: 140px; opacity: 1; margin-top: 12px; }

/* viz (right) */
.mt-viz {
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; min-height: 440px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.mt-viz-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mt-viz-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-dim); }
.mt-viz-phase { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.mt-chart { width: 100%; height: 230px; position: relative; }
.mt-metrics { margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mt-metric .mk { font-family: var(--mono); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; }
.mt-metric .mk .s { color: var(--accent); font-size: 0.6em; }
.mt-metric .ml { font-size: 12px; color: var(--paper-mute); margin-top: 6px; line-height: 1.3; }
.mt-controls { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.mt-play {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--ink-900);
  flex: none; transition: transform .25s, background .25s;
}
.mt-play:hover { background: var(--accent-bright); transform: scale(1.05); }
.mt-scrub { flex: 1; }
.mt-hint { font-family: var(--mono); font-size: 11.5px; color: var(--paper-mute); }

/* =================================================================
   SAVINGS PAGE — breakdown
   ================================================================= */
.save-sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.save-source { background: var(--ink-800); padding: clamp(26px,3vw,38px); }
.save-source .pct { font-family: var(--mono); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 500; letter-spacing: -0.03em; color: var(--accent); }
.save-source .nm { font-weight: 600; font-size: 16px; margin: 14px 0 8px; }
.save-source p { font-size: 13.5px; color: var(--paper-dim); line-height: 1.5; }
.save-bar-viz { margin-top: 18px; height: 5px; background: var(--ink-500); border-radius: 3px; overflow: hidden; }
.save-bar-viz i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

.guarantee { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,4vw,64px); align-items: center; }
.guarantee-mark {
  font-family: var(--mono); font-size: clamp(3rem,6vw,5rem); font-weight: 500;
  color: var(--accent); letter-spacing: -0.03em; line-height: 1;
}

/* =================================================================
   RESULTS PAGE
   ================================================================= */
.result-hero-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.rhm { background: var(--ink-700); padding: clamp(30px,3.4vw,48px); }
.rhm .k { font-family: var(--mono); font-size: clamp(2.6rem,5vw,4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.rhm .k .s { color: var(--accent); font-size: 0.5em; }
.rhm .l { color: var(--paper-dim); font-size: 14.5px; margin-top: 16px; }

.case-row {
  display: grid; grid-template-columns: 0.4fr 0.6fr; gap: clamp(28px,4vw,60px);
  padding: clamp(40px,5vw,68px) 0; border-top: 1px solid var(--line); align-items: center;
}
.case-row:last-of-type { border-bottom: 1px solid var(--line); }
.case-row .cr-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.case-row h3 { font-size: clamp(1.4rem,2.4vw,2rem); margin-bottom: 16px; line-height: 1.1; }
.case-row .cr-sector { font-family: var(--mono); font-size: 12.5px; color: var(--paper-mute); }
.case-row p { color: var(--paper-dim); font-size: 15.5px; line-height: 1.6; margin-bottom: 26px; max-width: 52ch; }
.cr-metrics { display: flex; gap: clamp(24px,3vw,44px); flex-wrap: wrap; }
.cr-metrics .m .mk { font-family: var(--mono); font-size: clamp(1.6rem,2.6vw,2.2rem); font-weight: 500; letter-spacing: -0.02em; }
.cr-metrics .m .mk .s { color: var(--accent); font-size: 0.55em; }
.cr-metrics .m .ml { font-size: 12.5px; color: var(--paper-mute); margin-top: 6px; }
.cr-visual {
  background: repeating-linear-gradient(135deg, var(--ink-600) 0 14px, var(--ink-700) 14px 28px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: var(--paper-mute); letter-spacing: 0.08em;
}
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.logo-wall .lw {
  background: var(--ink-800); aspect-ratio: 16/7; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: clamp(14px,1.5vw,18px); color: var(--paper-mute); letter-spacing: -0.01em;
  transition: color .3s, background .3s; gap: 8px;
}
.logo-wall .lw:hover { color: var(--paper); background: var(--ink-700); }
.logo-wall .lw .glyph { font-family: var(--mono); color: var(--accent); }

/* =================================================================
   ABOUT section (home page)
   ================================================================= */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px,5vw,80px); align-items: start; }
.about-lead { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem,2.8vw,2.3rem); line-height: 1.32; letter-spacing: -0.01em; text-wrap: pretty; }
.about-lead .hl { color: var(--accent); font-style: italic; }
.about-body p { color: var(--paper-dim); font-size: 16px; line-height: 1.7; margin-bottom: 20px; max-width: 56ch; }
.about-body p:last-child { margin-bottom: 0; }
.about-principles { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-principles .pr { background: var(--ink-800); padding: 26px; }
.about-principles .pr .pk { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.about-principles .pr p { font-size: 14px; color: var(--paper-dim); line-height: 1.55; }
.about-stats { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-stats .as { padding: 24px 26px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.about-stats .as:last-child { border-bottom: 0; }
.about-stats .as .ak { font-family: var(--mono); font-size: clamp(1.6rem,2.4vw,2.1rem); font-weight: 500; letter-spacing: -0.02em; }
.about-stats .as .ak .s { color: var(--accent); font-size: 0.6em; }
.about-stats .as .al { font-size: 13.5px; color: var(--paper-dim); text-align: right; max-width: 22ch; }

/* =================================================================
   BEFORE / AFTER (home page)
   ================================================================= */
.ba-band { background: var(--ink-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ba-frame {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--ink-700);
}
.ba-chart-wrap { width: 100%; padding: clamp(18px, 3vw, 38px) clamp(16px, 2.5vw, 30px) clamp(8px,1.5vw,16px); }
#ba-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ba-axis { font-family: var(--mono); font-size: 13px; fill: var(--paper-mute); }
.ba-axis-y { text-anchor: end; }
.ba-axis-x { text-anchor: middle; }
.ba-callout-k { font-family: var(--mono); font-weight: 500; fill: var(--accent); letter-spacing: -0.02em; }
.ba-callout-l { font-family: var(--mono); fill: var(--paper-dim); }
.ba-marker-l { font-family: var(--mono); font-size: 12.5px; fill: var(--paper-mute); letter-spacing: 0.04em; }
.ba-overlay {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 22px;
}
.ba-pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 100px; backdrop-filter: blur(8px);
}
.ba-pill.before { background: rgba(11,19,32,0.6); border: 1px solid var(--line-strong); color: var(--paper-dim); }
.ba-pill.after { background: var(--accent); color: var(--ink-900); font-weight: 600; }
.ba-caption { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.ba-caption .cap { font-size: 14px; color: var(--paper-mute); font-family: var(--mono); }

/* =================================================================
   CONTACT PAGE — assessment booking form
   ================================================================= */
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px,5vw,80px); align-items: start; }
.contact-aside .ca-lead { font-size: clamp(1.1rem,1.6vw,1.35rem); line-height: 1.5; color: var(--paper-dim); margin-bottom: 36px; text-wrap: pretty; }
.contact-steps { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-steps .cs { padding: 22px 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.contact-steps .cs:last-child { border-bottom: 0; }
.contact-steps .cs .cn { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 2px; }
.contact-steps .cs h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 5px; }
.contact-steps .cs p { font-size: 13.5px; color: var(--paper-mute); line-height: 1.5; }
.contact-reassure { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.contact-reassure .rr { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--paper-dim); }
.contact-reassure .rr svg { flex: none; }

/* form card */
.form-card {
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px,3.4vw,44px); position: relative; overflow: hidden;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--paper-dim); letter-spacing: -0.005em; display: flex; justify-content: space-between; }
.field label .opt { color: var(--paper-mute); font-family: var(--mono); font-size: 11px; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; background: var(--ink-900); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 13px 15px; color: var(--paper); font: inherit; font-size: 15px;
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f7e98' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.field.error input, .field.error select { border-color: #e0664a; }
.field .err-msg { font-family: var(--mono); font-size: 11px; color: #e8917a; min-height: 0; opacity: 0; transition: opacity .2s; }
.field.error .err-msg { opacity: 1; }

.chip-field { display: flex; gap: 9px; flex-wrap: wrap; }
.chip-field .pchip {
  font-family: var(--mono); font-size: 13px; padding: 9px 15px; border-radius: 100px;
  border: 1px solid var(--line-strong); color: var(--paper-dim); transition: all .2s; user-select: none;
}
.chip-field .pchip:hover { border-color: var(--paper-mute); color: var(--paper); }
.chip-field .pchip.on { background: var(--accent); border-color: var(--accent); color: var(--ink-900); font-weight: 600; }

.form-foot { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form-foot .fine { font-size: 12px; color: var(--paper-mute); max-width: 34ch; line-height: 1.45; }
.form-card .submit { font-size: 15px; padding: 15px 28px; }

/* success state */
.form-success {
  position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.form-success.show { opacity: 1; visibility: visible; transform: none; }
.fs-check {
  width: 72px; height: 72px; border-radius: 50%; background: var(--accent-tint); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 26px;
}
.form-success h3 { font-size: clamp(1.5rem,2.4vw,2rem); margin-bottom: 14px; }
.form-success p { color: var(--paper-dim); font-size: 15.5px; max-width: 40ch; line-height: 1.6; margin-bottom: 28px; }
.form-success .ref { font-family: var(--mono); font-size: 12px; color: var(--paper-mute); }
.form-success .ref b { color: var(--accent); font-weight: 500; }

@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   shared: sub-CTA reused, responsive
   ================================================================= */
@media (max-width: 1080px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head-aside { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
  .method-player { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .save-sources { grid-template-columns: repeat(2,1fr); }
  .result-hero-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-includes { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2,1fr); }
  .about-principles { grid-template-columns: 1fr; }
  .mt-metrics { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 560px) {
  .save-sources { grid-template-columns: 1fr; }
  .about-stats .as { flex-direction: column; align-items: flex-start; }
  .about-stats .as .al { text-align: left; }
}

/* =================================================================
   WHITE PAPER, GATE, 404, THANK YOU  (added — uses existing tokens)
   ================================================================= */

/* ---------- utility pages: 404 + thank you ---------- */
.util { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: clamp(80px,12vh,160px) 0; }
.util-inner { max-width: 680px; }
.util .eyebrow { justify-content: center; }
.util-code { font-family: var(--mono); color: var(--accent); font-size: clamp(56px,12vw,120px); line-height: 1; letter-spacing: -0.02em; }
.util h1 { font-size: clamp(30px,5vw,52px); line-height: 1.05; margin: 18px 0 14px; }
.util p { color: var(--paper-dim); font-size: 18px; max-width: 56ch; margin: 0 auto 30px; }
.util-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.util-links { margin-top: 38px; display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; font-size: 14px; }
.util-links a { color: var(--paper-mute); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.util-links a:hover { color: var(--accent); border-color: var(--accent); }
.tick-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--accent-tint); border: 1px solid var(--accent-glow); }

/* ---------- white paper gate (landing) ---------- */
.wp-gate-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px,4vw,64px); align-items: start; }
.wp-pitch h1 { font-size: clamp(30px,4.6vw,50px); line-height: 1.05; margin: 12px 0 18px; }
.wp-pitch .lede { margin-bottom: 26px; }
.wp-inside { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.wp-inside li { position: relative; padding-left: 30px; color: var(--paper-dim); }
.wp-inside li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--accent); font-family: var(--mono); }
.wp-cover-mini { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--ink-700), var(--ink-600)); padding: 26px; }
.wp-cover-mini .doc-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.wp-cover-mini h3 { font-size: 22px; line-height: 1.2; margin: 12px 0; }
.wp-cover-mini .doc-stat { font-family: var(--mono); color: var(--paper-mute); font-size: 12px; }
.gate-note { font-size: 13px; color: var(--paper-mute); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }

/* ---------- white paper document (the gated asset) ---------- */
.wp-doc { max-width: 860px; margin: 0 auto; padding: clamp(28px,5vw,64px) var(--gutter) 80px; }
.wp-cover { border-bottom: 2px solid var(--accent); padding-bottom: 30px; margin-bottom: 14px; }
.wp-cover .doc-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.wp-cover h1 { font-size: clamp(30px,5vw,46px); line-height: 1.08; margin: 16px 0 18px; }
.wp-cover .wp-sub { font-size: 19px; color: var(--paper-dim); max-width: 60ch; }
.wp-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--paper-mute); }
.wp-meta b { color: var(--paper); font-weight: 500; }
.wp-toc { background: var(--ink-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 30px 0; }
.wp-toc h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 12px; }
.wp-toc ol { margin: 0; padding-left: 20px; color: var(--paper-dim); display: grid; gap: 7px; }
.wp-toc a { color: var(--paper-dim); }
.wp-toc a:hover { color: var(--accent); }
.wp-doc h2 { font-size: clamp(23px,3.2vw,30px); line-height: 1.15; margin: 48px 0 8px; scroll-margin-top: 90px; }
.wp-doc h2 .num { font-family: var(--mono); color: var(--accent); font-size: 0.7em; margin-right: 10px; }
.wp-doc h3 { font-size: 19px; margin: 30px 0 8px; color: var(--paper); }
.wp-doc p { color: var(--paper-dim); margin: 0 0 16px; }
.wp-doc p strong, .wp-doc li strong { color: var(--paper); font-weight: 600; }
.wp-doc ul { margin: 0 0 18px; padding-left: 22px; color: var(--paper-dim); display: grid; gap: 8px; }
.wp-lead { font-size: 19px; color: var(--paper); border-left: 3px solid var(--accent); padding-left: 18px; margin: 0 0 22px; }

.wp-keyfind { background: var(--accent-tint); border: 1px solid var(--accent-glow); border-radius: var(--radius); padding: 22px 26px; margin: 26px 0; }
.wp-keyfind .kf-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.wp-keyfind p { color: var(--paper); margin: 0; font-size: 17px; }

.wp-figure { margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wp-figure figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-mute); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--ink-700); }
.wp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.wp-table th, .wp-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wp-table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-mute); background: var(--ink-700); }
.wp-table tbody tr:last-child td { border-bottom: 0; }
.wp-table td .mono { font-family: var(--mono); color: var(--accent); }
.wp-table .risk { color: var(--accent-bright); }

.wp-rec { counter-reset: rec; display: grid; gap: 14px; margin: 22px 0; }
.wp-rec .rec { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--ink-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.wp-rec .rec::before { counter-increment: rec; content: counter(rec); font-family: var(--mono); color: var(--ink-900); background: var(--accent); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; }
.wp-rec .rec h4 { font-size: 16px; margin: 2px 0 5px; color: var(--paper); }
.wp-rec .rec p { margin: 0; font-size: 14.5px; }

.wp-cta { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 34px; text-align: center; }
.wp-cta h3 { font-size: 24px; margin-bottom: 10px; }
.wp-cta p { color: var(--paper-dim); max-width: 52ch; margin: 0 auto 22px; }
.wp-print { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--paper-mute); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; margin-top: 8px; }
.wp-print:hover { color: var(--accent); border-color: var(--accent); }
.foot-loc { font-family: var(--mono); font-size: 12px; color: var(--paper-mute); margin-top: 8px; }

/* FAQ block (People Also Ask) — native details, no JS fork */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--sans); font-size: clamp(1rem, 1.6vw, 1.18rem); font-weight: 600; color: var(--paper); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--accent); }
.faq-item > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq-item .faq-mark { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq-item .faq-mark::before, .faq-item .faq-mark::after { content: ""; position: absolute; background: var(--accent); transition: transform .3s var(--ease); }
.faq-item .faq-mark::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq-item .faq-mark::after { top: 2px; left: 10px; width: 2px; height: 18px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-item .faq-a { color: var(--paper-dim); line-height: 1.7; padding: 0 0 26px; max-width: 70ch; }
@media (prefers-reduced-motion: reduce) {
  .faq-item .faq-mark::before, .faq-item .faq-mark::after { transition: none; }
}

@media (max-width: 860px) {
  .wp-gate-grid { grid-template-columns: 1fr; }
  .wp-cover-mini { order: -1; }
}

/* print: clean Gartner style document on paper */
@media print {
  .nav, .footer, .wp-cta, .nav-toggle { display: none !important; }
  body { background: #fff; color: #111; }
  .wp-doc { max-width: 100%; }
  .wp-doc h2, .wp-doc h3, .wp-cover h1, .wp-keyfind p { color: #111; }
  .wp-doc p, .wp-doc ul, .wp-doc li { color: #222; }
  .wp-table th, .wp-table td { border-color: #ccc; }
  .wp-keyfind { background: #f6efe9; border-color: #e0c4b3; }
}

/* ============================================================
   Generic long form content: guides, blog posts, FAQ, tables
   (worker-built pages). Tokens only, dark theme, one accent.
   ============================================================ */
.rich { max-width: 74ch; margin: 0 auto; }
.rich > section { margin-top: clamp(40px, 5vw, 64px); }
.rich h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--paper); margin: 0 0 14px; letter-spacing: -0.01em; }
.rich h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.35rem); color: var(--paper); margin: 28px 0 10px; }
.rich p { color: var(--paper-dim); font-size: 17px; line-height: 1.6; margin: 0 0 16px; }
.rich p strong, .rich li strong { color: var(--paper); font-weight: 600; }
.rich ul, .rich ol { color: var(--paper-dim); font-size: 17px; line-height: 1.6; margin: 0 0 16px; padding-left: 22px; }
.rich li { margin-bottom: 8px; }
.rich a { color: var(--accent-bright); text-decoration: none; border-bottom: 1px solid var(--accent-tint); }
.rich a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.rich .answer-first { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--paper); border-left: 2px solid var(--accent); padding-left: 18px; margin: 0 0 8px; }

.guide-toc { background: var(--ink-600); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 8px auto 0; max-width: 74ch; }
.guide-toc h2 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-mute); margin: 0 0 12px; }
.guide-toc ol { margin: 0; padding-left: 20px; color: var(--paper-dim); font-size: 15px; line-height: 1.7; }
.guide-toc a { color: var(--paper-dim); text-decoration: none; }
.guide-toc a:hover { color: var(--accent); }

.dtable { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 14.5px; }
.dtable caption { caption-side: top; text-align: left; font-family: var(--mono); font-size: 12px; color: var(--paper-mute); margin-bottom: 8px; }
.dtable th, .dtable td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--paper-dim); vertical-align: top; }
.dtable thead th { color: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; border-bottom: 2px solid var(--line-strong); }

/* === MCO blog post components (worker added, token based) === */
.post-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--paper-mute); margin-top: 14px; }
.keyfind { background: var(--accent-tint); border: 1px solid var(--accent-glow); border-radius: var(--radius); padding: 22px 26px; margin: 26px 0; }
.keyfind .kf-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.keyfind p { color: var(--paper); margin: 0; font-size: 17px; line-height: 1.6; }
.cluster-links { max-width: 74ch; margin: clamp(40px,5vw,64px) auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.cluster-links h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-mute); margin: 0 0 14px; }
.cluster-links a { display: block; color: var(--accent-bright); text-decoration: none; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
.cluster-links a:last-child { border-bottom: 0; }
.cluster-links a:hover { color: var(--accent); }
.cluster-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.news-strip { max-width: 74ch; margin: 28px auto 0; background: var(--ink-600); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.news-strip p { margin: 0; color: var(--paper-dim); font-size: 15.5px; }
.news-strip a { color: var(--accent-bright); text-decoration: none; border-bottom: 1px solid var(--accent-tint); }
.news-strip a:hover { color: var(--accent); border-bottom-color: var(--accent); }
