/* Coming-soon page — self-contained by design.

   This directory is the Cloudflare Pages build output root, so nothing here
   may reference a file outside it. Tokens are copied from ../styles.css
   rather than imported, because ../ is not deployed. */

:root {
  --canvas: #ececea;
  --paper: #f7f7f4;
  --ink: #0e100f;
  --body-copy: #222222;
  --muted: #60635f;
  --rule: #c8cac6;
  --spot: #164d4c;
  --cta: rgb(204, 35, 42);
  --cta-hover: rgb(158, 25, 31);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

button,
input {
  border-radius: 0;
  font: inherit;
}

body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100vh;
  margin: 0;
  padding: clamp(1.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem);
  background: var(--canvas);
  color: var(--body-copy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: min(calc(100vw - clamp(2.5rem, 10vw, 6rem)), 34rem);
  min-width: 0;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--ink);
  background: var(--paper);
  text-align: center;
}

.masthead {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 7vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0.75rem 0 0;
  color: var(--spot);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
  font-style: italic;
}

.deck {
  max-width: 30rem;
  margin: 1.5rem auto 0;
}

.date {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
}

/* Reserves the form's height so the iframe does not shift the page as it
   loads. 3.35rem matches the landing page's input and button height. */
.signup {
  width: 100%;
  max-width: 100%;
  min-height: 3.35rem;
  margin-top: 1.75rem;
  overflow: hidden;
}

.signup iframe {
  display: block;
  max-width: 100%;
}

.note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

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

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