:root {
  color-scheme: light;
  --paper: #f6f0e5;
  --paper-deep: #eadbc3;
  --ink: #2f2a22;
  --muted: #675c4d;
  --line: #d6c2a5;
  --leaf: #496f56;
  --leaf-dark: #2f4b38;
  --clay: #a6573b;
  --sun: #d39b49;
  --white: #fffaf0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.92), rgba(246, 240, 229, 0.96)),
    repeating-linear-gradient(90deg, rgba(73, 111, 86, 0.05) 0 1px, transparent 1px 80px);
}

.page-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--leaf-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: 2.75rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subline {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.18;
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.section.narrow {
  max-width: 780px;
}

h2 {
  max-width: 760px;
  margin: 8px 0 22px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.copy-stack p {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.step {
  position: relative;
  min-height: 186px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.68);
  box-shadow: 0 18px 45px rgba(72, 56, 35, 0.08);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--sun);
  font-weight: 900;
}

.step-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--leaf);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  max-width: 16rem;
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.signup-section {
  display: grid;
  gap: 28px;
  align-items: start;
}

.signup-copy p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.signup-form {
  display: grid;
  gap: 11px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

label {
  color: var(--leaf-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(211, 155, 73, 0.32);
  border-color: var(--clay);
}

button {
  min-height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: var(--leaf-dark);
  color: #fffdf8;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

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

.form-message {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-message[data-state="success"] {
  color: var(--leaf-dark);
}

.form-message[data-state="error"] {
  color: #8d2d24;
}

.site-footer {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 20px 30px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 760px) {
  .page-shell {
    padding: 42px 34px 64px;
  }

  .hero {
    min-height: 78vh;
  }

  h1 {
    font-size: 5.4rem;
  }

  .hero-subline {
    font-size: 2rem;
  }

  .section {
    padding: 78px 0;
  }

  h2 {
    font-size: 3.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signup-section {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  }

  .signup-form {
    padding: 24px;
  }

  .site-footer {
    padding: 0 34px 36px;
  }
}
