:root {
  --ink: #17222b;
  --muted: #536273;
  --quiet: #6a7b88;
  --soft: #eef3f6;
  --line: #d8e1e8;
  --panel: #ffffff;
  --blue: #123f63;
  --blue-2: #0c2f4f;
  --green: #4f7a68;
  --amber: #bd7d18;
  --red: #b94a48;
  --max: 1160px;
  --page-hero-overlay: linear-gradient(90deg, rgba(248, 250, 251, 0.92) 0%, rgba(248, 250, 251, 0.84) 44%, rgba(248, 250, 251, 0.52) 70%, rgba(248, 250, 251, 0.22) 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
  font-family: Inter, "IBM Plex Sans", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--ink);
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: 0;
}

h1 {
  max-width: none;
  font-size: 3.35rem;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1.1rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li + li {
  margin-top: 0.35rem;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 252, 253, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand img {
  width: 214px;
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--blue);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.is-nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 4px;
  color: #263847;
  font-size: 0.93rem;
  font-weight: 640;
}

.site-nav a:hover {
  background: var(--soft);
  text-decoration: none;
}

.site-nav a.is-active {
  background: rgba(18, 63, 99, 0.1);
  color: var(--blue-2);
  box-shadow: inset 0 -2px 0 var(--green);
}

.hero,
.page-hero {
  background: linear-gradient(180deg, #f8fafb 0%, #edf3f6 100%);
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: 86px 0 74px;
}

.hero-media {
  position: relative;
  min-height: 610px;
  padding: 0;
  overflow: hidden;
  background: #071d2f;
  color: #fff;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 30, 0.88) 0%, rgba(7, 29, 47, 0.72) 44%, rgba(7, 29, 47, 0.2) 72%, rgba(7, 29, 47, 0.56) 100%),
    linear-gradient(180deg, rgba(5, 18, 30, 0.12) 0%, rgba(5, 18, 30, 0.58) 100%);
}

.hero-media-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 26px 54px;
  align-items: start;
  min-height: 610px;
  padding-top: 78px;
  padding-bottom: 72px;
}

.hero-copy {
  grid-column: 1 / -1;
  max-width: 980px;
}

.hero-media h1,
.hero-media h2,
.hero-media h3 {
  color: #fff;
}

.hero-media h1 {
  max-width: 940px;
  font-size: 3.45rem;
  text-wrap: balance;
}

.hero-media .eyebrow {
  color: #acd2bf;
}

.hero-media .lead {
  max-width: 720px;
  color: #e3edf2;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.hero-media .button {
  border-color: #fff;
  background: #fff;
  color: var(--blue-2);
}

.hero-media .button:hover {
  border-color: #e7f0f5;
  background: #e7f0f5;
  color: var(--blue-2);
}

.hero-media .button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-media .button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-product-panel {
  grid-column: 2;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.hero-product-panel img {
  width: 100%;
  display: block;
}

.product-hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero-image img {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: 390px;
  object-fit: contain;
}

.hardware-hero .product-hero-image::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 6%;
  bottom: 14%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(19, 44, 65, 0.18) 0%, rgba(19, 44, 65, 0.08) 42%, rgba(19, 44, 65, 0) 72%);
  filter: blur(10px);
}

.hardware-hero .product-hero-image img {
  filter:
    drop-shadow(0 24px 26px rgba(13, 35, 56, 0.28))
    drop-shadow(0 6px 7px rgba(13, 35, 56, 0.18))
    saturate(0.94)
    contrast(0.96);
}

.transparent-product-image img {
  background: transparent;
  padding: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 40px;
  background:
    var(--page-hero-overlay),
    url("/images/hero/standpipe-flatirons.png") center center / cover no-repeat;
}

.page-hero.hardware-hero {
  background:
    var(--page-hero-overlay),
    url("/images/hero/standpipe-flatirons.png") center center / cover no-repeat;
}

