:root {
  /* Ink - cool slate, not pure black */
  --ink: #1a2d42;
  --ink-muted: #475f75;
  --ink-soft: #6a8196;

  /* Surfaces - cool tinted neutrals */
  --surface: #f7f9fc;
  --surface-2: #edf2f8;
  --surface-3: #e2ebf4;
  --card: #ffffff;

  /* Accent - restrained steel blue, used sitewide */
  --accent: #3d6a96;
  --accent-deep: #2a4a68;
  --accent-mid: #4a7ab0;
  --accent-soft: #d8e6f3;
  --accent-muted: #a8c8e8;

  --line: #c5d8ea;
  --line-soft: rgba(197, 216, 234, 0.9);
  --hero-overlay: rgba(247, 249, 252, 0.82);

  --footer-bg: #152535;
  --footer-ink: rgba(255, 255, 255, 0.85);
  --footer-link: var(--accent-muted);
  --footer-link-hover: #ffffff;

  --gradient-page-banner: linear-gradient(160deg, #d0e2f2 0%, #e8f2fa 50%, #dceaf4 100%);
  --gradient-page-banner-products: linear-gradient(160deg, #d0e2f2 0%, #e8f2fa 50%, #dceaf4 100%);
  --gradient-page-banner-applications: linear-gradient(155deg, #cfe0f0 0%, #e6f1fa 52%, #dae9f5 100%);
  --gradient-quote: linear-gradient(135deg, #2a4a68 0%, #3a628f 100%);
  --gradient-app-preview: linear-gradient(165deg, #e9f1f9 0%, #d8e6f3 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #fff);
  --gradient-card-solid: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff);

  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-enter: 1.15s;
  --duration-video: 1.5s;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(26, 45, 66, 0.08);
  --shadow-soft: 0 10px 28px rgba(26, 45, 66, 0.06);
  --shadow-lift: 0 18px 48px rgba(26, 45, 66, 0.12);
  /* Typography scale */
  --font-base: 1.125rem;
  --font-sm: 1rem;
  --font-xs: 0.9375rem;
  --font-lg: 1.25rem;
  --font-xl: 1.5rem;
  --font-2xl: clamp(1.75rem, 3.5vw, 2.5rem);
  --font-hero: clamp(2.25rem, 6vw, 4.25rem);
  --font-page-hero: clamp(2.25rem, 5.5vw, 3.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
  font-size: var(--font-base);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  text-align: justify;
}

p {
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.footer-email,
.product-block__subtitle,
.product-card__subtitle,
.carousel-swipe-hint {
  text-align: inherit;
  hyphens: manual;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: rgba(74, 122, 176, 0.22);
  color: var(--ink);
}

.container,
.chapter-inner {
  width: min(1140px, calc(100% - 4rem));
  margin: 0 auto;
}

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

/* Header */
.read-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 3px;
  background: var(--accent-soft);
}

.read-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  opacity: 0;
  transform: translateY(-0.5rem);
}

body.is-page-ready .site-header {
  animation: enter-fade-down var(--duration-enter) var(--ease-enter) 0.08s both;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-image {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-sm);
  transition: color 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  width: 2.5rem;
  height: 2.25rem;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: var(--font-sm);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-deep);
  color: #fff;
  border-color: var(--accent-deep);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: none;
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--accent-deep);
}

.btn-outline {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

/* Hero video */
.hero-video {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 28px;
  margin: 1rem auto 0;
  width: min(1140px, calc(100% - 4rem));
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(61, 106, 150, 0.08), transparent),
    linear-gradient(180deg, var(--surface) 0%, var(--card) 100%);
}

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

.hero-video__player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-video) var(--ease-enter), visibility 0s linear var(--duration-video);
}

.hero-video.is-video-ready .hero-video__player {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--duration-video) var(--ease-enter), visibility 0s linear 0s;
}

.hero-video.is-video-ready .hero-video__fallback {
  opacity: 0;
  pointer-events: none;
}

.hero-video.is-video-failed .hero-video__player {
  display: none;
}

