:root {
  --night: #091522;
  --mint: #8dedca;
  --text: #edf3f8;
  --ink: #152c3e;
  --body: #f6f9fb;
  font-family: "Segoe UI",Arial,sans-serif;
  color: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--body);
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

button: focus-visible,a:focus-visible {
  outline: 3px solid #36a5eb;
  outline-offset: 5px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 44px;
}

.space {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 92%,#173343 0%,#0d1c2c 35%,var(--night) 72%);
  color: var(--text);
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .4;
  background-image: radial-gradient(1px 1px at 14% 28%,#91b7d0 95%,transparent),radial-gradient(1px 1px at 65% 13%,#91b7d0 95%,transparent),radial-gradient(1px 1px at 87% 45%,#91b7d0 95%,transparent),radial-gradient(1px 1px at 39% 68%,#91b7d0 95%,transparent);
  background-size: 293px 207px,381px 259px,421px 341px,263px 307px;
}

.space .wrap {
  position: relative;
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 30px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
  font-weight: 650;
  margin: 0 0 10px;
  color: var(--mint);
}

h1 {
  font-size: clamp(30px,3.4vw,43px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -1.7px;
  margin: 0;
}

h1 span {
  font-family: Georgia,serif;
  font-style: italic;
  font-weight: 400;
  color: var(--mint);
}

.intro-note {
  font-size: 14px;
  line-height: 1.8;
  color: #a7b8c9;
  margin: 0 0 3px;
}

.scene {
  height: 427px;
  position: relative;
  margin-top: 17px;
}

.definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.signal-diagram {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: visible;
}

.orbit-lines {
  stroke: #68869a;
  stroke-opacity: .13;
  stroke-width: 1;
}

.beam {
  transition: opacity .4s;
  fill: var(--signal);
}

.beam path {
  stroke: var(--signal);
  stroke-opacity: .48;
  stroke-width: 1;
  stroke-dasharray: 4 7;
  fill: none;
  animation: signal-flow 2.5s linear infinite;
}

.beam circle {
  filter: drop-shadow(0 0 5px var(--signal));
}

.beam.off {
  opacity: 0;
}

.satellite {
  position: absolute;
  top: 39px;
  width: 20%;
  text-align: center;
  color: var(--text);
}

.sat-1 {
  left: 3.7%;
}

.sat-2 {
  left: 27.3%;
  top: 2px;
}

.sat-3 {
  right: 27.3%;
  top: 2px;
}

.sat-4 {
  right: 3.7%;
}

.satellite-toggle {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 0;
  padding: 0;
  margin: auto;
  background: transparent;
  color: var(--accent);
  border-radius: 8px;
}

.satellite-toggle svg {
  width: 116px;
  height: 83px;
  filter: drop-shadow(0 6px 12px #0003);
  transform: rotate(-12deg);
  animation: float 5s ease-in-out infinite;
  transition: filter .3s,opacity .3s;
}

.sat-2 svg {
  animation-delay: -1.5s;
  transform: rotate(12deg);
}

.sat-3 svg {
  animation-delay: -3s;
}

.sat-4 svg {
  animation-delay: -.8s;
  transform: rotate(12deg);
}

.satellite-toggle:hover svg {
  filter: drop-shadow(0 0 12px color-mix(in srgb,var(--accent) 40%,transparent));
  scale: 1.06;
}

.sat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0 8px;
}

.sat-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px color-mix(in srgb,var(--accent) 50%,transparent);
}

.satellite h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 5px;
  letter-spacing: -.2px;
}

.satellite p {
  max-width: 212px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.65;
  color: #adbdcd;
}

.satellite.off svg {
  filter: grayscale(1);
  opacity: .4;
}

.satellite.off .sat-label {
  color: #7a8a9d;
}

.satellite.off .sat-label i {
  background: #627487;
  box-shadow: none;
}

.satellite.off h2,.satellite.off p {
  opacity: .6;
}

.phone-area {
  position: absolute;
  top: 215px;
  left: 50%;
  transform: translateX(-50%);
  width: 136px;
  height: 192px;
}

.phone {
  position: relative;
  width: 113px;
  height: 183px;
  margin: auto;
  border-radius: 20px;
  background: #121e2a;
  border: 3px solid #7d91a0;
  box-shadow: 0 0 0 3px #142d3e,8px 13px 23px #0007;
  transform: rotate(-7deg);
  overflow: hidden;
}

