:root {

  /* Colors — Greens */
  --forest:       #265626;
  --fern:         #678967;
  --sage:         #D7E2D7;
  --sage-light:   #BECCBE;
  --moss:         #45492F;

  /* Colors — Sage scale (light backgrounds) */
  --sage-300:     #C9D7C9;
  --sage-200:     #D9E3D9;
  --sage-100:     #E4EBE4;
  --sage-50:      #EFF3EF;

  /* Colors — Neutrals */
  --cream:        #FBFBEF;
  --ink:          #222222;
  --charcoal:     #5D5D5D;
  --stone:        #7D806D;
  --stone-light:  #A2A497;
  --stone-lighter:#C7C8C1;
  --white:        #FFFFFF;

  /* Colors — Orange */
  --orange:       #F47B03;
  --orange-light: #F7A34F;
  --peach:        #F9BD81;
  --peach-light:  #FCD7B4;

  /* Colors — Yellow */
  --yellow:       #F9CA06;
  --yellow-light: #FBDA51;
  --yellow-lighter:#FCE483;
  --yellow-pale:  #FDEFB4;

  /* Colors — Olive */
  --olive:        #A3AA0F;
  --olive-light:  #BEC457;
  --olive-lighter:#D1D487;
  --olive-pale:   #E3E5B7;


  /* Fonts */
  --font-helvetica:    Helvetica;
  --font-circular:     "Circular Std";
  --font-lyon-text:    "Lyon Text";
  --font-lyon-display: "Lyon Display";
  --font-dm-sans:      "DM Sans", sans-serif;
  --font-pt-serif:     "PT Serif", serif;

  /* Font weights */
  --weight-normal:  normal;
  --weight-medium:  500;
  --weight-black:   900;

  /* Font sizes */
  --text-xs:   10px;
  --text-sm:   12px;
  --text-md:   13px;
  --text-lg:   18px;
  --text-xl:   20px;
  --text-2xl:  24px;
  --text-3xl:  36px;
  --text-4xl:  46px;

  /* Line heights */
  --leading-tight:  19px;
  --leading-snug:   23px;
  --leading-normal: 30px;
  --leading-hero:   60px;
  --leading-loose:  84px;
  --leading-body:   19.2px;

  /* Layout */
  --content-width: 864px;

  /* Misc */
  --tracking-normal: 0px;
}

/* ─── Layout ──────────────────────────────────────────── */

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

body {
  background-color: var(--cream);
  color: var(--ink);
}

h1, h2, h3, h4, h5, h6, p, blockquote, li {
  text-wrap: pretty;
}

.clear{
  clear: both;
}

/* ─── Container ───────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

/* ─── Header ──────────────────────────────────────────── */

.hero-wrapper {
  background-color: var(--cream);
  background-image: url('images/Mask Group 36.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

header {
  background: transparent;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 20px;
}

header .logo{
  margin-top: 37px;
  display: block;
  height: 51px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 45px;
}

.site-nav a {
  font-family: var(--font-dm-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--moss);
}

.site-nav a:hover {
  color: var(--orange);
}

/* ─── Hero ────────────────────────────────────────────── */

#hero {
  padding: 84px 0 93px;
}

#hero h1 {
  font-family: var(--font-pt-serif);
  font-weight: normal;
  font-size: var(--text-4xl);
  line-height: var(--leading-hero);
  letter-spacing: var(--tracking-normal);
  color: var(--moss);
  padding-bottom: 7px;
}

#hero p strong{
  font-family: var(--font-dm-sans);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: var(--leading-normal);
  letter-spacing: .3px;
  color: var(--moss);
}

#hero p{
  font-family: var(--font-pt-serif);
  font-weight: var(--weight-normal);
  font-size: var(--text-2xl);
  line-height: var(--leading-normal);
  color: var(--moss);
  max-width: 495px;
  padding-bottom: 14px
}

