/*
 * IntoneGladius Clone — Test Page Stylesheet
 * Hand-coded (no Elementor, no GSAP). Scoped under .igl-page.
 * Content/images/structure are post 9954's own, NOT cloned from
 * eagleeye-test — that page has 9 sections in a different order. Only the
 * shared token vocabulary and shell conventions are reused.
 *
 * Live post 9954 has one container (5dbdc36a) hidden at every breakpoint;
 * it is not built here. Section 2's block ships twice on live as a
 * responsive pair (mobile vs desktop layout, identical copy) and is built
 * ONCE here, made responsive in CSS.
 */

body.page-id-15550 .rkch-spacer, body.page-id-9954 .rkch-spacer { display: none !important; height: 0 !important; }

.igl-page {
  --igl-primary: #233963;
  --igl-text: #1E2E4C;
  --igl-white: #FFFFFF;
  --igl-bg-light: #F6F9FB;
  --igl-mint: #D2FFEC;
  --igl-neutral-9: #F4F6F9;
  --igl-neutral-7: #DADEE3;
  --igl-neutral-6: #A5ABB3;
  --igl-primary-80: #4F6182;
  --igl-primary-30: #BDC4D1;
  --igl-primary-20: #D3D7E0;
  --igl-accent5-25: #E6F9FC;
  --igl-accent5-5: #F5FEFF;
  --igl-accent: #6AC2B7;
  --igl-green: #58AA2B;
  --igl-lilac: #C9B6E4;
  --igl-gradient-teal-green: linear-gradient(90deg, #6AC2B7 0%, #8AD6C0 50%, #8ADBBB 75%, #86DCAF 87.5%, #84DDA5 93.75%, #95E091 96.88%, #9FDD5F 100%);
  --igl-card-shadow: 0 10px 35px 0 rgba(35, 57, 99, 0.12);
  --igl-radius: 24px;

  position: relative;
  font-family: "Public Sans", sans-serif;
  color: var(--igl-text);
  background: var(--igl-bg-light);
}

.igl-page * { box-sizing: border-box; }
.igl-page img { max-width: 100%; height: auto; display: block; }

.igl-page section { padding: 96px 4vw; position: relative; z-index: 1; }
@media (max-width: 767px) { .igl-page section { padding: 56px 20px; } }

.igl-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }

.igl-page h1, .igl-page h2, .igl-page h3, .igl-page h4 {
  font-family: "Public Sans", sans-serif;
  color: var(--igl-text);
  font-weight: 700;
  margin: 0;
}
.igl-page p { margin: 0; line-height: 1.55; }

.igl-h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

.igl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 2px solid var(--igl-primary);
  background: #fff;
  color: var(--igl-primary);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.igl-btn:hover, .igl-btn:focus-visible { background: var(--igl-primary); color: #fff; }

/* ---------- Hero ---------- */

/* Video background. The poster JPG is set inline on the section so it paints
   before the video is ready (and stays as the backdrop if the video never
   plays); the <video> layers over it and the overlay over that. */
.igl-hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 4vw 120px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.igl-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* Real value from the live container (background_overlay_color #00000080).
   Unlike the by-industry heroes' invented scrim, this one is in the page's
   own data and the white wordmark needs it over moving footage. */
.igl-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}
/* Reduced-motion users keep the poster and never fetch the 16.7 MB file. */
@media (prefers-reduced-motion: reduce) {
  .igl-hero-video { display: none; }
}
.igl-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.igl-hero-mark { width: min(720px, 82vw); height: auto; }
.igl-hero-tagline {
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
}
@media (max-height: 520px) and (orientation: landscape) {
  .igl-hero { min-height: auto; padding: 96px 4vw 56px !important; }
}

/* =====================================================================
   Section 1 — mint statement bar.
   Same component as the "Unlock Real-Time Audit Confidence" bar on
   /by-role/audit-assurance/ (.aat-unlock): literal #D2FFEC ground,
   percentage padding rather than a fixed px pair so it scales to 320px
   without a media query, copy left / white button right.
   ===================================================================== */
.igl-page section.igl-intro {
  background: var(--igl-mint);
  padding: 4% 5%;
}
.igl-intro-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.igl-intro-copy { max-width: 783px; }
.igl-page .igl-intro-h1 {
  margin: 0 0 32px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--igl-text);
}
.igl-page p.igl-intro-sub {
  max-width: 682px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--igl-text);
}
.igl-intro-btn { flex: 0 0 auto; }

