@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f4f4fa;
  --panel: #fff;
  --line: #e8e8f1;
  --text: #202032;
  --muted: #707084;
  --green: #7356ef;
  --bad: #cb4058;
  --purple: #7356ef;
  --lime: #deff98;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

button, input, a, textarea { font: inherit; }
button, a, input { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { opacity: .45; cursor: default; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #ab93ff;
  outline-offset: 4px;
}

a { color: var(--purple); }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 110% -10%, #ded5ff8a, transparent 45%);
}

#app {
  position: relative;
  max-width: 680px;
  margin: auto;
  padding: 26px 22px calc(125px + env(safe-area-inset-bottom));
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 26px;
  letter-spacing: -1.2px;
  font-weight: 800;
  color: #222035;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background: #7559ed;
  color: #fff;
  box-shadow: 0 5px 15px #7356ef25;
}

.brand-symbol svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}

.brand-vpn {
  font-size: 10px;
  letter-spacing: 1px;
  color: #9692ad;
  font-weight: 700;
  align-self: center;
  margin: 3px 0 0;
}

.brand > span:not(.brand-symbol):not(.brand-vpn) { display: none; }

.avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #ebe6ff;
  border: 2px solid white;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #7356ef;
  font-size: 15px;
  box-shadow: 0 3px 12px #3d2c7c09;
}

.eyebrow { display: none; }

h1 {
  font-size: 33px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  font-weight: 750;
  margin: 0 0 24px;
}

h2 {
  font-size: 18px;
  font-weight: 650;
  margin: 0;
  letter-spacing: -.3px;
}

h3 { letter-spacing: -.15px; }
p { line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.6; }

.welcome {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 9px;
}

.home-title {
  font-size: 35px;
  letter-spacing: -1.5px;
  margin: 0 0 23px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.card {
  border: 1px solid #ededf5;
  background: var(--panel);
  border-radius: 23px;
  padding: 21px;
  margin-bottom: 14px;
  box-shadow: 0 4px 25px #24203d03;
}

.grid .card { margin: 0; }

.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary {
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 17px 18px;
  background: var(--purple);
  color: #fff;
  font-weight: 650;
  margin-top: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  min-height: 54px;
  box-shadow: 0 5px 13px #7356ef15;
}

.primary svg { width: 20px; height: 20px; }
.primary:hover { filter: brightness(1.035); }

.secondary {
  display: block;
  text-align: center;
  border: 1px solid #e4dfff;
  border-radius: 14px;
  padding: 15px;
  background: #f4f0ff;
  color: #6b4bdb;
  text-decoration: none;
  width: 100%;
  margin-top: 11px;
  font-weight: 600;
  min-height: 49px;
}

.text-btn {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--purple);
  font-size: 12px;
  font-weight: 550;
}

.danger { color: var(--bad); }

.tile-icon {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #7957e8;
  background: #f0eaff;
}

.metric {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 11px 0 5px;
}