.hero-video__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(61, 106, 150, 0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(61, 106, 150, 0.04), transparent 35%),
    linear-gradient(180deg, var(--surface) 0%, var(--card) 100%);
  transition: opacity var(--duration-video) var(--ease-enter);
}

.hero-video.is-entered .hero-video__fallback {
  animation: enter-fade-in 1.4s var(--ease-enter) 0.05s both;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(0deg, var(--hero-overlay) 0%, rgba(255, 255, 255, 0.25) 55%, rgba(255, 255, 255, 0.08) 100%);
}

.hero-video.is-entered .hero-video__overlay {
  animation: enter-fade-in 1.6s var(--ease-enter) 0.2s both;
}

.hero-video__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 2rem 2.5rem;
}

.hero-video__title {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  font-size: var(--font-hero);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: left;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(1.35rem);
}

.hero-video.is-entered .hero-video__title {
  animation: enter-fade-up 1.2s var(--ease-enter) 0.45s both;
}

.hero-video__actions {
  margin-top: 1.75rem;
  opacity: 0;
  transform: translateY(1rem);
}

.hero-video__actions .btn-ghost {
  background: var(--card);
  color: var(--accent-deep);
  border-color: var(--line);
}

.hero-video.is-entered .hero-video__actions {
  animation: enter-fade-up 1.15s var(--ease-enter) 0.75s both;
}

/* Intro block */
.section {
  padding: 4rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section-label {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
}

.section-title {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: var(--font-2xl);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-wrap: balance;
}

.section-lead {
  max-width: 52rem;
  margin: 0 0 2rem;
  color: var(--ink-muted);
  font-size: var(--font-lg);
  line-height: 1.75;
}

.intro-split .section-lead {
  max-width: none;
}

.section-lead--tight {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 52rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 52rem;
}

.app-preview-grid,
.feature-grid,
.target-grid {
  display: grid;
  gap: 1rem;
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.intro-split__copy,
.intro-split__cards {
  width: 100%;
  max-width: none;
}

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

/* Shared surface cards */
.highlight-card,
.app-preview-card,
.feature-card,
.target-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.highlight-card {
  padding: 1.45rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.highlight-card:hover,
.app-preview-card:hover,
.feature-card:hover,
.target-card:hover,
.product-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(74, 122, 176, 0.32);
}

.highlight-card h3 {
  margin: 0 0 0.45rem;
  font-size: var(--font-lg);
  color: var(--ink);
}

.highlight-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--font-sm);
  line-height: 1.65;
}

/* Product carousel */
.carousel-section {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.carousel-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.carousel-header__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.carousel-header__title {
  margin-bottom: 0;
}

.carousel-header .section-header {
  max-width: none;
}

.carousel-intro {
  max-width: none;
  margin: 0;
  width: 100%;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--accent-soft);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-embla {
  margin-top: 0.25rem;
}

.carousel-swipe-hint {
  display: none;
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: var(--font-xs);
  font-weight: 600;
  text-align: left;
}

.carousel-embla__viewport {
  overflow: hidden;
}

.carousel-embla__container {
  display: flex;
  margin-left: -1rem;
}

.carousel-embla__slide {
  flex: 0 0 min(280px, 62vw);
  min-width: 0;
  padding-left: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(61, 106, 150, 0.24);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.carousel-dot.is-active {
  background: var(--accent-deep);
  transform: scale(1.15);
}

.carousel-track-wrap {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  min-height: 420px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  isolation: isolate;
}

.product-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-card__media {
  transform: scale(1.03);
}

.product-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.88) 0%, rgba(8, 16, 28, 0.28) 18%, transparent 32%, transparent 70%, rgba(8, 16, 28, 0.72) 100%);
}

.product-card__header {
  position: relative;
  z-index: 2;
  padding: 1rem 1.1rem 0.75rem;
  text-align: left;
}

.product-card__footer {
  position: relative;
  z-index: 2;
  padding: 0 1.1rem 1.1rem;
  align-self: end;
}