#hero a{
  font-family: var(--font-pt-serif);
  font-weight: var(--weight-normal);
  font-size: var(--text-2xl);
  line-height: var(--leading-2xl);
  letter-spacing: var(--tracking-normal);
  color: var(--orange);
  text-decoration: underline;
  display: block;
  padding-top: 14px;
}

#hero .container{
  display: block;
}

#hero .text{
  width: 495px;
  display: block;
  float: left;
}

#hero .illustration{
  float: left;
  display: block;
  width: 369px;
}

#hero .illustration img{
  display: block;
  left: 52px;
  position: relative;
  top: -31px;
}

/* ─── How It Works ────────────────────────────────────────────── */

section#how-it-works {
  background-color: var(--sage);
  background-image: url('images/Mask Group 33.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  padding-top: 75px;
  padding-bottom: 142px;
  border-top: 11px solid var(--olive);
}

.how-card {
  background: var(--forest);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 33px 60px 57px;
  gap: 20px;
  overflow: hidden;
}

.how-card__text {
  width: 373px;
}

h2.how-card__label {
  font-family: var(--font-dm-sans);
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 5px;
  margin-top: 13px;
}

.how-card__text p {
  font-family: var(--font-pt-serif);
  font-weight: normal;
  font-size: var(--text-xl);
  line-height: 26px;
  color: var(--cream);
}

.how-card__illustration {
  flex-shrink: 0;
  margin-left: 41px;
}

.how-card__illustration img {
  display: block;
  width: 318.5px;
  height: auto;
}

.how-details {
  display: flex;
  align-items: center;
  gap: 88px;
  padding-top: 65px;
  overflow: visible;
}

.how-details__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 495px;
}

h3.how-details__label {
  font-family: var(--font-dm-sans);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--forest);
}

.how-details__heading {
  font-family: var(--font-dm-sans);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: var(--leading-normal);
  color: var(--moss);
}

.how-details__text p{
  width: 495px;
}

.how-details__text p:not(.how-details__label):not(.how-details__heading) {
  font-family: var(--font-pt-serif);
  font-weight: normal;
  font-size: var(--text-2xl);
  line-height: var(--leading-normal);
  color: var(--moss);
}

.btn-cta {
  display: block;
  background: var(--orange);
  color: var(--cream);
  font-family: var(--font-dm-sans);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 24px;
  margin-top: 8px;
  width: 75%;
  text-align: center;
}

.how-details__illustration {
  flex-shrink: 0;
  margin-right: -80px;
}

.how-details__illustration img {
  display: block;
  width: 320px;
  height: auto;
  position: relative;
  top: -26px;
}

/* ─── Testimonials ────────────────────────────────────── */

section#testimonials {
  background-color: var(--moss);
  position: relative;
  isolation: isolate;
  padding-top: 65px;
  padding-bottom: 85px;
  border-top: 11px solid var(--fern);
}

section#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/Mask Group 34.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

section#testimonials h2 {
  font-family: var(--font-pt-serif);
  font-weight: normal;
  font-size: var(--text-3xl);
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  margin-bottom: 51px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 49px 164px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.testimonial-card__attribution {
  width: 100%;
  font-family: var(--font-dm-sans);
  font-weight: normal;
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--moss);
  text-align: center;
}

.testimonial-card__attribution strong {
  font-weight: 700;
}

.testimonial-card__body {
  display: contents;
}

.testimonial-card img {
  width: 187px;
  height: 187px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 18px;
}

.testimonial-card blockquote {
  font-family: var(--font-pt-serif);
  font-weight: normal;
  font-size: var(--text-2xl);
  line-height: var(--leading-normal);
  color: var(--forest);
  text-align: center;
  padding: 17px 0 24px;
}

/* ─── About ───────────────────────────────────────────── */

section#about {
  background-color: var(--cream);
  background-image: url('images/Mask Group 35.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  border-top: 11px solid var(--fern);
  border-bottom: 11px solid var(--moss);
  padding-top: 50px;
  padding-bottom: 82px;
}

