/* www/epistat-story.css · Epistat Story v2.1 */

:root {
  --story-radius-xl: 32px;
  --story-radius-lg: 24px;
  --story-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  --story-card-shadow: 0 16px 45px rgba(15, 23, 42, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f8fafc;
}

body > .container-fluid {
  width: 100%;
  max-width: none;
  padding: 0 !important;
  margin: 0;
}

.epistat-story-shell,
.epistat-story-shell * {
  box-sizing: border-box;
}

.epistat-story-shell {
  --story-bg: #f2d36f;
  --story-ink: #102a43;
  --story-accent: #143b64;
  --story-soft: #fff7d6;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  color: var(--story-ink);
  background: var(--story-bg);
  font-family: Inter, Arial, Helvetica, sans-serif;
  transition: background-color 420ms ease, color 420ms ease;
  overflow-x: hidden;
  overflow: clip;
}

.story-inner,
.story-header-inner,
.story-footer-inner {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.story-sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.story-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.story-brand-link {
  color: #102a43;
  text-decoration: none;
  flex: 0 0 auto;
}

.story-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.story-logo-image {
  display: block;
  max-width: 145px;
  max-height: 42px;
  object-fit: contain;
}

.story-brand-link .story-logo-image,
.story-footer-brand-group .story-logo-image {
  opacity: 0.98;
}

.story-logo-shell.is-tinted .story-logo-image {
  filter: brightness(0) saturate(100%) invert(15%) sepia(78%) saturate(2235%) hue-rotate(196deg) brightness(87%) contrast(96%);
}

.story-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.story-wordmark-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #143b64;
  letter-spacing: 0;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(20, 59, 100, 0.24);
}

.story-top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.story-top-nav::-webkit-scrollbar {
  display: none;
}

.story-route-button {
  appearance: none;
  border: 0;
  margin: 0;
  font: inherit;
  color: #334155;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.story-top-nav .story-route-button {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.89rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.story-top-nav .story-route-button:hover,
.story-top-nav .story-route-button:focus-visible {
  color: #102a43;
  background: #eef3f8;
  outline: none;
  transform: translateY(-1px);
}

.story-top-nav .story-route-button.is-active {
  color: #fff;
  background: #143b64;
}

.story-hero {
  position: relative;
  padding: 52px 0 86px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.40), transparent 27%),
    radial-gradient(circle at 94% 22%, rgba(255, 255, 255, 0.22), transparent 31%);
}

.story-hero-inner {
  position: relative;
}

.story-hero-stage {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(360px, 0.78fr);
  align-items: center;
}

.story-media-frame {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  border-radius: var(--story-radius-xl);
  background: #102a43;
  box-shadow: var(--story-shadow);
  isolation: isolate;
}

.story-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.48) 100%);
}

.story-hero-video,
.story-hero-image,
.story-media-embed,
.story-media-embed iframe,
.story-media-fallback {
  width: 100%;
  height: 100%;
  min-height: 620px;
  display: block;
}

.story-hero-video,
.story-hero-image {
  object-fit: cover;
}

.story-media-embed iframe {
  border: 0;
}

.story-media-caption {
  position: absolute;
  z-index: 4;
  left: 24px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.story-media-caption span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(8px);
}

.story-copy-card {
  position: relative;
  z-index: 5;
  margin-left: -104px;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--story-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--story-shadow);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.story-copy-eyebrow,
.story-section-kicker,
.story-card-kicker {
  font-size: 0.74rem;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.story-copy-eyebrow,
.story-section-kicker {
  color: var(--story-accent);
}

.story-copy-card h1 {
  margin: 14px 0 18px;
  max-width: 13ch;
  font-size: clamp(2.15rem, 4.2vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
  color: var(--story-ink);
}

.story-copy-lead {
  margin: 0 0 20px;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  line-height: 1.48;
  font-weight: 650;
  color: #1e293b;
}

.story-copy-body {
  margin: 0 0 12px;
  color: #475569;
  font-size: 0.99rem;
  line-height: 1.65;
}

.story-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.story-highlight-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--story-accent);
  background: var(--story-soft);
  font-size: 0.79rem;
  font-weight: 800;
}

.story-highlight-row .fa-circle {
  font-size: 0.36rem;
}

.story-hero-cta {
  margin-top: 28px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--story-accent);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-hero-cta:hover,
.story-hero-cta:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.story-media-fallback {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--story-accent), #0f172a 82%);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at 78% 24%, color-mix(in srgb, var(--story-accent) 60%, white), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--story-accent) 84%, #0f172a), #0f172a 82%);
}

.story-visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.20) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(620px) rotateX(58deg) translateY(34%);
  transform-origin: center bottom;
}

.story-visual-bars {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 15%;
  height: 62%;
  display: flex;
  align-items: flex-end;
  gap: 4%;
  opacity: 0.26;
}

.story-visual-bars span {
  flex: 1;
  height: calc(var(--bar) * 1%);
  border-radius: 12px 12px 3px 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.20));
  animation: storyBarFloat 3.4s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.story-visual-pulse {
  position: absolute;
  inset: 15% 3% 10%;
  opacity: 0.18;
}

.story-visual-pulse polyline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34 16;
  animation: storyPulseLine 7s linear infinite;
}

.story-visual-network {
  position: absolute;
  inset: 0;
  opacity: 0.86;
}

.story-network-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.10), 0 0 34px rgba(255, 255, 255, 0.42);
  animation: storyNodeFloat 3.2s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.story-network-node::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 150px;
  height: 1px;
  transform: rotate(24deg);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.52), transparent);
}

.visual-population .story-visual-bars {
  opacity: 0.82;
}

.visual-population .story-visual-network,
.visual-population .story-visual-pulse {
  opacity: 0.16;
}

.visual-pulse .story-visual-pulse {
  opacity: 0.92;
}

.visual-pulse .story-visual-bars,
.visual-pulse .story-visual-network {
  opacity: 0.14;
}

.visual-services .story-visual-bars {
  opacity: 0.52;
  transform: rotate(-3deg);
}

.visual-team .story-network-node {
  width: 22px;
  height: 22px;
}

.story-media-placeholder-label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(390px, calc(100% - 60px));
  transform: translate(-50%, -50%);
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 13px;
  align-items: center;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(12px);
  text-align: left;
}

