:root {
  --ink: #112820;
  --ink-2: #294239;
  --muted: #687a73;
  --soft: #8d9b96;
  --line: #dfe7e2;
  --line-strong: #cad8d1;
  --green: #176b4d;
  --green-dark: #0f4e39;
  --green-bright: #1f8b63;
  --mint: #e7f4ed;
  --mint-2: #f1f8f4;
  --lime: #dcef9f;
  --cream: #f5f6f1;
  --paper: #ffffff;
  --amber: #ad6d20;
  --amber-bg: #fff4df;
  --red: #aa4f43;
  --red-bg: #fff0ed;
  --blue: #3f6f9f;
  --violet: #7358a7;
  --sidebar: #10271f;
  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 38, 29, .04), 0 8px 24px rgba(13, 38, 29, .04);
  --shadow: 0 22px 60px rgba(13, 38, 29, .10);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(31, 139, 99, .28);
  outline-offset: 2px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--green-dark);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .91em;
}

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

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: var(--sidebar);
  color: #dbe9e2;
}

.boot-screen .brand-symbol {
  width: 52px;
  height: 52px;
}

.boot-screen p {
  margin: 0;
  color: #a7bbb2;
  font-size: 13px;
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-content: center;
  padding: 32px;
  background: var(--sidebar);
  color: white;
  text-align: center;
}

/* Brand and controls */

.brand-lockup {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  color: var(--ink);
  line-height: 1;
}

.brand-lockup.is-light {
  color: white;
}

.brand-symbol {
  grid-row: 1 / span 2;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 8px;
  border-radius: 11px 11px 11px 4px;
  background: var(--lime);
  box-shadow: inset 0 -1px rgba(17, 40, 32, .08);
  transform: rotate(-3deg);
}

.brand-symbol i {
  width: 4px;
  border-radius: 4px;
  background: var(--green-dark);
}

.brand-symbol i:nth-child(1) { height: 8px; }
.brand-symbol i:nth-child(2) { height: 17px; }
.brand-symbol i:nth-child(3) { height: 12px; }

.brand-word {
  align-self: end;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -.65px;
}

.brand-lockup small {
  align-self: start;
  margin-top: 3px;
  color: var(--soft);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.brand-lockup.is-light small {
  color: #8da69c;
}

.brand-lockup.is-compact {
  grid-template-columns: auto;
}

.brand-lockup.is-compact .brand-symbol {
  grid-row: auto;
  width: 29px;
  height: 29px;
  padding: 7px;
}

.brand-lockup.is-compact .brand-word {
  display: none;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.15;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.button:not(:disabled):hover {
  transform: translateY(-1px);
}

.button .icon {
  width: 17px;
  height: 17px;
}

.button-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 8px 20px rgba(23, 107, 77, .18);
}

.button-primary:not(:disabled):hover {
  background: var(--green-dark);
  box-shadow: 0 12px 26px rgba(23, 107, 77, .25);
}

.button-secondary {
  border-color: #cfe3d9;
  background: var(--mint);
  color: var(--green-dark);
}

.button-secondary:not(:disabled):hover {
  border-color: #add0bf;
  background: #dff0e7;
}

.button-ghost {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink-2);
  box-shadow: none;
}

.button-ghost:not(:disabled):hover {
  border-color: var(--line-strong);
  background: #fafcfb;
}

.button-light {
  background: white;
  color: var(--green-dark);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.button-small {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 12px;
}

.button-large {
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
}

.button-block {
  width: 100%;
}

.button-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .65s linear infinite;
}

.text-link,
.inline-link,
.text-button,
.row-action {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover,
.inline-link:hover,
.text-button:hover,
.row-action:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.inline-link .icon,
.row-action .icon {
  width: 16px;
}

.kicker,
.eyebrow,
.app-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(31, 139, 99, .10);
}

.kicker.light,
.eyebrow.light {
  color: var(--lime);
}

/* Marketing site */

.public-page {
  overflow: hidden;
  background: #fbfcf9;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(210, 222, 215, .8);
  background: rgba(251, 252, 249, .90);
  backdrop-filter: blur(16px);
}

.public-nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.public-nav > a {
  text-decoration: none;
}

.public-nav nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.public-nav nav a,
.public-mobile-menu a {
  color: #50635b;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.public-nav nav a:hover,
.public-mobile-menu a:hover {
  color: var(--green);
}

.public-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.public-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.public-mobile-menu {
  padding: 4px 24px 20px;
  border-top: 1px solid var(--line);
  background: white;
}

.public-mobile-menu a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid #eef2ef;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr);
  align-items: center;
  gap: 54px;
  padding-block: 82px 96px;
}

.hero-copy h1 {
  max-width: 610px;
  margin: 22px 0 24px;
  font-size: clamp(48px, 4.85vw, 68px);
  font-weight: 820;
  letter-spacing: -4px;
  line-height: .98;
}

.hero-copy h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: #5c6e67;
  font-size: 11px;
  font-weight: 680;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row .icon {
  width: 14px;
  height: 14px;
  color: var(--green-bright);
}

.hero-product {
  position: relative;
  min-width: 0;
  padding: 42px 0 54px 20px;
}

.hero-glow {
  position: absolute;
  inset: 0 3% 0 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206, 234, 188, .62), rgba(231, 244, 237, .15) 58%, transparent 72%);
  filter: blur(8px);
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(177, 197, 187, .65);
  border-radius: 18px;
  background: #f9fbfa;
  box-shadow: 0 35px 90px rgba(17, 49, 37, .18), 0 5px 18px rgba(17, 49, 37, .08);
  transform: perspective(1000px) rotateY(-3deg) rotateX(1.5deg);
}

.product-window-bar {
  height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid #e4ebe7;
  background: white;
  color: #8a9993;
}

.product-window-bar > span {
  display: flex;
  gap: 5px;
}

.product-window-bar > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dfe6e2;
}

