/* The app's dark theme (web/src/plugins/vuetify.ts). The teaser is dark only, like the app's hero banners. */
@font-face {
  font-family: Inter;
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #09090f;
  --surface: #111119;
  --field: #14141f;
  --line: rgb(255 255 255 / 0.08);
  --text: #e6e6f0;
  --bright: #f5f4ff;
  --muted: rgb(230 230 240 / 0.64);
  --faint: rgb(230 230 240 / 0.42);
  --primary: #6d5dfc;
  --violet: #a78bfa;
  --success: #3ecf8e;
  --error: #f2545b;
  --brand: linear-gradient(135deg, #a497ff, #5b3df5);
  --wall-h: 300px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* A slow violet haze high on the page, and the app's aurora on the right. */
body::before {
  content: '';
  position: absolute;
  inset: -200px 0 auto;
  height: 1100px;
  background:
    radial-gradient(900px 420px at 50% 28%, rgb(75 54 201 / 0.24), transparent 70%),
    radial-gradient(600px 300px at 18% 10%, rgb(30 27 80 / 0.5), transparent 70%);
  animation: haze 40s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}
body::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  /* The aurora's own shape (1600 × 480), so wide screens don't cut off its lower part. */
  height: max(480px, 30vw);
  background: url('/aurora.svg') right top / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}
/* Vertical only: growing sideways would let the page scroll. */
@keyframes haze {
  to {
    transform: translate3d(0, 40px, 0) scale(1, 1.06);
  }
}

::selection {
  background: rgb(109 93 252 / 0.45);
}

a {
  color: var(--violet);
  text-decoration: none;
}
a:hover {
  color: var(--bright);
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
p,
ul,
ol {
  margin: 0;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.glow {
  background: linear-gradient(92deg, #d4c8ff 0%, #a78bfa 45%, #7c5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 20px;
}

.sub {
  color: var(--muted);
  font-size: 17px;
}

/* Header and footer */

.top,
.bottom,
main > section {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
  z-index: 3;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--bright);
}

.quiet {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 28px 0 40px;
  margin-top: 120px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}
.bottom nav {
  display: flex;
  gap: 24px;
}
.bottom a {
  color: var(--muted);
}

/* Hero */

.hero {
  position: relative;
  padding-top: calc(var(--wall-h) - 112px);
  text-align: center;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-inline: auto;
  /* The map's spots under the headline stay hoverable: only the form and links take the pointer. */
  pointer-events: none;
}
.hero-text form,
.hero-text .sent,
.hero-text a {
  pointer-events: auto;
}

h1 {
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--bright);
  margin-bottom: 24px;
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--muted);
}
.lead.strong {
  margin-top: 12px;
  color: var(--bright);
  font-weight: 600;
}

/* Forms: a quiet border that lights up on focus, as in the app. */

.reserve {
  margin: 36px auto 0;
  max-width: 720px;
}
.reserve .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
/* On a share link: who invited the visitor, with their handle as they wrote it. */
.reserve .label .inviter {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--violet);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 10px;
}

.field {
  display: flex;
  align-items: center;
  height: 52px;
  background: var(--field);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 10px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field:hover {
  border-color: rgb(255 255 255 / 0.22);
}
.field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgb(109 93 252 / 0.18);
}
.field.invalid {
  border-color: var(--error);
}
.field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  background: none;
  border: 0;
  outline: 0;
  color: var(--bright);
  font: inherit;
}
.field input::placeholder {
  color: rgb(230 230 240 / 0.3);
}
.field .at {
  padding-left: 16px;
  color: var(--faint);
}
.field.handle input {
  padding-left: 2px;
}
.field select {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 40px 0 16px;
  border: 0;
  outline: 0;
  appearance: none;
  background: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23a78bfa%22 stroke-width=%222%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E') right 14px center / 16px no-repeat;
  color: var(--bright);
  font: inherit;
  cursor: pointer;
}
/* The open list of a picker: without this, Chrome on Windows shows the light text on white. */
select option {
  background: var(--surface);
  color: var(--text);
}
/* The country picker inside the hero's fine print. */
.fine select {
  max-width: 15em;
  field-sizing: content;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px dashed rgb(167 139 250 / 0.5);
  appearance: none;
  background: none;
  color: var(--violet);
  font: inherit;
  cursor: pointer;
}

