:root {
  color-scheme: dark;
  --night: #172036;
  --shadow: #10192b;
  --ink: #eff0fa;
  --muted: #bdc7dc;
  --ice: #a9dbed;
  --gold: #f4cd83;
  --line: #354763;
  font: 1rem/1.8 system-ui, -apple-system, sans-serif;
  background: var(--night);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ice); text-underline-offset: 0.22em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
p { color: var(--muted); }
.wrap { width: min(68rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.2rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.site-header nav a { font-size: 0.92rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand img { border-radius: 8px; }
.hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); align-items: center; gap: clamp(2rem,7vw,7rem); padding-block: clamp(3rem,8vw,7rem); }
.hero h1, .policy h1 { font-size: clamp(2.55rem,6vw,5.15rem); line-height: 1.14; margin: 0; letter-spacing: -0.06em; }
.hero h1 span { color: var(--gold); }
.hero p { max-width: 34ch; margin: 1.25rem 0 1.7rem; }
.planet { image-rendering: pixelated; margin-bottom: 1.4rem; }
.button {
  display: inline-block;
  padding: 0.65rem 1.2rem 0.8rem;
  background: #31536c;
  color: var(--ink);
  clip-path: polygon(4px 0,calc(100% - 4px) 0,calc(100% - 4px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 4px),0 calc(100% - 4px),0 4px,4px 4px);
  border-bottom: 4px solid #22394f;
  font-weight: 700;
  text-decoration: none;
}
.button:active { transform: translateY(2px); }
.button:focus-visible { outline: none; background: #466f8a; text-decoration: underline; }
figure { margin: 0; }
.hero-image { width: min(100%,20rem); justify-self: center; }
.walkthrough { border-top: 1px solid var(--line); padding-block: 3rem; }
.walkthrough > p { max-width: 43rem; }
h2 { font-size: clamp(1.35rem,3vw,2rem); margin: 0 0 0.6rem; line-height: 1.45; }
.pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; max-width: 37rem; margin-block: 2rem; }
.pair figure { display: grid; justify-items: center; gap: 0.65rem; }
.pair img { width: min(100%,15rem); }
figcaption { text-align: center; color: var(--ink); font-size: 0.95rem; }
.contact { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.policy { max-width: 45rem; padding-block: 3.5rem; }
.policy h1 { font-size: clamp(2rem,5vw,3.4rem); margin-bottom: 1.4rem; }
.policy h2 { margin-top: 2rem; font-size: 1.25rem; color: var(--ice); }
.narrow { display: none; }
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 2.6rem; }
  .hero-image { width: min(69vw,17rem); }
  .wide { display: none; }
}
@media (max-width: 24rem) {
  .narrow { display: inline; }
  figcaption { font-size: 0.88rem; }
}
