/*
  markeTHINGSplace -- pre-launch landing page
  Navy / mint identity approved 2026-11-04, superseding the main repo's
  earlier Spotlight (red-orange) tokens documented in
  docs/brand/SPOTLIGHT.md. See README.md for the full note.
*/

:root {
  --navy: #142b4d;
  --muted: #55647b;
  --line: #dce6e2;
  --surface: #eff8f3;
  --mint: #29de9e;      /* bright mint -- icon fills, button fills, decoration */
  --mint-dark: #14b583;  /* hover state on mint fills */
  --mint-text: #0b7a5c;  /* accessible mint for text on light backgrounds */
  --white: #ffffff;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--mint-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Focus visibility on every interactive element. */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* ---------- Wordmark ----------
   The wordmark is the approved logo image (assets/logo/mark.*), used as-is --
   not reproduced with CSS/text. See README for provenance and crop notes. */
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand-mark {
  display: block;
  height: 36px;
  width: auto;
}
.wordmark.small .brand-mark {
  height: 24px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.eyebrow-pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  padding: 72px 20px 64px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.tagline-accent {
  color: var(--mint-text);
}
.subhead {
  margin: 0 auto;
  max-width: 44ch;
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted);
}

/* ---------- Explainer ---------- */
.explainer {
  padding: 56px 20px;
}
.explainer .wrap {
  max-width: 680px;
}
h2 {
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 16px;
}
.explainer p {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 16px;
}

/* ---------- Invite cards ---------- */
.invite-grid {
  padding: 8px 20px 64px;
  background: var(--white);
}
.grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .grid-two {
    grid-template-columns: 1fr 1fr;
  }
}
.invite-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--white);
}
.invite-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.invite-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.preview-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.preview-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--navy);
  background: var(--surface);
}
.preview-form input::placeholder {
  color: var(--muted);
}
.preview-form input:disabled,
.preview-form button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.preview-form button {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background: var(--mint);
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}
.preview-form button:not(:disabled):hover {
  background: var(--mint-dark);
}
/* Honeypot: off-screen for humans, still present in the DOM for bots that
   fill every field without checking visibility. Not display:none/visibility:
   hidden, since some scrapers skip those. Hidden from assistive tech and the
   tab order via aria-hidden/tabindex, same as a bot would never need either. */
.preview-form input.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-status {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
}
.form-status.success {
  color: var(--mint-text);
}
.form-status.error {
  color: #b3261e;
}
.form-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-inner {
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-link.disabled {
  color: var(--muted);
  font-size: 13px;
  cursor: default;
}
.footer-link.disabled em {
  font-style: normal;
  opacity: 0.8;
}
.footer-fineprint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  max-width: 60ch;
}
