:root {
  color-scheme: light;
  --paper: #faf9f3;
  --mint: #f7fcf5;
  --ink: #1a1f24;
  --heading: #1f1f24;
  --muted: #474d57;
  --soft: #595e66;
  --faint: #737a80;
  --green: #1f7352;
  --green-text: #337352;
  --line: #c7d6cc;
  --card-line: #e0e5e0;
  --item: #f7f7f5;
  --footer: #f5f5f2;
  --white: #ffffff;
  --focus: #a46224;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: var(--green); text-underline-offset: 4px; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 10px;
  transform: translateY(-160%);
  padding: 8px 15px;
  z-index: 20;
  background: var(--white);
}
.skip:focus { transform: none; }

.wrap {
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: var(--mint);
  border-bottom: 1px solid #e3efe6;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--heading);
  font-size: 12px;
  line-height: 1.4;
}
.brand strong { font-size: 17px; }
.brand img { object-fit: contain; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--soft);
}
.site-nav a[aria-current="page"] {
  color: var(--heading);
  font-weight: 700;
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-text);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.35;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
}

h2 {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--heading);
}

.lead {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.fine {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
}

.hero {
  background: var(--mint);
  padding: 56px 0 72px;
}
.hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.panel {
  background: var(--white);
  padding: 64px 0;
}
.panel .wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.panel-alt { background: var(--paper); }

.form {
  display: grid;
  gap: 20px;
}

.form-block {
  display: grid;
  gap: 12px;
  background: var(--item);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 22px;
}

.form-block legend,
.form-row label {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}

.form-block legend { padding: 0; }
.form-block fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.hint {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
}

.req { color: #a46224; font-weight: 600; }

.form-row { display: grid; gap: 6px; }
.form-row[hidden] { display: none; }
.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--heading);
  background: var(--white);
}
.form textarea { min-height: 96px; resize: vertical; }

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.choice-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nps-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nps-scale label {
  position: relative;
  margin: 0;
}
.nps-scale input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
}
.nps-scale span {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
}
.nps-scale input:checked + span {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.nps-scale input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.nps-ends {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  font-size: 13px;
  color: var(--faint);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.button-primary {
  background: var(--green);
  color: var(--white);
}
.button-primary:hover { background: #185c41; }
.button-secondary {
  background: var(--white);
  color: var(--green);
  border-color: var(--line);
}
.button-secondary:hover { background: #f3faf5; }

.form-note,
.form-status {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.form-status[data-tone="ok"] { color: var(--green-text); }
.form-status[data-tone="error"] { color: #a46224; }

.privacy-note {
  margin: 0;
  font-size: 14px;
  color: var(--soft);
}

.site-footer {
  background: var(--footer);
  padding: 40px 0;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer p {
  margin: 0;
  font-size: 14px;
  color: #666b73;
}
.site-footer .domain {
  font-size: 13px;
  color: #80858c;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
}
.legal-links a {
  font-size: 12px;
  color: #666b73;
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 44px); }
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0 20px;
    min-height: 0;
  }
  .hero { padding: 36px 0 48px; }
  .panel { padding: 48px 0; }
  .form-split { grid-template-columns: 1fr; }
  .form-block { padding: 18px; }
  h1 { font-size: 32px; }
}

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