@import url("https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&f[]=clash-display@500,600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap");
:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #090909;
  --raised: #111;
  --text: #ededed;
  --muted: #999;
  --line: #222;
  --blue: #3291ff;
  --green: #50b884;
  --font: "General Sans", Arial, sans-serif;
  --display: "Clash Display", var(--font);
  --mono: "JetBrains Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: #124b88;
  color: #fff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
}
h1,
h2 {
  font-family: var(--display);
}
p {
  color: var(--muted);
}
svg {
  display: block;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
ul {
  padding-left: 20px;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 10px 18px;
}
.skip-link:focus {
  top: 10px;
}
.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}
.site-header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-shell {
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 36px;
  gap: 52px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.brand > svg {
  width: 27px;
  height: 27px;
  color: var(--blue);
}
.brand-cloud {
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.02em;
  border-left: 1px solid #444;
  color: #a1a1a1;
  padding-left: 8px;
  margin-left: 9px;
  text-transform: uppercase;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: #a1a1a1;
}
.desktop-nav > a:hover,
.desktop-nav [aria-current="page"] {
  color: #fff;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 46px;
  padding: 0 23px;
  background: #ededed;
  color: #080808;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #ededed;
  border-radius: 5px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: #ccc;
  border-color: #ccc;
  transform: translateY(-1px);
}
.button.secondary {
  background: transparent;
  color: #ededed;
  border-color: #333;
}
.button.secondary:hover {
  background: #151515;
  border-color: #666;
}
.button.small {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
  gap: 18px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 25px 0;
}
.nav-dropdown summary::-webkit-details-marker {
  display: none;
}
.nav-dropdown[open] summary {
  color: #fff;
}
.nav-panel {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  display: grid;
  grid-template-columns: 240px 1fr;
  border: 1px solid #292929;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #090909;
  box-shadow: 0 22px 55px #0008;
  padding: 12px;
}
.nav-panel > div {
  display: grid;
  gap: 3px;
}
.nav-panel a {
  padding: 13px;
  display: flex;
  gap: 13px;
  align-items: center;
  border-radius: 4px;
}
.nav-panel a:hover {
  background: #171717;
}
.nav-panel strong {
  display: block;
  font-size: 13px;
  color: #ededed;
  font-weight: 500;
}
.nav-panel small {
  font-size: 11px;
  color: #999;
}
.nav-panel .icon {
  color: #888;
}
.nav-overview {
  background: linear-gradient(150deg, #171717, #0b0b0b);
  margin-right: 10px;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-end;
}
.nav-overview > .icon {
  width: 35px;
  height: 35px;
  margin-bottom: auto;
  margin-top: 12px;
  color: var(--blue);
}
.nav-overview strong {
  font-size: 20px;
  margin-bottom: 8px;
}
.menu-toggle,
.mobile-nav {
  display: none;
}
.site-frame {
  max-width: 1280px;
  margin: auto;
  border-left: 1px solid #191919;
  border-right: 1px solid #191919;
}
.hero {
  position: relative;
  padding: 88px 40px 54px;
  text-align: center;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent calc(50% - 0.5px),
    #161616 50%,
    transparent calc(50% + 0.5px)
  );
  mask-image: linear-gradient(#000, transparent 80%);
}
.hero > * {
  position: relative;
}
.announcement {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #aaa;
  border: 1px solid #2a2a2a;
  padding: 5px 7px 5px 12px;
  border-radius: 30px;
  margin-bottom: 28px;
}
.announcement span:first-child {
  color: #ededed;
}
.announcement span:last-child {
  width: 22px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 50%;
  color: #aaa;
}
.hero h1 {
  font-size: clamp(46px, 6.2vw, 82px);
  letter-spacing: -0.055em;
  line-height: 1.025;
  max-width: 900px;
  margin: auto;
  font-weight: 500;
}
.hero h1 span {
  color: #878787;
}
.hero .lead {
  font-size: 17px;
  line-height: 1.7;
  max-width: 610px;
  margin: 24px auto 0;
  color: #9d9d9d;
}
.hero .actions {
  justify-content: center;
  margin-top: 27px;
}
.hero-footnote {
  font-family: var(--mono);
  font-size: 10px;
  margin-top: 18px;
  color: #777;
}
.hero-orbit {
  width: 410px;
  height: 410px;
  border: 1px solid #1e3553;
  border-radius: 50%;
  position: absolute;
  right: -170px;
  top: 120px;
  opacity: 0.35;
}
.hero-orbit:before,
.hero-orbit:after {
  content: "";
  position: absolute;
  border: 1px solid #1e3553;
  border-radius: 50%;
  inset: 30px;
}
.hero-orbit:after {
  inset: 60px;
}
.home-visual {
  padding: 0 65px 0;
  position: relative;
}
.home-visual:before {
  content: "";
  position: absolute;
  inset: 10% 5% 0;
  background: radial-gradient(ellipse at center, #0070f315, transparent 70%);
  pointer-events: none;
}
.architecture {
  position: relative;
  background: #060606;
  border: 1px solid #2a2a2a;
  border-radius: 9px;
  overflow: hidden;
  box-shadow:
    0 0 0 6px #ffffff02,
    0 -20px 90px #0070f306;
}
.canvas-toolbar {
  height: 47px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #222;
  background: #0c0c0c;
  font-size: 11px;
}
.canvas-toolbar > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.canvas-toolbar svg {
  width: 17px;
  height: 17px;
  color: #aaa;
}
.canvas-toolbar b {
  font-weight: 500;
}
.env-label {
  color: #aaa;
  border: 1px solid #303030;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
}
.env-label i,
.live-dot,
.node-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.canvas-body {
  position: relative;
  height: 335px;
  background-image: radial-gradient(#242424 0.7px, transparent 0.7px);
  background-size: 16px 16px;
}
.canvas-caption {
  position: absolute;
  top: 20px;
  left: 23px;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 10px var(--mono);
  color: #737373;
}
.connectors {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  fill: none;
  stroke: #333;
  stroke-width: 1.2;
}
.connectors .flow-line {
  stroke: #3291ff;
  stroke-dasharray: 5 280;
  animation: flow 7s linear infinite;
  opacity: 0.65;
}
.canvas-node {
  position: absolute;
  width: 23%;
  border: 1px solid #303030;
  border-radius: 6px;
  background: linear-gradient(120deg, #171717, #0e0e0e);
  padding: 13px 14px;
  box-shadow: 0 10px 20px #0006;
  font-size: 11px;
}
.canvas-node > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.canvas-node strong {
  font-weight: 500;
  font-size: 12px;
}
.canvas-node .icon {
  width: 17px;
  height: 17px;
}
.canvas-node p {
  font-size: 10px;
  margin: 8px 0 12px;
  color: #717171;
}
.canvas-node p span {
  padding: 0 3px;
}
.node-more {
  margin-left: auto;
  font-size: 18px;
  color: #666;
  line-height: 10px;
}
.node-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #8db8a2;
  border-top: 1px solid #ffffff08;
  padding-top: 8px;
}
.node-status > span {
  color: #626262;
  margin-left: auto;
}
.web-node {
  left: 12%;
  top: 67px;
}
.web-node .icon {
  color: var(--blue);
}
.worker-node {
  left: 12%;
  top: 219px;
}
.db-node {
  left: 61%;
  top: 67px;
}
.db-node .icon {
  color: #6e9bcb;
}
.redis-node {
  left: 52%;
  top: 219px;
  width: 18%;
}
.redis-node .icon {
  color: #bd766e;
}
.bucket-node {
  left: 75%;
  top: 219px;
  width: 18%;
}
.bucket-node .icon {
  color: #b59869;
}
.private-label {
  position: absolute;
  left: 40%;
  top: 185px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #666;
  background: #070707;
  padding: 3px 7px;
}
.private-label .icon {
  width: 12px;
  height: 12px;
}
.canvas-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid #222;
  font: 9px var(--mono);
  color: #666;
  background: #0b0b0b;
}
.canvas-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #86a594;
}
.canvas-bottom .icon {
  width: 12px;
  height: 12px;
}
.stack-strip {
  padding: 39px 30px 44px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.stack-strip > p {
  font: 10px var(--mono);
  color: #707070;
  margin-bottom: 24px;
}
.stack-names {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  color: #969696;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.stack-names span:nth-child(2) {
  font-family: var(--mono);
  font-size: 15px;
}
.stack-names span:last-child {
  font-family: var(--mono);
  font-size: 16px;
}
.section {
  padding: 85px 65px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 10px var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8d8d8d;
  margin-bottom: 21px;
}
.eyebrow > span {
  height: 5px;
  width: 5px;
  background: var(--blue);
}
.section-heading {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.section-heading > p:last-child:not(.eyebrow) {
  margin-top: 18px;
  max-width: 570px;
  font-size: 15px;
}
.section-heading h2 span {
  color: #777;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.product-card {
  padding: 29px 26px;
  min-height: 207px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.product-card:nth-child(3n) {
  border-right: 0;
}
.product-card:nth-child(n + 4) {
  border-bottom: 0;
}
.product-card:hover {
  background: #0c0c0c;
}
.product-card > .icon {
  color: #8f8f8f;
  width: 23px;
  height: 23px;
  margin-bottom: 28px;
}
.product-card h3 {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.product-card h3 span {
  color: #666;
}
.product-card p {
  margin-top: 10px;
  font-size: 12px;
  max-width: 230px;
  line-height: 1.7;
}
.product-card.last {
  background: radial-gradient(ellipse at 90% 120%, #0a2852, #060606 80%);
}
.product-card.last > .icon {
  color: var(--blue);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.07fr;
  gap: 65px;
  align-items: center;
}
.split .section-heading {
  margin-bottom: 0;
}
.split h2 {
  font-size: 40px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  margin-top: 23px;
  color: #ededed;
}
.text-link:hover {
  color: var(--blue);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin: 12px 0;
  color: #aaa;
}
.check-list .icon {
  width: 15px;
  height: 15px;
  color: #7e7e7e;
  margin-top: 3px;
}
.deploy-visual,
.metrics-visual,
.code-block {
  border: 1px solid #292929;
  background: #090909;
  border-radius: 7px;
  overflow: hidden;
}
.mini-bar {
  height: 43px;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #9a9a9a;
  padding: 0 17px;
}
.mini-bar > .icon {
  width: 14px;
  height: 14px;
}
.mini-bar > span {
  margin-left: auto;
  color: #666;
  font: 9px var(--mono);
}
.commit {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 25px 24px;
}
.commit-icon {
  padding: 8px;
  border: 1px solid #333;
  border-radius: 5px;
  color: #999;
}
.commit .icon {
  width: 16px;
  height: 16px;
}
.commit strong {
  font-size: 12px;
  font-weight: 500;
}
.commit p {
  font-size: 9px;
  margin-top: 4px;
}
.commit code {
  color: #666;
  margin-left: 6px;
  font-size: 8px;
}
.pipeline {
  list-style: none;
  margin: 0 24px;
  padding: 0;
}
.pipeline li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  position: relative;
}
.pipeline li:not(:last-child):before {
  content: "";
  position: absolute;
  left: 11px;
  top: 35px;
  width: 1px;
  height: 31px;
  background: #293b30;
}
.pipeline-dot {
  width: 23px;
  height: 23px;
  border: 1px solid #315442;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--green);
  background: #0b1710;
}
.pipeline-dot .icon {
  width: 12px;
  height: 12px;
}
.pipeline strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.pipeline small {
  font-size: 9px;
  color: #666;
}
.pipeline-time {
  margin-left: auto;
  font: 9px var(--mono);
  color: #555;
}
.deploy-url {
  margin: 19px 24px 12px;
  padding: 10px 13px;
  background: #101b14;
  border: 1px solid #21372b;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 10px var(--mono);
  color: #82ac92;
  border-radius: 4px;
}
.deploy-url .icon {
  width: 13px;
  height: 13px;
}
.deploy-url > span {
  margin-left: auto;
}
.visual-note {
  font: 8px/1.7 var(--mono);
  text-align: center;
  margin: 10px 8px 14px;
  color: #6d6d6d;
}
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.bento-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
  background: #070707;
  overflow: hidden;
}
.bento-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.bento-card > p {
  font-size: 13px;
  margin: 13px 0 23px;
  max-width: 400px;
}
.metrics-numbers {
  padding: 25px 22px 20px;
  display: flex;
  gap: 40px;
}
.metrics-numbers > div > span {
  font-size: 9px;
  color: #888;
  display: block;
}
.metrics-numbers strong {
  font-size: 26px;
  font-weight: 400;
}
.metrics-numbers strong span {
  font-size: 13px;
  color: #777;
}
.metrics-visual > svg {
  width: 100%;
  padding: 0 20px;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  margin: 7px 20px 15px;
  font: 8px var(--mono);
  color: #666;
}
.code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #242424;
  padding: 10px 17px;
  font: 10px var(--mono);
  color: #888;
}
.code-block pre {
  margin: 0;
  padding: 23px;
  overflow: auto;
  font: 11px/1.85 var(--mono);
  color: #b2c8e0;
  tab-size: 2;
}
.copy-button {
  font: 10px var(--font);
  border: 1px solid #333;
  color: #aaa;
  background: #161616;
  border-radius: 3px;
  padding: 3px 9px;
}
.copy-button:hover {
  color: #fff;
  background: #222;
}
.agent-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}
.agent-tools span {
  font: 9px var(--mono);
  border: 1px solid #292929;
  color: #999;
  border-radius: 4px;
  padding: 5px 8px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 43px;
}
.feature > .icon {
  color: #888;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 17px;
}
.feature p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 12px;
}
.migration-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  border: 1px solid #2b2b2b;
  border-radius: 6px;
  background: #080808;
  padding: 25px 30px;
}
.migration-brands {
  display: flex;
  gap: 25px;
  font-size: 15px;
  color: #ccc;
  font-weight: 500;
}
.migration-strip .text-link {
  margin: 0;
}
.closing {
  padding: 86px 60px 92px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 140%, #0e203f, transparent 60%);
}
.closing .eyebrow {
  justify-content: center;
}
.closing h2 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}
.closing h2 span {
  color: #7d7d7d;
}
.closing > p:not(.eyebrow) {
  font-size: 14px;
  margin: 20px auto 0;
}
.closing .actions {
  justify-content: center;
}
.closing-star {
  position: absolute;
  width: 180px;
  right: -45px;
  top: 40px;
  color: #151515;
  transform: rotate(12deg);
}
.closing-star svg {
  width: 100%;
}
.site-footer {
  max-width: 1280px;
  margin: auto;
  padding: 60px 65px 25px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 45px;
}
.footer-top > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}
.footer-top p {
  font-size: 13px;
  margin: 9px 0 16px;
}
.footer-top h3 {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.footer-top > div > a:not(.brand) {
  font-size: 11px;
  color: #888;
}
.footer-top > div > a:hover {
  color: #eee;
}
.status-link {
  display: flex;
  align-items: center;
  gap: 7px;
}
.status-link .icon {
  width: 13px;
  height: 13px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #1c1c1c;
  padding-top: 24px;
  margin-top: 45px;
  font-size: 10px;
  color: #666;
}
.page-hero {
  padding: 82px 65px 65px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  margin-bottom: 25px;
}
.page-hero h1 {
  font-size: clamp(42px, 5.3vw, 67px);
  max-width: 870px;
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.page-hero h1 span {
  color: #777;
}
.page-hero .lead {
  font-size: 17px;
  max-width: 620px;
  margin-top: 24px;
}
.page-hero.center {
  text-align: center;
}
.page-hero.center .eyebrow,
.page-hero.center .actions {
  justify-content: center;
}
.page-hero.center h1,
.page-hero.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.product-hero h1 {
  font-size: 52px;
}
.product-hero .lead {
  font-size: 15px;
}
.product-hero .code-block pre {
  font-size: 10px;
}
.big-number {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.big-number small {
  font: 12px var(--font);
  letter-spacing: 0;
  color: #888;
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #292929;
  border-radius: 6px;
  overflow: hidden;
}
.price-card {
  padding: 32px;
  border-right: 1px solid #292929;
}
.price-card:last-child {
  border: 0;
}
.price-card > p {
  font-size: 12px;
  min-height: 46px;
  margin: 12px 0 24px;
}
.price-card > span {
  font: 10px var(--mono);
  color: #888;
}
.price-card h3 {
  font-size: 19px;
  margin-bottom: 18px;
}
.price-card .big-number {
  margin: 8px 0 21px;
}
.price-card.featured {
  background: linear-gradient(160deg, #101b2b, #0a0a0a 80%);
}
.price-card .button {
  width: 100%;
  margin-top: 14px;
}
.price-note {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 18px;
  color: #888;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid #292929;
  border-radius: 5px;
  margin-top: 25px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: #999;
  background: #0b0b0b;
  font-size: 10px;
  white-space: nowrap;
}
th,
td {
  padding: 16px 22px;
  border-bottom: 1px solid #222;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td {
  color: #aaa;
}
td:first-child {
  color: #ededed;
}
td:last-child {
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}
.calculator {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border: 1px solid #292929;
  border-radius: 7px;
  overflow: hidden;
  margin-top: 30px;
}
.calculator-controls {
  padding: 32px;
  background: #080808;
}
.calculator label {
  font-size: 12px;
  display: block;
  margin-bottom: 8px;
  color: #aaa;
}
.calculator select {
  width: 100%;
  border: 1px solid #333;
  background: #111;
  color: #eee;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 24px;
}
.calculator input[type="range"] {
  width: 100%;
  accent-color: #3291ff;
  margin: 8px 0 20px;
}
.range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.range-label output {
  font: 11px var(--mono);
  color: #ddd;
}
.calculator-result {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-left: 1px solid #292929;
  background: radial-gradient(ellipse at 90% 0, #0b1b30, #070707 70%);
}
.calculator-result .big-number {
  margin: 15px 0;
}
.calculator-result > p {
  font-size: 11px;
}
.calculator-result > span {
  font: 10px var(--mono);
  color: #888;
}
.calculator-result a {
  font-size: 12px;
  margin-top: 30px;
  color: var(--blue);
}
.faq {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}
.faq summary {
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq summary:after {
  content: "+";
  color: #888;
  font-family: var(--mono);
}
.faq details[open] summary:after {
  content: "−";
}
.faq p {
  font-size: 13px;
  max-width: 830px;
  margin-top: 15px;
  line-height: 1.8;
}
.faq p a {
  color: var(--blue);
}
.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  counter-increment: steps;
}
.step:before {
  content: "0" counter(steps);
  display: block;
  font: 12px var(--mono);
  color: var(--blue);
  border-bottom: 1px solid #292929;
  padding-bottom: 16px;
  margin-bottom: 23px;
}
.step h3 {
  font-size: 20px;
}
.step p {
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.8;
}
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.blog-filters button {
  background: transparent;
  color: #999;
  border: 1px solid #292929;
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 12px;
}
.blog-filters button[aria-pressed="true"] {
  background: #ededed;
  color: #000;
  border-color: #ededed;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 25px;
}
.blog-card[hidden] {
  display: none;
}
.blog-card {
  display: flex;
  flex-direction: column;
}
.blog-card > img {
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
  background: #090909;
  border: 1px solid #292929;
  border-radius: 5px;
  transition: border-color 0.2s;
}
.blog-card:hover > img {
  border-color: #666;
}
.blog-card h3 {
  font-size: 23px;
  margin: 12px 0;
}
.blog-card p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 470px;
}
.blog-meta {
  font: 10px var(--mono);
  color: #777;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 19px;
}
.blog-meta .tag {
  color: #a1a1a1;
}
.blog-card .text-link {
  margin-top: 15px;
}
.article {
  max-width: 780px;
  margin: auto;
  padding: 65px 25px 80px;
}
.article > img {
  width: 100%;
  border: 1px solid #292929;
  border-radius: 6px;
  margin: 20px 0 35px;
}
.article .prose {
  font-size: 16px;
  color: #aaa;
  line-height: 1.85;
}
.prose h2 {
  font: 500 30px/1.2 var(--display);
  letter-spacing: -0.025em;
  color: #eee;
  margin: 44px 0 20px;
}
.prose h3 {
  font-size: 21px;
  color: #ddd;
  margin: 28px 0 14px;
}
.prose p {
  margin: 18px 0;
  line-height: 1.85;
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose li {
  margin: 10px 0;
}
.prose code:not(pre code) {
  font: 12px var(--mono);
  color: #ddd;
  border: 1px solid #292929;
  border-radius: 3px;
  padding: 2px 5px;
  background: #111;
}
.prose .code-block {
  margin: 24px 0;
}
.prose strong {
  color: #ddd;
  font-weight: 500;
}
.callout {
  border-left: 2px solid var(--blue);
  padding: 16px 22px;
  background: #06101d;
  margin: 27px 0;
  font-size: 13px;
  color: #9cb1ca;
}
.prose figure {
  margin: 30px 0;
}
.prose figure img {
  width: 100%;
  border: 1px solid #292929;
  border-radius: 5px;
}
.prose figcaption {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
}
.legal-content {
  max-width: 900px;
  margin: auto;
  padding: 65px 30px;
}
.legal-content .wrap {
  padding: 0;
}
.legal-content h1 {
  font-size: 52px;
  margin: 12px 0 24px;
}
.legal-content h2 {
  font-size: 25px;
  margin: 35px 0 18px;
}
.legal-content h3 {
  font-size: 18px;
  margin: 24px 0 12px;
}
.legal-content p,
.legal-content li {
  font-size: 14px;
  color: #aaa;
  line-height: 1.85;
  margin: 12px 0;
}
.legal-content a {
  color: var(--blue);
}
.legal-content .updated {
  font: 11px var(--mono);
  color: #777;
}
.legal-content .eyebrow {
  display: block;
}
.legal-content .lead {
  font-size: 17px;
  margin: 28px 0;
}
.error-page {
  padding: 120px 30px;
  text-align: center;
}
.error-page h1 {
  font-size: 70px;
}
.error-page p {
  margin-top: 20px;
}
.error-page .actions {
  justify-content: center;
}
.doc-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.doc-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  border: 1px solid #292929;
  border-radius: 5px;
  font-size: 14px;
  background: #070707;
}
.doc-links a:hover {
  border-color: #555;
  background: #111;
}
.db-engine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #292929;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 30px;
}
.db-engine {
  padding: 24px;
  border-right: 1px solid #292929;
  border-bottom: 1px solid #292929;
}
.db-engine:nth-child(4n) {
  border-right: 0;
}
.db-engine:nth-child(n + 5) {
  border-bottom: 0;
}
.db-engine .icon {
  margin-bottom: 25px;
  color: #859aaf;
}
.db-engine h3 {
  font-size: 17px;
}
.db-engine p {
  font-size: 11px;
  margin-top: 9px;
}
.inline-label {
  font: 10px var(--mono);
  color: #888;
}
.network-visual {
  border: 1px solid #292929;
  border-radius: 6px;
  background-image: radial-gradient(#242424 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  padding: 32px;
}
.network-visual > div {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.network-box {
  border: 1px solid #333;
  background: #101010;
  border-radius: 5px;
  padding: 20px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  min-width: 100px;
}
.network-box .icon {
  color: #999;
}
.network-connection {
  height: 1px;
  background: #3291ff;
  flex: 1;
}
.network-private {
  border: 1px dashed #29415f;
  padding: 25px 20px;
  margin-top: 25px !important;
  position: relative;
  border-radius: 5px;
}
.network-private:before {
  content: "PROJECT PRIVATE NETWORK";
  position: absolute;
  top: -7px;
  left: 20px;
  font: 8px var(--mono);
  color: #6a92c0;
  background: #000;
  padding: 0 7px;
}
.network-visual > p {
  font: 9px var(--mono);
  text-align: center;
  margin-top: 20px;
}
@keyframes flow {
  to {
    stroke-dashoffset: -285;
  }
}
@media (min-width: 1440px) {
  .hero {
    padding-top: 100px;
  }
  .hero h1 {
    font-size: 86px;
  }
}
@media (max-width: 1100px) {
  .nav-shell {
    gap: 28px;
    padding: 0 25px;
  }
  .desktop-nav {
    gap: 22px;
  }
  .brand-cloud {
    display: none;
  }
  .section,
  .page-hero {
    padding: 65px 40px;
  }
  .home-visual {
    padding: 0 40px;
  }
  .split {
    gap: 35px;
  }
  .product-hero h1 {
    font-size: 43px;
  }
  .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }
  .footer-top {
    gap: 25px;
  }
  .stack-names {
    gap: 28px;
  }
  .canvas-body {
    height: 330px;
  }
  .web-node,
  .db-node {
    top: 67px;
  }
  .worker-node,
  .redis-node,
  .bucket-node {
    top: 215px;
  }
  .canvas-node {
    padding: 12px 10px;
  }
  .node-status > span {
    display: none;
  }
}
@media (max-width: 800px) {
  .desktop-nav {
    display: none;
  }
  .site-header {
    height: 66px;
  }
  .nav-shell {
    gap: 20px;
    padding: 0 22px;
  }
  .nav-actions {
    gap: 15px;
  }
  .nav-actions .login {
    font-size: 12px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    padding: 0;
  }
  .menu-toggle span {
    width: 14px;
    height: 1px;
    background: #ccc;
  }
  .mobile-nav:not([hidden]) {
    display: grid;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    padding: 15px 24px 22px;
    background: #090909;
    border-bottom: 1px solid #333;
    max-height: calc(100dvh - 66px);
    overflow: auto;
  }
  .mobile-nav > a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #1c1c1c;
    color: #bbb;
  }
  .hero {
    padding: 64px 25px 45px;
  }
  .hero h1 {
    font-size: 59px;
  }
  .hero .lead {
    font-size: 15px;
    max-width: 490px;
  }
  .section,
  .page-hero {
    padding: 60px 30px;
  }
  .home-visual {
    padding: 0 25px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card:nth-child(3n) {
    border-right: 1px solid #222;
  }
  .product-card:nth-child(2n) {
    border-right: 0;
  }
  .product-card:nth-child(4) {
    border-bottom: 1px solid #222;
  }
  .product-card {
    min-height: 195px;
  }
  .split,
  .product-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split .section-heading {
    max-width: 550px;
  }
  .deploy-visual {
    max-width: 550px;
    width: 100%;
  }
  .product-hero .deploy-visual,
  .product-hero .code-block {
    max-width: none;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  .canvas-node strong {
    font-size: 10px;
  }
  .canvas-node p {
    font-size: 8px;
  }
  .canvas-node .icon {
    width: 14px;
    height: 14px;
  }
  .canvas-node {
    width: 27%;
  }
  .web-node,
  .worker-node {
    left: 7%;
  }
  .db-node {
    left: 61%;
  }
  .redis-node {
    left: 43%;
    width: 23%;
  }
  .bucket-node {
    left: 71%;
    width: 23%;
  }
  .private-label {
    left: 37%;
    font-size: 8px;
  }
  .canvas-body {
    height: 315px;
  }
  .worker-node,
  .redis-node,
  .bucket-node {
    top: 203px;
  }
  .canvas-bottom {
    font-size: 8px;
  }
  .stack-names {
    gap: 23px;
    font-size: 16px;
  }
  .stack-strip {
    padding: 30px 25px;
  }
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-top > div:last-child {
    grid-column: 2/4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top > div:last-child > h3 {
    grid-column: 1/3;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .price-card {
    padding: 25px 20px;
  }
  .price-cards .big-number {
    font-size: 42px;
  }
  .price-card h3 {
    font-size: 16px;
  }
  .calculator-result {
    padding: 28px;
  }
  .steps {
    gap: 24px;
  }
  .db-engine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .db-engine:nth-child(2n) {
    border-right: 0;
  }
  .db-engine:nth-child(5),
  .db-engine:nth-child(6) {
    border-bottom: 1px solid #292929;
  }
  .blog-card h3 {
    font-size: 20px;
  }
  .brand-cloud {
    display: inline;
  }
}
@media (max-width: 540px) {
  .nav-shell {
    padding: 0 17px;
    gap: 12px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .brand > svg {
    width: 23px;
    height: 23px;
  }
  .brand-cloud {
    display: none;
  }
  .nav-actions .login {
    display: none;
  }
  .nav-actions .button {
    font-size: 10px;
    padding: 0 11px;
    gap: 10px;
    min-height: 32px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 43px;
    line-height: 1.07;
    letter-spacing: -0.045em;
  }
  .hero .lead {
    font-size: 14px;
    line-height: 1.75;
  }
  .announcement {
    font-size: 9px;
    gap: 7px;
    margin-bottom: 24px;
  }
  .button {
    font-size: 12px;
    min-height: 43px;
    padding: 0 16px;
    gap: 16px;
  }
  .hero .actions {
    gap: 9px;
  }
  .hero-footnote {
    font-size: 8px;
  }
  .home-visual {
    padding: 0 15px;
  }
  .canvas-toolbar {
    font-size: 8px;
    padding: 0 11px;
    height: 38px;
  }
  .canvas-toolbar > span {
    gap: 7px;
  }
  .env-label {
    font-size: 8px;
  }
  .canvas-toolbar svg {
    width: 12px;
    height: 12px;
  }
  .canvas-body {
    height: 298px;
  }
  .canvas-caption {
    top: 15px;
    left: 12px;
    font-size: 8px;
  }
  .canvas-node {
    padding: 10px 9px;
    width: 40%;
  }
  .canvas-node > div:first-child {
    gap: 6px;
  }
  .canvas-node strong {
    font-size: 9px;
  }
  .canvas-node p {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .canvas-node .icon {
    width: 13px;
    height: 13px;
  }
  .node-status {
    font-size: 8px;
  }
  .node-more {
    display: none;
  }
  .web-node {
    top: 52px;
    left: 5%;
  }
  .db-node {
    top: 52px;
    left: 55%;
  }
  .worker-node {
    top: 187px;
    left: 5%;
  }
  .redis-node {
    top: 187px;
    left: 55%;
    width: 40%;
  }
  .bucket-node {
    display: none;
  }
  .private-label {
    left: 28%;
    top: 159px;
    font-size: 8px;
  }
  .canvas-bottom > span:last-child {
    display: none;
  }
  .canvas-bottom {
    padding: 9px 12px;
    font-size: 7px;
  }
  .connectors {
    display: none;
  }
  .canvas-body:before {
    content: "";
    position: absolute;
    left: 25%;
    top: 95px;
    width: 52%;
    height: 155px;
    border: 1px solid #28425e;
    border-radius: 4px;
  }
  .stack-names {
    font-size: 14px;
    gap: 19px 22px;
  }
  .stack-names span:nth-child(2),
  .stack-names span:last-child {
    font-size: 12px;
  }
  .stack-strip > p {
    font-size: 8px;
  }
  .section,
  .page-hero {
    padding: 48px 23px;
  }
  .section-heading h2,
  .split h2 {
    font-size: 33px;
  }
  .section-heading > p:last-child:not(.eyebrow) {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 17px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .product-card {
    padding: 22px 17px;
    min-height: 197px;
  }
  .product-card > .icon {
    margin-bottom: 24px;
  }
  .product-card h3 {
    font-size: 15px;
    line-height: 1.2;
  }
  .product-card p {
    font-size: 11px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }
  .feature p {
    font-size: 13px;
    max-width: 350px;
  }
  .feature > .icon {
    margin-bottom: 12px;
  }
  .bento-card {
    padding: 22px 18px;
  }
  .bento-card h3 {
    font-size: 21px;
  }
  .metrics-numbers {
    gap: 25px;
    padding: 20px 16px;
  }
  .metrics-numbers strong {
    font-size: 24px;
  }
  .metrics-numbers > div > span {
    font-size: 8px;
  }
  .metrics-numbers strong span {
    font-size: 10px;
  }
  .code-block pre {
    font-size: 10px;
    padding: 17px;
  }
  .migration-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
    gap: 20px;
  }
  .migration-brands {
    font-size: 14px;
    gap: 22px;
  }
  .closing {
    padding: 60px 22px;
  }
  .closing h2 {
    font-size: 38px;
  }
  .closing > p:not(.eyebrow) {
    font-size: 12px;
    max-width: 280px;
  }
  .closing-star {
    width: 110px;
    right: -38px;
    top: 20px;
  }
  .site-footer {
    padding: 43px 23px 22px;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 26px;
  }
  .footer-top > div:first-child {
    grid-column: 1/3;
  }
  .footer-top > div:first-child p {
    margin: 5px 0;
  }
  .footer-top > div:last-child {
    grid-column: 1/3;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > div:last-child > h3 {
    grid-column: 1/3;
  }
  .footer-bottom {
    font-size: 9px;
  }
  .page-hero h1,
  .product-hero h1 {
    font-size: 41px;
  }
  .page-hero .lead {
    font-size: 14px;
  }
  .price-cards {
    grid-template-columns: 1fr;
  }
  .price-card {
    border-right: 0;
    border-bottom: 1px solid #292929;
    padding: 28px;
  }
  .price-card h3 {
    font-size: 21px;
  }
  .price-card > p {
    min-height: 0;
  }
  .price-card .big-number {
    font-size: 52px;
  }
  .calculator {
    grid-template-columns: 1fr;
  }
  .calculator-controls {
    padding: 24px;
  }
  .calculator-result {
    border-left: 0;
    border-top: 1px solid #292929;
    padding: 28px;
  }
  .calculator-result .big-number {
    font-size: 49px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .step p {
    font-size: 13px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .blog-card h3 {
    font-size: 23px;
  }
  .blog-filters {
    gap: 6px;
  }
  .blog-filters button {
    font-size: 11px;
    padding: 6px 10px;
  }
  .blog-meta {
    font-size: 9px;
  }
  .article {
    padding: 30px 23px 50px;
  }
  .article .prose {
    font-size: 14px;
  }
  .prose h2 {
    font-size: 27px;
  }
  .prose h3 {
    font-size: 20px;
  }
  .doc-links {
    grid-template-columns: 1fr;
  }
  .doc-links a {
    font-size: 13px;
    padding: 18px;
  }
  .db-engine {
    padding: 22px 18px;
  }
  .db-engine h3 {
    font-size: 16px;
  }
  .network-visual {
    padding: 23px 17px;
  }
  .network-box {
    min-width: 80px;
    padding: 17px 12px;
    font-size: 10px;
  }
  .legal-content {
    padding: 45px 23px;
  }
  .legal-content h1 {
    font-size: 40px;
  }
  .legal-content h2 {
    font-size: 23px;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 13px 15px;
  }
  .product-hero .lead {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Intrinsic image dimensions reserve space; rendered media follows its column. */
img {
  max-width: 100%;
  height: auto;
}
.split > div > .feature-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 0;
}
.split > div > .feature-grid .feature {
  padding-left: 38px;
  position: relative;
}
.split > div > .feature-grid .feature > .icon {
  position: absolute;
  left: 0;
  top: 0;
}

.demo-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 43px;
  padding: 0 22px;
  border-bottom: 1px solid #252525;
  background: #080808;
}
.demo-tabs button {
  padding: 0;
  height: 100%;
  color: #999;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  font-size: 10px;
}
.demo-tabs button[aria-selected="true"] {
  border-bottom-color: #3291ff;
  color: #ededed;
}
.demo-tabs > span {
  margin-left: auto;
  font: 8px var(--mono);
  color: #777;
}
.demo-panel {
  height: 335px;
  padding: 26px 28px;
  background: #080808;
  overflow: auto;
}
.demo-panel[hidden],
.canvas-body[hidden] {
  display: none;
}
.demo-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding-bottom: 20px;
}
.demo-panel-heading strong {
  font-weight: 500;
}
.demo-panel-heading > span {
  font: 9px var(--mono);
  color: #888;
}
.demo-deployment {
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid #242424;
  padding: 18px 0;
}
.demo-deployment > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-deployment strong {
  font-size: 11px;
  font-weight: 500;
}
.demo-deployment > div > span {
  font: 9px var(--mono);
  color: #888;
}
.demo-deployment > .icon {
  width: 14px;
  height: 14px;
  color: #777;
  margin-left: auto;
}
.demo-status {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 95px;
  font-size: 10px;
  color: #999;
}
.demo-status.is-active {
  color: #7bba98;
}
.demo-status .icon {
  width: 14px;
  height: 14px;
}
.demo-logs pre {
  font: 11px/2.3 var(--mono);
  overflow: auto;
  margin: 4px 0 18px;
  color: #c0c0c0;
}
.demo-logs pre span {
  color: #777;
}
.demo-logs pre b {
  font-weight: 400;
  color: #75a9dd;
}
@media (max-width: 800px) {
  .demo-panel {
    height: 315px;
  }
}
@media (max-width: 540px) {
  .demo-tabs {
    gap: 20px;
    padding: 0 13px;
    height: 38px;
  }
  .demo-tabs > span {
    display: none;
  }
  .demo-panel {
    height: 298px;
    padding: 20px 15px;
  }
  .demo-panel-heading {
    font-size: 11px;
  }
  .demo-panel-heading > span {
    font-size: 8px;
  }
  .demo-deployment {
    gap: 12px;
    padding: 15px 0;
  }
  .demo-status {
    min-width: 70px;
    font-size: 8px;
  }
  .demo-deployment strong {
    font-size: 9px;
  }
  .demo-deployment > div > span {
    font-size: 8px;
  }
  .demo-deployment > .icon {
    display: none;
  }
  .demo-logs pre {
    font-size: 9px;
    line-height: 2.5;
  }
}

/* Explicit currency selection, shared by the catalog and calculator. */
.nav-chevron {
  flex: none;
  transition: transform 0.18s ease;
}
.nav-dropdown[open] .nav-chevron {
  transform: rotate(180deg);
}
.currency-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 30px 0 16px;
}
.currency-label {
  font-size: 13px;
  color: #ccc;
  font-weight: 500;
}
.currency-options {
  display: flex;
  padding: 5px;
  border: 1px solid #333;
  border-radius: 12px;
  background: #0a0a0a;
  gap: 5px;
}
.currency-options button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #999;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
.currency-options button small {
  font-size: 11px;
  color: inherit;
  opacity: 0.7;
}
.currency-options button[aria-pressed="true"] {
  background: #ededed;
  color: #111;
  border-color: #fff;
}
.currency-options button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.currency-options button:not(:disabled):hover {
  border-color: #777;
}
.currency-hint {
  font-size: 12px;
  color: #999;
}
.currency-options button:focus-visible {
  outline: 2px solid #3291ff;
  outline-offset: 3px;
}
@media (max-width: 520px) {
  .currency-options button {
    padding: 12px 15px;
  }
  .currency-options button small {
    display: none;
  }
  .currency-hint {
    max-width: 270px;
    line-height: 1.6;
  }
}

.calculator-currency {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 30px;
  color: #aaa;
  font-size: 12px;
}
.calculator-currency .currency-options {
  border-radius: 8px;
  padding: 3px;
}
.calculator-currency .currency-options button {
  font-size: 11px;
  padding: 7px 9px;
  border-radius: 5px;
}