.phone-speaker {
  width: 32px;
  height: 5px;
  border-radius: 10px;
  background: #526579;
  margin: 7px auto 0;
}

.phone-top {
  font-size: 8px;
  display: flex;
  justify-content: space-between;
  padding: 4px 9px;
  color: #d5e5ec;
  align-items: center;
  height: 19px;
}

.signal-bars {
  color: var(--mint);
  letter-spacing: 1px;
}

.phone-map {
  position: relative;
  height: 115px;
  margin: 0 5px;
  border-radius: 6px;
  overflow: hidden;
  background: #dce7dd;
}

.phone-map svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #197bff;
  transform: translate(-50%,-50%);
  box-shadow: 0 1px 6px #0e426477;
}

.location-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #348ef92b;
  border: 1px solid #348ef94d;
  transform: translate(-50%,-50%);
  animation: locate 3s ease-out infinite;
}

.phone-status {
  text-align: center;
  font-size: 10px;
  color: var(--mint);
  font-weight: 600;
  margin-top: 5px;
}

.phone-home {
  width: 29px;
  height: 3px;
  border-radius: 2px;
  background: #6f8294;
  margin: 5px auto;
}

.ground-ring {
  position: absolute;
  width: 205px;
  height: 45px;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #8dedca29;
  border-radius: 50%;
  background: radial-gradient(ellipse,#8dedca12,transparent 72%);
  box-shadow: 0 0 0 17px #8dedca04;
}

.scene-caption {
  position: absolute;
  left: 9%;
  bottom: 52px;
  display: flex;
  max-width: 27%;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #adbdcd;
}

.connection {
  position: absolute;
  left: 69%;
  bottom: 55px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.connection-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #8dedca5c;
  border-radius: 50%;
  position: relative;
  background: #8dedca0a;
}

.connection-icon:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 5px;
  left: 10px;
  top: 10px;
  border-left: 1.5px solid var(--mint);
  border-bottom: 1.5px solid var(--mint);
  transform: rotate(-45deg);
}

.connection strong {
  font-size: 14px;
  display: block;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 6px;
}

.connection span:not(.connection-icon) {
  font-size: 12px;
  display: block;
  color: #97acbe;
}

.scene.is-searching .connection strong {
  color: #f0c780;
}

.scene.is-searching .connection-icon {
  border-color: #f0c78080;
  background: #f0c7800d;
}

.scene.is-searching .connection-icon:before {
  width: 3px;
  height: 11px;
  border: 0;
  border-radius: 2px;
  background: #f0c780;
  left: 14px;
  top: 9px;
  transform: none;
}

.scene.is-searching .location-dot {
  background: #a4834b;
}

.scene.is-searching .location-halo {
  background: #d7a75740;
  border-color: #bf913b;
  width: 80px;
  height: 80px;
  animation: none;
}

.scene.is-searching .phone-status {
  color: #f0c780;
}

.tap-icon {
  color: var(--mint);
  margin-right: 8px;
  font-size: 15px;
}

.explanation {
  padding-top: 33px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.explanation .eyebrow {
  color: #377766;
  font-size: 10px;
  margin-bottom: 8px;
}

.section-heading h2.eyebrow {
  line-height: 1.2;
  margin: 0;
}

.section-heading>p {
  font-size: 12px;
  color: #778994;
  margin: 0 0 4px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  margin: 29px 0 23px;
}

.steps article {
  display: flex;
  gap: 15px;
}

.steps article+article {
  border-left: 1px solid #dbe3e8;
  padding-left: 27px;
}

.step-number {
  font-family: Georgia,serif;
  font-size: 26px;
  line-height: 1.1;
  color: #6f9589;
  font-style: italic;
}

.steps h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  margin: 0 0 8px;
}

.steps p {
  font-size: 14px;
  color: #536777;
  line-height: 1.75;
  margin: 0;
}

.steps strong {
  font-weight: 650;
  color: #314c5d;
}

.formula {
  display: inline-block;
  font-family: Consolas,monospace;
  font-size: 11px;
  padding: 5px 9px;
  background: #e6efeb;
  color: #3f7260;
  border-radius: 4px;
  margin-top: 9px;
}

footer {
  display: flex;
  justify-content: flex-end;
  padding: 19px 0 23px;
  color: #83929e;
  font-size: 11px;
}

footer a {
  color: #586e7c;
  text-underline-offset: 3px;
}

@keyframes float {
  0%,100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -44;
  }
}

