/* greenties.farm: one stylesheet for every page. No external fonts or scripts (see README "Rules"). */

:root {
  --cream: #FBF8EF;
  --sage: #EEF3E6;
  --sage-2: #DFE9D3;
  --green-950: #0F2716;
  --green-900: #173D22;
  --green-800: #1D4D2A;
  --green-700: #22612F;
  --green-500: #3E8A3A;
  --apple: #C8372D;
  --ink: #1C261F;
  --muted: #55625A;
  --line: #DCE3D3;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 39, 22, .06), 0 10px 28px rgba(15, 39, 22, .09);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --wrap: 1120px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); color: var(--green-950); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-950); margin-right: auto; }
.brand img { width: 48px; height: 48px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-family: var(--serif); font-size: 1.3rem; }
.brand-name span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-700); }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--white); }
@media (max-width: 760px) { .nav .nav-link { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; line-height: 1.2;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-900); color: var(--white); }
.btn-secondary { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-secondary:hover { background: var(--sage); color: var(--green-900); }
.btn-light { background: var(--white); color: var(--green-900); }
.btn-light:hover { background: var(--sage); color: var(--green-950); }
.btn-small { padding: 9px 18px; font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.section-sage { background: var(--sage); }
.section-cream { background: var(--cream); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); background: var(--sage); border: 1px solid var(--sage-2);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
@media (max-width: 720px) { .section { padding: 60px 0; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-proof { font-size: .95rem; color: var(--muted); display: flex; align-items: center; gap: 10px; margin: 0; }
.hero-proof::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); flex: none; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); }
.hero-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--sage); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.section-sage .card { border-color: var(--sage-2); }
.note { margin: 32px 0 0; color: var(--muted); }

/* Text-message notice */
.sms {
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  background: var(--cream); border: 1px solid var(--line); border-left: 5px solid var(--green-700);
  border-radius: var(--radius); padding: 32px; max-width: 860px; margin: 0 auto;
}
.sms h2 { font-size: 1.6rem; }
.sms ul { margin: 0 0 1em; padding-left: 1.2em; }
.sms .fine { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 600px) { .sms { grid-template-columns: 1fr; padding: 24px; } }

/* Contact band */
.cta { background: var(--green-900); color: #E7EFE3; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta .address { margin: 22px auto 0; font-size: .95rem; color: #B9CBB5; }

/* Footer */
.site-footer { background: var(--green-950); color: #B9CBB5; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #E7EFE3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; background: var(--cream); }
.footer-brand strong { display: block; color: var(--white); font-family: var(--serif); font-size: 1.2rem; }
.site-footer h3 { font-family: var(--sans); color: var(--white); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.page-head { background: var(--sage); padding: 44px 0 40px; border-bottom: 1px solid var(--sage-2); }
.crumbs { font-size: .92rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .25em; }
.page-head .effective { color: var(--muted); margin: 0; }
.prose { max-width: 760px; padding: 48px 0 80px; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li ul { margin: .35em 0 0; }
.prose address { font-style: normal; }

/* 404 */
.notfound { text-align: center; padding: 110px 0; }
.notfound p { color: var(--muted); }
