:root {
  --navy: #000028;
  --navy-deep: #00001a;
  --navy-mid: #0a0a38;
  --color-text-black: #111;
  --color-text-white: #fff;
  --color-primary: #000028;
  --color-primary-hover: #0a0a38;
  --color-bg-dark: #000028;
  --color-muted: #5c5c5c;
  --color-line: rgba(0, 0, 40, 0.1);
  --color-soft: #f4f4f4;
  --header-h: 4.75rem;
  --container: 75rem;
  --fs-h1: clamp(2.25rem, 1.4rem + 3.2vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2vw, 3rem);
  --fs-subtitle: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  --fs-base: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --font: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--color-text-black);
  background: var(--color-text-white);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Buttons (v1 navy / white) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.25s ease;
}

/* On dark surfaces: solid white */
.btn-primary {
  background: var(--color-text-white);
  color: var(--navy);
  border-color: var(--color-text-white);
}

.btn-primary:hover {
  background: #e8e8ef;
  border-color: #e8e8ef;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 40, 0.18);
}

/* On light surfaces: solid navy */
.btn-navy {
  background: var(--navy);
  color: var(--color-text-white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-text-white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  padding: 12px 24px;
  align-self: flex-start;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 40, 0.16);
}

.btn-dark {
  color: var(--color-text-black);
  border-color: var(--color-text-black);
}

.btn-light {
  color: var(--color-text-white);
  border-color: var(--color-text-white);
}

.btn-light:hover {
  background: var(--color-text-white);
  color: var(--navy);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-icon {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-icon {
  transform: translate(2px, -2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 40, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { position: relative; display: inline-flex; }

.brand-img {
  height: 3.5rem;
  width: auto;
}

.brand-img--light {
  position: absolute;
  inset: 0;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.brand-img--dark {
  opacity: 0;
}

.site-nav {
  margin-left: auto;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  height: 100%;
}

.nav-list > li {
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.85rem;
  height: 100%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active { color: var(--color-text-white) !important; }

.nav-link.is-active {
  box-shadow: inset 0 -2px 0 #fff;
}

.nav-caret {
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.has-sub:hover > .nav-link .nav-caret,
.has-sub:focus-within > .nav-link .nav-caret,
.has-sub.is-open > .nav-link .nav-caret {
  opacity: 1;
  transform: rotate(180deg);
}

.has-sub { position: relative; }

.sub-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 16rem;
  padding: 0.5rem;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 40, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--color-text-black);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.sub-menu a:hover,
.sub-menu a.is-active {
  background: var(--color-soft);
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  font-weight: 500;
}

.lang-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  margin-right: 0.1rem;
}

.lang-switch a,
.util-link {
  color: rgba(255, 255, 255, 0.85);
}

.lang-switch .is-active,
.lang-switch a:hover,
.util-link:hover {
  color: var(--color-text-white);
}

.util-link {
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--color-text-white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  padding-top: var(--header-h);
  overflow: hidden;
  overflow-anchor: none;
  background: var(--navy);
  color: var(--color-text-white);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
  transform: scale(1.04);
  transition: none;
}

.hero-slide.is-active .hero-media img {
  transform: scale(1);
  transition: transform 7s linear;
}

.hero.is-paused .hero-slide.is-active .hero-media img {
  transition: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 40, 0.62) 0%, rgba(0, 0, 40, 0.42) 45%, rgba(0, 0, 40, 0.18) 100%),
    linear-gradient(to top, rgba(0, 0, 40, 0.4), transparent 50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 1200px;
  height: 100%;
  padding: var(--header-h) 0 3.5rem;
  box-sizing: border-box;
}

.hero-copy {
  max-width: 1200px;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease) 0.12s, transform 0.55s var(--ease) 0.12s;
}

.hero-slide.is-active .hero-copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-brand {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  max-width: 28ch;
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.65rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text-white);
}

.hero-lead {
  max-width: 48rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero--orbit .hero-orbit-viz {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  height: 100%;
  touch-action: pan-y;
}

.hero--orbit .hero-orbit-mask {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 40, 0.92) 0%, rgba(0, 0, 40, 0.66) 28%, rgba(0, 0, 40, 0.32) 52%, rgba(0, 0, 40, 0.16) 100%),
    linear-gradient(to top, rgba(0, 0, 40, 0.5), transparent 62%);
}

.hero--orbit .hero-orbit-bio {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.15;
  background:
    radial-gradient(ellipse 55% 48% at 18% 22%, rgba(97, 197, 146, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 44% at 86% 78%, rgba(62, 198, 201, 0.14), transparent 72%),
    radial-gradient(ellipse 42% 36% at 78% 16%, rgba(240, 179, 119, 0.08), transparent 70%);
}

.hero--orbit .hero-orbit-bio-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero--orbit .hero-bio-vesicle {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroBioDrift 22s ease-in-out infinite;
}

.hero--orbit .hero-bio-vesicle--b { animation-duration: 26s; animation-delay: -4s; }
.hero--orbit .hero-bio-vesicle--c { animation-duration: 28s; animation-delay: -8s; }
.hero--orbit .hero-bio-vesicle--d { animation-duration: 24s; animation-delay: -2s; }
.hero--orbit .hero-bio-vesicle--e { animation-duration: 18s; animation-delay: -6s; }
.hero--orbit .hero-bio-vesicle--f { animation-duration: 20s; animation-delay: -10s; }

@keyframes heroBioDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6px, -10px) scale(1.03); }
}

.hero--orbit .hero-orbit-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero--orbit .hero-inner {
  z-index: 4;
  pointer-events: none;
}

.hero--orbit .hero-copy {
  position: relative;
  isolation: isolate;
  max-width: 36rem;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero--orbit .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2.5rem -3.5rem -2.25rem -2rem;
  background: radial-gradient(ellipse 78% 72% at 18% 48%, rgba(0, 0, 40, 0.7), transparent 72%);
  pointer-events: none;
}

.hero--orbit .hero-lead:empty {
  display: none;
}

.hero--orbit .hero-copy h1 {
  margin-bottom: 1.5rem;
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--color-text-white);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-text-white);
}

.hero-nav--prev { left: 1.25rem; }
.hero-nav--next { right: 1.25rem; }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 6;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-dots button {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  overflow: hidden;
  pointer-events: auto;
  transition: width 0.35s var(--ease), background 0.25s ease;
}

.hero-dots button.is-active,
.hero-dots button[aria-selected="true"] {
  width: 1.85rem;
  background: #fff;
}

.hero-dot-fill {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: inherit;
  transform: scaleX(0.2);
  transform-origin: left center;
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 8vw, 4rem) 0;
  background: var(--color-text-white);
}

.section--services {
  background: #000028;
}

.section--services .section-header h2 {
  color: #fff;
}

.section-header {
  max-width: 52rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header--left {
  margin-left: 0;
  text-align: left;
  max-width: 48rem;
}

.section-header h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 0.95;
  color: var(--color-text-black);
}

