/* Lanyard & Ledger — navy / sage / cream */
:root {
  --navy: #1c2026;
  --navy-mid: #2a3340;
  --sage: #8a9a7b;
  --sage-dark: #6f7f62;
  --cream: #f5f0e6;
  --cream-deep: #ece6da;
  --gold: #c49a52;
  --text: #1c2026;
  --muted: #5a6358;
  --focus: #6f7f62;
  --radius: 10px;
  --max: 40rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
}

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

a {
  color: var(--sage-dark);
  text-underline-offset: 0.15em;
}

a:hover { color: var(--navy); }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--navy);
  color: var(--cream);
  padding: 1.25rem 0 1.5rem;
  text-align: center;
}

.logo {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.tagline {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  color: var(--cream-deep);
  opacity: 0.92;
}

main { padding: 1.75rem 0 2.5rem; }

.card {
  background: #fffefb;
  border: 1px solid #d5d9cc;
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 0 rgba(28, 32, 38, 0.04);
}

.card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.card p:last-child { margin-bottom: 0; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: #e4e8dc;
  border: 1px solid #b7c2aa;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.65rem;
}

.signup {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.signup label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.signup input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #b8b6ad;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--text);
}

.signup input[type="email"]:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  background: var(--cream);
}

.signup button {
  appearance: none;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 650;
  color: var(--cream);
  background: var(--navy);
  cursor: not-allowed;
  opacity: 0.88;
}

.signup button:hover { background: var(--navy-mid); }

.hint {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.shop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--sage);
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
  pointer-events: none;
  opacity: 0.9;
}

.shop-link:hover { background: var(--sage-dark); color: var(--cream); }

.contact a {
  font-weight: 600;
  word-break: break-all;
}

.site-footer {
  border-top: 1px solid #d8dccf;
  padding: 1.25rem 0 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  background: #f1ece3;
}

.site-footer p { margin: 0; }

@media (min-width: 640px) {
  .site-header { padding: 2rem 0 2.25rem; }
  .logo { width: 6.5rem; height: 6.5rem; }
  .card { padding: 1.5rem 1.5rem; }
  .signup {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }
  .signup .field { flex: 1 1 14rem; }
  .signup button { flex: 0 0 auto; min-width: 8.5rem; }
}
