:root {
  --ink: #10221b;
  --muted: #607069;
  --paper: #f4f2ea;
  --white: #fff;
  --lime: #c9ff5a;
  --green: #174c39;
  --line: rgba(16, 34, 27, 0.12);
  --shadow: 0 28px 70px rgba(23, 76, 57, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 11px;
  font-size: 18px;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav nav > a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.button {
  border: 0;
  border-radius: 14px;
  padding: 13px 19px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition:
    0.2s transform,
    0.2s background,
    0.2s opacity;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--ink);
  color: var(--lime);
}
.button-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.button-ghost {
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 14px;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}
.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  padding-block: 60px 110px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 850;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #56bd43;
  box-shadow: 0 0 0 5px rgba(86, 189, 67, 0.13);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(54px, 7.2vw, 92px);
  line-height: 0.93;
  letter-spacing: -0.065em;
  margin: 22px 0 28px;
  max-width: 760px;
}
h1 span {
  color: var(--green);
}
.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 34px 0;
}
.proof-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.proof-row span:not(:last-child)::after {
  content: "•";
  margin-left: 14px;
  color: #9ba8a2;
}
.connection-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 36px;
  padding: 29px;
  box-shadow: var(--shadow);
  min-height: 510px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.connection-card:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background: rgba(201, 255, 90, 0.08);
  filter: blur(3px);
  border-radius: 50%;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
}
.card-topline {
  display: flex;
  justify-content: space-between;
  font-weight: 750;
}
.status-dot {
  font-size: 12px;
  color: var(--lime);
  background: rgba(201, 255, 90, 0.09);
  padding: 6px 10px;
  border-radius: 999px;
}
.orb-wrap {
  display: grid;
  place-items: center;
}
.orb {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 40% 30%,
    #e5ffac,
    var(--lime) 45%,
    #8ed734
  );
  box-shadow:
    0 0 0 16px rgba(201, 255, 90, 0.06),
    0 0 0 38px rgba(201, 255, 90, 0.025),
    0 20px 60px rgba(133, 226, 48, 0.18);
  color: var(--ink);
  font-weight: 900;
  font-size: 24px;
}
.selected-place {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 18px;
  gap: 12px;
}
.flag {
  font-size: 29px;
}
.selected-place div {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.selected-place small {
  color: #9ab0a7;
}
.latency {
  font-size: 12px;
  color: var(--lime);
}
.truth-note {
  font-size: 11px;
  color: #81978e;
  margin: 0 4px;
}
.network-section,
.plans-section {
  padding: 110px 0;
  background: var(--white);
}
.section-heading {
  margin-bottom: 45px;
}
.section-heading h2 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  max-width: 760px;
}
.centered {
  text-align: center;
}
.centered .eyebrow {
  justify-content: center;
}
.centered h2 {
  margin-inline: auto;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.country-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fafaf7;
}
.country-card .flag {
  font-size: 39px;
}
.country-card div {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.country-card small {
  color: var(--muted);
}
.country-state {
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 7px 10px;
  background: #eaf9d5;
  color: #2d6c21;
}
.country-state.soon {
  background: #eceeea;
  color: #6c756f;
}
.skeleton {
  height: 100px;
  border-radius: 22px;
  background: linear-gradient(90deg, #eee 25%, #f7f7f7 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-block: 110px;
}
.features article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.feature-number {
  font: 800 13px ui-monospace;
  color: var(--green);
}
.features h3 {
  font-size: 22px;
  margin: 35px 0 12px;
  letter-spacing: -0.03em;
}
.features p {
  color: var(--muted);
}
.plans-section {
  background: var(--ink);
  color: var(--white);
}
.plans-section .eyebrow {
  color: var(--lime);
}
.payment-state {
  color: #9dafaa;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  padding: 27px;
  background: rgba(255, 255, 255, 0.04);
}
.plan-card.featured {
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-10px);
}
.plan-card h3 {
  font-size: 24px;
}
.plan-card p {
  color: #a9bab3;
  min-height: 48px;
}
.plan-card.featured p {
  color: #53624b;
}
.price {
  font-size: 45px;
  font-weight: 850;
  letter-spacing: -0.05em;
}
.price small {
  font-size: 13px;
  letter-spacing: 0;
}
.plan-card ul {
  padding-left: 18px;
  min-height: 76px;
}
.plan-card .button {
  width: 100%;
  margin-top: 12px;
  background: var(--white);
  color: var(--ink);
}
.plan-card.featured .button {
  background: var(--ink);
  color: var(--lime);
}
.download {
  padding-block: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.download h2 {
  font-size: 54px;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}
.download p {
  color: var(--muted);
  max-width: 600px;
}
.download-actions {
  display: flex;
  gap: 12px;
}
.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 13px 17px;
  background: var(--ink);
  color: var(--white);
  border-radius: 15px;
  text-decoration: none;
}
.store-button > span {
  font-size: 25px;
  color: var(--lime);
}
.store-button div {
  display: flex;
  flex-direction: column;
}
.store-button small {
  font-size: 10px;
  color: #a2b5ad;
}
.store-button strong {
  font-size: 16px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.hidden {
  display: none !important;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 14, 0.72);
  backdrop-filter: blur(10px);
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  background: var(--paper);
  border-radius: 28px;
  padding: 34px;
  width: min(460px, 100%);
  position: relative;
  box-shadow: var(--shadow);
}
.modal h2 {
  font-size: 38px;
  letter-spacing: -0.05em;
}
.modal-close,
.dashboard-close {
  position: absolute;
  right: 20px;
  top: 17px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
  color: inherit;
}
.tabs {
  display: flex;
  gap: 6px;
  background: #e8e7e0;
  padding: 5px;
  border-radius: 12px;
  margin: 20px 0;
}
.tab {
  flex: 1;
  border: 0;
  padding: 9px;
  border-radius: 9px;
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}
.tab.active {
  background: var(--white);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}
.auth-context {
  background: #eaf9d5;
  border: 1px solid rgba(45, 108, 33, 0.18);
  border-radius: 12px;
  color: #2d6c21;
  font-size: 13px;
  font-weight: 650;
  margin: -7px 0 14px;
  padding: 11px 13px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
  margin: 15px 0;
}
input,
select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}
input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 76, 57, 0.1);
}
.full {
  width: 100%;
  margin-top: 12px;
}
.form-message {
  min-height: 22px;
  color: #a52828;
  font-size: 13px;
  margin: 12px 0 0;
}
.form-message.success {
  color: #326f26;
}
.dashboard {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 60;
  display: grid;
  grid-template-columns: 250px 1fr;
}
.dashboard aside {
  background: var(--ink);
  color: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dashboard aside .brand {
  color: var(--white);
  margin-bottom: 40px;
}
.side-link {
  border: 0;
  background: transparent;
  color: #a3b8af;
  text-align: left;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
}
.side-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
}
#logout-button {
  margin-top: auto;
}
.dashboard-main {
  padding: 55px;
  overflow: auto;
  position: relative;
}
.dashboard-main h2 {
  font-size: 50px;
  letter-spacing: -0.05em;
}
.account-strip {
  display: flex;
  gap: 70px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin: 28px 0;
}
.account-strip > div:not(.account-actions) {
  display: flex;
  flex-direction: column;
}
.account-strip small {
  color: var(--muted);
}
.account-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.account-action {
  align-self: center;
  white-space: nowrap;
}
.dashboard-countries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.dash-country {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.dash-country.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(23, 76, 57, 0.12);
}
.dash-country:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.dash-country .flag {
  font-size: 28px;
}
.dash-country span:last-child {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.device-create {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  gap: 12px;
  align-items: end;
  margin-top: 24px;
}
.device-create label {
  margin: 0;
}
.device-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.device-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.device-row small {
  color: var(--muted);
}
.device-row button {
  border: 0;
  background: #f4e2e2;
  color: #8c2020;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}
@media (max-width: 850px) {
  .nav nav > a {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 50px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .eyebrow,
  .proof-row {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .connection-card {
    min-height: 480px;
    width: min(520px, 100%);
    margin: auto;
  }
  .features,
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-card.featured {
    transform: none;
  }
  .country-grid {
    grid-template-columns: 1fr;
  }
  .download {
    flex-direction: column;
    text-align: center;
  }
  .download-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .dashboard aside {
    display: none;
  }
  .dashboard-main {
    padding: 50px 22px;
  }
  .device-create {
    grid-template-columns: 1fr;
  }
  .account-strip {
    gap: 35px;
    flex-wrap: wrap;
  }
  .account-actions {
    flex-basis: 100%;
    margin-left: 0;
  }
}
@media (max-width: 520px) {
  .shell {
    width: min(100% - 26px, 1180px);
  }
  .nav {
    height: 72px;
  }
  .nav nav {
    gap: 8px;
  }
  h1 {
    font-size: 51px;
  }
  .lead {
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .connection-card {
    padding: 22px;
    border-radius: 28px;
  }
  .orb {
    width: 155px;
    height: 155px;
  }
  .network-section,
  .plans-section,
  .features {
    padding-block: 76px;
  }
  .download-actions {
    flex-direction: column;
    width: 100%;
  }
  .store-button {
    justify-content: center;
  }
  .download h2 {
    font-size: 44px;
  }
  footer {
    flex-direction: column;
    gap: 16px;
  }
  .dashboard-main h2 {
    font-size: 38px;
  }
  .account-strip {
    justify-content: space-between;
    gap: 10px;
  }
  .account-actions,
  .account-action {
    width: 100%;
  }
  .account-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
