/* ──────────────────────────────────────────────────────────────────────────
   microsite.css — the SHARED component layer for GTM collateral microsites.

   This is the single source of the standard component classes (ROI calculator,
   form-row use-case videos, system blocks, Kickoff panels, ARM RAG cards,
   Appendix full-bleed video, tab shell, case studies). It is linked by BOTH:
     • index.html — the template (the one design source); bind.js fills it with a
                    prospect's content on ?slug, in place (no second markup).
   so a component is defined once and every prospect deck IS the template. All visual TOKENS still come
   from base.css (Hugh's design system); this file is layout/component-only.
   ────────────────────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════════════
   GTM COLLATERAL — PRESENTATION MODEL  (forks base.css website assumptions)

   base.css styles a *scrolling website*: content capped at 1328px, single
   column flow. A GTM collateral deck is a *presentation* — each <section> is a
   1920×1080-feel slide, edge to edge, content split text-left / media-right.
   This block overrides those website assumptions for the slide builder; brand
   tokens (colour, type, spacing) still come from base.css.

   One authoring model, two views:
     • scroll view  — sections stack, each ~one screenful (rules here)
     • present view — slide-view.js scales the SAME section DOM to fit 16:9
   ═══════════════════════════════════════════════════════════════════════════ */

/* Full-bleed: drop the website 1328px content cap so slides span the viewport.
   Slide margins now come from the section padding (see .tab-panel > section). */
.custom-grid, .split { max-width: none; margin: 0; }

/* Presentation type scale — h2 tops out at 48px, body copy at 18px */
.tab-panel > section h2 { font-size: clamp(1.75rem, 1rem + 2.5vw, 3rem); line-height: 1.14; }   /* max 48px */
.tab-panel > section .sec-body,
.tab-panel > section .sec-body li,
.tab-panel > section .bento-col p,
.tab-panel > section .bento-col li { font-size: 1.125rem; }   /* 18px */
/* All h3 → Sunflower 24px (fixed px so it holds on the locked present-mode stage) */
.tab-panel h3 { font-family: 'Sunflower', sans-serif; font-weight: 500; font-size: 24px; line-height: 1.3; margin: 0 0 var(--space-1); }

/* ── Left / right split: text + info on the LEFT, media (video/image) on the RIGHT ──
   markup:  .slide-split > .slide-copy (text)  +  .slide-split > .slide-media (video/image) */
.slide-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);   /* 50/50: text left, media right */
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  width: 100%;
}
.slide-split .slide-media { width: 100%; min-width: 0; }
.slide-split .slide-media .uc-video,
.slide-split .slide-media .media { margin: 0; }
.slide-split .slide-copy .stack-headings { margin: 0; }
/* Branded bullets on EVERY deck list: markers flush-aligned under the heading,
   tighter than the design-system default (line-height 2 is too airy). Three
   variants share the spacing: dot (overview), cross (the manual "before" way),
   tick (the value points on each With-Dashpivot use case). */
.tab-panel .checklist-dot,
.tab-panel .checklist-cross,
.tab-panel .checklist-tick { padding-left: 24px; margin: var(--space-4) 0 0; max-width: none; color: var(--sm-text-body); }
.tab-panel .checklist-dot li,
.tab-panel .checklist-cross li,
.tab-panel .checklist-tick li { line-height: 1.45; margin-bottom: var(--space-2); }
.tab-panel .checklist-dot li:last-child,
.tab-panel .checklist-cross li:last-child,
.tab-panel .checklist-tick li:last-child { margin-bottom: 0; }
/* Inside a card the title sits right above its list — drop the list's top margin
   so the h3 → list gap is just the heading's own 8px (no stacked whitespace). */
.bento-col > .checklist-dot { margin-top: var(--space-1); }
/* System intro: icon + full system name on one line, above the h2. */
.sys-id { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.sys-id-badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; flex: none; }
.sys-id-badge img { width: 24px; height: 24px; }
.sys-id-name { font-family: 'Sunflower', sans-serif; font-weight: 500; font-size: 20px; color: var(--sm-text); line-height: 1.1; }
/* Lift the bento cards off the slide with the design-system soft shadow. */
.tab-panel .bento-col { box-shadow: var(--soft-shadow); }

