:root {
  color-scheme: light;
  background: #fff5d2;
  color: #66592e;
  font-family: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body { margin: 0; }

main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 350px);
  height: auto;
}

h1 {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.signup {
  width: min(100%, 520px);
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid #d9cda5;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #504b38;
}

.signup h2 { margin: 0; font-size: 1.125rem; font-weight: 600; }
.signup-intro { margin: 9px 0 23px; font-size: .925rem; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.form-field { min-width: 0; }
.form-field label { display: block; margin-bottom: 7px; font-size: .875rem; font-weight: 600; }
.form-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #a39772;
  border-radius: 5px;
  background: #fffcf0;
  color: #343a29;
  font: inherit;
}
.form-field input::placeholder { color: #736d59; }
.consent { display: flex; gap: 10px; margin: 18px 0; text-align: left; font-size: .8rem; line-height: 1.6; cursor: pointer; }
.consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #415338; }
button {
  width: 100%;
  min-height: 50px;
  border: 1px solid #415338;
  border-radius: 5px;
  padding: 12px 18px;
  background: #415338;
  color: #fffdf3;
  font: 600 .95rem system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}
button:hover { background: #33432b; }
button:disabled { opacity: .7; cursor: wait; }
:focus-visible { outline: 3px solid #415338; outline-offset: 4px; }
.form-status { margin: 12px 0 0; font-size: .875rem; line-height: 1.6; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #922b22; }
.form-status[data-state="success"] { color: #334b29; }
.form-note { font-size: .8rem; line-height: 1.6; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.privacy { margin-top: 18px; font-size: .78rem; line-height: 1.7; }
.privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.privacy p { text-align: left; }
.privacy a { color: inherit; text-underline-offset: 3px; }
.response-page h1 { margin-top: 0; }
.response-page p, .response-page a { font: 1rem/1.7 system-ui, sans-serif; max-width: 520px; }
.response-page a { color: inherit; }

.launch-context {
  max-width: 520px;
  margin: 18px 0 0;
  color: #504b38;
  font: .925rem/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-wrap: pretty;
}
.context-block {
  width: min(100%, 520px);
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #d9cda5;
  color: #504b38;
  text-align: left;
  font: .875rem/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.context-block h2 { margin: 0 0 14px; font-size: 1rem; font-weight: 600; }
.context-block p { margin: 12px 0 0; }
.faq details { border-top: 1px solid #e3d8b7; }
.faq summary { padding: 14px 0; font-weight: 500; cursor: pointer; }
.faq details p { margin: 0 0 16px; }
.site-footer {
  width: min(calc(100% - 48px), 520px);
  margin: 0 auto;
  padding: 24px 0 32px;
  border-top: 1px solid #d9cda5;
  color: #504b38;
  text-align: center;
  font: .78rem/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.site-footer p { margin: 5px 0; }
.partner-showcase {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 34px;
  padding: 22px;
  border: 1px dashed #b9aa7d;
  border-radius: 5px;
  background: #fff9e6;
}
.partner-showcase-label {
  color: #736b50;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer .partner-showcase p {
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
}
.partner-showcase small { font-size: .72rem; line-height: 1.5; }
.site-footer h2 { margin: 0 0 10px; font-size: .95rem; font-weight: 600; }
.site-footer .partner-note { max-width: 480px; margin: 0 auto; font-size: .75rem; line-height: 1.75; }
.site-footer a { color: inherit; text-underline-offset: 3px; }
.site-footer .technology-credit { margin-top: 22px; }

@media (max-width: 520px) {
  main { padding: 32px 24px; }
  .logo { max-width: 280px; }
  h1 { margin-top: 26px; }
  .signup { margin-top: 26px; padding-top: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .desktop-break { display: none; }
}
