/* Marevai — Coming Soon. Self-contained: no dependency on the main app's
   design system, though the palette and type are the same (see
   ../../docs/blueprint.md Sections 02–03) so the two never look related. */

@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/cormorant-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/archivo-variable.woff2') format('woff2');
}

:root {
  --ivory: #FAF7EF;
  --ink: #1D1912;
  --ink-muted: #75644E;
  --gold: #CBA05C;
  --gold-ink: #8A6428;
  --line: rgba(23, 19, 12, 0.18);
  --danger: #9B4A3A;
  --good: #4C6E51;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ivory: #16130D;
    --ink: #F3EEE0;
    --ink-muted: #C4B393;
    --gold: #D8AF6A;
    --gold-ink: #E8C583;
    --line: rgba(247, 242, 229, 0.2);
    --danger: #D08267;
    --good: #8CB392;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Archivo', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  line-height: 1.6;
}

.page {
  max-width: 460px;
  text-align: center;
}

.monogram-plate {
  display: inline-block;
  background: #FAF7EF;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.monogram { display: block; width: 84px; height: auto; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}

.wordmark {
  display: block; /* it's a <span> in the markup — without this it sits inline next to the monogram plate instead of stacking below it */
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  letter-spacing: 0.06em;
  margin: 0 0 1.75rem;
}

h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 1.5rem + 2vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
}

p { margin: 0 0 1.75rem; color: var(--ink-muted); font-size: 1rem; }

form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem; }

input[type="email"] {
  flex: 1 1 220px;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
input[type="email"]:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 1px; }

button {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9em 1.6em;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  cursor: pointer;
}
button:hover { background: var(--gold-ink); border-color: var(--gold-ink); }

.notice { font-size: 0.88rem; margin-bottom: 1.25rem; }
.notice.ok { color: var(--good); }
.notice.error { color: var(--danger); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer { margin-top: 2.5rem; font-size: 0.75rem; color: var(--ink-muted); letter-spacing: 0.03em; }
