@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ───────── tokens ───────── */
:root {
  --navy: #262262;
  --blue: #21498a;
  --sky: #1a7fc2;
  --sky-soft: #e6f1f9;
  --orange: #f7ab59;
  --orange-deep: #e8943a;
  --orange-soft: #fff1df;
  --leaf: #54866f;
  --green: #315244;
  --green-soft: #eaf1ed;
  --ink: #14213a;
  --muted: #4f5f75;
  --faint: #66768b;
  --line: #dbe3eb;
  --line-2: #c4d3e2;
  --paper: #f4f7fa;
  --paper-2: #e9f0f6;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px #26226210, 0 8px 22px -14px #26226244;
  --shadow-md: 0 24px 48px -28px #2622626e;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 76px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button,
a,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  margin-bottom: 0;
}
h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.55rem);
  margin-bottom: 22px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
p {
  color: var(--muted);
  margin-bottom: 22px;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 650;
}
ul,
ol {
  padding-left: 24px;
}
li + li {
  margin-top: 8px;
}
code,
pre {
  font-family: var(--mono);
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
  border-radius: 4px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}
.ico-xl {
  width: 2.2em;
  height: 2.2em;
}

/* ───────── layout ───────── */
.container {
  width: min(100% - 64px, 1216px);
  margin-inline: auto;
}
.section {
  padding-block: 92px;
}
.section-top {
  margin-top: 64px;
}
.tinted {
  background: var(--paper);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.7;
}
.small {
  font-size: 0.84rem;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 12px;
  height: 8px;
  border-radius: 3px;
  background: var(--orange);
  flex: none;
}
.eyebrow .ico {
  display: none;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 44px;
}
.section-heading > div:first-child {
  flex: 1;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > div:last-child:not(:first-child) {
  max-width: 420px;
}
.section-heading p {
  margin: 0;
}
.section-heading .text-link {
  margin-top: 8px;
}
.center-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}
.center-heading h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
}

/* ───────── buttons, links, chips ───────── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 0.94rem;
  color: var(--blue);
  border: 0;
  background: none;
  padding: 8px 0;
  min-height: 44px;
  text-align: left;
}
.text-link .ico {
  transition: transform 0.25s var(--ease);
}
.text-link:hover {
  text-decoration: none;
  color: var(--navy);
}
.text-link:hover .ico {
  transform: translateX(4px);
}
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 650;
}
.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn .ico {
  transition: transform 0.25s var(--ease);
}
.btn:hover .ico {
  transform: translateX(3px);
}
.btn-sm {
  font-size: 0.83rem;
  padding: 10px 15px;
  min-height: 42px;
}
.btn-md {
  font-size: 0.94rem;
  padding: 12px 20px;
}
.btn-lg {
  font-size: 1rem;
  padding: 15px 24px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-accent {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}
.btn-accent:hover {
  background: #f9b976;
  border-color: var(--orange-deep);
  color: var(--navy);
  box-shadow: 0 14px 28px -16px #e8943a;
}
.btn-outline {
  background: #fff;
  border-color: #8dacc6;
  color: var(--blue);
}
.btn-outline:hover {
  background: #edf4f9;
  border-color: var(--blue);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--blue);
}
.btn-ghost:hover {
  background: var(--sky-soft);
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 600;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.chip:hover {
  background: var(--sky-soft);
  border-color: var(--sky);
  text-decoration: none;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  z-index: 100;
  background: #fff;
  padding: 14px 24px;
  border: 2px solid var(--blue);
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}

/* ───────── header and navigation ───────── */
.utility {
  background: var(--navy);
  font-size: 0.72rem;
  color: #d1d6ee;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-height: 32px;
  align-items: center;
}
.utility a {
  color: #d2e9f7;
  font-weight: 600;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fffffff2;
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
  transition:
    box-shadow 0.3s,
    background 0.3s;
  view-transition-name: site-header;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -22px #26226288;
  background: #fffffffa;
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  transition: min-height 0.3s var(--ease);
}
.is-scrolled .header-inner {
  min-height: 66px;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-shrink: 0;
}
.brand img:first-child {
  width: 125px;
}
.brand img:last-child {
  width: 178px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
}
#main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 600;
}
.nav-link,
.nav-group summary {
  color: #2a3a52;
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-group summary::-webkit-details-marker {
  display: none;
}
.nav-link:hover,
.nav-group summary:hover,
.nav-group[open] summary {
  background: var(--paper);
  color: var(--navy);
  text-decoration: none;
}
.nav-link[aria-current="page"],
.nav-group.is-current summary {
  color: var(--blue);
}
.nav-link[aria-current="page"]::after,
.nav-group.is-current summary::after {
  content: "";
  position: absolute;
}
.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.nav-group[open] .nav-chevron {
  transform: rotate(180deg);
}
.nav-group {
  position: relative;
}
.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: 380px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 2px;
  animation: panelIn 0.22s var(--ease);
}
.nav-panel.wide {
  width: 640px;
  grid-template-columns: 1fr 1fr;
}
.nav-panel.right {
  left: auto;
  right: -24px;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.nav-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--ink);
  transition: background 0.2s;
}
.nav-item:hover {
  background: var(--paper);
  text-decoration: none;
}
.nav-item strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.3;
}
.nav-item small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--faint);
  line-height: 1.4;
  margin-top: 2px;
}
.nav-item-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  background: var(--sky-soft);
  color: var(--blue);
}
.language-switch {
  display: flex;
  margin: 0 6px 0 8px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.language-switch a {
  color: var(--muted);
  min-width: 34px;
  min-height: 44px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
.language-switch a[aria-current="true"] {
  color: var(--navy);
  font-weight: 800;
}
.language-switch a:hover {
  text-decoration: none;
  color: var(--blue);
}
.menu-toggle {
  display: none;
}
.mobile-cta {
  display: none;
}

/* ───────── footer ───────── */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr 1.1fr;
  gap: 36px;
}
.footer-brand {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.footer-brand span {
  font-weight: 400;
  color: #c5cde2;
}
.site-footer p {
  font-size: 0.84rem;
  color: #bec8df;
}
.site-footer h2 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  margin: 6px 0 16px;
}
.footer-grid > div > a {
  font-size: 0.8rem;
  color: #d5dcec;
  display: block;
  padding: 5px 0;
  min-height: 32px;
}
.footer-grid > div > a:hover {
  color: #fff;
}
.footer-about > a {
  font-size: 0.8rem;
  color: #bad9ed;
}
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.86rem !important;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid #ffffff25;
  padding-top: 24px;
  margin-top: 48px;
  font-size: 0.72rem;
  color: #b3bfdb;
}
.footer-legal {
  display: flex;
  gap: 22px;
}
.footer-bottom a {
  color: #d5dcec;
}

/* ───────── home hero ───────── */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e8f0f7 0%, #f6f9fc 62%, #fff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#8fb0cf66 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 36%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0, transparent 36%, #000 60%);
}
.hero-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.route {
  fill: none;
  stroke: #bfd0e2;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.junction {
  fill: #fff;
  stroke: #bfd0e2;
  stroke-width: 1.5;
}
.pulse {
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 4 96;
  animation: pulse 10s linear infinite;
}
.pulse-in {
  stroke: var(--sky);
}
.pulse-out {
  stroke: var(--orange-deep);
}
@keyframes pulse {
  from {
    stroke-dashoffset: 4;
  }
  to {
    stroke-dashoffset: -96;
  }
}
.is-paused .pulse,
.is-paused .rs-flow {
  animation-play-state: paused;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: center;
  padding-block: 72px 36px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--green);
}
.hero-kicker .ico {
  color: var(--leaf);
  width: 18px;
  height: 18px;
  padding: 2px;
  border-radius: 50%;
  background: var(--green-soft);
  stroke-width: 2.4;
}
.home-hero h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.042em;
  margin: 0 0 24px;
}
.home-hero h1 span {
  color: var(--blue);
  background: linear-gradient(transparent 84%, #f7ab5977 0);
  padding-inline: 2px;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-demo {
  margin-top: 10px;
}
.hero-points {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-points li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--leaf);
}
.intent-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 8px 34px;
}
.intent-label {
  flex: none;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--ink);
}
.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.intent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: 999px;
  background: #ffffffcc;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  transition:
    transform 0.25s var(--ease),
    border-color 0.2s,
    background 0.2s;
}
.intent-chip .ico {
  color: var(--sky);
}
.intent-chip:hover {
  transform: translateY(-2px);
  border-color: var(--sky);
  background: #fff;
  text-decoration: none;
}

