/* Evergreen. Plain CSS, no build step. */

@font-face {
  font-family: "Alegreya";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/alegreya-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --green: #0f5c4a;
  --green-dark: #083a2f;
  --ink: #1a1a1a;
  --body: #444444;
  --muted: #555555;
  --rule: #d9d9d9;
  --tint: #f4f8f6;
  --strike: #b42318;
  --serif: "Alegreya", Georgia, serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
}

/* Base */
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #ffffff;
  font-size: 19px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, blockquote { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
img, svg { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px 96px; }
.mark { display: block; flex: none; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 24px 0; }
.brand { display: inline-block; padding: 7px 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--green); }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 16px; }
.site-nav a { padding: 12px 0; }
.nav-link { color: var(--ink); text-decoration: none; }
.nav-link:hover { color: var(--green); }
.nav-cta { font-weight: 700; }

/* Type roles */
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.eyebrow--muted { color: var(--muted); }
.eyebrow--flush { margin: 0; }
.serif { font-family: var(--serif); font-weight: 500; }
.h-hero { margin: 0 auto; font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.02em; max-width: 860px; }
.h-display { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.02em; max-width: 900px; }
.h-section { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.01em; }
.lead { margin: 20px 0 0; font-size: 21px; line-height: 1.5; }
.text { margin: 14px 0 0; font-size: 17px; color: var(--body); }
.flush { margin: 0; }

/* Sections */
.section { padding: 88px 0; border-top: 1px solid var(--rule); }
.grid { display: grid; }
.grid-halves { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 20px; margin-top: 40px; }
.tint { background: var(--tint); border-radius: 8px; }

