@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:ital,wght@0,200..800;1,200..800&display=swap');


:root {
  --bg: #0c0c0f;
  --fg: #e8e8ee;
  --muted: #a0a0b0;
  --accent: #b86cff;
  --line: #222;
  --lineSoft: #1a1a22;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

@media (max-width: 700px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible Next", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 2rem 0 1rem;
  
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 600px;
}

/* ---------- Sections ---------- */

section {
  padding: 1rem 0;
  
}

section:last-child {
  border-bottom: none;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

section p {
  max-width: 700px;
  color: var(--muted);
  margin: 0 0 1rem;
}

section p:last-child {
  margin-bottom: 0;
}

section ul,
section ol {
  max-width: 700px;   /* same as section p */
  margin: 0 0 1rem;
  padding-left: 1.25rem; /* just enough for numbers */
}

section li {
  color: var(--muted);
}


/* ---------- Support grid ---------- */

.support-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.8fr;
  gap: 0.6rem 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  align-items: baseline;
}

.support-grid > div {
  padding: 0.15rem 0;
}

.col-head {
  font-weight: 600;
  color: var(--fg);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--lineSoft);
}

.row-head {
  font-weight: 600;
}

.check {
  text-align: center;
  font-weight: 700;
}

.support-note {
  margin-top: 1.5rem;
}

/* Youtube embeds*/

.yt-figure {
  max-width: 700px;       /* match your text column */
  margin: 1.25rem 0 1rem;
}

.yt-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.yt-grid {
  max-width: 700px;                 /* match your paragraph column */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1rem;           /* space above/below the block */
}

.yt {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;             /* responsive video shape */
  border: 1px solid var(--lineSoft);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* stack on narrow screens */
@media (max-width: 700px) {
  .yt-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Pathfinder signup (Formspree) ----- */

.pf-signup {
  max-width: 700px;                  /* match text/video column */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0;               /* gentle spacing after text */
  padding: 0.35rem 0.25rem;
  border-bottom: 1px solid var(--lineSoft);
}

.pf-signup__input {
  width: min(420px, 70vw);
  font: inherit;
  color: var(--fg);
  background: transparent;
  border: 0;
  outline: none;
  padding: 0.25rem 0;
}

.pf-signup__input::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.pf-signup__btn {
  font: inherit;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 0.15rem 0.25rem;
  cursor: pointer;
  border-radius: 8px;
  line-height: 1;
}

.pf-signup__btn:hover {
  color: var(--fg);
}

.pf-signup:focus-within {
  border-bottom-color: var(--accent);
  box-shadow: 0 10px 24px rgba(184, 108, 255, 0.12);
}

/* Screen-reader-only label helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Footer ---------- */

footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
}