.about-inner {
  display: flex;
  align-items: flex-start;
  gap: 89px;
}

.about__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 495px;
  order: 1;
}


.about__text a{
  color: var(--orange);
  text-decoration: underline;
}

.about__text h2 {
  font-family: var(--font-pt-serif);
  font-weight: normal;
  font-size: var(--text-3xl);
  line-height: 1.2;
  color: var(--moss);
}

.about__text p {
  font-family: var(--font-pt-serif);
  font-weight: normal;
  font-size: var(--text-xl);
  line-height: 26px;
  color: var(--moss);
}

.about__photo {
  flex-shrink: 0;
  order: 2;
}

.about__photo img {
  display: block;
  width: 276px;
  height: auto;
  margin-top: 69px;
}


/* ─── Footer ───────────────────────────────────────────── */

footer{
  background-color: #BACCBA;
  background-image: url('images/Mask Group 37.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  color: var(--moss);
  font-size: var(--text-xl);
  padding: 29px 0 80px;
}
footer .container{
  display: flex;
  gap: 160px;
}

footer .container div{
  max-width: 495px;
}
footer .container div p{
  margin-bottom: 41px;
}

footer input{
  border: none;
  padding: 10px;
  font-size: var(--text-xl);
  background: var(--white);
  height: 49px;
  max-width: 294px;
  display: block;
  float: left;
  font-family: var(--font-dm-sans);
}
footer button{
  border: none;
  padding: 10px 40px;
  font-size: var(--text-md);
  background: var(--forest);
  color: var(--cream);
  margin-left: 8px;
  font-weight: light;
  text-transform: uppercase;
  max-width: 137px;
  height: 49px;
  display: block;
  float: left;
}

footer nav{
  display: flex;
  flex-direction: column;
  gap: 13px;
}

footer .email-signup {
    display: block;
    float: left;
}

footer nav a{
      color: var(--moss);
      font-size: var(--text-xl);
}

/* ─── Hamburger (hidden on desktop) ───────────────────── */

.nav-toggle {
  display: none;
}

/* ─── Mobile ──────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Container padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Header */
  header .container {
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
    align-items: center;
  }

  header .logo {
    margin: 5px auto 0;
    height: 38px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--moss);
    transition: transform 0.2s, opacity 0.2s;
  }

  header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--sage-300);
    margin-top: 12px;
  }

  header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--sage-100);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  /* Hero */
  #hero {
    padding: 36px 0 48px;
  }

  #hero h1 {
    font-size: var(--text-3xl);
    line-height: 1.2;
  }

  #hero p {
    font-size: var(--text-lg);
    line-height: 1.5;
    max-width: 100%;
  }

  #hero a {
    font-size: var(--text-lg);
  }

  #hero .text {
    width: 100%;
    float: none;
  }

  #hero .illustration {
    float: none;
    width: 25vw;
    margin: 32px auto 0;
    display: block;
  }

  #hero .illustration img {
    position: static;
    width: 100%;
    height: auto;
  }

  /* How It Works */
  section#how-it-works {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .how-card {
    flex-direction: column;
    padding: 28px 24px 36px;
    align-items: center;
    text-align: center;
  }

  .how-card__text {
    width: 100%;
  }

  .how-card__illustration {
    margin-left: 0;
    width: 25vw;
    flex-shrink: 0;
  }

  .how-card__illustration img {
    width: 100%;
    height: auto;
  }

  .how-details {
    flex-direction: column;
    gap: 0;
    padding-top: 40px;
    align-items: center;
  }

  .how-details__text {
    max-width: 100%;
    width: 100%;
  }

  .how-details__text p {
    width: 100%;
  }

  .how-details__text p:not(.how-details__label):not(.how-details__heading) {
    font-size: var(--text-lg);
    line-height: 1.5;
  }

  .how-details__heading {
    font-size: var(--text-xl);
  }

  .btn-cta {
    width: 100%;
    font-size: var(--text-lg);
  }

  .how-details__illustration {
    margin-right: 0;
    width: 25vw;
    margin-top: 32px;
  }

  .how-details__illustration img {
    position: static;
    width: 100%;
    height: auto;
  }

  /* Testimonials */
  section#testimonials {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  section#testimonials h2 {
    font-size: var(--text-2xl);
    margin-bottom: 32px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .testimonial-card {
    margin: 0 10px;
    align-items: stretch;
  }

  .testimonial-card__body {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .testimonial-card:nth-child(even) .testimonial-card__body {
    flex-direction: row-reverse;
  }

  .testimonial-card img {
    width: 90px;
    height: 90px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .testimonial-card blockquote {
    font-size: var(--text-lg);
    line-height: 1.5;
    text-align: left;
    padding: 0;
  }

  .testimonial-card:nth-child(even) blockquote {
    text-align: right;
  }

  /* About */
  section#about {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .about-inner {
    display: block;
  }

  .about__photo {
    float: right;
    margin: 40px 0 0 20px;
    width: auto;
  }

  .about__photo img {
    width: 130px;
    margin-top: 0;
  }

  .about__text {
    display: block;
    max-width: 100%;
  }

  .about__text h2 {
    font-size: var(--text-2xl);
    margin-bottom: 20px;
  }

  .about__text p {
    font-size: var(--text-lg);
    line-height: 1.5;
    margin-bottom: 20px;
  }

  /* Footer */
  footer {
    padding: 32px 0 60px;
  }

  footer .container {
    flex-direction: column;
    gap: 40px;
  }

  footer .container div {
    max-width: 100%;
  }

  footer .email-signup {
    float: none;
  }

  footer .email-signup form {
    display: flex;
    flex-wrap: nowrap;
  }

  footer input {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    float: none;
  }

  footer button {
    flex: 0 0 auto;
    float: none;
    margin-left: 8px;
  }

  footer nav {
    gap: 10px;
  }
}

