/* WP04 homepage candidate; shared interaction and styling stay in their original files. */
#wp04-home {
  --home-ink:#101f36; --home-text:#405a75; --home-blue:#2d5dca; --home-line:#dce7f3;
}
#wp04-home .wp04-wrap {width:min(75rem,calc(100% - 3rem));margin-inline:auto;}
#wp04-home .wp04-hero {color:white;background:#0e1c32;}
#wp04-home .wp04-hero-grid {
  display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(1.4rem,4vw,4.15rem);align-items:center;padding:8.25rem 0 3.2rem;
}
#wp04-home .wp04-eyebrow {font-weight:760;font-size:.875rem;letter-spacing:.045em;color:var(--home-blue);}
#wp04-home .wp04-hero .wp04-eyebrow {color:#a8c8ff;}
#wp04-home .wp04-hero h1 {
  font-weight:830;line-height:1.1;font-size:clamp(2.6rem,4.25vw,4.3rem);
  margin:.72rem 0 1rem;letter-spacing:-.028em;
}
#wp04-home .wp04-hero h1 span {display:block;color:#9dbbff;}
#wp04-home .wp04-lead {color:#d9e6f8;font-size:1.04rem;line-height:1.7;max-width:32rem;margin:0 0 1.4rem;}
#wp04-home .wp04-hero-actions {display:flex;gap:.65rem;align-items:stretch;width:min(100%,23.5rem);}
#wp04-home .wp04-hero-action {
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;flex:1 1 0;min-width:0;
  border:1px solid #7fa7ef;border-radius:999px;padding:.62rem 1rem;color:#fff;
  background:#264994;font-size:.94rem;font-weight:750;text-align:center;transition:background-color .18s ease;
}
#wp04-home .wp04-hero-action:hover {background:#3468d4;}
#wp04-home .wp04-hero-theme,#wp04-home .wp04-themes {min-width:0;}
#wp04-home .wp04-themes {border:1px solid #4a6081;border-radius:1.05rem;overflow:hidden;background:#162740;}
#wp04-home .wp04-themes:not(.swiper-initialized) .swiper-slide:not(:first-child) {display:none;}
#wp04-home .wp04-frame {margin:0;}
#wp04-home .wp04-frame img {display:block;width:100%;height:auto;aspect-ratio:1.65;object-fit:cover;object-position:64% 56%;}
#wp04-home .wp04-frame--2 img {object-position:54% 77%;}
#wp04-home .wp04-frame figcaption {
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:.25rem 1rem;color:#c7d8ef;padding:.68rem .95rem;line-height:1.4;font-size:.78rem;
}
#wp04-home .wp04-frame figcaption strong {color:white;font-size:.97rem;}
#wp04-home .wp04-theme-buttons {display:flex;gap:.4rem;margin-top:.55rem;}
#wp04-home .wp04-theme-buttons[hidden] {display:none;}
#wp04-home .wp04-theme-buttons button {
  min-height:42px;padding:.4rem .68rem;color:#bcd0ee;border:1px solid transparent;
  border-radius:.46rem;font-size:.8rem;font-weight:720;
}
#wp04-home .wp04-theme-buttons button[aria-pressed="true"] {color:white;background:#233f6b;border-color:#5979af;}
#wp04-home :is(a,button):focus-visible {outline:2px solid #78a3ff;outline-offset:3px;}
#wp04-home :is(section,[id]) {scroll-margin-top:95px;}
#wp04-home .wp04-section {padding:clamp(3.15rem,5.4vw,5.4rem) 0;}
#wp04-home .wp04-heading {max-width:48rem;margin-bottom:1.45rem;color:var(--home-ink);}
#wp04-home .wp04-heading h2,#wp04-home .wp04-story h3 {
  font-weight:790;line-height:1.18;letter-spacing:-.022em;text-wrap:balance;
}
#wp04-home .wp04-heading h2 {font-size:clamp(1.8rem,3vw,2.85rem);margin:.22rem 0 .72rem;}
#wp04-home .wp04-heading p,#wp04-home .wp04-story-copy > p:not(.wp04-eyebrow) {color:var(--home-text);line-height:1.67;}
#wp04-home .wp04-story {
  display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);
  gap:clamp(1.2rem,3.7vw,3.8rem);align-items:center;margin-top:1.25rem;
  border:1px solid var(--home-line);border-radius:1rem;overflow:hidden;background:#f3f7fc;
}
#wp04-home .wp04-story--1 {grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);background:#edf5ff;}
#wp04-home .wp04-story--1 .wp04-story-image {grid-column:2;grid-row:1;}
#wp04-home .wp04-story--1 .wp04-story-copy {grid-column:1;grid-row:1;}
#wp04-home .wp04-story h3 {font-size:clamp(1.45rem,2.6vw,2.35rem);color:var(--home-ink);margin:.45rem 0 .65rem;}
#wp04-home .wp04-story-copy {padding:1rem 1.6rem 1.25rem 0;}
#wp04-home .wp04-story--1 .wp04-story-copy {padding:1rem 0 1.25rem 1.6rem;}
#wp04-home :is(.wp04-story-image,.wp04-tech-image) {margin:0;min-width:0;}
#wp04-home :is(.wp04-story-image,.wp04-tech-image) img {display:block;width:100%;height:auto;aspect-ratio:1.66;object-fit:cover;}
#wp04-home :is(.wp04-story-image,.wp04-tech-image) figcaption {font-size:.78rem;background:#e6eef9;color:#344f6b;padding:.55rem .75rem;line-height:1.55;}
#wp04-home .wp04-story-links {display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .95rem;margin-top:.85rem;}
#wp04-home .wp04-textlink {color:var(--home-blue);font-size:.89rem;font-weight:720;display:inline-flex;align-items:center;min-height:42px;text-decoration:underline;text-underline-offset:.22rem;}
#wp04-home .wp04-pill {color:white;background:#2a5ac6;font-size:.88rem;font-weight:740;display:inline-flex;align-items:center;min-height:44px;border-radius:999px;padding:.55rem .85rem;}
#wp04-home .wp04-pill:hover {background:#184092;}
#wp04-home .wp04-shared {background:#f0f5fb;}
#wp04-home .wp04-split {display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:clamp(1.15rem,4vw,4rem);align-items:center;}
#wp04-home .wp04-tech-image {border:1px solid var(--home-line);border-radius:.9rem;overflow:hidden;}
#wp04-home .wp04-contact-links {display:flex;flex-wrap:wrap;gap:.5rem 1rem;}
#wp04-home .wp04-contact-links a {color:#a9c8ff;}
@media(max-width:900px) {
 #wp04-home .wp04-hero h1 {font-size:clamp(2rem,4.65vw,3.1rem);}
 #wp04-home .wp04-hero-grid {gap:1.45rem;padding-top:7.1rem;}
}
@media(max-width:700px) {
 #wp04-home .wp04-wrap {width:calc(100% - 2rem);}
 #wp04-home .wp04-hero-grid,#wp04-home .wp04-story,#wp04-home .wp04-split {grid-template-columns:minmax(0,1fr);}
 #wp04-home .wp04-hero-grid {padding:6.15rem 0 1.55rem;gap:1.2rem;}
 #wp04-home .wp04-hero h1 {font-size:clamp(2rem,6.65vw,2.85rem);margin:.55rem 0 .8rem;}
 #wp04-home .wp04-lead {font-size:.95rem;margin-bottom:.9rem;}
 #wp04-home .wp04-hero-actions {gap:.42rem;}
 #wp04-home .wp04-hero-action {padding:.53rem .68rem;font-size:.82rem;min-height:46px;}
 #wp04-home .wp04-frame img {aspect-ratio:1.68;object-position:69% 55%;}
 #wp04-home .wp04-frame--2 img {object-position:55% 76%;}
 #wp04-home .wp04-story {gap:0;}
 #wp04-home .wp04-story--1 :is(.wp04-story-image,.wp04-story-copy) {grid-area:auto;}
 #wp04-home .wp04-story .wp04-story-copy {padding:1.18rem;}
}
@media(prefers-reduced-motion:reduce) {
 #wp04-home [data-aos] {opacity:1;transform:none;transition:none;animation:none;}
 #wp04-home .wp04-hero-action {transition:none;}
}

