/* Raconteur Road — coming-soon page.
   Literary-press register: paper-white, ink-black, one muted accent.
   One serif (Newsreader), one mono (JetBrains Mono). Self-hosted. */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Newsreader-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Newsreader-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/JetBrainsMono-Regular.woff2') format('woff2');
}

:root {
  --paper: #fafaf8;
  --ink: #1a1a1a;
  --rule: #d8d3c8;
  --accent: #6b5d4f;
  --quiet: #4a4a4a;
}

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

html { font-size: 16px; }

body {
  margin: 0;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture { display: block; max-width: 100%; height: auto; }

main {
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
  max-width: 760px;
}

/* Wordmark — serif, moderate, not huge. */
.wordmark {
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  margin: 0 0 2.5rem;
  text-align: center;
}

/* Hero photograph. */
.hero {
  margin: 0 0 2.5rem;
}

/* The passage. Italic, serif, generous line-height. Reads as prose in a book,
   not a marketing pull-quote. No quotation marks. */
.passage {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.75;
  margin: 0 auto 4rem;
  max-width: 36rem;
  text-align: left;
  quotes: none;
}
.passage::before, .passage::after { content: ""; }

/* Signup. Thin rule above; underline-only input + button. */
.signup {
  border-top: 1px solid var(--rule);
  padding-top: 2.5rem;
  max-width: 36rem;
  margin: 0 auto;
}
.signup label {
  display: block;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}
.form-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.form-row input,
.form-row button {
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  outline: none;
  color: inherit;
  border-radius: 0;
  padding: 0.5rem 0;
  -webkit-appearance: none;
  appearance: none;
}
.form-row input {
  flex: 1;
  min-width: 0;
}
.form-row input::placeholder { color: #b8b3a8; }
.form-row input:focus {
  border-bottom-color: var(--accent);
}
.form-row button {
  cursor: pointer;
  padding: 0.5rem 1rem;
  flex-shrink: 0;
}
.form-row button:hover,
.form-row button:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.form-message {
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.85rem;
  margin: 1.25rem 0 0;
  min-height: 1.5em;
  color: var(--accent);
  font-style: normal;
}

/* The note — mono, quiet, the only place mono appears in flow text. */
.note {
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.65;
  margin: 3rem 0 2rem;
  color: var(--quiet);
}

.links {
  font-size: 1rem;
  margin: 0;
}
.links a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.links a:hover,
.links a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.links .sep {
  margin: 0 0.5rem;
  color: #b8b3a8;
}

/* Mobile. */
@media (max-width: 600px) {
  main { padding: 2.25rem 1.25rem 3rem; }
  .wordmark { font-size: 1.3rem; margin-bottom: 1.75rem; }
  .hero { margin-bottom: 1.75rem; }
  .passage { font-size: 1.05rem; line-height: 1.7; margin-bottom: 3rem; }
  .signup { padding-top: 2rem; }
  .signup label { font-size: 1rem; }
  .form-row { flex-direction: column; gap: 0.5rem; }
  .form-row button { align-self: flex-start; padding: 0.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