/* "How you get there" — 4 product cards, each a media panel (image/lottie) + title + line.
   Border hugs the image tightly: 1px light-blue, 8px radius, no padding/letterbox. */
.how-card-media {
  border: 1px solid var(--sm-blue-light); border-radius: 8px; overflow: hidden; line-height: 0;
}
.how-card-media img { width: 100%; height: auto; display: block; }
/* Lottie-with-fallback: the webp still (.how-lottie-fallback) sets the box size; the player
   sits on top, hidden until it loads. If it never loads, the still stays. */
.how-lottie { position: relative; line-height: 0; }
.how-lottie-fallback { width: 100%; height: auto; display: block; }
.how-lottie-anim { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.3s ease; }
.how-lottie.is-loaded .how-lottie-anim { opacity: 1; }
.how-lottie.is-loaded .how-lottie-fallback { visibility: hidden; }
/* The Flowsite art reads better on solid white with no border wrapping it. */
.how-card-media:has(.how-lottie) { border: none; }
/* Zigzag: cards alternate image→text / text→image, each pinned to opposite ends of the
   card (space-between) so the images stagger top/bottom across the row. >=64px min gap. */
.how-card { gap: var(--space-8); justify-content: space-between; }
.how-card .bento-col-text { margin-top: 0; }
.how-card:nth-child(even) .how-card-media { order: 2; }
.how-card:nth-child(even) .bento-col-text { order: 1; }

/* Present: fit the customer-stories grid cleanly in the 1080 frame — 4 cards per row
   (the pre-filtered set is one tidy row) so the images/cards are smaller and the slide
   sits at full size instead of getting auto-shrunk and clustered top-left. */
body.present .cs-grid > .custom-col-4 { flex: 0 0 calc(25% - 12px); max-width: calc(25% - 12px); }
body.present .cs-media { aspect-ratio: 16 / 10; }
.how-card .bento-col-text h3 { margin: 0 0 4px; }
.how-card .bento-col-text p { margin: 0; color: var(--sm-text-body); }
/* Accent card (e.g. "The winners") — brand-blue border to signal the positive side. */
.bento-accent { border-color: var(--sm-blue); }
/* Counter-accent (e.g. "The chasers") — red border to balance the blue winners card. */
.bento-accent-red { border-color: var(--sm-default-red); }
/* Customer world map — framed like the videos (grey border + soft shadow), natural aspect. */
.map-media { width: 100%; border: 1px solid var(--sm-border); border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 49, 102, 0.06); }
.map-media img { width: 100%; height: auto; display: block; }
/* Compact proof-stat band under the map (merged "Trusted by the leaders" numbers). */
.map-stats { display: flex; gap: var(--space-4); margin-top: var(--space-4); text-align: center; }
.map-stats > div { flex: 1; }
.map-stats .stat { font-size: 34px; margin: 0; }
.map-stats > div > p:last-child { color: var(--sm-text-body); margin: 4px 0 0; }

/* Reusable emphasis line for punchy blue statements ("No chasing. No re typing…").
   Sunflower 24px, brand blue, with an indented blue left rule. */
.callout {
  font-family: 'Sunflower', sans-serif; font-weight: 500;
  font-size: 24px; line-height: 1.4; color: var(--sm-blue);
}
/* Narrow screens: stack copy above media (still reads as a slide) */
@media (max-width: 900px) {
  .slide-split { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* Logos bar stays pinned while browsing; the deck nav below scrolls away (presentation feel). */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 rgba(10, 37, 64, 0.08); }
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-2) var(--space-3); max-width: 1328px; margin: 0 auto;
}
.site-header .prepared { display: flex; align-items: center; gap: var(--space-2); color: var(--sm-text-body); font-size: 16px; }
.vcenter { align-items: center; }
.media { width: 100%; border-radius: 8px; border: 1px solid var(--sm-grey-3); display: block; }
.customer-logo { height: 36px; }
.icon-badge { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-2); }
.icon-badge img { width: 28px; height: 28px; }
.site-footer { color: var(--sm-text-body); font-size: 16px; text-align: center; padding: var(--space-8) var(--space-3); }
.stat { font-family: 'Sunflower', sans-serif; font-size: 40px; color: var(--sm-blue); line-height: 1.2; }
.btn-arrow { width: 16px; display: block; }
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; gap: var(--space-2); align-items: flex-start; margin-left: 0; line-height: 1.5; margin-bottom: var(--space-1); }
.icon-list img { width: 28px; height: 28px; flex: none; }
.usecase-hero { align-items: center; }
.custom-grid.hero-div { align-items: center; }
.hero-copy { padding-right: 16px; }

