:root {
  --night: #071a2f;
  --night-soft: #0d2944;
  --panel: #102f4b;
  --cyan: #19caf4;
  --sky: #61d7f6;
  --blue: #2479ff;
  --coral: #ff786d;
  --gold: #ffc85a;
  --paper: #f6fbff;
  --white: #ffffff;
  --ink: #10273b;
  --muted: #a9c4d7;
  --light-muted: #526d80;
  --line: rgb(122 204 237 / 28%);
  --shadow: #03101f;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  color: var(--white);
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 9% 4%, rgb(25 202 244 / 18%) 0 10rem, transparent 28rem),
    radial-gradient(circle at 93% 23%, rgb(36 121 255 / 16%) 0 12rem, transparent 30rem),
    linear-gradient(180deg, var(--night) 0%, #081e35 50%, #061527 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--white);
  color: var(--night);
  left: 1rem;
  padding: 0.8rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 22px 32px;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.18rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

nav,
footer div {
  display: flex;
  gap: 24px;
}

nav a,
footer a {
  color: #d6effb;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
footer a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

main {
  margin: 0 auto;
  max-width: 1240px;
  padding: 58px 32px 110px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  min-height: 650px;
}

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

.eyebrow {
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 0.99;
  margin: 0;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 7.2rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin: 28px 0 0;
  max-width: 67ch;
}

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

.button {
  border: 2px solid var(--cyan);
  border-radius: 14px;
  display: inline-block;
  font-weight: 850;
  padding: 14px 20px;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), #56ddff);
  box-shadow: 0 10px 30px rgb(25 202 244 / 24%);
  color: var(--night);
}

.button.secondary {
  background: rgb(255 255 255 / 5%);
  color: var(--white);
}

.engine-mark {
  align-items: center;
  aspect-ratio: 1;
  display: flex;
  isolation: isolate;
  justify-content: center;
  position: relative;
}

.engine-mark::before {
  background: radial-gradient(circle, rgb(25 202 244 / 28%), transparent 68%);
  content: "";
  inset: 9%;
  position: absolute;
  z-index: -2;
}

.engine-mark img {
  filter: drop-shadow(0 26px 46px rgb(0 0 0 / 38%));
  height: auto;
  max-width: 84%;
}

.orbit {
  border: 1px solid rgb(97 215 246 / 26%);
  border-radius: 50%;
  inset: 4%;
  position: absolute;
  transform: rotate(22deg);
  z-index: -1;
}

.orbit-two {
  inset: 13%;
  transform: rotate(-32deg);
}

.feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.policy-card,
.status-panel,
.game-feature {
  background: linear-gradient(145deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgb(0 0 0 / 16%);
}

.card,
.policy-card {
  padding: 30px;
}

.card.coral {
  border-color: rgb(255 120 109 / 50%);
}

.card-mark {
  color: var(--sky);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}

.card p,
.policy-card p,
.status-panel p,
.game-feature p {
  color: var(--muted);
  line-height: 1.68;
}

.text-link {
  color: var(--sky);
  font-weight: 850;
  text-decoration: none;
}

.status-panel {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 1.4fr auto;
  margin-top: 28px;
  padding: 34px;
}

.status-panel .eyebrow {
  margin-bottom: 10px;
}

.status-panel h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
}

.game-feature {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: 220px 1fr;
  margin-top: 80px;
  padding: 38px;
}

.game-feature img {
  border-radius: 28%;
  height: auto;
  max-width: 100%;
}

.game-feature .button {
  margin-top: 12px;
}

.crab-page {
  --cyan: #61d8d0;
  --sky: #7ce5de;
  --night: #092f44;
  --night-soft: #0b4257;
  --panel: #0b7480;
}

.crab-hero {
  min-height: 610px;
}

.crab-icon-shell {
  align-items: center;
  aspect-ratio: 1;
  background: #0b344b;
  border: 5px solid #61d8d0;
  border-radius: 38% 62% 58% 42% / 48% 45% 55% 52%;
  box-shadow: 24px 28px 0 rgb(11 116 128 / 22%);
  display: flex;
  justify-content: center;
  padding: 42px;
  transform: rotate(3deg);
}

.crab-icon-shell img {
  border-radius: 24%;
  height: auto;
  max-width: 100%;
  transform: rotate(-3deg);
}

.page-intro {
  margin: 58px 0 42px;
  max-width: 920px;
}

.page-intro h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.policy-stack {
  display: grid;
  gap: 20px;
}

.policy-card p {
  margin: 0;
}

.contact-box {
  align-items: center;
  background: var(--panel);
  border: 2px solid var(--cyan);
  border-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 28px;
  padding: 28px;
}

.contact-box a {
  background: var(--gold);
  border-radius: 12px;
  color: var(--night);
  font-weight: 900;
  padding: 13px 17px;
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-bottom: 34px;
  padding-top: 34px;
}

.footer-brand img {
  height: 34px;
  width: 34px;
}

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

@media (max-width: 900px) {
  .hero {
    gap: 38px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 0 76px;
  }

  .engine-mark,
  .crab-icon-shell {
    grid-row: 1;
    margin: 0 auto;
    max-width: 380px;
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid.two-column {
    grid-template-columns: 1fr;
  }

  .status-panel {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }

  nav,
  footer div {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  main {
    padding: 36px 20px 82px;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
  }

  .card,
  .policy-card,
  .status-panel,
  .game-feature {
    border-radius: 18px;
    padding: 24px;
  }

  .game-feature {
    grid-template-columns: 1fr;
  }

  .game-feature img {
    max-width: 170px;
  }
}

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