.metric em {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.section-title {
  margin: 27px 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title h2 { font-size: 16px; }

.flag {
  font-size: 29px;
  background: #f5f3fa;
  border-radius: 15px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.server-name {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 4px;
}

.server-copy { flex: 1; }

.chip {
  font-size: 10px;
  background: #f0ebff;
  color: #7856e7;
  padding: 7px 9px;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 600;
}

.note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  padding: 0 2px;
}

.nav {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 630px;
  background: #ffffffed;
  backdrop-filter: blur(20px);
  border: 1px solid #fff;
  border-radius: 25px;
  box-shadow: 0 10px 45px #29203918;
  display: flex;
  padding: 11px 8px 10px;
  z-index: 5;
}

.nav button {
  flex: 1;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #706c80;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 0;
}

.nav button .icon { width: 23px; height: 23px; }
.nav button.current { color: #7753ed; font-weight: 650; }
.nav button.current .icon { filter: drop-shadow(0 3px 5px #7655eb22); }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  background: #eae9f2;
  border: 0;
  border-radius: 16px;
  gap: 4px;
  margin-bottom: 22px;
}

.tabs button {
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 14px;
  color: #8a879b;
  font-weight: 600;
}

.tabs .selected {
  background: #fff;
  color: #6b4cdd;
  box-shadow: 0 2px 7px #2c1c5810;
}

label {
  display: block;
  color: #767388;
  font-size: 12px;
  margin: 20px 0 8px;
}

input {
  width: 100%;
  min-width: 0;
  background: #f7f6fb;
  color: var(--text);
  border: 1px solid #eceaf3;
  border-radius: 14px;
  padding: 16px;
}

input::placeholder { color: #aaa6b9; }

.instructions {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #79748a;
}

.instructions li { padding-bottom: 8px; }

.device {
  padding: 19px;
  border: 1px solid #ededf5;
  background: #fff;
  border-radius: 22px;
  margin-bottom: 13px;
}

.device h3 {
  font-size: 15px;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}

.device-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--muted);
  font-size: 13px;
}

.empty .tile-icon { margin: 0 auto 15px; }

.profile-id {
  font-family: ui-monospace, monospace;
  color: var(--purple);
  font-size: 19px;
  letter-spacing: .5px;
  margin: 10px 0 0;
}

.line {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.line:last-child { border: 0; }
.line span:first-child { color: var(--muted); }

.alert {
  border: 1px solid #f6dfac;
  background: #fff8e8;
  padding: 16px;
  border-radius: 15px;
  color: #9a772f;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.loading {
  padding-top: 20vh;
  text-align: center;
  color: var(--muted);
}

.loading .brand { justify-content: center; margin-bottom: 25px; }

#toast {
  position: fixed;
  z-index: 30;
  bottom: 115px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90vw;
  background: #2f2646;
  color: #fff;
  border-radius: 15px;
  padding: 14px 18px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  box-shadow: 0 10px 50px #2a1e5120;
}

#toast.show { opacity: 1; }

dialog {
  background: #fff;
  color: var(--text);
  border: 0;
  border-radius: 28px;
  width: calc(100% - 24px);
  max-width: 520px;
  max-height: 90dvh;
  padding: 25px;
  overflow: auto;
  box-shadow: 0 25px 100px #271d4033;
}

dialog::backdrop {
  background: #24203766;
  backdrop-filter: blur(9px);
}

dialog h2 {
  font-size: 23px;
  margin: 0;
  letter-spacing: -.6px;
}

dialog .qr {
  background: white;
  padding: 12px;
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 20px auto;
  border-radius: 17px;
  border: 1px solid var(--line);
}

textarea {
  width: 100%;
  height: 135px;
  background: #f7f5fc;
  color: #665b7f;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  font: 11px ui-monospace, monospace;
  resize: vertical;
  overflow-wrap: anywhere;
}

.close {
  background: #f2f0f7;
  border: 0;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  color: #938caa;
  font-size: 23px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}

.help { margin-top: 19px; color: #8b849b; font-size: 13px; }
.help summary { padding: 9px 0; cursor: pointer; }
.help[open] { padding-bottom: 12px; }
.status-off { color: var(--bad); }

.admin-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.billing-card, .gift-card { margin-top: 16px; }

.gift-card {
  border: 1px solid #e5d9ff;
  background: linear-gradient(120deg, #f3edff, #f9f6ff);
}

.gift-card .primary { margin-top: 15px; }

.gift-hours {
  font-size: 49px;
  font-weight: 750;
  letter-spacing: -2px;
  margin: 25px 0 8px;
  color: #7752ed;
}

.server-choice {
  text-align: left;
  width: 100%;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.server-choice .server-name { display: block; }
.server-choice small { display: block; margin-top: 5px; }

.server-option {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 18px;
  margin-top: 25px;
  border: 1px solid #ded3ff;
  border-radius: 18px;
  background: #f8f5ff;
  color: var(--text);
  text-align: left;
}

.server-option > span:nth-child(2) { flex: 1; }

.server-option small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}

.server-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #ae98ee;
  border-radius: 50%;
}

.plan-price {
  font-size: 48px;
  font-weight: 750;
  letter-spacing: -1.5px;
  margin-top: 22px;
  color: #6e4cdd;
}

.plan-price small { font-size: 25px; }

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  color: var(--text);
}

.check-row input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  padding: 0;
  accent-color: var(--purple);
}

.terms-text {
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--muted);
}

.billing-admin { margin-top: 16px; }
.billing-admin > summary { cursor: pointer; font-weight: 600; }

.billing-admin textarea {
  height: 180px;
  margin-top: 5px;
  font-family: inherit;
  font-size: 13px;
}

.payment-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
#trial-clock { font: 20px ui-monospace, monospace; color: #7954e5; }

.ticket-item {
  display: block;
  text-align: left;
  width: 100%;
  font: inherit;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.ticket-preview {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-list { margin: 15px 0; max-height: 40vh; overflow: auto; }

.chat-message {
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 16px;
  margin: 10px 20px 10px 0;
  font-size: 13px;
}

.chat-message.admin {
  margin: 10px 0 10px 20px;
  background: #f1ebff;
  border-color: #e9deff;
}

.chat-message small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 7px;
}

.chat-message > div { white-space: pre-wrap; overflow-wrap: anywhere; }

#ticket-form textarea,
#ticket-reply textarea {
  font: 14px -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-hero {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 29px;
  min-height: 267px;
  padding: 24px;
  background: linear-gradient(125deg, #6544dd, #8b64f5 72%, #a780ff);
  color: white;
  box-shadow: 0 14px 32px #7953e32b;
  margin-bottom: 22px;
}

.hero-status {
  align-self: flex-start;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #31187540;
  border: 1px solid #ffffff26;
  border-radius: 30px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 550;
}

.hero-status:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #dcff9b;
  border-radius: 50%;
}

.hero-status.off:before { background: #d2c7ea; }

.hero-copy {
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  margin-top: 26px;
  max-width: 70%;
}

.hero-copy h2 {
  color: #fff;
  font-size: 31px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 680;
}

.hero-copy p {
  color: #f7f3ff;
  margin: 10px 0 0;
  font-size: 12px;
}

.home-hero .primary {
  position: relative;
  z-index: 3;
  background: #dfff9c;
  color: #343925;
  box-shadow: none;
  margin-top: auto;
  min-height: 52px;
  padding: 15px 17px;
}

.hero-orbit {
  position: absolute;
  right: -28px;
  top: 36px;
  width: 188px;
  height: 188px;
  border: 1px solid #ffffff25;
  border-radius: 50%;
  transform: rotate(-22deg);
  box-shadow: 0 0 0 25px #ffffff05, 0 0 0 50px #ffffff04;
}

.hero-orbit:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #deff9d;
  border-radius: 50%;
  left: 4px;
  top: 46px;
  box-shadow: 0 0 20px #dfff9c50;
}

.hero-symbol {
  position: absolute;
  inset: 40px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: linear-gradient(130deg, #ffffff26, #ffffff08);
  border: 1px solid #ffffff35;
  backdrop-filter: blur(7px);
  box-shadow: 0 15px 30px #49259f20;
}

.hero-symbol svg {
  width: 55px;
  height: 55px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-metrics .card { padding: 18px 19px; min-height: 120px; }

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

.metric-bubble {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #f0ebff;
  color: #7952c9;
}

.metric-bubble .icon { width: 16px; height: 16px; }
.home-metrics .metric { font-size: 26px; margin-top: 7px; }
.home-metrics .small { font-size: 10px; }

.mini-link {
  color: #8564dc;
  font-size: 11px;
  background: none;
  border: 0;
  padding: 0;
}

.home-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 27px 0 13px;
}

.home-heading h2 { font-size: 16px; }
.home-heading span { font-size: 10px; color: #757083; }

.gift-inline {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff5df;
  border: 1px solid #f1e5cc;
  border-radius: 20px;
  padding: 17px;
  margin-bottom: 18px;
}

.gift-inline .gift-icon {
  font-size: 26px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #ffedc9;
  border-radius: 13px;
}

.gift-inline .gift-copy { flex: 1; }
.gift-inline strong { font-size: 14px; font-weight: 650; color: #5f513d; }

.gift-inline small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #ab9271;
}

.gift-inline button {
  border: 0;
  background: #f7dfac;
  color: #735a2f;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 650;
}

.trial-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eee8ff;
  border: 1px solid #e4daff;
  border-radius: 18px;
  padding: 17px 18px;
  margin: 0 0 18px;
  font-size: 12px;
  color: #8260ce;
}

.hero { background: #f0ebff; border-radius: 23px; padding: 22px; }
.banner { display: none; }
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b59df;
}

@media (min-width: 600px) {
  #app { padding-top: 34px; }
  .home-hero { min-height: 290px; padding: 30px; }
  .hero-copy h2 { font-size: 37px; }
  .hero-orbit { right: 12px; top: 40px; width: 218px; height: 218px; }
  .hero-symbol { inset: 45px; }
  .hero-copy { margin-top: 30px; }
  .home-hero .primary { max-width: 310px; }
  .nav { padding-top: 14px; padding-bottom: 13px; }
}

@media (max-width: 350px) {
  #app { padding-left: 16px; padding-right: 16px; }
  .hero-copy h2 { font-size: 27px; }
  .hero-orbit { right: -60px; }
  .home-title { font-size: 31px; }
  .nav { width: calc(100% - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