.story-media-placeholder-label .fa-play {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
}

.story-media-placeholder-label span {
  font-weight: 850;
  font-size: 1.08rem;
}

.story-media-placeholder-label small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.story-shared-main {
  background: #f8fafc;
  color: #102a43;
  border-radius: 42px 42px 0 0;
  box-shadow: 0 -18px 55px rgba(15, 23, 42, 0.10);
}

.story-section {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
  padding: 78px 0 0;
}

.story-section-heading {
  max-width: 1120px;
  margin-bottom: 30px;
}

.story-section-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
}

.story-section-heading p {
  margin: 0;
  max-width: 980px;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.65;
}

.story-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.story-metric-tile {
  position: relative;
  min-height: 166px;
  padding: 23px;
  border: 1px solid #dce5ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.story-metric-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--story-accent);
  background: var(--story-soft);
}

.story-metric-label {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.story-metric-value {
  margin-top: 6px;
  color: #102a43;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.story-metric-note {
  margin-top: 9px;
  color: #64748b;
  font-size: 0.83rem;
}

.story-chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.story-data-card {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #dce5ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--story-card-shadow);
  overflow: hidden;
}

.story-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.story-card-kicker {
  color: var(--story-accent);
}

.story-card-head h3 {
  margin: 8px 0 6px;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.story-card-head p {
  margin: 0;
  color: #64748b;
}

.story-shared-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #dce5ee;
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  font-size: 0.76rem;
  font-weight: 800;
}

.story-info-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  padding-bottom: 82px;
}

.story-info-box,
.story-contact-box {
  border-radius: 24px;
  padding: clamp(26px, 4vw, 42px);
}

.story-info-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  border: 1px solid #dce5ee;
  background: #fff;
}

.story-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--story-accent);
  background: var(--story-soft);
  font-size: 1.25rem;
}

.story-info-box h3,
.story-contact-box h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.story-info-box p,
.story-contact-box p {
  color: #58677a;
  line-height: 1.65;
}

.story-contact-box {
  color: #fff;
  background: #102a43;
}

.story-contact-box .story-section-kicker,
.story-contact-box p {
  color: rgba(255, 255, 255, 0.76);
}

.story-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.story-primary-link,
.story-secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.story-primary-link {
  color: #102a43;
  background: #fff;
}

.story-secondary-link {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.story-primary-link:hover,
.story-secondary-link:hover {
  transform: translateY(-1px);
}

.story-pager {
  color: var(--story-ink);
  background: var(--story-bg);
  transition: background-color 420ms ease;
}

.story-pager-inner {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.story-pager-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--story-ink);
  font-weight: 850;
}

.story-pager-prev {
  justify-self: start;
}

.story-pager-next {
  justify-self: end;
}

.story-pager-button:hover,
.story-pager-button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
  outline: none;
}

.story-pager-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.story-pager-count b {
  font-size: 2.1rem;
  line-height: 1;
}

.story-pager-count span {
  opacity: 0.62;
}

.story-footer {
  color: #fff;
  background: #0f2236;
}

.story-footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}

.story-footer .story-wordmark-mark {
  background: #fff;
  color: #143b64;
}

.story-footer .story-wordmark-text,
.story-footer a {
  color: #fff;
}

@keyframes storyBarFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-16px); }
}

@keyframes storyNodeFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8px, -13px, 0) scale(1.14); }
}

@keyframes storyPulseLine {
  to { stroke-dashoffset: -200; }
}

@media (max-width: 1050px) {
  .story-hero-stage {
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  }

  .story-copy-card {
    margin-left: -72px;
  }

  .story-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .story-header-inner {
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0 10px;
    gap: 8px;
  }

  .story-top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .story-hero {
    padding-top: 32px;
  }

  .story-hero-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story-media-frame,
  .story-hero-video,
  .story-hero-image,
  .story-media-embed,
  .story-media-embed iframe,
  .story-media-fallback {
    min-height: 480px;
  }

  .story-copy-card {
    margin: -70px 18px 0;
  }

  .story-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .story-inner,
  .story-header-inner,
  .story-footer-inner,
  .story-section {
    width: min(100% - 24px, 1240px);
  }

  .story-wordmark-text {
    font-size: 0.82rem;
  }

  .story-top-nav .story-route-button {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .story-hero {
    padding-bottom: 62px;
  }

  .story-media-frame,
  .story-hero-video,
  .story-hero-image,
  .story-media-embed,
  .story-media-embed iframe,
  .story-media-fallback {
    min-height: 390px;
    border-radius: 22px;
  }

  .story-copy-card {
    margin: -44px 8px 0;
    padding: 27px 22px;
    border-radius: 20px;
  }

  .story-copy-card h1 {
    max-width: none;
    font-size: clamp(2.05rem, 11vw, 3.2rem);
  }

  .story-media-placeholder-label {
    width: calc(100% - 34px);
    padding: 17px;
  }

  .story-shared-main {
    border-radius: 28px 28px 0 0;
  }

  .story-section {
    padding-top: 58px;
  }

  .story-metric-grid {
    grid-template-columns: 1fr;
  }

  .story-card-head {
    flex-direction: column;
  }

  .story-shared-badge {
    align-self: flex-start;
  }

  .story-data-card {
    padding: 20px 14px;
    border-radius: 19px;
  }

  .story-info-box {
    grid-template-columns: 1fr;
  }

  .story-pager-inner {
    min-height: 150px;
    grid-template-columns: 1fr 1fr;
  }

  .story-pager-count {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .story-pager-prev,
  .story-pager-next {
    grid-row: 2;
  }

  .story-pager-button {
    font-size: 0.86rem;
  }

  .story-footer-inner {
    padding: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .epistat-story-shell,
  .story-pager,
  .story-route-button,
  .story-hero-cta,
  .story-primary-link,
  .story-secondary-link,
  .story-visual-bars span,
  .story-network-node,
  .story-visual-pulse polyline {
    animation: none !important;
    transition: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Standalone product page: Epistat Analysportal                              */
/* -------------------------------------------------------------------------- */

.product-page {
  color: #102a43;
  background: #f7fafc;
}

.product-page a,
.product-page button {
  -webkit-tap-highlight-color: transparent;
}

.product-hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 83% 13%, rgba(121, 210, 198, 0.22), transparent 30%),
    radial-gradient(circle at 8% 78%, rgba(107, 154, 198, 0.18), transparent 32%),
    linear-gradient(135deg, #071b31 0%, #0b2742 54%, #123b57 100%);
  isolation: isolate;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 100%);
}

.product-hero::after {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  right: -390px;
  top: -410px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.025),
    0 0 0 180px rgba(255, 255, 255, 0.018);
}

.product-hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.product-hero-inner {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  padding: 78px 0 64px;
}

.product-hero-copy {
  position: relative;
  z-index: 5;
}

.product-eyebrow,
.product-kicker {
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9de1d8;
}

.product-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.product-hero-copy h1 {
  max-width: 11.4ch;
  margin: 18px 0 22px;
  color: #fff;
  font-size: clamp(3.05rem, 5.6vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.product-hero-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  line-height: 1.62;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.product-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.product-button:hover,
.product-button:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
  outline: 3px solid rgba(121, 210, 198, 0.32);
  outline-offset: 3px;
}

.product-button-primary {
  color: #082139;
  background: #8ddbd1;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.product-button-primary:hover {
  color: #082139;
  background: #a1e5dc;
}

.product-button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(9px);
}

.product-button-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.product-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 760;
}

.product-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.product-proof-row .fa,
.product-proof-row .fas,
.product-proof-row .far {
  color: #8ddbd1;
}

.product-hero-visual {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.product-hero-video {
  width: 100%;
  min-height: 610px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 34px;
  box-shadow: 0 38px 95px rgba(0, 0, 0, 0.42);
}

.product-motion-stage {
  position: relative;
  min-height: 650px;
  perspective: 1500px;
}

.product-motion-orbit {
  position: absolute;
  border: 1px solid rgba(141, 219, 209, 0.22);
  border-radius: 50%;
  animation: productOrbit 18s linear infinite;
}

.product-motion-orbit::before,
.product-motion-orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9de1d8;
  box-shadow: 0 0 26px rgba(157, 225, 216, 0.95);
}

.product-motion-orbit::before {
  left: 12%;
  top: 11%;
}

.product-motion-orbit::after {
  right: 13%;
  bottom: 12%;
}

.orbit-one {
  width: 540px;
  height: 540px;
  right: 1%;
  top: 7%;
}

.orbit-two {
  width: 390px;
  height: 390px;
  left: 2%;
  bottom: 2%;
  animation-direction: reverse;
  animation-duration: 24s;
}

.product-motion-browser {
  position: absolute;
  z-index: 3;
  width: min(760px, 95%);
  right: 0;
  top: 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 25px;
  background: #f8fafc;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.45);
  transform: rotateY(-7deg) rotateX(2deg) rotateZ(0.6deg);
  transform-origin: center right;
  animation: productBrowserFloat 7s ease-in-out infinite alternate;
}

.product-motion-browserbar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid #d9e3ec;
  background: #eef3f7;
}