.section-lead {
  margin-top: 1.25rem;
  color: var(--color-muted);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.7;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ---------- Home Five Services ---------- */
.home-svc-carousel {
  --svc-gap: 1.25rem;
}

.home-svc-viewport {
  overflow: hidden;
}

.home-svc-track {
  display: flex;
  gap: var(--svc-gap);
  position: relative;
  transition: transform 0.5s var(--ease);
}

.home-svc-track.is-snap {
  transition: none;
}

.home-svc-card {
  --svc-accent: #61C592;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: calc((100% - var(--svc-gap) * 2) / 3);
  min-width: calc((100% - var(--svc-gap) * 2) / 3);
  min-height: 21rem;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--svc-accent) 16%, #fff) 0%, #fff 58%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-svc-card[data-accent="green"] { --svc-accent: #61C592; }
.home-svc-card[data-accent="cyan"] { --svc-accent: #3EC6C9; }
.home-svc-card[data-accent="blue"] { --svc-accent: #5C7CFA; }
.home-svc-card[data-accent="purple"] { --svc-accent: #845EF7; }
.home-svc-card[data-accent="coral"] { --svc-accent: #E27B70; }

.home-svc-card:hover {
  border-color: color-mix(in srgb, var(--svc-accent) 40%, #fff);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.home-svc-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.55rem 1.55rem 1.35rem;
}

.home-svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.home-svc-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--svc-accent) 14%, #fff);
  color: var(--svc-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.home-svc-label {
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.home-svc-copy h3 {
  margin: 0 0 0.8rem;
  min-height: 2.55em;
  color: var(--color-text-black);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-svc-copy > p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.65;
}

.home-svc-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 40, 0.08);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.home-svc-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.home-svc-more:hover .home-svc-more-icon {
  background: var(--svc-accent);
  transform: translateX(2px);
}

.home-svc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  margin-top: 1.85rem;
}

.home-svc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-svc-arrow:hover {
  background: #fff;
  color: var(--navy);
}

.home-svc-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.home-svc-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.25s ease;
}

.home-svc-dots button.is-active {
  width: 1.55rem;
  background: #fff;
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.service-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 24rem;
  padding: 2.2rem;
  background: var(--color-text-white);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: rgba(0, 0, 40, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 40, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  transition: transform 0.35s var(--ease);
}

.service-card:hover .service-icon {
  animation: none;
  transform: translateY(-3px) scale(1.08);
}

.service-card.is-visible .service-icon {
  animation: iconFloat 3.6s var(--ease) 0.35s infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.service-num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  flex: 1;
}

.service-card h3 {
  font-size: var(--fs-subtitle);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text-black);
}

.service-card p {
  color: var(--color-text-black);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
  flex: 1;
}

/* ---------- Technology Platform showcase ---------- */
.plat-showcase {
  background: #000028;
  color: #fff;
  padding:4rem 0px 0px;
  overflow: hidden;
}

.plat-showcase-head {
  text-align: center;
  margin-bottom:4rem;
}

.plat-showcase-head h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 0.95;
  color: #fff;
}

.plat-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
  max-width: 100%;
  box-sizing: border-box;
}

.plat-arrow {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #e8e6e1;
  color: #000028;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.plat-arrow:hover {
  opacity: 0.8;
}

.plat-pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  justify-content: safe center;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  max-width: min(100%, 52rem);
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  background: #e8e6e1;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 0.5rem;
}

.plat-pills::-webkit-scrollbar { display: none; }

.plat-pill {
  flex-shrink: 0;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #000028;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, padding 0.25s ease, width 0.25s ease, min-width 0.25s ease;
}

.plat-pill:hover {
  background: rgba(0, 0, 40, 0.08);
}

.plat-pill.is-active {
  background: #000028;
  color: #fff;
  animation: softPulseNavy 2.8s ease-in-out infinite;
}

@keyframes softPulseNavy {
  0%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 40, 0.18); }
  50% { box-shadow: 0 10px 26px rgba(0, 0, 40, 0.32); }
}

.plat-stage {
  position: relative;
  height: clamp(30rem, 48vw, 34rem);
  max-width: 78rem;
  margin: 0 auto;
}

.plat-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(28rem, 80vw);
  height: min(31rem, 70vh);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.85rem 1.35rem;
  border-radius: 1.5rem;
  color: #111;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition:
    transform 0.55s var(--ease),
    opacity 0.45s ease,
    visibility 0.45s ease,
    filter 0.45s ease;
  z-index: 1;
  overflow: hidden;
}

.plat-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  z-index: 3;
  filter: none;
}

.plat-card.is-prev {
  opacity: 0.92;
  visibility: visible;
  pointer-events: none;
  transform: translate(calc(-50% - 21rem), -50%) scale(0.86) rotate(-8deg);
  z-index: 2;
  filter: brightness(0.95);
}

.plat-card.is-next {
  opacity: 0.92;
  visibility: visible;
  pointer-events: none;
  transform: translate(calc(-50% + 21rem), -50%) scale(0.86) rotate(8deg);
  z-index: 2;
  filter: brightness(0.95);
}

