:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #20231f;
  --muted: #63685f;
  --line: #d9d5c8;
  --forest: #285f4d;
  --forest-dark: #1e493b;
  --clay: #b85b3f;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(40, 95, 77, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(40, 95, 77, 0.07) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

a {
  color: var(--forest-dark);
  font-weight: 700;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.signup-panel {
  width: min(100%, 560px);
  padding: clamp(26px, 5vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(32, 35, 31, 0.14);
}

.brand-mark {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f1eee4;
}

.brand-mark img {
  width: 58px;
  height: 58px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro {
  max-width: 430px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.field-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.field-row {
  display: grid;
  min-height: 56px;
  border: 1px solid #c8c2b4;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

input[type="email"],
input[type="tel"] {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 18px;
  color: var(--ink);
  font: inherit;
  background: transparent;
  outline: none;
}

input[type="email"]:focus,
input[type="tel"]:focus {
  box-shadow: inset 0 0 0 2px var(--forest);
}

.submit-row {
  display: flex;
}

button {
  min-width: 104px;
  min-height: 52px;
  border-radius: 6px;
  border: 0;
  padding: 0 22px;
  color: #ffffff;
  background: var(--forest);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

button:hover {
  background: var(--forest-dark);
}

button:focus-visible,
.consent-line a:focus-visible {
  outline: 3px solid rgba(184, 91, 63, 0.45);
  outline-offset: 3px;
}

.consent-line {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--forest-dark);
  font-size: 14px;
  font-weight: 700;
}

.legal-page {
  display: block;
  min-height: 100vh;
  padding: 42px 20px;
}

.legal-content {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-content h1 {
  font-size: clamp(34px, 6vw, 54px);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.65;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
}

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

  .signup-panel {
    padding: 24px;
  }

  input[type="email"],
  input[type="tel"] {
    min-height: 54px;
  }

  button {
    width: 100%;
  }
}
