:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17211b;
  background: #f2f5f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(150deg, #f8faf6 0%, #e7eee7 100%);
}

main {
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
  padding-block: clamp(3rem, 10vw, 7rem);
}

section,
article {
  padding: clamp(1.5rem, 6vw, 3rem);
  border: 1px solid #c8d2ca;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 1rem 3rem rgb(22 42 30 / 8%);
}

h1 {
  margin: 0 0 1rem;
  color: #163b2a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p {
  font-size: 1rem;
  line-height: 1.65;
}

.eyebrow {
  margin-top: 0;
  color: #47715d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

form {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

label {
  font-weight: 700;
}

input[type="tel"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem;
  border: 1px solid #73887a;
  border-radius: 0.25rem;
  font: inherit;
}

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

.hint {
  margin: 0;
  color: #56655c;
  font-size: 0.875rem;
}

.consent {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-block: 1rem;
  font-size: 0.925rem;
  font-weight: 400;
  line-height: 1.55;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
}

a {
  color: #155d3d;
  text-underline-offset: 0.18em;
}

button {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.25rem;
  color: #ffffff;
  background: #174d35;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #103b28;
}

.error {
  padding: 0.75rem;
  border-left: 0.25rem solid #a33a2b;
  color: #70251b;
  background: #fff3f0;
}

.notice {
  border-top: 0.25rem solid #2f7654;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
