:root {
  color-scheme: light;
  --ink: #13212f;
  --muted: #657386;
  --line: #dce5ee;
  --paper: #f7fafc;
  --panel: #ffffff;
  --blue: #1f7aec;
  --blue-deep: #1452a8;
  --green: #20b47b;
  --orange: #f59d2a;
  --shadow: 0 24px 80px rgba(23, 38, 55, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 252, 0.88);
  border-bottom: 1px solid rgba(220, 229, 238, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav,
.actions,
.metric-grid,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(31, 122, 236, 0.22);
}

.site-header nav {
  gap: 8px;
}

.site-header nav a,
.header-action,
.secondary-action {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #43566c;
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a:hover,
.secondary-action:hover {
  background: #eaf2fb;
  color: var(--blue-deep);
}

.header-action {
  justify-self: end;
  color: #ffffff;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
  min-height: calc(100svh - 77px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 20%, rgba(32, 180, 123, 0.22), transparent 30%),
    linear-gradient(135deg, #f7fafc 0%, #e9f4ff 46%, #edf8f2 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 10ch;
  color: #0d1b2a;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: #4c6075;
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.45;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  padding: 14px 20px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(31, 122, 236, 0.28);
}

.secondary-action {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.phone-stage {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone {
  width: min(78vw, 340px);
  aspect-ratio: 9 / 18.4;
  padding: 14px;
  border-radius: 46px;
  background: #162232;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 96px;
  height: 24px;
  margin: 0 auto -10px;
  border-radius: 0 0 18px 18px;
  background: #162232;
  position: relative;
  z-index: 2;
}

.app-screen {
  height: 100%;
  padding: 32px 20px 22px;
  border-radius: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #eff7ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.screen-bar,
.route-card,
.metric-grid > div,
.trust-strip > div,
.support {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(207, 220, 234, 0.86);
  border-radius: 8px;
}

.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  color: #53657a;
  font-size: 13px;
}

.screen-bar strong {
  color: var(--green);
}

.connection-orb {
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  margin: 42px auto 18px;
  border-radius: 50%;
  background: #dff6ec;
  box-shadow: inset 0 0 0 12px #f3fbf7;
}

.connection-orb img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.status-pill {
  width: fit-content;
  margin: 0 auto 22px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #0e704c;
  background: #dff6ec;
  font-size: 13px;
  font-weight: 900;
}

.route-card {
  padding: 16px;
}

.route-card span,
.route-card small,
.metric-grid span,
.trust-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.route-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 24px;
}

.metric-grid {
  gap: 10px;
  margin-top: 10px;
}

.metric-grid > div {
  flex: 1 1 0;
  padding: 13px;
}

.metric-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip > div {
  padding: 18px;
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.section {
  padding: clamp(56px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.copy-stack {
  color: #40536a;
  font-size: 19px;
  line-height: 1.65;
}

.network {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 96px);
  background: #0f1d2e;
  color: #ffffff;
}

.network .eyebrow {
  color: #91d8ff;
}

.network-copy p:not(.eyebrow) {
  color: #c2cfdb;
  font-size: 19px;
  line-height: 1.6;
}

.server-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.server-list span {
  min-height: 70px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 850;
}

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(40px, 8vw, 86px) clamp(20px, 5vw, 72px);
  padding: clamp(24px, 5vw, 48px);
}

.support p {
  margin-bottom: 0;
  color: #53657a;
  font-size: 18px;
  line-height: 1.5;
}

footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #66788d;
  border-top: 1px solid var(--line);
}

footer a {
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .two-column,
  .network {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-stage {
    min-height: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .support {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-action {
    padding-inline: 12px;
  }

  .hero,
  .section,
  .trust-strip,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .server-list {
    grid-template-columns: 1fr;
  }

  .phone {
    width: min(100%, 330px);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
