:root {
  --brand: #17835f;
  --brand-interactive: #1a9468;
  --brand-interactive-dark: #15805a;
  --brand-dark: #126b4e;
  --brand-light: #e8f5ef;
  --canvas: #faf8f5;
  --card: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 30px rgba(28, 25, 23, 0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Literata', Georgia, serif;
  --page-gutter: 1rem;
  --page-gutter-wide: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Opt out of browser/OS “auto dark” on this light-only site (WCAG contrast). */
  color-scheme: light only;
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--canvas);
  border-radius: var(--radius);
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header logo must keep fixed dimensions (global img rules otherwise squash it on narrow screens). */
.site-header .brand__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
}

a {
  color: var(--brand-interactive);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-interactive);
  outline-offset: 2px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 0;
  width: 100%;
}

@media (min-width: 641px) {
  .site-header .site-header__inner {
    width: min(1120px, calc(100% - (var(--page-gutter-wide) * 2)));
    padding-inline: var(--page-gutter-wide);
  }

  .site-header .brand {
    padding-left: 0.25rem;
  }

  .site-header .nav-actions {
    gap: 0.625rem;
    padding-right: 0.25rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
  min-width: auto;
}

.brand__icon {
  border-radius: 10px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  color: var(--ink);
  line-height: 1.2;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  margin-left: auto;
}

/* Shorter nav CTA label on narrow viewports (see index.html / faq.html). */
.btn-label--short {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--brand-interactive);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-interactive-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--brand-interactive);
  color: var(--brand-interactive);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-interactive-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.hero__visual {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
}

.hero__visual img {
  width: min(220px, 70%);
  margin: 0 auto 1rem;
}

.hero__visual p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--card);
  border-block: 1px solid var(--line);
}

.section__header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__header p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.section--alt .card {
  background: var(--canvas);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

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

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section--alt .step {
  background: var(--card);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--brand-interactive);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.step h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.pilot-banner {
  background: linear-gradient(135deg, var(--brand-interactive) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pilot-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.pilot-banner h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.pilot-banner p {
  margin: 0;
  opacity: 0.95;
}

.pilot-banner .btn--primary {
  background: #fff;
  color: var(--brand-dark);
}

.pilot-banner .btn--primary:hover {
  background: var(--brand-light);
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.925rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-interactive);
}

/* FAQ page */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.25rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
}

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

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--brand-interactive);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.page-title {
  padding: 3rem 0 1rem;
}

.page-title h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.page-title p {
  margin: 0;
  color: var(--muted);
}

/* ——— Responsive: header, hero, layout ——— */

@media (max-width: 640px) {
  .site-header .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    padding: 0.625rem var(--page-gutter);
    gap: 0.5rem;
  }

  .site-header .brand__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .brand {
    gap: 0.5rem;
    width: 100%;
  }

  .brand__name {
    font-size: 1.125rem;
  }

  .nav-actions {
    width: 100%;
    margin-left: 0;
    gap: 0.375rem;
    justify-content: flex-end;
  }

  .nav-actions .btn {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .container:not(.site-header__inner) {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .section {
    padding: 2.5rem 0;
  }

  .pilot-banner {
    padding: 1.5rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .btn-label--full {
    display: none;
  }

  .btn-label--short {
    display: inline;
  }
}

@media (max-width: 360px) {
  .nav-actions .btn {
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
  }

  .brand__name {
    font-size: 1rem;
  }
}