/* router scene */
.router-scene {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(188px, 15vw, 204px) minmax(0, 1fr);
  gap: 0 clamp(30px, 4.6vw, 70px);
  margin-right: calc(-1 * clamp(0px, (100vw - 1216px) / 2 - 24px, 72px));
  align-items: center;
  padding: 10px 0 34px;
}
.rs-col {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.rs-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.rs-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 9px 12px 9px 9px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.28s var(--ease),
    border-color 0.2s,
    box-shadow 0.28s;
}
.rs-node:hover,
.rs-node:focus-visible,
.rs-node.is-hot {
  transform: translateY(-2px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.rs-node[data-dir="out"]:hover,
.rs-node[data-dir="out"]:focus-visible,
.rs-node[data-dir="out"].is-hot {
  border-color: var(--orange-deep);
}
.rs-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
  background: var(--sky-soft);
  color: var(--blue);
}
.rs-node[data-dir="out"] .rs-icon {
  background: var(--orange-soft);
  color: #8f520f;
}
.rs-icon .ico {
  width: 22px;
  height: 22px;
}
.rs-text {
  min-width: 0;
}
.rs-text strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}
.rs-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--faint);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-short {
  display: none;
}
.rs-hub {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 320px;
  justify-content: center;
  padding: 24px 14px 20px;
  text-align: center;
  color: #fff;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  box-shadow: 0 34px 60px -32px #262262bb;
}
.rs-hub-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 1.5px solid #ffffff44;
  background: #ffffff14;
}
.rs-hub-ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid #ffffff44;
  opacity: 0;
}
.rs-hub.is-pulse .rs-hub-ring::after {
  animation: hubPulse 0.9s var(--ease);
}
@keyframes hubPulse {
  from {
    opacity: 0.95;
    transform: scale(0.86);
  }
  to {
    opacity: 0;
    transform: scale(1.32);
  }
}
.rs-hub strong {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.rs-hub-sub {
  font-size: 0.8rem;
  color: #c6d8ee;
}
.rs-steps {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 0.68rem;
  font-weight: 650;
}
.rs-steps li {
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #ffffff30;
  color: #c6d8ee;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.rs-steps li.is-on {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}
.rs-desc {
  margin: 12px 0 0;
  min-height: 4.2em;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #dbe7f6;
  transition: opacity 0.25s;
}
.rs-desc.is-swap {
  opacity: 0;
}
.rs-legend {
  grid-column: 1 / -1;
  display: flex;
  gap: 22px;
  justify-content: center;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 0.74rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.rs-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.rs-legend li::before {
  content: "";
  width: 12px;
  height: 8px;
  border-radius: 3px;
  background: var(--sky);
}
.rs-legend .out::before {
  background: var(--orange);
}
.rs-track {
  fill: none;
  stroke: #cbd9e7;
  stroke-width: 2;
  stroke-linecap: round;
  transition:
    stroke 0.2s,
    stroke-width 0.2s;
}
.rs-flow {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  opacity: 0.6;
  animation: rsDash 1.7s linear infinite;
}
.rs-flow.in {
  stroke: var(--sky);
}
.rs-flow.out {
  stroke: var(--orange-deep);
}
.rs-flow.rev {
  animation-direction: reverse;
}
@keyframes rsDash {
  to {
    stroke-dashoffset: -24;
  }
}
.rs-track.is-hot {
  stroke: var(--sky);
  stroke-width: 2.8;
}
.rs-track.out.is-hot {
  stroke: var(--orange-deep);
}
.rs-flow.is-hot {
  opacity: 1;
}
.rs-packet {
  stroke: #fff;
  stroke-width: 1.6;
  paint-order: stroke;
}
.rs-packet.in {
  fill: var(--sky);
}
.rs-packet.out {
  fill: var(--orange-deep);
}

/* logo marquee */
.client-strip {
  position: relative;
  border-block: 1px solid var(--line);
  background: #ffffffb0;
  padding: 22px 0 26px;
}
.client-strip p {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--faint);
  margin-bottom: 18px;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 64px;
  padding: 0 32px;
  margin: 0;
  list-style: none;
  min-width: 100%;
  justify-content: space-around;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track li {
  margin: 0;
}
.marquee-track img {
  width: 104px;
  height: 36px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.66;
  transition:
    opacity 0.25s,
    filter 0.25s;
}
.marquee-track img:hover {
  opacity: 1;
  filter: none;
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* ───────── home sections ───────── */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--blue);
}
.card-icon .ico {
  width: 24px;
  height: 24px;
}
.solution-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  color: var(--ink);
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.solution-card .card-icon {
  margin-bottom: 18px;
}
.card-route {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--sky);
  margin-bottom: 10px;
}
.solution-card h3 {
  font-size: 1.45rem;
}
.solution-card p {
  font-size: 0.94rem;
}
.audience {
  display: block;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--faint);
  border-top: 1px solid var(--line);
  padding: 14px 0;
  margin-top: auto;
}
.solution-card .text-link {
  padding-bottom: 0;
  min-height: 36px;
}
.sx-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.5fr);
  gap: 26px;
  align-items: start;
}
.sx-tabs {
  display: grid;
  gap: 8px;
}
.sx-tabs button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.25s var(--ease);
}
.sx-tabs button:hover {
  border-color: var(--line-2);
  transform: translateX(2px);
}
.sx-tabs button[aria-selected="true"] {
  border-color: var(--blue);
  background: #f4f8fd;
  box-shadow: inset 4px 0 0 var(--blue);
}
.sx-tabs strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.3;
}
.sx-tabs small {
  display: block;
  font-size: 0.72rem;
  color: var(--faint);
  margin-top: 2px;
}
.sx-tabs .card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.sx-tabs .card-icon .ico {
  width: 20px;
  height: 20px;
}
.sx-panels {
  min-width: 0;
}
.sx-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  animation: panelFade 0.4s var(--ease);
}
.sx-panel + .sx-panel {
  margin-top: 20px;
}
.sx-panel .flow {
  margin-top: 0;
}
.js .sx-panel[hidden] {
  display: none;
}
@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.sx-panel h3 {
  font-size: 1.6rem;
}
.sx-panel .lead {
  font-size: 1.05rem;
}
.sx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  margin-top: 26px;
}
html:not(.js) .sx-tabs {
  display: none;
}

