:root {
  color-scheme: light;
  --canvas: #f4f6f3;
  --canvas-deep: #e8eeea;
  --surface: #fffefa;
  --surface-pure: #ffffff;
  --surface-soft: #edf3ef;
  --surface-mint: #e1f1ea;
  --ink: #11241f;
  --ink-soft: #40534c;
  --muted: #72817b;
  --faint: #9aa7a2;
  --line: rgba(28, 61, 52, .12);
  --line-strong: rgba(28, 61, 52, .22);
  --teal: #197f76;
  --teal-dark: #105e58;
  --teal-deep: #0e2d27;
  --mint: #9ed9c7;
  --coral: #e46850;
  --coral-soft: #fae9e4;
  --success: #278464;
  --danger: #bf4f4b;
  --warning: #b77a25;
  --shadow-soft: 0 1px 2px rgba(19, 47, 39, .04), 0 18px 55px rgba(19, 47, 39, .07);
  --shadow-float: 0 24px 80px rgba(20, 54, 45, .12), 0 2px 8px rgba(20, 54, 45, .04);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --page-width: 1240px;
  --font-ui: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Noto Sans Mono CJK SC", "DejaVu Sans Mono", monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 9%, rgba(158, 217, 199, .22), transparent 30rem),
    radial-gradient(circle at 8% 30%, rgba(228, 104, 80, .055), transparent 24rem),
    linear-gradient(180deg, #f7f8f5 0, var(--canvas) 42rem, #eef2ef 100%);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(25, 127, 118, .18);
  color: var(--ink);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 75, 63, .28) transparent;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(25, 127, 118, .22);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(3px);
  pointer-events: none;
}

.ambient-one {
  top: 130px;
  right: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(25, 127, 118, .08);
  box-shadow: 0 0 0 80px rgba(25, 127, 118, .018), 0 0 0 160px rgba(25, 127, 118, .012);
}

.ambient-two {
  left: -100px;
  top: 680px;
  width: 220px;
  height: 220px;
  background: rgba(228, 104, 80, .035);
}

.page-width {
  width: min(var(--page-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(28, 61, 52, .09);
  background: rgba(247, 248, 245, .82);
  backdrop-filter: blur(20px) saturate(130%);
}

.header-inner {
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(16, 94, 88, .28);
  border-radius: 12px;
  background: var(--surface-pure);
  box-shadow: 0 6px 18px rgba(18, 66, 55, .08);
}

.brand-mark::before {
  content: "Y";
  position: absolute;
  left: 9px;
  top: 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  line-height: 1;
}

.brand-mark i {
  position: absolute;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
}

.brand-mark i:nth-child(1) {
  left: 9px;
  width: 7px;
  background: var(--coral);
}

.brand-mark i:nth-child(2) {
  left: 18px;
  width: 5px;
  background: var(--teal);
}

.brand-mark i:nth-child(3) {
  left: 25px;
  width: 4px;
  background: var(--mint);
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -.025em;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 550;
  letter-spacing: .04em;
}

.public-nav,
.account-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-nav a,
.account-nav a,
.account-nav .text-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.public-nav a:hover,
.account-nav a:hover,
.account-nav a.active,
.account-nav .text-button:hover {
  background: rgba(25, 127, 118, .07);
  color: var(--teal-dark);
}

.availability,
.identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 620;
  white-space: nowrap;
}

.availability i,
.identity i,
.signal-label i,
.status-chip i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(39, 132, 100, .1);
}

.account-nav form,
.inline-action {
  margin: 0;
}

.home-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(480px, .96fr);
  gap: clamp(54px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(74px, 9vw, 118px) 82px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  font: 650 10px/1.2 var(--font-mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.signal-label.success {
  color: var(--success);
}

.signal-label.danger {
  color: var(--danger);
}

.signal-label.danger i {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(191, 79, 75, .1);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-ui);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 25px 0 27px;
  font-size: clamp(52px, 4.7vw, 64px);
  font-weight: 670;
  line-height: 1.08;
  letter-spacing: -.065em;
}

.hero-copy h1 span {
  display: block;
  color: var(--teal-dark);
}

.lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.button,
.copy-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  transition: transform 170ms var(--ease-out), box-shadow 170ms ease, background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}