.product-card h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.product-card__subtitle {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: left;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.product-card .btn-ghost {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.tag--card {
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.35;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: var(--font-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
}

/* Application preview cards */
.app-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.app-preview-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2rem 1.65rem;
  background: var(--gradient-app-preview);
  border-color: rgba(58, 98, 143, 0.22);
}

.app-preview-card h3 {
  margin: 0 0 1rem;
  font-size: var(--font-lg);
  color: var(--ink);
}

.app-preview-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.app-preview-card .tag {
  margin: 0;
  padding: 0.28rem 0.62rem;
  background: #fff;
  border: 1px solid rgba(58, 98, 143, 0.16);
  color: var(--ink);
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(26, 45, 66, 0.05);
}

.app-preview-card__footer {
  margin-top: auto;
  padding-top: 1.15rem;
}

/* Quote banner */
.quote-banner {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  background: var(--gradient-quote);
  color: #fff;
}

.quote-banner .container {
  display: flex;
}

.quote-banner blockquote {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-banner p {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.quote-banner footer {
  margin-top: 0.25rem;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  text-align: right;
  letter-spacing: 0.02em;
}

/* About & hiring */
.about-section {
  display: grid;
  gap: 2.5rem;
}

.about-section h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--ink);
  text-align: left;
}

.about-section p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--font-lg);
  line-height: 1.75;
}

.hiring-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.hiring-columns ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: var(--font-sm);
  font-weight: 600;
  text-align: left;
}

/* Footer */
.chapter-footer {
  padding: 2rem 0;
  background: var(--footer-bg);
  color: var(--footer-ink);
}

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

.footer-logo {
  width: min(10rem, 28vw);
  height: auto;
  border-radius: var(--radius-lg);
}

.footer-right {
  text-align: right;
}

.footer-social {
  margin-bottom: 0.65rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s var(--ease);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-social svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-email {
  margin: 0.15rem 0;
  font-size: var(--font-sm);
}

.footer-email a {
  color: var(--footer-link);
  text-decoration: none;
}

.footer-email a:hover {
  color: var(--footer-link-hover);
}

/* Page hero banner (50vh) */
.page-banner {
  position: relative;
  min-height: 32vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 30% 20%, rgba(180, 210, 240, 0.5), transparent),
    var(--gradient-page-banner);
  border-bottom: 1px solid var(--line);
  opacity: 0;
}

body.is-page-ready .page-banner {
  animation: enter-fade-in 1.3s var(--ease-enter) 0.12s both;
}

.page-banner__mesh {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
  background-size: 24px 24px;
}

body.is-page-ready .page-banner__mesh {
  animation: enter-fade-mesh 1.8s var(--ease-enter) 0.35s both;
}

@keyframes enter-fade-mesh {
  from { opacity: 0; }
  to { opacity: 0.35; }
}

.page-banner__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  opacity: 0;
  transform: translateY(1rem);
}

body.is-page-ready .page-banner__content {
  animation: enter-fade-up 1.15s var(--ease-enter) 0.4s both;
}

.page-banner__content::after {
  content: "";
  display: none;
  width: min(10rem, 32vw);
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, rgba(58, 98, 143, 0.8), transparent);
}

.page-banner__title {
  margin: 0;
  font-size: var(--font-page-hero);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-align: left;
  text-wrap: balance;
}