/* pipeline demo */
.pipe {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.7fr);
  gap: 34px;
  align-items: center;
}
.pipe-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pipe-steps li {
  margin: 0;
}
.pipe-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
.pipe-step:hover {
  transform: translateX(2px);
}
.pipe-step.is-on {
  border-color: var(--blue);
  box-shadow: inset 4px 0 0 var(--orange);
}
.pipe-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--paper-2);
  color: var(--blue);
  transition:
    background 0.25s,
    color 0.25s;
}
.pipe-step.is-on .pipe-num {
  background: var(--blue);
  color: #fff;
}
.pipe-step strong {
  display: block;
  font-size: 1.05rem;
}
.pipe-step small {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}
.pipe-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1.25fr) 38px minmax(0, 1fr);
  align-items: stretch;
}
.pipe-card {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 14px 14px;
  opacity: 0.55;
  transform: scale(0.98);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    border-color 0.3s,
    box-shadow 0.4s;
}
.pipe-card.is-on {
  opacity: 1;
  transform: none;
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.pipe-label {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
}
.pipe-card pre {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.6;
  color: #22344d;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}
.pipe-wire {
  position: relative;
  align-self: center;
  height: 2px;
  background: repeating-linear-gradient(90deg, #bccee0 0 5px, transparent 5px 10px);
}
.pipe-wire i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 2.5px;
  background: var(--orange-deep);
  box-shadow: 0 0 0 1.5px #fff;
  opacity: 0;
}
.pipe[data-step="1"] .pipe-wire:nth-of-type(1) i,
.pipe[data-step="2"] .pipe-wire:nth-of-type(2) i {
  animation: packet 1.4s var(--ease) infinite;
}
.pipe-targets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pipe-targets li {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 0.74rem;
}
.pipe-targets .ico {
  color: var(--blue);
  width: 20px;
  height: 20px;
}
.pipe-targets strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.2;
}
.pipe-targets small {
  display: block;
  font-size: 0.68rem;
  color: var(--faint);
  line-height: 1.3;
  word-break: break-word;
}
.pipe-note {
  margin: 22px 0 0;
  font-size: 0.78rem;
  color: var(--faint);
}
@keyframes packet {
  0% {
    left: 0;
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 10px);
    opacity: 0;
  }
}

/* connector tiles and tool previews */
.connector-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.connector-tile {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: #fff;
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.connector-tile:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.connector-tile .card-icon {
  margin-bottom: 16px;
}
.connector-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.connector-tile p {
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.tile-count {
  margin-top: auto;
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--blue);
}
.tool-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-preview {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.tool-preview:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.tool-preview h3 {
  font-size: 1.2rem;
  margin: 18px 6px 8px;
}
.tool-preview p {
  margin: 0 6px 12px;
  font-size: 0.88rem;
}
.tool-preview .text-link {
  margin: auto 6px 0;
  min-height: 36px;
}
.tp-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
.tp-flow {
  gap: 0;
  padding: 0 14px;
  font-size: 0.72rem;
}
.tp-flow b,
.tp-flow em {
  flex: none;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-style: normal;
  font-weight: 700;
}
.tp-flow em {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.tp-flow i {
  position: relative;
  flex: 1;
  height: 2px;
  min-width: 14px;
  background: repeating-linear-gradient(90deg, #b7cbe0 0 4px, transparent 4px 8px);
}
.tp-flow i::after {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 8px;
  height: 6px;
  border-radius: 2px;
  background: var(--sky);
  animation: packet 2.2s var(--ease) infinite;
}
.tp-gauge svg {
  width: 150px;
  position: absolute;
  top: 18px;
}
.tp-gauge strong {
  position: absolute;
  bottom: 14px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.g-track {
  fill: none;
  stroke: #d8e4ee;
  stroke-width: 10;
  stroke-linecap: round;
}
.g-value {
  fill: none;
  stroke: var(--blue);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--v));
  transition: stroke-dashoffset 1.3s var(--ease) 0.2s;
}
.js .tool-preview:not(.is-in) .g-value {
  stroke-dashoffset: 100;
}
.tp-chart svg {
  width: 82%;
}
.c-area {
  fill: #1a7fc21f;
}
.c-line {
  fill: none;
  stroke: var(--sky);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s var(--ease) 0.2s;
}
.js .tool-preview:not(.is-in) .c-line {
  stroke-dashoffset: 100;
}
.tp-segments {
  display: grid;
  grid-template-columns: repeat(6, 22px);
  gap: 8px;
  justify-content: center;
  align-content: center;
}
.tp-segments i {
  height: 22px;
  border-radius: 6px;
  background: #d3e0ec;
  transition: background 0.3s calc(var(--i) * 70ms + 200ms);
}
.tool-preview.is-in .tp-segments i:nth-child(-n + 8) {
  background: var(--leaf);
}
.tp-code {
  justify-content: flex-start;
  padding: 0 18px;
}
.tp-code code {
  font-size: 0.76rem;
  line-height: 1.7;
  color: #22344d;
}
.glossary-teaser {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 34px 38px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.glossary-teaser h2 {
  font-size: 1.7rem;
  margin: 0;
}
.glossary-teaser .chip-row {
  margin-bottom: 8px;
}
.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-wrap h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}
.faq-wrap .faq {
  margin: 0;
  max-width: none;
}
.clients-section {
  background: #f7f9fb;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.client-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
}
.client-grid img {
  height: 48px;
  width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  margin-bottom: 16px;
}
.client-grid strong {
  font-size: 0.9rem;
}
.client-grid span {
  font-size: 0.74rem;
  color: var(--faint);
}
.client-disclaimer {
  max-width: 720px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--faint);
}
.cta {
  background: linear-gradient(180deg, #eef4f9, #f6f9fc);
  border-top: 1px solid var(--line);
  padding-block: 68px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.cta-inner > div:first-child {
  max-width: 740px;
}
.cta h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  margin-bottom: 14px;
}
.cta p {
  max-width: 640px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}

/* ───────── page intro ───────── */
.page-intro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e8f0f7, #f4f8fb);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 64px;
}
.page-intro .hero-bg {
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
}
.page-intro .container {
  position: relative;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--faint);
  font-size: 0.76rem;
  align-items: center;
  margin-bottom: 44px;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb span[aria-current] {
  color: var(--ink);
  font-weight: 600;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 64px;
  align-items: end;
}
.intro-grid h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
}
.intro-grid .eyebrow .ico {
  display: inline-block;
  color: var(--blue);
  width: 18px;
  height: 18px;
}
.intro-grid .eyebrow::before {
  display: none;
}
.intro-description p {
  font-size: 1.06rem;
  line-height: 1.7;
}
.intro-description .inline-links {
  margin-top: 18px;
}
.page-intro h1 {
  animation: riseIn 0.7s var(--ease) both;
}
.page-intro .intro-description {
  animation: riseIn 0.7s var(--ease) 0.1s both;
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ───────── cards ───────── */
.guide-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-grid.single {
  grid-template-columns: 1fr;
}
.guide-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
}
.guide-card h3 {
  font-size: 1.28rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
.guide-card h3 a {
  color: var(--ink);
}
.guide-card h3 a:hover {
  color: var(--blue);
  text-decoration: none;
}
.guide-card p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.guide-card > .text-link {
  margin-top: auto;
  align-self: flex-start;
}
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--faint);
  margin-bottom: 16px;
}
.guide-meta > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 650;
}
.featured-guide {
  grid-column: span 2;
  padding: 38px;
  background: var(--navy);
  border-color: var(--navy);
  position: relative;
  overflow: hidden;
}
.featured-guide::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 280px;
  height: 160px;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 38px 6px no-repeat,
    linear-gradient(#ffffff55, #ffffff55) 50px 0 / 140px 6px no-repeat;
  opacity: 0.0;
}
.featured-guide h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  max-width: 640px;
}
.featured-guide h3 a {
  color: #fff;
}
.featured-guide h3 a:hover {
  color: var(--orange);
}
.featured-guide p {
  color: #d5d9e9;
  max-width: 540px;
  font-size: 1rem;
}
.featured-guide .guide-meta,
.featured-guide .guide-meta > span:first-child {
  color: #bac7e0;
}
.featured-guide .text-link {
  color: var(--orange);
}
.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
}
.article-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.article-card:hover .article-cover img {
  transform: scale(1.04);
}
.article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.article-card h3 {
  font-size: 1.22rem;
  line-height: 1.3;
}
.article-card h3 a {
  color: var(--ink);
}
.article-card h3 a:hover {
  color: var(--blue);
  text-decoration: none;
}
.article-card p {
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.article-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}
.article-card.is-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.article-keys {
  padding: 36px;
  background: linear-gradient(160deg, var(--sky-soft), var(--paper-2));
  border-right: 1px solid var(--line);
}
.article-keys ul {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.article-card.is-featured .article-body {
  padding: 36px;
  justify-content: center;
}
.article-card.is-featured h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.topic-grid.large {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.topic-card:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.topic-card .card-icon {
  margin-bottom: 16px;
}
.topic-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.topic-card p {
  font-size: 0.84rem;
  margin-bottom: 14px;
}
.topic-grid.large h3 {
  font-size: 1.35rem;
}
.topic-grid.large p {
  font-size: 0.92rem;
}
.topics-strip {
  padding-block: 64px 12px;
}
.topics-strip .section-heading {
  margin-bottom: 30px;
}
.term-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.term-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.term-card:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.term-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--faint);
}
.term-topic .ico {
  width: 14px;
  height: 14px;
}
.term-card strong {
  font-size: 1.12rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.term-card p {
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.term-card .text-link {
  margin-top: auto;
  min-height: 34px;
  font-size: 0.84rem;
}
.term-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #1a7fc288;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.term-link:hover {
  color: var(--blue);
  text-decoration-color: var(--blue);
}
.definition {
  margin: 0 0 32px;
  padding: 22px 26px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--orange-soft);
  font-size: 1.14rem;
  line-height: 1.7;
  color: var(--ink);
}
.definition .eyebrow {
  margin-bottom: 8px;
  color: #8f520f;
}
.definition .eyebrow::before {
  display: none;
}
.router-note {
  display: flex;
  gap: 18px;
  margin: 40px 0 24px;
  padding: 24px 26px;
  border: 1px solid #c8d9ea;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #f1f7fc, #fff);
}
.router-note h2,
.prose .router-note h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
  line-height: 1.3;
}
.router-note p {
  font-size: 0.97rem;
  margin-bottom: 12px;
}
.router-note-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plugin-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.plugin-card:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
}
.plugin-card .card-icon {
  margin-bottom: 16px;
}
.plugin-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.plugin-card p {
  font-size: 0.9rem;
}
.plugin-card .text-link {
  margin-top: auto;
  font-size: 0.84rem;
}
.related {
  padding: 8px 0 76px;
  max-width: 1216px;
  margin-inline: auto;
  width: min(100% - 64px, 1216px);
}
.related h2 {
  font-size: 1.7rem;
  margin-bottom: 22px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition:
    transform 0.25s var(--ease),
    border-color 0.2s,
    box-shadow 0.25s;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--sky);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.related-card > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.related-card small {
  display: block;
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--sky);
}
.related-card strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
}
.related-card > .ico {
  color: var(--blue);
  transition: transform 0.25s var(--ease);
}
.related-card:hover > .ico {
  transform: translateX(4px);
}
.related-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--blue);
}
.related-terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
}
.related-terms > span {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink);
}
.related-terms .chip-row {
  margin: 0;
}
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.download-card {
  display: flex;
  gap: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--ink);
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.download-card:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.download-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}
.download-card p {
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.pdf-icon {
  height: 88px;
  width: 64px;
  border: 1.5px solid #94aec4;
  border-radius: 4px 16px 4px 4px;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--blue);
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff, #f1f7fc);
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s;
}
.download-card:hover .pdf-icon {
  transform: rotate(-3deg) translateY(-2px);
  border-color: var(--blue);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 36px;
}
.pagination a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.pagination a[aria-current] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* filter bars */
.filter-bar {
  display: flex;
  gap: 16px 22px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.filter-bar .grow {
  flex: 1 1 280px;
}
.filter-bar p {
  font-size: 0.8rem;
  white-space: nowrap;
  padding-bottom: 12px;
  margin: 0;
}
.search-field {
  position: relative;
  display: block;
  margin-top: 8px;
}
.search-field .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  margin-top: -9px;
  width: 18px;
  height: 18px;
  color: var(--faint);
  pointer-events: none;
}
.search-field input {
  margin-top: 0;
  padding-left: 42px;
}
.chip-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.chip-radio {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.chip-radio input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  cursor: pointer;
}
.chip-radio span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.chip-radio:hover span {
  border-color: var(--sky);
}
.chip-radio input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.chip-radio input:focus-visible + span {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.js .no-js-only {
  display: none;
}
.results-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.results-heading h2 {
  font-size: 1.5rem;
  margin: 0;
}
.results-heading > span {
  font-size: 0.78rem;
  color: var(--faint);
}
.empty-state {
  text-align: center;
  padding: 56px 24px;
  background: var(--paper);
  border-radius: var(--radius-lg);
}
.empty-state h2,
.empty-state h3 {
  font-size: 1.5rem;
}
.note {
  padding: 20px 24px;
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #eef5fa;
  font-size: 0.86rem;
  margin-top: 34px;
}

/* ───────── faq ───────── */
.faq {
  max-width: 880px;
  margin-top: 64px;
}
.faq h2 {
  font-size: 1.8rem;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 650;
  cursor: pointer;
  padding: 20px 4px;
  min-height: 60px;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--blue);
}
.faq-ico {
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}
.faq details[open] .faq-ico {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 4px 22px;
  animation: panelFade 0.35s var(--ease);
}
.faq-answer p {
  font-size: 0.96rem;
  max-width: 740px;
}