.product-motion-browserbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9aabba;
}

.product-motion-browserbar > span:first-child {
  background: #ce7e87;
}

.product-motion-browserbar > span:nth-child(2) {
  background: #d3aa58;
}

.product-motion-browserbar > span:nth-child(3) {
  background: #78a883;
}

.product-motion-address {
  min-width: 180px;
  margin-left: 12px;
  padding: 5px 12px;
  border: 1px solid #dce5ec;
  border-radius: 999px;
  color: #738395;
  background: #fff;
  font-size: 0.62rem;
}

.product-motion-dashboard {
  height: 485px;
  display: grid;
  grid-template-columns: 58px 1fr;
  background: #f4f7fa;
}

.product-motion-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding: 16px 0;
  background: #102f4d;
}

.product-motion-logo {
  width: 30px;
  height: 30px;
  margin-bottom: 9px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #102f4d;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.product-motion-sidebar > span {
  width: 23px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.product-motion-sidebar > span.is-active {
  width: 31px;
  background: #8ddbd1;
}

.product-motion-main {
  min-width: 0;
  padding: 19px;
}

.product-motion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #173753;
}

.product-motion-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-motion-head small {
  color: #6b8093;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.product-motion-head b {
  font-size: 0.85rem;
}

.product-motion-filter {
  padding: 7px 10px;
  border: 1px solid #d8e1e9;
  border-radius: 8px;
  color: #4d6478;
  background: #fff;
  font-size: 0.65rem;
}

.product-motion-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.product-motion-kpi {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e0e7ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.04);
}

.product-motion-kpi > span {
  width: 22px;
  height: 4px;
  display: block;
  margin-bottom: 9px;
  border-radius: 99px;
  background: #4b8aa4;
}

.product-motion-kpi.kpi-2 > span {
  background: #73a580;
}

.product-motion-kpi.kpi-3 > span {
  background: #b38728;
}

.product-motion-kpi.kpi-4 > span {
  background: #a65a70;
}

.product-motion-kpi b,
.product-motion-kpi small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-motion-kpi b {
  color: #173753;
  font-size: 0.93rem;
}

.product-motion-kpi small {
  margin-top: 3px;
  color: #7b8c9d;
  font-size: 0.55rem;
}

.product-motion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(165px, 0.55fr);
  gap: 11px;
  margin-top: 11px;
}

.product-motion-chart-card,
.product-motion-map-card {
  min-height: 288px;
  padding: 14px;
  border: 1px solid #e0e7ee;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.product-motion-card-title {
  color: #526b80;
  font-size: 0.62rem;
  font-weight: 850;
}

.product-motion-chart-card svg {
  width: 100%;
  height: 220px;
  margin-top: 14px;
  overflow: visible;
}

.motion-grid-line {
  stroke: #e6edf2;
  stroke-width: 1;
}

.motion-area {
  fill: rgba(44, 122, 123, 0.13);
}

.motion-line {
  fill: none;
  stroke: #2c7a7b;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: productDrawLine 5.5s ease-in-out infinite;
}