/* — Title hero: customer logo sits BELOW the Sitemate logo, larger (co-brand) — */
.deck-hero { text-align: center; }
.deck-hero .deck-hero-stack { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.deck-hero .prepared-eyebrow { color: var(--sm-text-body); font-size: 16px; letter-spacing: 0.5px; }
.deck-hero .customer-logo-lg { height: 72px; width: auto; max-width: 360px; display: block; }
.deck-hero .customer-logo-box { display: inline-block; border: 1px solid var(--sm-border); border-radius: 12px; padding: 18px 30px; background: #fff; box-shadow: 0 6px 22px rgba(0, 49, 102, 0.08); }

/* — Sitemate Intro (Erin frame "F"): co-brand "Prepared for" lockup as its own
   block, then the Sitemate launch video FULL-BLEED below it (100vw, edge-to-edge).
   Not an overlay. The section keeps its top padding for the lockup and drops the
   bottom padding so the video sits flush to the next frame. */
section.si-hero { padding-bottom: 0; }
.hero-launch { width: 100vw; margin-left: calc(50% - 50vw); margin-top: var(--space-6); background: #000; }
/* full-bleed: drop the .uc-video card radius/shadow so it runs edge-to-edge */
.hero-launch .uc-video { border-radius: 0; box-shadow: none; }

/* — Tab shell — */
.tabbar { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--sm-border); }  /* NOT sticky — deck nav scrolls away (only the logos bar stays pinned) */
.tabs { display: flex; gap: var(--space-3); max-width: 1328px; margin: 0 auto; padding: 0 var(--space-3); }
.tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; font-family: inherit; font-size: 16px; color: var(--sm-text-body); padding: var(--space-2) 4px; cursor: pointer; }
.tab:hover { color: var(--sm-text); }
.tab.active { color: var(--sm-blue); border-bottom-color: var(--sm-blue); font-weight: 500; }
.tab-panel[hidden] { display: none; }
.tab-add { margin-left: 4px; font-size: 18px; line-height: 1; opacity: 0.5; padding-left: 10px; padding-right: 10px; }
.tab-add:hover { opacity: 1; }

/* — Prose section body (generic heading + body fallback component) — */
.sec-body { color: var(--sm-text-body); font-size: 18px; line-height: 1.65; max-width: 820px; white-space: pre-line; }
.deck-loading { padding: var(--space-12) var(--space-3); text-align: center; color: var(--sm-text-body); font-family: 'Roboto', sans-serif; }

/* — ROI calculator — */
.roi-reclaimed { color: #1e9e5a !important; font-size: 52px; font-weight: 800; line-height: 1.05; margin-top: var(--space-1); }
.roi-field { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-2); }
.roi-field span { font-size: 16px; color: var(--sm-text); }
.roi-field input { font: inherit; font-size: 18px; padding: var(--space-1) var(--space-2); border: 1px solid var(--sm-border); border-radius: 8px; color: var(--sm-text); }
.roi-result { justify-content: center; position: relative; }
/* Currency toggle — symbol-only display, picker in the top-right corner */
.roi-cur { position: absolute; top: var(--space-2); right: var(--space-2); display: inline-flex; align-items: baseline; gap: 5px;
  border: 1px solid var(--sm-border); background: #fff; border-radius: 8px; padding: 5px 10px; cursor: pointer; color: var(--sm-text); }
.roi-cur:hover { border-color: var(--sm-blue); }
.roi-cur-sym { font-family: 'Sunflower', sans-serif; font-size: 16px; }
.roi-cur-code { font-size: 11px; letter-spacing: 0.5px; color: var(--sm-text-body); }
.roi-cur-menu { position: absolute; top: 42px; right: var(--space-2); z-index: 8; background: #fff;
  border: 1px solid var(--sm-border); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 49, 102, 0.16); padding: 4px; min-width: 96px; }
.roi-cur-menu[hidden] { display: none; }
.roi-cur-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; cursor: pointer;
  font: 500 14px/1 'Roboto', sans-serif; color: var(--sm-text); padding: 8px 10px; border-radius: 6px; }
