/* Brand slot (docs/design/web-landing.md, section 3): the owner's colours and font replace these values only.
   scripts/check_landing.sh computes the contrast of these pairs and fails below 4.5:1 (text) or 3:1 (focus ring). */
:root {
  --brand: #8a3a0e;
  --bg: #fbf8f4;
  --text: #1f1a17;
  --accent: #1a5fb4;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); line-height: 1.5; color: var(--text); background: var(--bg); }
main, header, footer { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.notify { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.5rem; font-weight: 700; }

.wordmark { display: inline-flex; align-items: center; min-height: 44px; margin: 0.75rem 0; font-size: 1.5rem; font-weight: 800; color: var(--brand); text-decoration: none; }
.wordmark img { height: 2rem; width: auto; }

.hero { padding: 2rem 0 1.5rem; }
h1 { margin: 0.5rem 0; font-size: 2.25rem; line-height: 1.15; color: var(--brand); }
h2 { margin: 2rem 0 0.75rem; font-size: 1.5rem; line-height: 1.2; }
h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.label { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--brand); color: var(--bg); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.lead { font-size: 1.25rem; margin: 0.75rem 0; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 1.25rem; border-radius: 8px; background: var(--brand); color: var(--bg); font-weight: 700; text-decoration: none; }

ul.points { padding-left: 1.25rem; }
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.cards li { padding: 1rem; border: 1px solid var(--text); border-radius: 8px; }
.cards p { margin: 0; }
.soon { margin: 2rem 0; padding: 1.25rem; border-left: 6px solid var(--brand); }

footer { padding: 1.5rem 1.25rem 2.5rem; border-top: 1px solid var(--text); margin-top: 2rem; }
footer p { margin: 0.25rem 0; }
footer a { display: inline-block; padding: 0.6rem 0; min-height: 44px; }

/* Sign-up form. The honeypot is off-screen rather than display:none so naive bots still fill it; it is
   aria-hidden and tabindex=-1 in the HTML, so people and screen readers never reach it. */
.signup form { max-width: 28rem; }
.signup label { display: block; margin-bottom: 0.25rem; font-weight: 700; }
.signup input[type="email"] { width: 100%; min-height: 44px; padding: 0 0.75rem; font: inherit; color: var(--text); background: #fff; border: 2px solid var(--text); border-radius: 8px; }
.check { display: flex; align-items: flex-start; gap: 0.75rem; }
.check input { flex: none; width: 24px; height: 24px; margin: 0.1rem 0 0; accent-color: var(--brand); }
.check label { margin: 0; font-weight: 400; }
.signup input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.signup .note { font-size: 0.875rem; }
button.button { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { padding: 0.75rem 1rem; border-left: 6px solid var(--brand); background: #fff; font-weight: 700; }
.prose { max-width: 42rem; padding-bottom: 1rem; }
.prose h1 { margin-top: 1.5rem; }

/* The 404 and sign-in pages are one centred message. */
.centered { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 1.25rem; }

@media (min-width: 720px) {
  h1 { font-size: 3rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
