/* Public model-routing story. */
.router-story {
  overflow: hidden;
  background: #f4f7f8;
  color: #142433;
}

.router-story svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.router-hero-surface {
  position: relative;
  overflow: hidden;
  background: #101b27;
  color: #fff;
}

.router-hero-surface:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.router-hero-surface:after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 34%;
  height: 1px;
  background: #43d4d555;
  box-shadow: 0 -88px 0 #43d4d518, 0 -176px 0 #43d4d510;
  pointer-events: none;
}

.router-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, .98fr);
  gap: 72px;
  align-items: center;
  min-height: 648px;
  padding-top: 82px;
  padding-bottom: 86px;
}

.router-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: #16a4b0;
  font: 600 13px/1.25 SBText, Arial, sans-serif;
  text-transform: uppercase;
}

.router-hero .router-kicker,
.router-explore-surface .router-kicker {
  color: #61d6d7;
}

.router-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47dad1;
  box-shadow: 0 0 0 6px #47dad122;
  animation: router-pulse 2.4s ease-in-out infinite;
}

@keyframes router-pulse {
  50% { box-shadow: 0 0 0 11px #47dad100; }
}

.router-hero h2 {
  max-width: 690px;
  margin: 0 0 24px;
  color: #fff;
  font: 700 clamp(44px, 4.6vw, 72px)/.99 SBDisplay, Arial, sans-serif;
}

.router-lead {
  max-width: 630px;
  margin: 0;
  color: #acbcc8;
  font: 400 18px/1.5 SBText, Arial, sans-serif;
}

.router-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 29px;
}

.router-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 0 11px;
  border: 1px solid #354a5b;
  border-radius: 7px;
  background: #142331;
  color: #c5d5df;
  font-size: 12px;
}

.router-proof svg {
  width: 15px;
  height: 15px;
  color: #67d7d8;
}

.router-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 31px;
}

.router-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 9px;
  background: #2b7bf3;
  box-shadow: 0 12px 28px #1e65ca33;
}

.router-actions .btn:hover { background: #4a91ff; }
.router-actions .btn svg { width: 17px; height: 17px; }

.router-text-link {
  color: #d3e1ea;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #526a7d;
  text-underline-offset: 6px;
}

.router-text-link span {
  margin-left: 5px;
  color: #62d7d7;
}

/* Workspace prototype */
.router-workspace {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 466px;
  overflow: hidden;
  border: 1px solid #344a5b;
  border-radius: 16px;
  background: #152532;
  box-shadow: 0 30px 78px #0008, 0 0 0 #42d5d500;
  animation: router-workspace-glow 7s ease-in-out infinite;
}

@keyframes router-workspace-glow {
  50% { box-shadow: 0 30px 78px #0008, 0 0 42px #42d5d51c; }
}

.router-workspace-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-right: 1px solid #2b4050;
  background: #13212e;
}

.router-workspace-nav > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #74899a;
}