.roi-cur-menu button:hover { background: var(--sm-grey-1); }
.roi-big { font-family: 'Sunflower', sans-serif; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); color: var(--sm-blue); line-height: 1.1; margin-bottom: var(--space-1); }
.roi-divider { border: 0; border-top: 1px solid var(--sm-border); margin: var(--space-3) 0; }

/* — Case studies — */
.filters { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
.filters .cs-search { font: inherit; font-size: 16px; padding: var(--space-1) var(--space-2); border: 1px solid var(--sm-border); border-radius: 8px; color: var(--sm-text); background: #fff; max-width: 320px; }
/* Multi-select filter chips — toggle on/off; blue accent = selected (design-system) */
.chip-row { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.chip-label { font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--sm-text-body); min-width: 70px; }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-chip { font: inherit; font-size: 14px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--sm-border); background: #fff; color: var(--sm-text-body); transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease; }
.cs-chip:hover { border-color: var(--sm-blue); color: var(--sm-text); }
.cs-chip.active { background: var(--sm-blue); border-color: var(--sm-blue); color: #fff; }
.cs-media { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--sm-grey-3); background: var(--sm-grey-1); }
.cs-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Feature image (og:image from the customer's case-study page, or a clean video still) — covers the 16:9 frame */
.cs-media .cs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
a.cs-media:hover .cs-img { transform: scale(1.04); }
.cs-media--empty { display: flex; align-items: center; justify-content: center; background: var(--sm-grey-1); color: var(--sm-text-body); font-size: 14px; }
.cs-text { flex: 1; display: flex; flex-direction: column; gap: var(--space-1); }
.cs-text > * { margin: 0; }
.cs-link { margin-top: auto; }
.cs-company { font-family: 'Sunflower', sans-serif; font-weight: 500; font-size: 20px; color: var(--sm-text); }
.cs-tags { display: flex; gap: var(--space-1); flex-wrap: wrap; }
.cs-tag { font-size: 14px; color: var(--sm-text-body); background: var(--sm-grey-1); border-radius: 6px; padding: 2px 8px; }

/* — Deck sections carry consistent spacing (and a slide counter on Op Deck) — */
/* Each section = a presentation slide. In SCROLL view it hugs its content (no
   forced screenful height — that was the source of the "white space between
   pages") and reads as a white card on the gradient canvas below. PRESENT mode
   ignores all of this: slide-view.js absolutely-positions each section and
   scales its content to fill a 16:9 frame, so the deck still looks full. */
.tab-panel > section {
  position: relative;
  padding: clamp(36px, 3.5vw, 68px) clamp(28px, 4vw, 72px);
}

/* ── Scroll-view card treatment (scoped to :not(.present) so it never leaks into
   the deck). Slides become discrete white cards on a light canvas; the gaps now
   read as intentional gutters between slides, not empty page. ── */
body:not(.present) { background: radial-gradient(circle at 50% 0%, #F2F8FF, #FDFDFD 60%); background-attachment: fixed; }
body:not(.present) .tab-panel > section {
  background: #fff;
  border-radius: 32px;
  margin: var(--space-3) clamp(16px, 2vw, 40px) 0;
  box-shadow: 0 1px 3px rgba(0, 49, 102, 0.06), 0 12px 32px rgba(0, 49, 102, 0.07);
}
body:not(.present) .tab-panel > section:last-child { margin-bottom: var(--space-3); }
/* Launch-video slide: it breaks out to 100vw by default; inside a card, sit the
   video within the card instead (rounded, flush to the card padding). */
body:not(.present) section.si-hero { padding-bottom: clamp(36px, 3.5vw, 68px); }
body:not(.present) .hero-launch { width: auto; margin-left: 0; margin-top: var(--space-3); border-radius: 16px; overflow: hidden; background: #000; }
body:not(.present) .hero-launch .uc-video { border-radius: 16px; }

/* Scroll-view top chrome. The logos header + progress bar stay PINNED always (in one
   sticky block); only the deck tabs (with Present) hide on scroll-down / reveal on
   scroll-up. The progress bar is lifted out of the tabbar into this block (see core.js). */
.deck-topfixed { position: sticky; top: 0; z-index: 45; background: #fff; }
.deck-topfixed .site-header { position: static; }
.deck-topfixed .progress { position: relative; left: auto; right: auto; bottom: auto; height: 3px; width: 100%; }
.tabbar { position: sticky; z-index: 30; transition: transform 0.28s ease; }   /* top set by core.js */
body.nav-hide .tabbar { transform: translateY(-140%); }
body.present .deck-topfixed, body.present .tabbar { display: none; }

/* — Appendix / use-case slides: white header bar (logo + title) over a full-bleed 16:9 video — */
.uc-head { display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  background: #fff; border: 1px solid var(--sm-border); border-radius: 12px; padding: 12px 20px;
  margin-bottom: var(--space-2); box-shadow: 0 2px 10px rgba(0, 49, 102, 0.06); text-align: center; }
.uc-head img { height: 26px; width: auto; }
.uc-head .uc-title { font-family: 'Sunflower', sans-serif; font-size: 22px; color: var(--sm-text); }
.uc-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--sm-border);
  box-shadow: 0 2px 10px rgba(0, 49, 102, 0.06); }   /* match the .uc-head bar */
.uc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Image media, framed exactly like a video (cover-cropped) so image + video slides sit level. */
.uc-media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--sm-grey-1);
  border-radius: 12px; overflow: hidden; border: 1px solid var(--sm-border);
  box-shadow: 0 2px 10px rgba(0, 49, 102, 0.06); }
.uc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-media--soon { display: flex; align-items: center; justify-content: center; background: var(--sm-grey-1); }
.uc-media--soon span { font-family: 'Sunflower', sans-serif; font-size: 18px; color: var(--sm-text-body); font-style: italic; }
/* Diagram/graphic media: the image floats on a gradient-light panel with 64px padding and an
   inset border ring (+ soft inset shadow) drawn in --sm-border. */
.uc-panel { display: flex; align-items: center; justify-content: center; width: 100%;
  aspect-ratio: 16 / 9; padding: 64px; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--sm-border), inset 0 2px 16px rgba(0, 49, 102, 0.05); }
.uc-panel img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
/* Product intro: logo (wordmark) + optional descriptor above the tick points. */
.prod-id { margin-bottom: var(--space-3); }
.prod-id .product-logo { height: 40px; width: auto; display: block; }
/* transparent click layer → click the frame to play/pause (sits above the iframe, below the ⛶/⇄ buttons at z-index 4) */
.uc-clickcatch { position: absolute; inset: 0; z-index: 3; cursor: pointer; }
/* Custom playback controls — hidden by default, fade in on hover of the video frame. Gives
   play/pause + a click-to-seek scrubber over background-mode videos (no persistent Vimeo chrome). */
.uc-ctrl {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
}
.uc-video:hover .uc-ctrl { opacity: 1; pointer-events: auto; }
.uc-ctrl-play { flex: none; width: 26px; height: 26px; border: 0; background: none; color: #fff; font-size: 13px; line-height: 1; cursor: pointer; padding: 0; }
.uc-ctrl-play::before { content: '\25B6'; }               /* ▶ */
.uc-video.uc-playing .uc-ctrl-play::before { content: '\275A\275A'; letter-spacing: -2px; }  /* ❚❚ */
.uc-ctrl-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); cursor: pointer; }
.uc-ctrl-fill { height: 100%; width: 0; border-radius: 2px; background: #fff; }
.uc-ctrl-mute {
  flex: none; border: 1px solid rgba(255, 255, 255, 0.5); background: none; color: #fff;
  font: 500 11px/1 'Roboto', sans-serif; letter-spacing: 0.3px; cursor: pointer;
  padding: 5px 9px; border-radius: 6px; white-space: nowrap;
}
.uc-ctrl-mute:hover { background: rgba(255, 255, 255, 0.16); }

/* ── "New deck" share-link generator (internal/gated deck only) ─────────────── */
.nd-btn {
  appearance: none; font: inherit; font-size: 14px; cursor: pointer; align-self: center;
  margin-left: var(--space-1); padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--sm-blue); background: var(--sm-blue); color: #fff;
}
.nd-btn:hover { background: var(--sm-blue-dark); }
/* Never on the public share host or during a presentation. */
body.view-only .nd-btn, body.present .nd-btn { display: none; }

.nd-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(10, 30, 50, 0.42); }
.nd-modal[hidden] { display: none; }
.nd-panel {
  width: min(92vw, 460px); max-height: 88vh; overflow: auto; background: #fff;
  border-radius: 16px; padding: var(--space-4); box-shadow: 0 20px 60px rgba(0, 49, 102, 0.25);
}
.nd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-3);
  font-family: 'Sunflower', sans-serif; font-size: 20px; color: var(--sm-text); }
