/* ==========================================================================
   Runhe (Hong Kong) — Liquid Cooling
   Design system + components
   ========================================================================== */

:root {
  --navy: #0d0630;
  --navy-deep: #07021c;
  --navy-2: #0f2b57;
  --blue: #006bd3;
  --blue-light: #2e9bf0;
  --blue-soft: #e8f2fd;
  --yellow: #e9fd6e;
  --paper: #ffffff;
  --grey-50: #f5f5f7;
  --grey-100: #ececf1;
  --ink: #0d0630;
  --ink-70: rgba(13, 6, 48, 0.72);
  --ink-55: rgba(13, 6, 48, 0.56);
  --ink-40: rgba(13, 6, 48, 0.4);
  --line: rgba(13, 6, 48, 0.1);
  --line-soft: rgba(13, 6, 48, 0.06);
  --line-light: rgba(255, 255, 255, 0.14);
  --white-70: rgba(255, 255, 255, 0.72);
  --white-55: rgba(255, 255, 255, 0.55);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 6, 48, 0.04), 0 8px 24px -12px rgba(13, 6, 48, 0.16);
  --shadow-md: 0 24px 60px -30px rgba(13, 6, 48, 0.35);
  --shadow-nav: 0 18px 50px -22px rgba(7, 2, 28, 0.55);

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-y: clamp(64px, 8.5vw, 132px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Inter", "Helvetica Neue", "Segoe UI", "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.wrap--wide {
  width: min(1440px, 100% - (var(--gutter) * 2));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.section {
  padding-block: var(--sec-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(44px, 5vw, 72px);
}

.section--grey {
  background: var(--grey-50);
}

.section--dark {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #fff;
}

.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

.section--dark > * {
  position: relative;
  z-index: 1;
}

.section--flush-top {
  padding-top: 0;
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section--dark .eyebrow {
  color: var(--yellow);
}

.display {
  font-size: clamp(40px, 6.6vw, 92px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-weight: 500;
}

.h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.h2 {
  font-size: clamp(28px, 3.3vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.h3 {
  font-size: clamp(21px, 1.9vw, 28px);
  letter-spacing: -0.025em;
}

.h4 {
  font-size: clamp(17px, 1.3vw, 20px);
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 62ch;
}

.section--dark .lead {
  color: var(--white-70);
}

.muted {
  color: var(--ink-55);
}

.grad {
  background-image: linear-gradient(96deg, #006bd3 0%, #0d0630 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section--dark .grad,
.grad--light {
  background-image: linear-gradient(96deg, #2e9bf0 0%, #ffffff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(32px, 4vw, 60px);
}

.sec-head__text {
  max-width: 760px;
}

.sec-head .lead {
  margin-top: 18px;
}

.sec-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sec-head--center .lead {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
  will-change: transform;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(0, 107, 211, 0.7);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  box-shadow: none;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.btn--light:hover {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink);
  box-shadow: none;
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.btn--lg {
  padding: 17px 32px;
  font-size: 15px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  transition: gap 0.3s var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
}

.link-arrow:hover {
  gap: 13px;
}

.section--dark .link-arrow {
  color: var(--yellow);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 16px;
  transition: padding-top 0.4s var(--ease);
  pointer-events: none;
}

.header__bar {
  pointer-events: auto;
  width: min(1290px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
  padding: 0 12px 0 22px;
  border-radius: 16px;
  background: rgba(13, 6, 48, 0.94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-nav);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 0.4s var(--ease), background 0.4s var(--ease);
}

.header.is-scrolled {
  padding-top: 10px;
}

.header.is-scrolled .header__bar {
  height: 64px;
  background: rgba(10, 4, 38, 0.97);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__type {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
}

.brand__sub {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}

.nav__link:hover,
.nav__item.is-open > .nav__link {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav__link[aria-current="page"] {
  color: var(--yellow);
}

.nav__caret {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  opacity: 0.55;
  transition: transform 0.3s var(--ease);
}

.nav__item.is-open .nav__caret {
  transform: rotate(180deg);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.nav__cta {
  padding: 11px 20px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 620px;
  transform: translate(-50%, 8px);
  padding: 26px;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 90px -40px rgba(7, 2, 28, 0.55);
  border: 1px solid var(--line-soft);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
    visibility 0.28s;
}

.nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega--wide {
  width: 760px;
}

.mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 26px;
}

.mega__col-title {
  grid-column: span 1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: 4px 10px 10px;
}

.mega__link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 10px;
  border-radius: 10px;
  transition: background 0.2s;
}

.mega__link:hover {
  background: var(--grey-50);
}

.mega__link strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mega__link span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-55);
  margin-top: 2px;
}

.mega__link .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 8px;
  flex: none;
  opacity: 0.45;
}

.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 14px 4px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-55);
}

/* Mobile menu */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
}

.burger span {
  position: relative;
  width: 17px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

body.nav-open .burger span {
  background: transparent;
}

body.nav-open .burger span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .burger span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  color: #fff;
  padding: 104px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}

body.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav__group {
  border-bottom: 1px solid var(--line-light);
}

.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 2px;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}

.mobile-nav__toggle svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.3s var(--ease);
}

.mobile-nav__group.is-open .mobile-nav__toggle svg {
  transform: rotate(180deg);
}

.mobile-nav__panel {
  display: grid;
  gap: 2px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}

.mobile-nav__group.is-open .mobile-nav__panel {
  max-height: 420px;
}

.mobile-nav__panel a {
  padding: 10px 2px 10px 14px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.68);
  border-left: 1px solid var(--line-light);
}

.mobile-nav__panel a:last-child {
  margin-bottom: 12px;
}

.mobile-nav__flat {
  display: block;
  padding: 18px 2px;
  font-size: 18px;
  border-bottom: 1px solid var(--line-light);
}

.mobile-nav__cta {
  margin-top: 26px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Hero — home
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(132px, 14vw, 172px) 0 clamp(52px, 6vw, 88px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(420px 420px at 14% 26%, rgba(0, 107, 211, 0.1), transparent 68%),
    radial-gradient(340px 340px at 84% 18%, rgba(0, 107, 211, 0.09), transparent 66%),
    radial-gradient(260px 260px at 72% 64%, rgba(46, 155, 240, 0.1), transparent 68%),
    radial-gradient(300px 300px at 26% 78%, rgba(0, 107, 211, 0.07), transparent 70%),
    radial-gradient(180px 180px at 50% 8%, rgba(46, 155, 240, 0.07), transparent 70%),
    #fff;
}

.hero__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.hero__mark {
  width: clamp(44px, 4.6vw, 58px);
  height: auto;
  margin-bottom: 6px;
}

.hero__wordmark {
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--navy);
  padding-left: 0.16em;
}

.hero__sub {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.hero__title {
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--blue);
  max-width: 17ch;
  margin-inline: auto;
}

.hero__title em {
  font-style: normal;
  color: var(--navy);
}

.hero__lede {
  margin: clamp(18px, 2.2vw, 26px) auto 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-70);
}

.hero__actions {
  margin-top: clamp(28px, 3.4vw, 40px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__meta {
  margin-top: clamp(34px, 4.4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: clamp(128px, 15vw, 190px) 0 clamp(48px, 6vw, 84px);
  background:
    radial-gradient(380px 380px at 88% 12%, rgba(0, 107, 211, 0.09), transparent 70%),
    radial-gradient(300px 300px at 8% 70%, rgba(0, 107, 211, 0.06), transparent 70%),
    #fff;
  overflow: hidden;
}

.page-hero--dark {
  background: linear-gradient(180deg, var(--navy-2), var(--navy) 70%, var(--navy-deep));
  color: #fff;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.page-hero__title {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-top: 20px;
}

.page-hero__lede {
  margin-top: 22px;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-70);
  max-width: 56ch;
}

.page-hero--dark .page-hero__lede {
  color: var(--white-70);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 6px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.page-hero--dark .breadcrumb {
  color: var(--white-55);
}

.breadcrumb span {
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Marquee / trust strip
   -------------------------------------------------------------------------- */

.marquee {
  background: var(--yellow);
  color: var(--navy);
  padding: 13px 0;
  overflow: hidden;
  position: relative;
  border-block: 1px solid rgba(13, 6, 48, 0.08);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.35;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* Product card */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
    border-color 0.3s;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -34px rgba(13, 6, 48, 0.32);
  border-color: rgba(0, 107, 211, 0.22);
}

.pcard__media {
  position: relative;
  aspect-ratio: 5 / 4;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(0, 107, 211, 0.28), transparent 60%),
    linear-gradient(165deg, #12315f 0%, #0d0630 70%);
  overflow: hidden;
}

.pcard__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(7, 2, 28, 0.45));
  pointer-events: none;
}

.pcard__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(75% 65% at 50% 42%, transparent 42%, rgba(7, 2, 28, 0.5) 100%);
}

.pcard__media img {
  position: absolute;
  top: 28px;
  left: 28px;
  width: calc(100% - 56px);
  height: calc(100% - 56px);
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.45));
  transition: transform 0.6s var(--ease-out);
}

.pcard__media img.is-cover {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__media--cover {
  padding: 0;
}

.pcard:hover .pcard__media img {
  transform: scale(1.045) translateY(-4px);
}

.pcard__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
}

.pcard__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pcard__code {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.pcard__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pcard__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-55);
}

.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  font-weight: 600;
}