.button:not(:disabled):hover,
.copy-button:not(:disabled):hover {
  transform: translateY(-2px);
}

.button:active,
.copy-button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: wait;
  opacity: .72;
}

.primary-button {
  border: 1px solid var(--teal-deep);
  background: var(--teal-deep);
  color: #f7fffb;
  box-shadow: 0 8px 22px rgba(14, 45, 39, .15);
}

.primary-button:hover {
  background: #163b33;
  box-shadow: 0 12px 28px rgba(14, 45, 39, .18);
}

.primary-button span {
  color: var(--mint);
}

.secondary-button,
.ghost-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
}

.secondary-button:hover,
.ghost-button:hover {
  border-color: rgba(25, 127, 118, .32);
  background: var(--surface-pure);
}

.ghost-button {
  border-color: transparent;
  background: transparent;
  color: var(--ink-soft);
  box-shadow: none;
}

.compact {
  min-height: 42px;
  padding-inline: 15px;
}

.full {
  width: 100%;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 10px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-proof i {
  color: var(--teal);
  font: 650 8px/1 var(--font-mono);
  font-style: normal;
}

.route-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(29, 79, 65, .13);
  border-radius: var(--radius-xl);
  background: rgba(255, 254, 250, .82);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(14px);
}

.route-visual::before {
  content: "";
  position: absolute;
  inset: 54px 0 0;
  opacity: .48;
  background-image:
    linear-gradient(rgba(28, 61, 52, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 61, 52, .04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 78%, transparent);
}

.route-toolbar {
  position: relative;
  z-index: 2;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.route-toolbar span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.route-toolbar span i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(39, 132, 100, .09);
  animation: breathe 2.4s ease-in-out infinite;
}

.route-toolbar code {
  color: var(--muted);
  font: 550 9px/1 var(--font-mono);
}

.route-canvas {
  position: relative;
  z-index: 1;
  height: 338px;
}

.route-path {
  position: absolute;
  inset: 76px 4% auto;
  width: 92%;
  height: 170px;
  overflow: visible;
}

.route-path path {
  fill: none;
  stroke: rgba(25, 127, 118, .16);
  stroke-width: 1.5;
}

.route-path .route-path-live {
  stroke: var(--teal);
  stroke-dasharray: 7 16;
  stroke-linecap: round;
  animation: routeDash 2.2s linear infinite;
}

.route-packet {
  position: absolute;
  z-index: 3;
  left: 17%;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid var(--surface-pure);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(228, 104, 80, .12), 0 4px 12px rgba(228, 104, 80, .25);
  animation: routePacket 3.8s var(--ease-out) infinite;
}

.route-endpoint,
.gateway-system {
  position: absolute;
  top: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.route-device {
  left: 7%;
}

.route-upstream {
  right: 7%;
}

.endpoint-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(24, 62, 52, .08);
}

.endpoint-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.route-endpoint strong,
.gateway-system strong {
  font-size: 13px;
  font-weight: 680;
}

.route-endpoint small,
.gateway-system small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.gateway-system {
  z-index: 2;
  left: 50%;
  top: 75px;
  width: 180px;
  transform: translateX(-50%);
}

.gateway-rings {
  position: absolute;
  top: -20px;
  width: 136px;
  height: 136px;
  border-radius: 999px;
}

.gateway-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(25, 127, 118, .12);
  border-radius: inherit;
  animation: ring 3.5s ease-out infinite;
}

.gateway-rings i:nth-child(2) {
  animation-delay: 1.15s;
}

.gateway-rings i:nth-child(3) {
  animation-delay: 2.3s;
}

