:root {
  --ink: #18332f;
  --muted: #5c6e69;
  --cream: #fbf7ef;
  --paper: #fffdf9;
  --sage: #dce7d9;
  --leaf: #476f58;
  --sun: #efb23e;
  --line: #d8ddd3;
  --shadow: 0 24px 70px rgb(28 61 53 / 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgb(239 178 62 / 0.16), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgb(71 111 88 / 0.12), transparent 25rem),
    var(--cream);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50% 50% 50% 14px;
  background: var(--leaf);
  color: white;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
  transform: rotate(-4deg);
}

.brand-name {
  display: grid;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-name span:last-child {
  color: var(--leaf);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
}

.header-links a {
  text-decoration: none;
}

.header-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto 0;
  padding-bottom: 88px;
}

.hero-copy {
  padding-top: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: var(--sun);
  content: "";
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(46px, 6.3vw, 78px);
}

.hero-lede {
  max-width: 520px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.trust-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #3f5650;
  font-size: 14px;
  font-weight: 650;
}

.trust-list li::before {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--leaf);
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgb(71 111 88 / 0.18);
  border-radius: 28px;
  background: rgb(255 253 249 / 0.96);
  box-shadow: var(--shadow);
}

.form-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, var(--sun) 0 30%, var(--leaf) 30% 100%);
  content: "";
}

.form-card h2 {
  margin: 0 0 8px;
  font-size: clamp(29px, 3vw, 38px);
}

.form-intro {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.field label,
.fieldset legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bfc9c0;
  border-radius: 10px;
  outline: none;
  background: white;
  color: var(--ink);
}

.field input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgb(71 111 88 / 0.13);
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.language-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 9px;
}

.language-option {
  position: relative;
}

.language-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.language-option span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid #c7cfc7;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.language-option input:checked + span {
  border-color: var(--leaf);
  background: var(--sage);
  box-shadow: inset 0 0 0 1px var(--leaf);
}

.language-option input:focus-visible + span {
  outline: 3px solid rgb(71 111 88 / 0.2);
  outline-offset: 2px;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  align-items: start;
  padding: 18px;
  border: 1px solid #d5dcd3;
  border-radius: 13px;
  background: #f8faf5;
}

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

.consent label {
  color: #455953;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.55;
}

.consent a,
.legal-copy a {
  color: #315e4b;
  font-weight: 700;
  text-underline-offset: 2px;
}

.submit-button {
  min-height: 54px;
  border: 0;
  border-radius: 11px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease;
}

.submit-button:hover {
  background: #285447;
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-status {
  margin: -4px 0 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: #e3efe0;
  color: #214c36;
  font-size: 13px;
  font-weight: 700;
}

.form-status.error {
  background: #f7e5df;
  color: #7a3529;
}

.fine-print {
  margin: -5px 0 0;
  color: #74827e;
  font-size: 11px;
  text-align: center;
}

.legal-page {
  width: min(860px, calc(100% - 40px));
  margin: 70px auto 100px;
}

.legal-page h1 {
  font-size: clamp(42px, 6vw, 70px);
}

.legal-meta {
  margin: 18px 0 44px;
  color: var(--muted);
}

.legal-copy {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 16px 45px rgb(28 61 53 / 0.07);
}

.legal-copy h2 {
  margin: 48px 0 18px;
  font-size: 30px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin: 0 0 18px;
  color: #40534e;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.contact-card > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.site-footer {
  border-top: 1px solid rgb(71 111 88 / 0.2);
  background: #17332e;
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 40px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.footer-name {
  max-width: 340px;
  margin: 0 0 10px;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.25;
}

.footer-copy,
.footer-address {
  margin: 0;
  color: #cbd9d4;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-links a {
  color: #e8f0ed;
  font-size: 13px;
  text-underline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 850px) {
  .header-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .hero-copy {
    padding-top: 36px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .legal-page,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-name {
    font-size: 11px;
  }

  .field-row,
  .contact-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .language-options {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