.pcard__spec {
  display: flex;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-55);
}

.pcard__spec b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.pcard__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}

.pcard__arrow svg {
  width: 13px;
  height: 13px;
}

.pcard:hover .pcard__arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(-45deg);
}

/* Feature / numbered card */
.fcard {
  padding: 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: #fff;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.fcard:hover {
  border-color: rgba(0, 107, 211, 0.24);
  transform: translateY(-3px);
}

.fcard__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.fcard__title {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.fcard__text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-55);
}

.section--dark .fcard {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-light);
}

.section--dark .fcard__title {
  color: #fff;
}

.section--dark .fcard__text {
  color: var(--white-55);
}

.section--dark .fcard__num {
  color: var(--yellow);
}

/* Stat */
.stat__value {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.stat__value sup {
  font-size: 0.42em;
  vertical-align: super;
  letter-spacing: 0;
}

.stat__label {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink-55);
}

.section--dark .stat__label {
  color: var(--white-55);
}

/* --------------------------------------------------------------------------
   Media blocks
   -------------------------------------------------------------------------- */

.media {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
}

.media--fill {
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
}

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

.media--ratio {
  aspect-ratio: 4 / 3;
}

.media--wide {
  aspect-ratio: 16 / 8;
}

.media--tall {
  aspect-ratio: 3 / 4;
}