.nd-close { border: 0; background: none; font-size: 18px; line-height: 1; cursor: pointer; color: var(--sm-text-body); }
.nd-panel label { display: block; font-size: 13px; color: var(--sm-text-body); margin-bottom: var(--space-2); }
.nd-panel input[type="text"] { width: 100%; margin-top: 4px; padding: 8px 10px; font: inherit; font-size: 14px;
  border: 1px solid var(--sm-border); border-radius: 8px; color: var(--sm-text); }
.nd-tabs { margin-bottom: var(--space-2); }
.nd-tabs-label { display: block; font-size: 13px; color: var(--sm-text-body); margin-bottom: 4px; }
.nd-tabs label { display: inline-flex; align-items: center; gap: 6px; margin: 0 12px 4px 0; font-size: 14px; color: var(--sm-text); }
.nd-gen { width: 100%; margin-top: var(--space-2); padding: 10px; border: 0; border-radius: 8px;
  background: var(--sm-blue); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.nd-gen:hover { background: var(--sm-blue-dark); }
.nd-out { display: flex; gap: 8px; margin-top: var(--space-3); }
.nd-out[hidden] { display: none; }
.nd-link { flex: 1; min-width: 0; padding: 8px 10px; font-size: 13px; border: 1px solid var(--sm-border); border-radius: 8px; color: var(--sm-text-body); }
.nd-copy, .nd-open { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--sm-border); background: #fff;
  color: var(--sm-blue); font-size: 13px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap; }