.product-motion-map {
  position: relative;
  width: 130px;
  height: 222px;
  margin: 16px auto 0;
  border-radius: 60% 42% 52% 38% / 28% 36% 64% 72%;
  background:
    radial-gradient(circle at 48% 18%, #d4e8e9 0 18%, transparent 19%),
    radial-gradient(circle at 48% 40%, #c8e0e1 0 35%, transparent 36%),
    radial-gradient(circle at 45% 72%, #b9d7d9 0 34%, transparent 35%),
    linear-gradient(180deg, #dceced, #aacfd2);
  transform: rotate(3deg);
  box-shadow: inset 0 0 0 1px rgba(24, 73, 91, 0.12);
}

.product-motion-map::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 55px;
  right: 3px;
  bottom: 6px;
  border-radius: 50%;
  background: #d6e7e8;
}

.product-motion-map-dot {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  z-index: 2;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2c7a7b;
  box-shadow: 0 0 0 4px rgba(44, 122, 123, 0.12);
  animation: productMapPulse 2.5s ease-in-out infinite;
  animation-delay: var(--delay);
}

.product-motion-map-dot.is-hot {
  background: #a65a70;
  box-shadow: 0 0 0 5px rgba(166, 90, 112, 0.18);
}

.product-motion-insight {
  position: absolute;
  z-index: 5;
  width: 330px;
  left: -10px;
  bottom: 38px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 18px;
  color: #173753;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(15px);
  animation: productInsightFloat 5s ease-in-out infinite alternate;
}

.product-motion-insight-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #143b64;
  background: #ddf6f2;
}

.product-motion-insight small,
.product-motion-insight b,
.product-motion-insight p {
  display: block;
}

.product-motion-insight small {
  color: #718397;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.product-motion-insight b {
  margin-top: 4px;
  font-size: 0.78rem;
}

.product-motion-insight p {
  margin: 4px 0 0;
  color: #6b7d8e;
  font-size: 0.65rem;
  line-height: 1.45;
}

.product-motion-phone {
  position: absolute;
  z-index: 6;
  width: 155px;
  height: 306px;
  right: -13px;
  bottom: 12px;
  padding: 30px 14px 14px;
  border: 5px solid #071b31;
  border-radius: 28px;
  color: #173753;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.42);
  transform: rotate(4deg);
  animation: productPhoneFloat 6.2s ease-in-out infinite alternate;
}

.product-motion-phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 48px;
  height: 9px;
  border-radius: 99px;
  background: #071b31;
  transform: translateX(-50%);
}

.product-motion-phone > small,
.product-motion-phone > b,
.product-motion-phone > span {
  display: block;
}

.product-motion-phone > small {
  color: #74869a;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.product-motion-phone > b {
  margin-top: 38px;
  color: #143b64;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.product-motion-phone > span {
  margin-top: 4px;
  color: #7a8c9d;
  font-size: 0.55rem;
}

.product-motion-phone-bars {
  height: 104px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 30px;
  padding: 8px;
  border-radius: 11px;
  background: #f2f6f8;
}

.product-motion-phone-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #2c7a7b, #82c6bd);
  animation: productPhoneBar 3s ease-in-out infinite alternate;
}

.product-motion-phone-bars i:nth-child(2n) {
  animation-delay: 0.2s;
}

.product-hero-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.product-hero-strip > div {
  min-height: 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 22px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.product-hero-strip > div:last-child {
  border-right: 0;
}

.product-hero-strip b {
  color: #fff;
  font-size: 0.86rem;
}

.product-hero-strip span {
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.76rem;
}

.product-section {
  position: relative;
  padding: clamp(82px, 10vw, 136px) 0;
}

.product-intro-section {
  background: #f7fafc;
}

.product-section-head {
  max-width: 1080px;
  margin-bottom: 38px;
}

.product-section-head-wide {
  max-width: 1180px;
}

.product-kicker {
  color: #2c7a7b;
}

.product-section-head h2,
.product-showcase-copy > h2,
.product-device-copy h2,
.product-contact-card h2 {
  margin: 12px 0 18px;
  color: #102a43;
  font-size: clamp(2.35rem, 4.7vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-wrap: wrap;
}

.product-section-head p,
.product-showcase-copy > p,
.product-device-copy > p {
  margin: 0;
  max-width: 1000px;
  color: #637589;
  font-size: 1.08rem;
  line-height: 1.7;
}

.product-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-value-card {
  min-height: 275px;
  padding: 28px;
  border: 1px solid #dce6ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-value-card:hover {
  transform: translateY(-6px);
  border-color: #a8d6d2;
  box-shadow: 0 25px 48px rgba(15, 23, 42, 0.10);
}

.product-value-icon,
.product-use-icon,
.product-workflow-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #143b64;
  background: #ddf6f2;
  font-size: 1.15rem;
}

.product-value-card h3,
.product-use-grid h3,
.product-workflow-grid h3 {
  margin: 30px 0 10px;
  color: #102a43;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.product-value-card p,
.product-use-grid p,
.product-workflow-grid p {
  margin: 0;
  color: #66788b;
  line-height: 1.66;
}

.product-showcase-section {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 98% 15%, rgba(121, 210, 198, 0.13), transparent 33%),
    linear-gradient(135deg, #0b2239, #102f4c 63%, #173f58);
}

.product-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.product-showcase-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.product-showcase-copy {
  position: sticky;
  top: 120px;
}

.product-showcase-copy .product-kicker {
  color: #8ddbd1;
}

.product-showcase-copy > h2 {
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2.35rem, 4vw, 4.4rem);
}

.product-showcase-copy > p {
  color: rgba(255, 255, 255, 0.67);
}

.product-screen-tabs {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.product-screen-tab {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.64);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.product-screen-tab:hover,
.product-screen-tab:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transform: translateX(3px);
}

.product-screen-tab.is-active {
  color: #fff;
  border-color: rgba(141, 219, 209, 0.36);
  background: rgba(141, 219, 209, 0.11);
}

.product-screen-tab span {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ddbd1;
  font-size: 0.68rem;
  font-weight: 850;
}

.product-screen-tab b {
  font-size: 0.91rem;
}

.product-screen-copy-stack {
  position: relative;
  min-height: 190px;
  margin-top: 30px;
}

.product-screen-copy {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}

.product-screen-copy.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.product-screen-copy small {
  color: #8ddbd1;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.product-screen-copy h3 {
  margin: 9px 0 10px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.product-screen-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.62;
}

.product-showcase-visual {
  position: relative;
  min-width: 0;
  padding: 20px 0 42px;
}

.product-browser-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.42);
  transform: perspective(1600px) rotateY(-2.5deg) rotateX(1.2deg);
  transform-origin: center left;
}

