:root {
  --blue: #1f4fbf;
  --navy: #0f2747;
  --ball: #d4f23c;
  --coral: #ff6b5a;
  --paper: #f7f9fc;
  --card: #ffffff;
  --muted: #3a4e6b;
  --line: #d7e0ee;
  --max: 1080px;
  --gutter: 22px;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

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

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  background: var(--navy);
  color: var(--ball);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.strip {
  margin: 0;
  padding: 0.45rem var(--gutter);
  background: var(--navy);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0.7rem var(--gutter);
  background: rgb(247 249 252 / 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mark {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
  text-decoration: none;
}

.mark::after {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.28rem;
  border-radius: 50%;
  background: var(--ball);
  box-shadow: 0 0 0 4px rgb(212 242 60 / 0.35);
  vertical-align: 0.15rem;
}

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

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

.hero {
  display: grid;
  gap: 1.4rem;
  padding: 2.1rem 0 0.6rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: pretty;
  scroll-margin-top: 5rem;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.7rem, 10vw, 5.4rem);
}

.subline {
  display: inline-block;
  max-width: 16rem;
  margin: 1.75rem 0 0;
  padding: 0.75rem 1.15rem;
  border-radius: 1.5rem;
  background: var(--ball);
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-align: center;
}

.lede {
  max-width: 36rem;
  margin: 1.65rem 0 0;
  font-size: 1.12rem;
}

.join-link {
  margin: 1.15rem 0 0;
}

.join-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.32em;
}

.photo-slot {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  overflow: visible;
}

.photo-slot picture {
  display: block;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #e7edf5;
}

.photo-slot img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.photo-players {
  justify-self: center;
}

.photo-players img {
  width: min(48%, 8.75rem);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.photo-founders img {
  width: min(100%, 18rem);
  height: auto;
  border-radius: 1.15rem;
}

.photo-slot figcaption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.founders .photo-slot figcaption {
  color: #d5deea;
}

.section {
  padding: 2.5rem 0;
}

.section h2,
.founders h2,
.close h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
}

.section-intro {
  max-width: 38rem;
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.shared {
  margin: 0 0 1.2rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 1.5rem;
  background: var(--ball);
  color: var(--navy);
}

.shared h3 {
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
}

.shared p:last-child {
  margin: 0;
  max-width: 42rem;
}

.shared .kicker {
  color: var(--navy);
}

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

.path {
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 10px 30px rgb(15 39 71 / 0.06);
}

.path h3 {
  margin: 0 0 0.8rem;
  font-size: 1.55rem;
}

.path ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.path > ol > li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2.4rem;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.path > ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--navy);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.steps {
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.7rem;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.path .steps li {
  padding-left: 0;
}

.path .steps li::before {
  content: none;
}

.num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue);
}

.step[aria-current="step"] .num,
.step:hover .num {
  color: var(--navy);
}

.step[aria-current="step"] {
  font-weight: 600;
}

.phone-wrap {
  display: none;
}

.phone {
  width: min(100%, 280px);
  padding: 0.65rem;
  border-radius: 1.8rem;
  background: var(--navy);
}

.phone-top {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.3rem 0 0.6rem;
}

.phone-top i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--ball);
  opacity: 0.8;
}

.phone-screen {
  display: flex;
  min-height: 240px;
  padding: 1.15rem 1.05rem;
  border-radius: 1.25rem;
  background: var(--paper);
}

.moment {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.moment[hidden] {
  display: none;
}

.moment h3 {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.7rem;
}

.moment p:last-child {
  margin: auto 0 0;
  color: var(--muted);
}

html.js .moment {
  animation: rise 420ms ease;
}

.founders {
  padding: 2.5rem 0;
  background: var(--navy);
  color: var(--paper);
}

.founders-grid {
  display: grid;
  gap: 1.5rem;
}

.founders p {
  max-width: 38rem;
  margin: 0;
}

.founders p + p {
  margin-top: 0.9rem;
}

.founders :focus-visible {
  outline-color: var(--ball);
}

.faq h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.45rem 0 0.2rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.faq h3::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--coral);
  flex: none;
}

.faq h3:first-of-type {
  margin-top: 0.4rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.85rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--blue);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0;
  padding: 0 0 1rem;
  max-width: 42rem;
  color: var(--muted);
}

.text-link,
.interest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.text-link {
  margin: 0;
  padding: 0 0.15rem;
  background: none;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.interest {
  margin-left: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ball);
  color: var(--navy);
  text-decoration: none;
}

.interest:hover,
.text-link:hover {
  color: var(--navy);
}

.close {
  background:
    radial-gradient(380px 180px at 90% 0%, rgb(212 242 60 / 0.22), transparent 70%),
    var(--blue);
  color: var(--paper);
  scroll-margin-top: 4.5rem;
}

.close :focus-visible {
  outline-color: var(--ball);
}

.close-inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  padding: 3.4rem 0 3.8rem;
}

.close .kicker {
  color: var(--ball);
}

.close .kicker::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: 0.05rem;
}

.close h2 {
  max-width: 12ch;
  color: var(--paper);
}

.invite,
.else {
  max-width: 36rem;
  margin: 0;
}

.invite {
  font-size: 1.15rem;
}

.else {
  margin-top: 1.1rem;
}

.js-off {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
}

.close .js-off {
  color: var(--paper);
}

.foot {
  padding: 1.3rem 0 1.6rem;
  background: var(--navy);
  color: var(--paper);
}

.foot p {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
}

.court {
  padding: 2.1rem 0 1.6rem;
  text-align: left;
}

.court h1 {
  max-width: 11ch;
  text-align: left;
}

.court-actions {
  text-align: center;
}

.court-actions p {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.court-join {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  min-height: 72px;
  margin: 0.8rem auto 0;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--ball);
  color: var(--navy);
  font: inherit;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
}

.court-join:disabled {
  cursor: default;
  opacity: 0.7;
}

.court-next {
  margin-top: 0.85rem;
  font-weight: 600;
}

.court-note {
  margin-top: 0.35rem;
  font-weight: 600;
}

.missing {
  padding: 3rem 0 4rem;
}

.missing h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 8vw, 4rem);
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding-top: 2.8rem;
  }

  .subline {
    max-width: none;
  }

  .photo-players {
    justify-self: end;
    align-self: center;
  }

  .photo-players img {
    width: min(100%, 230px);
  }

  .photo-founders img {
    width: min(100%, 420px);
  }

  .section,
  .founders {
    padding: 3.4rem 0;
  }

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

  .path-b {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    column-gap: 1rem;
    align-items: start;
  }

  .path-b h3,
  .path-b .steps {
    grid-column: 1;
    min-width: 0;
  }

  .phone-wrap {
    display: flex;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
  }

  .phone {
    width: 148px;
    padding: 0.4rem;
    border-radius: 1.2rem;
  }

  .phone-screen {
    min-height: 168px;
    padding: 0.8rem 0.7rem;
  }

  .moment h3 {
    font-size: 1.15rem;
  }

  .founders-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }
}

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

  html.js .moment {
    animation: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
