/* Apple-inspired web materials, implemented with native CSS; not an Apple UI framework. */
:root {
  --bg: #fff;
  --surface: #f5f5f7;
  --panel: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --tint: #eaf3fe;
  --glass: rgba(255, 255, 255, 0.78);
  --radius: 24px;
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #65aeff;
  outline-offset: 4px;
}
button {
  border: 0;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.045em;
}
button {
  background: none;
}
::selection {
  background: #cce5ff;
}
.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  background: var(--blue);
  padding: 12px;
  color: white;
  z-index: 1000;
}
.skip:focus {
  top: 12px;
}
.container {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  letter-spacing: -1.2px;
  font-weight: 750;
  white-space: nowrap;
}
.brand-dot {
  color: var(--blue);
}
.brand-mark {
  height: 25px;
  width: 25px;
  background: var(--blue);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  letter-spacing: -2px;
  color: #fff;
  padding-right: 2px;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 550;
  transition:
    background 0.2s,
    transform 0.2s;
  border: 1px solid transparent;
  min-height: 46px;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-hover);
}
.btn-secondary {
  background: var(--panel);
  border-color: var(--line);
}
.btn-secondary:hover {
  background: var(--surface);
}
.btn.small {
  padding: 9px 18px;
  min-height: 38px;
  font-size: 12px;
}
.text-link {
  color: var(--blue);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}