button {
  font: inherit;
  cursor: pointer;
}
.primary {
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgb(109 93 252 / 0.32);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
a.primary {
  display: inline-flex;
  align-items: center;
  color: #fff;
}
.primary:hover {
  color: #fff;
  background: #7b6cff;
  box-shadow: 0 10px 32px rgb(109 93 252 / 0.45);
}
.primary:active {
  transform: translateY(1px);
}
.primary:disabled {
  opacity: 0.6;
  cursor: progress;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--violet);
}

.hint {
  min-height: 24px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--faint);
}
.hint.ok {
  color: var(--success);
}
.hint.error {
  color: var(--error);
}
.human {
  display: flex;
  justify-content: center;
}
.fine {
  font-size: 13px;
  color: var(--faint);
  margin-top: 6px;
}
.sent {
  padding: 22px 24px;
  border: 1px solid rgb(167 139 250 / 0.3);
  border-radius: 12px;
  background: linear-gradient(180deg, rgb(109 93 252 / 0.12), rgb(109 93 252 / 0.04));
  color: var(--muted);
}
.sent-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--bright);
  margin-bottom: 6px;
}
.sent strong {
  color: var(--bright);
  font-weight: 600;
}
.sent .link {
  margin-top: 12px;
  font-size: 14px;
}

/* How many humans and organizations have joined */