.product-browser-bar {
  height: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 17px;
  border-bottom: 1px solid #dce5ec;
  color: #718296;
  background: #edf2f6;
}

.product-browser-dots {
  display: flex;
  gap: 6px;
}

.product-browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa9b8;
}

.product-browser-dots i:first-child {
  background: #ce7e87;
}

.product-browser-dots i:nth-child(2) {
  background: #d3aa58;
}

.product-browser-dots i:nth-child(3) {
  background: #78a883;
}

.product-browser-url {
  max-width: 440px;
  justify-self: center;
  padding: 7px 15px;
  border: 1px solid #dbe4eb;
  border-radius: 999px;
  background: #fff;
  font-size: 0.72rem;
  text-align: center;
}

.product-browser-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.67rem;
  font-weight: 800;
}

.product-browser-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5e8b61;
  box-shadow: 0 0 0 4px rgba(94, 139, 97, 0.13);
}

.product-screen-panels {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaf0f4;
}

.product-screen-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px) scale(0.985);
  transition: opacity 360ms ease, transform 360ms ease, visibility 360ms ease;
}

.product-screen-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.product-screen-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.product-screen-panel figcaption {
  position: absolute;
  left: 18px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: 999px;
  color: #fff;
  background: rgba(11, 34, 57, 0.74);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-screen-panel figcaption span {
  color: #a3e3db;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-floating-note {
  position: absolute;
  right: -18px;
  bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 27, 49, 0.84);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(11px);
  font-size: 0.77rem;
  font-weight: 800;
  animation: productInsightFloat 4s ease-in-out infinite alternate;
}

.product-demo-section {
  background: #f2f7f9;
}

.product-live-card {
  overflow: hidden;
  border: 1px solid #d8e4ec;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.product-demo-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #e2eaf0;
  background: #fbfdfe;
}

.product-demo-controls .form-group {
  margin-bottom: 0;
}

.product-demo-controls > .form-group:first-child {
  flex: 1 1 auto;
}

.product-demo-controls > .form-group:last-child {
  flex: 0 0 270px;
}

.product-demo-controls label.control-label,
.product-demo-controls .control-label {
  margin-bottom: 8px;
  color: #4d6275;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-demo-controls .shiny-options-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-demo-controls .radio-inline,
.product-demo-controls .form-check-inline {
  margin: 0;
  padding: 0;
}

.product-demo-controls .radio-inline input,
.product-demo-controls .form-check-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-demo-controls .radio-inline span,
.product-demo-controls .form-check-label {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid #d6e1e9;
  border-radius: 999px;
  color: #53687b;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 780;
  cursor: pointer;
}

.product-demo-controls .radio-inline:has(input:checked) span,
.product-demo-controls .form-check-inline:has(input:checked) .form-check-label {
  color: #fff;
  border-color: #143b64;
  background: #143b64;
}

.product-demo-controls .selectize-control,
.product-demo-controls .form-control {
  margin-bottom: 0;
}

.product-demo-controls .selectize-input,
.product-demo-controls select.form-control,
.product-demo-controls .form-select {
  min-height: 43px;
  border-color: #d6e1e9;
  border-radius: 11px;
  box-shadow: none;
}

.product-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  min-height: 530px;
}

.product-live-plot {
  min-width: 0;
  padding: 24px 18px 10px;
}

.product-live-insight {
  padding: 36px;
  border-left: 1px solid #e0e8ee;
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(141, 219, 209, 0.22), transparent 29%),
    linear-gradient(145deg, #102f4d, #173f58);
}

.product-live-insight-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 27px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #102f4d;
  background: #8ddbd1;
  font-size: 1.2rem;
}

.product-live-insight .product-kicker {
  color: #8ddbd1;
}

.product-live-insight h3 {
  margin: 10px 0 13px;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.product-live-insight p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.64;
}

.product-insight-number {
  margin-top: 27px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.product-insight-number b,
.product-insight-number span {
  display: block;
}

.product-insight-number b {
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.product-insight-number span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
}

.product-insight-forecast {
  margin-top: 18px;
  font-size: 0.84rem;
}

.product-live-tip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  margin-top: 30px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.74rem;
  line-height: 1.48;
}

.product-workflow-section {
  background: #fff;
}

.product-workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
}

.product-workflow-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 49px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8d4d2 12%, #b8d4d2 88%, transparent);
}

.product-workflow-grid article {
  position: relative;
  z-index: 1;
  padding: 0 25px 15px;
  text-align: center;
}

.product-workflow-grid article > span {
  width: 34px;
  height: 34px;
  margin: 0 auto 13px;
  border: 1px solid #c9dcd9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c7a7b;
  background: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

.product-workflow-icon {
  margin: 0 auto;
  box-shadow: 0 0 0 8px #fff;
}

.product-workflow-grid h3 {
  margin-top: 24px;
}

.product-device-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 14%, rgba(44, 122, 123, 0.12), transparent 28%),
    #eaf3f4;
}

.product-device-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.product-device-copy h2 {
  max-width: 10.5ch;
}

.product-device-copy ul {
  display: grid;
  gap: 13px;
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.product-device-copy li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: #536a7e;
  line-height: 1.5;
}

.product-device-copy li .fa,
.product-device-copy li .fas {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c7a7b;
  background: #d4ece8;
  font-size: 0.67rem;
}

.product-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #143b64;
  font-weight: 850;
  text-decoration: none;
}

.product-text-link:hover {
  color: #2c7a7b;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.product-device-stack {
  position: relative;
  min-height: 620px;
}

.product-device-desktop {
  position: absolute;
  width: min(760px, 96%);
  right: 0;
  top: 20px;
  overflow: hidden;
  border: 7px solid #0b2239;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 34px 85px rgba(15, 23, 42, 0.23);
  transform: rotate(1.6deg);
}

.product-device-desktop-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #0b2239;
}

.product-device-desktop-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
}

.product-device-desktop img {
  width: 100%;
  display: block;
}

.product-device-phone {
  position: absolute;
  z-index: 3;
  width: 214px;
  left: 2%;
  bottom: 0;
  overflow: hidden;
  border: 7px solid #071b31;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 29px 70px rgba(15, 23, 42, 0.32);
  transform: rotate(-4deg);
}

.product-device-phone-notch {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 10px;
  width: 62px;
  height: 13px;
  border-radius: 99px;
  background: #071b31;
  transform: translateX(-50%);
}