.gateway-core {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(16, 94, 88, .28);
  border-radius: 30px;
  background: linear-gradient(145deg, #f7fffb, #cfe8df);
  box-shadow: 0 22px 48px rgba(16, 94, 88, .18), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.gateway-core::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(39, 132, 100, .1);
}

.gateway-core span {
  color: var(--teal-deep);
  font-size: 32px;
  font-weight: 760;
  letter-spacing: -.08em;
}

.route-events {
  position: relative;
  z-index: 2;
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-top: 1px solid var(--line);
  background: rgba(238, 244, 240, .66);
}

.route-events span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 9px;
  white-space: nowrap;
}

.route-events i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--success);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.principles article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 34px 32px;
}

.principles article + article {
  border-left: 1px solid var(--line);
}

.principles article > span,
.step-number {
  color: var(--teal);
  font: 650 9px/1.4 var(--font-mono);
}

.principles h2 {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -.02em;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.access-section {
  padding-block: 128px 142px;
}

.purchase-page,
.order-page {
  min-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(64px, 10vw, 132px);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.order-page { grid-template-columns: minmax(0, 760px); justify-content: center; }
.purchase-intro h1,
.order-card h1 { max-width: 760px; margin: 18px 0; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.purchase-boundaries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.purchase-boundaries span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); background: rgba(255,255,255,.62); font-size: 13px; }
.purchase-card,
.order-card { background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 28px 80px rgba(23,42,42,.1); }
.purchase-card header h2 { margin: 7px 0 9px; font-size: 30px; letter-spacing: -.035em; }
.purchase-price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 18px; }
.purchase-price strong { font-size: 54px; letter-spacing: -.06em; }
.purchase-price span { color: var(--muted); }
.purchase-card ul { display: grid; gap: 11px; margin: 0 0 28px; padding-left: 20px; color: var(--muted); }
.order-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 28px 0; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.order-facts div { min-width: 0; padding: 18px; background: var(--paper); }
.order-facts dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.order-facts dd { margin: 7px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.staging-order-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 24px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(115deg, rgba(232,250,245,.8), rgba(255,255,255,.82)); }
.staging-order-banner h2 { margin: 5px 0; letter-spacing: -.025em; }
.staging-order-banner p { color: var(--muted); }

.section-heading {
  max-width: 620px;
  margin-bottom: 45px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--teal);
  font: 650 9px/1.35 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 13px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 660;
  line-height: 1.15;
  letter-spacing: -.055em;
}

.section-heading > p:last-child,
.page-intro > div > p:last-child,
.panel-heading p,
.action-card p,
.setup-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: 18px;
  align-items: stretch;
}

.register-card,
.login-card {
  min-width: 0;
  border-radius: var(--radius-lg);
}

.register-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, .9);
  box-shadow: var(--shadow-soft);
}

.card-heading {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  margin-bottom: 34px;
}

.card-heading h3,
.login-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
  font-weight: 660;
  letter-spacing: -.035em;
}

.card-heading p,
.login-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.invite-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding-left: 54px;
}

