:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --ink: #1b1916;
  --muted: #3c362f;
  --line: #d7d0c4;
  --paper: #fffdf9;
  --focus: #0c4a3e;
}

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

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 1;
}

.skip:focus { transform: none; }

.wrap {
  width: min(40rem, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 1.5rem 3rem;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag {
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.15rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 500;
  font-size: clamp(2.05rem, 6vw, 3.3rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.subhead, .services {
  margin: 0;
  max-width: 38rem;
}

.subhead { margin-bottom: 0.85rem; }

.services { margin-bottom: 2rem; }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 650;
}

label, .label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 650;
}

.field { margin-bottom: 1rem; }

input[type="email"] {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.turnstile { min-height: 65px; }

button {
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:hover { background: #2e2a26; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.ready, .privacy {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy { margin-top: 0.4rem; }

.noscript {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}

footer.site {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

footer.site p { margin: 0; }

a { color: var(--focus); }

.result {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

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

@media (min-width: 720px) {
  .wrap { padding-block: 2.5rem 4rem; }
  .panel { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}