.nd-copy:hover, .nd-open:hover { border-color: var(--sm-blue); }
/* Presentation-only / shared view (?present=1) — hide every edit affordance */
body.view-only .ie-pencil,
body.view-only .me-toggle,
body.view-only .tab-add,
body.view-only .uc-change { display: none !important; }

/* Remove the template-only "Edit Master" tool entirely (broken + not needed for a
   prospect deck); hide the inline-edit pencil while presenting. */
.me-toggle { display: none !important; }
body.present .ie-pencil { display: none !important; }

/* — Demo workflow comparison (prior "not working" flow): card → 2 parallel cards → back-office — */
.wf-flow { display: flex; align-items: stretch; gap: var(--space-2); }
.wf-cell, .wf-col { flex: 1 1 0; display: flex; }
.wf-cell > .bento-col { width: 100%; }
.wf-col { flex-direction: column; gap: var(--space-2); }
.wf-col > .bento-col { flex: 1; }
.wf-arrow { flex: 0 0 auto; display: flex; align-items: center; color: var(--sm-blue); font-size: 26px; }
@media (max-width: 760px) {
  .wf-flow { flex-direction: column; }
  .wf-arrow { transform: rotate(90deg); align-self: center; }
}

/* — Faint delineator above each major system block (Safety / Quality / …) — */
.sys-block { border-top: 1px solid rgba(10, 37, 64, 0.10); padding-top: var(--space-8); }
/* System badge icon (Hugh's design-system) to the left of the heading */
.sys-head { display: flex; align-items: flex-start; gap: var(--space-3); }
.sys-icon { width: 44px; height: auto; flex: none; margin-top: 2px; }

