:root {
  --ink: #12161b;
  --muted: #687078;
  --line: #dce1e3;
  --lime: #d9ff43;
  --ice: #dffbff;
  --blue: #6ce9f2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f8faf9;
  color: var(--ink);
  font-family: Manrope, sans-serif;
}
button,
a {
  font: inherit;
}
header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 4.5vw;
  position: relative;
  z-index: 3;
  background: #f8faf9;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font: 600 13px/1.05 "Space Grotesk";
}
.brand i {
  width: 27px;
  height: 27px;
  background: #050607;
  border-radius: 50%;
  box-shadow: 9px -7px 0 -2px var(--lime);
}
.status {
  display: flex;
  gap: 26px;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.status b {
  color: #3a7000;
}
.about,
.filters button {
  border: 0;
  background: none;
  cursor: pointer;
  color: #555;
}
.hero {
  min-height: 510px;
  padding: 70px 4.5vw 45px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 76% 49%,
      #fff 0 6%,
      #c8f7fa 6.5% 14%,
      transparent 30%
    ),
    repeating-radial-gradient(
      circle at 76% 49%,
      transparent 0 52px,
      rgba(46, 130, 139, 0.1) 53px 54px
    ),
    linear-gradient(118deg, #f8faf9 52%, #e4fbfc);
}
.hero:after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #f6ffff, #91e6ec 48%, #3db8c0);
  right: 10%;
  top: 79px;
  box-shadow:
    inset -28px -18px 55px rgba(0, 58, 80, 0.17),
    0 30px 90px rgba(0, 155, 171, 0.12);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #596268;
}
.hero h1 {
  font: 500 clamp(56px, 8vw, 112px) / 0.82 "Space Grotesk";
  letter-spacing: -0.07em;
  margin: 28px 0;
  position: relative;
  z-index: 1;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px #707b80;
}
.intro {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.hero-meta {
  display: flex;
  gap: 45px;
  margin-top: 35px;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.hero-meta b {
  font: 600 22px "Space Grotesk";
  display: block;
  letter-spacing: -0.04em;
}
.catalog {
  padding: 60px 4.5vw 100px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.section-head h2 {
  font: 500 30px "Space Grotesk";
  margin: 0;
}
.filters {
  display: flex;
  gap: 6px;
}
.filters button {
  padding: 9px 14px;
  border-radius: 20px;
  font-size: 11px;
}
.filters .active {
  background: #171b1f;
  color: white;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  min-height: 310px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(28, 55, 61, 0.09);
  border-color: #b8c1c4;
}
.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.tag {
  background: #eef2f1;
  border-radius: 20px;
  padding: 6px 9px;
}
.mini {
  height: 170px;
  margin: 10px -8px;
  position: relative;
}
.mini .earth {
  width: 158px;
  height: 158px;
  border-radius: 50%;
  margin: auto;
  background: radial-gradient(circle at 34% 28%, #faffff, #c6f4f6 53%, #65c9d0);
  box-shadow: inset -18px -12px 35px rgba(0, 80, 100, 0.18);
}
.mini .arc {
  position: absolute;
  width: 190px;
  height: 74px;
  border-top: 2px solid #d3f92f;
  border-radius: 50%;
  left: 50%;
  top: 77px;
  transform: translate(-50%) rotate(var(--rot));
}
.card h3 {
  font: 500 24px "Space Grotesk";
  margin: auto 0 4px;
}
.card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.detail-top {
  min-height: 190px;
  padding: 28px 4.5vw 34px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
}
.back {
  align-self: start;
  color: #555;
  text-decoration: none;
  font-size: 12px;
}
.detail-top h1 {
  font: 500 clamp(38px, 5vw, 68px) / 1 "Space Grotesk";
  margin: 10px 0 0;
  letter-spacing: -0.05em;
}
.detail-facts {
  display: flex;
  gap: 30px;
  font-size: 9px;
  letter-spacing: 0.15em;
}
.detail-facts b {
  font: 600 19px "Space Grotesk";
  display: block;
  margin-top: 6px;
}
.globe-wrap {
  height: min(62vw, 650px);
  min-height: 520px;
  background: radial-gradient(
    circle at center,
    #faffff 0,
    #dff9fa 40%,
    #c7eef1 100%
  );
  position: relative;
  overflow: hidden;
  border-block: 1px solid #bfe1e5;
}
#globe {
  width: 100%;
  height: 100%;
}
.map-label {
  position: absolute;
  left: 28px;
  top: 26px;
  font-size: 9px;
  letter-spacing: 0.17em;
  font-weight: 700;
}
.map-label span {
  color: #6d7a7e;
  margin-left: 14px;
  font-weight: 400;
}
.legend {
  position: absolute;
  right: 28px;
  top: 24px;
  display: flex;
  gap: 18px;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}
.umbra {
  background: #111;
}
.penumbra {
  background: #73858955;
}
.track {
  background: var(--lime);
}
.console {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-bottom: 1px solid var(--line);
}
.player {
  padding: 32px 4.5vw;
}
.time-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.time-row button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #13171b;
  color: white;
  cursor: pointer;
}
.time-row small,
.local small {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #737d81;
}
.time-row strong {
  display: block;
  font: 500 20px "Space Grotesk";
  margin-top: 3px;
}
.time-row > span {
  margin-left: auto;
  font-size: 10px;
  color: #687378;
}
input[type="range"] {
  width: 100%;
  margin: 27px 0 8px;
  accent-color: #171b1f;
}
.ticks {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #747c80;
}
.local {
  border-left: 1px solid var(--line);
  padding: 30px 3vw;
}
.local-head {
  display: flex;
  justify-content: space-between;
}
.local-head strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}
.local-head button {
  border: 1px solid #bbc3c5;
  background: white;
  border-radius: 18px;
  font-size: 9px;
  padding: 6px 10px;
  cursor: pointer;
}
.obsc {
  display: flex;
  gap: 35px;
  margin: 25px 0;
}
.obsc span {
  font: 500 35px "Space Grotesk";
  display: block;
}
.obsc small {
  display: block;
}
dl {
  font-size: 11px;
  margin: 0;
}
dl div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid #e5e8e8;
}
dt {
  color: #788084;
}
dd {
  margin: 0;
}
.source-note {
  font-size: 10px;
  color: #798185;
  padding: 20px 4.5vw 50px;
}
.source-note a {
  color: inherit;
}
dialog {
  border: 0;
  padding: 0;
  box-shadow: 0 30px 80px #16202544;
  width: min(92vw, 460px);
}
dialog::backdrop {
  background: #0e171ba8;
}
.close {
  float: right;
  border: 0;
  background: none;
  font-size: 26px;
}
.close + * {
  clear: both;
}
dialog form {
  padding: 30px;
}
dialog h2 {
  font: 500 30px "Space Grotesk";
}
dialog label {
  display: block;
  font-size: 10px;
  margin: 24px 0 7px;
}
dialog input {
  width: 100%;
  padding: 14px;
  border: 1px solid #bbc3c5;
}
.city-search {
  position: relative;
}
.city-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 245px;
  overflow: auto;
  background: #fff;
  border: 1px solid #bbc3c5;
  box-shadow: 0 16px 32px #16202525;
}
.city-results[hidden] {
  display: none;
}
.city-results button {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid #e5e8e8;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.city-results button:last-child {
  border-bottom: 0;
}
.city-results button:hover,
.city-results button:focus,
.city-results button[aria-selected="true"] {
  background: #eff8f8;
  outline: 0;
}
.city-results strong {
  display: block;
  font-size: 12px;
}
.city-results small {
  display: block;
  margin-top: 2px;
  color: #737d81;
  font-size: 9px;
}
.city-results .city-empty {
  padding: 12px 13px;
  color: #737d81;
  font-size: 10px;
}
.geocode-credit {
  margin: 6px 0 0;
  color: #8a9295;
  font-size: 8px;
  text-align: right;
}
.geocode-credit a {
  color: inherit;
}
.quick-label {
  display: block;
  margin-top: 14px;
  color: #737d81;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 7px 0 24px;
}
.quick button {
  min-height: 34px;
  border: 1px solid #d4d9da;
  background: white;
  padding: 7px;
  font-size: 10px;
  cursor: pointer;
}
.quick button:hover,
.quick button:focus {
  border-color: #8f9a9e;
  background: #eff8f8;
  outline: 0;
}
.primary {
  width: 100%;
  padding: 13px;
  border: 0;
  background: #15191d;
  color: white;
}
@media (max-width: 800px) {
  .status {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero:after {
    opacity: 0.5;
    right: -25%;
  }
  .hero h1 {
    font-size: 58px;
  }
  .section-head {
    display: block;
  }
  .filters {
    overflow: auto;
    margin-top: 20px;
  }
  .detail-top {
    grid-template-columns: 1fr;
  }
  .detail-facts {
    margin-top: 25px;
  }
  .console {
    grid-template-columns: 1fr;
  }
  .local {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .globe-wrap {
    height: 560px;
  }
  .legend {
    top: auto;
    bottom: 18px;
  }
  .map-label span {
    display: none;
  }
}