/* ───────── article, prose, aside ───────── */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 320px);
  gap: 80px;
  align-items: start;
  justify-content: space-between;
}
.article-layout > div:first-child,
.article-layout > .prose,
.article-layout > .article-aside {
  min-width: 0;
}
.article-layout .flow {
  margin-block: 36px 48px;
}
.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
.aside-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 20px;
  background: var(--paper);
}
.aside-box.plain {
  background: #fff;
}
.aside-box h2 {
  font-size: 1.4rem;
}
.aside-box p {
  font-size: 0.88rem;
}
.aside-box .btn {
  width: 100%;
  margin-top: 10px;
  font-size: 0.88rem;
}
.aside-box .text-link {
  margin-top: 8px;
}
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 40px;
}
.numbered-list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  margin: 0;
}
.numbered-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.numbered-list li > span {
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 700;
}
.numbered-list strong {
  font-size: 1.02rem;
}
.numbered-list h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.numbered-list p {
  font-size: 0.96rem;
}
.acceptance {
  border-left: 4px solid var(--leaf);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--green-soft);
  margin: 22px 0 48px;
}
.acceptance .eyebrow {
  color: var(--green);
}
.acceptance .eyebrow::before {
  background: var(--leaf);
}
.signal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.signal-list li {
  margin: 0;
  padding: 14px 16px 14px 42px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.92rem;
  line-height: 1.5;
}
.signal-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 12px;
  height: 8px;
  border-radius: 3px;
  background: var(--sky);
}
.steps-3 {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 14px;
  counter-reset: s;
}
.steps-3 li {
  margin: 0;
  position: relative;
  padding: 20px 22px 20px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff;
}
.steps-3 li:nth-child(2) {
  border-left-color: var(--sky);
}
.steps-3 li:nth-child(3) {
  border-left-color: var(--orange);
}
.step-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.steps-3 p {
  margin: 0;
  font-size: 0.95rem;
}
.steps-3.vertical {
  margin: 22px 0 28px;
}
.prose {
  font-size: 1.06rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: 1.7rem;
  line-height: 1.3;
  margin: 46px 0 20px;
  letter-spacing: -0.025em;
}
.prose h3 {
  margin: 30px 0 14px;
}
.prose p,
.prose li {
  color: #3f4f68;
}
.prose p {
  margin-bottom: 22px;
}
.prose ul,
.prose ol {
  margin: 0 0 24px;
}
.prose a:not(.btn):not(.chip) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose img {
  border-radius: var(--radius);
  margin-block: 24px;
}
.prose table {
  display: block;
  max-width: 100%;
  overflow: auto;
  border-collapse: collapse;
}
.prose td,
.prose th {
  border: 1px solid var(--line);
  padding: 10px;
}
.prose code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper-2);
  font-size: 0.88em;
  color: #1b2f4b;
}
.prose pre.code {
  overflow: auto;
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #121a2e;
  color: #dbe7f6;
  font-size: 0.84rem;
  line-height: 1.7;
}
.prose pre.code code {
  padding: 0;
  background: none;
  color: inherit;
}
.callout {
  padding: 16px 20px;
  border-left: 4px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #eef5fa;
  color: #2a3b55 !important;
  font-size: 0.97rem;
}
.article-meta {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.article-meta span,
.article-meta time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.article-meta + section > h2,
.article-meta + .article-intro + section > h2 {
  margin-top: 32px;
}
.article-intro {
  font-size: 1.15rem;
  margin-top: 28px;
}
.key-points {
  margin: 28px 0 8px;
  padding: 22px 26px;
  border: 1px solid #c9dcec;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #f1f7fc, #fff);
}
.key-points h2 {
  font-size: 1.15rem !important;
  margin: 0 0 12px !important;
}
.key-points ul {
  margin: 0;
  padding-left: 20px;
}
.key-points li {
  color: #31425b;
  font-size: 0.97rem;
  line-height: 1.65;
}
.toc {
  border-top: 2px solid var(--navy);
  padding-top: 20px;
  margin-bottom: 30px;
}
.toc a {
  display: flex;
  gap: 14px;
  padding: 9px 0 9px 12px;
  margin-left: -12px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.toc a:hover {
  text-decoration: none;
  color: var(--blue);
}
.toc a.is-active {
  color: var(--navy);
  font-weight: 650;
  border-left-color: var(--orange);
}
.toc a > span {
  color: var(--sky);
  font-size: 0.68rem;
  margin-top: 3px;
}
.sources {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 4px;
}
.sources p,
.sources li {
  font-size: 0.86rem;
}
.article-actions {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}
.pager a {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  transition:
    border-color 0.2s,
    transform 0.25s var(--ease);
}
.pager a:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
  text-decoration: none;
}
.pager small {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--sky);
  margin-bottom: 4px;
}
.pager strong {
  font-size: 0.94rem;
  line-height: 1.35;
}
.pager-next {
  text-align: right;
  grid-column: 2;
}
.pager-prev {
  grid-column: 1;
}
.read-progress {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 70;
  pointer-events: none;
}
.read-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--sky), var(--orange));
  transform-origin: left;
  transform: scaleX(0);
}
.legal-prose {
  max-width: 820px;
}

