:root {
  --ink: #15302f;
  --soft: #4b6160;
  --line: #d5dedb;
  --paper: #f7f8f5;
  --white: #ffffff;
  --lake: #0e6a7c;
  --lake-dark: #0a5261;
  --error: #a4311f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.page {
  max-width: 62rem;
  min-height: 100vh;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  gap: 2.5rem;
  align-content: center;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0.5rem 0 1.5rem;
  color: var(--lake);
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 600;
}

.intro p:last-child { margin: 0; max-width: 30rem; color: var(--soft); }

.panel {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

h2 { margin: 0 0 0.25rem; font-size: 1.35rem; line-height: 1.25; }

.panel > p { margin: 0 0 1.25rem; }
.panel > p:last-child { margin-bottom: 0; }

.field { margin-bottom: 1rem; }

label { display: block; margin-bottom: 0.25rem; font-weight: 600; font-size: 0.95rem; }

input {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #8a9c99;
  border-radius: 0.375rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

.leave-blank { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cf-turnstile { min-height: 65px; margin: 1.25rem 0 1rem; }

button {
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--lake);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:hover { background: var(--lake-dark); }

.error { margin: 0.25rem 0 0.75rem; color: var(--error); font-size: 0.95rem; }

.panel .note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

a { color: var(--lake-dark); }

@media (min-width: 52rem) {
  .page { grid-template-columns: 1fr 25rem; gap: 4rem; align-items: center; }
}