.invite-form label {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.input-shell {
  position: relative;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, .76);
  color: var(--ink);
  font-size: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input::placeholder {
  color: var(--faint);
}

input:hover {
  border-color: rgba(25, 127, 118, .34);
}

input:focus {
  border-color: var(--teal);
  background: var(--surface-pure);
  box-shadow: 0 0 0 4px rgba(25, 127, 118, .08);
}

.input-shell input {
  padding-right: 42px;
  font-family: var(--font-mono);
}

.input-status {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.input-shell.ready .input-status {
  border-color: var(--success);
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(39, 132, 100, .1);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 22px 0 0 54px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.privacy-note i {
  color: var(--success);
  font-style: normal;
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(30px, 3.4vw, 42px);
  background: var(--teal-deep);
  color: #f4faf6;
  box-shadow: 0 24px 64px rgba(14, 45, 39, .16);
}

.login-card h3 {
  margin-top: 22px;
  color: #f7fffb;
}

.login-card p,
.login-card .step-number.muted,
.trust-note small {
  color: rgba(232, 245, 238, .6);
}

.login-card .secondary-button {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #f7fffb;
}

.login-card .secondary-button:hover {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .13);
}

.trust-note {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.trust-note span {
  color: var(--mint);
  font: 600 9px/1 var(--font-mono);
  text-transform: uppercase;
}

.trust-note small {
  font-size: 9px;
  line-height: 1.7;
  text-align: right;
}

.workspace {
  padding-block: 64px 104px;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.page-intro h1,
.focus-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 660;
  line-height: 1.15;
  letter-spacing: -.055em;
}

.status-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(39, 132, 100, .2);
  border-radius: 999px;
  background: rgba(225, 241, 234, .72);
  color: var(--success);
  font-size: 9px;
  font-weight: 680;
  white-space: nowrap;
}

.status-chip.admin {
  border-color: rgba(25, 127, 118, .2);
  color: var(--teal-dark);
}

.status-chip.admin i {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 127, 118, .1);
}

.notice {
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 11px;
}

.notice.success {
  border-color: rgba(39, 132, 100, .2);
  color: var(--success);
}

.notice.danger {
  border-color: rgba(191, 79, 75, .2);
  background: var(--coral-soft);
  color: var(--danger);
}

.secret-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 13px 18px;
  margin-bottom: 18px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(183, 122, 37, .22);
  border-radius: var(--radius-md);
  background: #fff9e9;
  box-shadow: 0 12px 34px rgba(105, 75, 26, .06);
}

.secret-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #d89d3b;
}

.secret-heading span,
.secret-heading strong {
  display: block;
}

.secret-heading span {
  margin-bottom: 5px;
  color: var(--warning);
  font-size: 9px;
  font-weight: 700;
}

.secret-heading strong {
  font-size: 16px;
}

.secret-card code {
  grid-column: 1;
  padding: 12px 13px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(183, 122, 37, .18);
  border-radius: 9px;
  background: rgba(255, 255, 255, .65);
  color: var(--ink);
  font: 550 10px/1.6 var(--font-mono);
}

.secret-card .copy-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
}

.secret-card p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.copy-button {
  min-height: 40px;
  border: 1px solid rgba(25, 127, 118, .26);
  background: transparent;
  color: var(--teal-dark);
}

.copy-button:hover {
  background: rgba(25, 127, 118, .07);
}

.copy-button.copied {
  border-color: rgba(39, 132, 100, .32);
  background: rgba(39, 132, 100, .1);
  color: var(--success);
}

.usage-panel {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: 0;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--teal-deep);
  color: #f5fbf7;
  box-shadow: 0 20px 56px rgba(14, 45, 39, .13);
}

.usage-primary {
  padding: 30px 34px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.usage-primary > div {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
}

.usage-primary span,
.usage-stats span,
.usage-stats small {
  color: rgba(236, 247, 241, .58);
  font-size: 9px;
}

.usage-primary > div > span {
  margin-right: auto;
}

.usage-primary strong {
  font: 680 30px/1 var(--font-mono);
  letter-spacing: -.06em;
}

.usage-primary small {
  margin-left: 5px;
  color: rgba(236, 247, 241, .48);
  font: 500 11px/1 var(--font-mono);
}

.usage-primary meter {
  width: 100%;
  height: 7px;
  display: block;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.usage-primary meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.usage-primary meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), #d5f1e7);
}

.usage-primary meter::-moz-meter-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), #d5f1e7);
}

.usage-primary p {
  margin: 14px 0 0;
  color: rgba(236, 247, 241, .52);
  font-size: 9px;
  line-height: 1.65;
}

.usage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.usage-stats article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px;
}