.media__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7, 2, 28, 0.75));
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.split__body .lead {
  margin-top: 18px;
}

.split__list {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.split__list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-70);
}

.section--dark .split__list li {
  color: var(--white-70);
}

.split__list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: var(--blue);
}

.section--dark .split__list svg {
  color: var(--yellow);
}

.split__actions {
  margin-top: 30px;
}

/* Big dark feature card (announcement style) */
.feature-band {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  padding-block: clamp(40px, 5vw, 70px);
  color: #fff;
}

.feature-band__card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.feature-band__media {
  position: relative;
  min-height: 300px;
  background: #06122b;
}

.feature-band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band__body {
  padding: clamp(28px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.feature-band__body .h3 {
  color: #fff;
}

.feature-band__body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--white-70);
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   Strengths tabs
   -------------------------------------------------------------------------- */

.tabs {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}

.tabs__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s;
}

.tab__num {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-40);
  transition: color 0.3s;
}

.tab__label {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-40);
  transition: color 0.3s;
}

.tab__bar {
  width: 26px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.tab[aria-selected="true"] .tab__num {
  color: var(--blue);
}

.tab[aria-selected="true"] .tab__label {
  color: var(--ink);
}

.tab[aria-selected="true"] .tab__bar {
  transform: scaleX(1);
}

.tab:hover .tab__label {
  color: var(--ink);
}

.tabs__panels {
  position: relative;
}

.tabpanel {
  display: none;
  animation: fadeUp 0.5s var(--ease-out) both;
}

.tabpanel.is-active {
  display: block;
}

.tabpanel__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16 / 11;
}

