html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #f7fafc 0%, #eef3f7 52%, #f7fafc 100%) !important;
  color: #101828 !important;
  font-feature-settings: "tnum" 1, "ss01" 1;
}

body,
button,
input,
select {
  -webkit-font-smoothing: antialiased;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

main,
section,
.wrap,
.bar,
nav,
.nav,
.hero-grid,
.panel,
.card,
.metric {
  min-width: 0;
  max-width: 100%;
}

h1,
h2,
h3,
p,
.lead,
.card p,
.metric strong,
.btn {
  overflow-wrap: anywhere;
}

:root {
  --bg: #f2f6fa;
  --panel: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: #d7e0e8;
  --blue: #2563eb;
  --teal: #0f766e;
  --green: #12b76a;
  --red: #d92d20;
  --soft: #eef6f8;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid rgba(16, 24, 40, .08) !important;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .03);
  backdrop-filter: blur(16px);
}

.wrap {
  width: min(1180px, calc(100% - 40px)) !important;
}

.brand img {
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .08);
}

.brand b {
  letter-spacing: 0;
}

nav a,
.nav a,
.side a,
.side button,
.btn,
button {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

nav a:hover,
.nav a:hover,
.side a:hover {
  background: #eef5ff !important;
  color: #175cd3 !important;
}

.btn,
button.btn {
  min-height: 42px;
  border-radius: 10px !important;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .04);
}

.btn:hover,
button.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled,
button:disabled {
  transform: none;
}

.btn.secondary,
.btn.ghost,
button.secondary {
  background: #f7fbfc !important;
  border-color: #c9d7df !important;
  color: #095c63 !important;
}

.hero {
  padding-top: 46px !important;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr) !important;
}

.panel,
.card,
.faq details,
.dialog,
.side,
.content section,
.subitem {
  border-color: rgba(16, 24, 40, .11) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 36px rgba(16, 24, 40, .07) !important;
}

.hero-grid > .panel:first-child {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, #10231f 0%, #123b40 46%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  overflow: hidden;
  position: relative;
}

.hero-grid > .panel:first-child::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 168px;
  height: 168px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  box-shadow: inset 0 0 0 24px rgba(255, 255, 255, .05), inset 0 0 0 54px rgba(255, 255, 255, .045);
  pointer-events: none;
}

.hero-grid > .panel:first-child h1,
.hero-grid > .panel:first-child .lead,
.hero-grid > .panel:first-child .actions,
.hero-grid > .panel:first-child .pill {
  position: relative;
  z-index: 1;
}

.hero-grid > .panel:first-child .lead {
  color: rgba(255, 255, 255, .78) !important;
}

.hero-grid > .panel:first-child .pill {
  width: max-content;
  background: rgba(255, 255, 255, .12) !important;
  color: #d1fadf !important;
}

.hero-grid > .panel:first-child .btn.secondary,
.hero-grid > .panel:first-child .btn.ghost {
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .24) !important;
  color: #ffffff !important;
}

.hero-grid > .panel:nth-child(2) {
  position: relative;
}

.hero-grid > .panel:nth-child(2)::before {
  content: "VPN";
  position: absolute;
  top: 22px;
  right: 24px;
  min-width: 56px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef4ff;
  color: #175cd3;
  font-size: 12px;
  font-weight: 800;
}

.metric,
.card,
.subitem {
  background: rgba(255, 255, 255, .92) !important;
}

.metric strong,
.card strong {
  letter-spacing: 0;
}

.grid .card {
  min-height: 124px;
}

.grid .card h3::before,
.content section h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #12b76a;
  vertical-align: .08em;
}

.progress {
  background: #e6edf2 !important;
}

.progress i {
  background: linear-gradient(90deg, #12b76a, #2563eb) !important;
}

main.wrap > h1,
main.wrap > .lead {
  max-width: 780px;
}

#grid.grid .card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

#grid.grid .card .actions {
  margin-top: auto;
}

.meta {
  align-items: center;
}

.meta b {
  color: #344054 !important;
}

.note {
  background: #fff9ed !important;
}

.layout {
  align-items: start;
}

.content section {
  scroll-margin-top: 96px;
}

.content section p,
.content section li {
  font-size: 15px;
}

.login {
  margin-top: 42px;
}

.dash {
  align-items: start;
}

.cards .card strong {
  overflow-wrap: anywhere;
}

.table {
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
}

th {
  letter-spacing: .02em;
}

code {
  border-color: #d7e0e8 !important;
}

.layout > .side {
  box-shadow: none !important;
}

body:has(> .layout > aside.side) {
  background: #f5f7fa !important;
}

body > .layout > aside.side {
  background: #101828 !important;
}

body > .layout > aside.side .brand img {
  border-radius: 12px;
}

body > .layout > aside.side button.active {
  background: #eef4ff !important;
  color: #175cd3 !important;
}

body > .layout > aside.side button.danger {
  color: #fecaca !important;
}

.main .top {
  position: static;
  backdrop-filter: none;
}

@media (max-width: 860px) {
  .wrap {
    width: min(100% - 28px, 1180px) !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-grid > .panel:first-child {
    min-height: auto;
  }

  #grid.grid .card {
    min-height: auto;
  }

  .hero-grid > .panel:first-child::after {
    opacity: .5;
    width: 118px;
    height: 118px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 24px) !important;
  }

  .bar {
    overflow: hidden;
    width: 100%;
  }

  nav,
  .nav {
    width: 100%;
    flex-wrap: wrap !important;
    overflow-x: visible;
    padding-bottom: 6px;
    gap: 6px !important;
  }

  nav a,
  .nav a {
    flex: 0 0 auto;
    padding: 8px 9px !important;
  }

  .panel,
  .card,
  .content section {
    padding: 22px !important;
  }

  .hero-grid > .panel:first-child {
    min-height: 404px;
    width: calc(100vw - 24px) !important;
  }

  .hero-grid > .panel:first-child::after {
    right: -44px;
    bottom: 26px;
  }

  .hero-grid > .panel:first-child h1,
  .hero-grid > .panel:first-child .lead,
  .hero-grid > .panel:first-child .actions {
    width: min(100%, 330px);
  }

  .lead {
    max-width: 100%;
    font-size: 16px !important;
  }

  .actions,
  .row {
    width: 100%;
  }

  .btn,
  button.btn {
    width: 100%;
  }

  h1 {
    font-size: 30px !important;
  }
}