.product-window-bar > span i:first-child { background: #ef9d8d; }
.product-window-bar > span i:nth-child(2) { background: #efc36f; }
.product-window-bar > span i:last-child { background: #7ac9a3; }

.product-window-bar small {
  padding: 5px 35px;
  border-radius: 7px;
  background: #f4f6f5;
  font-size: 8px;
}

.product-window-bar b {
  justify-self: end;
  color: var(--green);
}

.product-window-bar .icon {
  width: 13px;
}

.product-mini-shell {
  min-height: 350px;
  display: grid;
  grid-template-columns: 64px 1fr;
}

.product-mini-shell > aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  background: var(--sidebar);
}

.product-mini-shell > aside > i {
  width: 25px;
  height: 5px;
  border-radius: 5px;
  background: #28443a;
}

.product-mini-shell > aside > i.active {
  background: var(--lime);
}

.product-mini-shell > section {
  min-width: 0;
  padding: 22px;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-head small,
.mini-head strong {
  display: block;
}

.mini-head small {
  color: #91a09a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .8px;
}

.mini-head strong {
  margin-top: 4px;
  font-size: 13px;
}

.mini-head > i {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--mint);
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.mini-cards article,
.mini-chart,
.mini-router {
  border: 1px solid #e4ebe7;
  border-radius: 9px;
  background: white;
}

.mini-cards article {
  min-width: 0;
  padding: 12px;
}

.mini-cards small,
.mini-cards strong,
.mini-cards span {
  display: block;
}

.mini-cards small {
  color: #8a9993;
  font-size: 7px;
}

.mini-cards strong {
  margin: 9px 0 2px;
  font-size: 12px;
}

.mini-cards span {
  overflow: hidden;
  color: #718079;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cards .mini-live {
  color: var(--green-bright);
}

.mini-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 9px;
  margin-top: 9px;
}

.mini-chart {
  height: 166px;
  display: flex;
  align-items: end;
  justify-content: space-evenly;
  gap: 7px;
  padding: 25px 17px 16px;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 34px, #eef2ef 35px);
}

.mini-chart span {
  width: 15px;
  border-radius: 4px 4px 1px 1px;
  background: #c5e4d4;
}

.mini-chart span:nth-child(1) { height: 35%; }
.mini-chart span:nth-child(2) { height: 58%; }
.mini-chart span:nth-child(3) { height: 44%; }
.mini-chart span:nth-child(4) { height: 80%; background: var(--green); }
.mini-chart span:nth-child(5) { height: 67%; }
.mini-chart span:nth-child(6) { height: 89%; }
.mini-chart span:nth-child(7) { height: 54%; }

.mini-router {
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 14px;
  text-align: center;
}

.mini-router .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 13px;
  padding: 6px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green);
}

.mini-router strong { font-size: 9px; }
.mini-router small { margin-top: 4px; color: #8b9994; font-size: 7px; }

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(211, 224, 216, .9);
  border-radius: 11px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 38px rgba(15, 53, 38, .15);
  backdrop-filter: blur(10px);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong { font-size: 10px; }
.floating-card small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.floating-card .icon { width: 27px; height: 27px; padding: 6px; border-radius: 8px; background: var(--mint); color: var(--green); }
.floating-card > i { width: 8px; height: 8px; border-radius: 50%; background: #28a16f; box-shadow: 0 0 0 5px #e8f5ee; }
.floating-payment { right: -18px; bottom: 15px; }
.floating-router { left: -7px; top: 14px; }

.promise-strip {
  border-block: 1px solid var(--line);
  background: white;
}

.promise-strip > div {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--ink-2);
}

.promise-strip p {
  margin: 0 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.promise-strip span {
  font-size: 14px;
  font-weight: 820;
}

.promise-strip i {
  color: #a8b5af;
  font-style: normal;
}

.section {
  padding-block: 112px;
}

.section-copy {
  max-width: 560px;
}

.section-copy.centered {
  margin-inline: auto;
  text-align: center;
}

.section-copy h2,
.closing-cta h2,
.pricing-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(36px, 4.4vw, 54px);
  letter-spacing: -2.8px;
  line-height: 1.06;
}

.section-copy p,
.closing-cta p,
.pricing-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 54px;
}

.journey-grid article {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.journey-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #b1bdb7;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
}

.journey-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green);
}

.journey-grid h3 {
  margin: 36px 0 10px;
  font-size: 17px;
}

.journey-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.feature-section {
  padding-block: 112px;
  background: var(--sidebar);
  color: white;
}

.feature-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.feature-layout .section-copy {
  position: sticky;
  top: 120px;
}

.feature-layout .section-copy h2 {
  color: white;
}

.feature-layout .section-copy p {
  color: #adc0b8;
}

.feature-layout .inline-link {
  margin-top: 12px;
  color: var(--lime);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-grid article {
  min-height: 210px;
  padding: 25px;
  border: 1px solid #29463b;
  border-radius: 16px;
  background: #163128;
}

.feature-grid > article > .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: #23463a;
  color: var(--lime);
}

.feature-grid h3 {
  margin: 27px 0 9px;
  font-size: 16px;
}

.feature-grid p {
  margin: 0;
  color: #a8bcb4;
  font-size: 12px;
  line-height: 1.65;
}

.ownership-section {
  padding-block: 92px;
}

.ownership-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: center;
  padding: 54px;
  border-radius: 28px;
  background: linear-gradient(135deg, #173c2f, #0e281f);
  color: white;
  box-shadow: var(--shadow);
}

.ownership-card h2 {
  margin: 14px 0;
  font-size: 37px;
  letter-spacing: -1.8px;
  line-height: 1.08;
}

.ownership-card > div > p {
  color: #abc0b7;
  font-size: 14px;
}

.money-flows {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.money-flows article {
  min-height: 150px;
  display: flex;
  gap: 14px;
  padding: 22px;
  border: 1px solid #365549;
  border-radius: 15px;
  background: rgba(255, 255, 255, .045);
}

.money-flows article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #264a3c;
  color: var(--lime);
}

.money-flows small,
.money-flows strong,
.money-flows p {
  display: block;
}