.text-link:hover {
  text-decoration: underline;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
}
.blue {
  color: var(--blue);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  display: inline-block;
  background: var(--blue);
  flex-shrink: 0;
}
.site-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin: 14px auto 0;
  max-width: 1184px;
  width: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 23px;
  border: 1px solid rgba(210, 215, 225, 0.6);
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 4px 25px #16305305;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 12px;
  font-weight: 500;
  align-items: center;
}
.nav-links > a {
  padding: 10px 0;
  color: var(--muted);
}
.nav-links > a:hover {
  color: var(--ink);
}
.nav-end {
  display: flex;
  gap: 18px;
  align-items: center;
}
.theme-toggle {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 18px;
  display: grid;
  place-items: center;
}
.hero {
  text-align: center;
  overflow: hidden;
  padding-top: 62px;
  background: radial-gradient(ellipse at 50% 90%, #edf6ff 0, transparent 55%);
}
.hero-intro {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}
.hero-intro .dot {
  box-shadow: 0 0 0 4px #0071e30d;
}
.hero h1 {
  font-size: clamp(48px, 5.8vw, 80px);
  line-height: 1.035;
  letter-spacing: -0.06em;
  font-weight: 690;
}
.hero h1 span {
  display: block;
}
.hero h1 .blue {
  padding-bottom: 8px;
}
.hero-copy {
  font-size: 18px;
  line-height: 1.55;
  max-width: 560px;
  color: var(--muted);
  margin: 19px auto 0;
  letter-spacing: -0.025em;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.hero-small {
  font-size: 11px;
  margin-top: 16px;
  color: var(--muted);
}
.hero-visual {
  position: relative;
  height: 355px;
  max-width: 1050px;
  margin: 5px auto 0;
}
.hero-globe {
  position: absolute;
  width: 680px;
  max-width: none;
  left: 50%;
  transform: translateX(-50%);
  top: -12px;
  filter: saturate(0.9);
  mask-image: linear-gradient(black 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(black 78%, transparent 100%);
}
.edge-label {
  position: absolute;
  left: calc(50% + 190px);
  top: 136px;
  text-align: left;
  padding: 16px 21px;
  border: 1px solid #ffffffd9;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 40px #2757860c;
  backdrop-filter: blur(14px);
}
.edge-label:before {
  content: "";
  position: absolute;
  height: 1px;
  width: 70px;
  left: -70px;
  top: 30px;
  background: linear-gradient(90deg, #0071e3, #d7e9ff);
}
.edge-label strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
}
.edge-label p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.edge-label .dot {
  margin-right: 6px;
}
.network-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding: 28px 0 32px;
  position: relative;
  background: var(--bg);
}
.network-facts > div {
  text-align: center;
  border-right: 1px solid var(--line);
}
.network-facts > div:last-child {
  border: 0;
}
.network-facts strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.045em;
}
.network-facts p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.section {
  padding: 100px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
}
.section h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
}
.section .eyebrow {
  margin-bottom: 15px;
}
.section-description {
  max-width: 340px;
  font-size: 14px;
  color: var(--muted);
}
.network-section {
  background: var(--surface);
}
.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.bento > article {
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  position: relative;
  min-height: 365px;
  padding: 35px;
}
.bento h3 {
  font-size: 28px;
  line-height: 1.15;
  max-width: 300px;
}
.bento p {
  font-size: 13px;
  color: var(--muted);
  max-width: 310px;
  margin-top: 14px;
}
.map-panel {
  background: #eaf3fc !important;
  min-height: 420px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#7b9fc015 1px, transparent 1px),
    linear-gradient(90deg, #7b9fc015 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: linear-gradient(transparent, #000);
  pointer-events: none;
}
.uz-map {
  position: absolute;
  width: 360px;
  height: 220px;
  right: -25px;
  bottom: 26px;
  background: linear-gradient(145deg, #d0e6fb, #99c9f6);
  clip-path: polygon(
    4% 18%,
    24% 2%,
    37% 17%,
    48% 20%,
    48% 37%,
    59% 36%,
    67% 50%,
    70% 39%,
    80% 57%,
    95% 54%,
    100% 68%,
    87% 78%,
    78% 77%,
    75% 95%,
    61% 90%,
    53% 76%,
    43% 81%,
    36% 61%,
    26% 53%,
    14% 39%
  );
  filter: drop-shadow(0 10px 20px #417fb8);
}
.tashkent-pin {
  position: absolute;
  right: 65px;
  bottom: 133px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.tashkent-pin .dot {
  width: 10px;
  height: 10px;
  box-shadow:
    0 0 0 7px #0071e31a,
    0 0 0 15px #0071e309;
}
.map-caption {
  position: relative;
  z-index: 1;
  font-size: 10px !important;
  max-width: 230px !important;
}
.speed-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}
.speed-readout {
  font-size: 100px;
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 650;
  margin-top: 14px;
}
.speed-readout span {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin-left: 9px;
}
.speed-foot {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.bento .wide-card {
  grid-column: 1/-1;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.wide-card h3 {
  font-size: 25px;
  max-width: 400px;
}
.wide-card p {
  margin-top: 7px;
  max-width: 580px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.step-number {
  display: block;
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.steps h3 {
  font-size: 21px;
  letter-spacing: -0.035em;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.steps code {
  font-size: 11px;
  background: var(--surface);
  padding: 4px 7px;
  border-radius: 5px;
}
.dashboard-promo {
  background: var(--surface);
  padding-bottom: 0;
  overflow: hidden;
}
.dashboard-promo .section-head {
  align-items: center;
}
.dashboard-teaser {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  min-height: 360px;
  box-shadow: 0 18px 60px #2334490a;
}
.teaser-side {
  background: var(--surface);
  padding: 25px 18px;
  border-right: 1px solid var(--line);
}
.teaser-side .brand {
  font-size: 20px;
}
.teaser-side .side-item {
  font-size: 11px;
  padding: 11px 13px;
}
.teaser-main {
  padding: 30px;
}
.teaser-main h3 {
  font-size: 26px;
}
.teaser-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
}
.teaser-stats small {
  color: var(--muted);
  font-size: 10px;
}
.teaser-stats strong {
  display: block;
  font-size: 23px;
  margin-top: 9px;
}
.teaser-chart {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  background: repeating-linear-gradient(
    transparent 0 39px,
    var(--line) 40px,
    transparent 41px
  );
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
summary {
  font-size: 17px;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
summary:after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 14px;
  color: var(--muted);
  max-width: 780px;
  margin-top: 14px;
}
.cta-section {
  text-align: center;
  padding: 40px 0 100px;
}
.cta-section h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 24px;
}
.cta-section p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 25px;
}
.site-footer {
  background: var(--surface);
  padding: 34px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-row p {
  font-size: 11px;
  color: var(--muted);
}
.footer-row .brand {
  font-size: 20px;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.6;
}
.app-layout {
  min-height: 100dvh;
  background: var(--surface);
  display: grid;
  grid-template-columns: 220px 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 32px 18px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--glass);
}
.sidebar .brand {
  padding-left: 14px;
}
.free-badge {
  align-self: start;
  margin: 18px 0 38px 14px;
  color: var(--blue);
  background: var(--tint);
  font-size: 10px;
  padding: 6px 9px;
  border-radius: 7px;
}
.side-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  margin-bottom: 5px;
  min-height: 44px;
}
.side-item:hover {
  background: var(--line);
}
.side-item.active {
  color: var(--blue);
  background: var(--tint);
  font-weight: 600;
}
.side-icon {
  width: 18px;
  text-align: center;
  font-size: 17px;
  line-height: 1;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--tint);
  border-radius: 50%;
  color: var(--blue);
  font-size: 11px;
}
.sidebar-user strong {
  font-size: 11px;
  display: block;
}
.sidebar-user small {
  font-size: 10px;
  color: var(--muted);
}
.app-main {
  padding: 38px 44px;
  min-width: 0;
}
.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.breadcrumbs {
  font-size: 11px;
  color: var(--muted);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.connection-state {
  font-size: 10px;
  padding-right: 10px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 38px;
}
.page-heading h1 {
  font-size: 36px;
  line-height: 1.12;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 34px;
}
.metric {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.metric:first-child {
  padding-left: 0;
}
.metric:last-child {
  border: 0;
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
}
.metric strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 13px 0 9px;
}
.metric small {
  font-size: 10px;
  color: var(--muted);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.panel h2 {
  font-size: 19px;
  letter-spacing: -0.035em;
}
.panel-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.segmented {
  display: flex;
  background: var(--surface);
  padding: 3px;
  border-radius: 9px;
  gap: 2px;
}
.segmented button {
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.segmented button.active {
  background: var(--panel);
  box-shadow: 0 1px 4px #16263612;
  color: var(--ink);
}
.traffic-chart {
  height: 250px;
  margin-top: 24px;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
    transparent 0 48px,
    var(--line) 49px,
    transparent 50px
  );
}
.empty-state {
  text-align: center;
  max-width: 400px;
  padding: 32px 15px;
  margin: auto;
}
.empty-symbol {
  height: 49px;
  width: 49px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--tint);
  color: var(--blue);
  font-size: 27px;
  font-weight: 300;
}
.empty-state h3 {
  font-size: 18px;
  letter-spacing: -0.035em;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 17px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 12px;
}
.edge-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.edge-strip h2 {
  font-size: 17px;
}
.edge-strip p {
  font-size: 11px;
  margin-top: 6px;
  color: var(--muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  white-space: nowrap;
  background: var(--surface);
  padding: 6px 9px;
  border-radius: 99px;
  color: var(--muted);
}
.status.active {
  background: var(--tint);
  color: var(--blue);
}
.status .dot {
  height: 5px;
  width: 5px;
  background: currentColor;
}
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.info-row:last-child {
  border: 0;
}
.info-row > span:first-child {
  color: var(--muted);
}
.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.input,
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}
.toolbar select {
  width: auto;
  max-width: 180px;
}
.toolbar .input {
  max-width: 320px;
}
.input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 8px;
}
.field {
  margin-bottom: 20px;
}
.field small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 7px;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.check-field input {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
}
.check-field label {
  margin: 0;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}
th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  font-size: 10px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 18px 15px;
  border-bottom: 1px solid var(--line);
}
td small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
td button {
  color: var(--blue);
  font-size: 11px;
}
.table-wrap code {
  font-size: 10px;
}
dialog {
  color: var(--ink);
  background: var(--panel);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  width: min(510px, calc(100% - 32px));
  max-height: 90dvh;
  box-shadow: 0 30px 120px #14233530;
}
dialog::backdrop {
  background: #121a2d50;
  backdrop-filter: blur(8px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.dialog-head h2 {
  font-size: 27px;
  letter-spacing: -0.04em;
}
.dialog-close {
  font-size: 25px;
  color: var(--muted);
  width: 30px;
  height: 30px;
}
.dialog-copy {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.wizard-steps {
  display: flex;
  gap: 8px;
  margin: 22px 0 25px;
}
.wizard-steps span {
  height: 3px;
  background: var(--line);
  flex: 1;
  border-radius: 2px;
}
.wizard-steps span.active {
  background: var(--blue);
}
.form-error {
  font-size: 12px;
  color: #bf2c26;
  line-height: 1.5;
  margin: 12px 0;
}
.callout {
  font-size: 12px;
  line-height: 1.65;
  padding: 15px 18px;
  border-radius: 13px;
  background: var(--tint);
  color: var(--blue);
  margin-bottom: 20px;
}
.code-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  background: var(--surface);
  border-radius: 10px;
  margin: 12px 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.code-value button {
  font-size: 11px;
  color: var(--blue);
  flex-shrink: 0;
}
.auth-shell {
  min-height: 100dvh;
  background: var(--surface);
  padding: 30px;
}
.auth-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-panel {
  width: min(410px, 100%);
  margin: 70px auto;
}
.auth-panel h1 {
  font-size: 38px;
  margin: 35px 0 10px;
}
.auth-panel > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.auth-panel .btn {
  width: 100%;
}
.auth-foot {
  font-size: 12px;
  text-align: center;
  margin-top: 25px;
  color: var(--muted);
}
.auth-foot a {
  color: var(--blue);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 25px);
  border-radius: 16px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 23px;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 32px);
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.app-notice {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  margin-bottom: 28px;
}
.app-notice a {
  color: var(--blue);
}
.mobile-app-nav {
  display: none;
}
.chart-bars {
  height: 220px;
  width: 100%;
  display: flex;
  align-items: end;
  gap: 6px;
  padding: 15px 0 0;
}
.chart-bar {
  flex: 1;
  min-width: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--blue);
  opacity: 0.8;
  position: relative;
}
.chart-bar:hover {
  opacity: 1;
}
.chart-legend {
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 17px;
}
.chart-legend .dot {
  margin-right: 5px;
}
.danger {
  color: #bf2c26;
}
.page-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow: auto;
}
.page-tabs button {
  font-size: 12px;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.page-tabs button.active {
  color: var(--blue);
  border-color: var(--blue);
}
.onboarding-note {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--muted);
}
[data-theme="dark"] {
  --bg: #101113;
  --surface: #18191d;
  --panel: #212226;
  --ink: #f5f5f7;
  --muted: #a1a1a8;
  --line: #34353b;
  --blue: #5aa8ff;
  --blue-hover: #76b6ff;
  --tint: #1c324d;
  --glass: rgba(26, 27, 31, 0.85);
  color-scheme: dark;
}
[data-theme="dark"] .btn-primary {
  color: #091c30;
}
[data-theme="dark"] .hero {
  background: radial-gradient(ellipse at 50% 90%, #14283e, transparent 55%);
}
[data-theme="dark"] .hero-globe {
  opacity: 0.7;
}
[data-theme="dark"] .edge-label {
  background: #202937d9;
  border-color: #505d6c;
}
[data-theme="dark"] .map-panel {
  background: #192c40 !important;
}
[data-theme="dark"] .uz-map {
  opacity: 0.45;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 80px;
  }
  .hero-visual {
    height: 390px;
  }
}
@media (max-width: 1100px) {
  .app-main {
    padding: 30px 26px;
  }
  .app-layout {
    grid-template-columns: 185px 1fr;
  }
  .sidebar {
    padding-inline: 10px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .metric {
    padding-inline: 15px;
  }
  .metric strong {
    font-size: 28px;
  }
  .edge-strip {
    flex-wrap: wrap;
  }
  .section {
    padding: 75px 0;
  }
}
@media (max-width: 767px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-nav {
    top: 10px;
    min-height: 58px;
    border-radius: 18px;
    width: calc(100% - 24px);
    padding: 10px 15px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    width: 23px;
    height: 23px;
    font-size: 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-end {
    gap: 8px;
  }
  .site-nav .btn.small {
    padding: 8px 13px;
    font-size: 11px;
  }
  .hero {
    padding-top: 55px;
  }
  .hero-intro {
    font-size: 10px;
    gap: 7px;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: clamp(43px, 8vw, 62px);
    letter-spacing: -0.06em;
  }
  .hero-copy {
    font-size: 15px;
    max-width: 350px;
    margin-top: 18px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 23px;
  }
  .hero-actions .btn {
    padding: 12px 18px;
    font-size: 12px;
    min-height: 44px;
  }
  .hero-small {
    font-size: 10px;
  }
  .hero-visual {
    height: 300px;
    margin-top: 12px;
  }
  .hero-globe {
    width: 540px;
    top: 0;
  }
  .edge-label {
    left: auto;
    right: 14px;
    top: 134px;
    padding: 12px 15px;
  }
  .edge-label strong {
    font-size: 11px;
  }
  .edge-label p {
    font-size: 10px;
  }
  .edge-label:before {
    width: 35px;
    left: -35px;
  }
  .network-facts {
    padding: 23px 0;
  }
  .network-facts strong {
    font-size: 19px;
  }
  .network-facts p {
    font-size: 10px;
    max-width: 95px;
    margin: 5px auto 0;
  }
  .section {
    padding: 65px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 28px;
  }
  .section-description {
    margin-top: 20px;
  }
  .section h2 {
    font-size: 35px;
  }
  .bento {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .bento > article {
    padding: 27px;
    min-height: 320px;
  }
  .bento h3 {
    font-size: 27px;
  }
  .map-panel {
    min-height: 360px !important;
  }
  .speed-readout {
    font-size: 90px;
  }
  .speed-card {
    min-height: 300px !important;
  }
  .bento .wide-card {
    display: block;
    min-height: 200px;
  }
  .wide-card .btn {
    margin-top: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 35px;
  }
  .step-number {
    margin-bottom: 17px;
    padding-bottom: 13px;
  }
  .steps p {
    max-width: 500px;
  }
  .dashboard-promo {
    padding-bottom: 0;
  }
  .dashboard-promo .text-link {
    margin-top: 20px;
  }
  .dashboard-teaser {
    grid-template-columns: 1fr;
    min-height: 300px;
  }
  .teaser-side {
    display: none;
  }
  .teaser-main {
    padding: 24px;
  }
  .teaser-main h3 {
    font-size: 23px;
  }
  .footer-row {
    flex-wrap: wrap;
  }
  .footer-row > p {
    order: 3;
    width: 100%;
  }
  .footer-links {
    font-size: 11px;
  }
  .cta-section {
    padding: 15px 0 65px;
  }
  .cta-section h2 {
    font-size: 40px;
  }
  .app-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .app-main {
    padding: 22px 20px 90px;
  }
  .app-topbar {
    margin-bottom: 30px;
  }
  .mobile-app-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(24px);
    padding: 8px 10px max(8px, env(safe-area-inset-bottom));
    justify-content: space-around;
    z-index: 30;
  }
  .mobile-app-nav a {
    font-size: 9px;
    color: var(--muted);
    text-align: center;
    display: grid;
    gap: 5px;
    padding: 6px;
  }
  .mobile-app-nav a.active {
    color: var(--blue);
  }
  .mobile-app-nav .side-icon {
    width: auto;
    font-size: 19px;
  }
  .page-heading {
    align-items: start;
    gap: 15px;
    margin-bottom: 27px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading .btn {
    padding: 10px 14px;
    font-size: 11px;
    min-height: 39px;
  }
  .metric-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
    margin: 30px 0;
  }
  .metric {
    padding-left: 20px;
  }
  .metric:nth-child(odd) {
    padding-left: 0;
  }
  .metric:nth-child(2) {
    border: 0;
  }
  .metric strong {
    font-size: 29px;
  }
  .panel {
    padding: 20px;
    border-radius: 20px;
  }
  .panel-heading {
    align-items: start;
    flex-wrap: wrap;
    gap: 17px;
  }
  .panel h2 {
    font-size: 18px;
  }
  .traffic-chart {
    height: 250px;
  }
  .empty-state h3 {
    font-size: 17px;
  }
  .empty-state {
    padding-inline: 0;
  }
  .grid-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .edge-strip {
    display: block;
  }
  .edge-strip .status {
    margin-top: 15px;
  }
  .connection-state {
    font-size: 9px;
    max-width: 145px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar .input {
    max-width: none;
  }
  .toolbar select {
    max-width: none;
  }
  .auth-shell {
    padding: 24px;
  }
  .auth-panel {
    margin: 50px auto;
  }
  .auth-panel h1 {
    font-size: 35px;
  }
  dialog {
    padding: 26px;
  }
  .section h3 {
    letter-spacing: -0.035em;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-nav,
  .edge-label,
  .sidebar,
  .mobile-app-nav {
    background: var(--panel);
    backdrop-filter: none;
  }
}

img {
  height: auto;
}
/* Superadmin domain settings follow the console's existing form and table styles. */
.domain-settings > h2 {
  margin: 12px 0;
}
.setup-help {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
}
.setup-guide > p,
.setup-guide li p,
.hostname-instructions p {
  line-height: 1.65;
  font-size: 14px;
  color: var(--muted);
}
.setup-guide h2 {
  margin-bottom: 16px;
}
.setup-guide > .eyebrow {
  margin-bottom: 12px;
}
.setup-guide form {
  max-width: 640px;
  margin-top: 24px;
}
.setup-guide > .text-link {
  margin-left: 18px;
}
.setup-steps {
  padding-left: 24px;
  margin: 28px 0;
}
.setup-steps li {
  padding: 0 0 20px 12px;
}
.setup-steps li::marker {
  font-weight: 650;
  color: var(--blue);
}
.setup-guide details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.setup-guide summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.setup-guide details p {
  line-height: 1.65;
  font-size: 14px;
  color: var(--muted);
}
.hostname-instructions {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.hostname-instructions h3 {
  overflow-wrap: anywhere;
}
.hostname-instructions h4 {
  margin: 24px 0 12px;
}
.dns-checklist {
  padding-left: 20px;
}
.hostname-instructions table {
  min-width: 600px;
}
.hostname-instructions .code-value {
  margin: 0;
}
.hostname-instructions td {
  vertical-align: top;
}
.hostname-instructions td code {
  overflow-wrap: anywhere;
  white-space: normal;
}
.asset-example {
  margin-top: 28px;
}
.asset-example h3 {
  font-size: 14px;
  margin: 20px 0 12px;
}
@media (max-width: 600px) {
  .setup-guide > .text-link {
    display: block;
    margin: 20px 0 0;
  }
  .setup-guide .panel-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
}
.admin-layout {
  min-height: 100vh;
  background: var(--surface);
}
.admin-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 5%;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  flex-wrap: wrap;
}
.admin-header .free-badge {
  margin: 0;
}
.admin-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}
.admin-workspace {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 5% 70px;
}
@media (max-width: 600px) {
  .admin-account {
    width: 100%;
    margin-left: 0;
    gap: 12px;
  }
  .admin-account > span {
    flex: 1;
  }
  .admin-workspace {
    padding-top: 28px;
  }
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.domain-settings form {
  max-width: 560px;
  margin: 28px 0;
}
.domain-record {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border, #ddd);
}
.domain-record .code-value {
  margin: 0;
}
.domain-record td {
  vertical-align: top;
}
.domain-record td code {
  overflow-wrap: anywhere;
}
