*{box-sizing:border-box}
:root{font-family:Arial,Helvetica,sans-serif;color:#152235;background:#f4f7fa}
body{margin:0}
.home-shell{max-width:1100px;margin:0 auto;padding:70px 24px}
.hero{background:#fff;border:1px solid #d9e0e7;border-radius:18px;padding:54px;box-shadow:0 12px 32px rgba(0,0,0,.06)}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:700;font-size:.8rem;color:#4d647a}
h1{font-size:clamp(2.5rem,7vw,5rem);margin:.2em 0}
.lede{font-size:1.2rem;max-width:720px;line-height:1.6}
.primary-btn{display:inline-block;margin-top:20px;background:#173b5e;color:white;text-decoration:none;padding:14px 22px;border-radius:10px;font-weight:700}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}
.feature-grid article{background:#fff;border:1px solid #d9e0e7;border-radius:14px;padding:24px}
@media(max-width:760px){.feature-grid{grid-template-columns:1fr}.hero{padding:34px 24px}}

.byline{
  display:block;
  font-size:.28em;
  font-weight:500;
  margin-top:.35em;
  letter-spacing:.03em;
  color:#4d647a;
}

.level-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}
.level-card{
  background:#fff;
  border:1px solid #d9e0e7;
  border-radius:14px;
  padding:26px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}
.level-card.featured{border:2px solid #315f88}
.level-card h2{margin:.45rem 0 .6rem}
.level-card p{line-height:1.55;color:#536577}
.level-badge{
  display:inline-block;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  padding:5px 8px;
  border-radius:999px;
  background:#e8eef4;
  color:#2d4d69;
}
.status-pill{
  display:inline-block;
  margin-top:16px;
  font-size:.78rem;
  font-weight:700;
  color:#6d7882;
  background:#eef2f5;
  padding:7px 10px;
  border-radius:999px;
}
@media(max-width:760px){.level-grid{grid-template-columns:1fr}}


/* v5.23 permanent PASSED ribbon */
.level-card{position:relative;overflow:hidden}
.passed-seal{
  position:absolute;
  top:18px;
  right:-36px;
  width:136px;
  min-height:30px;
  border-radius:0;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:6px 10px;
  background:linear-gradient(180deg,#f7e08a 0%,#e2b84c 45%,#bf8421 100%);
  color:#5a3a05;
  border:1px solid #a66d12;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:none;
  line-height:1;
  box-shadow:0 2px 7px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.45);
  text-shadow:0 1px 0 rgba(255,255,255,.35);
  transform:rotate(45deg);
  z-index:3;
}
.passed-seal .seal-check{font-size:.96rem;line-height:1}
@media(max-width:560px){
  .passed-seal{
    top:12px;
    right:-40px;
    width:128px;
    font-size:.64rem;
    padding:5px 8px;
  }
  .passed-seal .seal-check{font-size:.84rem}
}


/* v5.29 homepage visual refresh: main hero + lesson images */
.visual-hero{
  padding:0;
  overflow:hidden;
}
.hero-image-wrap{
  width:100%;
  background:#071f35;
  border-bottom:1px solid #d9e0e7;
}
.hero-image{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1712/896;
  object-fit:cover;
}
.hero-copy{
  padding:36px 42px 42px;
}
.visual-hero h1{
  font-size:clamp(2.25rem,5vw,4.25rem);
}

.level-card{
  padding:0 26px 26px;
}
.level-image-wrap{
  margin:0 -26px 22px;
  overflow:hidden;
  border-radius:13px 13px 0 0;
  background:#0b2942;
  border-bottom:1px solid #d9e0e7;
}
.level-image{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1712/896;
  object-fit:cover;
  transition:transform .25s ease;
}
.level-card:hover .level-image{
  transform:scale(1.015);
}
.level-card .passed-seal{
  z-index:5;
}

@media(max-width:760px){
  .home-shell{padding:42px 16px}
  .hero-copy{padding:28px 22px 32px}
  .visual-hero h1{font-size:clamp(2rem,10vw,3.1rem)}
  .level-card{padding:0 20px 22px}
  .level-image-wrap{margin:0 -20px 18px}
  .level-card:hover .level-image{transform:none}
}


/* v5.29.2 mobile homepage scaling fix */
html,body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
img{
  max-width:100%;
}
.home-shell{
  width:100%;
  min-width:0;
}
.visual-hero,
.hero-image-wrap,
.hero-copy,
.level-grid,
.level-card,
.level-image-wrap{
  min-width:0;
  max-width:100%;
}
.hero-image,
.level-image{
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
}
.hero-image-wrap,
.level-image-wrap{
  overflow:hidden;
}

@media(max-width:760px){
  .home-shell{
    width:100%;
    max-width:100%;
    padding:28px 12px;
  }
  .visual-hero{
    width:100%;
    max-width:100%;
    margin:0;
  }
  .hero-image-wrap{
    width:100%;
    max-width:100%;
  }
  .hero-image{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    aspect-ratio:auto;
    object-fit:contain;
  }
  .hero-copy{
    width:100%;
    padding:22px 18px 26px;
  }
  .level-grid{
    width:100%;
    grid-template-columns:minmax(0,1fr);
    gap:16px;
  }
  .level-card{
    width:100%;
    max-width:100%;
  }
  .level-image-wrap{
    width:auto;
    max-width:none;
  }
  .level-image{
    width:100% !important;
    height:auto !important;
    aspect-ratio:auto;
    object-fit:contain;
  }
}

@media(max-width:420px){
  .home-shell{
    padding:20px 10px;
  }
  .hero-copy{
    padding:20px 16px 24px;
  }
}


/* v5.29.3 integrated homepage hero */
.visual-hero{
  margin-top:0;
  border-radius:0 0 26px 26px;
  overflow:hidden;
}
.hero-image-wrap{
  border-radius:0;
}
.hero-image{
  border-radius:0 !important;
}
.hero-copy{
  border-radius:0 0 26px 26px;
}

@media(max-width:760px){
  .topbar{
    margin-bottom:0;
  }
  .home-shell{
    padding-top:0;
  }
  .visual-hero{
    width:calc(100% + 24px);
    max-width:none;
    margin-left:-12px;
    margin-right:-12px;
    margin-top:0;
    border-radius:0 0 24px 24px;
  }
  .hero-image-wrap{
    width:100%;
    border-radius:0;
  }
  .hero-image{
    width:100% !important;
    border-radius:0 !important;
  }
  .hero-copy{
    margin:0 12px;
    border-radius:0 0 24px 24px;
  }
}

@media(max-width:420px){
  .visual-hero{
    width:calc(100% + 20px);
    margin-left:-10px;
    margin-right:-10px;
  }
  .hero-copy{
    margin:0 10px;
  }
}


/* ============================================================
   v5.30 Homepage platform redesign
   ============================================================ */
:root{
  --ct-navy:#071f35;
  --ct-blue:#173b5e;
  --ct-blue-2:#2d6eaa;
  --ct-text:#152235;
  --ct-muted:#5c6f80;
  --ct-line:#d9e0e7;
  --ct-bg:#eef3f7;
}
body{background:var(--ct-bg)}
.home-shell{
  max-width:none;
  width:100%;
  margin:0;
  padding:0 0 72px;
}
.platform-hero{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(520px,.95fr);
  min-height:560px;
  background:linear-gradient(115deg,#071f35 0%,#0a2b49 54%,#0e3557 100%);
  color:#fff;
  overflow:hidden;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.platform-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:76px clamp(34px,6vw,96px);
  max-width:820px;
  margin-left:auto;
}
.platform-hero .eyebrow{color:#87b9e6;margin:0 0 14px}
.platform-hero h1{
  margin:0;
  max-width:760px;
  font-size:clamp(3rem,5vw,5.7rem);
  line-height:.98;
  letter-spacing:-.045em;
  color:#fff;
}
.platform-lede{
  max-width:700px;
  margin:24px 0 0;
  color:#d8e5ef;
  font-size:clamp(1.05rem,1.4vw,1.25rem);
  line-height:1.65;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero-actions .primary-btn{margin:0}
.hero-primary{background:#1e73b8;padding:14px 24px;box-shadow:0 8px 24px rgba(0,0,0,.22)}
.hero-primary:hover{background:#2a84ca}
.secondary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.4);
  border-radius:10px;
  padding:13px 22px;
  font-weight:800;
  background:rgba(255,255,255,.06);
}
.secondary-btn:hover{background:rgba(255,255,255,.12)}
.hero-access-note{
  margin-top:22px;
  color:#b9cad8;
  font-size:.9rem;
  line-height:1.45;
}
.hero-access-note strong{color:#fff}
.platform-hero-art{
  position:relative;
  min-height:560px;
  background-image:
    linear-gradient(90deg,#0a2b49 0%,rgba(10,43,73,.6) 12%,rgba(10,43,73,0) 35%),
    url('../image/industrial_automation_control_workbench.png');
  background-size:auto 100%;
  background-position:right center;
  background-repeat:no-repeat;
}
.platform-hero-art::after{
  content:"";
  position:absolute;
  inset:0;
  box-shadow:inset 40px 0 50px -34px rgba(7,31,53,.92);
  pointer-events:none;
}
.platform-benefits{
  max-width:1240px;
  margin:-42px auto 0;
  padding:0 28px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  position:relative;
  z-index:3;
}
.benefit-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  background:linear-gradient(180deg,#ffffff 0%,#f6faff 100%);
  border:1px solid #cfe0ef;
  border-radius:18px;
  padding:22px 22px 20px;
  box-shadow:0 14px 30px rgba(13,40,67,.10);
  position:relative;
  overflow:hidden;
}
.benefit-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,#2393f3 0%,#0f5fa6 100%);
}
.benefit-icon{
  flex:0 0 58px;
  width:58px;
  height:58px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#14395d 0%,#0d2a46 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06), 0 10px 24px rgba(14,42,70,.24);
}
.benefit-icon svg{
  width:30px;
  height:30px;
  stroke:#66b9ff;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.benefit-copy{display:flex;flex-direction:column}
.platform-benefits strong{
  display:block;
  color:#173b5e;
  font-size:1.12rem;
  margin-bottom:6px;
  line-height:1.2;
}
.platform-benefits span{
  color:#4b6276;
  font-size:.94rem;
  line-height:1.6;
}
.training-section-head{
  max-width:1240px;
  margin:64px auto 20px;
  padding:0 28px;
}
.training-section-head .eyebrow{margin:0 0 7px}
.training-section-head h2{margin:0;font-size:clamp(2rem,3vw,3rem);letter-spacing:-.025em}
.training-section-head p:last-child{max-width:780px;color:var(--ct-muted);line-height:1.6;margin:10px 0 0}
.level-grid{
  max-width:1240px;
  margin:0 auto;
  padding:0 28px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.level-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  border:1px solid #d6dee6;
  border-radius:15px;
  padding:0 22px 22px;
  box-shadow:0 8px 24px rgba(30,50,70,.055);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.level-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(30,50,70,.10)}
.level-card.featured{border:1px solid #9bb8d2}
.level-image-wrap{margin:0 -22px 18px;border-radius:14px 14px 0 0}
.level-image{aspect-ratio:16/8.5;object-fit:cover}
.level-card h2{font-size:1.35rem;margin:.6rem 0 .55rem;line-height:1.15}
.level-card p{margin:0 0 18px;font-size:.92rem;line-height:1.55}
.level-card .primary-btn{margin-top:auto;align-self:flex-start;padding:11px 16px;border-radius:8px;font-size:.88rem}
.level-badge{margin-top:2px}
.roadmap-card{padding-top:24px;min-height:250px}
.roadmap-card .status-pill{margin-top:auto;align-self:flex-start}
.setup-warning{max-width:1240px;margin:28px auto 0;padding:14px 20px}

@media(max-width:1050px){
  .platform-hero{grid-template-columns:1fr 48%;min-height:520px}
  .platform-hero-copy{padding:60px 40px}
  .platform-hero h1{font-size:clamp(2.7rem,5.6vw,4.6rem)}
  .level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .home-shell{padding:0 0 50px}
  .platform-hero{
    display:flex;
    flex-direction:column;
    min-height:0;
    border-radius:0;
  }
  .platform-hero-copy{
    order:2;
    width:100%;
    max-width:none;
    margin:0;
    padding:30px 20px 38px;
  }
  .platform-hero h1{font-size:clamp(2.35rem,11vw,3.5rem);line-height:1.02}
  .platform-lede{font-size:1rem;line-height:1.55;margin-top:18px}
  .platform-hero-art{
    order:1;
    width:100%;
    min-height:0;
    aspect-ratio:16/8.5;
    background-size:auto 100%;
    background-position:right center;
    background-image:url('../image/industrial_automation_control_workbench.png');
  }
  .platform-hero-art::after{background:linear-gradient(0deg,rgba(7,31,53,.25),transparent 35%);box-shadow:none}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:24px}
  .hero-actions a{width:100%}
  .platform-benefits{
    grid-template-columns:1fr;
    margin:18px auto 0;
    padding:0 14px;
    gap:12px;
  }
  .benefit-card{
    padding:18px 18px 17px;
    gap:14px;
  }
  .benefit-icon{
    width:50px;
    height:50px;
    flex-basis:50px;
    border-radius:14px;
  }
  .benefit-icon svg{
    width:26px;
    height:26px;
  }
  .training-section-head{margin:42px auto 16px;padding:0 16px}
  .level-grid{grid-template-columns:1fr;padding:0 14px;gap:16px}
  .level-card{padding:0 18px 20px;transform:none!important}
  .level-image-wrap{margin:0 -18px 17px}
  .level-card .primary-btn{width:100%;text-align:center}
}


/* v5.30.1 hero image swap + feature cards enhancement */
.platform-hero{
  border-bottom:1px solid rgba(255,255,255,.06);
}
.platform-hero-copy{
  position:relative;
  z-index:2;
}
.platform-hero-copy::after{
  content:"";
  position:absolute;
  inset:28px 18px 28px 0;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.04);
  border-radius:20px;
  opacity:.5;
  pointer-events:none;
}
.platform-hero-copy > *{
  position:relative;
  z-index:1;
}
@media(max-width:760px){
  .platform-hero-copy::after{
    inset:14px 10px 20px 10px;
    border-radius:18px;
  }
}


/* v5.30.3 hero overlay styling fix */
.platform-hero{
  position:relative;
  display:block;
  min-height:640px;
  background:#0a2b49;
  color:#fff;
  overflow:hidden;
  isolation:isolate;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.platform-hero-art{
  position:absolute;
  inset:0;
  z-index:0;
  min-height:100%;
  background:none !important;
}
.platform-hero-art img{
  display:block;
  width:100%;
  height:100%;
  min-height:640px;
  object-fit:cover;
  object-position:center right;
}
.platform-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(4,20,36,.94) 0%,
      rgba(5,27,48,.92) 15%,
      rgba(8,39,69,.76) 32%,
      rgba(9,45,79,.46) 48%,
      rgba(10,48,84,.18) 61%,
      rgba(10,48,84,0) 74%),
    linear-gradient(180deg,
      rgba(4,20,36,.22) 0%,
      rgba(4,20,36,.08) 20%,
      rgba(4,20,36,.10) 100%);
}
.platform-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:radial-gradient(circle at 20% 38%, rgba(42,132,202,.12), transparent 32%);
}
.platform-hero-copy{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:min(54%, 840px);
  min-height:640px;
  padding:78px clamp(34px,5vw,88px);
  margin:0;
  max-width:none;
  background:none;
}
.platform-hero-copy::after{display:none !important;}
.platform-hero-copy > *{position:relative; z-index:2;}
.platform-hero .eyebrow{
  margin:0 0 16px;
  color:#89c3fb;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  font-size:.92rem;
}
.platform-hero h1{
  margin:0;
  max-width:760px;
  font-size:clamp(3rem,5.15vw,5.6rem);
  line-height:.96;
  letter-spacing:-.05em;
  text-wrap:balance;
  text-shadow:0 8px 30px rgba(0,0,0,.28);
}
.platform-lede{
  max-width:720px;
  margin:24px 0 0;
  color:#d9e7f3;
  font-size:clamp(1.05rem,1.4vw,1.24rem);
  line-height:1.68;
  text-shadow:0 4px 18px rgba(0,0,0,.24);
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}
.hero-primary{
  background:linear-gradient(180deg,#2f86cf 0%,#1e70b6 100%);
  padding:14px 24px;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.hero-primary:hover{background:linear-gradient(180deg,#3991d9 0%,#2379c0 100%)}
.secondary-btn{
  background:rgba(8,25,45,.16);
  backdrop-filter: blur(2px);
}
.hero-access-note{
  margin-top:20px;
  color:#dce8f4;
  font-size:.98rem;
}
.hero-access-note strong{color:#fff}
.platform-benefits{
  position:relative;
  z-index:4;
  margin:-38px auto 0;
}
.benefit-card{min-height:150px}
.benefit-icon{width:60px;height:60px;border-radius:18px}
@media (max-width: 980px){
  .platform-hero{min-height:600px}
  .platform-hero-art img{min-height:600px;object-position:64% center}
  .platform-hero-copy{width:min(62%, 760px);min-height:600px;padding:64px 32px}
  .platform-hero h1{font-size:clamp(2.8rem,6vw,4.5rem)}
}
@media (max-width: 760px){
  .platform-hero{min-height:780px}
  .platform-hero-art img{min-height:780px;object-position:68% 18%}
  .platform-hero::before{
    background:
      linear-gradient(180deg,
        rgba(5,26,45,.18) 0%,
        rgba(5,26,45,.10) 16%,
        rgba(6,30,54,.28) 36%,
        rgba(7,33,59,.76) 58%,
        rgba(7,31,53,.93) 82%,
        rgba(7,31,53,.97) 100%),
      linear-gradient(90deg,
        rgba(8,35,61,.18) 0%,
        rgba(8,35,61,.08) 40%,
        rgba(8,35,61,0) 100%);
  }
  .platform-hero::after{background:radial-gradient(circle at 32% 18%, rgba(42,132,202,.16), transparent 34%)}
  .platform-hero-copy{
    width:100%;
    min-height:780px;
    justify-content:flex-end;
    padding:34px 20px 30px;
  }
  .platform-hero .eyebrow{font-size:.82rem;margin-bottom:14px}
  .platform-hero h1{max-width:none;font-size:clamp(2.35rem,10.8vw,4rem);line-height:.98}
  .platform-lede{max-width:none;margin-top:20px;font-size:1.02rem;line-height:1.62}
  .hero-actions{width:100%;flex-direction:column;gap:12px}
  .hero-actions .primary-btn,.hero-actions .secondary-btn{width:100%;text-align:center}
  .hero-access-note{margin-top:18px;font-size:.95rem}
}


/* v5.30.4 mobile hero / benefits separation fix */
@media (max-width: 760px){
  .platform-hero{
    min-height:820px;
  }
  .platform-hero-art img{
    min-height:820px;
    object-position:70% 16%;
  }
  .platform-hero-copy{
    min-height:820px;
    padding:34px 20px 26px;
  }
  .hero-access-note{
    margin-top:18px;
    margin-bottom:0;
  }
  .platform-benefits{
    margin:20px auto 0 !important;
    padding:0 14px 0;
    gap:14px;
  }
  .benefit-card{
    min-height:0;
  }
}


/* v5.33 homepage certificates feature */
@media (min-width:1101px){
  .platform-benefits{
    max-width:1420px;
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media (min-width:761px) and (max-width:1100px){
  .platform-benefits{
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:900px;
  }
}


/* ============================================================
   v5.46 homepage brand sizing + mobile hero-copy position
   ============================================================ */

/* Stronger Controls Trainer branding without affecting other pages. */
.homepage-body .member-header .member-brand{
  font-size:1.38rem !important;
  line-height:1.1;
  letter-spacing:-.015em;
}
.homepage-body .member-header .member-brand span{
  font-size:.58em !important;
  margin-left:.18em;
  font-weight:500;
}

/* Give the desktop brand a little more visual presence. */
@media (min-width:761px){
  .homepage-body .member-header .member-brand{
    font-size:1.48rem !important;
  }
}

/* Move the mobile hero message higher over the image. */
@media (max-width:760px){
  .homepage-body .platform-hero-copy{
    min-height:820px;
    justify-content:center;
    padding:38px 20px 54px;
    transform:translateY(-54px);
  }

  .homepage-body .platform-hero .eyebrow{
    margin-bottom:12px;
  }

  .homepage-body .platform-lede{
    margin-top:18px;
  }

  .homepage-body .hero-actions{
    margin-top:24px;
  }

  .homepage-body .member-header .member-brand{
    font-size:1.42rem !important;
  }
}

@media (max-width:420px){
  .homepage-body .platform-hero-copy{
    transform:translateY(-42px);
  }
  .homepage-body .member-header .member-brand{
    font-size:1.34rem !important;
  }
}


/* ============================================================
   v5.47 mobile hero readability
   ============================================================ */
@media (max-width:760px){

  /* Keep the hero copy in the improved higher position, but darken
     only the text side of the image with a soft transparent fade. */
  .homepage-body .platform-hero::before{
    background:
      linear-gradient(180deg,
        rgba(5,24,43,.20) 0%,
        rgba(5,24,43,.28) 18%,
        rgba(5,24,43,.46) 35%,
        rgba(5,24,43,.70) 54%,
        rgba(5,24,43,.86) 72%,
        rgba(5,24,43,.94) 100%),
      linear-gradient(90deg,
        rgba(4,22,40,.56) 0%,
        rgba(5,27,48,.42) 48%,
        rgba(6,32,56,.18) 78%,
        rgba(6,32,56,0) 100%);
  }

  .homepage-body .platform-hero::after{
    background:
      radial-gradient(circle at 18% 48%,
        rgba(8,35,61,.46) 0%,
        rgba(8,35,61,.28) 34%,
        rgba(8,35,61,0) 68%);
  }

  .homepage-body .platform-hero h1{
    text-shadow:
      0 3px 4px rgba(0,0,0,.52),
      0 10px 30px rgba(0,0,0,.34);
  }

  .homepage-body .platform-lede,
  .homepage-body .hero-access-note,
  .homepage-body .platform-hero .eyebrow{
    text-shadow:
      0 2px 3px rgba(0,0,0,.60),
      0 6px 18px rgba(0,0,0,.32);
  }

  .homepage-body .platform-lede{
    color:#f0f6fb;
  }

  .homepage-body .platform-hero .eyebrow{
    color:#9fd2ff;
  }
}


/* ============================================================
   v5.48 mobile hero height trim
   ============================================================ */
@media (max-width:760px){
  .homepage-body .platform-hero{
    min-height:730px;
  }

  .homepage-body .platform-hero-art img{
    min-height:730px;
  }

  .homepage-body .platform-hero-copy{
    min-height:730px;
    transform:translateY(-10px);
  }
}

@media (max-width:420px){
  .homepage-body .platform-hero-copy{
    transform:translateY(0);
  }
}


/* ============================================================
   v5.52 site footer + public Updates / Changelog
   ============================================================ */
.site-footer{
  margin-top:56px;
  border-top:1px solid rgba(255,255,255,.10);
  background:#06192b;
}
.site-footer-inner{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto;
  min-height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.site-footer-inner > div{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.site-footer strong{
  color:#f5f9fc;
  font-size:1rem;
}
.site-footer span{
  color:#91a6b9;
  font-size:.86rem;
}
.site-footer nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:22px;
}
.site-footer a{
  color:#b8c9d8;
  text-decoration:none;
  font-weight:700;
  font-size:.9rem;
}
.site-footer a:hover,
.site-footer a:focus{
  color:#fff;
}

.updates-page{
  background:#071c30;
}
.updates-shell{
  width:min(1040px,calc(100% - 36px));
  margin:0 auto;
  padding:58px 0 20px;
}
.updates-hero{
  position:relative;
  overflow:hidden;
  padding:52px clamp(24px,5vw,58px);
  border:1px solid rgba(255,255,255,.09);
  border-radius:24px;
  background:
    radial-gradient(circle at 88% 18%,rgba(53,153,235,.20),transparent 33%),
    linear-gradient(135deg,#0a2a47,#061a2e 70%);
  box-shadow:0 24px 70px rgba(0,0,0,.20);
}
.updates-hero h1{
  margin:8px 0 16px;
  color:#fff;
  font-size:clamp(2.25rem,6vw,4.5rem);
  line-height:.98;
  letter-spacing:-.045em;
}
.updates-hero > p:not(.eyebrow){
  max-width:760px;
  margin:0;
  color:#c5d3df;
  font-size:1.08rem;
  line-height:1.7;
}
.updates-summary{
  margin-top:28px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.updates-summary span{
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(4,21,37,.55);
  color:#b9cad8;
  font-size:.85rem;
}
.updates-summary strong{
  color:#fff;
  margin-right:5px;
}

.updates-list{
  display:grid;
  gap:18px;
  margin-top:28px;
}
.update-entry{
  padding:28px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:#0b2238;
  box-shadow:0 12px 34px rgba(0,0,0,.12);
}
.update-entry-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding-bottom:20px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.update-entry-head h2{
  margin:7px 0 0;
  color:#f7fbff;
  font-size:1.3rem;
  line-height:1.2;
}
.update-entry-head time{
  color:#8fa5b8;
  font-size:.86rem;
  white-space:nowrap;
}
.update-version{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:7px;
  background:#153a5a;
  color:#9fd2ff;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.04em;
}
.update-items{
  padding-top:18px;
  display:grid;
  gap:13px;
}
.update-item{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  align-items:start;
  gap:14px;
}
.update-item p{
  margin:2px 0 0;
  color:#c8d5df;
  line-height:1.58;
}
.update-type{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:27px;
  padding:4px 9px;
  border-radius:999px;
  font-size:.71rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.update-type.new{
  background:rgba(34,197,94,.13);
  color:#7ee2a1;
  border:1px solid rgba(34,197,94,.25);
}
.update-type.improved{
  background:rgba(59,130,246,.13);
  color:#8fc4ff;
  border:1px solid rgba(59,130,246,.27);
}
.update-type.fixed{
  background:rgba(245,158,11,.13);
  color:#f6c86b;
  border:1px solid rgba(245,158,11,.27);
}
.updates-note{
  margin-top:22px;
  padding:26px 28px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:#091f34;
}
.updates-note h2{
  margin:0 0 9px;
  color:#f7fbff;
  font-size:1.05rem;
}
.updates-note p{
  margin:0;
  color:#aebfcd;
  line-height:1.65;
}

@media (max-width:700px){
  .site-footer-inner{
    min-height:auto;
    padding:27px 0;
    flex-direction:column;
    align-items:flex-start;
  }
  .site-footer nav{
    justify-content:flex-start;
    gap:18px;
  }
  .updates-shell{
    padding-top:28px;
  }
  .updates-hero{
    padding:34px 22px;
    border-radius:18px;
  }
  .update-entry{
    padding:22px 18px;
  }
  .update-entry-head{
    flex-direction:column;
    gap:10px;
  }
  .update-entry-head time{
    white-space:normal;
  }
  .update-item{
    grid-template-columns:1fr;
    gap:7px;
  }
  .update-type{
    justify-self:start;
  }
}


/* ============================================================
   v5.54 large training collage carousel
   ============================================================ */
.showcase-carousel-section{
  width:min(1380px,calc(100% - 36px));
  margin:74px auto 84px;
}
.showcase-heading{
  max-width:900px;
  margin:0 auto 30px;
  text-align:center;
}
.showcase-heading h2{
  margin:8px 0 14px;
  color:#0b2741;
  font-size:clamp(2.35rem,5vw,4rem);
  line-height:1;
  letter-spacing:-.05em;
}
.showcase-heading > p:not(.eyebrow){
  max-width:820px;
  margin:0 auto;
  color:#607386;
  font-size:1.07rem;
  line-height:1.7;
}

.showcase-carousel{
  position:relative;
}
.showcase-frame{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  background:#071d31;
  box-shadow:0 28px 70px rgba(13,40,63,.22);
  border:1px solid rgba(15,58,91,.14);
}
.showcase-slide{
  display:none;
  width:100%;
}
.showcase-slide.active{
  display:block;
}
.showcase-slide img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio:16/9;
  object-fit:cover;
}

.showcase-arrow{
  position:absolute;
  top:50%;
  z-index:4;
  width:58px;
  height:58px;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.26);
  border-radius:50%;
  background:rgba(5,29,50,.82);
  color:#fff;
  font-size:1.8rem;
  cursor:pointer;
  backdrop-filter:blur(7px);
  box-shadow:0 10px 28px rgba(0,0,0,.24);
  transition:background .18s ease,transform .18s ease;
}
.showcase-arrow:hover,
.showcase-arrow:focus{
  background:rgba(29,126,198,.96);
  transform:translateY(-50%) scale(1.04);
}
.showcase-prev{left:20px}
.showcase-next{right:20px}

.showcase-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:22px;
}
.showcase-dots{
  display:flex;
  align-items:center;
  gap:10px;
}
.showcase-dot{
  width:12px;
  height:12px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#b8c6d1;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,width .18s ease,border-radius .18s ease;
}
.showcase-dot.active{
  width:32px;
  border-radius:999px;
  background:#2b8fd4;
}
.showcase-cta{
  white-space:nowrap;
}

@media (max-width:760px){
  .showcase-carousel-section{
    width:calc(100% - 24px);
    margin:52px auto 62px;
  }
  .showcase-heading{
    margin-bottom:22px;
    text-align:left;
  }
  .showcase-heading h2{
    font-size:2.45rem;
  }
  .showcase-heading > p:not(.eyebrow){
    font-size:.98rem;
  }
  .showcase-frame{
    border-radius:20px;
  }
  .showcase-slide img{
    aspect-ratio:16/9;
  }
  .showcase-arrow{
    width:44px;
    height:44px;
    font-size:1.35rem;
  }
  .showcase-prev{left:10px}
  .showcase-next{right:10px}
  .showcase-controls{
    align-items:stretch;
    flex-direction:column;
    margin-top:16px;
  }
  .showcase-dots{
    justify-content:center;
  }
  .showcase-cta{
    width:100%;
    text-align:center;
  }
}


/* ============================================================
   v5.54.3 smooth fixed-frame carousel transition
   ============================================================ */
.showcase-frame{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/9;
  background:#071d31;
}

.showcase-slide{
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:1;
  pointer-events:none;
  transform:translateX(100%);
  will-change:transform;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}

.showcase-slide img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transform:translateZ(0);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}

.showcase-slide.active{
  z-index:2;
  transform:translateX(0);
  pointer-events:auto;
}

.showcase-slide.slide-enter-right{
  z-index:3;
  transform:translateX(100%);
}

.showcase-slide.slide-enter-left{
  z-index:3;
  transform:translateX(-100%);
}

.showcase-slide.slide-exit-left,
.showcase-slide.slide-exit-right{
  z-index:2;
  transform:translateX(0);
}

.showcase-slide.slide-moving{
  transition:transform .72s cubic-bezier(.22,.61,.36,1);
}

.showcase-slide.slide-enter-right.slide-moving{
  transform:translateX(0);
}

.showcase-slide.slide-enter-left.slide-moving{
  transform:translateX(0);
}

.showcase-slide.slide-exit-left.slide-moving{
  transform:translateX(-100%);
}

.showcase-slide.slide-exit-right.slide-moving{
  transform:translateX(100%);
}

@media (max-width:760px){
  .showcase-frame{
    aspect-ratio:16/9;
  }
}

@media (prefers-reduced-motion:reduce){
  .showcase-slide.slide-moving{
    transition:none;
  }
}
