/* The marketing site (sitegen/build.py). Brand: green #2D6952 for surfaces and the logo, the
   type spec's green #376354 for headings, lime #AEFD63 for the mark and the call to action. */
:root {
  --green: #2D6952; --green-text: #376354; --green-ink: #1A3A2C; --green-soft: #EEF4F0; --green-line: #C2D8CC;
  --lime: #AEFD63; --lime-deep: #86B40A;
  --ink: #191C18; --ink-2: #45483F; --ink-3: #5C5F55; --paper: #FFFFFF; --paper-2: #F3F5F2; --line: #E1E2D9;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.logo { display: block; height: 56px; width: auto; }
.logo-mark { fill: var(--lime); }
.logo-word { fill: #fff; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .12s ease, filter .12s ease; }
.btn:hover { filter: brightness(.96); transform: translateY(-1px); }
.btn.lime { background: var(--lime); color: var(--green-ink); }
.btn.green { background: var(--green); color: #fff; }
.btn.ghost { border-color: var(--green-line); color: var(--green-text); background: #fff; }

/* Header: the green band, the logo, the nav, the dog sitting on the bottom edge. */
header { background: var(--green); color: #fff; position: relative; z-index: 3; }
header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 20px; position: relative; padding-right: 170px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; opacity: .92; }
nav a:hover, nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
nav a.btn { opacity: 1; padding: 11px 22px; font-size: 15px; }
nav a.btn:hover { text-decoration: none; }
nav .signin { font-size: 14px; opacity: .8; }
/* The dog (its image is cut to its opaque bounds, so its bottom is the paws): --dog-drop is how far
   the paws hang below the header's edge; the belly line is 12% of the image's height above them (534 of 607 rows), so 12px at 122px wide puts it on the edge. */
.dog { --dog-drop: 12px; position: absolute; right: 12px; bottom: calc(-1 * var(--dog-drop)); width: 122px; height: auto; pointer-events: none; }

/* Heroes */
.hero { padding: 56px 0 0; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.025em; color: var(--green-text); margin: 8px 0 18px; font-weight: 800; max-width: 16ch; }
.hero .lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-2); font-weight: 500; max-width: 64ch; margin: 0 0 26px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.photo { overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .photo.wide { margin-top: 36px; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 7; }
.hero .photo.wide img { object-position: center 35%; }
.hero.about { padding-bottom: 24px; }
.hero.about .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero.about h1 { max-width: none; }
.hero.about p, .prose p { color: var(--ink-2); font-size: 16px; }
.prose { max-width: 80ch; margin-top: 8px; }
.photo.tall { border-radius: var(--radius); aspect-ratio: 4 / 5; }

/* Sections */
section { padding: 72px 0; }
.kicker { color: var(--lime-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; color: var(--green-text); }
.intro { font-size: 17px; max-width: 64ch; margin: 0 0 36px; color: var(--ink-2); }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--paper); border-radius: var(--radius); padding: 26px 24px 24px; border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(18, 41, 31, .10); }
.card-mark { width: 30px; height: 28px; fill: var(--lime-deep); display: block; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; color: var(--green-text); }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card ul { margin: 12px 0 0; padding: 0 0 0 18px; color: var(--ink-2); font-size: 14.5px; columns: 2; column-gap: 18px; }
.card li { margin: 2px 0; break-inside: avoid; }

/* The pattern band: the client's star background, tiled from the mark */
.band { background: var(--green) url("/assets/pattern.svg") repeat; background-size: 300px 270px; color: #fff; }
.band h2, .band .intro { color: #fff; display: inline; background: var(--green); box-shadow: 10px 0 0 var(--green), -10px 0 0 var(--green); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.band h2 { padding: 2px 0; }
.band .intro { font-weight: 600; font-size: 16px; line-height: 1.75; }
.band .cards { margin-top: 40px; }
.band .card { border: none; }
.band h2 + p { margin: 14px 0 0; }

/* The real-people band: plain green, text and a photo */
.people { background: var(--green); color: #fff; }
.people .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.people h2 { color: var(--lime); }
.people p { font-size: 16px; font-weight: 500; opacity: .96; max-width: 56ch; }
.people .photo { border-radius: var(--radius); aspect-ratio: 5 / 4; box-shadow: 0 18px 50px rgba(0,0,0,.25); }

/* Features: built for the real world, designed for */
.real-world .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.real-world p { color: var(--ink-2); font-size: 16px; }
.real-world .strap { color: var(--green-text); font-weight: 700; }
.designed-for { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.designed-for ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.designed-for li { border-left: 3px solid var(--lime); padding-left: 12px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-text); }

/* About: the team */
.team .members { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.member .portrait { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); margin-bottom: 18px; }
.member .portrait img { width: 100%; height: 100%; object-fit: cover; }
.member .placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.member .placeholder svg { width: 38%; fill: var(--green-line); }
.member h3 { margin: 0 0 4px; font-size: 20px; color: var(--green-text); }
.member h3.tbc { color: var(--ink-3); font-weight: 600; }
.member .role { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-deep); }
.member p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }

/* Contact: the pitch and the form on the pattern */
.band.contact .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.band.contact .pitch h2 { font-size: clamp(30px, 3.6vw, 44px); }
.form { display: grid; gap: 14px; padding: 28px; }
.form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form .name b { color: var(--lime-deep); font-weight: 700; }
.form input, .form textarea { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2); color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: var(--green-line); background: #fff; }
.form textarea { resize: vertical; min-height: 96px; }
.form .btn { width: 100%; margin-top: 4px; }
.form .hint { margin: 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.form .hint a { color: var(--green-text); }

/* FAQs */
.faqs details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faqs summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 18px; font-weight: 600; color: var(--green-text); }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--lime-deep); flex: none; }
.faqs details[open] summary::after { content: "−"; }
.faqs details p { margin: 0 0 18px; color: var(--ink-2); max-width: 78ch; }

/* CTA */
.cta { text-align: center; padding: 88px 0; }
.cta h2 { max-width: 22ch; margin: 0 auto 16px; }
.cta p { max-width: 58ch; margin: 0 auto 28px; color: var(--ink-2); font-weight: 500; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

footer { background: var(--green-ink); color: #c9d8cf; padding: 44px 0 40px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
footer .logo { height: 44px; }
footer .links a { color: #fff; text-decoration: none; margin-left: 22px; font-weight: 500; }
footer .links a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer small { display: block; width: 100%; opacity: .7; }
footer small a { color: inherit; }

@media (max-width: 900px) {
  .people .grid, .real-world .grid, .hero.about .grid, .band.contact .grid { grid-template-columns: 1fr; }
  .people .photo { order: -1; max-width: 560px; }
  .photo.tall { aspect-ratio: 4 / 3; }
  .card ul { columns: 1; }
  .cards.two { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  header .wrap { min-height: 84px; padding-right: 24px; }
  .logo { height: 44px; }
  nav { gap: 14px; }
  nav a:not(.btn) { display: none; }
  .dog { display: none; }
  section { padding: 52px 0; }
  .hero { padding-top: 40px; }
  .hero .photo.wide { aspect-ratio: 4 / 3; }
  .form .row { grid-template-columns: 1fr; }
  .cta { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