#wp04-home .wp04-story--1 .wp04-story-image img {object-fit:contain;background:#172c48;}
#wp04-home .wp04-case-controls {
  display:flex;justify-content:flex-end;gap:.65rem;margin:0 .5rem .5rem;
}
#wp04-home .wp04-case-controls button {
  display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--home-line);
  border-radius:50%;background:#fff;color:var(--home-blue);
  box-shadow:0 5px 15px rgb(16 31 54 / 8%);transition:background-color .18s,color .18s;
}
#wp04-home .wp04-case-controls button:focus-visible {background:var(--home-blue);color:white;}
@media (hover:hover) {
  #wp04-home .wp04-case-controls button:hover {background:var(--home-blue);color:white;}
}
@media (min-width:1000px) {
  #wp04-home .wp04-hero {position:relative;isolation:isolate;}
  #wp04-home .wp04-hero-grid {
    display:flex;min-height:clamp(38rem,48vw,43rem);padding-block:8rem 6.4rem;
  }
  #wp04-home .wp04-hero-copy {position:relative;z-index:3;width:min(52%,37rem);}
  #wp04-home .wp04-lead {text-wrap:pretty;}
  #wp04-home .wp04-hero-theme {position:absolute;inset:0;}
  #wp04-home .wp04-themes {height:100%;border:0;border-radius:0;background:#0e1c32;}
  #wp04-home .wp04-frame {position:relative;isolation:isolate;}
  #wp04-home .wp04-frame > img {
    position:absolute;inset:0 0 0 auto;width:72%;height:100%;aspect-ratio:auto;
    object-position:62% 55%;
  }
  #wp04-home .wp04-frame--2 > img {object-position:60% 58%;}
  #wp04-home .wp04-frame::after {
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(90deg,#0e1c32 0%,#0e1c32 30%,rgb(14 28 50 / 94%) 37%,rgb(14 28 50 / 52%) 52%,transparent 75%),
      linear-gradient(180deg,rgb(14 28 50 / 48%),transparent 28%,transparent 68%,rgb(14 28 50 / 86%));
  }
  #wp04-home .wp04-frame figcaption {
    position:absolute;right:max(1.5rem,calc((100% - 75rem) / 2));bottom:2.2rem;z-index:1;
    padding:0;text-align:right;text-shadow:0 1px 5px #0e1c32;
  }
  #wp04-home .wp04-theme-buttons {
    position:absolute;left:max(1.5rem,calc((100% - 75rem) / 2));bottom:2.2rem;z-index:4;
  }
}
@media (prefers-reduced-motion:reduce) {
  #wp04-home .wp04-case-controls button {transition:none;}
}
#wp04-home .wp04-product-discovery {max-width:75rem;margin:0 auto 1.6rem;}
#wp04-home .wp04-product-discovery ul {
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem;
}
#wp04-home .wp04-product-discovery li {
  min-width:0;border:1px solid var(--home-line);border-radius:.85rem;background:white;
}
#wp04-home .wp04-product-category {
  display:flex;align-items:center;justify-content:space-between;gap:.45rem;min-height:44px;
  line-height:1.3;padding:.6rem .65rem .3rem;color:var(--home-ink);font-size:.91rem;font-weight:770;
}
#wp04-home .wp04-product-category span {color:var(--home-blue);flex:none;}
#wp04-home .wp04-product-example {
  display:flex;min-height:44px;align-items:center;padding:.3rem .65rem .65rem;
  color:var(--home-blue);font-size:.77rem;line-height:1.4;text-underline-offset:.18em;
}
#wp04-home .wp04-product-discovery a:hover {color:var(--home-blue);text-decoration:underline;}
#wp04-home .wp04-catalog-jump {gap:.5rem;margin-top:.32rem;}
#wp04-home .wp04-heading .wp04-trust {
  font-size:.91rem;margin:.9rem 0 .2rem;padding-left:.85rem;border-left:2px solid #9bb9e5;
}
@media (max-width:850px) {
  #wp04-home .wp04-product-discovery ul {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:540px) {
  #wp04-home .wp04-product-discovery ul {grid-template-columns:repeat(2,minmax(0,1fr));}
  #wp04-home .wp04-product-category {font-size:.86rem;}
}

#wp04-home #home-news .wp04-news-scrim {
  background:linear-gradient(to top,#0b1120 0%,rgb(11 17 32 / 94%) 31%,rgb(11 17 32 / 66%) 58%,transparent 88%);
}