@media (max-width: 900px) {
  .igl-intro-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .igl-page .igl-intro-h1 { font-size: 28px; margin-bottom: 20px; }
  .igl-page p.igl-intro-sub { font-size: 17px; }
}

/* =====================================================================
   Section 2 — "How IntoneGladius(R) Strengthens Your Cybersecurity".
   Figma: white ground, 42px heading in a 549px left column vertically
   CENTRED against a 650px right column of three steps.

   The step cards have NO border and NO radius — a flat #F4F6F9 fill is the
   whole treatment. The oversized 001/002/003 sits OUTSIDE the card, hanging
   40px above its top edge, which is why the cards are spaced 66px apart:
   that gap is the number's room, not decoration. Getting either of those
   wrong is what made the earlier build read as generic cards.
   ===================================================================== */
.igl-page section.igl-chain { background: #fff; padding: 100px 4vw; }
.igl-chain-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.igl-page .igl-chain-title {
  flex: 0 1 549px;
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}
.igl-chain-col { flex: 0 1 650px; min-width: 0; }
.igl-page .igl-chain-lead {
  margin: 0 0 34px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}
.igl-chain-steps {
  list-style: none;
  margin: 0;
  padding: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 66px;
}
.igl-step {
  position: relative;
  min-height: 158px;
  padding: 36px 30px 30px;
  background: var(--igl-neutral-9);
}
.igl-step-num {
  position: absolute;
  left: 30px;
  top: -40px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--igl-neutral-6);
  pointer-events: none;
}
.igl-page .igl-step-title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}
.igl-page .igl-step-text {
  max-width: 589px;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .igl-chain-grid { flex-direction: column; align-items: stretch; gap: 40px; }
  .igl-page .igl-chain-title { flex: none; font-size: 32px; }
  .igl-chain-col { flex: none; }
}
@media (max-width: 767px) {
  .igl-page section.igl-chain { padding: 56px 20px; }
  .igl-page .igl-chain-title { font-size: 27px; }
  .igl-page .igl-chain-lead { font-size: 19px; margin-bottom: 24px; }
  .igl-chain-steps { gap: 52px; padding-top: 30px; }
  .igl-step { min-height: 0; padding: 28px 20px 22px; }
  .igl-step-num { left: 20px; top: -32px; font-size: 48px; }
  .igl-page .igl-step-title { font-size: 23px; }
}

/* =====================================================================
   Section 3 — "break this chain early".
   A rounded card with a LOOPING VIDEO ground (live container 18fe93cf is
   background_background:video -> Mountains.mp4, with image-5 as its
   declared fallback). Four infographic tiles float over it and drift on
   scroll; the glass statement bar counter-drifts, reproducing the live
   bar's motion_fx_translateY_effect as a scroll-linked value.
   ===================================================================== */