.page-hero.stream-hero,
.page-hero.product-detail-hero {
  background:
    var(--page-hero-overlay),
    url("/images/hero/standpipe-stream.png") center center / cover no-repeat;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid,
.split-grid,
.product-hero,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.hero-simple {
  max-width: 1160px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.5fr) minmax(220px, 0.7fr);
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--quiet);
  font-size: 0.88rem;
  font-weight: 650;
}

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

.breadcrumb a::after {
  content: "/";
  margin-left: 8px;
  color: var(--quiet);
  font-weight: 500;
}

.breadcrumb span {
  color: var(--muted);
}

.lead {
  max-width: 780px;
  color: #394b5a;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero .lead {
  font-size: 1.14rem;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-downloads {
  margin-top: 26px;
}

.hero-downloads h2 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-downloads .downloads {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.button:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--blue);
}

.button.secondary:hover {
  background: var(--soft);
}

.hero-product-set {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hero-product-set a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 160px;
  padding: 14px;
  border: 1px solid rgba(18, 63, 99, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(18, 63, 99, 0.1);
}

.hero-product-set a:hover {
  text-decoration: none;
  border-color: rgba(79, 122, 104, 0.48);
}

.hero-product-set img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  padding: 8px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.hero-product-title,
.hero-product-role {
  display: block;
  color: var(--blue-2);
  line-height: 1.25;
  vertical-align: top;
}

.hero-product-title {
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product-role {
  color: var(--blue-2);
  font-size: 0.9rem;
  font-weight: 760;
}

.text-link {
  font-weight: 700;
}

.section {
  padding: 62px 0;
}

.section.compact {
  padding: 42px 0;
}

.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dark-band {
  background: var(--blue-2);
  color: #dce8ef;
}

.dark-band h2,
.dark-band h3,
.dark-band p,
.dark-band a {
  color: #fff;
}

.dark-band .callout,
.dark-band .callout h3,
.dark-band .callout p,
.dark-band .callout a,
.dark-band .callout li {
  color: var(--ink);
}

.dark-band .button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.dark-band .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.cards,
.resource-grid,
.product-grid,
.feature-grid,
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.split-grid .cards {
  grid-template-columns: 1fr;
}

.card,
.resource-card,
.product-card,
.callout,
.route-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.route-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
}

.route-card.emphasized {
  border-color: rgba(79, 122, 104, 0.5);
  box-shadow: inset 0 3px 0 var(--green);
}

.route-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.card h3,
.resource-card h3,
.product-card h3 {
  font-size: 1.1rem;
}

.resource-card h2,
.contact-card h2,
.sidebar h2 {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  margin-bottom: 18px;
  padding: 14px;
  background: #f3f6f8;
  border-radius: 4px;
}

.product-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.proof-strip,
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.proof-strip span,
.stat-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #324655;
  font-size: 0.92rem;
  font-weight: 660;
}

.visual-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 63, 99, 0.1);
  overflow: hidden;
}

.visual-frame img {
  width: 100%;
}

.vp-image-heavy {
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
}

.vp-image-heavy .kicker-list {
  grid-template-columns: 1fr;
  margin-top: 20px;
}

.vp-wide-shot img,
.vp-command-shot img {
  background: #fff;
}

.vp-command-shot {
  margin-top: 8px;
}

.vp-public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: 18px;
  align-items: start;
}

.vp-mobile-shot {
  justify-self: end;
  width: 100%;
  max-width: 260px;
}

.system-diagram-frame {
  margin-top: 28px;
  background: #f7fafb;
}

.hero-diagram-frame {
  background: #f7fafb;
}

.system-diagram-frame img {
  display: block;
}

.protocol-diagram-frame {
  margin-top: 28px;
  background: #f7fafb;
}

.protocol-diagram-frame img {
  display: block;
}

.protocol-bullets {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin-top: 8px;
  padding-left: 0;
  list-style: none;
}

.protocol-bullets li {
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: var(--muted);
}

.protocol-bullets strong {
  color: var(--ink);
}

