:root {
  color-scheme: dark;
  --bg: #071310;
  --panel: #10221c;
  --line: #244136;
  --text: #f0f7f2;
  --muted: #a0b8ab;
  --accent: #78ebbc;
  --ink: #05251a;
  font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
h1,
h2,
p {
  margin: 0;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 760px;
  margin: auto;
  padding: 22px max(20px, env(safe-area-inset-left))
    max(26px, env(safe-area-inset-bottom));
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand img {
  margin-right: 9px;
}
.brand span {
  color: var(--accent);
}
.edition {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.hero {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  background: #0a1d18;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 29px;
  max-width: 65%;
  background: linear-gradient(90deg, #0a1d18 70%, transparent);
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--accent);
  margin-bottom: 15px;
}
h1 {
  font-size: clamp(35px, 7vw, 54px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -2.5px;
}
h1 span {
  color: var(--accent);
}
.hero-copy > p:last-child {
  font-size: 12px;
  margin-top: 16px;
  max-width: 230px;
}
.hero-art {
  position: absolute;
  right: -22%;
  top: 0;
  width: 90%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  mask-image: linear-gradient(90deg, transparent, #000 50%);
}
.connection-state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 19px 0;
  font-size: 12px;
}
.state-dot {
  width: 7px;
  height: 7px;
  background: #d7b773;
  border-radius: 50%;
  flex-shrink: 0;
}
.state-dot.ok {
  background: var(--accent);
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 9px;
  font-size: 12px;
}
.connection-state .text-button {
  margin-left: auto;
}
.account {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 19px 0 22px;
  margin-bottom: 29px;
}
.label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 7px;
}
.account strong {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 600;
}
.account strong small {
  font-size: 13px;
  color: var(--muted);
}
.account > div + div {
  border-left: 1px solid var(--line);
  padding-left: 15px;
}
.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 16px;
}
.section-heading p {
  font-size: 12px;
  margin-top: 4px;
}
.step {
  font-size: 12px;
  line-height: 30px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.platforms button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 13px;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  min-height: 48px;
}
.platforms button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--text);
  background: #193a2d;
}
.second {
  margin-top: 30px;
}
.clients {
  display: grid;
  gap: 12px;
}
.client {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 17px;
}
.client-header {
  display: flex;
  align-items: center;
  gap: 13px;
}
.client-logo {
  width: 45px;
  height: 45px;
  border-radius: 12px;
}
.client h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}
.client p {
  font-size: 12px;
}
.badge {
  margin-left: auto;
  border: 1px solid #3c745e;
  border-radius: 7px;
  padding: 4px 7px;
  color: var(--accent);
  font-size: 10px;
}
.client-actions,
.actions {
  display: flex;
  gap: 9px;
  margin-top: 15px;
}
.primary,
.secondary {
  border: 1px solid var(--line);
  border-radius: 11px;
  min-height: 45px;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.secondary {
  background: #132a21;
  color: var(--text);
}
.client-actions > * {
  flex: 1;
}
.client .regional {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 11px;
  text-align: center;
}
.small {
  font-size: 12px;
  line-height: 1.6;
}
.setup > .small {
  margin: 16px 3px;
}
.tools {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 9px;
  margin-top: 20px;
}
.help {
  margin-top: 35px;
}
.help h2 {
  margin-bottom: 14px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 16px 0;
  cursor: pointer;
  font-size: 13px;
}
details p {
  font-size: 12px;
  padding: 0 0 17px;
  line-height: 1.7;
}
.support {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  color: var(--accent);
  font-size: 13px;
}
footer {
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
footer img {
  width: 19px;
  height: 19px;
}
footer span {
  margin-left: auto;
  font-size: 9px;
}
.notice {
  padding: 19px;
  background: #292416;
  border: 1px solid #695536;
  border-radius: 16px;
  margin-bottom: 24px;
}
.notice h2 {
  font-size: 17px;
}
.notice p {
  margin-top: 10px;
}
.skeleton {
  height: 100px;
  background: linear-gradient(100deg, var(--panel), #203b30, var(--panel));
  background-size: 200%;
  border-radius: 16px;
  margin-bottom: 25px;
  animation: loading 2s infinite;
}
dialog {
  width: min(90vw, 400px);
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 20px;
}
dialog::backdrop {
  background: #000b;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
dialog h2 {
  font-size: 18px;
}
#qrImage {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin: 12px 0;
}
dialog .small {
  margin-top: 12px;
}
.toast {
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(90vw, 500px);
  padding: 14px 20px;
  background: #d5f9e7;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 10px 40px #0006;
  text-align: center;
  font-size: 13px;
}
.launch {
  max-width: 470px;
  padding-top: 44px;
}
.launch-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 23px;
  padding: 26px;
  margin-top: 26px;
}
.launch-card h1 {
  font-size: 31px;
  letter-spacing: -1px;
  margin: 20px 0 12px;
}
.launch-card > .client-logo {
  width: 66px;
  height: 66px;
}
.launch-card .actions {
  flex-direction: column;
}
.launch-card .small {
  margin-top: 18px;
}
.launch-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  padding: 12px;
  margin-top: 15px;
}
.offline .state-dot {
  background: #e6a072;
}
@keyframes loading {
  to {
    background-position: -200%;
  }
}
@media (max-width: 430px) {
  .shell {
    padding: 17px 16px 25px;
  }
  .edition {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .hero-copy {
    padding: 24px 19px;
    max-width: 75%;
  }
  .hero-art {
    right: -35%;
  }
  .platforms {
    grid-template-columns: repeat(2, 1fr);
  }
  .account strong {
    font-size: 17px;
  }
  .account .label {
    font-size: 10px;
  }
  .account > div + div {
    padding-left: 10px;
  }
  .tools {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 245px;
  }
  footer span {
    width: 100%;
    margin-left: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
