#more-matcha-terms {
  --mm-ink: #1C1C1E;
  --mm-ink-soft: #48484A;
  --mm-sage: #718A6E;
  --mm-sage-mid: #8EA48A;
  --mm-sage-light: #BED0BB;
  --mm-paper: #F4F6F4;
  --mm-white: #FFFFFF;
  --mm-line: rgba(28, 28, 30, 0.16);
  --mm-display: "Ayr Modern", "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mm-body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--mm-ink);
  background: var(--mm-paper);
  font-family: var(--mm-body);
  -webkit-font-smoothing: antialiased;
}

#more-matcha-terms,
#more-matcha-terms *,
#more-matcha-terms *::before,
#more-matcha-terms *::after {
  box-sizing: border-box;
}

#more-matcha-terms :where(h1, h2, p, ol) {
  margin: 0;
}

#more-matcha-terms a {
  color: inherit;
}

#more-matcha-terms .mm-terms__hero {
  background: var(--mm-sage-light);
  border-bottom: 1px solid rgba(28, 28, 30, 0.12);
}

#more-matcha-terms .mm-terms__hero-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 72px) clamp(48px, 6vw, 88px);
}

#more-matcha-terms .mm-terms__eyebrow {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3E4C3C;
}

#more-matcha-terms .mm-terms__title {
  max-width: 920px;
  margin-top: 14px;
  font-family: var(--mm-display);
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 900;
  font-stretch: 78%;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

#more-matcha-terms .mm-terms__lead {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--mm-ink-soft);
}

#more-matcha-terms .mm-terms__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(28, 28, 30, 0.18);
  font-size: 13px;
  line-height: 1.5;
  color: var(--mm-ink-soft);
}

#more-matcha-terms .mm-terms__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

#more-matcha-terms .mm-terms__aside {
  display: none;
}

#more-matcha-terms .mm-terms__content {
  width: 100%;
  max-width: 900px;
  padding: clamp(44px, 6vw, 80px) 0 clamp(80px, 10vw, 144px);
}

#more-matcha-terms .mm-terms__intro {
  margin-bottom: clamp(48px, 7vw, 88px);
  padding: 24px 0 28px;
  border-top: 1px solid var(--mm-ink);
  border-bottom: 1px solid var(--mm-line);
}

#more-matcha-terms .mm-terms__intro p {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
}

#more-matcha-terms .mm-terms__section {
  scroll-margin-top: 100px;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--mm-line);
}

#more-matcha-terms .mm-terms__section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

#more-matcha-terms .mm-terms__section-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 26px;
}

#more-matcha-terms .mm-terms__section-head > span {
  padding-top: 6px;
  font-family: var(--mm-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--mm-sage);
}

#more-matcha-terms .mm-terms__section h2 {
  font-family: var(--mm-display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 900;
  font-stretch: 78%;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

#more-matcha-terms .mm-terms__section p {
  max-width: 74ch;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.78;
  color: #2C2C2E;
}

#more-matcha-terms .mm-terms__section p:first-of-type {
  margin-top: 0;
}

#more-matcha-terms .mm-terms__section strong {
  font-weight: 600;
}

#more-matcha-terms .mm-terms__section a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#more-matcha-terms .mm-terms__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding: 28px 0 0;
  border-top: 1px solid var(--mm-ink);
  font-size: 13px;
  line-height: 1.6;
  color: var(--mm-ink-soft);
}

#more-matcha-terms .mm-terms__footer a {
  width: fit-content;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@media (min-width: 980px) {
  #more-matcha-terms .mm-terms__layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(56px, 7vw, 120px);
  }

  #more-matcha-terms .mm-terms__aside {
    display: block;
    padding-top: 64px;
  }

  #more-matcha-terms .mm-terms__nav {
    position: sticky;
    top: 96px;
    padding-right: 24px;
  }

  #more-matcha-terms .mm-terms__nav-title {
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mm-sage);
  }

  #more-matcha-terms .mm-terms__nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--mm-line);
  }

  #more-matcha-terms .mm-terms__nav li {
    border-bottom: 1px solid var(--mm-line);
  }

  #more-matcha-terms .mm-terms__nav a {
    display: block;
    padding: 9px 0;
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
    color: var(--mm-ink-soft);
    transition: color 0.2s ease, transform 0.2s ease;
  }

  #more-matcha-terms .mm-terms__nav a:hover {
    color: var(--mm-ink);
    transform: translateX(3px);
  }

  #more-matcha-terms .mm-terms__contact {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--mm-ink);
    font-size: 12px;
    line-height: 1.5;
  }

  #more-matcha-terms .mm-terms__contact span {
    display: block;
    margin-bottom: 4px;
    color: var(--mm-ink-soft);
  }

  #more-matcha-terms .mm-terms__contact a {
    font-weight: 600;
    text-decoration: none;
  }
}

@media (max-width: 560px) {
  #more-matcha-terms .mm-terms__hero-inner {
    padding-top: 48px;
  }

  #more-matcha-terms .mm-terms__title {
    font-size: clamp(40px, 15vw, 64px);
  }

  #more-matcha-terms .mm-terms__lead {
    font-size: 16px;
  }

  #more-matcha-terms .mm-terms__meta {
    flex-direction: column;
    gap: 4px;
  }

  #more-matcha-terms .mm-terms__section-head {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  #more-matcha-terms .mm-terms__section p {
    font-size: 15px;
    line-height: 1.72;
  }
}

/* Shoptet full-width content helpers */
.content-wrapper.container:has(#more-matcha-terms) {
  width: auto;
  padding-left: 0;
  padding-right: 0;
}

#content:has(#more-matcha-terms) {
  padding-left: 0;
  padding-right: 0;
}

.welcome-wrapper:has(#more-matcha-terms),
.one-column-body .welcome-wrapper .welcome:has(#more-matcha-terms) {
  padding: 0;
  width: auto;
  margin-left: 0;
  margin-right: 0;
}
