.menu-toggle {
  display: none;
}

main img {
  max-width: 100%;
}

.catalog-hero h1,
.blog-hero h1 {
  font-size: clamp(3.5rem, 5vw, 5rem) !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.legacy-catalog-hero h1,
.article-hero h1,
.standard-hero h1 {
  font-size: clamp(3.2rem, 4.5vw, 4.5rem) !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero {
  row-gap: 2rem;
  padding-bottom: 4rem;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3.3rem, 3.8vw, 4.2rem);
  line-height: .94;
  text-wrap: balance;
}

.hero-lead {
  max-width: 34rem;
}

.hero-benefits {
  max-width: 36rem;
  margin: 1.75rem 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-benefits li {
  min-width: 0;
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .12rem;
  background: var(--ink);
}

.hero-benefits strong {
  color: var(--paper);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.2;
}

.hero-benefits span {
  color: #aeb1aa;
  font-size: .78rem;
  line-height: 1.35;
}

.quote-card {
  margin-top: 0;
  width: 100%;
}

.field-grid input,
.field-grid select {
  color-scheme: light;
  color: #171816;
  background: #fff;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.field-grid select option {
  color: #171816;
  background: #fff;
  font-weight: 500;
}

.field-grid input::placeholder {
  color: #777b74;
  opacity: 1;
}

.industry-section,
.blog-section {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 6rem 0 3rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.industry-visual {
  grid-column: 1 / -1;
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  background: #10110f;
}

.industry-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.industry-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.68));
}

.industry-visual p {
  position: absolute;
  z-index: 1;
  left: 1.5rem;
  bottom: 1.25rem;
  margin: 0;
  color: #d8dad5;
  font-size: .8rem;
}

.industry-grid .category-card {
  min-height: 20rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.blog-feature {
  min-height: 38rem;
  position: relative;
  overflow: hidden;
}

.blog-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.9));
}

.blog-feature > div {
  position: absolute;
  z-index: 1;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
}

.blog-feature span,
.blog-list span {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.blog-feature h3 {
  max-width: 46rem;
  margin: .75rem 0 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.blog-feature p {
  max-width: 38rem;
  color: #cfd1cc;
}

.blog-feature a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
}

.blog-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.blog-list a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.blog-list a:last-child {
  border-bottom: 0;
}

.blog-list a:hover {
  background: #20211e;
}

.blog-list strong {
  font-size: 1.3rem;
  line-height: 1.25;
}

.site-footer {
  width: min(calc(100% - 3rem), var(--max));
  margin: 5rem auto 0;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0 4rem;
}

.footer-main > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}

.footer-main p {
  max-width: 28rem;
  color: var(--muted);
}

.footer-main h2 {
  margin: 0 0 .5rem;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-main a:not(.brand):hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  color: #777b74;
  font-size: .8rem;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    z-index: 30;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: .7rem;
    min-height: 2.75rem;
    padding: 0 .9rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: transparent;
    color: var(--paper);
    font: 600 .9rem/1 "Manrope", sans-serif;
  }

  .menu-toggle i,
  .menu-toggle i::before {
    display: block;
    width: 1rem;
    height: 1px;
    background: currentColor;
    content: "";
  }

  .menu-toggle i::before {
    transform: translateY(-5px);
  }

  .site-header .header-cta {
    display: none;
  }

  .site-header nav.is-open {
    display: flex;
    position: absolute;
    top: 4.9rem;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .75rem;
    background: #20211e;
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.45);
  }

  .site-header nav.is-open a {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-header nav.is-open a:last-child {
    border-bottom: 0;
  }

  .hero {
    row-gap: 1rem;
    padding-bottom: 2rem;
  }

  .quote-card {
    margin-top: 0;
    width: 100%;
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .industry-visual {
    min-height: 22rem;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-feature {
    min-height: 32rem;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .industry-section,
  .blog-section,
  .site-footer {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-visual {
    grid-column: auto;
    min-height: 16rem;
  }

  .industry-grid .category-card {
    min-height: 17rem;
  }

  .blog-feature {
    min-height: 30rem;
  }

  .blog-feature > div {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .blog-feature h3 {
    font-size: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-main > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: .5rem;
  }
}

.conversion-panel {
  width: min(calc(100% - 3rem), var(--max));
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding: clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(24rem, 1.1fr);
  gap: clamp(2rem, 5vw, 6rem);
  background: var(--paper, #f1eee6);
  color: var(--ink, #101210);
}

.conversion-panel h2 {
  max-width: 12ch;
  margin: .4rem 0 1rem;
  font-size: clamp(2.5rem, 4.2vw, 4.8rem);
  line-height: .93;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.conversion-panel__copy > p:not(.eyebrow) {
  max-width: 36rem;
  color: #4e504c;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.conversion-panel__cta {
  margin-top: 1.4rem;
  min-height: 4.4rem;
  padding: 0 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: var(--accent, #ff5627);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.conversion-panel__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  margin: 0;
  border-top: 1px solid rgba(16,18,16,.22);
}

.conversion-panel__facts div {
  min-height: 8.5rem;
  padding: 1.2rem 1rem 1rem 0;
  border-bottom: 1px solid rgba(16,18,16,.22);
}

.conversion-panel__facts div:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid rgba(16,18,16,.22);
}

.conversion-panel__facts dt {
  color: var(--accent, #ff5627);
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.conversion-panel__facts dd {
  max-width: 18rem;
  margin: .45rem 0 0;
  color: #4e504c;
  line-height: 1.4;
}

.conversion-panel__note {
  grid-column: 1 / -1;
  margin: 0;
  color: #696b66;
  font-size: .86rem;
}

@media (max-width: 800px) {
  .conversion-panel {
    width: min(calc(100% - 1.5rem), var(--max));
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(26rem, 1fr);
    grid-template-rows: minmax(42rem, auto) auto;
  }

  .hero-copy {
    padding-top: 4.5rem;
    padding-right: 2rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(3.3rem, 5vw, 4rem);
  }

  .hero-lead {
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: none;
    text-wrap: balance;
  }

  .hero-copy {
    padding-bottom: 5.5rem;
  }
}

@media (max-width: 520px) {
  .catalog-hero h1,
  .blog-hero h1 {
    font-size: clamp(2.8rem, 12vw, 3.3rem) !important;
    overflow-wrap: anywhere !important;
    hyphens: auto;
  }

  .legacy-catalog-hero h1,
  .article-hero h1,
  .standard-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3rem) !important;
    overflow-wrap: anywhere !important;
    hyphens: auto;
  }

  .article-cover img {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.9rem, 13vw, 4rem);
    line-height: .92;
  }

  .hero-lead {
    line-height: 1.5;
  }

  .hero-benefits {
    margin: 1.5rem 0 1.75rem;
  }

  .hero-benefits li {
    padding: .8rem;
  }

  .conversion-panel__facts {
    grid-template-columns: 1fr;
  }

  .conversion-panel__facts div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}