.igl-page section.igl-break { background: var(--igl-bg-light); padding: 100px 4vw; }
.igl-break-card {
  position: relative;
  min-height: 726px;
  border-radius: var(--igl-radius);
  overflow: hidden;
  background: #0C3A97;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.igl-break-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* Reduced-motion users keep the poster and never fetch the 10 MB file. */
@media (prefers-reduced-motion: reduce) {
  .igl-break-video { display: none; }
}
.igl-break-collage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* Figma-exact: x/y/w measured inside the 1280x726 card and expressed as
   percentages of it, with the tile's own aspect ratio driving the height so
   nothing distorts as the card scales. background-size:cover matches how
   Elementor renders the same four PNGs. */
.igl-break-tile {
  position: absolute;
  display: block;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
}
.igl-break-tile--376 { left:  5.70%; top:  7.16%; width: 15.78%; aspect-ratio: 202 / 228; }
.igl-break-tile--377 { left: 20.16%; top: 28.24%; width: 29.84%; aspect-ratio: 382 / 220; }
.igl-break-tile--378 { left: 70.16%; top:  5.51%; width: 26.80%; aspect-ratio: 343 / 240; }
.igl-break-tile--379 { left: 51.41%; top: 41.74%; width: 20.00%; aspect-ratio: 256 / 189; }

/* Glass statement bar — Figma 1208x132 at y=528 inside the 726px card. */
.igl-break-bar {
  /* Horizontally centred with `left`, NOT translateX: the script writes
     translate3d to this same element for the parallax and the two would
     overwrite each other. 2.8% == (100 - 94.4) / 2. */
  position: absolute;
  left: 2.8%;
  bottom: 9.09%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 94.4%;
  min-height: 132px;
  padding: 24px 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(7.58px);
  backdrop-filter: blur(7.58px);
  box-shadow:
    -11.15px -10.39px 48px -12px rgba(255, 255, 255, 0.15),
    -1.86px -1.73px 12px -8px rgba(130, 130, 130, 0.15),
    inset 2.15px 2px 9.24px 0 rgba(255, 255, 255, 0.13),
    inset 1.22px 1.13px 4.62px 0 rgba(255, 255, 255, 0.13);
  will-change: transform;
}
.igl-page p.igl-break-copy {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--igl-text);
  text-wrap: balance;
}

@media (max-width: 1024px) {
  .igl-break-card { min-height: 0; padding: 40px 24px; }
  .igl-break-collage {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
  }
  .igl-break-tile {
    position: static;
    width: 100% !important;
    border-radius: 8px;
    background-size: cover;
  }
  /* Same Figma-exact ratios as the desktop rule (not a uniform 4/3 grid box):
     matching the tile's own framing makes `cover` lossless here too, instead
     of forcing a crop (the old 4/3 box) or padding the mismatch out with a
     white background (the previous fix). */
  .igl-break-tile--376 { aspect-ratio: 202 / 228; }
  .igl-break-tile--377 { aspect-ratio: 382 / 220; }
  .igl-break-tile--378 { aspect-ratio: 343 / 240; }
  .igl-break-tile--379 { aspect-ratio: 256 / 189; }
  .igl-break-bar {
    position: static;
    width: 100%;
    min-height: 0;
    padding: 22px 20px;
  }
  .igl-page p.igl-break-copy { font-size: 20px; }
}
@media (max-width: 640px) {
  .igl-page section.igl-break { padding: 56px 20px; }
  .igl-break-collage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .igl-page p.igl-break-copy { font-size: 17px; }
}

/* =====================================================================
   Section 4 — "Our Key Differentiators".
   Figma: 42px heading (495px) opposite a 405px descriptor, 54px down to a
   3-column grid of 405x155 white cards. Square corners, no border — the
   only edge treatment is Tight/Elevation 6, 0 3.5px 14px rgba(35,57,99,.2).
   ===================================================================== */
.igl-page section.igl-diff { background: var(--igl-bg-light); padding: 100px 4vw; }
.igl-diff-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 54px;
}
.igl-page .igl-diff-head .igl-h2 {
  flex: 0 1 495px;
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
}
.igl-page p.igl-diff-sub {
  flex: 0 1 405px;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}
.igl-diff-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.igl-diff-card {
  position: relative;
  min-height: 155px;
  padding: 26px 24px 24px;
  background: #fff;
  box-shadow: 0 3.5px 14px 0 rgba(35, 57, 99, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Brand-gradient edge wipes in on hover — the same restrained treatment the
   other card grids on this site use. Kept to a pseudo-element so the card's
   own square-cornered, borderless Figma spec is untouched at rest. */
.igl-diff-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--igl-gradient-teal-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
.igl-diff-card:hover, .igl-diff-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px 0 rgba(35, 57, 99, 0.24);
}
.igl-diff-card:hover::after, .igl-diff-card:focus-within::after { transform: scaleX(1); }
.igl-page .igl-diff-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.5px;
}
.igl-page .igl-diff-card p {
  font-size: 16px;
  line-height: 22.75px;
  color: var(--igl-primary-80);
}

