:root {
  --terracotta: #b84a2e;
  --cream: #f5f1ea;
  --ink: #2c2620;
  --coffee: #5a4f42;
  --muted: #8a7e6c;
  --line: #e4d8c8;
  --white: #fffaf4;
  --focus: #7a8b55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background:
    linear-gradient(90deg, rgba(184, 74, 46, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(44, 38, 32, 0.05) 1px, transparent 1px),
    var(--cream);
  background-size: 44px 44px;
}

.signup-panel {
  width: min(100%, 980px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 22px 70px rgba(44, 38, 32, 0.12);
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 34px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.brand-logo {
  width: 184px;
  max-width: 52vw;
  height: auto;
  display: block;
}

.brand-note,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 38px;
  padding: 48px 52px 52px;
}

.intro {
  padding-top: 4px;
}

.eyebrow {
  color: var(--terracotta);
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 22px;
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: normal;
  letter-spacing: 0;
  line-height: 0.98;
}

p {
  margin: 0 0 16px;
  color: var(--coffee);
  font-size: 18px;
  line-height: 1.68;
}

.lede {
  font-size: 21px;
  line-height: 1.55;
  color: #3a3229;
}

.signup-form {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 28px;
  background: #f9f5ed;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.4;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d8cbbb;
  border-radius: 3px;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(122, 139, 85, 0.18);
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--terracotta);
}

button {
  min-height: 50px;
  padding: 14px 20px;
  color: #ffffff;
  background: var(--terracotta);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.2;
  text-transform: uppercase;
}

button:hover {
  background: #9f3f27;
}

button:focus-visible {
  outline: 3px solid rgba(122, 139, 85, 0.45);
  outline-offset: 3px;
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.form-status[data-tone="success"] {
  color: #4f6b32;
}

.form-status[data-tone="error"] {
  color: #9f3f27;
}

@media (max-width: 820px) {
  .page-shell {
    align-items: start;
    padding: 14px;
  }

  .brand {
    display: grid;
    justify-items: start;
    padding: 24px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 24px 28px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .lede {
    font-size: 19px;
  }

  p {
    font-size: 17px;
  }

  .signup-form {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .content-grid {
    padding: 28px 18px 22px;
  }

  h1 {
    font-size: 36px;
  }

  .signup-form {
    padding: 18px;
  }

  button {
    padding-left: 14px;
    padding-right: 14px;
  }
}
