:root {
  --green: #0f9a2f;
  --green-dark: #0b7d25;
  --red: #d41317;
  --ink: #111;
  --muted: #555;
  --gray: #f2f2f2;
  --navy: #1a2b6d;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--muted); margin: 0 0 8px; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-size: 15px; padding: 8px 34px; transition: background .15s; }
.btn:hover { background: var(--green-dark); }
.btn-lg { padding: 14px 52px; font-size: 16px; }
.btn-plus { display: inline-flex; padding: 0 64px 0 0; line-height: 50px; }
.btn-plus span { background: #000; width: 50px; text-align: center; font-size: 20px; margin-right: 50px; }

/* Header */
.top { background: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.logo img { width: 200px; height: auto; }
.top nav { display: flex; align-items: center; gap: 40px; font-weight: 700; font-size: 14px; }
.top nav a:not(.btn) { text-decoration: none; }
.top nav a:not(.btn):hover, .top nav a.active { color: var(--red); }
.top nav .btn { font-weight: 400; padding: 6px 36px; }
#menu, .burger { display: none; }

/* Hero */
.hero { height: clamp(260px, 38vw, 520px); background: center/cover no-repeat; position: relative; }
.hero::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 86%; height: 8px; background: #000; }

/* Home intro */
.intro, .grow { display: flex; flex-direction: column; align-items: flex-end; padding: 0 0 80px; }
.intro .card { background: #fff; margin-top: -120px; position: relative; padding: 48px 56px; max-width: 760px; align-self: flex-start; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.intro h1 { font-size: clamp(30px, 4vw, 44px); }
.intro p, .grow p { color: var(--muted); }

.services { background: linear-gradient(#000 0 300px, #fff 300px); padding: 70px 0 70px; }
.services h2 { color: #fff; font-size: clamp(30px, 4vw, 42px); }
.services .eyebrow { color: #aaa; }
.services .sub { color: #ccc; max-width: 560px; margin: 0 0 40px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.tile { background: var(--gray); padding: 36px 32px; box-shadow: 8px 8px 0 #fff, 9px 9px 0 #ccc; }
.tile h3 { font-size: 22px; }
.tile ul { padding: 0; margin: 0 0 22px; list-style: none; color: var(--muted); }
.tile li { padding: 4px 0; }
.tile a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; }

.testimonial { background: var(--gray); padding: 90px 0; text-align: center; border-bottom: 8px solid #000; }
.testimonial blockquote { font-family: var(--display); font-size: clamp(18px, 2.2vw, 23px); max-width: 820px; margin: 0 auto 24px; line-height: 1.6; }
.testimonial .who { color: var(--muted); }

.grow { padding-top: 80px; }
.grow .card { background: var(--gray); padding: 48px 64px; width: 100%; }
.grow h2 { font-size: clamp(28px, 3.6vw, 40px); text-align: center; }
.grow p { max-width: 560px; margin: 0 auto; font-size: 14px; letter-spacing: .02em; border-left: 0; position: relative; }

/* Inner pages */
.title-card { background: var(--gray); margin: -90px auto 0; position: relative; max-width: 740px; padding: 40px 56px; }
.title-card h1 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.title-card .caps { text-transform: uppercase; text-align: center; letter-spacing: .03em; }
.prose { max-width: 700px; margin: 70px auto 100px; color: #333; }
.prose p { margin: 0 0 1.4em; }

.product { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; margin-top: 60px; }
.product + .product { margin-top: 0; }
.product .ph { background: center/cover no-repeat; min-height: 320px; }
.product .tx { background: #f0f0f0; padding: 70px 8%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.product h2 { font-family: var(--font); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: .04em; }
.product p { color: var(--muted); font-style: italic; font-size: 15px; }
.product .btn { margin-top: 12px; background: #5f8a0c; }
.product .btn:hover { background: #4d7209; }
.product.flip .ph { order: 2; }
[id] { scroll-margin-top: 100px; }

.apply { padding: 60px 0 40px; }
.apply h1 { font-size: clamp(32px, 4vw, 46px); text-align: center; }
.apply .sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 30px; }

.legal-page { margin-top: 60px; }
.legal-page h1 { font-size: 34px; }
.legal-page h2 { font-size: 22px; margin-top: 1.6em; }
.legal-page h3 { font-size: 17px; font-family: var(--font); font-weight: 700; margin-top: 1.2em; }

/* Footer */
footer { background: #000; color: #fff; text-align: center; padding: 70px 0 40px; }
footer h2 { font-size: 30px; letter-spacing: .06em; }
footer .lead { color: #ccc; margin: 0 0 28px; }
footer .contact { list-style: none; padding: 0; margin: 50px 0 30px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; font-size: 14px; letter-spacing: .04em; color: #ddd; }
footer .contact a { text-decoration: none; }
footer .contact a:hover { text-decoration: underline; }
footer .legal { font-size: 13px; color: #aaa; }

/* Mobile */
@media (max-width: 820px) {
  .top-in { height: 72px; }
  .logo img { width: 150px; }
  .burger { display: block; width: 32px; height: 24px; position: relative; cursor: pointer; }
  .burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #000; }
  .burger::before { top: 0; } .burger span { top: 10px; } .burger::after { bottom: 0; }
  .top nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 20px; box-shadow: 0 8px 20px rgba(0,0,0,.1); }
  .top nav a { padding: 12px 0; }
  #menu:checked ~ nav { display: flex; }
  .intro .card { margin-top: -60px; padding: 32px 24px; }
  .tiles { grid-template-columns: 1fr; }
  .services { background: linear-gradient(#000 0 260px, #fff 260px); }
  .grow .card { padding: 36px 24px; }
  .title-card { margin-top: -50px; padding: 28px 24px; }
  .product { grid-template-columns: 1fr; min-height: 0; }
  .product.flip .ph { order: 0; }
  .product .tx { padding: 44px 24px; }
  .prose { margin: 44px auto 70px; }
  footer .contact { flex-direction: column; gap: 10px; }
}