.usage-stats article + article {
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.usage-stats strong {
  display: block;
  margin: 12px 0 8px;
  overflow: hidden;
  color: #f8fffb;
  font: 660 21px/1.1 var(--font-mono);
  letter-spacing: -.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
  gap: 18px;
  align-items: start;
}

.surface-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 250, .88);
  box-shadow: var(--shadow-soft);
}

.subscription-panel {
  margin-bottom: 18px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.panel-heading h2,
.setup-copy h2,
.action-card h2 {
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 660;
  letter-spacing: -.035em;
}

.panel-count {
  min-width: 40px;
  min-height: 26px;
  display: grid;
  place-items: center;
  padding-inline: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font: 600 9px/1 var(--font-mono);
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  margin-bottom: 20px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

th {
  color: var(--muted);
  font-size: 8px;
  font-weight: 680;
  letter-spacing: .055em;
  text-align: left;
  text-transform: uppercase;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
  text-align: right;
}

tbody tr {
  transition: background-color 140ms ease;
}

tbody tr:hover {
  background: rgba(25, 127, 118, .035);
}

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

td strong {
  font-weight: 650;
}

td code {
  color: var(--teal-dark);
  font: 550 9px/1 var(--font-mono);
}

.empty {
  padding: 32px !important;
  color: var(--muted);
  text-align: center !important;
}

.cell-note {
  display: block;
  max-width: 220px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  text-overflow: ellipsis;
}

.tag {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 680;
}

.tag.active {
  border-color: rgba(39, 132, 100, .2);
  background: #e7f4ed;
  color: var(--success);
}

.tag.locked {
  border-color: rgba(25, 127, 118, .2);
  background: var(--surface-mint);
  color: var(--teal-dark);
}

.tag.suspended,
.tag.revoked,
.tag.expired {
  border-color: rgba(191, 79, 75, .18);
  background: var(--coral-soft);
  color: var(--danger);
}

.tag.provisioning,
.tag.maintenance {
  border-color: rgba(25, 127, 118, .2);
  background: var(--surface-mint);
  color: var(--teal-dark);
}

.tag.healthy {
  border-color: rgba(39, 132, 100, .2);
  background: #e7f4ed;
  color: var(--success);
}

.tag.degraded,
.tag.draining {
  border-color: rgba(181, 127, 50, .2);
  background: #f7efe1;
  color: #8b6229;
}

.tag.offline {
  border-color: rgba(191, 79, 75, .18);
  background: var(--coral-soft);
  color: var(--danger);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 620;
}

.text-button:hover {
  color: var(--teal-dark);
}

.text-button.danger:hover,
.danger {
  color: var(--danger);
}

.invite-status {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  margin: 30px 0;
}

.invite-status strong {
  font-size: 13px;
}

.invite-status small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.75;
}

.invite-indicator {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-soft);
}

.invite-indicator::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(25, 127, 118, .24);
  border-radius: 999px;
}

.invite-indicator i {
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
}

.invite-indicator.active i {
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(39, 132, 100, .1);
}

.invite-indicator.locked i {
  background: var(--teal);
}

.invite-indicator.redeemed i {
  background: var(--ink);
}

.invite-indicator.revoked i,
.invite-indicator.expired i {
  background: var(--danger);
}

.fine-print,
.empty-block {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.fine-print {
  margin: 15px 0 0;
}

.empty-block {
  margin: 30px 0;
}

.setup-panel {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: center;
  margin-top: 18px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #dfece6;
}

.command-line {
  min-width: 0;
  min-height: 60px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: var(--teal-deep);
  color: #e8f6ef;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 32px rgba(14, 45, 39, .12);
}

.command-line > span {
  color: var(--mint);
  font: 600 11px/1 var(--font-mono);
}

.command-line code {
  min-width: 0;
  overflow-x: auto;
  font: 500 10px/1.6 var(--font-mono);
  white-space: nowrap;
}

.copy-button.inverse {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .07);
  color: #effbf5;
}