.product-device-phone img {
  width: 100%;
  display: block;
}

.product-use-section {
  background: #f7fafc;
}

.product-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.product-use-grid article {
  min-height: 220px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  align-content: start;
  padding: 28px;
  border: 1px solid #dce6ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.product-use-icon {
  grid-row: 1 / span 2;
}

.product-use-grid h3 {
  margin: 4px 0 8px;
}

.product-contact-section {
  padding: 0 0 clamp(82px, 10vw, 130px);
  background: #f7fafc;
}

.product-contact-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 52px;
  padding: clamp(38px, 6vw, 78px);
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(141, 219, 209, 0.26), transparent 27%),
    radial-gradient(circle at 12% 100%, rgba(77, 108, 145, 0.32), transparent 32%),
    linear-gradient(135deg, #071b31, #123b57);
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.22);
}

.product-contact-card::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -230px;
  top: -230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.02), 0 0 0 140px rgba(255, 255, 255, 0.015);
}

.product-contact-card > * {
  position: relative;
  z-index: 2;
}

.product-contact-card .product-kicker {
  color: #8ddbd1;
}

.product-contact-card h2 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.4rem, 4.8vw, 5.1rem);
}

.product-contact-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: 1.05rem;
  line-height: 1.66;
}

.product-contact-actions {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
  min-width: 245px;
}

.product-button-light {
  color: #0a2741;
  background: #fff;
}

.product-button-light:hover {
  color: #0a2741;
  background: #eaf9f7;
}

.product-contact-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.product-contact-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.50);
  background: rgba(255, 255, 255, 0.07);
}

@keyframes productOrbit {
  to { transform: rotate(360deg); }
}

@keyframes productBrowserFloat {
  from { transform: rotateY(-7deg) rotateX(2deg) rotateZ(0.6deg) translate3d(0, 0, 0); }
  to { transform: rotateY(-5deg) rotateX(1deg) rotateZ(0.2deg) translate3d(-4px, -13px, 0); }
}

@keyframes productInsightFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

@keyframes productPhoneFloat {
  from { transform: rotate(4deg) translateY(0); }
  to { transform: rotate(2.5deg) translateY(-12px); }
}

@keyframes productDrawLine {
  0% { stroke-dashoffset: 900; opacity: 0.35; }
  35%, 78% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -900; opacity: 0.3; }
}

@keyframes productMapPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.70; }
  50% { transform: scale(1.35); opacity: 1; }
}

@keyframes productPhoneBar {
  from { transform: scaleY(0.78); transform-origin: bottom; }
  to { transform: scaleY(1.08); transform-origin: bottom; }
}

@media (max-width: 1180px) {
  .product-hero-inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
    gap: 38px;
  }

  .product-motion-phone {
    right: 0;
  }

  .product-value-grid,
  .product-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-workflow-grid {
    gap: 36px 0;
  }

  .product-workflow-grid::before {
    display: none;
  }

  .product-device-stack {
    min-height: 560px;
  }
}

@media (max-width: 990px) {
  .product-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 66px;
  }

  .product-hero-copy {
    max-width: 780px;
  }

  .product-hero-copy h1 {
    max-width: 11ch;
  }

  .product-hero-visual {
    width: min(820px, 100%);
    margin-inline: auto;
  }

  .product-motion-stage {
    min-height: 630px;
  }

  .product-hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero-strip > div:nth-child(2) {
    border-right: 0;
  }

  .product-hero-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .product-showcase-layout,
  .product-device-layout {
    grid-template-columns: 1fr;
  }

  .product-showcase-copy {
    position: relative;
    top: auto;
  }

  .product-showcase-copy > h2,
  .product-device-copy h2 {
    max-width: 14ch;
  }

  .product-screen-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-screen-copy-stack {
    min-height: 155px;
  }

  .product-live-grid {
    grid-template-columns: 1fr;
  }

  .product-live-insight {
    border-top: 1px solid #e0e8ee;
    border-left: 0;
  }

  .product-device-stack {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .product-contact-card {
    grid-template-columns: 1fr;
  }

  .product-contact-actions {
    justify-self: start;
    width: min(360px, 100%);
  }
}

