@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
  --color-white: #FFFFFF;
  --color-forest: #0C2A1C;
  --color-green: #15803D;
  --color-mint: #4ADE80;
  --color-tint: #F0FDF4;
  --color-body: #374151;
  --color-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-green-hover: #166534;
  --color-forest-panel-text: #C7D9CE;
  --color-forest-muted: #9DB8A8;
  --font-heading: "Bricolage Grotesque", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-icon { transition: none; }
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--color-white);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

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

a { color: inherit; }

h1, h2, h3, p { margin: 0; overflow-wrap: break-word; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-forest); }

.content {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

section[id], main[id] { scroll-margin-top: 88px; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.button--primary { background: var(--color-green); color: var(--color-white); }
.button--primary:hover { background: var(--color-green-hover); }
.button--secondary { background: var(--color-white); border: 1px solid var(--color-border); color: var(--color-forest); }
.button--inverse { background: var(--color-white); color: var(--color-forest); }
.button--inverse:hover { background: var(--color-tint); }
.button--block { width: 100%; }
.button--mobile { height: 40px; padding: 0 16px; font-size: 14px; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  margin-bottom: 40px;
  padding-inline: 20px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.logo-link { display: inline-flex; align-items: center; }
.logo-link img { width: 154px; height: 24px; }
.desktop-nav { display: none; align-items: center; gap: 28px; }
.desktop-nav a { color: var(--color-body); font-size: 16px; line-height: 20px; text-decoration: none; }
.desktop-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Shared section layout */
.hero, .included, .process, .groups, .faq { padding: 64px 20px; background: var(--color-white); }
.changing { padding: 64px 20px; background: var(--color-forest); }
.pricing { padding: 64px 20px; background: var(--color-tint); }

/* Hero */
.hero { padding-top: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }
.hero-lede { max-width: 560px; font-size: 18px; line-height: 1.55; }
.button-row { display: flex; flex-direction: column; gap: 12px; }
.hero-audience { max-width: 560px; color: var(--color-muted); font-size: 15px; line-height: 1.5; }

.document-stack { display: none; width: 480px; height: 470px; margin: 0 auto; }
.document {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 340px;
  height: 230px;
  padding: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.document h2 { font-size: 20px; font-weight: 700; line-height: 1.2; }
.document--back-left { margin-left: 116px; rotate: -4deg; }
.document--middle { margin-top: -140px; margin-left: 58px; }
.document--front { margin-top: -140px; rotate: 3deg; }
.document-mark { width: 28px; height: 28px; flex: 0 0 auto; }
.document-lines { display: flex; flex-direction: column; gap: 10px; }
.document-line { display: block; height: 8px; border-radius: 4px; background: var(--color-border); }
.line-64 { width: 64%; } .line-68 { width: 68%; } .line-72 { width: 72%; }
.line-75 { width: 75%; } .line-76 { width: 76%; } .line-78 { width: 78%; }
.line-82 { width: 82%; } .line-84 { width: 84%; } .line-88 { width: 88%; }

/* What's changing */
.changing h2 { color: var(--color-white); font-size: 32px; font-weight: 800; line-height: 1.1; }
.changing-details { margin-top: 32px; }
.changing h3 { color: var(--color-white); font-size: 24px; font-weight: 700; line-height: 1.25; }
.changing-details article p { margin-top: 12px; color: var(--color-forest-panel-text); font-size: 18px; line-height: 1.6; }
.changing hr { width: 100%; height: 1px; margin: 16px 0; border: 0; background: rgba(255, 255, 255, 0.12); }
.changing-footnote { margin-top: 40px; color: var(--color-forest-muted); font-size: 14px; line-height: 1.55; }

/* What's included */
.section-heading h2 { font-size: 32px; font-weight: 800; line-height: 1.15; }
.section-heading p { margin-top: 16px; color: var(--color-body); font-size: 16px; line-height: 1.6; }
.included-grid { margin-top: 32px; }
.included-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px 0; }
.included-item.bordered { border-top: 1px solid var(--color-border); }
.included-item h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; line-height: 1.35; }
.included-item p { margin-top: 8px; font-size: 16px; line-height: 1.6; }
.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-tint);
  color: var(--color-green);
}
.tick--medium { width: 28px; height: 28px; }
.tick svg { flex: 0 0 auto; }

/* How it works */
.process h2 { font-size: 32px; font-weight: 800; line-height: 1.15; }
.process-grid { display: flex; flex-direction: column; gap: 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.step-number { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--color-green); color: var(--color-white); font-size: 16px; font-weight: 600; line-height: 1; }
.process h3 { margin-top: 16px; font-size: 22px; font-weight: 700; line-height: 1.35; }