/* ───────── product, pricing, services ───────── */
.product-workflow {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--paper);
}
.step-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  padding: 20px;
  color: var(--muted);
  transition:
    border-color 0.2s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
.step-button:hover {
  transform: translateY(-2px);
}
.step-button > span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--sky);
  display: block;
  margin-bottom: 12px;
}
.step-button strong {
  font-size: 1.2rem;
  color: var(--ink);
  display: block;
}
.step-button small {
  display: block;
  font-size: 0.78rem;
  margin-top: 4px;
}
.step-button[aria-pressed="true"] {
  border-color: var(--blue);
  box-shadow: inset 0 4px var(--orange);
}
.product-workflow .flow {
  max-width: 800px;
  margin: 36px auto 22px;
}
.step-detail {
  max-width: 800px;
  margin: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  min-height: 92px;
  color: var(--muted);
}
.anatomy {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: a;
}
.anatomy li {
  position: relative;
  margin: 0;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.anatomy li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -19px;
  width: 20px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px);
}
.anatomy-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--blue);
  margin-bottom: 18px;
}
.anatomy-num {
  position: absolute;
  top: 24px;
  right: 22px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--line-2);
}
.anatomy h3 {
  font-size: 1.15rem;
}
.anatomy p {
  font-size: 0.9rem;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.audience-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.audience-card .card-icon {
  margin-bottom: 16px;
  background: #fff;
}
.audience-card h3 {
  font-size: 1.1rem;
}
.audience-card p {
  font-size: 0.88rem;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2354866f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.pricing-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
}
.quote-box {
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 34px;
  background: var(--paper);
  align-self: start;
}
.quote-box h2 {
  font-size: 1.9rem;
}
.quote-box > .btn {
  width: 100%;
  margin-bottom: 8px;
}
.quote-box > a.small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  text-decoration: underline;
}
.quote-box p.small {
  margin-top: 14px;
}
.demo-form {
  display: grid;
  gap: 16px;
  margin: 8px 0 22px;
}
.demo-form .btn {
  width: 100%;
}
.demo-status {
  margin: 0;
  font-size: 0.9rem;
}
.demo-status:not(:empty) {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
}
.service-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: sv;
}
.service-list li {
  position: relative;
  margin: 0;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.service-list .card-icon {
  margin-bottom: 16px;
}
.service-list h3 {
  font-size: 1.2rem;
}
.service-list p {
  font-size: 0.9rem;
}
.service-list strong {
  font-size: 0.78rem;
  color: var(--blue);
  display: block;
  line-height: 1.6;
}
.card-number {
  position: absolute;
  top: 24px;
  right: 22px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--line-2);
}
.choose {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding: 34px 38px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.choose h2 {
  font-size: 1.8rem;
  margin: 0;
}
.choose .lead {
  font-size: 1.04rem;
}
.topic-intro p {
  font-size: 1.05rem;
}
.topic-connectors {
  margin-top: 10px;
}

/* ───────── forms ───────── */
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2c3d56;
}
label > span[aria-hidden] {
  color: #c2570c;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #b6c5d5;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 11px 14px;
  margin-top: 8px;
  font-weight: 400;
  font-size: 0.96rem;
  line-height: 1.5;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #8aa4bd;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--sky);
  outline: 0;
  box-shadow: 0 0 0 3px #1a7fc230;
}
input.is-invalid,
textarea.is-invalid {
  border-color: #d3702a;
  box-shadow: 0 0 0 3px #f7ab5933;
}
textarea {
  resize: vertical;
  min-height: 140px;
}
select {
  min-width: 0;
  max-width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #7b8799;
  font-size: 0.88rem;
}
input[type="number"] {
  font-variant-numeric: tabular-nums;
}
.field-meta {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--faint);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid > * {
  min-width: 0;
}
.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.contact-layout h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 650;
  overflow-wrap: anywhere;
  padding: 14px 18px;
  margin: 4px 0 8px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.2s,
    transform 0.25s var(--ease);
}
.contact-email:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
  text-decoration: none;
}
.contact-next,
.contact-share {
  margin: 36px 0;
}
.contact-next h3,
.contact-share h3 {
  font-size: 1.05rem;
}
.contact-next li {
  font-size: 0.9rem;
  color: var(--muted);
}
.contact-form,
.demo-box {
  background: var(--paper);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-form {
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-form .btn[type="submit"] {
  width: 100%;
}
#contact-status:not(:empty) {
  padding: 18px;
  border: 1px solid #99b8ab;
  border-radius: 10px;
  background: #ecf4ef;
  font-size: 0.92rem;
  animation: panelFade 0.35s var(--ease);
}
#contact-status.error {
  border-color: #d6a268;
  background: #fff6e8;
}