.copy-button.inverse:hover,
.copy-button.inverse.copied {
  background: rgba(255, 255, 255, .13);
  color: #ffffff;
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.node-admin-panel {
  margin-bottom: 18px;
}

.node-create-form {
  grid-template-columns: minmax(0, 1.4fr) minmax(150px, .7fr) auto;
}

.node-status-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.node-status-actions form {
  margin: 0;
}

.token-prefix {
  white-space: nowrap;
}

.action-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 18px;
}

.action-card form {
  grid-column: 2;
  margin-top: 22px;
}

.action-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--teal-deep);
  color: white;
  font-size: 22px;
  font-weight: 300;
}

.action-icon.quiet {
  background: var(--surface-mint);
}

.action-icon.quiet i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(39, 132, 100, .11);
}

.data-panel + .data-panel {
  margin-top: 18px;
}

.quota-form {
  display: flex;
  align-items: center;
  gap: 7px;
}

.quota-form input {
  width: 88px;
  min-height: 32px;
  padding-inline: 8px;
  border-radius: 8px;
}

.danger-button {
  border: 1px solid rgba(191, 79, 75, .24);
  background: rgba(250, 233, 228, .52);
  color: var(--danger);
}

.danger-button:hover {
  border-color: rgba(191, 79, 75, .42);
  background: var(--coral-soft);
}

.activation-page {
  min-height: calc(100vh - 147px);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: center;
  padding-block: clamp(72px, 9vw, 118px) 112px;
}

.activation-intro {
  align-self: center;
}

.activation-intro h1 {
  max-width: 560px;
  margin: 24px 0 22px;
  font-size: clamp(42px, 4.8vw, 62px);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -.062em;
}

.activation-intro .lede {
  max-width: 590px;
  font-size: 14px;
  line-height: 1.85;
}

.activation-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.activation-steps::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: var(--line-strong);
}

.activation-steps li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 68px;
  color: var(--muted);
}

.activation-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--canvas);
  color: var(--muted);
  font: 630 8px/1 var(--font-mono);
}

.activation-steps li.complete > span {
  border-color: rgba(39, 132, 100, .22);
  background: var(--surface-mint);
  color: var(--success);
}

.activation-steps li.current > span {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  color: var(--mint);
  box-shadow: 0 8px 20px rgba(14, 45, 39, .16);
}

.activation-steps strong,
.activation-steps small {
  display: block;
}

.activation-steps strong {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.activation-steps li.current strong {
  color: var(--ink);
}

.activation-steps small {
  font-size: 9px;
  line-height: 1.45;
}

.activation-card {
  position: relative;
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 254, 250, .94);
  box-shadow: var(--shadow-float);
}

.activation-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0 12%, var(--teal) 12% 76%, var(--mint) 76%);
}

.activation-card .notice {
  margin: 0 0 22px;
}

.activation-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.activation-card-heading h2 {
  margin: 7px 0 0;
  font-size: 27px;
  font-weight: 660;
  letter-spacing: -.045em;
}

.activation-card-heading > code {
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(25, 127, 118, .18);
  border-radius: 10px;
  background: var(--surface-mint);
  color: var(--teal-dark);
  font: 650 11px/1 var(--font-mono);
  letter-spacing: .045em;
}

.device-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 11px 0;
}

.device-facts > div {
  min-width: 0;
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
}

.device-facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.device-facts > div:nth-child(odd) {
  padding-left: 0;
}

.device-facts > div:nth-child(even) {
  padding-right: 0;
}

.device-facts dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 680;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.device-facts dd {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 630;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-facts .device-primary dd {
  font-size: 16px;
  letter-spacing: -.025em;
}

.authorization-scope {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  margin-top: 18px;
  padding: 19px;
  border: 1px solid rgba(25, 127, 118, .14);
  border-radius: var(--radius-md);
  background: rgba(225, 241, 234, .5);
}

.scope-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--teal-deep);
  color: var(--mint);
  font: 680 15px/1 var(--font-ui);
}

