:root {
  --paper: #fffefd;
  --ink: #302f2d;
  --red: #a3312b;
  --muted: #68645f;
  --line: #e7e3df;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #f3dcd8; color: #58201d; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, input { font: inherit; }
a, button, input { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--red); }
input { caret-color: var(--red); }
.skip-link {
  position: absolute;
  left: 18px;
  top: 10px;
  padding: 9px 15px;
  background: var(--paper);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.page-shell { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 0;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 500 29px/1.2 var(--serif);
  letter-spacing: -.025em;
  color: var(--red);
  text-decoration: none;
}
.coming-soon { font-size: 12px; color: var(--muted); }
.main-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 75px;
  align-items: start;
  margin-top: 112px;
}
h1 {
  font: 400 59px/.99 var(--serif);
  letter-spacing: -.025em;
  color: var(--red);
  margin: 0 0 26px;
  text-wrap: balance;
}
.hero-description {
  font-size: 16px;
  line-height: 1.75;
  max-width: 390px;
  margin: 0;
  color: #514d48;
  text-wrap: pretty;
}
.signup { margin-top: 4px; min-width: 0; }
h2 { font-size: 17px; font-weight: 500; line-height: 1.4; margin: 0 0 6px; }
.signup h2 { font: 400 29px/1.2 var(--serif); margin-bottom: 12px; }
.signup-description { font-size: 13px; color: var(--muted); margin: 0 0 23px; max-width: 300px; }
.email-label { font-size: 13px; display: block; margin-bottom: 8px; }
.input-row { display: flex; flex-direction: column; gap: 10px; }
#email {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9b2ab;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  padding: 12px 13px;
  font-size: 16px;
  min-height: 49px;
}
#email::placeholder { color: #746e68; opacity: 1; }
button[type=submit] {
  align-self: flex-start;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: white;
  min-height: 49px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease;
}
button[type=submit]:active { background: #80251f; }
button:disabled { opacity: .65; cursor: wait; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: #514d48;
  margin-top: 16px;
  line-height: 1.6;
  cursor: pointer;
}
.consent input { width: 15px; height: 15px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--red); }
.email-note { font-size: 12px; line-height: 1.7; margin: 9px 0 0; color: var(--muted); }
.email-note a { text-decoration-color: #b4a9a3; }
.form-message { margin: 12px 0 0; font-size: 13px; line-height: 1.6; min-height: 21px; overflow-wrap: anywhere; }
.form-message[data-state=error] { color: #962a24; }
.form-message[data-state=success] { color: #38533b; }
.about {
  margin-top: 85px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px;
}
.about h2 { font-size: 14px; margin-bottom: 7px; }
.about p { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0; max-width: 250px; }
.privacy { margin-top: 35px; }
.privacy h2 { font-size: 13px; margin-bottom: 5px; }
.privacy p { font-size: 12px; line-height: 1.8; max-width: 88ch; color: var(--muted); margin: 0; }
footer {
  margin-top: 55px;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  button[type=submit]:hover:not(:disabled) { background: #872720; }
  a:hover { text-decoration-thickness: 2px; }
}
@media (max-width: 850px) {
  .page-shell { padding: 0 30px; }
  .main-layout { gap: 40px; margin-top: 75px; }
  h1 { font-size: 48px; }
  .about { gap: 30px; }
}
@media (max-width: 620px) {
  .page-shell { padding: 0 24px; }
  .site-header { padding: 24px 0; }
  .brand { font-size: 27px; }
  .main-layout { display: block; margin-top: 36px; }
  h1 { font-size: clamp(38px, 11.3vw, 46px); line-height: 1.05; margin-bottom: 20px; }
  .hero-description { font-size: 16px; }
  .signup { margin-top: 28px; }
  .signup h2 { font: 500 17px/1.4 var(--sans); margin-bottom: 6px; }
  .signup-description { font-size: 13px; max-width: 350px; margin-bottom: 20px; }
  button[type=submit] { align-self: stretch; font-size: 14px; }
  .about { margin-top: 35px; padding-top: 24px; grid-template-columns: 1fr; gap: 19px; }
  .about h2 { margin-bottom: 3px; }
  .about p { max-width: 45ch; }
  .privacy { margin-top: 30px; }
  footer { margin-top: 35px; align-items: flex-start; gap: 30px; }
  footer span:last-child { max-width: 190px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  button[type=submit] { transition: none; }
}
