:root {
  color-scheme: light;
  --founders-ink: #112b4d;
  --founders-muted: #63768d;
  --founders-navy: #0b1730;
  --founders-blue: #074cc4;
  --founders-cyan: #45d9e6;
  --founders-gold: #f3d14b;
  --founders-line: #dce5ef;
}

* {
  box-sizing: border-box;
}

body.founders-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgb(7 76 196 / 14%), transparent 34rem),
    #edf2f7;
  color: var(--founders-ink);
  font-family: 'DM Sans', sans-serif;
}

.founders-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 24px;
}

.founders-error button:focus-visible {
  outline: 3px solid rgb(7 76 196 / 35%);
  outline-offset: 3px;
}

.founders-hero {
  position: relative;
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgb(243 209 75 / 52%);
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 40%, rgb(69 217 230 / 11%), transparent 17rem),
    linear-gradient(120deg, #0b1730, #102d50 72%, #153a5b);
  box-shadow: 0 24px 56px rgb(17 43 77 / 16%);
  color: #f7f9fc;
}

.founders-hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 34px 34px;
  content: '';
  mask-image: linear-gradient(90deg, transparent, #000 58%, #000);
  pointer-events: none;
}

.founders-hero__copy,
.founders-hero__mark {
  position: relative;
  z-index: 1;
}

.founders-eyebrow,
.founders-roster__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--founders-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.founders-eyebrow span {
  width: 22px;
  height: 2px;
  background: var(--founders-gold);
}

.founders-hero h1 {
  margin: 18px 0 12px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.founders-hero h1 span {
  color: var(--founders-cyan);
}

.founders-hero__description {
  max-width: 490px;
  margin: 0;
  color: #c2d1e2;
  font-size: 15px;
  line-height: 1.65;
}

.founders-progress {
  max-width: 400px;
  margin-top: 28px;
}

.founders-progress__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  color: #d3dfec;
  font-size: 12px;
}

.founders-progress__label strong {
  color: var(--founders-gold);
  font-size: 14px;
}

.founders-progress__track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
}

.founders-progress__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--founders-cyan), var(--founders-gold));
  transition: width 240ms ease;
}

.founders-hero__mark {
  display: grid;
  min-height: 230px;
  place-items: center;
}

.founders-ticket {
  position: relative;
  display: flex;
  width: min(100%, 390px);
  min-height: 205px;
  overflow: hidden;
  transform: rotate(-3deg);
  border: 1px solid rgb(243 209 75 / 78%);
  border-radius: 17px;
  background: #f8f4e8;
  box-shadow: 0 18px 42px rgb(0 0 0 / 26%);
  color: var(--founders-ink);
}

.founders-ticket::before,
.founders-ticket::after {
  position: absolute;
  right: 82px;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #102d50;
  content: '';
}

.founders-ticket::before {
  top: -8px;
}

.founders-ticket::after {
  bottom: -8px;
}

.founders-ticket__main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px 20px 16px;
}

.founders-ticket__topline,
.founders-ticket__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.founders-ticket__topline {
  color: var(--founders-blue);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.founders-ticket__topline span:last-child {
  color: #8190a1;
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.founders-ticket__identity {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 0;
}

.founders-ticket__emoji {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 14px;
  background: #e8effb;
  font-size: 37px;
}

.founders-ticket__identity div {
  display: grid;
  gap: 4px;
}

.founders-ticket__eyebrow {
  color: var(--founders-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founders-ticket__identity strong {
  color: var(--founders-ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(17px, 2vw, 23px);
  letter-spacing: -0.04em;
}

.founders-ticket__footer {
  padding-top: 10px;
  border-top: 1px solid #d8dfe7;
  color: #8492a4;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.founders-ticket__footer strong {
  color: var(--founders-blue);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.founders-ticket__stub {
  display: grid;
  width: 83px;
  flex: 0 0 83px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  border-left: 2px dashed #bfc9d5;
  background: #f0ead7;
  color: #73839a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
}

.founders-ticket__stub strong {
  color: var(--founders-blue);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 29px;
  line-height: 1;
}

.founders-roster {
  margin-top: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--founders-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgb(17 43 77 / 7%);
}

.founders-roster__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.founders-roster__eyebrow {
  color: var(--founders-blue);
  font-size: 10px;
}

.founders-roster h2 {
  margin: 5px 0 0;
  color: var(--founders-ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(23px, 3vw, 30px);
  letter-spacing: -0.04em;
}

.founders-roster__note {
  margin: 0;
  color: var(--founders-muted);
  font-size: 12px;
}

.founders-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.founders-list__item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid #e7edf4;
  border-radius: 11px;
  background: #f9fbfd;
}

.founders-list__number {
  display: grid;
  width: 38px;
  height: 32px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 8px;
  background: #eaf1fc;
  color: var(--founders-blue);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.founders-list__username {
  min-width: 0;
  overflow: hidden;
  color: var(--founders-ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.founders-list__label {
  margin-left: auto;
  color: #8492a4;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.founders-status {
  margin: 18px 0;
  color: var(--founders-muted);
  font-size: 14px;
  text-align: center;
}

.founders-error {
  padding: 16px;
  color: #8a3340;
  text-align: center;
}

.founders-error[hidden] {
  display: none;
}

.founders-error p {
  margin: 0 0 12px;
}

.founders-error button {
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--founders-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.founders-footer {
  padding: 22px 0 0;
  color: #8090a3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.founders-footer span {
  padding: 0 5px;
  color: var(--founders-blue);
}

@media (max-width: 720px) {
  .founders-shell {
    width: min(100% - 32px, 560px);
    padding-top: 18px;
  }

  .founders-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 28px 24px;
  }

  .founders-hero__mark {
    min-height: 200px;
  }

  .founders-ticket {
    width: min(100%, 390px);
    transform: rotate(-2deg);
  }

  .founders-roster__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 480px) {
  .founders-shell {
    width: calc(100% - 24px);
  }

  .founders-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .founders-list__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}