/* ─── Character Styles */

.text-markup {
  font-family: var(--font-helvetica);
  font-style: normal;
  font-weight: var(--weight-normal);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
  color: var(--markup);
}

.text-bullets {
  font-family: var(--font-circular);
  font-style: normal;
  font-weight: var(--weight-normal);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--white);
  text-decoration: underline;
}

.text-testimonial-attribution {
  font-family: var(--font-circular);
  font-style: normal;
  font-weight: var(--weight-normal);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  color: var(--white);
  text-decoration: underline;
}

.text-testimonial-block {
  font-family: var(--font-lyon-text);
  font-style: normal;
  font-weight: var(--weight-normal);
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
  letter-spacing: var(--tracking-normal);
  color: var(--white);
}

.text-body {
  font-family: var(--font-circular);
  font-style: normal;
  font-weight: var(--weight-normal);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
}

.text-h1 {
  font-family: var(--font-lyon-text);
  font-style: normal;
  font-weight: var(--weight-black);
  font-size: var(--text-4xl);
  line-height: var(--leading-loose);
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
}

.text-h2 {
  font-family: var(--font-lyon-text);
  font-style: normal;
  font-weight: var(--weight-black);
  font-size: var(--text-3xl);
  line-height: var(--leading-3xl);
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
}

.text-h3 {
  font-family: var(--font-lyon-display);
  font-style: normal;
  font-weight: var(--weight-medium);
  font-size: var(--text-2xl);
  line-height: var(--leading-2xl);
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
}

.text-h4 {
  font-family: var(--font-lyon-display);
  font-style: normal;
  font-weight: var(--weight-medium);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
}

.text-h5 {
  font-family: var(--font-lyon-display);
  font-style: normal;
  font-weight: var(--weight-medium);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
}

.text-h6 {
  font-family: var(--font-lyon-display);
  font-style: normal;
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
}
