/* Sterling Fox Antiques — coming-soon page.
   Brand palette (from the print materials): rust #B23E1F, navy #2A3247,
   cream #F2E9D6, warm white #FBF7EF. One deliberate light look; the
   full-color logo carries the page. */

:root {
  --cream: #f2e9d6;
  --warm-white: #fbf7ef;
  --navy: #2a3247;
  --rust: #b23e1f;
  --rust-hover: #96341a;
  --guarded: #b9a98c;   /* disabled button: quiet, clearly "not yet" */
  --success: #2f6b3a;
  --error: #a52a2a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--cream);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  display: flex;
  flex-direction: column;
}

.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
}

/* The logo scales with the viewport: as tall as half the screen allows,
   never wider than the phone it's on. */
.logo {
  max-height: 48svh;
  max-width: min(85vw, 32rem);
  width: auto;
  height: auto;
}

.lede {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw + 0.75rem, 1.75rem);
  max-width: 34ch;
  text-wrap: balance;
}

.sub {
  margin: 0;
  font-size: clamp(1rem, 1vw + 0.8rem, 1.2rem);
  font-style: italic;
  max-width: 44ch;
  text-wrap: balance;
}

.note {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  max-width: 44ch;
}

.note--success { color: var(--success); }
.note--error { color: var(--error); }

.signup {
  width: 100%;
  max-width: 46rem;
}

.signup__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup__input {
  min-height: 58px;
  padding: 0.9rem 1.1rem;
  font-size: 1.25rem;
  font-family: inherit;
  color: var(--navy);
  background: var(--warm-white);
  border: 1px solid #b7ab90;
  border-radius: 0.5rem;
}

.signup__input:focus-visible,
.signup__button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.signup__button {
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: bold;
  color: var(--warm-white);
  background: var(--rust);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.signup__button:hover { background: var(--rust-hover); }

.signup__button:disabled {
  background: var(--guarded);
  color: var(--cream);
  cursor: not-allowed;
}

.signup__hint {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #5a5342;
}

.shopfoot {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.shopfoot p { margin: 0.15rem 0; }

.shopfoot a {
  color: inherit;
  text-underline-offset: 3px;
}

/* Honeypot: parked far offscreen, invisible to people, present for bots. */
.cp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Side-by-side input + button once there's room. */
@media (min-width: 640px) {
  .signup__row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
  }
}