@keyframes locate {
  0% {
    scale: .6;
    opacity: .5;
  }
  65% {
    opacity: 1;
  }
  100% {
    scale: 1.12;
    opacity: .35;
  }
}

@media(min-width:1450px) {
  .wrap {
    max-width: 1340px;
  }
  .intro {
    padding-top: 39px;
  }
  .scene {
    margin-top: 23px;
    height: 445px;
  }
  .phone-area {
    top: 227px;
  }
  .explanation {
    padding-top: 36px;
  }
  .steps p {
    font-size: 16px;
  }
  .satellite p {
    font-size: 14px;
  }
  .satellite h2 {
    font-size: 16px;
  }
  .satellite-toggle svg {
    width: 124px;
    height: 89px;
  }
}

@media(max-width:900px) {
  .wrap {
    padding: 0 25px;
  }
  .intro-note {
    font-size: 12px;
  }
  .satellite {
    width: 22%;
  }
  .sat-1 {
    left: 1.7%;
  }
  .sat-2 {
    left: 26.3%;
  }
  .sat-3 {
    right: 26.3%;
  }
  .sat-4 {
    right: 1.7%;
  }
  .satellite h2 {
    font-size: 13px;
  }
  .satellite p {
    font-size: 12px;
  }
  .satellite-toggle svg {
    width: 99px;
    height: 76px;
  }
  .connection {
    left: 67%;
    gap: 9px;
  }
  .connection-icon {
    display: none;
  }
  .scene-caption {
    left: 4%;
  }
  .steps {
    gap: 20px;
  }
  .steps article {
    gap: 10px;
  }
  .steps article+article {
    padding-left: 19px;
  }
  .steps p {
    font-size: 13px;
  }
  .section-heading>p {
    font-size: 11px;
  }
}

@media(max-width:620px) {
  .wrap {
    padding: 0 21px;
  }
  .intro {
    display: block;
    padding-top: 26px;
  }
  h1 {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .intro-note {
    margin-top: 13px;
    font-size: 12px;
  }
  .intro-note br {
    display: none;
  }
  .scene {
    height: 654px;
    margin-top: 18px;
  }
  .satellite {
    width: 46%;
    top: 0;
  }
  .sat-1 {
    left: 0;
  }
  .sat-2 {
    left: auto;
    right: 0;
    top: 0;
  }
  .sat-3 {
    left: 0;
    right: auto;
    top: 190px;
  }
  .sat-4 {
    right: 0;
    top: 190px;
  }
  .satellite-toggle svg {
    width: 102px;
    height: 70px;
  }
  .sat-label {
    margin-top: 3px;
    font-size: 9px;
  }
  .satellite h2 {
    font-size: 14px;
  }
  .satellite p {
    font-size: 12px;
    max-width: 190px;
    line-height: 1.6;
  }
  .signal-diagram {
    top: 0;
    height: 100%;
  }
  .signal-diagram .beam path {
    stroke-width: 2;
  }
  .signal-diagram .beam circle {
    r: 5;
  }
  .phone-area {
    top: 401px;
  }
  .scene-caption {
    bottom: 16px;
    left: 0;
    max-width: 46%;
    font-size: 12px;
    line-height: 1.6;
  }
  .connection {
    bottom: 17px;
    left: auto;
    right: 0;
  }
  .connection strong {
    font-size: 12px;
  }
  .connection span:not(.connection-icon) {
    font-size: 10px;
    max-width: 155px;
    line-height: 1.5;
  }
  .explanation {
    padding-top: 27px;
  }
  .section-heading {
    display: block;
  }
  .section-heading>p {
    margin: 10px 0 0;
    font-size: 11px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 23px 0;
  }
  .steps article {
    gap: 17px;
  }
  .steps article+article {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid #dbe3e8;
  }
  .step-number {
    font-size: 27px;
  }
  .steps h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .steps p {
    font-size: 14px;
  }
  .formula {
    font-size: 12px;
  }
  footer {
    gap: 15px;
    font-size: 10px;
  }
}

@media(max-width:620px) {
  .scene {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px 14px;
    height: auto;
    padding-bottom: 95px;
  }
  .satellite {
    position: relative;
    inset: auto;
    width: 100%;
  }
  .phone-area {
    position: relative;
    grid-column: 1/-1;
    justify-self: center;
    inset: auto;
    transform: none;
    height: 205px;
    margin-top: 8px;
  }
  .scene .signal-diagram {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .ground-ring {
    bottom: 5px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
  .beam circle {
    display: none;
  }
}