/* Hero */
.hero { padding: 48px 0 104px; text-align: center; }
.hero .mark { margin: 0 auto; }
.hero .eyebrow { margin: 28px 0 16px; }
.hero-lead { margin: 28px auto 0; font-size: 21px; line-height: 1.5; color: var(--body); max-width: 620px; text-align: start; }
.hero-action { margin-top: 36px; }
.hero-note { margin: 14px 0 0; font-size: 15px; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 6px; }
.btn-primary { background: var(--green); color: #ffffff; padding: 16px 28px; }
.btn-primary:hover { background: var(--green-dark); color: #ffffff; }
.btn-inverse { background: #ffffff; color: var(--green); padding: 16px 26px; }
.btn-inverse:hover { background: #e6f1ed; color: var(--green-dark); }
.btn-card { margin-top: auto; display: block; text-align: center; border: 2px solid var(--green); padding: 14px 18px; font-size: 17px; }
.btn-outline { background: #ffffff; color: var(--green); }
.btn-outline:hover { border-color: var(--green-dark); color: var(--green-dark); }
.btn-card.btn-primary:hover { border-color: var(--green-dark); }

/* Problem */
.problem { gap: 40px 64px; }
.strikes { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 19px; font-weight: 600; color: var(--muted); }
.strikes li { text-decoration: line-through; text-decoration-color: var(--strike); }
.problem .text { margin-top: 18px; }
.stories { display: flex; flex-direction: column; gap: 16px; }
.story { padding: 24px 26px; }
.story h3 { margin: 0; font-size: 18px; font-weight: 700; }
.story p { margin: 8px 0 0; font-size: 17px; color: var(--body); }

/* Our view */
.steps { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 20px 12px; margin-top: 44px; }
.step { border-top: 6px solid var(--rule); padding-top: 12px; }
.step--promise { border-top-color: var(--green); }
.step--screen { border-top-color: var(--ink); }
.step-title { margin: 0; font-weight: 700; font-size: 17px; }
.step-note { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); min-height: 22px; }
.step--promise .step-note { color: var(--green); }
.view-body { gap: 16px 64px; margin-top: 40px; }
.view-body .lead { margin: 0; }
.view-body .text:first-child { margin-top: 0; }

/* Offers */
.offers-intro { max-width: 620px; }
.offers { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 24px; margin-top: 40px; align-items: stretch; }
.offer { border: 1px solid #b5b5b5; border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #ffffff; }
.offer--featured { border: 2px solid var(--green); }
.offer-head { display: flex; justify-content: space-between; align-items: flex-end; }
.offer-name { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.offer-summary { margin: 0; font-size: 18px; line-height: 1.5; }
.offer-list { margin: 0; padding: 16px 0 0 20px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--body); }
.offer-note { margin: 0; font-size: 15px; color: var(--muted); }

/* Proof */
.proof-intro { text-align: center; max-width: 720px; margin: 0 auto; }
.portrait { display: flex; justify-content: center; }
.portrait picture { display: contents; }
.portrait img { width: 240px; max-width: 70%; height: auto; display: block; }
.proof-intro .h-section { margin-top: 12px; }
.credits { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; margin-top: 48px; }
.credit { border-top: 2px solid var(--ink); padding-top: 14px; font-size: 17px; color: var(--body); }
.credit strong { color: var(--ink); }
.quotes { gap: 24px; margin-top: 40px; align-items: stretch; }
.quote { margin: 0; padding: 28px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.35; }
.quote figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* How we work */
.how { padding: 30px 32px 32px; }
.card-title { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; font-size: 26px; line-height: 1.15; }
.how p { margin: 10px 0 0; font-size: 17px; line-height: 1.6; color: var(--body); }

/* Fit */
.fit { border-radius: 8px; padding: 32px 36px 36px; }
.fit .card-title { font-size: 28px; }
.fit--yes { background: var(--green); color: #ffffff; }
.fit--no { border: 1px solid #cfd8d4; }
.fit--no .card-title { color: var(--muted); }
.fit-list { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.fit-list li { display: flex; gap: 12px; font-size: 18px; line-height: 1.5; }
.fit--no .fit-list li { color: var(--body); }
.fit-list svg { flex: none; margin-top: 3px; }

/* Questions */
.faq { margin-top: 32px; }
.faq-item { border-top: 1px solid var(--rule); padding: 22px 0; }
.faq-item h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.faq-item p { margin: 8px 0 0; font-size: 17px; color: var(--body); max-width: 720px; }

/* Closing block */
.closing { background: var(--green); color: #ffffff; border-radius: 12px; padding: 72px 48px; text-align: center; }
.closing h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.closing p { margin: 20px auto 0; max-width: 640px; font-size: 19px; color: #e6f1ed; }
.closing-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; align-items: center; }
.closing-link { color: #ffffff; font-weight: 600; padding: 12px 0; }
.closing-link:hover { color: #e6f1ed; }
.closing :focus-visible { outline-color: #ffffff; }

/* Footer */
.site-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px 48px; padding: 72px 0 0; font-size: 16px; color: var(--body); }
.footer-brand { grid-column: span 2; min-width: 0; }
.footer-name { display: flex; align-items: center; gap: 10px; }
.footer-name p { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--ink); }
.footer-about { margin: 12px 0 0; max-width: 360px; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-label { margin: 0 0 8px; }
.footer-list a { color: var(--body); text-decoration: none; padding: 6px 0; display: inline-block; }
.footer-list a:hover { color: var(--green); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; margin-top: 48px; font-size: 14px; color: var(--muted); }
.legal p { margin: 0; }
.legal a { color: var(--muted); padding: 6px 0; display: inline-block; }
.legal a:hover { color: var(--ink); }

/* Terms, Privacy, 404 */
.doc { max-width: 680px; margin: 0 auto; padding-top: 56px; }
.doc h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; }
.doc-date { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.doc-intro { margin: 28px 0 0; font-size: 20px; line-height: 1.55; }
.doc h2 { margin: 40px 0 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.doc-text { margin: 8px 0 0; font-size: 18px; line-height: 1.6; color: var(--body); }
.doc .hero-action { margin-top: 36px; }

/* Footer keeps the design's four columns wherever they fit */
@media (min-width: 901px) {
  .site-footer { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tablet and below */
@media (max-width: 900px) {
  .offers { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 640px) {
  .site-header { flex-wrap: nowrap; padding: 16px 0; }
  .site-nav .nav-link { display: none; }

  .hero { padding: 32px 0 72px; }
  .h-hero { font-size: clamp(36px, 11vw, 42px); }
  .hero .btn-primary { padding: 16px 24px; }
  .section { padding: 64px 0; }

  .offer { padding: 24px; }
  .offer-list, .offer-note { font-size: 17px; }

  .how { padding: 24px; }
  .fit { padding: 28px 24px; }
  .story, .quote { padding: 24px; }
  .closing { padding: 56px 24px; }
  .closing .btn-inverse { padding: 16px 22px; }

  .site-footer { font-size: 17px; padding-top: 64px; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-list a, .legal a { padding: 10px 0; min-height: 44px; box-sizing: border-box; }
  .legal { font-size: 15px; }

  .doc { padding-top: 32px; }
  .doc h1 { font-size: 42px; }
}