/* ───────── animated flow component ───────── */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(34px, 76px) minmax(0, 1.1fr) minmax(34px, 76px) minmax(0, 1fr);
  align-items: center;
  margin: 28px 0;
}
.flow-node {
  min-width: 0;
  padding: 16px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.flow-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--faint);
  margin-bottom: 4px;
}
.flow-node strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.flow-router {
  min-width: 0;
  padding: 18px 10px;
  text-align: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--navy), var(--blue));
  box-shadow: 0 22px 36px -24px #262262cc;
}
.flow-router img {
  margin: 0 auto 10px;
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.flow-router strong {
  display: block;
  font-size: 0.95rem;
}
.flow-router small {
  display: block;
  margin-top: 6px;
  font-size: 0.6rem;
  line-height: 1.4;
  color: #d3d6ec;
}
.flow-wire {
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, #bccee0 0 5px, transparent 5px 10px);
}
.flow-wire i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 2.5px;
  background: var(--sky);
  box-shadow: 0 0 0 1.5px #fff;
  animation: packet 2.6s var(--ease) infinite;
}
.flow-wire.out i {
  background: var(--orange-deep);
}
.flow-wire i:nth-child(2) {
  animation-delay: -1.3s;
}
.flow-wire i:first-child {
  animation-delay: -0.2s;
}

/* ───────── tools ───────── */
.tool-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 34px;
}
.tool-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.tool-nav a:hover {
  background: var(--paper);
  text-decoration: none;
  color: var(--blue);
}
.tool-nav a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    box-shadow 0.3s;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.tool-card .card-icon {
  margin-bottom: 18px;
}
.tool-card h2 {
  font-size: 1.5rem;
}
.tool-card p {
  font-size: 0.94rem;
}
.tool-card .text-link {
  margin-top: auto;
}
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.tool-layout > * {
  min-width: 0;
}
.tool-inputs {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
}
.tool-inputs h2 {
  font-size: 1.5rem;
}
.tool-inputs > p {
  font-size: 0.88rem;
}
.tool-inputs > label,
.tool-inputs > .form-grid,
.tool-inputs > div > .form-grid,
.tool-inputs > fieldset {
  margin-bottom: 22px;
}
.preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
}
.preset-row > span {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--faint);
  margin-right: 4px;
}
.preset {
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.preset:hover {
  background: var(--sky-soft);
  border-color: var(--sky);
}
.preset[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.input-unit {
  display: flex;
  align-items: stretch;
  margin-top: 8px;
}
.input-unit input {
  min-width: 0;
  flex: 1;
  margin-top: 0;
  border-radius: 9px 0 0 9px;
}
.input-unit > span {
  display: grid;
  place-items: center;
  min-width: 52px;
  padding: 8px 10px;
  border: 1px solid #b6c5d5;
  border-left: 0;
  border-radius: 0 9px 9px 0;
  background: var(--paper-2);
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--muted);
}
.hint {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--faint);
}
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 8px;
}
.tool-result {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 30px;
  border: 1px solid #c7dcec;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #eef5fa, #f6fafd);
}
.tool-result h2 {
  font-size: 1.4rem;
}
.tool-result p {
  font-size: 0.91rem;
}
.tool-result li {
  font-size: 0.88rem;
  color: var(--muted);
}
.tool-result .flow {
  margin: 16px 0 22px;
}
.tool-result .flow-node {
  padding: 12px 6px;
}
.tool-result .flow-router {
  padding: 14px 6px;
}
.tool-result .flow-node strong {
  font-size: 0.8rem;
}
.result-actions {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 22px 0;
}
.tool-result .small {
  margin-top: 20px;
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.result-heading .eyebrow {
  margin: 0;
}
.gauge {
  position: relative;
  max-width: 300px;
  margin: 6px auto 20px;
}
.gauge svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.gauge .g-track,
.gauge .g-value {
  stroke-width: 15;
}
.gauge .g-value {
  transition:
    stroke-dashoffset 0.9s var(--ease),
    stroke 0.4s;
}
.gauge-text {
  position: absolute;
  inset: auto 0 0;
  text-align: center;
  line-height: 1;
}
.gauge-text strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  letter-spacing: -0.05em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.gauge-text span {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--blue);
}
.big-result {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 22px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.big-result strong {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.big-result span {
  font-size: 1.1rem;
  color: var(--blue);
}
.factor-list {
  display: grid;
  gap: 16px;
}
.factor {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  font-size: 0.86rem;
}
.factor strong {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.factor small {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: var(--faint);
}
.bar {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 5px;
  background: #d6e3ee;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 5px;
  background: var(--blue);
  transition: width 0.8s var(--ease);
}
.bar.good i {
  background: var(--leaf);
}
.bar.warn i {
  background: var(--orange-deep);
}
.loss {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #c7dcec;
}
.loss h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}
.loss-bar {
  display: flex;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: #d6e3ee;
  gap: 2px;
}
.loss-bar i {
  display: block;
  height: 100%;
  min-width: 2px;
  transition: width 0.8s var(--ease);
}
.seg-good {
  background: var(--leaf);
}
.seg-quality {
  background: #8d6bd0;
}
.seg-perf {
  background: var(--orange);
}
.seg-down {
  background: #d1584a;
}
.loss-legend {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.loss-legend li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  font-size: 0.82rem;
}
.loss-legend li::before {
  content: "";
  width: 12px;
  height: 8px;
  border-radius: 3px;
  background: var(--c);
}
.loss-legend b {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 650;
}
.chart-box {
  margin: 8px 0 18px;
  padding: 14px 10px 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d3e2ee;
}
.chart-box svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart-box text {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 10px;
  fill: #66768b;
}
.chart-grid {
  stroke: #e3ebf2;
  stroke-width: 1;
}
.chart-axis {
  stroke: #9fb3c6;
  stroke-width: 1;
}
.chart-area {
  fill: #1a7fc22b;
}
.chart-line {
  fill: none;
  stroke: var(--sky);
  stroke-width: 2.4;
  stroke-linejoin: round;
}
.chart-down {
  fill: #d1584a1c;
}
.chart-peak {
  fill: var(--orange-deep);
  stroke: #fff;
  stroke-width: 2;
}
.chart-label {
  font-weight: 650;
  fill: #26364f !important;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat {
  padding: 12px 12px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d3e2ee;
}
.stat span {
  display: block;
  font-size: 0.7rem;
  color: var(--faint);
  line-height: 1.35;
}
.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.ring {
  position: relative;
  width: 148px;
  height: 148px;
  flex: none;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 11;
  stroke-linecap: round;
}
.ring .r-track {
  stroke: #d6e3ee;
}
.ring .r-value {
  stroke: var(--leaf);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.8s var(--ease);
}
.ring strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.ready-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}
.ready-top h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.ready-top p {
  margin: 0;
}
.group-progress {
  display: grid;
  gap: 12px;
  margin: 0 0 6px;
}
.group-progress .factor strong {
  color: var(--green);
}
.next-list {
  margin: 14px 0 0;
  padding-left: 20px;
}
.next-list a {
  font-weight: 600;
}
.chip-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
.chip-select legend {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2c3d56;
  padding: 0;
  margin-bottom: 8px;
  float: left;
  width: 100%;
}
.plan-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #c7dcec;
}
.plan-block h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.plan-block ul {
  margin: 0;
  padding-left: 20px;
}
.plan-links {
  display: grid;
  gap: 8px;
}
.plan-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d3e2ee;
  border-radius: 10px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.plan-links a:hover {
  border-color: var(--sky);
  text-decoration: none;
}
.plan-links .ico {
  color: var(--blue);
}
.codebox {
  margin: 0 0 18px;
  border: 1px solid #1b2742;
  border-radius: 12px;
  background: #121a2e;
  overflow: hidden;
}
.codebox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid #25324e;
  font-size: 0.72rem;
  font-weight: 650;
  color: #9db3d0;
}
.codebox-head button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #34456a;
  border-radius: 8px;
  background: transparent;
  color: #d5e2f3;
  font-size: 0.74rem;
  font-weight: 600;
  transition: background 0.2s;
}
.codebox-head button:hover {
  background: #1d2a47;
}
.codebox pre {
  margin: 0;
  padding: 16px;
  overflow: auto;
  max-height: 340px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #dbe7f6;
  tab-size: 2;
}
.check-results {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.check-results li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d3e2ee;
  font-size: 0.84rem;
  line-height: 1.5;
}
.check-results li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2354866f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
.check-results li.is-bad {
  border-color: #efc9a0;
  background: #fff7ec;
}
.check-results li.is-bad::before {
  background: #fde3c4
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4570c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6v7M12 17.5v.5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
.tool-result [role="alert"]:not(:empty) {
  margin: 14px 0;
  padding: 14px 16px;
  background: #fff4e5;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  color: #503b23;
  font-size: 0.88rem;
}
.formula-box {
  max-width: 900px;
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.formula-box h2 {
  font-size: 1.45rem;
}
.formula-box p {
  font-size: 0.92rem;
}
.tool-privacy {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--faint);
  margin-top: 34px;
}
.tool-privacy .ico {
  color: var(--leaf);
}
.tool-inputs fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
  padding: 18px 0 0;
}
.tool-inputs legend {
  font-size: 0.88rem;
  font-weight: 700;
  padding-right: 14px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 8px 0;
}
.checkbox-label input {
  appearance: auto;
  display: inline-block;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.mini-result {
  display: none;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ───────── motion ───────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* Safety net: if scripts fail, revealed content still appears. */
.js [data-reveal]:not(.is-in) {
  animation: forceShow 0.01s 4s forwards;
}
@keyframes forceShow {
  to {
    opacity: 1;
    transform: none;
  }
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
    flex-wrap: wrap;
    justify-content: center;
  }
  .marquee-track:nth-child(2) {
    display: none;
  }
  .flow-wire i,
  .pipe-wire i {
    display: none;
  }
}

@keyframes packetV {
  0% {
    top: 0;
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 7px);
    opacity: 0;
  }
}

