:root {
  --paper: #f3f5f7;
  --ink: #1e2328;
  --mute: #5c6570;
  --line: #d5dbe1;
  --accent: #2f6d66;
  --panel: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171a1d;
    --ink: #e8ecef;
    --mute: #9aa3ac;
    --line: #2c3238;
    --accent: #7eb8b0;
    --panel: #1f2428;
  }
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

main,
footer {
  width: min(40rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

main {
  padding: 4.5rem 0 3rem;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

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

.mark {
  margin: 0 0 1.75rem;
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.mark a {
  color: inherit;
  text-decoration: none;
}

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

h1 {
  margin: 0 0 0.85rem;
  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(2.1rem, 6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.intro p {
  margin: 0;
  color: var(--mute);
  font-size: 1.2rem;
}

section {
  margin-top: 3.25rem;
}

h2 {
  margin: 0 0 0.85rem;
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.lede {
  margin: 0 0 0.85rem;
  color: var(--mute);
}

.index,
.contact {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.index a,
.contact a {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.index a span:first-child,
.contact a {
  font-weight: 700;
}

.index a span:last-child {
  color: var(--mute);
  text-align: right;
}

.index a:hover,
.contact a:hover {
  color: var(--accent);
}

.index a:hover span:last-child {
  color: var(--accent);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
}

.platforms a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.platforms a:hover {
  color: var(--accent);
}

.player {
  margin-top: 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.player iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

.contact a {
  display: block;
}

footer {
  padding: 0 0 2.5rem;
  color: var(--mute);
  font-size: 0.95rem;
}

footer p {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .index a {
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
  }

  .index a span:last-child {
    text-align: left;
    font-weight: 400;
  }
}

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