.money-flows small { color: #81a092; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.money-flows strong { margin-top: 16px; font-size: 13px; }
.money-flows p { margin: 6px 0 0; color: #9db2aa; font-size: 10px; }
.money-flows > i { color: var(--lime); }

.pricing-band {
  padding-block: 20px 100px;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 45px;
  padding: 42px 46px;
  border-radius: 24px;
  background: var(--green);
  color: white;
  box-shadow: 0 24px 60px rgba(23, 107, 77, .22);
}

.pricing-card h2 {
  margin: 10px 0 7px;
  font-size: 34px;
  letter-spacing: -1.5px;
}

.pricing-card h2 small {
  color: #b8d9ca;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
}

.pricing-card p {
  margin: 0;
  color: #c0dbd0;
  font-size: 12px;
}

.pricing-card ul,
.plan-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-card li,
.plan-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
  font-size: 12px;
}

.pricing-card li .icon,
.plan-card li .icon {
  width: 15px;
  color: var(--lime);
}

.closing-cta {
  padding-block: 90px 120px;
  text-align: center;
}

.closing-cta p {
  max-width: 560px;
  margin: 0 auto 27px;
}

.public-footer {
  padding: 66px 0 24px;
  background: #0c211a;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr 1fr;
  gap: 50px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-grid > div > strong {
  margin-bottom: 5px;
  color: #dbe8e2;
  font-size: 11px;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.footer-grid p {
  max-width: 280px;
  margin: 6px 0 0;
  color: #8da49b;
  font-size: 12px;
  line-height: 1.65;
}

.footer-grid a {
  color: #91a89f;
  font-size: 12px;
  text-decoration: none;
}

.footer-grid a:hover { color: var(--lime); }

.footer-base {
  display: flex;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid #243d33;
  color: #718a80;
  font-size: 10px;
}

/* Pricing */

.pricing-hero {
  max-width: 790px;
  padding-block: 100px 55px;
  text-align: center;
}

.pricing-hero h1 {
  margin-inline: auto;
}

.pricing-hero p {
  max-width: 680px;
  margin-inline: auto;
}

.pricing-detail {
  display: grid;
  grid-template-columns: minmax(340px, .85fr) 1.15fr;
  gap: 22px;
  align-items: start;
  padding-bottom: 90px;
}

.plan-card {
  padding: 36px;
  border: 1px solid #bdd7ca;
  border-radius: 22px;
  background: white;
  box-shadow: 0 24px 70px rgba(23, 107, 77, .12);
}

.plan-head > span {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.plan-head > strong {
  display: flex;
  align-items: baseline;
  margin-top: 16px;
  font-size: 54px;
  letter-spacing: -2.8px;
}

.plan-head sup {
  margin-right: 7px;
  font-size: 12px;
  letter-spacing: .5px;
}

.plan-head small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-head p {
  margin: 5px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.plan-card ul {
  padding-block: 17px;
  border-block: 1px solid var(--line);
}

.plan-card li {
  margin-block: 12px;
  color: var(--ink-2);
}

.plan-card li .icon { color: var(--green); }
.plan-card .button { margin-top: 24px; }
.plan-card > small { display: block; margin-top: 13px; color: var(--muted); font-size: 10px; text-align: center; }

.pricing-notes {
  display: grid;
  gap: 13px;
}

.pricing-notes article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.pricing-notes > article > .icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 13px;
  background: var(--mint);
  color: var(--green);
}

.pricing-notes h3 { margin: 1px 0 5px; font-size: 16px; }
.pricing-notes p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.faq-section {
  padding-bottom: 120px;
}

.faq-grid {
  max-width: 850px;
  display: grid;
  gap: 10px;
  margin: 42px auto 0;
}

.faq-grid details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 760;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Authentication */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(390px, .88fr) 1.12fr;
  background: white;
}

.auth-story {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px clamp(34px, 5vw, 76px);
  background:
    radial-gradient(circle at 20% 75%, rgba(123, 184, 151, .18), transparent 32%),
    linear-gradient(145deg, #173a2e, #0c211a 72%);
  color: white;
}

.auth-story > a {
  align-self: flex-start;
  text-decoration: none;
}

.auth-story h2 {
  margin: 18px 0;
  font-size: clamp(36px, 4vw, 55px);
  letter-spacing: -2.5px;
  line-height: 1.03;
}

.auth-story > div > p {
  max-width: 470px;
  color: #abc0b7;
  font-size: 15px;
}

.auth-story > small {
  color: #789187;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.auth-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.auth-flow span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid #2d4a3f;
  border-radius: 9px;
  background: #18352b;
  color: #d8e5df;
  font-size: 10px;
  font-weight: 700;
}

.auth-flow span .icon { color: var(--lime); }
.auth-flow > i { color: #607d71; }
.auth-flow > i .icon { width: 14px; }

.auth-main {
  display: grid;
  place-items: center;
  padding: 54px 8vw;
}

.auth-mobile-brand {
  display: none;
}

.auth-card {
  width: min(100%, 510px);
}

.auth-card h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -2.2px;
  line-height: 1.05;
}

.auth-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-card > footer {
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.auth-card > footer a {
  color: var(--green);
  font-weight: 760;
  text-decoration: none;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.verification-state {
  min-height: 130px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
}

/* Forms */

.auth-form label,
.settings-form > label,
.modal-form > label,
.field-row > label,
.captive-form > label:not(.check-field),
.billing-checkout > label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 760;
}

label > span:not(.color-field):not(.label-line) {
  color: var(--soft);
  font-weight: 550;
}

label small {
  color: var(--soft);
  font-size: 9px;
  font-weight: 520;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  outline: 0;
  background: white;
  color: var(--ink);
  font-size: 13px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #a6b1ac;
}

input[readonly] {
  background: #f1f4f2;
  color: var(--muted);
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b7c8c0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(31, 139, 99, .11);
}

input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  min-height: 17px;
  accent-color: var(--green);
}

input[type="color"] {
  width: 48px;
  padding: 4px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.field-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.label-line {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
  font-weight: 760;
}

.label-line a {
  color: var(--green);
  font-size: 10px;
  text-decoration: none;
}

.check-field {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 550 !important;
  line-height: 1.45;
}

.check-field input {
  flex: 0 0 auto;
  margin-top: 1px;
}

.check-field strong,
.check-field small {
  display: block;
}

.check-field strong { color: var(--ink-2); font-size: 11px; }
.check-field small { margin-top: 3px; }

.form-error,
.form-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 11px;
}

.form-error {
  border: 1px solid #f0c9c2;
  background: var(--red-bg);
  color: var(--red);
}

.form-message {
  border: 1px solid #c9e2d5;
  background: var(--mint-2);
  color: var(--green-dark);
}

.form-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.form-divider {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

.form-divider strong { font-size: 12px; }
.form-divider span { color: var(--muted); font-size: 9px; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border: 1px solid #d5e5dd;
  border-radius: 9px;
  background: var(--mint-2);
  color: #4d6b5e;
  font-size: 10px;
  line-height: 1.5;
}

.form-note .icon { color: var(--green); }

.advanced-fields {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbf9;
}

.advanced-fields summary {
  padding: 11px 12px;
  cursor: pointer;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 760;
}

.advanced-fields[open] summary {
  border-bottom: 1px solid var(--line);
}

.advanced-fields > label {
  display: grid;
  gap: 7px;
  padding: 12px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 750;
}

.color-field {
  display: flex;
  gap: 8px;
}

/* App shell */

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 23px 15px 15px;
  background: var(--sidebar);
  color: #a6b9b1;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px 20px;
}

.sidebar-brand > a {
  text-decoration: none;
}

.sidebar-brand > button,
.sidebar-user > button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #91a79e;
}

.sidebar-brand > button {
  display: none;
}

.workspace-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-bottom: 17px;
  padding: 11px;
  border: 1px solid #2a463b;
  border-radius: 11px;
  background: #17342a;
}

.workspace-avatar,
.header-profile,
.sidebar-user > span,
.identity-cell > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--lime);
  color: #274735;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.workspace-avatar {
  width: 36px;
  height: 36px;
}

.workspace-avatar.large {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 16px;
  font-size: 16px;
}

.workspace-card > span:last-child,
.sidebar-user > div {
  min-width: 0;
}

.workspace-card strong,
.workspace-card small,
.sidebar-user strong,
.sidebar-user small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-card strong { color: white; font-size: 11px; }
.workspace-card small { margin-top: 2px; color: #829a90; font-size: 9px; }

.app-sidebar nav,
.sidebar-secondary {
  display: grid;
  gap: 2px;
}

.app-sidebar nav a,
.sidebar-secondary a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 39px;
  padding: 9px 11px;
  border-radius: 8px;
  color: #9bb0a7;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}

.app-sidebar nav a:hover,
.sidebar-secondary a:hover,
.app-sidebar nav a.active,
.sidebar-secondary a.active {
  background: #203d32;
  color: white;
}

.app-sidebar nav a.active .icon,
.sidebar-secondary a.active .icon {
  color: var(--lime);
}

.app-sidebar nav a .icon,
.sidebar-secondary a .icon {
  width: 17px;
  height: 17px;
}

.sidebar-secondary {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #29443a;
}

.sidebar-user {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 9px 3px;
  border-top: 1px solid #29443a;
}

.sidebar-user > span {
  width: 31px;
  height: 31px;
}

.sidebar-user strong { color: #e7efeb; font-size: 9px; }
.sidebar-user small { margin-top: 2px; color: #789087; font-size: 8px; }
.sidebar-user button .icon { width: 16px; }

.sidebar-scrim {
  display: none;
}

.app-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .91);
  backdrop-filter: blur(14px);
}

.app-header > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.app-breadcrumb {
  color: #8b9993;
  font-size: 8px;
}

.app-header h1 {
  margin: 2px 0 0;
  font-size: 20px;
  letter-spacing: -.65px;
}

.app-header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.mobile-menu,
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink-2);
}