.plat-card.theme-cream { background: #fefbdc; }
.plat-card.theme-cyan { background: #cbfffd; }
.plat-card.theme-lime { background: #e9ff9b; }
.plat-card.theme-amber { background: #ffd372; }
.plat-card.theme-dark {
  background: #191918;
  color: #fff;
}

.plat-card-top {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.plat-logo {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  border-radius: 0.65rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plat-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.plat-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.plat-card h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.25;
}

.plat-card-top > p:not(.plat-kicker) {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.85;
}

.plat-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
  margin-top: auto;
  margin-bottom: 1.15rem;
}

.plat-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  opacity: 0.62;
}

.plat-metrics strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.plat-card-media {
  flex-shrink: 0;
  height: 9.5rem;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}

.plat-card.theme-dark .plat-card-media {
  background: rgba(255, 255, 255, 0.08);
}

.plat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Products catalog ---------- */
.products-section {
  background: #000028;
  padding: 0 0 6rem;
}

.products-head {
  margin-bottom: 2.5rem;
  text-align: center;
}

.products-head h2 {
  margin: 0;
  color: #fff;
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 0.95;
}

.products-lead {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.65;
}

.products-stats {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 1.75rem auto 0;
  padding: 0.3rem;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.products-stats li {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
  min-width: 9.5rem;
  padding: 0.55rem 1.35rem;
}

.products-stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.products-stats strong {
  color: #61C592;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.products-stats span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  min-height: 0;
  padding: 1.25rem 1.2rem 1.2rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: visible;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.product-card:hover {
  border-color: rgba(97, 197, 146, 0.55);
  background: rgba(97, 197, 146, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.product-entry {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.product-card dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-card dl > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.product-card .product-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.product-card dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.products-section .section-cta {
  margin-top: 2rem;
}

/* ---------- About (v1 layout) ---------- */
.about-section {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: clamp(28rem, 52vw, 36rem);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--navy) url("../images/index-about.jpg") left center / cover no-repeat;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 40, 0.45) 55%,
    rgba(0, 0, 40, 0.88) 70%,
    rgba(0, 0, 40, 0.96) 100%
  );
  pointer-events: none;
}

.about-content {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  margin-right: clamp(1.25rem, 5vw, 4.5rem);
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}

.about-content .eyebrow {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.85rem;
}

.about-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  max-width: 12em;
}

.about-content .block-lead {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
}

.about-body {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.8;
}

.about-content .btn {
  margin-top: 0.35rem;
}

/* ---------- CTA ---------- */
.cta-band {
  background: var(--navy);
  color: var(--color-text-white);
  padding: clamp(4rem, 7vw, 5.5rem) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  max-width: 36rem;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.35rem);
  line-height: 1.05;
  color: var(--color-text-white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 3.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(7rem, 0.75fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-bottom: 2.75rem;
  align-items: start;
}

.footer-brand img {
  margin-bottom: 1rem;
  height: 3.5rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  max-width: 16rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col {
  min-width: 0;
}

.site-footer h3 {
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.site-footer h3 a {
  color: #fff;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.footer-col--pair a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer-col--pair li + li {
  margin-top: 1.1rem;
}

.site-footer li + li { margin-top: 0.65rem; }

.site-footer a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0 1.35rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.service-grid .reveal:nth-child(2) { --reveal-delay: 100ms; }
.service-grid .reveal:nth-child(3) { --reveal-delay: 200ms; }

.products-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.products-grid .reveal:nth-child(2) { --reveal-delay: 80ms; }
.products-grid .reveal:nth-child(3) { --reveal-delay: 160ms; }
.products-grid .reveal:nth-child(4) { --reveal-delay: 240ms; }
.products-grid .reveal:nth-child(5) { --reveal-delay: 80ms; }
.products-grid .reveal:nth-child(6) { --reveal-delay: 160ms; }
.products-grid .reveal:nth-child(7) { --reveal-delay: 240ms; }
.products-grid .reveal:nth-child(8) { --reveal-delay: 320ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service-grid,
  .service-grid--3 { grid-template-columns: 1fr 1fr; }

  .home-svc-card {
    width: calc((100% - var(--svc-gap)) / 2);
    min-width: calc((100% - var(--svc-gap)) / 2);
  }

  .site-nav { display: none; height: auto; }
  .site-nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
  }

  .nav-list > li,
  .has-sub {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-link {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 0.85rem 0.25rem;
    color: rgba(255, 255, 255, 0.9) !important;
    box-sizing: border-box;
  }

  .nav-link.is-active {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
  }

  .sub-menu {
    position: static;
    left: auto;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    margin-top: 0.15rem;
    margin-bottom: 0.35rem;
    padding: 0.25rem 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .sub-menu li {
    width: 100%;
  }

  .sub-menu a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.85rem;
    color: rgba(255, 255, 255, 0.75);
  }
  .sub-menu a:hover,
  .sub-menu a.is-active { background: rgba(255, 255, 255, 0.08); color: #fff; }

  .has-sub.is-open .sub-menu { display: block; }

  .nav-toggle { display: block; }

  .hero-inner {
    padding: var(--header-h) 2% 3.5rem;
    width: 100%;
  }

  .hero-nav { display: none; }

  .hero-copy h1 { max-width: none; }
  .about-section {
    justify-content: center;
    background-position: 28% center;
  }

  .about-section::before {
    background: rgba(0, 0, 40, 0.72);
  }

  .about-content {
    width: min(100% - 2.5rem, 40rem);
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
  }

  .about-content h2 {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }
  .footer-brand { grid-column: 1 / -1; }

  .plat-card.is-prev {
    transform: translate(calc(-50% - 15rem), -50%) scale(0.82) rotate(-7deg);
  }

  .plat-card.is-next {
    transform: translate(calc(-50% + 15rem), -50%) scale(0.82) rotate(7deg);
  }

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

@media (max-width: 768px) {
  .service-grid,
  .service-grid--3 { grid-template-columns: 1fr; }

  .home-svc-card {
    width: 100%;
    min-width: 100%;
  }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .products-stats li {
    min-width: 0;
    padding: 0.5rem 1rem;
  }
  .footer-grid {
    gap: 1.35rem 1.1rem;
    padding-bottom: 1.5rem;
  }
  .site-footer {
    padding-top: 1.75rem;
  }
  .footer-brand {
    padding: 0 0 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-brand img {
    margin-bottom: 0;
    height: 4rem;
    width: auto;
  }
  .site-footer h3 {
    margin-bottom: 0.7rem;
  }
  .site-footer li + li {
    margin-top: 0.55rem;
  }
  .site-footer a {
    font-size: 0.92rem;
    line-height: 1.4;
  }
  .footer-bottom {
    padding: 1rem 0 calc(1.1rem + env(safe-area-inset-bottom));
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .service-card { min-height: 0; gap: 1.75rem; }

  .plat-tabs-bar {
    gap: 0.4rem;
    justify-content: flex-start;
    padding: 0;
  }

  .plat-pills {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding: 0.35rem 0.4rem;
    justify-content: flex-start;
  }

  .plat-arrow {
    width: 2.25rem;
    height: 2.25rem;
  }

  .plat-pill {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }

  .plat-stage {
    height: 32rem;
    width: 100%;
    overflow: hidden;
  }

  .plat-card.is-prev,
  .plat-card.is-next {
    opacity: 0;
    visibility: hidden;
  }

  .plat-card {
    width: min(22rem, calc(100vw - 2.75rem));
    height: 28rem;
    padding: 1.5rem 1.4rem 1.2rem;
  }

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

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

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-dot-fill {
    transform: scaleX(1);
  }
}


/* ---------- Products / library ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-library {
  background: #000028;
}

.library-main {
  padding-top: var(--header-h);
}

.library {
  padding: 2.25rem 0 4.5rem;
  background: #000028;
  color: #fff;
}

.library-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.library-layout {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.library-side {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 0.35rem 0.25rem;
  border: 0;
  background: transparent;
  transition: opacity 0.25s ease;
}

.class-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.class-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.class-item svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.library-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 1rem;
}

.class-item:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.class-item.is-active {
  background: #fff;
  border-color: #fff;
  color: #000028;
}

.library-titles h1 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
}

.spec-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  font-weight: 600;
  width: 100%;
  display: block;
}

@media (max-width: 1100px) {
  .library-layout {
    grid-template-columns: 1fr;
  }

  .library-side {
    position: static;
    max-height: none;
  }

  .class-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .class-item {
    width: auto;
  }

  .library-head {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .library {
    padding: 1.5rem 0 3rem;
  }
}

/* ---------- About / founder / clients / contact ---------- */

.page-about {
  background: #000028;
}

.profile-main {
  padding-top: var(--header-h);
}

.profile-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
}

.profile-intro {
  padding: 2.1rem 0 1.85rem;
}
.profile-kicker {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.profile-intro h1 {
  margin: 0 0 2rem;
  color: #fff;
  font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.profile-copy {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.18rem);
  font-weight: 500;
  line-height: 1.75;
}

.faq-list {
  margin: 0.25rem 0 0;
}

.faq-item {
  padding: 1.35rem 0 1.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-row {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  gap: 0.7rem 0.85rem;
  align-items: start;
}

.faq-row--a {
  margin-top: 0.7rem;
}

.faq-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.08rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.faq-mark--q {
  border-radius: 4px;
  background: #61C592;
  color: #000028;
}

.faq-mark--a {
  background: transparent;
  color: #61C592;
}

.faq-row--q h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.02rem, 0.95rem + 0.25vw, 1.18rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.faq-row--a p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.75;
}

.faq-row--a a {
  color: #61C592;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-row--a a:hover {
  color: #74d4a3;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.15rem 0 0;
}

.news-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0 0 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.news-item-media {
  margin: 0 0 1rem;
  overflow: hidden;
  background: #00001a;
}

.news-item-media img {
  width: 100%;
  height: 11.5rem;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.news-item:hover .news-item-media img {
  transform: scale(1.05);
}

.news-item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 0 1.1rem;
}

.news-item time,
.news-article-meta {
  display: block;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.news-item h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.news-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
}

.news-item-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.85rem;
  color: #61C592;
  font-size: 0.85rem;
  font-weight: 700;
}

.news-item:hover h2,
.news-item:hover .news-item-more {
  color: #74d4a3;
}

.news-item.is-hidden {
  display: none;
}

.news-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 2rem 0 0.4rem;
}

.news-pager button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-pager button:hover:not(:disabled):not(.is-active) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.news-pager button.is-active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  cursor: default;
}

.news-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-back {
  margin: 0 0 1.35rem;
}

.news-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.95rem 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
}

.news-back a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.page-news-detail .profile-intro {
  padding-bottom: 3.2rem;
}

.page-news-detail .profile-intro h1 {
  margin: 0.55rem 0 0;
  max-width: none;
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.news-article-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-article-meta::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: #61C592;
}

.news-article-figure {
  margin: 1.5rem 0 1.85rem;
  overflow: hidden;
  border-radius: 16px;
  background: #00001a;
}

.news-article-figure img {
  width: 100%;
  height: min(26rem, 56vw);
  object-fit: cover;
  display: block;
}

.news-article-copy {
  max-width: none;
}

.news-article-copy p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.85;
}

.news-article-copy p:last-child {
  margin-bottom: 0;
}

.news-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2.35rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.news-article-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.news-article-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.news-article-nav span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-article-nav strong {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.news-article-nav .is-next {
  text-align: right;
  align-items: flex-end;
}

.news-article-nav .is-next:only-child {
  grid-column: 2;
}

@media (max-width: 700px) {
  .news-article-nav {
    grid-template-columns: 1fr;
  }

  .news-article-nav .is-next,
  .news-article-nav .is-next:only-child {
    grid-column: auto;
    text-align: left;
    align-items: flex-start;
  }

  .news-article-figure img {
    height: 14.5rem;
  }
}

@media (max-width: 1100px) {
  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .news-list {
    grid-template-columns: 1fr;
  }

  .news-item-media img {
    height: 12.5rem;
  }
}

.profile-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.profile-photo {
  position: relative;
  margin: 0;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 14px;
  background: #00001a;
}

.profile-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 700px) {
  .profile-intro {
    padding: 1.6rem 0 1.35rem;
  }

  .profile-photos {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .profile-photo {
    position: static;
    min-height: 0;
  }

  .profile-photo img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.founder-card {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.founder-portrait {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #08102a;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-portrait img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-portrait figcaption {
  padding: 0.9rem 0.85rem 1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.founder-blocks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 1.85rem 2rem 2rem;
}

.founder-block + .founder-block {
  margin-top: 1.85rem;
  padding-top: 1.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-block p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.18rem, 1.05rem + 0.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

.founder-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.65;
}

.founder-block li {
  position: relative;
  padding-left: 1.05rem;
}

.founder-block li + li {
  margin-top: 0.65rem;
}

.founder-block li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #61C592;
}

@media (max-width: 900px) {
  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .founder-portrait img {
    aspect-ratio: auto;
    max-height: none;
    height: auto;
    width: 100%;
    object-fit: contain;
    object-position: center top;
  }
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clients-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.clients-grid img {
  width: 100%;
  height: 4rem;
  object-fit: contain;
  display: block;
}

.clients-grid .is-logo-lg {
  padding: 0.4rem 0.55rem;
}

.clients-grid .is-logo-lg img {
  height: 6.1rem;
}

@media (max-width: 1100px) {
  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .clients-grid li {
    min-height: 0;
    padding: 0.55rem 0.45rem;
  }

  .clients-grid img,
  .clients-grid .is-logo-lg img {
    height: 2.35rem;
  }

  .clients-grid .is-logo-lg {
    padding: 0.55rem 0.45rem;
  }

  .page-clients .profile-page {
    min-height: 0;
  }

  .page-clients .profile-intro {
    padding-bottom: 1.5rem;
  }
}

.profile-page.is-contact .profile-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  gap: 0.85rem;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 14.5rem;
  padding: 1.45rem 1.5rem 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 0.2rem;
  border-radius: 50%;
  background: rgba(97, 197, 146, 0.14);
  color: #61C592;
}

.contact-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.18rem);
  font-weight: 600;
  line-height: 1.65;
}

.contact-tile a {
  color: inherit;
  text-decoration: none;
}

.contact-tile a:hover {
  color: #61C592;
  text-decoration: underline;
}

.contact-photo {
  position: relative;
  flex: 1 1 auto;
  margin: 1rem 0 0;
  min-height: 16rem;
  overflow: hidden;
  border-radius: 16px;
  background: #00001a;
}

.contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-tile {
    min-height: 0;
  }

  .contact-photo {
    min-height: 12rem;
  }
}

.lead-widget {
  position: fixed;
  right: 1.35rem;
  bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  animation: lead-widget-in 0.7s var(--ease) 0.35s both;
}

.lead-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  padding: 0.45rem 1.2rem 0.45rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(10, 10, 56, 0.72);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  animation: lead-fab-bob 3.2s ease-in-out 1.1s infinite;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lead-fab-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #61C592;
  color: #000028;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.lead-fab-icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(97, 197, 146, 0.55);
  animation: lead-icon-ring 2.4s ease-out infinite;
  pointer-events: none;
}

.lead-fab:hover,
.lead-widget.is-open .lead-fab {
  animation: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.lead-fab:hover .lead-fab-icon,
.lead-widget.is-open .lead-fab-icon {
  transform: scale(1.08) rotate(-8deg);
}

.lead-widget.is-open .lead-fab-icon::after {
  animation: none;
  opacity: 0;
}

.lead-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: min(22.5rem, calc(100vw - 2rem));
  max-height: min(38rem, calc(100vh - 7.5rem));
  overflow: auto;
  padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(10, 10, 56, 0.88);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
  transform-origin: 92% 100%;
  transform: translateY(1.6rem) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease), visibility 0s linear 0.38s;
}

.lead-panel::before {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin: 0 0 0.95rem;
  border-radius: 999px;
  background: #61C592;
  transition: width 0.45s var(--ease) 0.12s;
}

.lead-widget.is-open .lead-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.lead-widget.is-open .lead-panel::before {
  width: 2.25rem;
}

@keyframes lead-widget-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lead-fab-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes lead-icon-ring {
  0% {
    transform: scale(0.92);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

.lead-panel-head,
.lead-form label,
.lead-submit {
  opacity: 0;
  transform: translateY(12px);
}

.lead-widget.is-open .lead-panel-head,
.lead-widget.is-open .lead-form label,
.lead-widget.is-open .lead-submit {
  opacity: 1;
  transform: none;
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}

.lead-widget.is-open .lead-panel-head {
  transition-delay: 0.08s;
}

.lead-widget.is-open .lead-form label:nth-child(1) { transition-delay: 0.12s; }
.lead-widget.is-open .lead-form label:nth-child(2) { transition-delay: 0.17s; }
.lead-widget.is-open .lead-form label:nth-child(3) { transition-delay: 0.22s; }
.lead-widget.is-open .lead-form label:nth-child(4) { transition-delay: 0.27s; }
.lead-widget.is-open .lead-form label:nth-child(5) { transition-delay: 0.32s; }
.lead-widget.is-open .lead-submit { transition-delay: 0.38s; }

.lead-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.lead-panel-title {
  margin: 0 0 0.2rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.lead-panel-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.lead-close {
  width: 1.85rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.25s var(--ease);
}

.lead-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.lead-form span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 0;
  border-color: #61C592;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(97, 197, 146, 0.18);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.lead-submit {
  align-self: center;
  min-height: 2.45rem;
  margin-top: 0.2rem;
  padding: 0.5rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: #61C592;
  color: #000028;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lead-submit:hover {
  background: #74d4a3;
  transform: translateY(-1px);
}

.lead-status {
  margin: 0;
  color: #61C592;
  font-size: 0.82rem;
  font-weight: 600;
}

.lead-status.is-error {
  color: #c0392b;
}

@media (max-width: 700px) {
  .lead-widget {
    right: 0.85rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-widget,
  .lead-fab,
  .lead-fab-icon::after {
    animation: none;
  }

  .lead-panel-head,
  .lead-form label,
  .lead-submit {
    opacity: 1;
    transform: none;
  }
}


/* ---------- Platform pages ---------- */

.page-platform {
  --plat-accent: #61C592;
}

.page-platform[data-platform="megahts"] {
  --plat-accent: #5C7CFA;
}

.page-platform[data-platform="megab"] {
  --plat-accent: #845EF7;
}

.page-platform[data-platform="omnicatchr"] {
  --plat-accent: #E27B70;
}

.page-platform .library {
  min-height: calc(100vh - var(--header-h));
}

.page-platform .library-titles h1 {
  color: #fff;
}

.platform-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.platform-panel {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.platform-panel-head {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.platform-panel-head .spec-label {
  width: auto;
  margin-bottom: 0.45rem;
}

.platform-panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.platform-pain .spec-label {
  width: auto;
  margin-bottom: 0.5rem;
}

.platform-pain p {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
}

.platform-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.platform-fact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.platform-fact .spec-label {
  width: auto;
}

.platform-fact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.platform-fact.is-platform p {
  color: var(--plat-accent);
  font-size: 1.15rem;
  font-weight: 700;
}

.page-platform .class-item {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .platform-facts {
    grid-template-columns: 1fr;
  }
}
.library-head{
  margin:0px 0px 1rem 0px;
}


/* ---------- Services ---------- */

.page-services .library {
  min-height: calc(100vh - var(--header-h));
}

.service-index-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  padding: 0.45rem 0 0.6rem;
  margin: 0 0 0.25rem;
  background: #000028;
  border-bottom: 1px solid transparent;
}

.service-index-wrap.is-stuck {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.service-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.service-index-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: 0;
  padding: 0.5rem 0.75rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-index-btn:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.service-index-btn.is-active {
  background: #fff;
  border-color: #fff;
  color: #000028;
}

.service-index-no {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-index-name {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.service-stack {
  display: flex;
  flex-direction: column;
}

.service-block {
  --plat-accent: #61C592;
  padding: 1.6rem 1.7rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--plat-accent);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  scroll-margin-top: calc(var(--header-h) + 8.75rem);
}

.service-block + .service-block {
  margin-top: 1rem;
}

.service-block[data-platform="megahts"] { --plat-accent: #5C7CFA; }
.service-block[data-platform="megab"] { --plat-accent: #845EF7; }
.service-block[data-platform="omnicatchr"] { --plat-accent: #E27B70; }

.service-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-no {
  margin: 0;
  color: var(--plat-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.service-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.service-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  width: 100%;
  flex-wrap: wrap;
}

.service-title-row h2 {
  flex: 1 1 14rem;
  min-width: 0;
}

.service-case-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.service-case-btn {
  --case-accent: var(--plat-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.42rem 1rem;
  border: 1px solid var(--case-accent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--case-accent) 36%, rgba(0, 0, 40, 0.35));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--case-accent) 35%, transparent);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-case-btn:hover {
  border-color: #fff;
  background: var(--case-accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.service-body {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 1fr);
  gap: 1.5rem 2.75rem;
  align-items: start;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.service-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-highlights {
  min-width: 0;
  padding-left: 2.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.service-meta .spec-label {
  width: auto;
  margin: 0;
}

.service-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
}

.service-meta .is-platform p,
.service-meta .is-platform a {
  color: var(--plat-accent);
  font-size: 1.12rem;
  font-weight: 700;
}

.service-meta a {
  text-decoration: none;
}

.service-meta a:hover {
  text-decoration: underline;
}

.service-highlights .spec-label {
  width: auto;
  display: block;
  margin-bottom: 0.7rem;
}

.service-highlights ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.65;
}

.service-highlights li {
  position: relative;
  padding-left: 1.05rem;
}

.service-highlights li + li {
  margin-top: 0.55rem;
}

.service-highlights li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--plat-accent);
}

@media (max-width: 1100px) {
  .service-block {
    scroll-margin-top: calc(var(--header-h) + 16rem);
  }

  .service-index {
    grid-template-columns: 1fr 1fr;
  }

  .service-index-btn:last-child {
    grid-column: 1 / -1;
  }

  .service-block {
    padding: 1.35rem 1.15rem 1.45rem;
  }

  .service-body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-highlights {
    padding-left: 0;
    padding-top: 1.15rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}


/* ---------- Cases ---------- */

.page-cases .library {
  min-height: calc(100vh - var(--header-h));
}

.page-cases .library-wrap {
  flex: 1;
}

.page-cases[data-platform="megar"] {
  --plat-accent: #61C592;
}

.page-cases[data-platform="megahts"] {
  --plat-accent: #5C7CFA;
}

.page-cases[data-platform="megab"] {
  --plat-accent: #845EF7;
}

.page-cases[data-platform="omnicatchr"] {
  --plat-accent: #E27B70;
}

/* Match list card accents (cases.html .case-btn:nth-child) */
.page-case-detail.page-case-01 { --plat-accent: #61C592; }
.page-case-detail.page-case-02 { --plat-accent: #3EC6C9; }
.page-case-detail.page-case-03 { --plat-accent: #5C7CFA; }
.page-case-detail.page-case-04 { --plat-accent: #845EF7; }
.page-case-detail.page-case-05 { --plat-accent: #F0B377; }
.page-case-detail.page-case-06 { --plat-accent: #E27B70; }
.page-case-detail.page-case-07 { --plat-accent: #4DABF7; }
.page-case-detail.page-case-08 { --plat-accent: #C084FC; }
.page-case-detail.page-case-09 { --plat-accent: #94D82D; }

.page-case-detail .library-wrap {
  gap: 0;
}

.page-case-detail {
  --case-fs-title: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  --case-fs-heading: 1.16rem;
  --case-fs-body: 1.08rem;
  --case-fs-label: 1.02rem;
  --case-fs-value: clamp(1.4rem, 1.2rem + 0.5vw, 1.75rem);
  --case-fs-caption: 0.88rem;
}

.case-hero {
  margin-bottom: 1.75rem;
}

.case-back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1rem;
}

.case-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.case-back svg {
  flex-shrink: 0;
}

.case-back a:hover {
  color: #fff;
}

.case-back a.case-back-service {
  margin-left: auto;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--plat-accent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--plat-accent) 32%, rgba(0, 0, 40, 0.35));
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.case-back a.case-back-service:hover {
  border-color: #fff;
  background: var(--plat-accent);
  color: #fff;
}

.case-kicker {
  margin: 0 0 0.6rem;
  color: var(--plat-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.case-hero h1 {
  margin: 0;
  color: #fff;
  font-size: var(--case-fs-title);
  font-weight: 700;
  line-height: 1.2;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0;
}

.case-metric {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 9.5rem;
  padding: 1.2rem 1.3rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.case-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--plat-accent) 16%, transparent);
  color: var(--plat-accent);
}

.case-metric-icon svg {
  width: 2rem;
  height: 2rem;
}

.case-metric strong {
  display: block;
  color: var(--plat-accent);
  font-size: var(--case-fs-value);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.case-metric > span:not(.case-metric-icon) {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--case-fs-label);
  font-weight: 600;
  line-height: 1.4;
}

.case-notes {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.15rem;
}

.case-notes.is-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.case-note h2 {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: var(--case-fs-heading);
  font-weight: 700;
  line-height: 1.35;
}

.case-note h2 span {
  color: var(--plat-accent);
  font-size: var(--case-fs-caption);
  letter-spacing: 0.08em;
}

.case-notes p,
.case-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--case-fs-body);
  font-weight: 500;
  line-height: 1.75;
}

.case-metric p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--case-fs-body);
  font-weight: 500;
  line-height: 1.55;
}

.case-figure {
  margin: 0.85rem 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.case-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-case-01 .case-back,
.page-case-02 .case-back,
.page-case-03 .case-back,
.page-case-05 .case-back,
.page-case-07 .case-back,
.page-case-08 .case-back,
.page-case-09 .case-back {
  margin: 0 0 0.7rem;
}

.page-case-01 .case-layout {
  grid-template-columns: minmax(24rem, 1.55fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  grid-template-areas:
    "figure m1 m2"
    "figure m3 m4"
    "notes notes notes";
  align-items: start;
}

.page-case-01 .case-layout > .case-figure {
  grid-area: figure;
  margin: 0;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.8rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.page-case-01 .case-layout > .case-figure.is-light {
  background: rgba(255, 255, 255, 0.04);
}

.page-case-01 .case-layout > .case-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
}

.page-case-01 .case-caption {
  margin: 0.85rem 0 0.1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--case-fs-caption);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.page-case-01 .case-layout .case-metrics {
  display: contents;
}

.page-case-01 .case-metric:nth-child(1) { grid-area: m1; }
.page-case-01 .case-metric:nth-child(2) { grid-area: m2; }
.page-case-01 .case-metric:nth-child(3) { grid-area: m3; }
.page-case-01 .case-metric:nth-child(4) { grid-area: m4; }

.page-case-01 .case-metric {
  min-height: 0;
}

.page-case-01 .case-01-notes {
  grid-area: notes;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-case-01 .case-01-notes .case-note {
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.page-case-01 .case-01-notes .case-note p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-case-02 .case-layout {
  grid-template-columns: 1fr;
  grid-template-areas:
    "hero"
    "panels"
    "notes";
  align-items: start;
}

.page-case-02 .case-layout > .case-02-hero {
  grid-area: hero;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0.45rem 0.5rem 0.55rem;
}

.page-case-02 .case-layout > .case-02-hero img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.page-case-02 .case-02-hero .case-caption {
  margin: 0.7rem 0 0.15rem;
  color: #ffffff;
  font-size: var(--case-fs-caption);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.page-case-02 .case-02-panels {
  grid-area: panels;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  min-width: 0;
}

.page-case-02 .case-02-panels .case-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  padding: 0.55rem 0.55rem 0.6rem;
}

.page-case-02 .case-02-panel-title {
  margin: 0 0 0.4rem;
  color: rgba(0, 0, 40, 0.78);
  font-size: var(--case-fs-caption);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.page-case-02 .case-02-panels img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-case-02 .case-02-hits {
  align-items: stretch;
}

.page-case-02 .case-02-kd {
  margin: 0.2rem 0;
  color: var(--plat-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
}

.page-case-02 .case-02-notes {
  grid-area: notes;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-case-02 .case-02-notes .case-note {
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.page-case-02 .case-02-notes .case-note p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-case-02 .case-02-notes .case-note span {
  margin-right: 0.45rem;
  color: var(--plat-accent);
  font-size: var(--case-fs-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-case-03 .case-03-figures,
.page-case-05 .case-05-figures,
.page-case-09 .case-09-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.page-case-03 .case-03-figures .case-figure,
.page-case-05 .case-05-figures .case-figure,
.page-case-09 .case-09-figures .case-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0rem;
}

.page-case-03 .case-03-figures img,
.page-case-09 .case-09-figures img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.page-case-05 .case-05-figures img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 20rem;
  object-fit: contain;
}

.page-case-03 .case-caption,
.page-case-05 .case-caption,
.page-case-09 .case-caption {
  margin: 0.7rem 0 1rem;
  color: rgba(255, 255, 255, 1);
  font-size: var(--case-fs-caption);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.page-case-03 .case-03-figures + .case-features,
.page-case-05 .case-05-figures + .case-features,
.page-case-09 .case-09-figures + .case-features {
  margin-top: 1.35rem;
}

.page-case-09 .case-features {
  grid-template-columns: 1fr 1fr;
}

.page-case-07 .case-layout {
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "hero hero"
    "curves curves"
    "metrics metrics"
    "elisa flow";
  align-items: stretch;
}

.page-case-07 .case-notes + .case-layout {
  margin-top: 1.15rem;
}

.page-case-07 .case-07-hero {
  grid-area: hero;
}

.page-case-07 .case-layout .case-metrics {
  grid-area: metrics;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.page-case-07 .case-07-panel-title {
  grid-area: curves;
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: var(--case-fs-heading);
  font-weight: 700;
  line-height: 1.3;
}

.page-case-07 .case-layout > .case-figure:nth-of-type(2) {
  grid-area: elisa;
}

.page-case-07 .case-layout > .case-figure:nth-of-type(3) {
  grid-area: flow;
}

.page-case-07 .case-layout .case-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0.45rem 0.5rem 0.55rem;
}

.page-case-07 .case-layout .case-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.page-case-07 .case-caption {
  margin: 0.7rem 0 0.15rem;
  color: #ffffff;
  font-size: var(--case-fs-caption);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.page-case-07 .case-metric {
  min-height: 0;
}

.page-case-07 .case-metric img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 10px;
  background: #fff;
}

.page-case-08 .case-layout {
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
  align-items: start;
}

.page-case-08 .case-layout > .case-figure {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0.45rem 0.5rem 0.55rem;
}

.page-case-08 .case-layout > .case-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-case-08 .case-caption {
  margin: 0.7rem 0 0.15rem;
  color: rgba(0, 0, 40, 0.7);
  font-size: var(--case-fs-caption);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.page-case-08 .case-08-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-case-08 .case-08-aside {
  margin: 0;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
}

.page-case-08 .case-notes {
  margin-top: 0.9rem;
  gap: 0.75rem;
}

.page-case-08 .case-notes .case-note {
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.page-case-08 .case-notes .case-note p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.case-title {
  margin: 0 0 1.15rem;
  color: #fff;
  font-size: var(--case-fs-title);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 40%) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.case-layout-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.case-layout-copy .case-notes {
  flex: 1;
  margin-top: 0;
  gap: 0.9rem;
}

.case-layout-copy .case-note {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 1.35rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.case-layout-copy .case-note h2 {
  margin-bottom: 0.65rem;
}

.case-layout + .case-metrics {
  margin-top: 0.9rem;
}

.case-layout .case-figure {
  margin: 0;
  padding: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-layout .case-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-metrics.is-row .case-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 1rem;
  row-gap: 0.28rem;
  align-items: start;
  min-height: 0;
  padding: 1.1rem 1.25rem;
}

.case-metrics.is-row .case-metric-icon {
  grid-row: 1 / -1;
  align-self: center;
  margin-bottom: 0;
}

.case-metrics.is-row .case-metric > span:not(.case-metric-icon) {
  margin-bottom: 0;
}

.case-title.is-wrap {
  white-space: normal;
}

.case-title + .case-notes {
  margin-top: 0;
}

.case-notes + .case-metrics,
.case-notes + .case-features {
  margin-top: 1.35rem;
}

.case-metrics + .case-notes {
  margin-top: 1.25rem;
}

.case-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.case-feature {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.3rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.case-feature .case-metric-icon {
  margin-bottom: 1.05rem;
}

.case-feature h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: var(--case-fs-heading);
  font-weight: 700;
  line-height: 1.35;
}

.case-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--case-fs-body);
  font-weight: 500;
  line-height: 1.7;
}

.case-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.case-pair {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.case-pair .case-figure {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16.5rem;
  padding: 0.85rem;
}

.case-figure.is-light {
  background: #0a0a31;
}

.case-pair .case-figure img {
  width: auto;
  max-width: 100%;
  max-height: 18rem;
  height: auto;
  object-fit: contain;
}

.case-pair .case-note {
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.case-pair .case-note h2 {
  margin-bottom: 0.65rem;
}

.case-pair .case-note p {
  color: rgba(255, 255, 255, 0.82);
}

.case-compare {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.case-compare-col {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon copy"
    "stats stats";
  align-items: center;
  column-gap: 0.9rem;
  row-gap: 0;
  padding: 1.25rem 1.4rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.case-compare-col.is-lead {
  border-color: color-mix(in srgb, var(--plat-accent) 55%, rgba(255, 255, 255, 0.12));
  background: color-mix(in srgb, var(--plat-accent) 10%, rgba(255, 255, 255, 0.04));
}

.case-compare-col .case-metric-icon {
  grid-area: icon;
  margin-bottom: 0;
}

.case-compare-copy {
  grid-area: copy;
  min-width: 0;
}

.case-compare-col h2 {
  margin: 0 0 0.3rem;
  color: #fff;
  font-size: var(--case-fs-heading);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.case-compare-col > p,
.case-compare-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--case-fs-label);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.case-compare-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  min-width: 0;
  align-items: start;
  gap: 1.25rem;
  margin: 1.05rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-compare-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.case-compare-stats span {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--case-fs-caption);
  font-weight: 600;
  line-height: 1.3;
}

.case-compare-stats strong {
  color: var(--plat-accent);
  font-size: var(--case-fs-value);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.case-compare + .case-notes {
  margin-top: 1.15rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.case-btn {
  --plat-accent: #61C592;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--plat-accent);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.case-btn:nth-child(1) { --plat-accent: #61C592; }
.case-btn:nth-child(2) { --plat-accent: #3EC6C9; }
.case-btn:nth-child(3) { --plat-accent: #5C7CFA; }
.case-btn:nth-child(4) { --plat-accent: #845EF7; }
.case-btn:nth-child(5) { --plat-accent: #F0B377; }
.case-btn:nth-child(6) { --plat-accent: #E27B70; }
.case-btn:nth-child(7) { --plat-accent: #4DABF7; }
.case-btn:nth-child(8) { --plat-accent: #C084FC; }
.case-btn:nth-child(9) { --plat-accent: #94D82D; }

.case-btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  border-top-color: var(--plat-accent);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.case-btn.is-active {
  background: #fff;
  border-color: #fff;
  color: #000028;
}

.case-btn-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.case-btn-service {
  align-self: flex-start;
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.05rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--plat-accent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--plat-accent) 32%, rgba(0, 0, 40, 0.35));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.case-btn-service:hover {
  background: var(--plat-accent);
  color: #fff;
  text-decoration: none;
}

.case-btn.is-active .case-btn-service {
  border-color: #000028;
  background: rgba(0, 0, 40, 0.08);
  color: #000028;
}

.case-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.case-btn.is-active .case-head {
  border-bottom-color: rgba(0, 0, 40, 0.12);
}

.case-no {
  color: var(--plat-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.case-btn.is-active .case-no,
.case-btn.is-active .case-label {
  color: rgba(0, 0, 40, 0.45);
}

.case-name {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.case-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.case-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.case-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.case-btn ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.case-btn li {
  position: relative;
  padding-left: 0.85rem;
}

.case-btn li + li {
  margin-top: 0.32rem;
}

.case-btn li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--plat-accent);
}

.case-btn.is-active li::before {
  background: #000028;
}

.case-panels {
  min-height: 0;
}

.case-panel {
  --plat-accent: #61C592;
  min-height: 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.case-panel[data-platform="megahts"] { --plat-accent: #5C7CFA; }
.case-panel[data-platform="megab"] { --plat-accent: #845EF7; }
.case-panel[data-platform="omnicatchr"] { --plat-accent: #E27B70; }

.case-detail {
  margin-top: 0.35rem;
  padding: 1.5rem 1.6rem 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--plat-accent);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.case-detail h2 {
  margin: 0 0 1.15rem;
  color: #fff;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
}

.case-detail-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.15rem 2rem;
  margin-bottom: 1.25rem;
}

.case-detail-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.7;
}

.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.case-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.case-stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.case-stat strong {
  color: var(--plat-accent);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 1100px) {
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-detail-copy,
  .case-layout,
  .case-pair-grid {
    grid-template-columns: 1fr;
  }

  .case-title {
    white-space: normal;
  }

  .case-features {
    grid-template-columns: 1fr;
  }

  .page-case-01 .case-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "figure figure"
      "m1 m2"
      "m3 m4"
      "notes notes";
  }

  .page-case-02 .case-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "panels"
      "notes";
  }

  .page-case-02 .case-02-panels {
    grid-template-columns: 1fr 1fr;
  }

  .page-case-07 .case-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "curves"
      "metrics"
      "elisa"
      "flow";
  }

  .page-case-07 .case-layout .case-metrics {
    grid-template-columns: 1fr;
  }

  .page-case-08 .case-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-stats,
  .case-metrics,
  .case-notes.is-split {
    grid-template-columns: 1fr;
  }

  .case-compare-col h2,
  .case-compare-copy p {
    white-space: normal;
  }

  .case-metric {
    min-height: 7.5rem;
  }

  .page-case-01 .case-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "figure"
      "m1"
      "m2"
      "m3"
      "m4"
      "notes";
  }

  .page-case-02 .case-02-panels {
    grid-template-columns: 1fr;
  }

  .page-case-03 .case-03-figures,
  .page-case-05 .case-05-figures,
  .page-case-09 .case-09-figures,
  .page-case-09 .case-features {
    grid-template-columns: 1fr;
  }
}


/* ---------- Orbit (homepage hero) ---------- */

.orbit-kicker {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.orbit-viz {
  position: relative;
  flex: 1;
  min-height: 36rem;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.orbit-viz.is-dragging {
  cursor: grabbing;
}

.orbit-viz canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .orbit-viz {
    min-height: 26.5rem;
    max-height: 34rem;
    aspect-ratio: 1 / 1.12;
  }

  .hero--orbit .hero-orbit-viz {
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }
}


/* ---------- Products2 library browse ---------- */

.page-products2 .products2-banner {
  position: relative;
  overflow: hidden;
  background: #00002d;
  color: #fff;
  height: 350px;
  min-height: 350px;
}

.page-products2 .products2-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30.625rem;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  min-height: 0;
  padding: 0;
}

.page-products2 .products2-banner-copy {
  max-width: none;
  min-width: 0;
}

.page-products2 .products2-banner-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-products2 .products2-banner-media::after {
  display: none;
}

.page-products2 .products2-banner-media img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}

.page-products2 .products2-banner-copy .orbit-kicker {
  margin: 0 0 1.15rem;
}

.page-products2 .products2-banner-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-products2 .products2-banner-sub {
  margin: 1.05rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
}

.page-products2 .products2-banner-lead {
  margin: 0.85rem 0 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-products2 .products2-banner-note {
  margin: 1.85rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
  font-weight: 500;
}

.page-products2 .products2-banner-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.5rem;
  margin-top: 2.25rem;
}

.page-products2 .products2-banner-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
}

.page-products2 .products2-banner-stat-icon {
  position: relative;
  display: block;
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  color: #61C592;
  line-height: 0;
  overflow: hidden;
}

.page-products2 .products2-banner-stat-icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  color: #61C592;
  stroke: #61C592;
  transform: translate(-50%, -50%);
}

.page-products2 .products2-banner-stat > div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  white-space: nowrap;
}

.page-products2 .products2-banner-stat strong {
  display: block;
  color: #61C592;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.page-products2 .products2-banner-stat span {
  display: block;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 500;
}

.page-products2 .products2-wrap {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.page-products2 .products2-filter {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.05rem 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.04);
}

.page-products2 .products2-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.4rem 0.85rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-products2 .products2-filter-head h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-products2 .products2-filter-group h3 {
  margin: 0;
  padding: 0.85rem 0.55rem 0.2rem;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-products2 .products2-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  width: 100%;
  margin: 0 0 0.28rem;
  padding: 0.72rem 0.7rem;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.page-products2 .products2-filter-item:last-child {
  margin-bottom: 0;
}

.page-products2 .products2-filter-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
}

.page-products2 .products2-filter-item em {
  color: rgba(255, 255, 255, 0.38);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.page-products2 .products2-filter-item.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.page-products2 .products2-filter-item.is-active em {
  color: rgba(255, 255, 255, 0.55);
}

.page-products2 .products2-empty {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.page-products2 .products2-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.page-products2 .products2-classes h2 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-products2 .products2-list-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-products2 .products2-list-head h2 span {
  color: #61C592;
}

.page-products2 .products2-class-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.page-products2 .products2-class-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
  width: 100%;
  min-height: 9.5rem;
  padding:0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-products2 .products2-class-card:hover,
.page-products2 .products2-class-card.is-active {
  border-color: rgba(97, 197, 146, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.page-products2 .products2-class-card:hover {
  transform: translateY(-2px);
}

.page-products2 .products2-class-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon num"
    "copy copy";
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.7rem;
  width: 100%;
}

.page-products2 .products2-class-icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(97, 197, 146, 0.18);
  color: #61C592;
}

.page-products2 .products2-class-top > div {
  grid-area: copy;
  min-width: 0;
}

.page-products2 .products2-class-top strong {
  grid-area: num;
  justify-self: end;
  padding-top: 0;
  color: #61C592;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-products2 .products2-class-icon svg {
  width: 2rem;
  height: 2rem;
}

.page-products2 .products2-class-top h3 {
  margin: 0 0 0.18rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.page-products2 .products2-class-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.3;
}

.page-products2 .products2-class-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.45rem;
}

.page-products2 .products2-class-bottom > span:not(.products2-class-arrow) {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
}

.page-products2 .products2-class-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #61C592;
}

.page-products2 .products2-class-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
}

.page-products2 .products2-class-card:hover .products2-class-arrow {
  color: #7fd6aa;
}

.page-products2 .products2-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-products2 .products2-list-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.page-products2 .products2-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 16.5rem;
  min-width: 10.5rem;
  max-width: 20rem;
  flex: 1 1 12rem;
}

.page-products2 .products2-search input {
  width: 100%;
  height: 2.55rem;
  padding: 0 2.4rem 0 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}

.page-products2 .products2-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.page-products2 .products2-search input:focus {
  border-color: rgba(97, 197, 146, 0.55);
}

.page-products2 .products2-search svg {
  position: absolute;
  right: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.page-products2 .products2-download {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.55rem;
  padding: 0 1rem;
  border: 1px solid #61C592;
  border-radius: 999px;
  background: transparent;
  color: #61C592;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background 0.18s ease, color 0.18s ease;
}

.page-products2 .products2-download:hover {
  background: rgba(97, 197, 146, 0.14);
}

.page-products2 .products2-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.page-products2 .products2-table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
}

.page-products2 .products2-table th,
.page-products2 .products2-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.88rem;
  vertical-align: middle;
}

.page-products2 .products2-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.page-products2 .products2-table tbody td {
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-products2 .products2-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products2 .products2-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.page-products2 .products2-entry {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}


.page-products2 .products2-class-pill,
.page-products2 .products2-tag {
  display: inline-flex;
  align-items: center;
  height: 1.55rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .page-products2 .products2-wrap {
    grid-template-columns: 1fr;
  }

  .page-products2 .products2-filter {
    position: static;
    padding: 0.7rem 0.65rem 0.55rem;
  }

  .page-products2 .products2-filter-head {
    padding: 0 0.3rem 0.5rem;
    margin-bottom: 0.2rem;
  }

  .page-products2 #classFilters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .page-products2 .products2-filter-item {
    margin: 0;
    padding: 0.48rem 0.55rem;
    font-size: 0.82rem;
  }

  .page-products2 .products2-filter-item em {
    font-size: 0.72rem;
  }

  .page-products2 .products2-class-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-products2 .products2-banner {
    height: auto;
    min-height: 0;
  }

  .page-products2 .products2-banner-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 0 0;
  }

  .page-products2 .products2-banner-media {
    justify-content: center;
    height: 12.5rem;
  }

  .page-products2 .products2-banner-copy {
    max-width: none;
  }

  .page-products2 .products2-banner-copy h1 {
    font-size: clamp(1.85rem, 1.3rem + 3vw, 2.4rem);
  }

  .page-products2 .products2-banner-stats {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.7rem 0.85rem;
    margin-top: 1.35rem;
  }

  .page-products2 .products2-banner-stat {
    min-width: 0;
    flex: 1 1 0;
    gap: 0.5rem;
  }

  .page-products2 .products2-banner-stat-icon {
    width: 2.55rem;
    height: 2.55rem;
  }

  .page-products2 .products2-banner-stat-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .page-products2 .products2-banner-stat > div {
    white-space: normal;
    min-width: 0;
  }

  .page-products2 .products2-banner-stat strong {
    font-size: 1.12rem;
  }

  .page-products2 .products2-banner-stat span {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .page-products2 .products2-class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products2 .products2-list-head {
    flex-wrap: wrap;
    align-items: center;
  }

  .page-products2 .products2-list-tools {
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
  }

  .page-products2 .products2-search {
    min-width: 0;
    width: auto;
    flex: 1 1 10rem;
  }

  .page-products2 .products2-download {
    width: auto;
    justify-content: center;
  }
}

