/* Shared by the static pages. Same tokens as design/screens and docs/DESIGN.md. */
:root {
  --bg: #FFFFFF;
  --ink: #0B0B0D;
  --muted: #6E6E73;
  --surface: #F5F5F7;
  --line: #E8E8ED;
  --live: #FF3D8B;
  --orange: #FF7A1A;
  --blue: #2F6BFF;
  --dot-off: #E5E5EA;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

/* A phone-width column, centred. */
main {
  max-width: 390px;
  margin: 0 auto;
  padding: 17px 20px 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}

.brand::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 6px;
  background: var(--live);
  transform: translateY(-7px);
}

h1 {
  margin: 28px 0 0;
  font-size: 38px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 8px 0 0;
}

.lede {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.note,
.card {
  margin-top: 28px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
}

.note p:first-child { margin-top: 0; }

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

/* ---- Invite page and landing page ---- */

[hidden] { display: none !important; }

/* A page that pushes its footer links to the bottom of the screen. */
.screen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.screen > .brand { align-self: flex-start; }

.muted { color: var(--muted); }

.finding {
  margin: 28px 0 0;
  color: var(--muted);
}

.card > :first-child { margin-top: 0; }

.card h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.card .meta {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.card .status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
}

.card .sub {
  margin-top: 8px;
  color: var(--muted);
}

.livedot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--live);
  flex-shrink: 0;
}

/* The opener, as a mini "backrow asks" block. */
.opener {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.asks {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.asks::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--live);
}

.q {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.opts {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.opts li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 22px;
  background: var(--bg);
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-radius: 16px;
  background: var(--bg);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.chip::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: var(--dot-off);
  flex-shrink: 0;
}

.chip.orange::before { background: var(--orange); }
.chip.blue::before { background: var(--blue); }

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  margin-top: 12px;
  padding: 0 24px;
  border-radius: 29px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.pill-secondary {
  height: 50px;
  border-radius: 25px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
}

button.pill {
  width: 100%;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.pill:active { opacity: 0.8; }

.pill:focus-visible,
.foot a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.after {
  margin-top: 16px;
}

.foot {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 32px;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--muted);
}
