:root {
  --green: #83b42f;
  --ink: #222222;
  --muted: #777777;
  --body: #555555;
  --nav: #eae6de;
  --footer: #282828;
  --feature: #eeeeee;
  --intro: #f5f5f5;
  --card: #808080;
  --max: 1140px;
  --shadow: -12px 12px 57px rgba(16, 45, 94, 0.15);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: #333333;
  background: #ffffff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  padding: 28px 0 8px;
}

.nav-bar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  background: var(--nav);
  border-radius: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  position: relative;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--green);
}

/* Hero */
.hero {
  padding: 72px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-copy {
  background: #ffffff;
  box-shadow: var(--shadow);
  border-radius: 3px;
  padding: 56px 48px 48px;
  position: relative;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.lede {
  margin: 0 0 28px;
  color: var(--body);
  font-size: 18px;
  line-height: 26px;
  max-width: 34em;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 3px;
}

.btn:hover {
  filter: brightness(0.95);
}

/* Intro */
.intro {
  background: var(--intro);
  padding: 96px 0 88px;
  text-align: left;
}

.intro .wrap {
  width: min(860px, calc(100% - 48px));
}

.intro .eyebrow,
.intro h2 {
  text-align: center;
}

.intro h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
}

.intro p {
  margin: 0 0 18px;
  color: var(--body);
  font-size: 18px;
  line-height: 26px;
}

.subhead {
  margin: 36px 0 12px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

/* Feature rows */
.features {
  background: var(--feature);
  padding: 36px 0 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 18px 0 28px;
}

.feature-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 42px 40px 36px;
  text-align: left;
}

.feature-card h2 {
  margin: 0 0 14px;
  color: #000000;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.feature-card p {
  margin: 0 0 14px;
  color: var(--body);
  font-size: 18px;
  line-height: 26px;
}

.feature-card ul {
  margin: 8px 0 0;
  padding-left: 22px;
  text-align: left;
  color: var(--body);
  font-size: 18px;
  line-height: 1.45;
}

.feature-card li {
  margin: 4px 0;
}

.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA */
.cta {
  background: #ffffff;
  padding: 72px 0;
}

.cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.cta .eyebrow {
  margin-bottom: 8px;
}

.cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.15;
  max-width: none;
}

.cta-action {
  display: flex;
  justify-content: flex-end;
}

/* Testimonials */
.reviews {
  background: #f6f6f6;
  padding: 28px 0 72px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.review {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  color: #ffffff;
  text-align: center;
  padding: 28px 28px 32px;
}

.review-mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  margin: 0 0 10px;
  font-weight: 700;
}

.review p {
  flex: 1;
  margin: 0 0 22px;
  font-size: 17.6px;
  font-style: italic;
  line-height: 1.45;
}

.review img {
  width: 99px;
  height: 99px;
  object-fit: cover;
  margin: 0 auto 12px;
}

.review h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.review .role {
  display: block;
  margin-top: 6px;
  font-size: 11.2px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #ffffff;
  padding: 78px 0 86px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 40px;
}

.site-footer h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 25.5px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 6px 0;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.social {
  display: flex;
  gap: 8px;
}

.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ffffff;
}

.social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social .facebook { background: #3b5998; }
.social .youtube { background: #cd201f; }
.social .pinterest { background: #bd081c; }

/* Standalone article */
.article {
  background: #ffffff;
  padding: 72px 0 96px;
}

.article .wrap {
  width: min(860px, calc(100% - 48px));
}

.article h1 {
  margin: 0 0 22px;
}

.article h2 {
  margin: 42px 0 16px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.article h1 + h2 {
  margin-top: 8px;
}

.article blockquote {
  margin: 28px 0 18px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--green);
  color: var(--body);
  font-size: 18px;
  line-height: 26px;
}

.article p,
.article li {
  color: var(--body);
  font-size: 18px;
  line-height: 26px;
}

.article p {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.article ul {
  margin: 0 0 8px;
  padding-left: 22px;
}

.article li {
  margin: 0 0 16px;
}

.article ul.point-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.article ul.point-grid li {
  margin: 0;
  background: var(--intro);
  border-radius: 4px;
  padding: 18px 18px 16px;
}

.article a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

.article a.btn {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.article-photo {
  width: 100%;
  height: auto;
  margin: 8px 0 26px;
  border-radius: 4px;
}

.article-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin: 42px 0 8px;
}

.article-split-photo-left {
  grid-template-columns: 0.85fr 1.15fr;
}

.article-side {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* Review videos */
.video-reviews {
  padding: 56px 0 40px;
}

.video-review {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 28px 0 40px;
}

.video-portrait {
  padding-top: 177.78%;
}

.video-quote h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.video-quote p {
  margin: 0 0 16px;
  color: var(--body);
  font-size: 18px;
  line-height: 26px;
}

.video-by {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 980px) {
  h1,
  .intro h2,
  .cta h2 {
    font-size: 36px;
  }

  .hero-grid,
  .feature-row,
  .cta-row,
  .review-grid,
  .footer-grid,
  .article-split,
  .video-review {
    grid-template-columns: 1fr;
  }

  .video-review .video {
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .hero-visual img {
    margin-top: 8px;
  }

  .cta h2 {
    max-width: none;
  }

  .cta-action {
    justify-content: flex-start;
  }

  .nav-burger {
    display: flex;
    margin-left: auto;
    margin-right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .nav-bar {
    flex-wrap: wrap;
    justify-content: flex-end;
    min-height: 68px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 12px 18px;
    align-items: stretch;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
    padding: 14px 18px;
  }
}

@media (max-width: 640px) {
  .article ul.point-grid {
    grid-template-columns: 1fr;
  }
}