.tabpanel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tabpanel__body {
  margin-top: 22px;
}

.tabpanel__body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-70);
  max-width: 60ch;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0f2b57 0%, #0d0630 62%, #07021c 100%);
  color: #fff;
  padding-block: clamp(60px, 8vw, 118px);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  left: 50%;
  top: -46%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 107, 211, 0.35), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta__title {
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.04;
  max-width: 18ch;
  margin-inline: auto;
}

.cta__text {
  margin: 20px auto 0;
  max-width: 54ch;
  font-size: 15px;
  color: var(--white-70);
}

.cta__actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cta__note {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-55);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--navy-deep);
  color: #fff;
  padding-top: clamp(48px, 6vw, 80px);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand .brand {
  margin-bottom: 20px;
}

.footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--white-55);
}

.footer__cn {
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
}

.footer__col h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-55);
  margin-bottom: 16px;
}

.footer__col a,
.footer__col address {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  margin-bottom: 9px;
  transition: color 0.25s;
}

.footer__col a:hover {
  color: var(--yellow);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line-light);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__bottom a:hover {
  color: #fff;
}

.footer__stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer__stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 820px;
}

thead th {
  position: sticky;
  top: 0;
  text-align: left;
  padding: 13px 13px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-55);
  background: var(--grey-50);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody td {
  padding: 14px 13px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-70);
  vertical-align: middle;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: rgba(0, 107, 211, 0.025);
}

td.code {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

td strong {
  color: var(--ink);
  font-weight: 600;
}

/* Spec list */
.specs {
  border-top: 1px solid var(--line);
}

.specs__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}

.specs__row dt {
  color: var(--ink-55);
}

.specs__row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.specs__group-title {
  margin-top: 34px;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.scroll-hint {
  display: none;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-40);
}

.scroll-hint::after {
  content: " →";
}

/* --------------------------------------------------------------------------
   Chips / pills
   -------------------------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-70);
  background: #fff;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.chip--active,
.chip:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.section--dark .chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-light);
  color: var(--white-70);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%230d0630' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 107, 211, 0.12);
}

.field--error input,
.field--error textarea {
  border-color: #d33;
}

.form__note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-40);
}

.form__success {
  display: none;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 107, 211, 0.2);
  color: var(--blue);
  font-size: 13.5px;
}

.form__success.is-visible {
  display: block;
  animation: fadeUp 0.4s var(--ease-out);
}

/* --------------------------------------------------------------------------
   Misc components
   -------------------------------------------------------------------------- */

/* Numbered advantages */
.adv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.adv__item {
  background: #fff;
  padding: 24px 26px;
  display: flex;
  gap: 16px;
  transition: background 0.3s;
}

.adv__item:hover {
  background: var(--grey-50);
}

.adv__n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  padding-top: 3px;
  flex: none;
}

.adv__item h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.adv__item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-55);
}

.adv__item:last-child:nth-child(odd) {
  grid-column: span 2;
}

/* Case card */
.case {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}

.case img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease-out);
}

.case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 2, 28, 0.15) 0%, rgba(7, 2, 28, 0.86) 72%);
}

.case:hover img {
  transform: scale(1.05);
}

.case__body {
  padding: 26px 28px 28px;
}

.case__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.case__title {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case__text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 44ch;
}

/* Mini metric row */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.metrics > div {
  background: #fff;
  padding: 28px 26px;
}