.mobile-menu {
  display: none;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: #f8faf9;
}

.icon-button .icon,
.mobile-menu .icon { width: 17px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.header-profile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.app-content {
  width: min(100%, 1440px);
  flex: 1;
  margin-inline: auto;
  padding: 28px 34px 52px;
}

.app-footer {
  display: flex;
  justify-content: space-between;
  padding: 18px 34px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 9px;
}

.app-footer a {
  color: var(--green);
  text-decoration: none;
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.dashboard-stack,
.platform-stack,
.credential-layout {
  display: grid;
  gap: 16px;
}

.setup-banner,
.alert-banner,
.info-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border-radius: 12px;
}

.setup-banner {
  border: 1px solid #d5e7dc;
  background: linear-gradient(105deg, #e8f4ed, #f4f8ec);
}

.setup-banner > span,
.info-strip > .icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--green);
  color: white;
}

.setup-banner > span .icon,
.info-strip > .icon { width: 19px; }

.setup-banner > div,
.alert-banner > div,
.info-strip > div {
  min-width: 0;
  flex: 1;
}

.setup-banner strong,
.setup-banner p,
.alert-banner strong,
.alert-banner p,
.info-strip strong,
.info-strip p {
  display: block;
  margin: 0;
}

.setup-banner strong,
.alert-banner strong,
.info-strip strong { font-size: 12px; }
.setup-banner p,
.alert-banner p,
.info-strip p { margin-top: 3px; color: var(--muted); font-size: 10px; }

.alert-banner {
  border: 1px solid #eddfbd;
  background: var(--amber-bg);
  color: #84571f;
}

.alert-banner > .icon {
  flex: 0 0 auto;
  width: 21px;
}

.alert-banner a {
  color: inherit;
  font-size: 10px;
  font-weight: 800;
}

.app-content > .verification-banner {
  margin-bottom: 16px;
}

.verification-banner .button {
  flex: 0 0 auto;
}

.verification-banner.verification-delivery-failed {
  border-color: #e7c4bd;
  background: var(--red-bg);
  color: #843f36;
}

.alert-info {
  border-color: #caddec;
  background: #edf5fb;
  color: var(--blue);
}

.info-strip {
  border: 1px solid #d6e7df;
  background: var(--mint-2);
}

.section-heading,
.page-actions,
.surface-head,
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-heading {
  margin-top: 7px;
}

.section-heading h2,
.page-actions h2,
.surface-head h2,
.surface-head h3,
.table-toolbar h2 {
  margin: 4px 0 0;
  letter-spacing: -.75px;
}

.section-heading h2,
.page-actions h2 { font-size: 22px; }
.surface-head h2,
.table-toolbar h2 { font-size: 17px; }
.surface-head h3 { font-size: 15px; }
.surface-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 10px; font-weight: 760; text-decoration: none; }
.surface-head a .icon { width: 13px; }
.as-of { color: var(--soft); font-size: 9px; }

.page-actions {
  margin-bottom: 19px;
}

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