.page-banner__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-banner__shapes::before,
.page-banner__shapes::after {
  content: "";
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(180, 210, 240, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.page-banner__shapes::before {
  width: clamp(7rem, 18vw, 12rem);
  height: clamp(7rem, 18vw, 12rem);
  top: 18%;
  right: 10%;
  border-radius: 28%;
  transform: rotate(16deg);
}

.page-banner__shapes::after {
  width: clamp(4.5rem, 11vw, 7.5rem);
  height: clamp(4.5rem, 11vw, 7.5rem);
  bottom: 22%;
  right: 26%;
  border-radius: 50%;
  opacity: 0.88;
}

.page-banner--products {
  background:
    radial-gradient(ellipse 55% 70% at 78% 35%, rgba(140, 180, 220, 0.35), transparent),
    radial-gradient(ellipse 70% 80% at 20% 20%, rgba(180, 210, 240, 0.45), transparent),
    var(--gradient-page-banner-products);
}

.page-banner--applications {
  background:
    radial-gradient(ellipse 60% 65% at 72% 40%, rgba(120, 170, 210, 0.3), transparent),
    radial-gradient(ellipse 65% 75% at 25% 25%, rgba(190, 215, 240, 0.42), transparent),
    var(--gradient-page-banner-applications);
}

.page-subnav {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  margin-bottom: -1px;
}

.page-subnav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 1rem 0 0.35rem;
}

.page-subnav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-subnav a:hover,
.page-subnav a:focus-visible {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

/* Product detail blocks */
.content-section {
  padding: 3.75rem 0;
}

.content-section:nth-child(even) {
  background: var(--surface-2);
}

.content-section__label {
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.product-block {
  margin-bottom: 2.5rem;
  padding: 1.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--gradient-card-solid);
  box-shadow: var(--shadow-soft);
}

.product-block:last-child {
  margin-bottom: 0;
}

.product-block h3 {
  margin: 0 0 1rem;
  font-size: var(--font-xl);
  color: var(--ink);
  text-align: left;
}

.product-block h4 {
  margin: 0 0 0.75rem;
  font-size: var(--font-lg);
  color: var(--ink);
  text-align: left;
}

.product-block p,
.product-block li {
  color: var(--ink-muted);
  font-size: var(--font-base);
  line-height: 1.75;
  max-width: none;
  width: 100%;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.product-block ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
  max-width: none;
  width: 100%;
}

.product-block__media {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.product-block__media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.product-block--nested {
  margin-top: 1.25rem;
  margin-left: 0;
  border-style: dashed;
  border-color: rgba(74, 122, 176, 0.55);
  background: rgba(216, 230, 243, 0.35);
}

.product-block__subtitle {
  margin: 0 0 0.5rem;
  color: var(--accent-deep);
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  hyphens: manual;
}

/* Feature grid (applications) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.45rem;
  min-height: 100%;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--accent-deep);
}

.feature-card p {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--ink-muted);
  line-height: 1.7;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.target-card {
  padding: 1.45rem;
  min-height: 100%;
}

.target-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--font-lg);
  color: var(--ink);
}

.target-card p {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--ink-muted);
  line-height: 1.7;
}

.section-heading-center {
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

/* Reveal animation */
@keyframes enter-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes enter-fade-up {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes enter-fade-down {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(1.35rem);
  transition: opacity 0.95s var(--ease-enter), transform 0.95s var(--ease-enter);
}

.reveal.is-visible,
.chapter-footer .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .read-progress-bar,
  .product-card__media,
  .hero-video__player,
  .hero-video__fallback,
  .site-header,
  .page-banner,
  .page-banner__mesh,
  .page-banner__content {
    transition: none;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

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

  .hero-video__title,
  .hero-video__actions,
  .hero-video__overlay,
  .hero-video__fallback {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .intro-split,
  .highlight-grid,
  .app-preview-grid,
  .feature-grid,
  .hiring-columns,
  .target-grid {
    grid-template-columns: 1fr;
  }

  .container,
  .chapter-inner {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .hero-video {
    min-height: 58vh;
  }

  .carousel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-header__top {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-controls {
    display: none;
  }

  .carousel-swipe-hint {
    display: block;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .section-title,
  .page-banner__title,
  .hero-video__title,
  .content-section__label,
  .section-heading-center {
    text-wrap: pretty;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .content-section {
    padding: 2.5rem 0;
  }

  .page-banner {
    min-height: 40vh;
  }

  .product-block {
    padding: 1.3rem;
  }

  .product-block__media img {
    max-height: 260px;
  }

  .page-subnav__inner {
    gap: 0.35rem 0.85rem;
  }

  .app-preview-card,
  .feature-card,
  .target-card {
    padding: 1.1rem;
  }
}
