@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-full-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
}

:root {
  --elmbed-forest: #2F4A3A;
  --elmbed-oat: #F3EDE3;
  --elmbed-honey: #E3C58E;
  --elmbed-deep-honey: #B8893A;
  --elmbed-font-display: "Fraunces", Georgia, serif;
  --elmbed-font-body: "Manrope", system-ui, sans-serif;
  --line: rgba(243, 237, 227, 0.22);
  --muted: rgba(243, 237, 227, 0.78);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--elmbed-forest);
  color: var(--elmbed-oat);
  font: 18px/1.65 var(--elmbed-font-body);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--elmbed-honey); text-underline-offset: 3px; }

.display, h1, h2 {
  font-family: var(--elmbed-font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}

header.top { padding: 28px 20px 0; }
.logo { display: inline-block; padding: 8px 0; }
.logo img { display: block; width: 140px; height: auto; }

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 20px 56px;
}
.wrap { width: 100%; max-width: 600px; margin: 0 auto; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--elmbed-honey);
}
h1 {
  font-size: clamp(38px, 9vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.lede { margin: 0 0 8px; color: var(--muted); max-width: 44ch; }
.facts { list-style: none; padding: 0; margin: 20px 0 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  font-size: 15px; font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

form { display: flex; gap: 10px; flex-wrap: wrap; }
input[type=email] {
  flex: 1 1 240px; min-width: 0;
  font: inherit; font-size: 17px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(243, 237, 227, 0.08);
  color: var(--elmbed-oat);
}
input[type=email]::placeholder { color: rgba(243, 237, 227, 0.55); }
input[type=email]:focus { outline: 2px solid var(--elmbed-honey); outline-offset: 1px; border-color: transparent; }
button {
  flex: 0 0 auto;
  font: inherit; font-size: 17px; font-weight: 700;
  padding: 14px 24px;
  border: 0; border-radius: 10px;
  background: var(--elmbed-honey); color: var(--elmbed-forest);
  cursor: pointer;
}
button:hover { background: #ebd3a6; }
button:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.6em; margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.msg.ok { color: var(--elmbed-honey); font-weight: 700; }
.msg.err { color: #ffb4a3; }
.fine { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

footer {
  padding: 24px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Legal pages */
.legal main { align-items: flex-start; }
.legal h1 { font-size: clamp(32px, 7vw, 44px); }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.missing { background: #ffcc2e; color: #2F4A3A; padding: 0 6px; border-radius: 4px; font-weight: 700; }

@media (max-width: 480px) {
  button { width: 100%; }
  .logo img { width: 120px; }
}