/* ───────── responsive ───────── */
@media (min-width: 1400px) {
  #main-nav {
    gap: 6px;
  }
}
@media (max-width: 1280px) {
  .nav-panel.wide {
    width: 580px;
  }
  .footer-grid {
    gap: 28px;
  }
  .article-layout {
    gap: 56px;
  }
  .brand img:first-child {
    width: 110px;
  }
  .brand img:last-child {
    width: 156px;
    padding-left: 11px;
  }
  .nav-link,
  .nav-group summary {
    padding: 0 9px;
  }
}
@media (max-width: 1120px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 70px;
  }
  .is-scrolled .header-inner {
    min-height: 64px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy);
  }
  .menu-toggle .ico-close,
  .menu-toggle[aria-expanded="true"] .ico-menu {
    display: none;
  }
  .menu-toggle[aria-expanded="true"] .ico-close {
    display: inline-block;
  }
  #main-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 22px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .js #main-nav {
    display: none;
  }
  .js #main-nav.is-open {
    display: flex;
    animation: panelFade 0.3s var(--ease);
  }
  .nav-link,
  .nav-group summary {
    justify-content: space-between;
    padding: 0 10px;
    min-height: 48px;
  }
  .nav-panel,
  .nav-panel.wide,
  .nav-panel.right {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    padding: 2px 0 10px 6px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    animation: none;
  }
  .language-switch {
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .nav-cta {
    margin-top: 10px;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-about {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}
@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 52px;
    gap: 40px;
  }
  .hero-lead {
    max-width: 620px;
  }
  .router-scene {
    max-width: 720px;
    width: 100%;
    margin-right: 0;
  }
  .home-hero .hero-bg {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 30%, #000 56%);
    mask-image: linear-gradient(180deg, transparent 0, transparent 30%, #000 56%);
  }
}
@media (max-width: 1020px) {
  .container {
    width: calc(100% - 48px);
  }
  .related {
    width: calc(100% - 48px);
  }
  .section {
    padding-block: 72px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 34px;
  }
  .section-heading > div:last-child:not(:first-child) {
    max-width: none;
  }
  .solution-grid,
  .guide-grid,
  .article-grid,
  .plugin-grid,
  .connector-tiles,
  .tool-previews,
  .tool-grid,
  .term-grid,
  .related-grid,
  .service-list,
  .anatomy,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-guide {
    grid-column: 1 / -1;
  }
  .article-card.is-featured {
    grid-template-columns: 1fr;
  }
  .article-keys {
    padding: 24px 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .article-card.is-featured .article-body {
    padding: 26px;
  }
  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .topic-grid.large {
    grid-template-columns: repeat(2, 1fr);
  }
  .anatomy li:not(:last-child)::after {
    display: none;
  }
  .sx-layout,
  .pipe {
    grid-template-columns: 1fr;
  }
  .sx-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 24px 8px;
    margin-inline: -24px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .sx-tabs button {
    flex: none;
    width: auto;
    min-width: 240px;
    scroll-snap-align: start;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .article-aside {
    position: static;
  }
  .article-aside.has-toc {
    order: -1;
  }
  .has-toc .aside-box {
    display: none;
  }
  .has-toc .toc {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px 6px;
    border-top: 0;
    scrollbar-width: thin;
  }
  .has-toc .toc .eyebrow {
    display: none;
  }
  .has-toc .toc a {
    flex: none;
    margin: 0;
    padding: 8px 14px;
    white-space: nowrap;
    border: 1px solid var(--line-2);
    border-radius: 999px;
  }
  .has-toc .toc a.is-active {
    border-color: var(--blue);
    background: var(--sky-soft);
  }
  .pricing-layout,
  .contact-layout,
  .glossary-teaser,
  .choose,
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .glossary-teaser,
  .choose {
    padding: 26px;
  }
  .tool-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tool-result {
    position: static;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pipe-stage {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.25fr) 30px minmax(0, 1fr);
  }
  .mini-result {
    display: flex;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 54;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--navy);
    color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(140%);
    transition: transform 0.35s var(--ease);
  }
  .mini-result.is-on {
    transform: none;
  }
  .mini-result strong {
    font-size: 1.4rem;
    letter-spacing: -0.03em;
  }
  .mini-result span {
    flex: 1;
    font-size: 0.82rem;
    color: #cfd8ec;
  }
  .mini-result button {
    min-height: 40px;
    padding: 6px 14px;
    border: 1px solid #ffffff55;
    border-radius: 9px;
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 650;
  }
}
@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .related {
    width: calc(100% - 36px);
    padding-bottom: 56px;
  }
  .utility-inner {
    justify-content: center;
    min-height: 30px;
  }
  .utility-inner > span {
    display: none;
  }
  .header-inner {
    min-height: 64px;
  }
  .brand img:first-child {
    width: 96px;
  }
  .brand img:last-child {
    width: 134px;
    padding-left: 9px;
  }
  .brand {
    gap: 9px;
  }
  .menu-toggle {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .section {
    padding-block: 54px;
  }
  .section-top {
    margin-top: 44px;
  }
  h2 {
    font-size: clamp(1.6rem, 6.4vw, 2rem);
  }
  .lead {
    font-size: 1.08rem;
  }
  .hero-grid {
    padding: 38px 0 22px;
    gap: 34px;
  }
  .home-hero h1 {
    font-size: clamp(2.15rem, 9.2vw, 2.7rem);
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-points {
    gap: 8px 16px;
    font-size: 0.78rem;
  }
  .intent-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 26px;
  }
  .intent-chip {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .router-scene {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 4px 0 26px;
  }
  .rs-sources {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .rs-targets {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .rs-node {
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    padding: 10px 4px 9px;
    text-align: center;
    border-radius: 12px;
  }
  .rs-text {
    display: none;
  }
  .rs-short {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
  }
  .rs-hub {
    min-height: 0;
    padding: 20px 14px 18px;
    border-radius: 20px;
  }
  .rs-hub-ring {
    width: 64px;
    height: 64px;
    margin-bottom: 4px;
  }
  .rs-hub-ring img {
    width: 36px;
    height: 36px;
  }
  .rs-desc {
    min-height: 3.2em;
    max-width: 320px;
  }
  .rs-legend {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .solution-grid,
  .guide-grid,
  .article-grid,
  .plugin-grid,
  .connector-tiles,
  .tool-previews,
  .tool-grid,
  .term-grid,
  .related-grid,
  .service-list,
  .anatomy,
  .audience-grid,
  .topic-grid,
  .topic-grid.large,
  .download-grid,
  .signal-list {
    grid-template-columns: 1fr;
  }
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .client-grid > div {
    padding: 20px 10px;
  }
  .client-grid img {
    width: 120px;
    height: 40px;
  }
  .marquee-track {
    gap: 44px;
  }
  .marquee-track img {
    width: 92px;
    height: 32px;
  }
  .featured-guide {
    padding: 28px;
  }
  .sx-tabs {
    margin-inline: -18px;
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }
  .has-toc .toc {
    margin-inline: -18px;
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }
  .sx-panel {
    padding: 22px;
  }
  .sx-panel h3 {
    font-size: 1.4rem;
  }
  .pipe-stage {
    grid-template-columns: 1fr;
  }
  .pipe-card {
    padding-top: 38px;
  }
  .pipe-wire {
    width: 2px;
    height: 32px;
    margin: 0 auto;
    background: repeating-linear-gradient(180deg, #bccee0 0 5px, transparent 5px 10px);
  }
  .pipe-wire i {
    left: 50%;
    top: 0;
    margin: 0 0 0 -5px;
  }
  .pipe[data-step="1"] .pipe-wire:nth-of-type(1) i,
  .pipe[data-step="2"] .pipe-wire:nth-of-type(2) i {
    animation-name: packetV;
  }
  .product-workflow {
    padding: 20px;
  }
  .step-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .step-button {
    padding: 16px;
  }
  .step-button > span {
    margin-bottom: 6px;
  }
  .glossary-teaser h2,
  .choose h2 {
    font-size: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    line-height: 1.8;
  }
  .page-intro {
    padding: 22px 0 44px;
  }
  .breadcrumb {
    margin-bottom: 30px;
  }
  .intro-grid h1 {
    font-size: clamp(2rem, 8.4vw, 2.5rem);
  }
  .intro-description p {
    font-size: 1rem;
  }
  .prose {
    font-size: 1rem;
    line-height: 1.8;
  }
  .prose h2 {
    font-size: 1.5rem;
    margin-top: 36px;
  }
  .definition {
    padding: 18px 20px;
    font-size: 1.05rem;
  }
  .router-note {
    flex-direction: column;
    padding: 20px;
  }
  .pager {
    grid-template-columns: 1fr;
  }
  .pager-next {
    grid-column: 1;
    text-align: left;
  }
  .filter-bar {
    padding: 18px;
    gap: 14px;
  }
  .filter-bar p {
    padding: 0;
    flex-basis: 100%;
    white-space: normal;
  }
  .chip-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -18px;
    padding: 2px 18px 6px;
    width: calc(100% + 36px);
    scrollbar-width: thin;
  }
  .chip-radio {
    flex: none;
  }
  .results-heading {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .download-card {
    padding: 22px;
    gap: 18px;
  }
  .pdf-icon {
    width: 52px;
    height: 74px;
  }
  .contact-form,
  .demo-box {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tool-inputs,
  .tool-result {
    padding: 22px;
  }
  .tool-nav {
    gap: 4px;
    padding-bottom: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
  .tool-nav a {
    flex: none;
    font-size: 0.78rem;
  }
  .ready-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .mobile-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fffffff5;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }
  .mobile-cta.is-on {
    transform: none;
  }
  .mobile-cta .btn {
    flex: 1;
    padding-inline: 10px;
  }
  .mobile-cta .btn-accent {
    flex: 1.6;
  }
  body.has-mobile-cta {
    padding-bottom: 70px;
  }
  .toast {
    bottom: 90px;
    max-width: calc(100% - 32px);
    text-align: center;
  }
}
@media (max-width: 480px) {
  .brand img:first-child {
    width: 88px;
  }
  .brand img:last-child {
    width: 120px;
    padding-left: 8px;
  }
  .menu-label {
    display: none;
  }
  .menu-toggle {
    padding: 8px 11px;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .signal-list li {
    font-size: 0.88rem;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat:last-child {
    grid-column: 1 / -1;
  }
  .big-result strong {
    font-size: 3.6rem;
  }
  .guide-card,
  .solution-card,
  .plugin-card,
  .topic-card,
  .tool-card,
  .connector-tile {
    padding: 22px;
  }
  .article-body {
    padding: 20px;
  }
  .footer-grid > div > a {
    font-size: 0.78rem;
  }
  .contact-email {
    font-size: 1rem;
    padding: 12px 14px;
  }
}
@media (max-width: 360px) {
  .brand img:first-child {
    width: 76px;
  }
  .brand img:last-child {
    width: 106px;
    padding-left: 7px;
  }
  .rs-targets {
    gap: 4px;
  }
  .rs-icon {
    width: 34px;
    height: 34px;
  }
  .rs-short {
    font-size: 0.62rem;
  }
  .tool-inputs,
  .tool-result {
    padding: 18px;
  }
  .home-hero h1 {
    font-size: 2rem;
  }
}

/* Source → router → destination reads top to bottom on phones. */
@media (max-width: 560px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  .flow-node,
  .flow-router {
    width: 100%;
    max-width: 300px;
    padding: 14px 16px;
  }
  .flow-node strong {
    font-size: 0.95rem;
  }
  .flow-wire {
    width: 2px;
    height: 30px;
    background: repeating-linear-gradient(180deg, #bccee0 0 5px, transparent 5px 10px);
  }
  .flow-wire i {
    top: 0;
    left: 50%;
    margin: 0 0 0 -5px;
    animation-name: packetV;
  }
}

/* ───────── print ───────── */
@media print {
  .utility,
  .site-header,
  .site-footer,
  .cta,
  .skip-link,
  .breadcrumb,
  .article-aside,
  .tool-nav,
  .result-actions,
  .article-actions,
  .tool-actions,
  .preset-row,
  .related,
  .mobile-cta,
  .mini-result,
  .read-progress,
  .hero-bg,
  [data-print],
  .contact-form button,
  .menu-toggle {
    display: none !important;
  }
  body {
    font-size: 10pt;
    line-height: 1.5;
    color: #111;
  }
  .container {
    width: 100%;
    max-width: none;
  }
  .section,
  .page-intro {
    padding: 20px 0;
    background: #fff;
  }
  .intro-grid {
    display: block;
  }
  .intro-grid h1 {
    font-size: 27pt;
  }
  .intro-description {
    margin-top: 18px;
  }
  .intro-description .inline-links {
    display: none;
  }
  .article-layout,
  .tool-layout,
  .split {
    display: block;
  }
  .tool-result {
    position: static;
    margin-top: 24px;
    background: #f5f5f5;
  }
  .tool-inputs {
    break-inside: avoid;
  }
  h2,
  h3 {
    break-after: avoid;
  }
  .prose p {
    orphans: 3;
    widows: 3;
  }
  .prose {
    font-size: 11pt;
  }
  .big-result strong {
    font-size: 40pt;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  input,
  select,
  textarea {
    border: 1px solid #aaa !important;
    color: #111 !important;
  }
  a {
    color: #111;
  }
}
