/* ============================================================
   CloudFinOpsKit — landing page styles
   Plain CSS, no build step. Edit the variables below to rebrand.
   ============================================================ */

:root {
  --bg: #0b1020;
  --bg-soft: #111831;
  --surface: #151d39;
  --surface-2: #1b2547;
  --border: #263157;
  --text: #e9edf7;
  --text-muted: #9aa6c4;
  --accent: #5b8cff;
  --accent-2: #38e1c4;
  --accent-strong: #4070ff;
  --danger-strike: #6b7798;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1120px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(91, 140, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(56, 225, 196, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 0.98rem;
  padding: 12px 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff; box-shadow: 0 10px 26px -12px var(--accent);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px var(--accent); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; flex: 0 0 auto; white-space: nowrap; }
.brand-mark { color: var(--accent-2); font-size: 1.1rem; }
img.brand-mark { width: 30px; height: 30px; display: inline-block; vertical-align: middle; }
.brand-name .accent { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 22px; flex: 0 1 auto; }
.nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav .btn-primary { color: #fff; }
/* Hamburger toggle is injected by nav.js; shown only on mobile (see media query). */
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero { padding: 86px 0 60px; }
.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent-2);
  background: rgba(56, 225, 196, 0.08); border: 1px solid rgba(56, 225, 196, 0.25);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 18px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 640px; margin-bottom: 30px; }