@media (max-width: 720px) {
  .product-hero-inner {
    padding: 50px 0 44px;
  }

  .product-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.75rem, 14vw, 4.7rem);
  }

  .product-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-button {
    width: 100%;
  }

  .product-proof-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-motion-stage {
    min-height: 465px;
  }

  .product-motion-browser {
    width: 100%;
    top: 28px;
    transform: none;
    animation-name: productBrowserFloatMobile;
  }

  .product-motion-dashboard {
    height: 380px;
    grid-template-columns: 43px 1fr;
  }

  .product-motion-sidebar {
    gap: 13px;
  }

  .product-motion-main {
    padding: 12px;
  }

  .product-motion-head b {
    font-size: 0.68rem;
  }

  .product-motion-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-motion-kpi:nth-child(n + 3) {
    display: none;
  }

  .product-motion-grid {
    grid-template-columns: 1fr;
  }

  .product-motion-map-card {
    display: none;
  }

  .product-motion-chart-card {
    min-height: 205px;
  }

  .product-motion-chart-card svg {
    height: 150px;
  }

  .product-motion-phone {
    width: 118px;
    height: 226px;
    right: -1px;
    bottom: -5px;
    padding: 25px 10px 10px;
  }

  .product-motion-phone > b {
    margin-top: 21px;
    font-size: 1.15rem;
  }

  .product-motion-phone-bars {
    height: 75px;
    margin-top: 18px;
    gap: 3px;
    padding: 6px;
  }

  .product-motion-insight {
    width: min(285px, 76%);
    left: 7px;
    bottom: 4px;
    padding: 12px;
  }

  .product-motion-insight-icon {
    width: 34px;
    height: 34px;
  }

  .product-motion-insight p {
    display: none;
  }

  .product-motion-orbit {
    display: none;
  }

  .product-hero-strip {
    grid-template-columns: 1fr;
  }

  .product-hero-strip > div {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .product-hero-strip > div:last-child {
    border-bottom: 0;
  }

  .product-section {
    padding: 78px 0;
  }

  .product-section-head h2,
  .product-showcase-copy > h2,
  .product-device-copy h2,
  .product-contact-card h2 {
    font-size: clamp(2.25rem, 11vw, 3.7rem);
  }

  .product-value-grid,
  .product-workflow-grid,
  .product-use-grid {
    grid-template-columns: 1fr;
  }

  .product-value-card {
    min-height: 0;
  }

  .product-screen-tabs {
    grid-template-columns: 1fr;
  }

  .product-screen-copy-stack {
    min-height: 215px;
  }

  .product-showcase-visual {
    padding-bottom: 24px;
  }

  .product-browser-frame {
    border-radius: 18px;
    transform: none;
  }

  .product-browser-bar {
    grid-template-columns: auto 1fr;
    height: 42px;
    padding-inline: 11px;
  }

  .product-browser-status {
    display: none;
  }

  .product-browser-url {
    justify-self: stretch;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-floating-note {
    right: 4px;
    bottom: 2px;
    padding: 10px 12px;
  }

  .product-demo-controls {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .product-demo-controls > .form-group:last-child {
    flex-basis: auto;
    width: 100%;
  }

  .product-demo-controls .shiny-options-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-demo-controls .radio-inline span,
  .product-demo-controls .form-check-label {
    width: 100%;
    justify-content: center;
  }

  .product-live-plot {
    padding: 12px 3px 0;
  }

  .product-live-insight {
    padding: 29px 24px;
  }

  .product-workflow-grid article {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    text-align: left;
    padding: 0;
  }

  .product-workflow-grid article > span,
  .product-workflow-icon {
    margin: 0;
  }

  .product-workflow-grid h3 {
    grid-column: 3;
    margin: 5px 0 4px;
  }

  .product-workflow-grid p {
    grid-column: 3;
  }

  .product-device-stack {
    min-height: 430px;
  }

  .product-device-desktop {
    width: 96%;
    border-width: 5px;
    border-radius: 18px;
  }

  .product-device-phone {
    width: 142px;
    border-width: 5px;
    border-radius: 26px;
  }

  .product-use-grid article {
    min-height: 0;
    grid-template-columns: auto 1fr;
    padding: 23px;
  }

  .product-contact-card {
    width: calc(100% - 24px);
    min-height: 0;
    padding: 34px 24px;
    border-radius: 26px;
  }
}

@keyframes productBrowserFloatMobile {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@media (max-width: 460px) {
  .product-motion-stage {
    min-height: 405px;
  }

  .product-motion-browserbar {
    height: 30px;
  }

  .product-motion-address {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-motion-dashboard {
    height: 335px;
  }

  .product-motion-chart-card {
    min-height: 175px;
  }

  .product-motion-chart-card svg {
    height: 124px;
  }

  .product-motion-phone {
    display: none;
  }

  .product-motion-insight {
    width: calc(100% - 22px);
    left: 11px;
  }

  .product-device-stack {
    min-height: 345px;
  }

  .product-device-phone {
    width: 112px;
  }

  .product-screen-panel figcaption {
    left: 9px;
    bottom: 9px;
    padding: 6px 9px;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-motion-orbit,
  .product-motion-browser,
  .product-motion-insight,
  .product-motion-phone,
  .motion-line,
  .product-motion-map-dot,
  .product-motion-phone-bars i,
  .product-floating-note {
    animation: none !important;
  }

  .product-screen-copy,
  .product-screen-panel,
  .product-button,
  .product-value-card,
  .product-screen-tab {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Editorial v2: page-specific examples, services, team and language switch
   -------------------------------------------------------------------------- */

.story-top-nav .story-route-button.story-nav-product {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 5px;
  padding-inline: 15px;
  color: #ffffff;
  background: #2c7a7b;
  box-shadow: 0 8px 20px rgba(44, 122, 123, 0.22);
}

.story-top-nav .story-route-button.story-nav-product:hover,
.story-top-nav .story-route-button.story-nav-product:focus-visible {
  color: #ffffff;
  background: #225f60;
}

.story-top-nav .story-route-button.story-nav-product.is-active {
  color: #ffffff;
  background: #102a43;
  box-shadow: 0 9px 24px rgba(16, 42, 67, 0.24);
}

.story-page-main {
  padding-bottom: 18px;
}

.story-start-section,
.story-services-section,
.story-about-section {
  padding-top: 88px;
}

.story-feature-grid,
.story-service-grid,
.story-about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.story-feature-grid {
  margin-top: 8px;
}

.story-feature-card {
  --feature-accent: #1f6177;
  --feature-soft: #e9f5f5;
  position: relative;
  min-height: 292px;
  padding: 32px 28px 30px;
  border: 1px solid #dce5ee;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  color: #102a43;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.96));
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.075);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.story-feature-card:nth-child(2) {
  --feature-accent: #143b64;
  --feature-soft: #eaf0f7;
}

.story-feature-card:nth-child(3) {
  --feature-accent: #a36f13;
  --feature-soft: #fff5dc;
}

.story-feature-card:nth-child(4) {
  --feature-accent: #6f4f8f;
  --feature-soft: #f2ecf8;
}

.story-feature-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--feature-accent);
}

.story-feature-card::after {
  content: none;
}

.story-feature-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--feature-accent) 30%, #dce5ee);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.story-feature-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--feature-accent);
  background: var(--feature-soft);
  font-size: 1.18rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.story-feature-card h3,
.story-process-step h3,
.story-transformation-card h2,
.story-example-insight h3,
.story-about-contact-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.story-feature-card h3 {
  max-width: 240px;
  font-size: 1.38rem;
}

.story-feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5d6c7f;
  line-height: 1.67;
}

.story-feature-number {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 22px;
  min-width: 38px;
  height: 27px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--feature-accent) 18%, #dce5ee);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--feature-accent);
  background: var(--feature-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.story-positioning-section {
  padding-top: 40px;
}

.story-positioning-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: center;
  padding: clamp(32px, 6vw, 66px);
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 22%, rgba(121, 210, 198, 0.25), transparent 24%),
    linear-gradient(135deg, #102a43 0%, #143b64 58%, #1f6177 100%);
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.16);
}

.story-positioning-band .story-section-kicker {
  color: #8ee4d8;
}

.story-positioning-band h2 {
  margin: 10px 0 14px;
  max-width: 770px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.story-positioning-band p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.65;
}

.story-positioning-button,
.story-about-contact-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 19px;
  border-radius: 999px;
  color: #102a43;
  background: #ffffff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.14);
}

.story-positioning-button:hover,
.story-positioning-button:focus-visible,
.story-about-contact-button:hover,
.story-about-contact-button:focus-visible {
  color: #102a43;
  transform: translateY(-2px);
  outline: none;
}

.story-example-section {
  padding-top: 88px;
}

.story-example-section .story-metric-grid {
  margin-bottom: 24px;
}

.story-example-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(285px, 0.63fr);
  gap: 24px;
  align-items: stretch;
}