/* — Kickoff deck — white cards on the section (Hugh's bento-col look), activation timeline — */
/* No coloured wrapper panel: .kf-grad is just a layout container; the cards carry the visual
   (matches the platforms / step-by-step pattern on sitemate.com — white card, light border,
   neutral --soft-shadow). NOT a blue frame. */
.kf-grad { background: none; border-radius: 0; padding: 0; }
.kf-card { background: #fff; border: 1px solid var(--sm-border); border-radius: 16px; padding: var(--space-4); box-shadow: var(--soft-shadow); height: 100%; }
.kf-card h3 { margin: 0 0 6px; }
.kf-card p { margin: 0; color: var(--sm-text-body); }
.kf-list-item { border-left: 3px solid var(--sm-blue); padding-left: var(--space-3); margin-bottom: var(--space-5); }
.kf-list-item h3 { margin: 0 0 4px; }
.kf-list-item p { margin: 0; color: var(--sm-text-body); }
.kf-timeline { position: relative; display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.kf-timeline::before { content: ''; position: absolute; top: 17px; left: 5%; right: 5%; height: 2px; background: var(--sm-text); }
.kf-step { flex: 1; position: relative; }
.kf-dot { width: 36px; height: 36px; border-radius: 50%; display: block; margin-bottom: var(--space-2); border: 2px solid var(--sm-blue); background: #fff; position: relative; z-index: 1; }
.kf-dot.f1 { background: #56a2ee; border-color: #56a2ee; }
.kf-dot.f2 { background: #1d6fd6; border-color: #1d6fd6; }
.kf-dot.f3 { background: #0a3a86; border-color: #0a3a86; }
.kf-step h4 { margin: 0 0 8px; }
.kf-step ul { margin: 0; padding-left: 18px; color: var(--sm-text-body); font-size: 14px; }
.kf-step li { margin-bottom: 6px; }
@media (max-width: 760px) { .kf-timeline { flex-direction: column; } .kf-timeline::before { display: none; } }

/* — ARM deck — RAG status cards + per-product usage header — */
.arm-rag { border-radius: 12px; padding: var(--space-3) var(--space-4); margin-bottom: var(--space-2); }
.arm-rag:last-child { margin-bottom: 0; }
.arm-rag h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 9px; font-size: 17px; }
.arm-rag p { margin: 0; color: var(--sm-text-body); }
.arm-rag .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; display: inline-block; }
.arm-rag.green { background: #e6f6ec; } .arm-rag.green .dot { background: #1e9e5a; }
.arm-rag.amber { background: #fdf3d6; } .arm-rag.amber .dot { background: #e8a317; }
.arm-rag.red   { background: #fce8e8; } .arm-rag.red .dot   { background: #d64545; }
.arm-usage-head img { height: 80px; width: auto; display: block; margin-bottom: var(--space-3); }
.arm-visual { display: flex; align-items: center; justify-content: center; min-height: 200px;
  color: var(--sm-text-body); font-size: 14px; font-style: italic; text-align: center; }

/* — Form rows: title + description on the left, playable use-case video on the right — */
.form-row { display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) 0; border-top: 1px solid var(--sm-border); }
.form-row:first-child { border-top: 0; }
.form-row-text { flex: 1 1 40%; }
.form-row-text h3 { margin: 0 0 var(--space-1); }
.form-row-text p { margin: 0; color: var(--sm-text-body); }
.form-row-video { flex: 1 1 60%; }
@media (max-width: 760px) { .form-row { flex-direction: column; align-items: stretch; } }
.section-counter { position: absolute; top: var(--space-3); right: var(--space-3); font-family: 'Sunflower', sans-serif; font-size: 14px; letter-spacing: 1px; color: var(--sm-text-body); }
/* — Scroll progress bar — sits at the bottom edge of the sticky tab bar — */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sm-bg-grey); }
.progress > span { display: block; height: 100%; width: 0; background: var(--sm-blue); transition: width 0.05s linear; }