.lede strong { color: var(--text); }
.hero-banner {
  display: inline-block; max-width: 640px; margin: 0 0 28px;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(91,140,255,0.14), rgba(56,225,196,0.12));
  border: 1px solid rgba(56,225,196,0.35);
  color: var(--text); font-size: 0.98rem; line-height: 1.5;
}
.hero-banner strong { color: var(--accent-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; list-style: none; color: var(--text-muted); font-size: 0.95rem; }
/* Dual-cloud lockup under the hero CTA */
.hero-clouds { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-clouds .hc-label { color: var(--text-muted); font-size: 0.85rem; }
.cloud-chip { font-size: 0.82rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--border); }
.cloud-chip--azure { color: #7aa2ff; background: rgba(91,140,255,0.10); border-color: rgba(91,140,255,0.30); }
.cloud-chip--aws { color: #f0ab5e; background: rgba(255,153,0,0.10); border-color: rgba(255,153,0,0.30); }

/* ===== Elevated hero (2026 refresh) — glass + aurora + living product card ===== */
.site-header { border-bottom-color: rgba(91,140,255,0.16); }
.hero { position: relative; overflow: hidden; }
.hero-aurora {
  position: absolute; top: -180px; right: -140px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,140,255,0.42), rgba(56,225,196,0.15) 46%, transparent 70%);
  filter: blur(22px); z-index: 0; pointer-events: none;
  animation: heroAurora 13s ease-in-out infinite;
}
@keyframes heroAurora { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-28px,18px) scale(1.13); } }
.hero .container.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 .grad {
  background: linear-gradient(100deg, #7fa8ff, #38e1c4 64%, #9bf0dd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .hero-cta .btn-primary {
  background: linear-gradient(135deg, #7fa8ff, var(--accent-2));
  color: #06122b; box-shadow: 0 16px 34px -14px rgba(56,225,196,0.6);
}
.hero .hero-cta .btn-primary:hover { box-shadow: 0 20px 42px -14px rgba(56,225,196,0.7); }
.hero-cta .btn-ghost { background: rgba(255,255,255,0.04); }
.hero-cta .btn-ghost .play { font-size: 0.72em; color: var(--accent-2); margin-right: 2px; }
.hero-banner { font-size: 0.9rem; padding: 10px 15px; }

/* Living product card */
.hcard {
  background: linear-gradient(165deg, #161d39, #101733);
  border: 1px solid #2a3656; border-radius: 16px; padding: 17px;
  box-shadow: 0 30px 66px -26px rgba(0,0,0,0.8);
  animation: heroFloat 6.5s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.hcard-title { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 700; color: var(--text); }
.hcard-ic { font-size: 1rem; }
.hcard-tag { font-size: 0.62rem; letter-spacing: 0.5px; color: var(--accent-2); background: rgba(56,225,196,0.12); border-radius: 999px; padding: 3px 10px; }
.hcard-svg { width: 100%; height: auto; display: block; }
.hcard-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 10px; }
.hcard-stat { background: rgba(255,255,255,0.03); border: 1px solid #243152; border-radius: 10px; padding: 8px 9px; }
.hcard-stat span { display: block; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.4px; color: #7e8aa8; }
.hcard-stat strong { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.hcard-stat strong.warn { color: #ff9f43; }
.hcard-stat strong.good { color: var(--accent-2); }
.hcard-alert {
  display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 0.74rem; line-height: 1.4;
  color: #ffc9a3; background: rgba(255,107,76,0.10); border: 1px solid rgba(255,107,76,0.28);
  border-left: 3px solid #ff6b4c; border-radius: 0 8px 8px 0; padding: 7px 10px;
}
.hcard-alert .ic { color: #ff6b4c; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hcard { order: 2; max-width: 460px; }
  .hero-aurora { width: 420px; height: 420px; top: -140px; right: -120px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora, .hcard { animation: none; }
}

/* Homepage flagship demo — real FinOps Agent footage, shown above the reel.
   NB: the display rules are written as `.home-agent-demo img.<class>` on purpose.
   A bare `.home-demo-still` (0,1,0) loses to `.home-agent-demo img` (0,1,1) and
   BOTH images would render — keep the element qualifier. */
.home-agent-demo { max-width: 860px; margin: 0 auto 34px; }
.home-agent-demo img { display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid var(--border); box-shadow: 0 22px 50px -24px rgba(18, 33, 27, .35); }
.home-agent-demo img.home-demo-still { display: none; }
.home-agent-demo figcaption { text-align: center; color: var(--text-muted); font-size: .92rem;
  margin-top: 12px; line-height: 1.6; }
.home-agent-demo .home-demo-link { display: inline-block; margin-left: 6px; font-weight: 600;
  color: var(--accent); text-decoration: none; white-space: nowrap; }
.home-agent-demo .home-demo-link:hover { text-decoration: underline; }
.home-agent-demo .home-demo-note { display: block; margin-top: 6px; font-size: .82rem; opacity: .8; }
@media (prefers-reduced-motion: reduce) {
  .home-agent-demo img.home-demo-motion { display: none; }
  .home-agent-demo img.home-demo-still { display: block; }
}

/* Self-playing promo reel (homepage demo) — scoped so its generic class names don't leak */
.cfk-reel { max-width: 1080px; margin: 0 auto 36px; }
.cfk-reel .stage { position: relative; aspect-ratio: 2/1; background: #0b1020; border: 1px solid #263157; border-radius: 14px; overflow: hidden; }
.cfk-reel .scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6% 8%; opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.cfk-reel .scene.on { opacity: 1; transform: none; }
.cfk-reel .hl { color: #eef2ff; font-size: clamp(20px,3.4vw,28px); font-weight: 800; line-height: 1.25; margin: 0; }
.cfk-reel .sub { color: #9fb0d6; font-size: 15px; margin: 10px 0 0; }
.cfk-reel .k { color: #5b8cff; } .cfk-reel .o { color: #ff9900; } .cfk-reel .tg { color: #38e1c4; }
.cfk-reel .bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-bottom: 22px; }
.cfk-reel .bar { width: 34px; background: #2f3a63; border-radius: 5px 5px 0 0; height: 14px; transition: height 1.1s cubic-bezier(.2,.7,.2,1); }
.cfk-reel .scene.on .b1 { height: 46px; } .cfk-reel .scene.on .b2 { height: 74px; } .cfk-reel .scene.on .b3 { height: 100px; }
.cfk-reel .scene.on .b4 { height: 122px; background: #ff6b6b; } .cfk-reel .scene.on .b5 { height: 130px; background: #ff6b6b; }
.cfk-reel .rpill { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 13px; border-radius: 999px; border: 1px solid #263157; }
.cfk-reel .azure { color: #9cc0ff; background: rgba(91,140,255,.12); border-color: rgba(91,140,255,.35); }
.cfk-reel .aws { color: #ffc680; background: rgba(255,153,0,.12); border-color: rgba(255,153,0,.35); }
.cfk-reel .chips { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.cfk-reel .term { font-size: 17px; font-weight: 600; color: #cfe; background: #0e1530; border: 1px solid #263157; border-radius: 10px; padding: 12px 20px; margin-bottom: 16px; }
.cfk-reel .mods { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.cfk-reel .mod { font-size: 12.5px; color: #9fb0d6; background: #141c38; border: 1px solid #263157; border-radius: 8px; padding: 6px 11px; opacity: .35; transition: opacity .4s, color .4s; }
.cfk-reel .scene.on .mod { opacity: 1; color: #bfe9d8; }
.cfk-reel .scene.on .mod1 { transition-delay: .1s; } .cfk-reel .scene.on .mod2 { transition-delay: .4s; } .cfk-reel .scene.on .mod3 { transition-delay: .7s; } .cfk-reel .scene.on .mod4 { transition-delay: 1s; } .cfk-reel .scene.on .mod5 { transition-delay: 1.3s; }
.cfk-reel .big { font-size: 46px; font-weight: 800; color: #38e1c4; letter-spacing: -1px; }
.cfk-reel .ringfg { stroke: #5b8cff; stroke-width: 9; fill: none; stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 1.3s ease; }
.cfk-reel .scene.on .ringfg { stroke-dashoffset: 56; }
.cfk-reel .saverow { display: flex; align-items: center; gap: 34px; margin-bottom: 12px; flex-wrap: wrap; justify-content: center; }
.cfk-reel .rcta { margin-top: 18px; display: inline-block; font-size: 15px; font-weight: 700; color: #0b1020; background: #5b8cff; border-radius: 10px; padding: 11px 22px; }
.cfk-reel .fine { color: #9fb0d6; font-size: 13.5px; margin-top: 12px; }
.cfk-reel .brand { font-size: 34px; font-weight: 800; color: #eef2ff; }
.cfk-reel .progress { height: 4px; background: #1a2342; }
.cfk-reel .pfill { height: 100%; width: 0; background: #5b8cff; transition: width .25s linear; }
.cfk-reel .ctrls { display: flex; justify-content: center; margin-top: 12px; }
.cfk-reel .replay { background: transparent; color: var(--text-muted); border: 1px solid var(--border); border-radius: 8px; padding: 7px 16px; font-size: 0.9rem; cursor: pointer; }
.cfk-reel .replay:hover { color: #fff; border-color: var(--accent); }

/* How it compares — free tools vs CloudFinOpsKit vs enterprise platforms */
.compare { padding: 70px 0; }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: start; }
.compare-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.compare-card.featured { border: 2px solid var(--accent); }
.compare-badge { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700; color: #0b1020; background: var(--accent); border-radius: 999px; padding: 3px 12px; }
.compare-tag { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-2); }
.compare-card.featured .compare-tag { color: var(--accent); }
.compare-name { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--text); }
.compare-who { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.compare-price { font-size: 1rem; font-weight: 700; color: var(--text); margin: 2px 0 4px; }
.compare-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 9px; }
.compare-list li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.45; padding-left: 22px; position: relative; }
.compare-list li.good::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }
.compare-list li.lim::before { content: "—"; position: absolute; left: 0; color: var(--text-muted); }
.compare-foot { text-align: center; max-width: 680px; margin: 28px auto 0; color: var(--text-muted); font-size: 0.95rem; }

/* Pricing tiers — monthly/annual toggle (CSS-only) + price display */
.billwrap { text-align: center; }
.billradio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.billtoggle { display: flex; width: fit-content; margin: 0 auto 30px; border: 1px solid var(--border); border-radius: 999px; padding: 4px; gap: 4px; }
.billtoggle label { cursor: pointer; padding: 7px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
#bm:checked ~ .billtoggle label[for="bm"], #ba:checked ~ .billtoggle label[for="ba"] { background: var(--accent); color: #0b1020; }
.billwrap .compare-grid { text-align: left; }
.p-annual { display: none; }
#ba:checked ~ .compare-grid .p-annual { display: block; }
#ba:checked ~ .compare-grid .p-monthly { display: none; }
.price-big { font-size: 2.2rem; font-weight: 800; color: var(--text); line-height: 1; }
.price-cyc { color: var(--text-muted); font-size: 0.9rem; }

/* Cookie/consent banner (GA4 Consent Mode) — appears only when analytics is active */
.cfk-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--border); padding: 14px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; box-shadow: 0 -8px 24px -16px rgba(0,0,0,0.6); }
.cfk-consent-text { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; max-width: 680px; }
.cfk-consent-text a { color: var(--accent); }
.cfk-consent-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ===== Proof strip ===== */
.proof-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.proof-strip p { text-align: center; color: var(--text-muted); font-size: 0.9rem; padding: 18px 0; letter-spacing: 0.02em; }
/* Trust / proof badges near the hero (mature positioning) */
.trust-strip { padding: 15px 0; }
.trust-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; align-items: center; }
.trust-badges li { font-size: 0.9rem; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.trust-badges li::before { content: "✓"; color: var(--accent-2); font-weight: 800; }
.trust-strip .trust-sub { text-align: center; margin: 10px 0 0; padding: 0; color: var(--text-muted); font-size: 0.82rem; letter-spacing: 0.02em; }

/* Cloud switcher strip — keep the Azure/AWS pills compact + proportional to the row. */
.cloud-switch { padding-top: 9px; padding-bottom: 9px; }
.cloud-switch > span { font-size: 0.88rem; }
.cloud-switch .btn { padding: 5px 14px; font-size: 0.8rem; border-radius: 8px; }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== Products ===== */
.products { padding: 78px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.product-badge {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--accent-2);
  background: rgba(56, 225, 196, 0.1); border: 1px solid rgba(56, 225, 196, 0.28);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 16px;
}
.product-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-desc { color: var(--text-muted); font-size: 0.96rem; flex-grow: 1; margin-bottom: 16px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.product-tag { font-size: 0.78rem; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { font-size: 1.4rem; font-weight: 800; }
.product-price .strike { color: var(--danger-strike); text-decoration: line-through; font-size: 0.95rem; font-weight: 600; margin-right: 6px; }
.product-card.featured { border-color: var(--accent-2); box-shadow: 0 18px 40px -18px rgba(56, 225, 196, 0.45); }
.product-card.featured .product-badge { color: #0b1020; background: var(--accent-2); border-color: var(--accent-2); }
.product-note { color: var(--accent-2); font-weight: 600; font-size: 0.92rem; margin-top: -6px; margin-bottom: 16px; }

/* ============================================================
   Inline checkout page — /checkout.html
   ============================================================ */
.checkout-page { background:
    radial-gradient(1200px 600px at 80% -10%, rgba(91,140,255,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(56,225,196,0.12), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}

.checkout-topbar {
  position: sticky; top: 0; z-index: 5;
  background: rgba(11,16,32,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.checkout-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.secure-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--accent-2); font-weight: 600;
  background: rgba(56,225,196,0.10);
  border: 1px solid rgba(56,225,196,0.28);
  padding: 7px 14px; border-radius: 999px;
}
@media (max-width: 640px) {
  .secure-pill { font-size: 0.74rem; padding: 5px 10px; }
}

.checkout-steps {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 0.86rem;
  margin: 28px auto 14px;
}
.cstep { display: inline-flex; align-items: center; gap: 8px; }
.cstep .dot {
  width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; background: var(--surface);
}
.cstep.is-done .dot { background: var(--accent-2); color: #0b1020; border-color: var(--accent-2); }
.cstep.is-current .dot { background: var(--accent); color: #fff; border-color: var(--accent); }
.cstep.is-current { color: var(--text); font-weight: 600; }
.csep { flex: 0 0 24px; height: 1px; background: var(--border); }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  margin: 16px auto 60px;
  align-items: start;
}
@media (max-width: 880px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* ── Order summary (left) ───────────────────────────────────────── */
.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky; top: 88px;
}
.checkout-summary h2 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 18px; font-weight: 600;
}
.checkout-line-item {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.li-thumb {
  width: 44px; height: 44px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(91,140,255,0.18), rgba(56,225,196,0.16));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.li-name { font-weight: 600; font-size: 0.95rem; }
.li-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.li-price { font-weight: 700; font-size: 0.95rem; }

.checkout-totals { padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.ctot-row { display: flex; justify-content: space-between; color: var(--text-muted); }
.ctot-row.due {
  font-size: 1.4rem; color: var(--text); font-weight: 800;
  padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--border);
}
.ctot-row.due .label {
  font-size: 0.78rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; align-self: center;
}
.checkout-back { margin-top: 18px; font-size: 0.85rem; }
.checkout-back a { color: var(--accent); }
.checkout-back a:hover { color: var(--accent-2); }

/* ── Right column: Paddle Inline + trust + cards ─────────────────── */
.checkout-form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  min-height: 320px;
}
.paddle-checkout {
  min-height: 360px;
  background: transparent;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.checkout-fallback {
  color: var(--text-muted); font-size: 0.92rem;
  background: rgba(245,181,74,.08); border-left: 2px solid var(--warn, #f5b54a);
  padding: 12px 16px; border-radius: 0 6px 6px 0;
}
.checkout-fallback a { color: var(--accent); }

.checkout-trust {
  margin-top: 22px; padding: 20px;
  background: rgba(56,225,196,0.05);
  border: 1px dashed rgba(56,225,196,0.30);
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.checkout-trust .trust-line {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.86rem; color: var(--text); line-height: 1.55;
}
.checkout-trust .ico { color: var(--accent-2); font-size: 1.1rem; line-height: 1.2; flex: 0 0 22px; text-align: center; margin-top: 1px; }
.checkout-trust strong { color: var(--text); font-weight: 600; }
.checkout-trust a {
  color: var(--accent); text-decoration: none; font-weight: 600;
  border-bottom: 1px dotted var(--accent);
}
.checkout-trust a:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

.checkout-cards {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.cards-label {
  font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600; margin-right: 6px;
}
.card-chip {
  padding: 5px 10px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text);
}

/* ── Merchant-of-Record footer ───────────────────────────────────── */
.checkout-mor-footer {
  border-top: 1px solid var(--border);
  background: rgba(11,16,32,0.65);
  padding: 22px 0;
}
.checkout-mor-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 20px;
  align-items: center; font-size: 0.78rem; color: var(--text-muted); line-height: 1.6;
}
@media (max-width: 760px) {
  .checkout-mor-inner { grid-template-columns: 1fr; }
}
.checkout-mor-footer .mor-left strong { color: var(--text); }
.checkout-mor-footer .mor-left a { color: var(--accent); border-bottom: 1px dotted var(--accent); text-decoration: none; }
.checkout-mor-footer .mor-right { display: flex; gap: 18px; }
.checkout-mor-footer .mor-right a { color: var(--text-muted); text-decoration: none; }
.checkout-mor-footer .mor-right a:hover { color: var(--text); }

/* Pre-checkout trust strip — sits above the price + Buy now row so the
   reassurance is read before the buyer clicks. */
.product-pretrust {
  margin: 0 0 14px;
  padding: 8px 12px;
  background: rgba(56, 225, 196, 0.06);
  border: 1px solid rgba(56, 225, 196, 0.16);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
}
.product-pretrust span[aria-hidden] { color: var(--accent-2); }
.product-pretrust a {
  color: var(--accent); text-decoration: none; font-weight: 600;
  border-bottom: 1px dotted rgba(91, 140, 255, 0.55);
}
.product-pretrust a:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

/* ===== Bundle ===== */
.bundle { padding: 70px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bundle-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.bundle-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.bundle-copy p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.05rem; }
.bundle-list { list-style: none; display: grid; gap: 10px; }
.bundle-list li { padding-left: 28px; position: relative; color: var(--text); }
.bundle-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }
.bundle-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow); }
.bundle-price { font-size: 2.6rem; font-weight: 800; margin-bottom: 4px; }
.bundle-price .strike { color: var(--danger-strike); text-decoration: line-through; font-size: 1.4rem; font-weight: 600; margin-right: 8px; }
.bundle-sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 22px; }
.bundle-guarantee { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; }

/* ===== Live demo (sample assessment output) ===== */
.demo { padding: 78px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.demo-window {
  max-width: 920px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.demo-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.demo-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); }
.demo-dot:nth-child(1) { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:nth-child(3) { background: #28c840; }
.demo-url { margin-left: 10px; font-size: 0.8rem; color: var(--text-muted); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }

.demo-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 0 10px; background: var(--bg); border-bottom: 1px solid var(--border); }
.demo-tab {
  appearance: none; background: transparent; border: none;
  border-bottom: 2px solid transparent; color: var(--text-muted);
  font: inherit; font-size: 0.92rem; font-weight: 600;
  padding: 13px 16px; cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease;
}
.demo-tab:hover { color: var(--text); }
.demo-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.demo-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 4px; }

.demo-panel { padding: 26px; animation: demo-fade 0.25s ease; }
.demo-panel[hidden] { display: none; }
@keyframes demo-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.demo-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.demo-kpi {
  background: var(--surface-2); border: 1px solid var(--border);
  border-top: 3px solid var(--kpi, var(--accent)); border-radius: var(--radius-sm);
  padding: 18px; display: flex; flex-direction: column; gap: 6px;
}
.demo-kpi-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.demo-kpi-value { font-size: 1.85rem; font-weight: 800; }
.demo-kpi-value.accent-2 { color: var(--accent-2); }
.demo-kpi-sub { font-size: 0.82rem; color: var(--text-muted); }

.demo-bars { list-style: none; display: grid; gap: 14px; }
.demo-bars li { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 14px; }
.demo-bar-label { font-size: 0.92rem; font-weight: 600; }
.demo-bar-track { height: 10px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.demo-bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.demo-bar-value { font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.demo-bar-value small, .demo-table small { color: var(--text-muted); font-weight: 500; font-size: 0.72em; }

.demo-table-wrap { overflow-x: auto; }
.demo-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.demo-table th { text-align: left; color: var(--text-muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.demo-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); }
.demo-table tr:last-child td { border-bottom: none; }
.demo-table .num { text-align: right; white-space: nowrap; font-weight: 700; }
.demo-table code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.85em; color: var(--accent); background: var(--surface-2); border: 1px solid var(--border); padding: 2px 7px; border-radius: 6px; }

.demo-pill { font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.demo-pill.high { color: #ff8f8f; background: rgba(255,95,87,0.14); border: 1px solid rgba(255,95,87,0.3); }
.demo-pill.med { color: #f4c66a; background: rgba(244,163,56,0.14); border: 1px solid rgba(244,163,56,0.3); }
.demo-pill.low { color: var(--text-muted); background: rgba(255,255,255,0.05); border: 1px solid var(--border); }

.demo-note { margin-top: 20px; color: var(--text-muted); font-size: 0.92rem; border-left: 3px solid var(--accent-2); padding-left: 14px; }
.demo-note strong { color: var(--text); }
.demo-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.demo-cta-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 14px; }
.demo-cta-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.demo-cta-note a:hover { text-decoration: underline; }

/* Interactive savings calculator */
.calc { padding: 72px 0; }
.calc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; align-items: center; }
.calc-input-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.calc-input label { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.calc-input output { font-size: 1.9rem; font-weight: 800; color: var(--accent); }
.calc-input input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); outline: none; }
.calc-input input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); cursor: pointer; box-shadow: 0 0 0 1px var(--accent); }
.calc-input input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.78rem; color: var(--text-muted); }
.calc-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.calc-stat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.calc-stat-val { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.calc-stat-lbl { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.calc-cta { text-align: center; margin-top: 28px; }
.calc-disclaimer { margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); max-width: 620px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .calc-card { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 440px) { .calc-results { grid-template-columns: 1fr; } }

/* Inside-the-report suite gallery */
.suite { padding: 72px 0; }
.suite-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.suite-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color 0.15s, transform 0.15s; }
.suite-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.suite-ico { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.suite-card h3 { font-size: 1rem; margin-bottom: 6px; }
.suite-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }
.suite-foot { margin-top: 22px; text-align: center; color: var(--text-muted); font-size: 0.95rem; }
.suite-foot strong { color: var(--text); }
@media (max-width: 980px) { .suite-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .suite-grid { grid-template-columns: 1fr; } }

/* Maturity panel */
.mat-wrap { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: center; }
.mat-score { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.mat-ring { width: 132px; height: 132px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--ring) calc(var(--pct) * 1%), rgba(255,255,255,0.07) 0); }
.mat-ring-num { width: 100px; height: 100px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; }
.mat-ring-num span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.mat-band { display: inline-block; background: var(--accent-2); color: #0b1020; font-weight: 700; font-size: 0.85rem; padding: 3px 16px; border-radius: 999px; }
.mat-band-note { font-size: 0.82rem; color: var(--text-muted); max-width: 200px; line-height: 1.5; }
.mat-dims { gap: 13px; }
.mat-dims li { grid-template-columns: 150px 1fr 44px; }
.mat-dims .demo-bar-value { text-align: right; }

/* Contributors panel */
.contrib-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contrib-h { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 12px; }
.contrib-row { display: grid; gap: 4px; margin-bottom: 13px; }
.contrib-name { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contrib-val { font-size: 0.8rem; color: var(--text-muted); }

/* ROI panel */
.roi-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: 18px; align-items: stretch; }
.roi-card { border: 1px solid var(--border); border-radius: var(--radius-sm); }
.roi-headline {
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px;
  background: linear-gradient(135deg, rgba(91,140,255,0.16), rgba(56,225,196,0.12));
  border-color: rgba(56,225,196,0.35);
}
.roi-multiple { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--accent-2); }
.roi-headline-label { font-size: 0.95rem; font-weight: 700; }
.roi-headline-sub { font-size: 0.85rem; color: var(--text-muted); }
.roi-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.roi-stats li { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; display: flex; flex-direction: column; gap: 5px; }
.roi-stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.roi-stat-value { font-size: 1.55rem; font-weight: 800; }
.roi-stat-value.accent-2 { color: var(--accent-2); }
.roi-stat-sub { font-size: 0.8rem; color: var(--text-muted); }
.roi-subhead { font-size: 1.02rem; margin: 26px 0 14px; }
.roi-ramp { list-style: none; display: grid; gap: 12px; margin: 0; }
.roi-ramp li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; }
.roi-ramp-month { font-weight: 700; font-size: 0.85rem; color: var(--text-muted); }
.roi-ramp-track { height: 12px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.roi-ramp-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.roi-ramp-val { font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.roi-ramp-val small { color: var(--text-muted); font-weight: 500; font-size: 0.72em; }

/* Savings forecast panel */
.fc-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.fc-controls-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.fc-segment { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px; gap: 2px; }
.fc-seg-btn { appearance: none; border: none; background: transparent; color: var(--text-muted); font: inherit; font-size: 0.88rem; font-weight: 600; padding: 7px 16px; border-radius: 999px; cursor: pointer; transition: background 0.15s, color 0.15s; }
.fc-seg-btn:hover { color: var(--text); }
.fc-seg-btn.is-active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07111f; }
.fc-seg-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.fc-kpi { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.fc-kpi-label { font-size: 0.74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.fc-kpi-value { font-size: 1.5rem; font-weight: 800; line-height: 1.1; transition: color 0.2s; }
.fc-kpi-value.accent-2 { color: var(--accent-2); }
.fc-kpi-value small { color: var(--text-muted); font-weight: 500; font-size: 0.62em; }
.fc-chart-wrap { margin: 0; }
.fc-chart-title { font-size: 0.92rem; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }
.fc-chart { width: 100%; height: auto; display: block; }
.fc-grid line { stroke: var(--border); stroke-width: 1; }
.fc-grid text { fill: var(--text-muted); font-size: 11px; }
.fc-xlabels text { fill: var(--text-muted); font-size: 11px; text-anchor: middle; }
.fc-line { transition: d 0.4s ease; }
.fc-area { transition: d 0.4s ease; }
.fc-dots circle { fill: var(--bg); stroke: var(--accent-2); stroke-width: 2; transition: cx 0.4s ease, cy 0.4s ease; }
@media (prefers-reduced-motion: reduce) {
  .fc-line, .fc-area, .fc-dots circle { transition: none; }
}

/* ===== Why ===== */
.why { padding: 78px 0; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.why-icon { font-size: 1.7rem; display: block; margin-bottom: 14px; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== AI for FinOps ===== */
.ai-section {
  position: relative; overflow: hidden; padding: 88px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 78% 6%, rgba(91,140,255,0.10), transparent 60%),
    radial-gradient(760px 380px at 12% 92%, rgba(56,225,196,0.09), transparent 58%),
    var(--bg);
}
/* Slow-drifting "AI aura" glow behind the content */
.ai-aura {
  position: absolute; top: -20%; left: 50%; width: 760px; height: 760px;
  transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(91,140,255,0.16), rgba(56,225,196,0.10) 42%, transparent 68%);
  filter: blur(46px); opacity: 0.8;
  animation: aiAura 16s ease-in-out infinite alternate;
}
@keyframes aiAura {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-46%) translateY(34px) scale(1.12); }
}
.ai-section .container { position: relative; z-index: 1; }
.ai-section .section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }

.eyebrow--ai {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-2); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.8rem;
}
/* Pulsing "live AI" signal dot */
.ai-pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(56,225,196,0.6); animation: aiPulse 2.1s ease-out infinite;
}
@keyframes aiPulse {
  0%   { box-shadow: 0 0 0 0 rgba(56,225,196,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(56,225,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,225,196,0); }
}
.ai-h2 {
  font-size: 2rem; margin: 12px 0 14px; line-height: 1.15;
  background: linear-gradient(100deg, var(--text) 30%, var(--accent) 70%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ai-lede { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.ai-lede a { color: var(--accent); text-decoration: none; border-bottom: 1px dotted var(--accent); }
.ai-lede a:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

/* Twin pillars — the two FinOps Foundation directions */
.ai-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 38px; }
@media (max-width: 740px) { .ai-twin { grid-template-columns: 1fr; } }

/* The four concrete AI-waste checks (FinOps for AI) */
.ai-checks { margin-bottom: 38px; }
.ai-checks-head { text-align: center; max-width: 720px; margin: 0 auto 20px; color: var(--text); font-size: 1.02rem; }
.ai-check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .ai-check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-check-grid { grid-template-columns: 1fr; } }
.ai-check { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; border-top: 2px solid var(--accent); }
.ai-check h4 { font-size: 1rem; margin-bottom: 7px; }
.ai-check p { color: var(--text-muted); font-size: .9rem; line-height: 1.55; }
.ai-checks-foot { text-align: center; color: var(--text-muted); font-size: .9rem; margin-top: 16px; }
.ai-pillar {
  position: relative; padding: 24px 24px 26px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(91,140,255,0.08), rgba(91,140,255,0.02));
}
.ai-pillar--alt { background: linear-gradient(160deg, rgba(56,225,196,0.08), rgba(56,225,196,0.02)); }
.ai-pillar-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); background: rgba(91,140,255,0.12);
  border: 1px solid rgba(91,140,255,0.3); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.ai-pillar-tag--alt { color: var(--accent-2); background: rgba(56,225,196,0.12); border-color: rgba(56,225,196,0.3); }
.ai-pillar h3 { font-size: 1.18rem; margin-bottom: 8px; }
.ai-pillar p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.ai-pillar strong { color: var(--text); }

.ai-grid-label {
  text-align: center; color: var(--text-muted); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px;
}

.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ai-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.ai-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(135deg, rgba(91,140,255,0.5), rgba(56,225,196,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.18s ease; pointer-events: none;
}
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(91,140,255,0.5); }
.ai-card:hover::before { opacity: 1; }
.ai-card-ico { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.ai-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.ai-card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.55; }

.ai-card--soon { border-style: dashed; border-color: rgba(56,225,196,0.35); }
.ai-badge-soon {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(56,225,196,0.12);
  border: 1px solid rgba(56,225,196,0.3); padding: 3px 9px; border-radius: 999px;
}

.ai-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }

.nav-ai {
  position: relative; color: var(--accent-2) !important; font-weight: 600;
}
.nav-ai::after {
  content: ""; position: absolute; top: -2px; right: -9px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(56,225,196,0.6); animation: aiPulse 2.1s ease-out infinite;
}

/* ===== AWS brand-orange accent (cloud tab + selector) ===== */
:root { --aws-orange: #ff9900; --aws-orange-strong: #ec7211; }

/* Filled AWS button = the SELECTED AWS state in the cloud switcher. */
.btn-aws {
  background: linear-gradient(135deg, var(--aws-orange), var(--aws-orange-strong));
  color: #1a1206; border-color: transparent;
  box-shadow: 0 10px 26px -12px var(--aws-orange);
}
.btn-aws:hover { color: #1a1206; box-shadow: 0 14px 30px -10px var(--aws-orange); transform: translateY(-1px); }

/* Ghost AWS button (the inactive cloud) → orange on hover. */
.btn-ghost.btn-aws-ghost:hover { border-color: var(--aws-orange); color: var(--aws-orange); }

/* Nav AWS link → orange on hover; orange + pulsing dot when it is the current page. */
.nav a.nav-aws:hover { color: var(--aws-orange); }
.nav a.nav-aws.is-current {
  position: relative; color: var(--aws-orange) !important; font-weight: 600;
}
.nav a.nav-aws.is-current::after {
  content: ""; position: absolute; top: -2px; right: -9px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--aws-orange);
  box-shadow: 0 0 0 0 rgba(255,153,0,0.6); animation: awsPulse 2.1s ease-out infinite;
}
@keyframes awsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,153,0,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,153,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,153,0,0); }
}

@media (prefers-reduced-motion: reduce) {
  .ai-aura, .ai-pulse, .nav-ai::after, .nav a.nav-aws.is-current::after { animation: none; }
}
@media (max-width: 640px) {
  .ai-h2 { font-size: 1.55rem; }
  .ai-section { padding: 64px 0; }
}

/* ===== Signup ===== */
.signup { padding: 70px 0; background: linear-gradient(135deg, rgba(91,140,255,0.12), rgba(56,225,196,0.08)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.signup-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.signup-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.signup-inner p { color: var(--text-muted); margin-bottom: 26px; }
.signup-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.signup-form input {
  flex: 1 1 280px; max-width: 360px; padding: 13px 16px; font-size: 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
}
.signup-form input::placeholder { color: var(--text-muted); }
.signup-form input:focus { outline: none; border-color: var(--accent); }
.signup-note { margin-top: 16px; color: var(--accent-2); font-size: 0.95rem; }
.signup-note--error { color: #ff8a8a; }

/* ===== FAQ ===== */
.faq { padding: 78px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-muted); padding-bottom: 18px; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; padding-bottom: 28px; }
.footer-tag { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-muted); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; text-align: center; }

/* ===== Legal pages (Terms, Privacy) ===== */
.legal { padding: 56px 0 72px; }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal-eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-2);
}
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 8px 0 6px; }
.legal .legal-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.legal h2 {
  font-size: 1.15rem; margin: 30px 0 10px; color: var(--text);
  padding-top: 18px; border-top: 1px solid var(--border);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1rem; margin: 18px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); font-size: 0.96rem; }
.legal p { margin: 10px 0; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal .legal-callout {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 18px 0;
}
.legal .back-link { display: inline-block; margin-bottom: 22px; color: var(--text-muted); font-size: 0.9rem; }
.legal .back-link:hover { color: var(--text); }

/* ===== AI Advisor chatbot ===== */
.chat-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px; border: 1px solid var(--border); cursor: pointer;
  border-radius: 999px; color: #fff; font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 30px -10px var(--accent);
  transition: transform 0.12s ease, box-shadow 0.18s ease;
}
.chat-toggle:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -10px var(--accent); }
.chat-toggle:active { transform: translateY(0); }
.chat-toggle-icon { font-size: 1.1rem; line-height: 1; }

.chat-panel {
  position: fixed; right: 22px; bottom: 84px; z-index: 60;
  width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 560px);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
/* The class above sets display:flex, which would otherwise override the
   browser's default [hidden] { display:none }. This keeps the close button
   (and Esc / toggle) working on every browser, including mobile. */
.chat-panel[hidden] { display: none; }

.chat-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.chat-title { font-weight: 700; font-size: 1rem; }
.chat-subtitle { color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }
.chat-close {
  background: transparent; border: none; color: var(--text-muted);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  width: 40px; height: 40px; flex: 0 0 auto; margin: -6px -6px 0 0;
  border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
}
.chat-close:hover { color: var(--text); background: var(--bg-soft); }

.chat-log {
  flex: 1; overflow-y: auto; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}

.chat-msg {
  max-width: 85%; padding: 9px 13px; border-radius: 13px;
  font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word;
}
.chat-msg-user {
  align-self: flex-end; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-bottom-right-radius: 4px;
}
.chat-msg-bot {
  align-self: flex-start; background: var(--surface-2);
  border: 1px solid var(--border); border-bottom-left-radius: 4px;
}
.chat-msg-error { color: #ffd5d5; border-color: #5a2a39; background: #2a1622; }
.chat-msg-typing { color: var(--text-muted); letter-spacing: 2px; }

.chat-form {
  display: flex; gap: 8px; padding: 12px 14px;
  border-top: 1px solid var(--border); background: var(--surface-2);
}
.chat-input {
  flex: 1; padding: 10px 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--text);
  font-size: 0.92rem; font-family: inherit;
}
.chat-input:focus { outline: none; border-color: var(--accent); }
.chat-input:disabled { opacity: 0.6; }

.chat-disclaimer {
  padding: 0 14px 12px; margin-top: -4px;
  color: var(--text-muted); font-size: 0.72rem; background: var(--surface-2);
}

/* ===== Responsive ===== */
/* Mid-width safety tier: tighten the nav before the mobile collapse so the
   trimmed 7-link bar never crowds the brand on smaller laptops. */
@media (max-width: 1100px) {
  .header-inner { gap: 24px; }
  .nav { gap: 15px; }
  .nav a { font-size: 0.9rem; }
}
@media (max-width: 760px) {
  /* Mobile: the nav collapses behind a hamburger (injected by nav.js) and
     opens as a full-width dropdown panel below the sticky header. */
  .header-inner { height: 58px; gap: 10px; }
  .brand { font-size: 1.04rem; gap: 7px; min-width: 0; }
  .brand-name { white-space: nowrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; flex: 0 0 auto; padding: 0;
    background: transparent; border: 1px solid var(--border, #263157);
    border-radius: 10px; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    content: ""; display: block; width: 20px; height: 2px;
    background: var(--text, #e8ecf8); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before { position: absolute; left: 0; top: -6px; }
  .nav-toggle-bars::after  { position: absolute; left: 0; top: 6px; }
  .site-header.nav-open .nav-toggle-bars { background: transparent; }
  .site-header.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .site-header.nav-open .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 0 12px;
    background: #0e1430;
    border-top: 1px solid var(--border, #263157);
    border-bottom: 1px solid var(--border, #263157);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
    display: none;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a:not(.btn) { display: block; padding: 13px 22px; font-size: 1rem; }
  .nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
  .nav .btn {
    margin: 10px 22px 2px; text-align: center;
    white-space: nowrap; padding: 11px 14px; font-size: 0.9rem;
  }
  .bundle-inner { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  /* Advisor becomes a bottom sheet: pinned header + close button stay visible,
     dynamic viewport height avoids being cut off by mobile browser chrome,
     and the floating toggle hides while open so it can't overlap the panel. */
  .chat-panel {
    right: 0; left: 0; bottom: 0; width: 100%;
    max-height: 85vh; max-height: 85dvh;
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: none;
  }
  .chat-toggle { right: 12px; bottom: 12px; }
  .chat-toggle[aria-expanded="true"] { display: none; }
  .chat-form { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .demo-panel { padding: 18px; }
  .demo-bars li { grid-template-columns: 1fr auto; }
  .demo-bar-track { grid-column: 1 / -1; order: 3; }
  .demo-tab { padding: 12px 11px; font-size: 0.85rem; }
  .mat-wrap { grid-template-columns: 1fr; gap: 20px; }
  .contrib-cols { grid-template-columns: 1fr; gap: 20px; }
  .roi-grid { grid-template-columns: 1fr; }
  .roi-stats { grid-template-columns: 1fr; }
  .fc-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* Very small phones (≤380px): tighten the header a touch more so the brand
   and CTA never overlap on 320–375px screens (iPhone SE, small Androids). */
@media (max-width: 380px) {
  .brand { font-size: 0.95rem; gap: 6px; }
  img.brand-mark { width: 26px; height: 26px; }
  .nav .btn { padding: 7px 11px; font-size: 0.78rem; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ===== Thank-you / downloads page ===== */
.thankyou { padding: 64px 0 80px; }
.thankyou-inner { max-width: 760px; }
.thankyou-inner h1 { margin: 8px 0 14px; }
.thankyou-status { margin: 22px 0 8px; }
.thankyou-loading,
.thankyou-info { color: var(--text-muted); }
.thankyou-success {
  color: var(--accent-2); font-weight: 600;
  padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg-soft);
}
.thankyou-error {
  color: #ffd5d5; padding: 12px 16px; border: 1px solid #5a2a39;
  border-radius: var(--radius-sm); background: #2a1622;
}
.thankyou-help { margin-top: 28px; color: var(--text-muted); font-size: 0.9rem; }

.download-list { display: grid; gap: 18px; margin-top: 22px; }
.download-card {
  padding: 20px 22px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
}
.download-card h2 { font-size: 1.12rem; margin: 0 0 14px; }
.download-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.download-files li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.download-size { color: var(--text-muted); font-size: 0.82rem; }

/* Share row — sits below the email signup and on the thank-you page so happy
   visitors / buyers can amplify with one click. */
.share-row {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px dashed var(--border);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.share-row .share-label {
  color: var(--text-muted); font-size: 0.92rem;
  margin-right: 6px; flex-basis: 100%; margin-bottom: 4px;
}
@media (min-width: 720px) {
  .share-row .share-label { flex-basis: auto; margin-bottom: 0; }
}
/* Keep all icon buttons grouped so they wrap as a unit (never split the row). */
.share-row .share-btns { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.share-row .share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); cursor: pointer;
  color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border);
  text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.share-row .share-btn svg { display: block; }
.share-row .share-btn:hover { transform: translateY(-1px); color: #fff; }
/* Per-network brand colours on hover */
.share-row .share-btn--linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.share-row .share-btn--facebook:hover { background: #1877F2; border-color: #1877F2; }
.share-row .share-btn--x:hover        { background: #000; border-color: #000; color: #fff; }
.share-row .share-btn--reddit:hover   { background: #FF4500; border-color: #FF4500; }
.share-row .share-btn--email:hover    { background: var(--accent); border-color: var(--accent); }
.share-row .share-btn--copy:hover     { background: var(--accent-2); border-color: var(--accent-2); color: #0b1020; }
.share-row .share-btn.is-copied {
  background: var(--accent-2); border-color: var(--accent-2); color: #0b1020;
}
.share-row--thankyou {
  margin-top: 28px; padding: 16px 18px;
  border: 1px dashed var(--border); border-radius: var(--radius-sm);
  background: rgba(91, 140, 255, 0.04);
}

/* Friendly "get fresh download links" box on the thank-you page. */
.thankyou-refresh {
  margin-top: 22px; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(56, 225, 196, 0.06);
  color: var(--text-muted); font-size: 0.94rem;
}
.thankyou-refresh .link {
  color: var(--accent-2); font-weight: 600; text-decoration: underline;
}
.thankyou-refresh .link:hover { color: var(--accent); }

/* One-click "Download everything" — the primary path on the thank-you page. */
.download-primary { margin: 0 0 14px; }
.download-primary .btn-block { font-size: 1.08rem; padding: 16px 24px; }
.download-primary-meta {
  margin: 8px 2px 0; color: var(--text-muted); font-size: 0.85rem;
  font-style: normal;
}
.download-individual {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.download-individual summary {
  cursor: pointer; color: var(--text-muted); font-size: 0.92rem;
  padding: 6px 0; user-select: none;
}
.download-individual summary:hover { color: var(--text); }
.download-individual[open] summary { margin-bottom: 12px; }


/* ===== Insights (blog) section ===== */
.insights-hero { padding: 64px 0 28px; }
.insights-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 10px 0 14px; }
.insights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding-bottom: 70px; }
.insight-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease, border-color .15s ease; }
.insight-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.insight-card a.insight-title { color: var(--text); font-weight: 700; font-size: 1.12rem; line-height: 1.35; text-decoration: none; }
.insight-card a.insight-title:hover { color: var(--accent); }
.insight-kicker { color: var(--accent-2); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
/* AWS tag — softened, faded orange that blends with the card instead of a harsh solid bar. */
.insight-kicker.aws { display: inline-block; align-self: flex-start; color: #f0ab5e; background: rgba(255,153,0,0.11); padding: 2px 9px; border-radius: 6px; }
.insight-desc { color: var(--text-muted); font-size: .95rem; line-height: 1.55; flex: 1; }
.insight-meta { color: var(--text-muted); font-size: .8rem; }
.article { max-width: 780px; margin: 0 auto; padding: 46px 20px 80px; }
.article .insight-kicker { display: block; margin-bottom: 10px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; margin-bottom: 14px; }
.article .article-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article h2 { font-size: 1.45rem; margin: 42px 0 14px; color: var(--text); }
.article h3 { font-size: 1.12rem; margin: 30px 0 10px; color: var(--text); }
.article p, .article li { color: var(--text-muted); line-height: 1.7; font-size: 1rem; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.article a { color: var(--accent); }
.article code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; font-size: .88em; color: var(--accent-2); }
.article pre { background: #0d1330; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; overflow-x: auto; margin: 0 0 20px; }
.article pre code { background: none; border: none; padding: 0; color: #cdd8f5; font-size: .86rem; line-height: 1.55; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: .92rem; }
.article th { background: var(--surface-2); color: var(--text); text-align: left; padding: 10px 12px; border: 1px solid var(--border); }
.article td { padding: 10px 12px; border: 1px solid var(--border); color: var(--text-muted); }
.article .callout { background: linear-gradient(135deg, rgba(91,140,255,.12), rgba(56,225,196,.07)); border: 1px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; }
.article .callout p { margin-bottom: 10px; }
.article .callout p:last-child { margin-bottom: 0; }
.article .article-foot { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-muted); }
.breadcrumbs { font-size: .85rem; color: var(--text-muted); padding: 22px 0 0; max-width: 780px; margin: 0 auto; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ===== Elevated surfaces (2026 refresh) — cascade the hero language site-wide ===== */
.product-card, .suite-card, .why-card, .compare-card {
  background: linear-gradient(165deg, var(--surface), var(--bg-soft));
  border-color: #2a3656;
  box-shadow: 0 20px 44px -28px rgba(0, 0, 0, 0.7);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.18s ease;
}
.product-card:hover, .suite-card:hover, .why-card:hover, .compare-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 140, 255, 0.55);
  box-shadow: 0 26px 54px -22px rgba(91, 140, 255, 0.4);
}
.product-card.featured {
  border-color: rgba(56, 225, 196, 0.55);
  box-shadow: 0 24px 50px -22px rgba(56, 225, 196, 0.45);
}
.compare-card.featured {
  border-width: 1px; border-color: rgba(56, 225, 196, 0.5);
  background: linear-gradient(165deg, #15243f, #101a33);
  box-shadow: 0 24px 54px -22px rgba(56, 225, 196, 0.4);
}
.compare-card.featured .compare-badge {
  background: linear-gradient(135deg, #7fa8ff, var(--accent-2)); color: #06122b;
}
/* Unifying gradient divider under every section heading */
.section-head::after {
  content: ""; display: block; width: 54px; height: 3px; margin: 16px auto 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.suite-ico { filter: drop-shadow(0 6px 14px rgba(91, 140, 255, 0.25)); }
@media (prefers-reduced-motion: reduce) {
  .product-card, .suite-card, .why-card, .compare-card { transition: none; }
}

/* ===== AWS hero accent — mirrors the homepage hero on /aws/ in AWS orange ===== */
.hero--aws .hero-aurora {
  background: radial-gradient(circle, rgba(255,153,0,0.34), rgba(236,114,17,0.12) 46%, transparent 70%);
}
.hero--aws h1 .grad {
  background: linear-gradient(100deg, #ffc46b, #ff9900 60%, #ffb347);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--aws .eyebrow--ai {
  color: #ffce93; background: rgba(255,153,0,0.09); border-color: rgba(255,153,0,0.32);
}
.hero--aws .ai-pulse { background: var(--aws-orange); }
.hero--aws .hero-cta .btn-primary {
  background: linear-gradient(135deg, var(--aws-orange), var(--aws-orange-strong));
  color: #1a1206; box-shadow: 0 16px 34px -14px rgba(255,153,0,0.6);
}
.hero--aws .hero-cta .btn-primary:hover { box-shadow: 0 20px 42px -14px rgba(255,153,0,0.7); }
.hero--aws .hero-cta .btn-ghost .play { color: var(--aws-orange); }
.hero--aws .hcard-tag { color: #ffce93; background: rgba(255,153,0,0.14); }

/* ===== FinOps story / pit-crew persona model (page + homepage teaser) ===== */
.finops-hero { padding: 64px 0 26px; }
.finops-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; margin: 14px 0 14px; max-width: 760px; }
.finops-hero .grad { background: linear-gradient(100deg,#7fa8ff,#38e1c4); -webkit-background-clip:text; background-clip:text; color:transparent; }
.finops-lede { font-size: 1.12rem; color: var(--text-muted); max-width: 680px; line-height: 1.6; }
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto; }
@media (max-width: 700px){ .contrast-grid { grid-template-columns: 1fr; } }
.contrast-card { border-radius: var(--radius); padding: 22px 24px; border:1px solid var(--border); }
.contrast-card h3 { display:flex; align-items:center; gap:10px; font-size:1.08rem; margin:0 0 8px; }
.contrast-card p { color: var(--text-muted); font-size:0.96rem; line-height:1.6; margin:0; }
.contrast-card--gas { background: rgba(255,107,76,0.06); border-color: rgba(255,107,76,0.25); }
.contrast-card--gas h3 { color:#ff9f7a; }
.contrast-card--crew { background: rgba(56,225,196,0.07); border-color: rgba(56,225,196,0.28); }
.contrast-card--crew h3 { color:#8fe6d4; }
.spend-banner { display:flex; align-items:center; gap:14px; justify-content:center; max-width:420px; margin: 8px auto; padding:15px 22px; border-radius:14px; background: linear-gradient(135deg, rgba(91,140,255,.14), rgba(56,225,196,.10)); border:1px solid var(--border); }
.spend-banner .si { font-size:1.9rem; line-height:1; }
.spend-banner b { font-size:1.05rem; font-weight:700; display:block; }
.spend-banner span { font-size:0.84rem; color:var(--text-muted); }
.crew-down { text-align:center; color:#5b6585; font-size:1.4rem; margin:4px 0 18px; }
.crew-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(178px,1fr)); gap:16px; max-width:1080px; margin:0 auto; }
.crew-card { background: linear-gradient(165deg, var(--surface), var(--bg-soft)); border:1px solid #2a3656; border-radius:14px; padding:20px; transition: transform .16s ease, border-color .16s ease, box-shadow .18s ease; }
.crew-card:hover { transform: translateY(-4px); border-color: rgba(91,140,255,.55); box-shadow: 0 24px 50px -24px rgba(91,140,255,.4); }
.crew-card--chief { border-color: rgba(56,225,196,0.45); }
.crew-ico { font-size:1.6rem; color: var(--accent); }
.crew-card--chief .crew-ico { color: var(--accent-2); }
.crew-role { font-size:0.78rem; color:#8fa0c8; margin:10px 0 2px; text-transform:uppercase; letter-spacing:.4px; }
.crew-card--chief .crew-role { color:#8fe6d4; }
.crew-persona { font-size:1.04rem; font-weight:700; margin-bottom:7px; color:var(--text); }
.crew-card p { font-size:0.9rem; color:var(--text-muted); line-height:1.55; margin:0; }
.cadence { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; margin:0 auto; font-size:1.02rem; color:var(--text-muted); }
.cadence b { color: var(--accent); font-weight:700; }
.cadence .sep { color:#5b6585; }
.cadence .roi { color:#8fe6d4; font-weight:700; }
.persona-outcomes { max-width:900px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
.po-row { display:grid; grid-template-columns: 210px 1fr; gap:18px; align-items:center; background: linear-gradient(165deg, var(--surface), var(--bg-soft)); border:1px solid #2a3656; border-radius:var(--radius); padding:16px 20px; }
@media (max-width:640px){ .po-row { grid-template-columns:1fr; gap:6px; } }
.po-persona { font-weight:700; color:var(--text); display:flex; align-items:center; gap:9px; }
.po-persona i { color:var(--accent); font-size:1.2rem; }
.po-gets { color:var(--text-muted); font-size:0.95rem; line-height:1.55; }
.po-gets strong { color:var(--accent-2); font-weight:600; }
/* Homepage teaser band */
.finops-teaser { background: radial-gradient(120% 90% at 80% 0%, #13203f 0%, transparent 60%); }
@media (prefers-reduced-motion: reduce){ .crew-card { transition:none; } }
/* Lead "FinOps" nav tab — message-first, so it's accented next to the brand */
.nav a.nav-finops { color: var(--accent-2); font-weight: 600; }
.nav a.nav-finops:hover { color: #9bf0dd; }
/* Hero connective line — bridges the product hero to the FinOps message */
.hero-microline { font-size: 0.92rem; color: var(--text-muted); margin: -8px 0 18px; }
.hero-microline a { color: var(--accent-2); font-weight: 600; }
.hero-microline a:hover { color: #9bf0dd; }

/* ===== Live-demo reel: real report output slides ===== */
.cfk-reel .scene-shot { padding: 0; }
.cfk-reel .reel-shot { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.cfk-reel .scene-shot .sub { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 26px 16px 9px; font-size: 0.85rem; background: linear-gradient(transparent, rgba(6,10,22,.86)); }

/* ===== Remediation playbook (findings -> fixed) ===== */
.remediate { padding: 72px 0; }
.rem-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: flex; flex-direction: column; gap: 14px; counter-reset: rem; }
.rem-step { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(165deg, var(--surface), var(--bg-soft)); border: 1px solid #2a3656; border-radius: var(--radius); padding: 18px 20px; transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.18s ease; }
.rem-step:hover { transform: translateY(-3px); border-color: rgba(91,140,255,0.5); box-shadow: 0 22px 48px -24px rgba(91,140,255,0.35); }
.rem-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem; font-weight: 800; color: #06122b; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.rem-body { min-width: 0; }
.rem-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 5px; }
.rem-head h3 { font-size: 1.08rem; margin: 0; }
.rem-tag { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.rem-tag.good { color: #8fe6d4; border-color: rgba(56,225,196,0.35); background: rgba(56,225,196,0.08); }
.rem-tag.plan { color: #ffce93; border-color: rgba(255,153,0,0.3); background: rgba(255,153,0,0.08); }
.rem-body p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; margin: 0; }
.rem-docs { font-size: 0.82rem; margin: 8px 0 0; color: var(--text-muted); }
.rem-docs-lbl { text-transform: uppercase; letter-spacing: 0.4px; font-size: 0.66rem; color: var(--text-muted); margin-right: 6px; }
.rem-docs a { color: var(--accent); }
.rem-docs a:hover { text-decoration: underline; }
@media (max-width: 560px) { .rem-step { padding: 15px 16px; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .rem-step { transition: none; } }

/* ============================================================
   Product ladder — separates the SERVICE (subscription) from the
   PRODUCTS (one-time downloads). Built on the shared tokens so it
   works with or without the Treasury brand layer.
   ============================================================ */

/* 1 · Orientation rail — deliberately NOT card-shaped, so it reads as
   "how the range fits together", not as more merchandise. */
.cfk-rail { display: flex; align-items: stretch; border: 1px solid var(--border);
  border-radius: 13px; overflow: hidden; background: var(--surface-2); margin-bottom: 40px; }
.cfk-rail .rung { flex: 1 1 0; min-width: 150px; padding: 15px 17px; border-right: 1px solid var(--border); }
.cfk-rail .rung:last-child { border-right: none; }
.cfk-rail .rung .n { font-family: var(--font-mono, ui-monospace, Consolas, monospace);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-muted); }
.cfk-rail .rung .t { font-weight: 750; font-size: 0.98rem; margin-top: 3px; letter-spacing: -0.01em; }
.cfk-rail .rung .d { color: var(--text-muted); font-size: 0.83rem; margin-top: 3px; }
.cfk-rail .rung.live { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.cfk-rail .rung.live .n, .cfk-rail .rung.live .t { color: var(--accent); }
@media (max-width: 820px) {
  .cfk-rail { flex-wrap: wrap; }
  .cfk-rail .rung { flex: 1 1 45%; border-bottom: 1px solid var(--border); }
}

/* 2 · Section labels — name the two layers explicitly. */
.cfk-seclabel { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.cfk-seclabel .l { font-family: var(--font-mono, ui-monospace, Consolas, monospace);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  white-space: nowrap; color: var(--text-muted); }
.cfk-seclabel.is-service .l { color: var(--accent); }
.cfk-seclabel .line { height: 1px; background: var(--border); flex: 1; }

/* 3 · The service panel — one wide unit, visibly not a product card. */
.cfk-service { display: grid; grid-template-columns: 1.55fr 1fr; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  margin-bottom: 42px; }
.cfk-service .main { padding: 26px 28px; }
.cfk-service .badge { display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono, ui-monospace, Consolas, monospace); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); border-radius: 999px; padding: 5px 11px; }
.cfk-service h3 { font-size: 1.6rem; font-weight: 850; letter-spacing: -0.025em; margin: 13px 0 0; }
.cfk-service .lede { color: var(--text-muted); margin-top: 10px; font-size: 0.97rem; max-width: 52ch; }
.cfk-service .lede strong { color: var(--text); font-weight: 650; }
.cfk-service .points { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; margin-top: 18px; }
.cfk-service .points div { display: flex; gap: 9px; font-size: 0.88rem; color: var(--text-muted); align-items: flex-start; }
.cfk-service .points .ok { color: var(--accent); font-weight: 800; flex: none; }
.cfk-service .side { background: var(--surface-2); border-left: 1px solid var(--border); padding: 26px 24px;
  display: flex; flex-direction: column; justify-content: center; gap: 13px; }
.cfk-service .price { font-family: var(--font-mono, ui-monospace, Consolas, monospace);
  font-variant-numeric: tabular-nums; font-size: 2.1rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1; }
.cfk-service .price small { display: block; font-family: inherit; font-size: 0.76rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0; margin-top: 6px; }
.cfk-service .svc-foot { font-family: var(--font-mono, ui-monospace, Consolas, monospace);
  font-size: 0.68rem; color: var(--text-muted); text-align: center; margin: 0; }
@media (max-width: 760px) {
  .cfk-service { grid-template-columns: 1fr; }
  .cfk-service .side { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 520px) { .cfk-service .points { grid-template-columns: 1fr; } }
