:root {
  --green: #0b5d4b;
  --green-dark: #123f34;
  --gold: #d4a94d;
  --page: #f3f6f4;
  --text: #14231f;
  --muted: #5d6c67;
  --surface: #ffffff;
  --border: #d8e0dd;
  --accent-bg: #dcebe5;
  --secondary-bg: #e6efeb;
  --secondary-text: #163d34;
  --focus: #86631f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  padding: 10px 12px;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  border-bottom: 1px solid rgba(216, 224, 221, 0.82);
  background: rgba(243, 246, 244, 0.94);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 8px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--green);
  flex: 0 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-minimal {
  background:
    linear-gradient(180deg, rgba(220, 235, 229, 0.72), rgba(243, 246, 244, 1) 74%),
    var(--secondary-bg);
}

.hero-visual {
  background: var(--accent-bg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(220, 235, 229, 0.98) 0%, rgba(220, 235, 229, 0.9) 45%, rgba(220, 235, 229, 0.35) 100%);
}

.hero-art {
  position: absolute;
  right: -80px;
  bottom: -32px;
  z-index: 0;
  width: min(760px, 66vw);
  max-width: none;
  opacity: 0.94;
}

.hero-shell,
.section-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 64px 0 72px;
}

.hero-copy {
  width: min(100%, 720px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 2.55rem;
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--secondary-text);
  font-size: 1.12rem;
}

.waitlist {
  width: min(100%, 660px);
}

.form-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 0 16px;
  font: inherit;
  box-shadow: 0 1px 0 rgba(20, 35, 31, 0.03);
}

input[type="email"]::placeholder {
  color: #7a8783;
}

input[type="email"]:focus-visible,
.primary-button:focus-visible {
  outline: 3px solid rgba(212, 169, 77, 0.72);
  outline-offset: 3px;
  border-color: var(--focus);
}

input[aria-invalid="true"] {
  border-color: #9b342d;
}

.primary-button {
  min-height: 52px;
  min-width: 176px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #ffffff;
  padding: 0 20px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 93, 75, 0.16);
  transition: transform 160ms ease, background-color 160ms ease;
}

.primary-button:hover {
  background: #084a3c;
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

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

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

.form-message.is-success {
  color: var(--green-dark);
  font-weight: 600;
}

.form-message.is-error {
  color: #8a2e28;
  font-weight: 600;
}

.trust-line {
  width: min(100%, 660px);
  margin: 16px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--green-dark);
  font-size: 0.96rem;
  font-weight: 600;
}

.trust-line svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--green);
}

.value-section,
.workflow-section {
  padding: 56px 0;
}

.workflow-section {
  padding-top: 0;
}

.section-title {
  margin-bottom: 22px;
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1.2;
  font-weight: 600;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value-card {
  min-height: 216px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.value-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--accent-bg);
  color: var(--green);
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.workflow-strip {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--secondary-bg);
}

.workflow-strip li {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-text);
  font-weight: 600;
}

.workflow-strip li + li::before {
  content: "";
  position: absolute;
  left: -10px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}

.workflow-strip span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--green);
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.workflow-caption {
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-inner p {
  margin: 0;
}

.site-footer a {
  color: var(--green);
  text-decoration-color: rgba(11, 93, 75, 0.28);
  text-underline-offset: 3px;
}

@media (min-width: 860px) {
  h1 {
    font-size: 4rem;
  }

  .page-visual .hero-copy {
    width: min(58%, 680px);
  }
}

@media (max-width: 980px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-art {
    right: -220px;
    width: 860px;
    opacity: 0.28;
  }
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero-shell {
    min-height: 0;
    padding: 52px 0 56px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-subhead {
    font-size: 1.02rem;
  }

  .form-row {
    display: grid;
  }

  .primary-button {
    width: 100%;
  }

  .value-section,
  .workflow-section {
    padding: 42px 0;
  }

  .workflow-section {
    padding-top: 0;
  }

  .value-grid,
  .workflow-strip {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;
  }

  .workflow-strip li + li::before {
    display: none;
  }

  .footer-inner {
    padding: 22px 0;
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* FAQ (added to match the visual design) */
.faq-section {
  padding: 56px 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 2px 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.96rem;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(212, 169, 77, 0.72);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 700px) {
  .faq-section {
    padding: 42px 0;
  }
}
