/* Symbiont Games
   Navy #111820, cream #E8E0CF, teal #5FBDB4.
   Light sections: paper #F3EEE3, ink #111820, dark teal #2B8C83.
   --cream-quiet is cream mixed toward navy so secondary text stays readable.
   Dark teal is used for rules and underlines on paper. Body text on paper
   stays ink, because #2B8C83 is too light for small type on #F3EEE3. */

:root {
  --navy: #111820;
  --cream: #e8e0cf;
  --teal: #5fbdb4;
  --paper: #f3eee3;
  --ink: #111820;
  --teal-dark: #2b8c83;
  --cream-quiet: #c8c2b4;
  --line: rgba(232, 224, 207, 0.18);
  --line-ink: rgba(17, 24, 32, 0.14);
  --font: "Inter", system-ui, sans-serif;
  --wrap: 1080px;
  --header: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

img {
  max-width: 100%;
}

p,
ul,
dl {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
}

h1,
h2 {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: 0.01em;
}

p + p {
  margin-top: 1rem;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.band :focus-visible {
  outline-color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 4.25rem 0;
  scroll-margin-top: var(--header);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: var(--header);
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.logo {
  display: block;
  height: 36px;
  width: auto;
}

.nav ul,
.socials,
.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover {
  color: var(--teal);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__mark {
  order: -1;
  width: min(240px, 70vw);
  height: auto;
  justify-self: start;
}

.hero h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.7rem, 4.6vw, 3rem);
}

.hero h1 .line {
  display: block;
  width: fit-content;
  margin-right: -0.16em;
}

.tagline {
  max-width: 22em;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.support {
  max-width: 34em;
  margin: 0.85rem 0 0;
  color: var(--cream-quiet);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--teal);
  color: var(--ink);
}

.button--ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(232, 224, 207, 0.45);
}

.button--ghost:hover {
  background: transparent;
  color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal);
}

.button--wait,
.button:disabled {
  width: 100%;
  background: transparent;
  color: var(--cream-quiet);
  box-shadow: inset 0 0 0 1px rgba(232, 224, 207, 0.32);
  cursor: not-allowed;
}

.button:disabled:hover {
  background: transparent;
  color: var(--cream-quiet);
  box-shadow: inset 0 0 0 1px rgba(232, 224, 207, 0.32);
}

.lede {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
}

.card:hover {
  border-color: rgba(95, 189, 180, 0.55);
}

.art {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 75% at 28% 35%, rgba(95, 189, 180, 0.22), transparent 68%),
    var(--navy);
}

.art--snow {
  background:
    radial-gradient(85% 70% at 72% 82%, rgba(232, 224, 207, 0.16), transparent 62%),
    radial-gradient(70% 60% at 18% 18%, rgba(95, 189, 180, 0.16), transparent 64%),
    var(--navy);
}

.art__label {
  margin: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(232, 224, 207, 0.35);
  background: rgba(17, 24, 32, 0.72);
  color: var(--cream);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.4rem;
}

.meta {
  margin-top: 0.45rem;
  color: var(--cream-quiet);
  font-size: 0.95rem;
}

.card__body > p {
  margin-top: 1rem;
}

.pillars {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}

.pillars li {
  position: relative;
  padding-left: 1rem;
}

.pillars li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 2px;
  background: var(--teal);
}

.card__foot {
  margin-top: auto;
  padding-top: 1.25rem;
}

.badge {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-weight: 600;
  line-height: 1.45;
}

.band {
  background: var(--paper);
  color: var(--ink);
}

.band .section + .section,
.site-footer {
  border-top: 1px solid var(--line-ink);
}

.about__grid {
  display: grid;
  gap: 2rem;
}

.facts {
  display: grid;
  gap: 1rem;
}

.facts div {
  padding-top: 0.65rem;
  border-top: 2px solid var(--teal-dark);
}

.facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.3rem 0 0;
}

.email {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 600;
  line-height: 1.35;
  text-decoration-color: var(--teal-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.email:hover {
  color: var(--ink);
}

.site-footer {
  padding: 2.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.socials a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--teal-dark);
}

.soon {
  margin-left: 0.35em;
  font-weight: 400;
}

.note {
  max-width: 36rem;
  margin-top: 1.25rem;
}

.legal {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-ink);
}

::selection {
  background: var(--teal);
  color: var(--ink);
}

@media (min-width: 720px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 3rem));
  }

  .logo {
    height: 44px;
  }

  .section {
    padding: 5.5rem 0;
  }

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

  .footer__grid {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 880px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 300px);
    gap: 3rem;
  }

  .hero__mark {
    order: 0;
    width: 100%;
    justify-self: end;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
    gap: 3.5rem;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