@media (max-width: 1100px) { .igl-diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .igl-diff-head { flex-direction: column; gap: 16px; margin-bottom: 36px; }
  .igl-page .igl-diff-head .igl-h2 { flex: none; font-size: 30px; }
  .igl-page p.igl-diff-sub { flex: none; }
}
@media (max-width: 640px) {
  .igl-page section.igl-diff { padding: 56px 20px; }
  .igl-diff-grid { grid-template-columns: 1fr; gap: 20px; }
  .igl-diff-card { min-height: 0; }
}

/* =====================================================================
   Section 5 — "Key Benefits".
   Full-bleed navy with the site's facet pattern (the live container sets
   background_color #1E2E4C plus 54a768de...png). Figma: heading and its
   supporting line share one BASELINE-ALIGNED row, then ten 410x114
   hairline-bordered cards on a 3-column rhythm; the tenth sits alone on
   the last row, which is the design, not a gap to be filled.
   ===================================================================== */
.igl-page section.igl-benefits {
  position: relative;
  background: var(--igl-text);
  padding: 100px 4vw;
  overflow: hidden;
}
.igl-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/uploads/2025/07/54a768dcea5da5e17c5698fa431189da72b85889-scaled-1.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.igl-benefits-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.igl-page .igl-benefits-head .igl-h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}
.igl-page .igl-benefits-head p {
  flex: 0 1 521px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}
.igl-benefits-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 26px;
}
.igl-benefit {
  min-height: 114px;
  padding: 15px;
  border: 1px solid var(--igl-primary-20);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background: transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.igl-benefit:hover, .igl-benefit:focus-within {
  border-color: var(--igl-accent);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}
.igl-page .igl-benefit h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: #fff;
}
.igl-page .igl-benefit p { font-size: 14px; line-height: 20px; color: #fff; }

@media (max-width: 1100px) { .igl-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .igl-benefits-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .igl-page .igl-benefits-head .igl-h2 { font-size: 30px; white-space: normal; }
  .igl-page .igl-benefits-head p { flex: none; }
}
@media (max-width: 640px) {
  .igl-page section.igl-benefits { padding: 56px 20px; }
  .igl-benefits-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =====================================================================
   Section 6 — "What Sets Us Apart".
   This is the homepage's "Proven Outcomes Across Highly Regulated
   Industries" component (.home-impact-window + its 4-tab vertical
   accordion), ported here under igl- names. Same macOS window frame, same
   #F4F6F9 title band, same rail-collapse geometry: inactive rails hold a
   fixed width and the open pane takes the remainder, the active value
   derived from the tab COUNT in JS rather than hard-coded.

   Figma's own numbers for this page land on the same shape: 140px rails
   and an 860px pane inside 1280 = 10.94% / 67.19%.
   ===================================================================== */
:root { --igl-rail-w: 10.94%; --igl-pane-w: 67.19%; }

/* Per-tab accents. Measured off live (.rk-inner-heading-wrapper computed
   backgrounds: lilac / cream / cyan / blush) and identical to the homepage
   component's --home-tab-0N-bg set. Figma only shows tab 03, which is why an
   earlier pass painted all four cyan — the other three exist, they just are
   not in the exported frame. */
.igl-page {
  --igl-tab-01-head: #F5E6F9; --igl-tab-01-body: #FEFAFF;
  --igl-tab-02-head: #FFF5E6; --igl-tab-02-body: #FFFBF5;
  --igl-tab-03-head: #E6F9FC; --igl-tab-03-body: #F5FEFF;
  --igl-tab-04-head: #FFE6E6; --igl-tab-04-body: #FFF5F5;
}
.igl-tab-01 .igl-vtab-head { background: var(--igl-tab-01-head); }
.igl-tab-01 .igl-vtab-body { background: var(--igl-tab-01-body); }
.igl-tab-02 .igl-vtab-head { background: var(--igl-tab-02-head); }
.igl-tab-02 .igl-vtab-body { background: var(--igl-tab-02-body); }
.igl-tab-03 .igl-vtab-head { background: var(--igl-tab-03-head); }
.igl-tab-03 .igl-vtab-body { background: var(--igl-tab-03-body); }
.igl-tab-04 .igl-vtab-head { background: var(--igl-tab-04-head); }
.igl-tab-04 .igl-vtab-body { background: var(--igl-tab-04-body); }

.igl-page section.igl-apart { background: var(--igl-bg-light); padding: 100px 4vw; }

.igl-apart-window {
  position: relative;
  background: var(--igl-text);
  border: 8px solid var(--igl-text);
  border-radius: var(--igl-radius);
  overflow: hidden;
  box-shadow: 0 10px 35px 0 rgba(35, 57, 99, 0.12);
}
.igl-page .igl-apart-chrome { display: block; width: 100%; height: auto; }

.igl-apart-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 186px;
  padding: 56px 33px 28px;
  background: var(--igl-neutral-9);
  border-bottom: 1px solid var(--igl-primary-30);
}
/* Brand gradient painted through the glyphs. Needs an explicit transparent
   fill AND -webkit-background-clip for Safari/iOS. */