.metrics--dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.metrics--dark > div {
  background: transparent;
  padding: 26px 24px;
}

.metrics--dark .stat__label {
  color: var(--white-55);
}

.metrics--dark .stat__value {
  color: #fff;
}

/* Product hero media */
.hero-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(46, 155, 240, 0.34), transparent 62%),
    linear-gradient(165deg, #12315f, #0d0630 72%);
}

.hero-media img {
  position: absolute;
  top: 34px;
  left: 34px;
  width: calc(100% - 68px);
  height: calc(100% - 68px);
  object-fit: contain;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
}

.hero-media--cover img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

/* Product family tiles */
.family {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-light);
  overflow: hidden;
  min-height: 380px;
  transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease-out);
}

.family:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-4px);
}

.family__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.family__title {
  margin-top: 14px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.family__text {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--white-55);
  max-width: 34ch;
}

.family__img {
  position: static;
  width: 52%;
  max-height: 200px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.7s var(--ease-out);
}

.family__img--photo {
  aspect-ratio: 4 / 3;
  width: 46%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
}

.family__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 26px;
}

.family:hover .family__img {
  transform: translateY(-6px) scale(1.03);
}

.family__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.family__cta svg {
  width: 13px;
  height: 13px;
}

/* Accordion */
.acc {
  border-top: 1px solid var(--line);
}

.acc__item {
  border-bottom: 1px solid var(--line);
}

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 2px;
  text-align: left;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.acc__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.acc__icon::after {
  transform: rotate(90deg);
}

.acc__item.is-open .acc__icon::after {
  transform: rotate(0deg);
}

.acc__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}

.acc__panel p {
  padding: 0 40px 24px 2px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-55);
  max-width: 72ch;
}

/* Diagram */
.diagram {
  background: var(--grey-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 36px);
}

.diagram svg {
  width: 100%;
  height: auto;
}

.diagram__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-55);
}

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

.diagram__legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .nav__link {
    padding: 10px 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .nav__cta {
    display: none;
  }
  .footer__top {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 0.8fr));
  }
  .footer__brand {
    grid-column: span 3;
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .nav,
  .header__search {
    display: none;
  }
  .burger {
    display: flex;
    margin-left: auto;
  }
  .header__bar {
    padding-right: 16px;
  }
  .page-hero__inner {
    grid-template-columns: 1fr;
  }
  .tabs {
    grid-template-columns: 1fr;
  }
  .tabs__panels {
    order: -1;
  }
  .feature-band__card {
    grid-template-columns: 1fr;
  }
  .feature-band__media {
    min-height: 240px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .family {
    min-height: 360px;
  }
  .family__img {
    width: 48%;
    max-height: 180px;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --r-lg: 20px;
    --r-xl: 24px;
  }
  .header__bar {
    height: 62px;
    border-radius: 14px;
  }
  .brand__mark {
    width: 30px;
    height: 30px;
  }
  .brand__name {
    font-size: 15px;
  }
  .hero {
    padding-top: 132px;
  }
  .hero__actions .btn,
  .cta__actions .btn {
    width: 100%;
  }
  .hero__meta {
    gap: 10px 20px;
    font-size: 10px;
  }
  .adv {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: span 2;
  }
  .metrics > div {
    padding: 22px 18px;
  }
  .metrics--dark {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metrics--dark > div {
    padding: 18px 14px;
  }
  .metrics--dark .stat__value {
    font-size: 24px;
  }
  .metrics--dark .stat__label {
    font-size: 11px;
  }
  .case {
    min-height: 320px;
  }
  .marquee__item {
    padding: 0 18px;
    font-size: 10px;
  }
  .specs__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .family {
    min-height: 400px;
  }
  .family__img {
    width: 54%;
    max-height: 150px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .scroll-hint {
    display: block;
  }
  .section {
    padding-block: clamp(52px, 9vw, 80px);
  }
}

@media (max-width: 420px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__brand {
    grid-column: span 1;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .metrics--dark {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
