:root {
  color: #1c2024;
  background: #fcfcfc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.hero {
  width: min(100%, 520px);
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #1c2024;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 11vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.teaser {
  margin: 32px 0 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

.byline {
  margin: 6px 0 36px;
  color: #687076;
  font-size: 0.9rem;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

form {
  text-align: left;
}

form > label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 650;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input,
button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
}

input {
  min-width: 0;
  padding: 0 15px;
  color: #1c2024;
  background: #f5f5f5;
  border-color: #e8e8e8;
}

input::placeholder {
  color: #889096;
}

button {
  padding: 0 20px;
  color: #fff;
  background: #1c2024;
  cursor: pointer;
  font-weight: 700;
}

button:hover {
  background: #30353a;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #1c2024;
  outline-offset: 3px;
}

.status {
  min-height: 24px;
  margin: 10px 0 0;
  color: #60646c;
  font-size: 0.875rem;
}

.status[data-state="success"] {
  color: #18794e;
}

.status[data-state="error"] {
  color: #b42318;
}

.privacy-link {
  display: inline-block;
  margin-top: 44px;
  color: #687076;
  font-size: 0.825rem;
}

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

.privacy {
  width: min(100%, 620px);
}

.privacy h1 {
  margin: 36px 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

.privacy p {
  color: #3f4448;
  font-size: 1rem;
  line-height: 1.7;
}

.back-link {
  color: #687076;
  font-size: 0.9rem;
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  button {
    transition: background-color 150ms ease, opacity 150ms ease;
  }
}