.story-example-chart-card {
  min-width: 0;
}

.story-example-insight {
  position: relative;
  min-height: 100%;
  padding: 34px;
  border: 1px solid #cfe2e7;
  border-radius: 24px;
  color: #102a43;
  background:
    radial-gradient(circle at 90% 8%, rgba(44, 122, 123, 0.13), transparent 28%),
    #edf8f8;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.story-example-insight-rose {
  border-color: #ead4d9;
  background:
    radial-gradient(circle at 90% 8%, rgba(166, 90, 112, 0.14), transparent 28%),
    #fff5f6;
}

.story-example-insight-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--story-accent);
  background: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.story-example-insight h3 {
  margin-top: 11px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.story-example-insight p {
  color: #536578;
  line-height: 1.67;
}

.story-example-note {
  margin-top: 30px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  font-size: 0.84rem;
}

.story-process-section {
  padding-top: 80px;
}

.story-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.story-process-step {
  min-height: 250px;
  padding: 25px;
  border-radius: 22px;
  color: #ffffff;
  background: #102a43;
}

.story-process-step:nth-child(even) {
  background: #1f6177;
}

.story-process-step > span {
  display: block;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.story-process-step h3 {
  font-size: 1.25rem;
}

.story-process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.58;
}

.story-transformation-section {
  padding-top: 40px;
}

.story-transformation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-transformation-card {
  min-height: 330px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 28px;
}

.story-transformation-before {
  border: 1px solid #d8e1ea;
  background: #eef2f6;
}

.story-transformation-after {
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(121, 210, 198, 0.24), transparent 27%),
    #143b64;
}

.story-transformation-card h2 {
  margin-top: 10px;
  max-width: 510px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.story-transformation-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.story-transformation-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #58677a;
}

.story-transformation-after .story-section-kicker,
.story-transformation-after li {
  color: rgba(255, 255, 255, 0.78);
}

.story-transformation-after li .fa,
.story-transformation-after li .fas {
  margin-top: 3px;
  color: #79d2c6;
}

.story-manifesto-section {
  padding-top: 42px;
}

.story-manifesto-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(201, 193, 218, 0.34), transparent 27%),
    #2c2340;
}

.story-manifesto-mark {
  width: fit-content;
  min-width: 190px;
  height: 88px;
  padding: 16px 22px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.story-manifesto-mark .story-logo-image {
  max-width: 168px;
  max-height: 46px;
  mix-blend-mode: normal;
}

.story-manifesto-card h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.story-manifesto-card p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  line-height: 1.65;
}

.story-about-contact-section {
  padding-top: 40px;
}

.story-about-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid #ded8e8;
  border-radius: 28px;
  background: #f6f3fb;
}

.story-about-contact-card h2 {
  margin-top: 9px;
  max-width: 750px;
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
}

.story-about-contact-card p {
  max-width: 720px;
  margin: 0;
  color: #665f73;
  line-height: 1.65;
}

.story-about-contact-button {
  color: #ffffff;
  background: #5b4778;
}

.story-about-contact-button:hover,
.story-about-contact-button:focus-visible {
  color: #ffffff;
}

.story-trust-wrap {
  color: #102a43;
  background: #f8fafc;
}

.story-trust-section {
  padding-top: 58px;
}

.story-pager-empty {
  min-height: 1px;
}

.story-footer-inner-expanded {
  min-height: 116px;
  justify-content: space-between;
  gap: 28px;
}

.story-footer-brand-group,
.story-footer-actions,
.story-language-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.story-footer-brand-group {
  gap: 14px;
}

.story-footer-actions {
  gap: 22px;
}

.story-language-switch {
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.story-language-label {
  padding: 0 7px 0 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-language-button {
  appearance: none;
  border: 0;
  padding: 8px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font: inherit;
  font-size: 0.81rem;
  font-weight: 800;
  cursor: pointer;
}

.story-language-button:hover,
.story-language-button:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.story-language-button.is-active {
  color: #102a43;
  background: #ffffff;
}


@media (prefers-reduced-motion: reduce) {
  .story-feature-card {
    transition: none !important;
  }

  .story-feature-card:hover {
    transform: none;
  }
}

@media (max-width: 1120px) {
  .story-feature-grid,
  .story-service-grid,
  .story-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-example-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-example-insight {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .story-positioning-band,
  .story-about-contact-card {
    grid-template-columns: 1fr;
  }

  .story-positioning-button,
  .story-about-contact-button {
    justify-self: start;
  }

  .story-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-transformation-grid {
    grid-template-columns: 1fr;
  }

  .story-footer-inner-expanded {
    justify-content: center;
    text-align: center;
  }

  .story-footer-brand-group,
  .story-footer-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .story-top-nav .story-route-button.story-nav-product {
    margin-left: 0;
  }

  .story-feature-grid,
  .story-service-grid,
  .story-about-grid,
  .story-process-grid {
    grid-template-columns: 1fr;
  }

  .story-feature-card,
  .story-process-step {
    min-height: 0;
  }

  .story-positioning-band,
  .story-example-insight,
  .story-manifesto-card,
  .story-about-contact-card {
    padding: 27px;
    border-radius: 23px;
  }

  .story-manifesto-card {
    grid-template-columns: 1fr;
  }

  .story-manifesto-mark {
    width: 64px;
    height: 64px;
    font-size: 1.45rem;
  }

  .story-example-section .story-metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-example-section .story-metric-tile {
    min-height: 150px;
    padding: 18px;
  }

  .story-card-head {
    display: block;
  }

  .story-card-head .story-shared-badge {
    display: inline-flex;
    margin-top: 13px;
  }

  .story-language-label {
    display: none;
  }

  .story-footer-actions {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 430px) {
  .story-example-section .story-metric-grid {
    grid-template-columns: 1fr;
  }
}