.igl-page p.igl-apart-eyebrow {
  position: absolute;
  left: 33px;
  top: 19px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 23.88px;
  background: var(--igl-gradient-teal-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.igl-page .igl-apart-title {
  flex: 0 1 499px;
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: capitalize;
}
.igl-page p.igl-apart-intro {
  flex: 0 1 471px;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}

.igl-vtabs {
  display: flex;
  width: 100%;
  min-height: 634px;
  overflow: hidden;
  background: var(--igl-neutral-9);
}
.igl-vtab { position: relative; display: flex; min-width: 0; }

@media (min-width: 1024.02px) {
  .igl-vtab { width: var(--igl-rail-w); transition: width 1s ease-in-out; }
  .igl-vtab.is-open { width: var(--igl-pane-w); }
}

.igl-vtab-rail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  min-height: 634px;
  margin: 0;
  padding: 30px 8px;
  font: inherit;
  color: inherit;
  text-align: center;
  background: var(--igl-neutral-9);
  border: 1px solid var(--igl-primary-30);
  border-top: 0;
  cursor: pointer;
  appearance: none;
}
.igl-vtab.is-open .igl-vtab-rail { display: none; }
.igl-vtab:first-child .igl-vtab-rail { border-bottom-left-radius: var(--igl-radius); }
.igl-vtab:last-child .igl-vtab-rail { border-bottom-right-radius: var(--igl-radius); }
/* Figma darkens the rail edge that touches the open pane. */
.igl-vtab.is-open + .igl-vtab .igl-vtab-rail { border-left-color: #657592; }

.igl-vtab-rail-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  font-weight: 600;
  color: var(--igl-text);
}
.igl-vtab-rail .igl-vtab-num { font-size: 32px; line-height: 1; }
.igl-vtab-rail .igl-vtab-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 32px;
}
/* Live uses sideways-lr; vertical-rl + rotate stays as the fallback so glyph
   baselines match wherever sideways-lr is unsupported. */
@supports (writing-mode: sideways-lr) {
  .igl-vtab-rail .igl-vtab-name { writing-mode: sideways-lr; transform: none; }
}

.igl-vtab-pane {
  position: relative;
  width: 100%;
  max-width: 0;
  height: 0;
  overflow: hidden;
  background: var(--igl-accent5-5);
  transition: max-width 1s ease-in-out, opacity 0.5s ease-in-out;
}
.igl-vtab-pane.is-open { max-width: 100%; height: auto; }

.igl-vtab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
  padding: 0 31px;
  background: var(--igl-accent5-25);
  border: 1px solid var(--igl-primary-30);
  border-top: 0;
}
.igl-page .igl-vtab-head h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.igl-vtab-head .igl-vtab-num { font-size: 32px; font-weight: 600; color: var(--igl-text); }