.authorization-scope strong {
  display: block;
  margin: 2px 0 5px;
  font-size: 11px;
}

.authorization-scope p,
.activation-warning p,
.activation-outcome p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.activation-warning {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin-top: 16px;
  padding: 15px 0;
}

.activation-warning i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--coral-soft);
  color: var(--danger);
  font: 700 11px/1 var(--font-mono);
  font-style: normal;
}

.activation-warning strong {
  color: var(--ink-soft);
}

.activation-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, .75fr);
  gap: 10px;
  margin-top: 10px;
}

.activation-actions form {
  margin: 0;
}

.activation-outcome {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 22px 0 16px;
  padding: 21px;
  border: 1px solid rgba(39, 132, 100, .18);
  border-radius: var(--radius-md);
  background: rgba(225, 241, 234, .5);
}

.activation-outcome > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-pure);
  color: var(--success);
  font-size: 22px;
  box-shadow: var(--shadow-soft);
}

.activation-outcome.denied {
  border-color: rgba(191, 79, 75, .16);
  background: rgba(250, 233, 228, .5);
}

.activation-outcome.denied > span {
  color: var(--danger);
}

.activation-outcome strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.lookup-heading p {
  max-width: 430px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.activation-lookup {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.activation-lookup label {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.activation-code-input {
  min-height: 62px;
  font: 650 20px/1 var(--font-mono);
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.activation-footnote {
  display: flex;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.activation-footnote i {
  color: var(--success);
  font-style: normal;
}

.focus-page {
  min-height: calc(100vh - 147px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding-block: 90px 110px;
}

.focus-copy h1 {
  margin-top: 24px;
}

.focus-copy .button {
  margin-top: 30px;
}

.focus-page .secret-card {
  margin: 0;
  padding: 30px;
}

.error-visual {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(191, 79, 75, .14);
  border-radius: 999px;
  background: rgba(250, 233, 228, .45);
}

.error-visual span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--surface-pure);
  color: var(--danger);
  font-size: 36px;
  box-shadow: var(--shadow-soft);
}

.error-visual i {
  position: absolute;
  inset: 34px;
  border: 1px dashed rgba(191, 79, 75, .16);
  border-radius: inherit;
}

.error-visual i:last-child {
  inset: 72px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(238, 242, 239, .72);
}

.site-footer > div {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .035em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  animation: reveal .72s var(--ease-out) both;
}

.delay-1 {
  animation-delay: .08s;
}

.delay-2 {
  animation-delay: .15s;
}

.delay-3 {
  animation-delay: .22s;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

@keyframes routeDash {
  to { stroke-dashoffset: -46; }
}

@keyframes routePacket {
  0%, 8% { left: 17%; opacity: 0; }
  14% { opacity: 1; }
  48% { left: 49%; opacity: 1; }
  56% { left: 49%; opacity: 1; }
  92% { left: 82%; opacity: 1; }
  100% { left: 82%; opacity: 0; }
}

@keyframes ring {
  0% { opacity: .45; transform: scale(.62); }
  80%, 100% { opacity: 0; transform: scale(1.12); }
}

@media (max-width: 1040px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .route-visual {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .access-layout,
  .console-grid,
  .activation-page {
    grid-template-columns: 1fr;
  }

  .activation-page {
    gap: 48px;
  }

  .activation-intro {
    max-width: 760px;
  }

  .login-card {
    min-height: 330px;
  }

  .usage-panel {
    grid-template-columns: 1fr;
  }

  .usage-primary {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .setup-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
	.purchase-page { grid-template-columns: 1fr; padding-top: 48px; }
	.purchase-intro h1,
	.order-card h1 { font-size: clamp(38px, 12vw, 58px); }
	.order-facts { grid-template-columns: 1fr; }
	.staging-order-banner { align-items: flex-start; flex-direction: column; }
  .page-width,
  .header-inner {
    width: min(100% - 28px, var(--page-width));
  }

  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .brand-copy small,
  .availability,
  .identity {
    display: none;
  }

  .account-nav,
  .public-nav {
    gap: 2px;
  }

  .account-nav a,
  .public-nav a,
  .account-nav .text-button {
    min-height: 32px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .home-hero {
    min-height: 0;
    padding-block: 70px 62px;
  }

  .hero-copy h1 {
    margin-block: 21px 22px;
    font-size: clamp(43px, 12.5vw, 61px);
    line-height: 1.1;
    letter-spacing: -.07em;
  }

  .lede {
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions form,
  .hero-actions form .button {
    width: 100%;
  }

  .hero-proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-visual {
    min-height: 430px;
    border-radius: 22px;
  }

  .route-canvas {
    height: 300px;
  }

  .route-path {
    top: 63px;
  }

  .route-endpoint {
    top: 96px;
  }

  .route-device {
    left: 3%;
  }

  .route-upstream {
    right: 3%;
  }

  .endpoint-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .gateway-system {
    top: 73px;
    width: 140px;
  }

  .gateway-core {
    width: 78px;
    height: 78px;
    border-radius: 24px;
  }

  .gateway-rings {
    top: -16px;
    width: 110px;
    height: 110px;
  }

  .gateway-core span {
    font-size: 27px;
  }

  .route-endpoint strong,
  .gateway-system strong {
    font-size: 11px;
  }

  .route-events {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-block: 14px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    padding: 24px 4px;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .access-section {
    padding-block: 90px 104px;
  }

  .register-card,
  .login-card,
  .surface-panel {
    padding: 24px;
  }

  .card-heading {
    grid-template-columns: 28px 1fr;
    gap: 12px;
  }

  .invite-form {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .invite-form label {
    grid-column: 1;
  }

  .privacy-note {
    margin-left: 0;
  }

  .workspace {
    padding-block: 44px 78px;
  }

  .activation-page {
    min-height: calc(100vh - 137px);
    padding-block: 62px 86px;
  }

  .activation-intro h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .activation-card {
    padding: 28px;
  }

  .page-intro {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .usage-stats {
    grid-template-columns: 1fr;
  }

  .usage-stats article {
    padding: 20px 28px;
  }

  .usage-stats article + article {
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 0;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .setup-panel {
    padding: 24px;
  }

  .command-line {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .command-line .copy-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-actions,
  .focus-page {
    grid-template-columns: 1fr;
  }

  .action-card {
    grid-template-columns: 44px 1fr;
  }

  .action-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .focus-page {
    min-height: calc(100vh - 137px);
    gap: 48px;
    padding-block: 70px 90px;
  }

  .secret-card {
    grid-template-columns: 1fr;
  }

  .secret-card code,
  .secret-card .copy-button {
    grid-column: 1;
  }

  .secret-card .copy-button {
    grid-row: auto;
  }

  .activation-actions {
    grid-template-columns: 1fr;
  }

  .site-footer > div {
    min-height: 64px;
    font-size: 8px;
  }
}

@media (max-width: 430px) {
  .route-toolbar {
    padding-inline: 15px;
  }

  .route-canvas {
    height: 294px;
  }

  .route-device {
    left: 1%;
  }

  .route-upstream {
    right: 1%;
  }

  .route-endpoint small,
  .gateway-system small {
    font-size: 8px;
  }

  .surface-panel {
    padding-inline: 20px;
  }

  .activation-card {
    padding-inline: 20px;
    border-radius: var(--radius-lg);
  }

  .activation-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .device-facts {
    grid-template-columns: 1fr;
  }

  .device-facts > div,
  .device-facts > div:nth-child(odd),
  .device-facts > div:nth-child(even) {
    padding-inline: 0;
    border-bottom: 1px solid var(--line);
  }

  .device-facts > div:last-child {
    border-bottom: 0;
  }

  .table-wrap {
    margin-inline: -4px;
  }

  .site-footer > div {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