.progress {
  margin: 28px auto 0;
  max-width: 440px;
  font-size: 15px;
  color: var(--muted);
}
.progress .count {
  color: var(--bright);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* Below the hero, for those who want to know more first: down to the perks, or the story. */
.more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.more a {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.more a:hover {
  color: var(--bright);
  border-color: rgb(167 139 250 / 0.5);
}
.generations,
.reveals {
  scroll-margin-top: 32px;
}

/* The founding wall: every spot is a place on the list. Lit spots are confirmed people, dim ones still open. On the
   home page it's a dot map of the world (world-wall.js): it starts at the top, and the headline lies over its lower
   half, where it fades. Tiny dots are just land. */

.hero > .wall {
  position: absolute;
  inset: 0 calc(50% - 50vw) auto;
  height: var(--wall-h);
}
.wall-mask {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero .wall-mask {
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 6%, #000 34%, rgb(0 0 0 / 0.18) 52%, rgb(0 0 0 / 0.07) 100%),
    linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.wall-track {
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--pitch));
  grid-template-rows: repeat(var(--rows), var(--pitch));
  justify-content: center;
  place-items: center;
}
.hero .wall-track {
  animation: drift 70s ease-in-out infinite alternate;
}
/* The coasts behind the map's dots, so the world reads as one. They span the dot grid and drift with it. */
.coast {
  grid-area: 1 / 1 / -1 / -1;
  place-self: stretch;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: visible;
}
.coast path {
  fill: none;
  stroke: rgb(167 139 250 / 0.4);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* Open spots draw the continents until people fill them. */
.hero .spot:not(.on) {
  border-color: rgb(167 139 250 / 0.24);
  background: rgb(167 139 250 / 0.05);
}
@keyframes drift {
  from {
    transform: translateX(-1.2%);
  }
  to {
    transform: translateX(1.2%);
  }
}

.spot {
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  border: 1px solid rgb(167 139 250 / 0.13);
  background: rgb(255 255 255 / 0.015);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: calc(var(--dot) * 0.46);
  font-weight: 650;
  line-height: 1;
  color: #fff;
  user-select: none;
}
/* Organizations are rounded squares, people circles. */
.land {
  width: calc(var(--dot) * 0.3);
  height: calc(var(--dot) * 0.3);
  border-radius: 50%;
  background: rgb(167 139 250 / 0.3);
}
.squares .spot,
.spot.org {
  border-radius: 24%;
}
.spot.on {
  border: 0;
  background: linear-gradient(135deg, hsl(var(--h) 80% 72%), hsl(calc(var(--h) + 18) 60% 44%));
  box-shadow: 0 0 calc(var(--dot) * 0.5) hsl(var(--h) 85% 62% / 0.35);
  cursor: default;
}
.spot.lit {
  animation: light 1.2s ease-out backwards;
  animation-delay: var(--delay, 0s);
}
@keyframes light {
  from {
    opacity: 0;
    transform: scale(0.4);
    box-shadow: 0 0 0 hsl(var(--h) 90% 62% / 0);
  }
  60% {
    box-shadow: 0 0 calc(var(--dot) * 1.6) hsl(var(--h) 90% 70% / 0.9);
  }
}
/* A spot that leaves the wall fades out where it was. */
.spot.out {
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.6s ease-in,
    transform 0.6s ease-in;
}
.spot.me {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
/* A person's generated avatar (avatars.js); monograms keep the gradient and show two letters. */
.spot.art {
  background: var(--image) center / cover;
}
.spot.pair {
  font-size: calc(var(--dot) * 0.36);
}
/* An organization's own logo sits on a light tile: most logos are made for white. */
.spot.logo {
  background: var(--image) center / 78% no-repeat #f4f2fb;
  box-shadow: 0 0 calc(var(--dot) * 0.4) rgb(167 139 250 / 0.3);
}

/* Below the hero's text: a label never covers the headline. */
.tag {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, calc(-100% - 10px));
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(17 17 25 / 0.9);
  border: 1px solid rgb(167 139 250 / 0.35);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  color: var(--bright);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.tag.shown {
  opacity: 1;
}
/* One the visitor points at may cover it. */
.tag.hover {
  z-index: 3;
}
.tag small {
  font-weight: 500;
  color: var(--faint);
  margin-left: 6px;
  font-size: inherit;
}

/* Manifesto */

main > section:not(.hero) {
  margin-top: 160px;
}

.manifesto ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}
.manifesto li,
.closing {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 22em;
}
.manifesto li {
  color: var(--bright);
}
.story {
  margin-top: 24px;
  max-width: 36em;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
}
.closing {
  margin-top: 32px;
  display: inline-block;
}
.js .manifesto li,
.js .story,
.js .closing {
  opacity: 0.12;
  transform: translateY(14px);
  transition:
    opacity 1s ease-out,
    transform 1s ease-out;
}
.js .manifesto .in {
  opacity: 1;
  transform: none;
}

/* Founding generations, and reveals: the story's chapters */

.generations,
.reveals {
  padding: 36px 44px;
}
.generations .eyebrow,
.reveals .eyebrow {
  margin-bottom: 12px;
}
.generations h2,
.reveals h2,
.orgs h1,
.orgs-teaser h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--bright);
  margin-bottom: 12px;
}

/* People or organizations. */
.switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.switch button {
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.switch button[aria-selected='true'] {
  background: rgb(167 139 250 / 0.16);
  color: var(--bright);
}
/* Past generations are taken; the current one shows its places left in violet. */
.tiers {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.tier .name {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--bright);
}
.tier .benefit {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 14px;
  font-weight: 500;
  color: var(--violet);
}
.tier .range {
  font-size: 14px;
  color: var(--faint);
}
.tier.current .benefit {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgb(124 92 255 / 0.18);
  font-weight: 600;
  color: #c4b5fd;
}
.tier.full .name,
.tier.full .benefit {
  color: var(--faint);
}
.tier .meter {
  grid-column: 1 / -1;
  margin-top: 12px;
}
/* How much of a generation is taken. */
.meter {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.08);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  box-shadow: 0 0 12px rgb(124 92 255 / 0.8);
}
.tier .left {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--muted);
}
/* People's generations as cards, each with its pack: the current one lit up, full ones dimmed. */
.tiers.packs {
  display: grid;
  gap: 12px;
}
.pack {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.pack.current {
  border-color: rgb(124 92 255 / 0.55);
  background: rgb(124 92 255 / 0.1);
}
.pack.full {
  opacity: 0.55;
}
.pack .icon {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: start;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgb(124 92 255 / 0.15);
}
.pack .icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pack .name {
  grid-row: 1;
  font-size: 17px;
  font-weight: 650;
  color: var(--bright);
}
.pack .pill {
  grid-column: 3;
  grid-row: 1;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--bright);
}
.pack .range {
  grid-column: 2 / -1;
  grid-row: 2;
  font-size: 13px;
  color: var(--faint);
}
.pack .contents {
  grid-column: 2 / -1;
  grid-row: 3;
  font-size: 15px;
  color: #c4b5fd;
}
.pack .meter {
  grid-column: 2 / -1;
  grid-row: 4;
  margin-top: 12px;
}
.pack .left {
  grid-column: 2 / -1;
  grid-row: 5;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.pack-note {
  margin: 16px 0 24px;
  font-size: 13px;
  color: var(--faint);
}
/* Back up to the form, below the generations. */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.light {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bright);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  transition: background 0.2s;
}
.light:hover {
  background: #fff;
  color: var(--bg);
}
/* What the organizations' current generation offers, on their cards. */
.promise {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--violet);
}