/* The pane body IS the Figma 860x556 frame. */
.igl-vtab-body {
  position: relative;
  min-height: 556px;
  padding: 40px 23px;
  background: var(--igl-accent5-5);
  border: 1px solid var(--igl-primary-30);
  border-top: 0;
  overflow: hidden;
}
.igl-page p.igl-vtab-text {
  position: relative;
  z-index: 2;
  max-width: 454px;
  font-size: 16px;
  line-height: 1.5;
}

/* inset-top 104px, not 0: on live these images live in their own wrapper
   BELOW the paragraph, so their percentage offsets are relative to that
   lower box. Anchoring them to the whole pane instead ran image-368 right
   through the copy. 104px == the paragraph's 40px offset + its two lines. */
.igl-vtab-shots { position: absolute; inset: 104px 0 0; z-index: 1; pointer-events: none; }
/* Geometry comes in as custom properties from PHP (the live containers'
   own offsets), so the same markup can be laid out absolutely here and
   reflowed into a plain grid below 1025px without !important overrides. */
.igl-vtab-shot {
  display: block;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (min-width: 1024.02px) {
  .igl-vtab-shot {
    position: absolute;
    left: var(--l, auto);
    right: var(--r, auto);
    top: var(--t, auto);
    bottom: var(--b, auto);
    width: var(--w, auto);
    height: var(--h, auto);
    will-change: transform, opacity;
  }
}

@media (max-width: 1024px) {
  .igl-page section.igl-apart { padding: 56px 20px; }
  .igl-apart-window { border-width: 4px; border-radius: 16px; }
  .igl-page .igl-apart-chrome { display: none; }
  .igl-apart-titlebar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 0;
    padding: 52px 20px 24px;
    border-top-left-radius: 0;
  }
  .igl-page p.igl-apart-eyebrow { left: 20px; top: 20px; }
  .igl-page .igl-apart-title { flex: none; font-size: 27px; }
  .igl-page p.igl-apart-intro { flex: none; }

  .igl-vtabs { flex-direction: column; min-height: 0; }
  .igl-vtab { width: 100%; flex-direction: column; }
  .igl-vtab-rail {
    align-items: center;
    min-height: 0;
    padding: 16px 20px;
    border-radius: 0 !important;
  }
  .igl-vtab.is-open .igl-vtab-rail { display: flex; }
  .igl-vtab-rail-inner { flex-direction: row; gap: 14px; align-items: center; }
  .igl-vtab-rail .igl-vtab-name {
    writing-mode: horizontal-tb;
    transform: none;
    white-space: normal;
    font-size: 18px;
    text-align: left;
  }
  .igl-vtab-rail .igl-vtab-num { font-size: 20px; }

  /* Plain accordion below 1025px: a closed pane is display:none, so it
     leaves the a11y tree on its own and needs no width transition. */
  .igl-vtab-pane { display: none; max-width: 100%; height: auto; }
  .igl-vtab-pane.is-open { display: block; }
  .igl-vtab-head { display: none; }
  .igl-vtab-body { min-height: 0; padding: 20px; }
  .igl-vtab-shots {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
  }
  .igl-vtab-shot {
    width: 100%;
    aspect-ratio: var(--ar, 4 / 3);
    border-radius: 6px;
    background-size: cover;
  }

  /* The pane's own header is hidden in the accordion, so the open RAIL has
     to carry the tab accent or every panel reads the same neutral grey. */
  .igl-tab-01.is-open .igl-vtab-rail { background: var(--igl-tab-01-head); }
  .igl-tab-02.is-open .igl-vtab-rail { background: var(--igl-tab-02-head); }
  .igl-tab-03.is-open .igl-vtab-rail { background: var(--igl-tab-03-head); }
  .igl-tab-04.is-open .igl-vtab-rail { background: var(--igl-tab-04-head); }
}

/* =====================================================================
   Section 7 — final CTA. The shared [intone_cta] "demo" variant's own
   defaults already are this page's live copy ("Scale with Security" ->
   /discovery-call/), so it is reused with no overrides.
   ===================================================================== */
.igl-page section.igl-cta-section { background: var(--igl-bg-light); padding: 40px 4vw 100px; }
@media (max-width: 640px) { .igl-page section.igl-cta-section { padding: 24px 20px 56px; } }
