:root {
  --bg: #070708;
  --bg-elevated: #0f1013;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: #f7f7f8;
  --text-muted: #a8a9b2;
  --red: #ff3b43;
  --red-deep: #b70f21;
  --red-soft: rgba(255, 59, 67, 0.16);
  --cyan: #18d7cf;
  --border: rgba(255, 255, 255, 0.12);
  --focus: #8cf7f2;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-red: 0 24px 80px rgba(183, 15, 33, 0.24);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 59, 67, 0.22), transparent 31rem),
    radial-gradient(circle at 86% 18%, rgba(183, 15, 33, 0.18), transparent 34rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 38px 38px, auto;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 36vw;
  height: 36vw;
  min-width: 260px;
  min-height: 260px;
  content: "";
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.54;
  pointer-events: none;
}

body::before {
  top: 8%;
  left: -13%;
  background: var(--red-deep);
}

body::after {
  right: -16%;
  bottom: 8%;
  background: rgba(255, 59, 67, 0.42);
}

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

img,
svg {
  display: block;
}

.site-header,
main,
footer {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
}

.brand picture,
.brand img {
  width: 44px;
  height: 44px;
}

.brand img {
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 12px 36px rgba(255, 59, 67, 0.26);
  object-fit: cover;
}

.security-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(24, 215, 207, 0.28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(24, 215, 207, 0.08);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.security-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 128px);
  padding: 44px 0 72px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.85;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 690px;
}

.route {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.route-primary {
  grid-column: 1 / -1;
  border-color: rgba(255, 59, 67, 0.42);
  background: linear-gradient(135deg, rgba(255, 59, 67, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow-red);
}

.route::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.08), transparent 34%);
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity 160ms ease, transform 260ms ease;
}

.route:hover,
.route:focus-visible {
  border-color: rgba(140, 247, 242, 0.56);
  background: linear-gradient(135deg, rgba(255, 59, 67, 0.2), rgba(24, 215, 207, 0.07));
  transform: translateY(-2px);
}

.route:hover::before,
.route:focus-visible::before {
  opacity: 1;
  transform: translateX(80%);
}

.route:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.route svg {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 14px;
  color: var(--text);
  background: var(--red-soft);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.route span,
.route em {
  position: relative;
}

.route strong,
.route small {
  display: block;
}

.route strong {
  margin-bottom: 5px;
  font-size: 18px;
}

.route small {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.route em {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.device-preview {
  margin: 0;
  justify-self: end;
  width: min(100%, 430px);
}

.phone-frame {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 560px;
  padding: 54px 34px 38px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026));
  box-shadow: var(--shadow-red);
}

.phone-frame::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
}

.phone-frame picture,
.phone-frame img {
  width: 178px;
  height: 178px;
}

.phone-frame img {
  position: relative;
  z-index: 1;
  border-radius: 44px;
  object-fit: cover;
  box-shadow: 0 22px 70px rgba(255, 59, 67, 0.36);
}

.signal-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 9px;
  margin: 36px 0;
}

.signal-row span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  opacity: 0.85;
}

.message-card {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
  font-size: 15px;
}

.message-card-primary {
  color: var(--text);
  background: rgba(255, 59, 67, 0.12);
}

figcaption {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.download-notes,
.steps,
.security-note,
footer {
  border-top: 1px solid var(--border);
}

.download-notes,
.steps,
.security-note {
  padding: 34px 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.25;
}

.download-notes p,
.security-note p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.steps li {
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.steps span {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.security-note {
  margin-bottom: 32px;
  padding-right: 26px;
  padding-left: 26px;
  border: 1px solid rgba(255, 59, 67, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 59, 67, 0.08);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 34px;
  color: var(--text-muted);
  font-size: 14px;
}

footer strong {
  color: var(--text);
}

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.66fr);
    gap: 28px;
  }

  h1 {
    font-size: clamp(40px, 7vw, 64px);
  }

  .phone-frame {
    min-height: 460px;
    padding-inline: 24px;
  }
}

@media (max-width: 767px) {
  .site-header,
  main,
  footer {
    width: min(var(--content), calc(100% - 40px));
  }

  .site-header {
    padding: 18px 0;
  }

  .brand {
    font-size: 16px;
  }

  .brand picture,
  .brand img {
    width: 40px;
    height: 40px;
  }

  .security-pill {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 0 46px;
  }

  .device-preview {
    grid-row: 4;
    justify-self: stretch;
    width: 100%;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow,
  h1,
  .hero-summary {
    grid-column: 1;
  }

  .eyebrow {
    grid-row: 1;
  }

  h1 {
    grid-row: 2;
  }

  .hero-summary {
    grid-row: 3;
  }

  .route-grid {
    grid-column: 1;
    grid-row: 5;
    grid-template-columns: 1fr;
    max-width: none;
  }

  .route-primary {
    grid-column: auto;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-summary {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.75;
  }

  .phone-frame {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 0;
    padding: 18px;
    border-radius: var(--radius-md);
  }

  .phone-frame::before {
    inset: 10px;
    border-radius: 16px;
  }

  .phone-frame picture,
  .phone-frame img {
    width: 96px;
    height: 96px;
  }

  .phone-frame img {
    border-radius: 25px;
  }

  .signal-row {
    grid-column: 2;
    margin: 0;
  }

  .message-card {
    grid-column: 2;
    margin: 0;
    padding: 12px 13px;
    font-size: 13px;
  }

  figcaption {
    text-align: left;
  }

  .route {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-height: 76px;
    padding: 15px;
    border-radius: 18px;
  }

  .route svg {
    width: 38px;
    height: 38px;
  }

  .route strong {
    font-size: 17px;
  }

  .route small {
    font-size: 13px;
  }

  .steps ol {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

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

@media (max-width: 420px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 40px);
  }

  h1 {
    font-size: 38px;
  }

  .route {
    gap: 10px;
  }

  .route em {
    padding-inline: 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