.stages {
  list-style: none;
  padding: 0;
  margin-top: 28px;
}
.stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.stage .head {
  display: grid;
  gap: 4px;
}
.stage .no {
  font-size: 14px;
  font-weight: 600;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.stage .title {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--bright);
}
/* Only the next chapter stands out among the locked ones. */
.stage.locked:not(.next) .title {
  color: var(--muted);
}
.stage .status {
  font-size: 14px;
  font-weight: 500;
  color: var(--faint);
}
.stage > svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--faint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage.open .status {
  color: var(--violet);
}
.stage.open > svg {
  stroke: var(--violet);
}
.stage .body {
  grid-column: 2 / -1;
  margin-top: 20px;
  color: var(--muted);
  max-width: 40em;
}
/* After the chapters: back up to the form. */
.next-up {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.02);
}
.next-up h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  color: var(--bright);
}
.next-up p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

/* Founding organizations: their page, and the teaser on the home page */

.orgs,
.orgs-teaser,
.generations,
.reveals {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0) 55%),
    radial-gradient(500px 300px at 85% 30%, rgb(75 54 201 / 0.18), transparent 70%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
}
/* Their page: the heading and the wall across the card, then the offer beside the form. */
.orgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
  align-items: start;
  padding: 56px;
}
.orgs-text,
.orgs-wall {
  grid-column: 1 / -1;
}
.orgs-offer .eyebrow {
  margin-bottom: 12px;
}
.orgs-offer h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bright);
  margin-bottom: 12px;
}
.joining {
  margin-top: 24px;
  font-size: 17px;
  color: var(--bright);
}
.joining strong {
  color: #c4b5fd;
}
.orgs-offer .secured {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: #c4b5fd;
}
.orgs-offer .fine {
  margin: 14px 0 24px;
}
.orgs-text .primary {
  margin-top: 28px;
}
/* Where that button scrolls to, with some room above. */
.orgs-offer {
  scroll-margin-top: 32px;
}
.no-strings {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
}
.no-strings strong {
  color: var(--bright);
}
main > .orgs:first-child {
  margin-top: 40px;
}
.orgs h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.orgs-teaser {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  padding: 36px 44px;
}
.orgs-teaser .eyebrow {
  margin-bottom: 12px;
}
.orgs-teaser h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 6px;
}
.orgs-teaser .sub {
  font-size: 15px;
}
.orgs-teaser .count {
  color: var(--bright);
  font-weight: 700;
}
/* Last before the footer: where Wridder comes from. The flag is drawn, as Windows shows flag emoji as letters. */
.made-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 88px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.made-in svg {
  width: 21px;
  height: 13px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.15);
}
/* The newest organizations, overlapping like an avatar stack. */
.org-row {
  display: flex;
}
.org-row .spot {
  --dot: 44px;
  margin-left: -10px;
  box-shadow: 0 0 0 3px var(--surface);
}
.org-row .spot:first-child {
  margin-left: 0;
}