.feature-visual {
  margin-top: 8px;
}

.feature-list {
  margin-top: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-section {
  align-items: center;
}

.system-flow {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 249, 0.92)),
    radial-gradient(circle at 80% 0%, rgba(79, 122, 104, 0.16), transparent 36%);
  box-shadow: 0 18px 48px rgba(18, 63, 99, 0.1);
}

.system-flow h3 {
  margin: 0;
  color: var(--blue-2);
  font-size: 1.24rem;
}

.system-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  align-items: stretch;
}

.system-node {
  position: relative;
  min-height: 160px;
  padding: 15px;
  border: 1px solid rgba(18, 63, 99, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
}

.system-node::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 780;
}

.system-node.remote::after,
.system-node.network::after,
.system-node.base::after {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 780;
}

.system-node.remote::after {
  content: "→";
  top: 50%;
  right: -23px;
  transform: translateY(-50%);
}

.system-node.network::after {
  content: "↓";
  left: 50%;
  bottom: -27px;
  transform: translateX(-50%);
}

.system-node.base::after {
  content: "←";
  top: 50%;
  left: -23px;
  transform: translateY(-50%);
}

.system-node.base {
  grid-column: 2;
}

.system-node.cloud {
  grid-column: 1;
  grid-row: 2;
}

.system-node span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-node strong {
  display: block;
  color: var(--blue-2);
  font-size: 0.98rem;
  line-height: 1.25;
}

.system-node p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.layer-stack {
  display: grid;
  gap: 12px;
}

.layer-stack div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 63, 99, 0.08);
}

.layer-stack span,
.concept-grid h3 {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer-stack strong {
  display: block;
  margin-top: 5px;
  color: var(--blue-2);
  font-size: 1.08rem;
}

.layer-stack p {
  margin: 8px 0 0;
  color: var(--muted);
}

.primer-list,
.planning-list,
.proof-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

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

.primer-list article,
.planning-list article,
.proof-list article {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.primer-list article,
.proof-list article {
  padding-right: 28px;
}

.primer-list article:nth-child(odd),
.proof-list article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.primer-list article:nth-child(even),
.proof-list article:nth-child(even) {
  padding-left: 28px;
}

.primer-list article:nth-child(odd) {
  border-right: 0;
}

.primer-list h3,
.planning-list h3,
.proof-list h3 {
  color: var(--blue-2);
  font-size: 1.08rem;
}

.primer-list h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primer-list p,
.planning-list p,
.proof-list p {
  margin: 0;
  color: var(--muted);
}

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

.advantage-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(79, 122, 104, 0.42);
  border-radius: 6px;
  background: #eef5f1;
  color: var(--green);
}

.advantage-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.component-carousel {
  position: relative;
}

.component-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.component-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 63, 99, 0.06);
  scroll-snap-align: start;
}

.component-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 4px;
  background: #f7fafb;
}

.component-card .product-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 4px;
  background: #f7fafb;
}

.component-card .product-pair img {
  height: 170px;
  margin: 0;
  padding: 0;
  background: transparent;
}

.component-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.component-card h3 {
  margin-bottom: 8px;
  color: var(--blue-2);
  font-size: 1.28rem;
}

.component-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 63, 99, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-2);
  box-shadow: 0 10px 26px rgba(18, 63, 99, 0.14);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-control:hover {
  background: #fff;
  border-color: rgba(79, 122, 104, 0.42);
}

.carousel-control.previous {
  left: -21px;
}

.carousel-control.next {
  right: -21px;
}

.protocol-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 54px;
  align-items: start;
}

.protocol-layout .section-head {
  max-width: 880px;
}

.protocol-flow {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.protocol-flow article {
  position: relative;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 63, 99, 0.08);
}

.protocol-flow article:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -23px;
  transform: translateX(-50%);
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 780;
  line-height: 1;
}

.protocol-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 780;
}

.protocol-flow h3 {
  margin-bottom: 6px;
  color: var(--blue-2);
  font-size: 1.2rem;
}