.metric-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.metric-symbol,
.package-symbol,
.location-symbol,
.router-tile {
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.metric-symbol {
  width: 38px;
  height: 38px;
}

.metric-symbol .icon { width: 18px; }
.metric-green { background: #e6f3ec; color: var(--green); }
.metric-violet { background: #f0ecf8; color: var(--violet); }
.metric-amber { background: #fff1dd; color: var(--amber); }
.metric-blue { background: #eaf2f9; color: var(--blue); }

.metric-card p,
.metric-card strong,
.metric-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.metric-card p { margin: 1px 0 3px; color: var(--muted); font-size: 9px; }
.metric-card strong { font-size: 19px; letter-spacing: -.6px; }
.metric-card small { margin-top: 4px; color: var(--soft); font-size: 8px; }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.operations-card,
.network-summary,
.dashboard-stack > .surface,
.table-surface {
  padding: 19px;
}

.operations-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
}

.operations-card .surface-head {
  grid-column: 1 / -1;
}

.readiness-ring {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--progress) * 1%), #e8eeeb 0);
}

.readiness-ring::before {
  content: '';
  grid-area: 1 / 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
}

.readiness-ring > div {
  position: relative;
  grid-area: 1 / 1;
  text-align: center;
}

.readiness-ring strong,
.readiness-ring small { display: block; }
.readiness-ring strong { font-size: 17px; }
.readiness-ring small { color: var(--muted); font-size: 8px; }
.readiness-copy > strong { font-size: 13px; }
.readiness-copy > p { margin: 5px 0 13px; color: var(--muted); font-size: 10px; }

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #e7ece9;
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.router-summary-list {
  display: grid;
  margin-top: 10px;
}

.router-summary-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1ef;
}

.router-summary-list > div:last-child { border-bottom: 0; }
.router-tile { width: 34px; height: 34px; flex: 0 0 auto; background: var(--mint); color: var(--green); }
.router-tile .icon { width: 17px; }
.router-summary-list > div > span:nth-child(2) { min-width: 0; flex: 1; }
.router-summary-list strong,
.router-summary-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.router-summary-list strong { font-size: 10px; }
.router-summary-list small { margin-top: 2px; color: var(--muted); font-size: 8px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 790;
  line-height: 1.1;
  white-space: nowrap;
}

.badge i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.badge-success { background: #e5f4ec; color: #16704f; }
.badge-warning { background: var(--amber-bg); color: #a3631b; }
.badge-danger { background: var(--red-bg); color: var(--red); }
.badge-neutral { background: #edf1ef; color: #64756d; }

/* Onboarding */

.onboarding-layout {
  max-width: 940px;
  display: grid;
  gap: 14px;
  margin-inline: auto;
}

.onboarding-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, #183d30, #10271f);
  color: white;
}

.onboarding-hero h2 { margin: 10px 0 7px; font-size: 29px; letter-spacing: -1.2px; }
.onboarding-hero p { max-width: 620px; margin: 0; color: #abc0b7; font-size: 12px; }

.completion {
  min-width: 155px;
  text-align: right;
}

.completion > strong { display: block; font-size: 32px; }
.completion > strong small { color: #87a095; font-size: 15px; }
.completion > span { color: #9fb3aa; font-size: 9px; }
.completion > div { width: 155px; height: 5px; margin-top: 10px; overflow: hidden; border-radius: 5px; background: #2c493e; }
.completion > div i { display: block; height: 100%; border-radius: inherit; background: var(--lime); }

.checklist {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.checklist-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.checklist-item:last-child { border-bottom: 0; }
.check-marker { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 10px; font-weight: 800; }
.check-marker .icon { width: 14px; }
.checklist-item.is-complete .check-marker { border-color: #b8dbc9; background: var(--mint); color: var(--green); }
.checklist-item h3 { margin: 0; font-size: 13px; }
.checklist-item p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }

.onboarding-help {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 19px;
  border: 1px solid #dce4df;
  border-radius: 12px;
  background: #f8faf8;
}

.onboarding-help > span { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: var(--mint); color: var(--green); }
.onboarding-help > div { flex: 1; }
.onboarding-help strong { font-size: 11px; }
.onboarding-help p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.onboarding-help a { color: var(--green); font-size: 10px; font-weight: 750; }

/* Resource cards */

.location-grid,
.router-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.location-card,
.router-detail-card,
.package-card {
  min-width: 0;
  padding: 20px;
}

.location-card-head,
.router-card-status,
.package-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-symbol,
.package-symbol {
  width: 38px;
  height: 38px;
  background: var(--mint);
  color: var(--green);
}

.location-symbol .icon,
.package-symbol .icon { width: 18px; }
.location-card h3,
.router-detail-card h3,
.package-card h3 { margin: 20px 0 4px; font-size: 16px; letter-spacing: -.35px; }
.location-card > p,
.router-detail-card > p,
.package-card > p { min-height: 19px; margin: 0; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.location-stats {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 8px;
  margin: 19px 0;
}

.location-stats > span {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f5f8f6;
}

.location-stats strong,
.location-stats small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.location-stats strong { font-size: 11px; }
.location-stats small { margin-top: 2px; color: var(--soft); font-size: 8px; }

.location-card footer,
.router-detail-card footer,
.package-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.location-card footer button,
.package-card footer button { padding: 0; font-size: 10px; }
.location-card footer a { display: flex; align-items: center; gap: 4px; color: var(--green); font-size: 9px; font-weight: 750; text-decoration: none; }
.location-card footer .icon { width: 12px; }

.router-large {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #edf4f0;
  color: var(--green);
}

.router-large .icon { width: 26px; }
.router-detail-card dl { margin: 18px 0; }
.router-detail-card dl > div { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-bottom: 1px solid #edf1ef; font-size: 9px; }
.router-detail-card dt { color: var(--muted); }
.router-detail-card dd { max-width: 58%; margin: 0; overflow: hidden; font-weight: 700; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.router-detail-card footer > span { color: var(--soft); font-size: 8px; text-align: right; }

.setup-explainer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 38px;
  align-items: center;
  margin-top: 16px;
  padding: 27px;
}

.setup-explainer h3 { margin: 6px 0; font-size: 18px; }
.setup-explainer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.setup-explainer ol { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.setup-explainer li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 10px; font-weight: 700; }
.setup-explainer li span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 9px; }

.package-card.is-muted { opacity: .64; }
.package-price { display: block; margin-top: 18px; font-size: 23px; letter-spacing: -.8px; }
.package-card ul { display: grid; gap: 10px; padding: 16px 0; margin: 16px 0; border-block: 1px solid var(--line); list-style: none; }
.package-card li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; }
.package-card li > .icon { width: 24px; height: 24px; padding: 5px; border-radius: 7px; background: #f1f6f3; color: var(--green); }
.package-card li strong,
.package-card li small { display: block; }
.package-card li strong { font-size: 9px; }
.package-card li small { margin-top: 1px; color: var(--soft); font-size: 8px; }
.package-card footer > span { color: var(--muted); font-size: 8px; }

/* Tables */

.table-surface {
  min-width: 0;
  overflow: hidden;
}

.table-toolbar,
.table-surface > .surface-head {
  padding-bottom: 15px;
}

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

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

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

th {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  color: #8a9993;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .65px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  padding: 13px 11px;
  border-bottom: 1px solid #edf1ef;
  color: #5d7068;
  vertical-align: middle;
  white-space: nowrap;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfb; }
td strong { color: var(--ink-2); }

.table-sub {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 8px;
}

.identity-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.identity-cell > i { width: 31px; height: 31px; }
.identity-cell strong,
.identity-cell small { display: block; }
.identity-cell small { margin-top: 2px; color: var(--soft); font-size: 8px; }
.row-action { padding: 5px; font-size: 9px; }

.search-field input {
  width: 220px;
  min-height: 36px;
  padding-left: 34px;
  background: white no-repeat 11px center / 14px;
}

.live-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .9px;
}

.live-heading i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a16f;
  box-shadow: 0 0 0 4px #e6f3ec;
}

.segmented {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}

.segmented button {
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.segmented button.active {
  background: var(--mint);
  color: var(--green-dark);
}

/* Settings and portal */

.designer-layout,
.settings-layout,
.credential-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  gap: 18px;
  align-items: start;
}

.settings-form {
  display: grid;
  gap: 15px;
  padding: 25px;
}

.form-heading {
  padding-bottom: 5px;
}

.form-heading h2 {
  margin: 5px 0 4px;
  font-size: 19px;
  letter-spacing: -.65px;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.form-section {
  display: grid;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.form-section h3 { margin: 0; font-size: 12px; }

.portal-device-wrap {
  position: sticky;
  top: 112px;
  display: grid;
  justify-items: center;
}

.device-label {
  width: min(100%, 286px);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.device-label span { color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: .8px; }
.device-label small { color: var(--soft); font-size: 8px; }

.phone-frame {
  position: relative;
  width: 286px;
  min-height: 565px;
  padding: 10px;
  border: 1px solid #30463d;
  border-radius: 34px;
  background: #13281f;
  box-shadow: 0 26px 60px rgba(16, 40, 31, .22);
}

.phone-speaker {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  width: 70px;
  height: 18px;
  border-radius: 12px;
  background: #13281f;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 545px;
  overflow: hidden;
  padding: 15px 14px;
  border-radius: 26px;
  background: #f7f8f4;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  color: #506158;
  font-size: 7px;
  font-weight: 750;
}

.portal-device-head {
  padding: 36px 5px 20px;
  text-align: center;
}

.portal-logo {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin: 0 auto 11px;
  border-radius: 13px;
  background: var(--portal);
  color: white;
  font-size: 12px;
  font-weight: 850;
}

.portal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-device-head > small { color: var(--portal); font-size: 7px; font-weight: 850; letter-spacing: .7px; }
.portal-device-head h3 { margin: 4px 0 8px; font-size: 16px; }
.portal-device-head p { margin: 0; color: var(--muted); font-size: 8px; }

.portal-device-packages {
  display: grid;
  gap: 7px;
}

.portal-device-packages article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dfe6e2;
  border-radius: 9px;
  background: white;
}

.portal-device-packages article.selected {
  border-color: var(--portal);
  box-shadow: inset 3px 0 var(--portal);
}

.portal-device-packages strong,
.portal-device-packages small { display: block; }
.portal-device-packages strong { font-size: 8px; }
.portal-device-packages small { margin-top: 2px; color: var(--soft); font-size: 6px; }
.portal-device-packages b { color: var(--portal); font-size: 9px; }
.device-empty { padding: 18px; color: var(--muted); font-size: 8px; text-align: center; }
.phone-screen > button { width: 100%; margin-top: 13px; padding: 10px; border: 0; border-radius: 9px; background: var(--portal); color: white; font-size: 8px; font-weight: 750; }
.powered-device { display: block; margin-top: 13px; color: #9ba7a1; font-size: 6px; text-align: center; }
.portal-device-wrap > p { max-width: 300px; margin: 18px 0 0; color: var(--soft); font-size: 9px; text-align: center; }

.workspace-info {
  padding: 27px;
  text-align: center;
}

.workspace-info h3 { margin: 13px 0 0; }
.workspace-info > p { margin: 4px 0 22px; color: var(--green); }
.workspace-info dl { margin: 0; text-align: left; }
.workspace-info dl > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.workspace-info dt { color: var(--muted); }
.workspace-info dd { margin: 0; font-weight: 700; }
.workspace-info > small { display: block; margin-top: 18px; color: var(--soft); font-size: 8px; line-height: 1.55; }

.credential-status {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 20px;
}

.provider-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #2853a4;
  color: white;
  font-size: 21px;
  font-weight: 900;
}

.credential-status h2 { margin: 3px 0 0; font-size: 18px; }
.credential-status p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }

.security-panel {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--sidebar);
  color: white;
}

.security-panel > .icon { width: 43px; height: 43px; padding: 10px; border-radius: 12px; background: #23463a; color: var(--lime); }
.security-panel h3 { margin: 22px 0 8px; font-size: 17px; }
.security-panel > p { margin: 0; color: #a7bbb2; font-size: 11px; }
.security-panel ul { padding: 0; margin: 20px 0; list-style: none; }
.security-panel li { position: relative; margin: 11px 0; padding-left: 17px; color: #a7bbb2; font-size: 10px; line-height: 1.5; }
.security-panel li::before { content: '✓'; position: absolute; left: 0; color: var(--lime); font-weight: 800; }
.security-panel > div { padding: 14px; border: 1px solid #2c493e; border-radius: 10px; background: #17342a; }
.security-panel > div strong { font-size: 10px; }
.security-panel > div p { margin: 4px 0 0; color: #8ea69c; font-size: 9px; }

/* Billing and platform */

.billing-summary {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) 1.18fr;
  gap: 14px;
  margin-bottom: 14px;
}

.billing-payment-status {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  padding: 15px 17px;
  border: 1px solid #cfe3d9;
  border-radius: 12px;
  background: var(--mint-2);
}

.billing-payment-status > .icon,
.billing-payment-status > .loader {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  margin: 0;
  color: var(--green);
}

.billing-payment-status > .icon {
  padding: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.billing-payment-status strong { font-size: 11px; }
.billing-payment-status p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.billing-payment-status.is-failed { border-color: #efcbc4; background: var(--red-bg); }
.billing-payment-status.is-failed > .icon { background: #f9dcd7; color: var(--red); }

.billing-plan {
  padding: 27px;
  border-radius: 16px;
  background: linear-gradient(140deg, #173d30, #0d251d);
  color: white;
  box-shadow: var(--shadow-sm);
}

.billing-plan h2 {
  display: flex;
  align-items: baseline;
  margin: 19px 0 9px;
  font-size: 37px;
  letter-spacing: -1.8px;
}

.billing-plan h2 sup { margin-right: 6px; font-size: 10px; letter-spacing: .5px; }
.billing-plan h2 small { margin-left: 4px; color: #9eb5ab; font-size: 10px; font-weight: 550; letter-spacing: 0; }
.billing-plan > p { margin: 0 0 20px; color: #a9beb5; font-size: 10px; line-height: 1.6; }
.billing-plan > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid #315044; color: #b4c7bf; font-size: 9px; }

.billing-explainer {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 27px;
}

.billing-explainer > span { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--mint); color: var(--green); }
.billing-explainer h3 { margin: 6px 0 5px; font-size: 18px; }
.billing-explainer p { max-width: 550px; margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.billing-explainer a { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 10px; font-weight: 750; text-decoration: none; }
.billing-explainer a .icon { width: 13px; }

.billing-checkout {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(190px, .55fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
  padding: 20px;
}

.billing-checkout h2 { margin: 4px 0 3px; font-size: 17px; }
.billing-checkout p { margin: 0; color: var(--muted); font-size: 9px; }
.billing-checkout > .form-error { grid-column: 1 / -1; }
.billing-checkout > small { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; color: var(--soft); font-size: 8px; }
.billing-checkout > small .icon { width: 13px; color: var(--green); }

.billing-policy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.billing-policy article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f9faf8;
}

.billing-policy strong { font-size: 10px; }
.billing-policy p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }

.platform-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 17px;
  background: linear-gradient(125deg, #173d30, #0b2119);
  color: white;
}

.platform-banner h2 { margin: 6px 0 4px; font-size: 24px; letter-spacing: -.9px; }
.platform-banner p { margin: 0; color: #a8bdb4; font-size: 10px; }

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: 14px;
  align-items: start;
}

.platform-credential-form {
  position: sticky;
  top: 112px;
}

.current-credential {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 12px;
  border-radius: 9px;
  background: var(--mint-2);
}

.current-credential > span { width: 100%; color: var(--muted); font-size: 8px; }
.current-credential > strong { flex: 1; font-size: 10px; }
.platform-denied { max-width: 620px; margin: 9vh auto 0; }

/* Loading and empty states */

.loading-state,
.state-card {
  min-height: 300px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 38px;
  text-align: center;
}

.loader {
  width: 29px;
  height: 29px;
  margin-bottom: 14px;
  border: 3px solid #dce8e2;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

.loading-state strong { font-size: 13px; }
.loading-state p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }

.state-card {
  min-height: 360px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .55);
}

.state-card .state-icon,
.state-card > .icon:first-child {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 15px;
  background: var(--mint);
  color: var(--green);
}

.state-card h2,
.state-card h3 { margin: 0; letter-spacing: -.5px; }
.state-card h2 { font-size: 20px; }
.state-card h3 { font-size: 16px; }
.state-card p { max-width: 440px; margin: 6px 0 17px; color: var(--muted); font-size: 10px; }
.state-error .state-icon { background: var(--red-bg); color: var(--red); }
.network-summary .state-card,
.dashboard-stack > .surface .state-card,
.table-surface .state-card { min-height: 190px; border: 0; background: transparent; }

/* Modals */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(8, 24, 18, .62);
  backdrop-filter: blur(4px);
}

.modal {
  width: min(100%, 570px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 17px;
  background: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .28);
  animation: modal-in .18s ease-out;
}

.modal-wide { width: min(100%, 810px); }

.modal > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}

.modal > header h2 { margin: 3px 0 0; font-size: 18px; letter-spacing: -.6px; }
.modal > header button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--muted); }
.modal > header button .icon { width: 16px; }
.modal-body { padding: 22px; }
.modal-form { display: grid; gap: 15px; }
.modal-actions { padding-top: 4px; }

.toggle-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.toggle-row > label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbf9;
}

.toggle-row input { flex: 0 0 auto; margin-top: 1px; }
.toggle-row strong,
.toggle-row small { display: block; }
.toggle-row strong { font-size: 10px; }
.toggle-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }

.location-options {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.location-options legend { padding: 0 5px; font-size: 11px; font-weight: 760; }
.location-options > p { margin: 0 0 10px; color: var(--muted); font-size: 8px; }
.location-options > div { display: flex; flex-wrap: wrap; gap: 8px; }
.location-options label { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 7px; background: #f3f7f4; color: var(--ink-2); font-size: 9px; }

.setup-command-guide ol {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.setup-command-guide li { display: grid; grid-template-columns: 31px 1fr; gap: 12px; }
.setup-command-guide li > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 9px; font-weight: 800; }
.setup-command-guide li strong { font-size: 11px; }
.setup-command-guide li p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.setup-command-guide li small { display: block; margin-top: 6px; color: var(--soft); font-size: 8px; }

.command-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  margin-top: 10px;
  padding: 11px;
  border-radius: 9px;
  background: #10271f;
  color: #cce2d8;
}

.command-box code {
  max-height: 230px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.command-box button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid #385348;
  border-radius: 7px;
  background: #1d3b30;
  color: white;
  font-size: 8px;
  font-weight: 700;
}

.command-box button .icon { width: 12px; }

/* Customer captive portal */

.route-connect {
  background: #edf2ee;
}

.captive-page {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 28px 16px;
  background:
    radial-gradient(circle at 50% 0, color-mix(in srgb, var(--portal, var(--green)) 16%, transparent), transparent 38%),
    #edf2ee;
}

.captive-shell {
  width: min(100%, 480px);
  overflow: hidden;
  border: 1px solid rgba(183, 201, 192, .85);
  border-radius: 23px;
  background: #fbfcf9;
  box-shadow: 0 25px 70px rgba(16, 47, 35, .14);
}

.captive-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid #e4eae6;
  background: white;
}

.captive-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 13px;
  background: var(--portal, var(--green));
  color: white;
  font-size: 12px;
  font-weight: 850;
}

.captive-logo img { width: 100%; height: 100%; object-fit: cover; }
.captive-brand small,
.captive-brand strong { display: block; }
.captive-brand small { color: var(--portal, var(--green)); font-size: 8px; font-weight: 850; letter-spacing: .8px; }
.captive-brand strong { margin-top: 2px; font-size: 14px; }

.captive-intro {
  padding: 28px 22px 16px;
}

.captive-intro h1,
.captive-result h1 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -1.15px;
  line-height: 1.1;
}

.captive-intro p,
.captive-result p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.captive-shell > .alert-banner { margin: 0 22px 15px; }

.captive-packages {
  padding: 5px 22px 16px;
}

.captive-packages > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.captive-packages h2 { margin: 0; font-size: 12px; }
.captive-packages > div > span { color: var(--soft); font-size: 9px; }

.captive-package {
  position: relative;
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  padding: 12px 13px;
  border: 1px solid #dce5e0;
  border-radius: 11px;
  background: white;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.captive-package:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--portal, var(--green)) 50%, #dce5e0); }
.captive-package.is-selected { border-color: var(--portal, var(--green)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--portal, var(--green)) 13%, transparent); }
.captive-package.is-selected::before { content: ''; position: absolute; inset: 8px auto 8px 0; width: 3px; border-radius: 3px; background: var(--portal, var(--green)); }
.captive-package strong,
.captive-package small { display: block; }
.captive-package strong { font-size: 11px; }
.captive-package small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.captive-package b { color: var(--portal, var(--green)); font-size: 12px; white-space: nowrap; }
.captive-package > i { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #d6e0db; border-radius: 50%; color: white; }
.captive-package.is-selected > i { border-color: var(--portal, var(--green)); background: var(--portal, var(--green)); }
.captive-package > i .icon { width: 12px; }

.captive-form {
  display: grid;
  gap: 13px;
  padding: 18px 22px 23px;
  border-top: 1px solid #e4eae6;
  background: white;
}

.captive-pass {
  border-top: 1px solid #e4eae6;
  background: white;
}

.captive-pass > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  color: var(--portal, var(--green));
  cursor: pointer;
  font-size: 11px;
  font-weight: 780;
  list-style: none;
}

.captive-pass > summary::-webkit-details-marker { display: none; }
.captive-pass > summary span { display: flex; }
.captive-pass > summary .icon { width: 15px; transition: transform .16s ease; }
.captive-pass[open] > summary .icon { transform: rotate(90deg); }
.captive-pass .captive-form { border-top-color: #eef2ef; }
.captive-restore p { margin: 0; color: var(--muted); font-size: 10px; text-align: center; }

.captive-button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 11px;
  background: var(--portal, var(--green));
  color: white;
  font-size: 12px;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 9px 22px color-mix(in srgb, var(--portal, var(--green)) 22%, transparent);
}

.captive-button .icon { width: 16px; }
.captive-button:disabled { box-shadow: none; }

.captive-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid #e3eae6;
  color: var(--soft);
  font-size: 8px;
}

.captive-footer > span { display: flex; align-items: center; gap: 5px; }
.captive-footer .icon { width: 12px; color: var(--portal, var(--green)); }
.captive-footer strong { color: var(--ink-2); }

.captive-result {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  text-align: center;
}

.captive-result > .icon {
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  padding: 17px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
}

.captive-failed > .icon { background: var(--red-bg); color: var(--red); }
.captive-pending .loader { width: 47px; height: 47px; border-width: 4px; border-top-color: var(--portal, var(--green)); }
.captive-result .captive-button { margin-top: 24px; }
.captive-result > small { margin-top: 10px; color: var(--soft); font-size: 8px; }
.captive-result .text-button { margin-top: 18px; font-size: 10px; }

.access-credentials {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}

.access-credentials > span { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: white; text-align: left; }
.access-credentials small,
.access-credentials strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.access-credentials small { color: var(--soft); font-size: 7px; text-transform: uppercase; }
.access-credentials strong { margin-top: 3px; font-family: ui-monospace, monospace; font-size: 9px; }

/* Toasts */

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  width: min(360px, calc(100% - 36px));
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid #29483c;
  border-radius: 10px;
  background: var(--sidebar);
  color: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .22);
  font-size: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast .icon { width: 17px; color: var(--lime); }
.toast-danger { border-color: #713f38; background: #442620; }
.toast-danger .icon { color: #ffc2b8; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(7px) scale(.985); } }

/* Responsive */

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
    gap: 28px;
  }

  .hero-copy h1 { font-size: 58px; }
  .floating-payment { right: 2px; }
  .feature-layout { gap: 48px; }
  .location-grid,
  .router-grid,
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-credential-form { position: static; }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 70px 90px;
  }

  .hero-copy { max-width: 700px; }
  .hero-product { width: min(100%, 650px); margin-inline: auto; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-layout .section-copy { position: static; }
  .ownership-card { grid-template-columns: 1fr; }
  .pricing-card { grid-template-columns: 1fr 1fr; }
  .pricing-card > .button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .pricing-detail { grid-template-columns: minmax(320px, .9fr) 1.1fr; }
  .dashboard-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .app-content { padding-inline: 24px; }
  .app-header { padding-inline: 24px; }
  .overview-grid { grid-template-columns: 1fr; }
  .billing-checkout { grid-template-columns: 1fr 1fr; }
  .billing-checkout > div { grid-column: 1 / -1; }
  .billing-checkout > .form-error,
  .billing-checkout > small { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .page-width { width: min(100% - 32px, 1180px); }
  .public-nav { height: 68px; }
  .public-nav nav,
  .public-actions { display: none; }
  .public-menu-button { display: grid; }
  .section { padding-block: 80px; }
  .feature-section { padding-block: 80px; }
  .ownership-section { padding-block: 70px; }
  .ownership-card { padding: 38px 30px; }
  .pricing-detail { grid-template-columns: 1fr; }
  .pricing-notes { grid-template-columns: repeat(3, 1fr); }
  .pricing-notes article { display: block; padding: 20px; }
  .pricing-notes > article > .icon { margin-bottom: 17px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-story { display: none; }
  .auth-main { display: block; padding: 28px 24px 55px; }
  .auth-mobile-brand { display: block; margin-bottom: 60px; }
  .auth-mobile-brand a { text-decoration: none; }
  .auth-card { margin-inline: auto; }

  .dashboard-shell { display: block; }
  .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: 264px;
    height: 100vh;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 18px 0 50px rgba(0, 0, 0, .25);
  }

  .app-sidebar.is-open { transform: translateX(0); }
  .sidebar-brand > button { display: grid; }
  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    border: 0;
    background: rgba(6, 20, 15, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .sidebar-scrim.is-visible { opacity: 1; pointer-events: auto; }
  .mobile-menu { display: grid; }
  .app-header { min-height: 77px; padding: 12px 18px; }
  .app-header p { display: none; }
  .app-content { padding: 22px 18px 45px; }
  .app-footer { padding-inline: 18px; }
  .designer-layout,
  .settings-layout,
  .credential-columns { grid-template-columns: 1fr; }
  .portal-device-wrap { position: static; margin-top: 16px; }
  .billing-summary { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-block: 54px 66px; }
  .hero-copy h1 { margin-top: 17px; font-size: clamp(43px, 14vw, 57px); letter-spacing: -3px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-row { display: grid; }
  .hero-product { padding: 25px 0 35px; }
  .product-window { transform: none; }
  .product-mini-shell { min-height: 275px; grid-template-columns: 47px 1fr; }
  .product-mini-shell > section { padding: 15px; }
  .product-mini-shell > aside > i { width: 18px; }
  .mini-cards article { padding: 9px; }
  .mini-body { grid-template-columns: 1fr; }
  .mini-chart { height: 120px; }
  .mini-router { display: none; }
  .floating-card { display: none; }
  .promise-strip > div { min-height: 90px; flex-wrap: wrap; gap: 10px 16px; padding-block: 16px; }
  .promise-strip p { width: 100%; margin: 0; text-align: center; }
  .section-copy h2,
  .closing-cta h2,
  .pricing-hero h1 { font-size: 36px; letter-spacing: -2px; }
  .journey-grid,
  .feature-grid { grid-template-columns: 1fr; }
  .journey-grid article { min-height: 215px; }
  .money-flows { grid-template-columns: 1fr; }
  .money-flows > i { transform: rotate(90deg); justify-self: center; }
  .pricing-card { grid-template-columns: 1fr; padding: 31px 25px; }
  .pricing-card > .button { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .pricing-hero { padding-block: 70px 38px; }
  .pricing-notes { grid-template-columns: 1fr; }
  .plan-card { padding: 28px 23px; }
  .auth-main { padding-inline: 18px; }
  .auth-mobile-brand { margin-bottom: 45px; }
  .field-row,
  .field-row.three { grid-template-columns: 1fr; }

  .app-header h1 { font-size: 17px; }
  .header-actions .icon-button { display: none; }
  .section-heading,
  .page-actions,
  .table-toolbar { align-items: flex-start; }
  .page-actions { flex-direction: column; }
  .page-actions > .button,
  .page-actions > .segmented { width: 100%; }
  .segmented button { flex: 1; }
  .metric-grid,
  .location-grid,
  .router-grid,
  .package-grid { grid-template-columns: 1fr; }
  .setup-banner { align-items: flex-start; flex-wrap: wrap; }
  .setup-banner > div { min-width: calc(100% - 56px); }
  .setup-banner > .button { width: 100%; }
  .verification-banner { align-items: flex-start; flex-wrap: wrap; }
  .verification-banner > div { min-width: calc(100% - 40px); }
  .verification-banner > .button { width: 100%; }
  .operations-card { grid-template-columns: 82px 1fr; }
  .readiness-ring { width: 80px; height: 80px; }
  .readiness-ring::before { width: 61px; height: 61px; }
  .onboarding-hero { grid-template-columns: 1fr; padding: 25px; }
  .completion { text-align: left; }
  .checklist-item { grid-template-columns: 31px 1fr; }
  .checklist-item > .button { grid-column: 2; justify-self: start; }
  .onboarding-help { align-items: flex-start; flex-wrap: wrap; }
  .onboarding-help > div { min-width: calc(100% - 52px); }
  .onboarding-help a { margin-left: 49px; }
  .setup-explainer { grid-template-columns: 1fr; gap: 22px; }
  .search-field,
  .search-field input { width: 100%; }
  .credential-status { grid-template-columns: 44px 1fr; }
  .credential-status > .badge { grid-column: 2; justify-self: start; }
  .billing-checkout { grid-template-columns: 1fr; }
  .billing-checkout > div,
  .billing-checkout > .form-error,
  .billing-checkout > small { grid-column: auto; }
  .billing-policy { grid-template-columns: 1fr; }
  .platform-banner { align-items: flex-start; flex-direction: column; }
  .toggle-row { grid-template-columns: 1fr; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal,
  .modal-wide { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  .command-box { grid-template-columns: 1fr; }
  .command-box button { justify-self: start; }
}

@media (max-width: 440px) {
  .page-width { width: min(100% - 24px, 1180px); }
  .public-nav { width: calc(100% - 28px); }
  .brand-lockup small { display: none; }
  .public-header .brand-word { font-size: 19px; }
  .hero-copy h1 { font-size: 43px; }
  .product-window-bar small { padding-inline: 15px; }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
  .mini-cards article:last-child { display: none; }
  .ownership-card { padding: 30px 21px; }
  .ownership-card h2 { font-size: 31px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-base { gap: 15px; }
  .app-content { padding-inline: 13px; }
  .app-header { padding-inline: 13px; }
  .app-breadcrumb { display: none; }
  .app-header h1 { margin: 0; }
  .app-header > div:nth-child(2) { overflow: hidden; }
  .app-header h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .metric-card { padding: 14px; }
  .surface,
  .operations-card,
  .network-summary,
  .dashboard-stack > .surface,
  .table-surface { border-radius: 12px; }
  .operations-card,
  .network-summary,
  .dashboard-stack > .surface,
  .table-surface { padding: 15px; }
  .phone-frame { width: min(286px, 100%); }
  .captive-page { padding: 0; background: #fbfcf9; }
  .captive-shell { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .captive-intro { padding-top: 24px; }
  .captive-result { min-height: calc(100vh - 133px); }
  .access-credentials { grid-template-columns: 1fr; }
  .toast-stack { right: 12px; bottom: 12px; width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .app-sidebar,
  .app-header,
  .app-footer,
  .button,
  .public-header,
  .public-footer { display: none !important; }
  .dashboard-shell { display: block; }
  .app-content { width: 100%; padding: 0; }
  body { background: white; }
}