.stacked {
  margin: 0;
  max-width: none;
  display: grid;
  gap: 14px;
}
.stacked .labelled {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.stacked .labelled em {
  font-style: normal;
  color: var(--faint);
}
.stacked .labelled .fine {
  margin-top: 0;
  font-weight: 400;
}

.logo-pick {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo-preview .spot {
  --dot: 56px;
}
.logo-pick .fine {
  margin-top: 8px;
}
.ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 10px;
  color: var(--bright);
  font-weight: 600;
  cursor: pointer;
}
.ghost:hover {
  border-color: rgb(255 255 255 / 0.32);
}
.ghost:focus-within {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.logo-remove {
  margin-left: 14px;
  font-size: 14px;
}
.stacked .hint {
  margin-top: -8px;
  min-height: 0;
}
.stacked .hint:empty {
  display: none;
}
.stacked .primary {
  justify-self: start;
}

.orgs-wall {
  text-align: center;
}
.org-count {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}
.org-count .count {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bright);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}
.orgs-wall .wall {
  position: relative;
}

/* The page that confirms or leaves, and the legal pages */

.page {
  width: min(640px, 100% - 2 * var(--gutter));
  margin: 72px auto 0;
}
.card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0) 55%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
  text-align: center;
}
.card h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 16px;
}
.card p {
  color: var(--muted);
  margin-bottom: 10px;
}
.card .primary {
  margin-top: 20px;
}
/* After confirming: the founding number and the generation. */
.founding {
  display: grid;
  gap: 20px;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(124 92 255 / 0.06);
}
.founding dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.founding dd {
  margin: 4px 0 0;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bright);
}
.founding .number {
  font-size: clamp(3rem, 10vw, 4.5rem);
}
/* The founder's card, and the ways to share it. */
.share {
  margin: 28px 0 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.share img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.card .share-actions .primary {
  width: auto;
  height: 40px;
  margin: 0;
  padding: 0 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.chip:hover {
  color: var(--bright);
  border-color: rgb(167 139 250 / 0.5);
}
.spot-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
}
/* Leaving asks for the email address first. */
.card .leave {
  max-width: 360px;
  margin: 24px auto 0;
}
.card .leave .hint {
  margin-bottom: 0;
}
.quiet-button {
  height: 48px;
  padding: 0 22px;
  margin-top: 20px;
  border-radius: 10px;
  border: 1px solid rgb(242 84 91 / 0.5);
  background: none;
  color: #ffb3b6;
  font-weight: 600;
}
.quiet-button:hover {
  background: rgb(242 84 91 / 0.1);
}

.legal h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 1.15rem;
  color: var(--bright);
  margin: 36px 0 8px;
}
.legal p,
.legal li {
  color: var(--muted);
  margin-bottom: 10px;
}

/* Phones */

@media (max-width: 900px) {
  .orgs {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 48px;
  }
  .orgs-teaser {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }
  .generations,
  .reveals {
    padding: 28px 24px;
  }
}

@media (max-width: 720px) {
  :root {
    --wall-h: 210px;
    --gutter: 16px;
  }
  .wide {
    display: none;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .primary {
    width: 100%;
  }
  .stacked .primary {
    justify-self: stretch;
  }
  main > section:not(.hero) {
    margin-top: 112px;
  }
  .card {
    padding: 28px 20px;
  }
  .bottom {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
