/* The home page, on top of /site.css: the wordmark across the page, a heavy rule,
   and the waitlist form under the statement. */
.hero { padding-top: clamp(24px, 4vw, 56px); }
/* Sized so TINKER and CLICK fill the container's width exactly, as on the site's own wordmark. */
.hero-word {
  display: flex; align-items: baseline; gap: 0.06em; white-space: nowrap; line-height: 0.84;
  font-size: calc((min(100vw, var(--container-max)) - 2 * var(--gutter) - 16px) / 3.34);
}
.hero-word .text-accent { font-size: 0.4em; letter-spacing: 0.02em; }
.hero .rule { margin-top: clamp(12px, 1.6vw, 24px); }
.hero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px var(--gutter); padding-top: clamp(20px, 3vw, 40px); }
.hero-meta { font-size: clamp(0.9375rem, 0.95vw, 1.25rem); line-height: 1.45; }
.hero-statement { grid-column: 2 / span 2; }
.hero-title { font-size: clamp(1.75rem, 2.5vw, 3.75rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.hero-lede { margin-top: clamp(16px, 1.8vh, 24px); max-width: 52ch; font-size: clamp(1rem, 1.1vw, 1.35rem); line-height: 1.6; color: var(--ink-2); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; } .hero-statement { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 560px) { .hero-grid { grid-template-columns: 1fr; } .hero-meta { display: none; } }

/* The waitlist: a big underlined field and an ink pill, as in the site's drawer. */
.signup { margin-top: clamp(36px, 5vh, 56px); max-width: 640px; scroll-margin-top: calc(var(--header-h) + 24px); }
.signup .eyebrow { margin-bottom: 12px; }
.composer {
  display: flex; align-items: center; gap: clamp(12px, 1.2vw, 20px);
  padding-bottom: clamp(10px, 1.2vh, 16px); border-bottom: 2px solid var(--ink); transition: border-color 0.25s;
}
.composer:focus-within { border-color: var(--accent); }
.composer input {
  flex: 1; min-width: 0; padding: 6px 0; background: transparent; border: 0; outline: 0;
  font-size: clamp(1.25rem, 1.8vw, 2rem); letter-spacing: -0.02em;
}
.composer input::placeholder { color: var(--muted); }
.composer .btn { height: clamp(44px, 3.2vw, 52px); }

.status { min-height: 1.5em; margin-top: 14px; font-size: 0.9375rem; color: var(--ink-2); }
.status.error { color: var(--danger); }
.status.ok { display: flex; align-items: center; color: var(--ink); font-size: 1.125rem; font-weight: 500; }
.status.ok::before {
  content: "✓"; display: inline-grid; place-items: center; flex: none; width: 1.5em; height: 1.5em; margin-right: 10px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.8em;
}
.signup.done .composer, .signup.done .fine { display: none; }

.fine { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
.fine a:hover { color: var(--accent); }

@media (max-width: 520px) {
  .composer { flex-direction: column; align-items: stretch; border-bottom: 0; padding: 0; }
  .composer input { border-bottom: 2px solid var(--ink); margin-bottom: 12px; }
  .composer:focus-within input { border-color: var(--accent); }
}
