/* public landing page (landing.html). hand-written: the app's Tailwind build
   does not scan this page, and the page must not depend on the app bundle */
:root {
  color-scheme: dark;
  --bg: #0c0a09;
  --panel: #1c1917;
  --line: #2f2a26;
  --text: #fafaf9;
  --muted: #a8a29e;
  --accent: #bef264;
  --accent-ink: #1a2e05;
  --error: #fca5a5;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.shell {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 0.6rem;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.08);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.button.ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 500;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 3rem 4rem;
}

.pitch {
  display: grid;
  gap: 1.5rem;
}

h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 650;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 620;
  text-wrap: balance;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}

.lede {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted);
  text-wrap: pretty;
}

.waitlist {
  display: grid;
  gap: 0.6rem;
  max-width: 36rem;
  scroll-margin-top: 2rem;
}

.waitlist form {
  display: grid;
  gap: 0.75rem;
}

.waitlist form[hidden] {
  display: none;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--panel);
  color: var(--text);
  font: inherit;
}

input[type="email"]::placeholder {
  color: #78716c;
}

.extra {
  display: grid;
  gap: 0.75rem;
}

.extra[hidden] {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.consent input {
  margin-top: 0.3rem;
  accent-color: var(--accent);
}

.status {
  min-height: 1.4rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.status[data-tone="error"] {
  color: var(--error);
}

.joined {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--panel);
  font-size: 0.875rem;
}

.note {
  font-size: 0.875rem;
  color: var(--muted);
}

.preview {
  display: grid;
  gap: 0.75rem;
}

.card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--panel);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.live::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.who {
  font-weight: 600;
}

.steps {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  color: var(--muted);
}

.steps li:last-child {
  color: var(--text);
}

.summary p {
  font-size: 0.875rem;
}

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

.band > .shell {
  padding-block: 4rem;
}

.band.alt {
  background: #110f0d;
}

.band h2 {
  max-width: 40rem;
  margin-top: 0.75rem;
}

.features {
  display: grid;
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
}

.features li {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
}

.features p,
.split p {
  font-size: 0.9375rem;
  color: var(--muted);
  text-wrap: pretty;
}

.split {
  display: grid;
  gap: 2.5rem;
}

.split > div {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.split h2 {
  margin-top: 0;
}

.tag {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text);
  white-space: nowrap;
}

footer.band > .foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.foot nav {
  display: flex;
  gap: 1rem;
}

.foot nav a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--text);
}

@media (min-width: 40rem) {
  .row {
    flex-direction: row;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary {
    margin-left: 2.5rem;
  }
}

@media (min-width: 64rem) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-block: 5rem 6rem;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }
}
