/* Superintelligence Academy holding page. Typography only: no images, icons or animation. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f5f3ee;
  --ink: #16191d;
  --muted: #4a5059;
  --accent: #1d4f5c;
  --on-accent: #ffffff;
  --ring: #b3541e;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416;
    --ink: #eeebe5;
    --muted: #b0b5bc;
    --accent: #9fd0dc;
    --on-accent: #0c1d22;
    --ring: #f0a46c;
  }
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

main, footer {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding-inline: clamp(1.5rem, 6vw, 5rem);
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4rem, 14vh, 10rem) clamp(3rem, 8vh, 6rem);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.tagline {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.5;
}

/* The motto: a second, quieter line in the tagline's column. */
.motto {
  margin: 0.5rem 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.join { margin: clamp(2rem, 5vw, 3rem) 0 0; }

.waitlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  max-width: 100%;
  padding: 0.75rem 1.75rem;
  border-radius: 1.5rem;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.waitlist:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

footer {
  padding-block: 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

footer p { margin: 0; }

footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