.protocol-flow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  line-height: 1.25;
}

.protocol-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.protocol-detail {
  margin-top: 22px;
  margin-bottom: 0;
}

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

.concept-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.concept-grid h3 {
  margin-bottom: 8px;
}

.concept-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.diagram {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.diagram-step {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  background: #f7fafb;
  font-weight: 700;
}

.diagram-arrow {
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.kicker-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.kicker-list li {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--green);
  background: #f4f8f6;
  font-weight: 650;
}

.page-content {
  padding: 52px 0 72px;
}

.policy-page {
  max-width: 940px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 40px;
  align-items: start;
}

.sidebar {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.sidebar ul {
  padding-left: 0;
  list-style: none;
}

.sidebar li + li {
  margin-top: 10px;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 34px;
}

.downloads a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
}

.table-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.table-list a,
.table-list div {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.table-list a:last-child,
.table-list div:last-child {
  border-bottom: 0;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.map-frame iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 6px;
}

.site-footer {
  padding: 38px 0;
  background: #0b263d;
  color: #d6e2ea;
}

.site-footer h2 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
}

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

.site-footer ul {
  padding-left: 0;
  list-style: none;
}

.footer-logo {
  width: 210px;
  margin-bottom: 18px;
}

.footer-minimal {
  max-width: 720px;
}

.placeholder-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .component-card {
    flex-basis: calc((100% - 18px) / 2);
  }

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

  .system-flow-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .system-node {
    min-height: 0;
  }

  .system-node.base,
  .system-node.cloud {
    grid-column: auto;
    grid-row: auto;
  }

  .system-node.remote::after,
  .system-node.network::after,
  .system-node.base::after {
    content: "↓";
    top: auto;
    right: auto;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .vp-image-heavy,
  .product-hero,
  .contact-grid,
  .footer-grid,
  .content-grid,
  .vp-public-layout,
  .protocol-layout {
    grid-template-columns: 1fr;
  }

  .vp-mobile-shot {
    justify-self: start;
    max-width: 300px;
  }

  .nav-shell {
    position: relative;
    display: flex;
    min-height: 60px;
    padding: 8px 0;
  }

  .brand img {
    width: 174px;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    z-index: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 0 0 6px 6px;
    background: #fbfcfd;
    box-shadow: 0 16px 30px rgba(23, 34, 43, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    z-index: 2;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-header.is-nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-header.is-hidden {
    transform: translateY(-100%);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .cards,
  .resource-grid,
  .product-grid,
  .product-grid.two,
  .feature-grid,
  .primer-list,
  .proof-list,
  .concept-grid,
  .route-grid,
  .kicker-list {
    grid-template-columns: 1fr;
  }

  .primer-list article,
  .primer-list article:nth-child(even),
  .proof-list article,
  .proof-list article:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }

  .primer-list article:nth-child(odd),
  .proof-list article:nth-child(odd) {
    border-right: 0;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-media {
    min-height: auto;
    padding: 0;
  }

  .hero-media-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero-media h1 {
    font-size: 2.6rem;
  }

  .hero-product-panel {
    grid-column: 1;
    max-width: 620px;
  }

  .hero-product-set {
    max-width: 680px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 18, 30, 0.88) 0%, rgba(7, 29, 47, 0.74) 55%, rgba(7, 29, 47, 0.9) 100%),
      linear-gradient(90deg, rgba(5, 18, 30, 0.54), rgba(5, 18, 30, 0.22));
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 156px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 44px 0;
  }

  .hero-media {
    padding: 0;
  }

  .hero-media-grid {
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 38px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-media h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero .lead,
  .lead {
    font-size: 1rem;
  }

  .actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .carousel-control {
    display: none;
  }

  .component-card {
    flex-basis: 86%;
  }

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

  .hero-product-set a {
    min-height: 0;
  }

  .hero-product-set img {
    height: 170px;
  }

  .hero-product-panel {
    border-radius: 6px;
  }
}