.router-workspace-nav > span svg { width: 16px; height: 16px; }
.router-workspace-nav > span.is-active { background: #25415a; color: #69d8db; }
.router-workspace-mark { margin-bottom: 13px; background: #2b7bf3 !important; color: #fff !important; }
.router-workspace-avatar { margin-top: auto; border: 1px solid #506778; border-radius: 50% !important; color: #c1d1db !important; font: 600 8px SBText, Arial, sans-serif; }

.router-workspace-main {
  min-width: 0;
  padding: 21px 22px 17px;
}

.router-workspace-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.router-workspace-top > div { display: flex; flex-direction: column; gap: 5px; }
.router-workspace-top span { color: #718799; font-size: 10px; }
.router-workspace-top strong { color: #f0f8fa; font: 600 17px/1.1 SBDisplay, Arial, sans-serif; }

.router-workspace-top em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
  color: #72d7cb;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.router-workspace-top em i,
.router-catalog-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35d1a9;
  box-shadow: 0 0 0 4px #35d1a920;
}

.router-workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin: 19px 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #2b4050;
}

.router-workspace-toolbar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #3a5263;
  border-radius: 6px;
  color: #9eb2bf;
  font-size: 10px;
}

.router-workspace-toolbar svg { width: 13px; height: 13px; color: #69d4d7; }
.router-workspace-project { margin-left: auto; }

.router-workspace-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 15px;
}

.router-workspace-metrics > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.router-workspace-metrics span { color: #738a9a; font-size: 10px; }
.router-workspace-metrics strong { overflow: hidden; color: #f3fbff; font: 700 21px/1 SBDisplay, Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.router-workspace-metrics em { overflow: hidden; color: #92a7b4; font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.router-workspace-metrics em.good { color: #49d0ae; }

.router-cost-chart {
  position: relative;
  height: 177px;
  padding: 0 0 19px;
  overflow: hidden;
  border: 1px solid #2d4454;
  border-radius: 10px;
  background: #12212d;
}

.router-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 13px 0; color: #deedf2; font-size: 11px; }
.router-chart-head span { display: inline-flex; align-items: center; gap: 5px; color: #788f9f; font-size: 9px; }
.router-chart-head span i { width: 6px; height: 6px; border-radius: 50%; background: #47d8d1; }
.router-chart-grid { position: absolute; top: 42px; right: 13px; bottom: 30px; left: 13px; display: flex; flex-direction: column; justify-content: space-between; }
.router-chart-grid i { display: block; border-top: 1px dashed #355062; }

.router-cost-chart svg {
  position: absolute;
  top: 38px;
  right: 13px;
  bottom: 22px;
  left: 13px;
  width: calc(100% - 26px);
  height: 117px;
  overflow: visible;
}

.router-chart-area { fill: url(#routerCostArea); }
.router-chart-line { fill: none; stroke: #4bd9d5; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 660; stroke-dashoffset: 0; animation: router-chart-trace 5s ease-in-out infinite; }
@keyframes router-chart-trace { 0%, 18% { stroke-dashoffset: 660; } 50%, 100% { stroke-dashoffset: 0; } }
.router-chart-labels { position: absolute; right: 13px; bottom: 8px; left: 13px; display: flex; justify-content: space-between; color: #6f8797; font-size: 8px; }
.router-chart-saving { position: absolute; right: 13px; top: 48px; display: flex; align-items: center; gap: 5px; padding: 5px 6px; border: 1px solid #397573; border-radius: 5px; background: #163339e8; color: #8ee6dc; font-size: 8px; line-height: 1.23; }
.router-chart-saving svg { width: 12px; height: 12px; }

.router-live-route {
  display: grid;
  grid-template-columns: auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #9fb3c0;
  font-size: 9px;
}

.router-request-node,
.router-router-node { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 27px; padding: 0 7px; border: 1px solid #334c5c; border-radius: 6px; background: #192d3b; white-space: nowrap; }
.router-request-node svg,.router-router-node svg { width: 12px; height: 12px; color: #62d7d8; }
.router-router-node { border-color: #327e91; background: #173a45; color: #d7f3f2; }
.router-route-line { position: relative; height: 1px; background: #365265; }
.router-route-line i { position: absolute; top: 50%; left: 3%; width: 30%; height: 2px; background: #4dd7d1; box-shadow: 0 0 9px #4dd7d199; transform: translateY(-50%); animation: router-route-flow 2.8s linear infinite; }
@keyframes router-route-flow { to { left: 72%; } }
.router-provider-nodes { display: flex; gap: 4px; }
.router-provider-nodes b { display: grid; place-items: center; min-width: 31px; height: 22px; padding: 0 5px; border: 1px solid #354e5e; border-radius: 5px; background: #1a2c38; color: #b5c9d5; font: 600 8px SBText, Arial, sans-serif; }

/* Capabilities */
.router-capabilities { padding-top: 94px; padding-bottom: 91px; }
.router-section-heading { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(250px, .88fr); gap: 64px; align-items: end; margin-bottom: 38px; }
.router-section-heading h3,.router-explore-heading h3,.router-launch h3 { max-width: 730px; margin: 0; color: #142433; font: 700 clamp(36px, 3.55vw, 55px)/1.02 SBDisplay, Arial, sans-serif; }
.router-section-heading > p { max-width: 470px; margin: 0 0 5px; color: #647681; font: 400 18px/1.48 SBText, Arial, sans-serif; }
.router-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.router-capability-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 376px;
  padding: 26px 26px 23px;
  overflow: hidden;
  border: 1px solid #d5e0e5;
  border-radius: 15px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.router-capability-grid article:hover { transform: translateY(-4px); box-shadow: 0 20px 37px #27435617; }
.router-capability-number { position: absolute; top: 25px; right: 26px; color: #91a1ac; font: 600 12px/1 SBText, Arial, sans-serif; }
.router-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 22px; border-radius: 10px; background: #e5f2ff; color: #2879e9; }
.router-icon svg { width: 19px; height: 19px; }
.router-icon-teal { background: #dcf6f3; color: #0b999b; }
.router-icon-warm { background: #fff0d9; color: #be7923; }
.router-icon-blue { background: #e7efff; color: #496fcc; }
.router-capability-grid h4,.router-principle-grid h4 { max-width: 315px; margin: 0 0 10px; color: #1b2e3d; font: 700 23px/1.1 SBDisplay, Arial, sans-serif; }
.router-capability-grid p,.router-principle-grid p { max-width: 340px; margin: 0; color: #677986; font-size: 15px; line-height: 1.45; }
.router-model-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 23px; }
.router-model-cloud span { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border: 1px solid #d5e1eb; border-radius: 5px; background: #f4f8fb; color: #59717f; font-size: 10px; }
.router-model-cloud span:nth-child(1) { border-color: #c8e0ff; background: #e7f1ff; color: #2773c9; }
.router-model-cloud span:nth-child(2) { border-color: #d9cef7; background: #f2eeff; color: #7255b9; }
.router-model-cloud span:nth-child(3) { border-color: #c7e8de; background: #e6f7f0; color: #187f68; }
.router-mini-route { display: grid; grid-template-columns: 37px minmax(22px, 1fr) 37px minmax(20px, 1fr) 29px 29px; align-items: center; gap: 7px; margin-top: auto; padding-top: 25px; }
.router-mini-route > span { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #d5e2e8; border-radius: 9px; background: #f6fafb; color: #4d6f7e; }
.router-mini-route span svg { width: 16px; height: 16px; }
.router-mini-route > i { position: relative; height: 1px; background: #b7cbd3; }
.router-mini-route > i:after { content: ""; position: absolute; top: 50%; left: 0; width: 12px; height: 2px; background: #12abae; transform: translateY(-50%); animation: router-mini-flow 2.5s linear infinite; }
@keyframes router-mini-flow { to { left: calc(100% - 12px); } }
.router-mini-route .router-mini-hub { border-color: #68c9ca; background: #e1f7f6; color: #098f99; box-shadow: 0 0 0 5px #12c7c80e; }
.router-mini-route .router-mini-provider { width: 29px; height: 29px; border-radius: 7px; background: #eef3ff; color: #5274c6; font: 700 12px SBDisplay, Arial, sans-serif; }
.router-mini-route .router-mini-provider:last-child { background: #fff0e8; color: #bd6437; }
.router-test-meter { margin-top: auto; padding-top: 24px; }
.router-test-meter > span { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: #46606e; font-size: 11px; }
.router-test-meter b { font-weight: 600; }
.router-test-meter em { padding: 4px 6px; border-radius: 4px; background: #e1f7ed; color: #1b8a64; font-size: 9px; font-style: normal; }
.router-test-meter > div { height: 6px; overflow: hidden; border-radius: 6px; background: #e7edf0; }
.router-test-meter > div i { display: block; width: 72%; height: 100%; border-radius: inherit; background: #2e80ec; animation: router-test-load 1.8s ease both; }
@keyframes router-test-load { from { width: 0; } to { width: 72%; } }
.router-test-meter small { display: block; margin-top: 8px; color: #68808c; font-size: 10px; }

/* Statistics */
.router-stats-wrap { background: #e6eff2; border-top: 1px solid #d4e1e5; border-bottom: 1px solid #d4e1e5; }
.router-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; }
.router-stats article { display: flex; flex-direction: column; min-height: 188px; padding: 31px 21px 25px; gap: 8px; border-right: 1px solid #cfdee3; }
.router-stats article:first-child { padding-left: 0; }
.router-stats article:last-child { padding-right: 0; border-right: 0; }
.router-stat-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: #d5f1f1; color: #078c9a; }
.router-stat-icon svg { width: 15px; height: 15px; }
.router-stats strong { margin-top: 5px; color: #173244; font: 700 clamp(25px, 2.2vw, 34px)/1 SBDisplay, Arial, sans-serif; }
.router-stats article:nth-child(3) strong { font-size: clamp(23px, 1.95vw, 31px); }
.router-stats article > span:last-child { max-width: 200px; color: #667d8b; font-size: 12px; line-height: 1.35; }

/* Model catalogue prototype */
.router-explore-surface { position: relative; overflow: hidden; padding: 98px 0 105px; background: #13222f; color: #fff; }
.router-explore-surface:before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0 49.9%, #ffffff08 50%, transparent 50.1%); background-size: 112px 100%; }
.router-explore-surface > .wrap { position: relative; z-index: 1; }
.router-explore-heading { display: grid; grid-template-columns: minmax(0, .97fr) minmax(310px, .83fr); gap: 72px; align-items: end; margin-bottom: 39px; }
.router-explore-heading h3 { color: #fff; }
.router-explore-heading > p { max-width: 505px; margin: 0 0 5px; color: #a3b7c4; font-size: 17px; line-height: 1.48; }
.router-catalog { overflow: hidden; border: 1px solid #314959; border-radius: 15px; background: #162a38; box-shadow: 0 24px 55px #0004; }
.router-catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 19px; border-bottom: 1px solid #2b4352; background: #132431; }
.router-catalog-bar > div { display: flex; align-items: center; gap: 9px; }
.router-catalog-logo { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #2d7df2; color: #fff; }
.router-catalog-logo svg { width: 15px; height: 15px; }
.router-catalog-bar b { color: #e7f2f7; font: 600 14px SBDisplay, Arial, sans-serif; }
.router-catalog-bar small { padding: 4px 6px; border-radius: 4px; background: #203746; color: #82a5b7; font-size: 9px; }
.router-catalog-status { display: inline-flex; align-items: center; gap: 6px; color: #75cdbf; font-size: 10px; }
.router-catalog-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 289px; }
.router-catalog-nav { display: flex; flex-direction: column; gap: 3px; padding: 15px 11px; border-right: 1px solid #2b4352; background: #142633; }
.router-catalog-nav span { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 9px; border-radius: 6px; color: #839aaa; font-size: 10px; }
.router-catalog-nav span svg { width: 14px; height: 14px; }
.router-catalog-nav span.is-active { background: #204254; color: #cceeee; }
.router-catalog-content { min-width: 0; padding: 20px 21px; }
.router-catalog-content-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.router-catalog-content-head h4 { margin: 0 0 4px; color: #eff8fb; font: 600 17px SBDisplay, Arial, sans-serif; }
.router-catalog-content-head p { margin: 0; color: #7f98a8; font-size: 10px; }
.router-catalog-content-head > span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 7px; border: 1px solid #385263; border-radius: 5px; color: #abc2ce; font-size: 9px; }
.router-catalog-content-head > span svg { width: 12px; height: 12px; color: #64d0d2; }
.router-model-list { display: grid; gap: 7px; }
.router-model-list article { display: grid; grid-template-columns: 31px minmax(125px, 1fr) 64px 104px 105px; align-items: center; gap: 10px; min-height: 55px; padding: 8px 10px; border: 1px solid #2e495a; border-radius: 7px; background: #172c3a; color: #c9d8e0; }
.router-model-list article.is-preferred { border-color: #368f9c; background: #18333e; }
.router-model-letter { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #dff0e9; color: #167b52; font: 700 13px SBDisplay, Arial, sans-serif; }
.router-model-letter.letter-claude { background: #f6e6dc; color: #a95e31; }
.router-model-letter.letter-gemini { background: #e4edff; color: #4575c7; }
.router-model-list article > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.router-model-list b { overflow: hidden; color: #eaf5f8; font: 600 12px/1.1 SBDisplay, Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.router-model-list small { color: #7f98a7; font-size: 9px; }
.router-model-context,.router-model-price { color: #c5d5de; font-size: 10px; line-height: 1.22; white-space: nowrap; }
.router-model-context small,.router-model-price small { font-size: 8px; }
.router-model-list em { display: inline-flex; align-items: center; justify-content: flex-start; gap: 4px; color: #66d4bc; font-size: 8px; font-style: normal; white-space: nowrap; }
.router-model-list em svg { width: 11px; height: 11px; }
.router-model-list .is-preferred em { color: #8ce5de; }
.router-catalog-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 19px; border-top: 1px solid #2b4352; background: #132431; }
.router-catalog-footer > span,.router-catalog-footer a { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; }
.router-catalog-footer > span { color: #84d8d2; }
.router-catalog-footer svg { width: 13px; height: 13px; }
.router-catalog-footer a { color: #d6e8ef; font-weight: 600; text-decoration: underline; text-decoration-color: #4a6778; text-underline-offset: 4px; }

/* Principles and quick start */
.router-principles { padding-top: 94px; padding-bottom: 96px; }
.router-principles-heading { margin-bottom: 36px; }
.router-principle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.router-principle-grid article { min-height: 232px; padding: 25px 26px; border: 1px solid #d6e1e6; border-radius: 14px; background: #f9fbfc; transition: transform .25s ease, box-shadow .25s ease; }
.router-principle-grid article:hover { transform: translateY(-4px); box-shadow: 0 19px 34px #23455913; }
.router-principle-grid .router-icon { margin-bottom: 19px; }
.router-principle-grid h4 { max-width: 490px; font-size: 23px; }
.router-principle-grid p { max-width: 530px; }

.router-launch { padding: 86px 0 88px; background: #dceceb; border-top: 1px solid #cbe0de; }
.router-launch-grid { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); gap: 76px; align-items: center; }
.router-launch .router-kicker { margin-bottom: 14px; color: #087f8a; }
.router-launch h3 { max-width: 490px; margin-bottom: 17px; }
.router-launch-copy > p:not(.router-kicker) { max-width: 450px; margin: 0; color: #59727a; font-size: 17px; line-height: 1.47; }
.router-launch-copy .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 53px; margin-top: 29px; border-radius: 9px; }
.router-launch-copy .btn svg { width: 17px; height: 17px; }
.router-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #a9c7c5; border-bottom: 1px solid #a9c7c5; }
.router-steps article { position: relative; min-height: 224px; padding: 25px 20px 24px 0; border-right: 1px solid #a9c7c5; }
.router-steps article + article { padding-left: 20px; }
.router-steps article:last-child { padding-right: 0; border-right: 0; }
.router-step-number { display: block; margin-bottom: 18px; color: #078e96; font: 700 14px/1 SBDisplay, Arial, sans-serif; }
.router-step-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 17px; border-radius: 9px; background: #f5fbfa; color: #168d95; }
.router-step-icon svg { width: 16px; height: 16px; }
.router-steps h4 { margin: 0 0 8px; color: #17313c; font: 700 20px/1.1 SBDisplay, Arial, sans-serif; }
.router-steps p { margin: 0; color: #5b747c; font-size: 13px; line-height: 1.44; }

@media (max-width: 1100px) {
  .router-hero { grid-template-columns: 1fr; gap: 49px; min-height: 0; padding-top: 74px; padding-bottom: 75px; }
  .router-hero-copy { max-width: 760px; }
  .router-workspace { width: 100%; max-width: 720px; justify-self: center; }
  .router-section-heading,.router-explore-heading { grid-template-columns: 1fr; gap: 18px; }
  .router-section-heading > p,.router-explore-heading > p { max-width: 650px; }
  .router-capability-grid { gap: 12px; }
  .router-capability-grid article { min-height: 405px; padding: 23px; }
  .router-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .router-stats article,.router-stats article:first-child,.router-stats article:last-child { padding: 26px 21px; border-bottom: 1px solid #cfdee3; }
  .router-stats article:nth-child(3) { border-right: 0; }
  .router-stats article:nth-last-child(-n+2) { border-bottom: 0; }
  .router-stats article:nth-child(4) { padding-left: 0; }
  .router-stats article:nth-child(5) { border-right: 0; }
  .router-explore-surface { padding: 78px 0 84px; }
  .router-catalog-body { grid-template-columns: 154px minmax(0, 1fr); }
  .router-model-list article { grid-template-columns: 31px minmax(110px, 1fr) 58px 94px 90px; gap: 7px; }
  .router-launch-grid { grid-template-columns: 1fr; gap: 42px; }
  .router-launch-copy { max-width: 650px; }
  .router-launch h3 { max-width: 650px; }
  .router-steps { max-width: 760px; }
}

@media (max-width: 700px) {
  .router-hero-surface:before { background-size: 34px 34px; mask-image: none; opacity: .55; }
  .router-hero-surface:after { display: none; }
  .router-hero { gap: 33px; padding-top: 57px; padding-bottom: 60px; }
  .router-kicker { gap: 7px; margin-bottom: 12px; font-size: 11px; }
  .router-pulse { width: 7px; height: 7px; }
  .router-hero h2 { margin-bottom: 18px; font-size: 42px; line-height: 1.02; }
  .router-lead { font-size: 16px; line-height: 1.47; }
  .router-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 23px; }
  .router-proof span { min-width: 0; min-height: 35px; padding: 0 8px; font-size: 10px; white-space: nowrap; }
  .router-proof svg { flex: 0 0 auto; width: 13px; height: 13px; }
  .router-actions { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 24px; }
  .router-actions .btn { justify-content: center; }
  .router-text-link { text-align: center; font-size: 14px; }
  .router-workspace { grid-template-columns: 39px minmax(0, 1fr); min-height: 408px; border-radius: 13px; }
  .router-workspace-nav { gap: 13px; padding: 13px 0; }
  .router-workspace-nav > span { width: 26px; height: 26px; }
  .router-workspace-nav > span svg { width: 14px; height: 14px; }
  .router-workspace-mark { margin-bottom: 7px; }
  .router-workspace-main { padding: 16px 12px 13px; }
  .router-workspace-top strong { font-size: 14px; }
  .router-workspace-top span { font-size: 8px; }
  .router-workspace-top em { max-width: 74px; padding-top: 0; font-size: 8px; white-space: normal; text-align: right; line-height: 1.22; }
  .router-workspace-toolbar { margin: 15px 0 12px; padding-bottom: 11px; }
  .router-workspace-toolbar span { padding: 5px 6px; font-size: 8px; }
  .router-workspace-toolbar svg { width: 11px; height: 11px; }
  .router-workspace-project { display: none !important; }
  .router-workspace-metrics { gap: 6px; margin-bottom: 10px; }
  .router-workspace-metrics span { font-size: 8px; line-height: 1.15; }
  .router-workspace-metrics strong { font-size: 15px; }
  .router-workspace-metrics em { font-size: 7px; }
  .router-cost-chart { height: 155px; border-radius: 8px; }
  .router-chart-head { padding: 10px 10px 0; font-size: 9px; }
  .router-chart-head span { font-size: 7px; }
  .router-chart-grid { top: 34px; right: 10px; bottom: 26px; left: 10px; }
  .router-cost-chart svg { top: 30px; right: 10px; bottom: 19px; left: 10px; width: calc(100% - 20px); height: 106px; }
  .router-chart-labels { right: 10px; bottom: 7px; left: 10px; font-size: 7px; }
  .router-chart-saving { display: none; }
  .router-live-route { grid-template-columns: auto minmax(10px, 1fr) auto minmax(10px, 1fr) auto; gap: 4px; margin-top: 10px; font-size: 7px; }
  .router-request-node,.router-router-node { gap: 3px; min-height: 23px; padding: 0 4px; border-radius: 4px; }
  .router-request-node svg,.router-router-node svg { width: 9px; height: 9px; }
  .router-provider-nodes { gap: 2px; }
  .router-provider-nodes b { min-width: 22px; height: 19px; padding: 0 3px; font-size: 6px; }
  .router-capabilities { padding-top: 59px; padding-bottom: 61px; }
  .router-section-heading { gap: 14px; margin-bottom: 25px; }
  .router-section-heading h3,.router-explore-heading h3,.router-launch h3 { font-size: 34px; line-height: 1.05; }
  .router-section-heading > p,.router-explore-heading > p { font-size: 16px; line-height: 1.45; }
  .router-capability-grid { grid-template-columns: 1fr; gap: 10px; }
  .router-capability-grid article { min-height: 0; padding: 21px 20px 22px; border-radius: 13px; }
  .router-capability-number { top: 22px; right: 20px; }
  .router-icon { width: 37px; height: 37px; margin-bottom: 18px; }
  .router-capability-grid h4,.router-principle-grid h4 { font-size: 21px; }
  .router-capability-grid p,.router-principle-grid p { font-size: 14px; }
  .router-model-cloud,.router-mini-route,.router-test-meter { margin-top: 23px; padding-top: 0; }
  .router-model-cloud span { min-height: 26px; font-size: 9px; }
  .router-mini-route { max-width: 280px; }
  .router-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .router-stats article,.router-stats article:first-child,.router-stats article:last-child { min-height: 142px; padding: 20px 13px; border-right: 1px solid #cfdee3; border-bottom: 1px solid #cfdee3; }
  .router-stats article:nth-child(odd) { padding-left: 0; }
  .router-stats article:nth-child(even) { border-right: 0; }
  .router-stats article:nth-child(3) { border-right: 1px solid #cfdee3; }
  .router-stats article:nth-child(4) { padding-left: 13px; }
  .router-stats article:nth-child(5) { grid-column: 1 / -1; border-bottom: 0; }
  .router-stat-icon { width: 24px; height: 24px; }
  .router-stats strong,.router-stats article:nth-child(3) strong { font-size: 25px; }
  .router-stats article > span:last-child { font-size: 10px; line-height: 1.3; }
  .router-explore-surface { padding: 60px 0 62px; }
  .router-explore-heading { gap: 15px; margin-bottom: 28px; }
  .router-catalog { border-radius: 12px; }
  .router-catalog-bar { padding: 13px 12px; }
  .router-catalog-bar b { font-size: 12px; }
  .router-catalog-status { font-size: 8px; }
  .router-catalog-body { display: block; min-height: 0; }
  .router-catalog-nav { flex-direction: row; overflow-x: auto; gap: 5px; padding: 9px 10px; border-right: 0; border-bottom: 1px solid #2b4352; }
  .router-catalog-nav span { flex: 0 0 auto; min-height: 28px; padding: 0 7px; font-size: 9px; }
  .router-catalog-nav span svg { width: 12px; height: 12px; }
  .router-catalog-content { padding: 15px 11px; }
  .router-catalog-content-head { gap: 7px; margin-bottom: 12px; }
  .router-catalog-content-head h4 { font-size: 15px; }
  .router-catalog-content-head p { font-size: 8px; }
  .router-catalog-content-head > span { padding: 5px; font-size: 8px; white-space: nowrap; }
  .router-model-list { gap: 6px; }
  .router-model-list article { grid-template-columns: 29px minmax(0, 1fr) auto; gap: 7px; min-height: 50px; padding: 7px; }
  .router-model-list article > span:nth-of-type(2),.router-model-list article > em { display: none; }
  .router-model-letter { width: 27px; height: 27px; }
  .router-model-list b { font-size: 11px; }
  .router-model-list small { font-size: 8px; }
  .router-model-price { font-size: 9px; text-align: right; }
  .router-model-price small { font-size: 7px; }
  .router-catalog-footer { align-items: flex-start; flex-direction: column; gap: 8px; padding: 11px 12px; }
  .router-catalog-footer > span,.router-catalog-footer a { font-size: 9px; }
  .router-principles { padding-top: 59px; padding-bottom: 61px; }
  .router-principles-heading { margin-bottom: 25px; }
  .router-principle-grid { grid-template-columns: 1fr; gap: 10px; }
  .router-principle-grid article { min-height: 0; padding: 21px 20px; border-radius: 13px; }
  .router-principle-grid .router-icon { margin-bottom: 16px; }
  .router-launch { padding: 59px 0 61px; }
  .router-launch-grid { gap: 33px; }
  .router-launch-copy > p:not(.router-kicker) { font-size: 16px; }
  .router-launch-copy .btn { width: 100%; justify-content: center; margin-top: 24px; }
  .router-steps { grid-template-columns: 1fr; border-top: 0; border-bottom: 0; }
  .router-steps article,.router-steps article + article,.router-steps article:last-child { min-height: 0; padding: 0 0 24px 22px; border: 0; border-left: 1px solid #a9c7c5; margin-left: 7px; }
  .router-steps article:last-child { padding-bottom: 0; }
  .router-step-number { margin-bottom: 12px; font-size: 12px; }
  .router-step-icon { width: 31px; height: 31px; margin-bottom: 13px; }
  .router-steps h4 { font-size: 19px; }
  .router-steps p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .router-pulse,.router-workspace,.router-chart-line,.router-route-line i,.router-mini-route > i:after,.router-test-meter > div i { animation: none !important; }
  .router-chart-line { stroke-dashoffset: 0; }
}