/* Pricing */
.pricing h2 { font-size: 32px; font-weight: 800; line-height: 1.15; }
.pricing-card { width: 100%; margin-top: 32px; padding: 32px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price-amount { color: var(--color-forest); font-family: var(--font-heading); font-size: 56px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.price-term { color: var(--color-muted); font-size: 16px; line-height: 1.4; }
.checklist { display: flex; flex-direction: column; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.5; }
.pricing-card .button { margin-top: 32px; }
.small-print { margin-top: 16px; color: var(--color-muted); font-size: 14px; line-height: 1.55; }

/* Groups */
.groups-panel { display: flex; flex-direction: column; width: 100%; padding: 32px; border-radius: 16px; background: var(--color-forest); }
.groups-panel h2 { color: var(--color-white); font-size: 32px; font-weight: 800; line-height: 1.15; }
.groups-panel p { max-width: 600px; margin-top: 16px; color: var(--color-forest-panel-text); font-size: 18px; line-height: 1.6; }
.button--groups { width: 100%; margin-top: 24px; }

/* FAQ */
.faq h2 { margin-top: -6px; font-size: 32px; font-weight: 800; line-height: 1.15; }
.faq-support { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; font-size: 16px; line-height: 1.6; }
.faq-support span { color: var(--color-muted); }
.faq-support a { color: var(--color-green); text-decoration: none; }
.faq-support a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-list { margin-top: 32px; }
.faq-item { border-top: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  color: var(--color-forest);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--color-green); outline-offset: 4px; }
.faq-icon { font-size: 24px; font-weight: 400; line-height: 1; transition: transform 200ms ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-width: 640px; padding-bottom: 24px; font-size: 16px; line-height: 1.6; }

/* Footer */
.site-footer { padding: 64px 20px 32px; background: var(--color-forest); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-top > a { flex: 0 0 auto; }
.footer-top img { width: 180px; height: 28px; }
.footer-nav { display: flex; align-items: center; gap: 24px; }
.footer-nav a { color: var(--color-white); font-size: 16px; line-height: 1.4; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-rule { width: 100%; height: 1px; margin: 24px 0; border: 0; background: rgba(255, 255, 255, 0.12); }
.footer-legal { color: var(--color-forest-panel-text); font-size: 14px; line-height: 1.55; }

/* Privacy / 404 */
.text-page { padding: 64px 20px; background: var(--color-white); }
.text-column { max-width: 720px; }
.text-column h1 { font-size: 40px; font-weight: 800; line-height: 1.15; }
.page-updated { margin-top: 16px; color: var(--color-muted); font-size: 16px; }
.text-column h2 { margin-top: 48px; font-size: 24px; font-weight: 700; line-height: 1.3; }
.text-column p { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.text-column a { color: var(--color-green); }
.notfound { padding: 128px 20px; text-align: center; }
.notfound .text-column { margin-inline: auto; }
.notfound p { margin-top: 16px; }
.notfound .button { margin-top: 32px; }

/* Desktop */
@media (min-width: 768px) {
  .content { max-width: min(1200px, calc(100% - 80px)); }
  .hero, .included, .process, .groups, .faq { padding: 96px 0; }
  .changing, .pricing { padding: 96px 0; }
  .site-header { height: auto; margin-bottom: 0; padding: 24px 0; padding-inline: max(24px, calc((100% - 1200px) / 2)); }
  .desktop-nav { display: flex; }
  .button--mobile { height: 48px; padding: 0 24px; font-size: 15px; }
  .hero { padding-inline: 0; }
  .hero-grid { display: flex; align-items: center; flex-wrap: wrap; gap: 48px; }
  .hero-copy { flex: 1 1 0; }
  .button-row { flex-direction: row; align-items: center; gap: 16px; }
  .changing-grid { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 48px; }
  .changing h2 { width: 460px; font-size: 48px; flex: 0 0 auto; }
  .changing-details { width: 580px; margin-top: 0; flex: 0 0 auto; }
  .included-grid { display: flex; gap: 24px; margin-top: 48px; }
  .included-column { width: calc(50% - 12px); }
  .section-heading { max-width: 800px; }
  .section-heading h2 { font-size: 42px; }
  .process h2 { font-size: 42px; }
  .process-grid { flex-direction: row; gap: 24px; margin-top: 48px; }
  .process-grid li { width: calc((100% - 48px) / 3); }
  .process h3 { margin-top: 20px; }
  .pricing h2 { width: 460px; font-size: 42px; flex: 0 0 auto; }
  .pricing-card { width: 576px; margin-top: 0; padding: 40px; flex: 0 0 auto; }
  .pricing-grid { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 48px; }
  .groups-panel { flex-direction: row; align-items: center; justify-content: space-between; padding: 56px; }
  .groups-panel h2 { font-size: 36px; }
  .groups-panel > div { width: min(736px, 100%); flex: 0 1 auto; }
  .button--groups { width: 200px; margin-top: 0; }
  .faq-grid { display: grid; grid-template-columns: minmax(240px, 384px) minmax(0, 624px); justify-content: space-between; gap: 24px; }
  .faq h2 { margin-top: -8px; font-size: 40px; }
  .faq-intro { align-self: start; position: sticky; top: 96px; }
  .faq-list { margin-top: 0; }
  .text-page { padding: 96px 0; }
  .site-footer { padding: 64px 0 32px; }
}

@media (min-width: 1200px) {
  .content { max-width: 1200px; }
  .site-header { padding-inline: 120px; }
  .hero-grid { width: 1200px; gap: 72px; }
  .document-stack { display: flex; flex-direction: column; align-items: flex-start; flex: 0 0 auto; }
}

@media (min-width: 1024px) {
  .hero-grid { gap: 72px; }
}

@media (max-width: 360px) {
  .button { width: 100%; }
  .button-row { width: 100%; }
}
