* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: #1d1d1d;
  background: #fff;
}

img {
  max-width: 100%;
}

.site-header {
  min-height: 140px;
  display: flex;
  align-items: center;
  background: #fff;
}

.container {
  width: min(1240px, calc(100% - 4rem));
  margin-inline: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.logo-link {
  flex: 0 0 auto;
}

.logo-link img {
  display: block;
  width: 96px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #171717;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  border: 1px solid #d7d7d7;
  border-radius: 0.35rem;
  padding: 0.7rem 0.9rem;
  color: #171717;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.menu-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid #55319b;
  outline-offset: 4px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 608px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #26104f;
}

.hero__background,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__background {
  z-index: -2;
}

.hero__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  z-index: -1;
  background: rgba(27, 7, 61, 0.08);
}

.hero__content {
  width: min(850px, calc(100% - 3rem));
  padding-block: 2.5rem 3rem;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 1.75rem;
  font-size: 1.36rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero__title {
  margin: 0;
  font-size: clamp(3rem, 3.1vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero__intro {
  margin: 1.5rem auto 0;
  max-width: 820px;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.48;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.65rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button--light {
  color: #55319b;
  background: #fff;
}

.button--light:hover {
  color: #fff;
  background: #55319b;
}

.button:active {
  transform: translateY(1px);
}

@media (max-width: 1180px) {
  .primary-nav {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0 1.5rem;
  }

  .nav-links.is-open {
    display: flex;
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: auto;
    padding-block: 1rem;
  }

  .container {
    width: min(100% - 2rem, 1240px);
  }

  .logo-link img {
    width: 78px;
  }

  .hero {
    min-height: 610px;
  }

  .hero__background img {
    object-position: 54% center;
  }

  .hero__content {
    width: min(100% - 2rem, 680px);
    padding-block: 3.5rem;
  }

  .hero__eyebrow {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero__intro {
    margin-top: 1.35rem;
    font-size: 1rem;
  }

  .hero__intro br {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 640px;
  }

  .hero__background img {
    object-position: 51% center;
  }

  .hero__title br {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Publications */
.publications {
  padding: 92px 0 158px;
  background: #fff;
}

.publications__container {
  width: min(1386px, calc(100% - 4rem));
  margin-inline: auto;
}

.publications__heading {
  margin: 0;
  font-size: clamp(2.35rem, 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.publications__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px;
  margin-top: 78px;
}

.publication {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.publication__visual {
  width: 100%;
  height: 493px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.publication__visual img {
  display: block;
  width: 100%;
  max-width: 371px;
  height: auto;
}

.publication__brand {
  display: block;
  width: auto;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  margin-top: 28px;
}

.publication__brand--canmaker {
  height: 55px;
}

.publication__brand--innovations {
  height: 56px;
}

.publication__brand--eco {
  height: 56px;
}

.publication__title {
  margin: 18px 0 0;
  font-size: 1.78rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.publication__button {
  margin-top: 27px;
}

.button--purple {
  color: #fff;
  background: #56309a;
}

.button--purple:hover {
  color: #fff;
  background: #412174;
}

@media (max-width: 1060px) {
  .publications__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px 48px;
  }
}

@media (max-width: 768px) {
  .publications {
    padding: 68px 0 92px;
  }

  .publications__container {
    width: min(100% - 2rem, 1386px);
  }

  .publications__grid {
    grid-template-columns: 1fr;
    gap: 76px;
    margin-top: 52px;
  }

  .publication {
    align-items: center;
    text-align: center;
  }

  .publication__visual {
    height: auto;
    justify-content: center;
  }

  .publication__visual img {
    width: min(100%, 371px);
  }

  .publication__brand {
    margin-top: 28px;
    object-position: center;
  }

  .publication__title {
    font-size: 1.6rem;
  }
}

@media (max-width: 520px) {
  .publication__button {
    width: auto;
    max-width: 100%;
  }
}


/* Events banner */
.events-banner {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: #382080;
}

.events-banner img {
  display: block;
  width: 100%;
  height: auto;
}


/* Events overview */
.events-overview {
  padding: 112px 0 122px;
  background: #fff;
}

.events-overview__container {
  width: min(1280px, calc(100% - 4rem));
  margin-inline: auto;
}

.events-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  align-items: center;
  gap: 80px;
}

.events-overview__content {
  max-width: 550px;
}

.events-overview__heading {
  margin: 0;
  font-size: clamp(2.7rem, 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.events-overview__copy {
  margin-top: 26px;
  font-size: 1.16rem;
  line-height: 1.48;
}

.events-overview__copy p {
  margin: 0;
}

.events-overview__copy p + p {
  margin-top: 26px;
}

.events-overview__media {
  min-width: 0;
}

.events-overview__media img {
  display: block;
  width: 100%;
  height: auto;
}

.events-overview__logos {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 92px;
}

@media (max-width: 1100px) {
  .events-overview__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    gap: 52px;
  }

  .events-overview__copy {
    font-size: 1.05rem;
  }

  .events-overview__logos {
    margin-top: 72px;
  }
}

@media (max-width: 820px) {
  .events-overview {
    padding: 76px 0 84px;
  }

  .events-overview__container {
    width: min(100% - 2rem, 1280px);
  }

  .events-overview__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .events-overview__content {
    max-width: 680px;
  }

  .events-overview__media {
    width: 100%;
  }

  .events-overview__logos {
    margin-top: 62px;
  }
}

@media (max-width: 520px) {
  .events-overview__heading {
    font-size: 2.35rem;
  }

  .events-overview__copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .events-overview__copy p + p {
    margin-top: 22px;
  }

  .events-overview__logos {
    margin-top: 48px;
  }
}


/* Webinars banner */
.webinars-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #24104f;
}

.webinars-banner img {
  display: block;
  width: 100%;
  height: auto;
}


/* Reusable split section */
.split-section {
  padding: 106px 0 126px;
  background: #fff;
}

.split-section__container {
  width: min(1280px, calc(100% - 4rem));
  margin-inline: auto;
}

.split-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 550px) minmax(0, 600px);
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.split-section__content {
  min-width: 0;
}

.split-section__heading {
  margin: 49px 0 0;
  font-size: clamp(2.55rem, 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.split-section__copy {
  max-width: 555px;
  margin: 27px 0 0;
  font-size: 1.125rem;
  line-height: 1.48;
}

.split-section__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Canmaker webinar section */
.webinar-series__logo {
  display: block;
  width: 270px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.webinar-series__button {
  margin-top: 29px;
}

.webinar-series__secondary-copy {
  margin-top: 47px;
}

/* Footer */
.site-footer {
  padding: 78px 0 78px;
  background: #f8f8f8;
}

.site-footer__container {
  width: min(1280px, calc(100% - 4rem));
  margin-inline: auto;
}

.site-footer__logo {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

.site-footer__logo img {
  display: block;
  width: 96px;
  height: auto;
}

.site-footer__navigation {
  margin-top: 78px;
}

.site-footer__links,
.site-footer__legal ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links {
  gap: 38px;
}

.site-footer a {
  color: #161616;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__links a {
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer__divider {
  width: 100%;
  height: 1px;
  margin-top: 80px;
  background: #202020;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 35px;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
}

.site-footer__legal ul {
  gap: 30px;
}

.site-footer__legal a {
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1000px) {
  .split-section__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    gap: 52px;
  }

  .site-footer__links {
    gap: 24px 30px;
  }
}

@media (max-width: 820px) {
  .split-section {
    padding: 78px 0 88px;
  }

  .split-section__container,
  .site-footer__container {
    width: min(100% - 2rem, 1280px);
  }

  .split-section__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .split-section__content {
    max-width: 680px;
  }

  .split-section__heading {
    margin-top: 38px;
  }

  .split-section__media {
    width: 100%;
  }

  .site-footer {
    padding: 64px 0;
  }

  .site-footer__navigation {
    margin-top: 54px;
  }

  .site-footer__divider {
    margin-top: 58px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .split-section__heading {
    font-size: 2.35rem;
  }

  .split-section__copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .webinar-series__logo {
    width: 235px;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 18px;
  }

  .site-footer__legal ul {
    flex-direction: column;
    gap: 15px;
  }
}
