/* These rules belong only to the three generated marketing pages. */
.product-page .content-wrapper { min-width: 0; }
.product-page .product-hero { padding: 56px 0 64px; }
.product-page .product-hero .hero__title {
  max-width: 940px;
  margin: 0 auto 22px;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.1;
  text-wrap: balance;
}
.product-page .product-hero .hero__text {
  max-width: 700px;
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}
.product-page .product-hero .hero__actions { margin-bottom: 0; }
.product-page .product-hero .hero__note { margin-top: 20px; font-family: inherit; font-size: 13px; }
.product-breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: 13px; color: var(--muted); }
.product-breadcrumb a { color: var(--blue); text-underline-offset: 3px; }
.product-breadcrumb a:hover { text-decoration: underline; }
.product-page .product-hero .hero__kicker { margin-bottom: 20px; }

.product-page .section { padding: 64px 0; }
.product-page .section__title { font-size: clamp(27px, 3.2vw, 36px); line-height: 1.2; text-wrap: balance; margin-bottom: 24px; }
.product-section p, .product-list { color: var(--muted); font-size: 16px; line-height: 1.75; }
.product-section p + p { margin-top: 18px; }
.product-section a { color: #1d4ed8; text-underline-offset: 3px; }
.product-section p a, .product-list a { text-decoration: underline; }
.product-section a:hover { color: #1e40af; }
.product-section .btn--primary { color: #fff; text-decoration: none; }
.product-copy { min-width: 0; }
.product-section--prose .product-copy { max-width: 800px; }
.product-section--features + .product-section--example { border-top: 1px solid var(--border); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.product-card h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; letter-spacing: -.015em; text-wrap: balance; }
.product-card p { margin: 0; font-size: 15px; line-height: 1.75; }

.product-section--example .content-wrapper { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.product-example__intro { min-width: 0; padding-top: 10px; }
.product-example__intro .section__title { max-width: 16ch; }
.product-example__window { min-width: 0; overflow: hidden; border: 1px solid #2b2e4e; border-radius: 16px; background: #14162b; color: #c7cbe4; box-shadow: 0 12px 32px rgba(18,21,43,.08); }
.product-example__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid #2b2e4e; color: #a1a6c6; font: 12px var(--mono); }
.product-example__bar > span:first-child { color: #9298b6; font-size: 10px; letter-spacing: 2px; white-space: nowrap; }
.product-example__panel { padding: 20px 22px; }
.product-example__panel + .product-example__panel { border-top: 1px solid #2b2e4e; }
.product-example__label { margin-bottom: 12px; color: #aeb5d9; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.product-code { margin: 0; min-width: 0; max-width: 100%; overflow: auto; color: #e2e8f0; font: 12.5px/1.8 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
.product-code code { font: inherit; }
.product-list { margin: 0; padding: 0; list-style: none; }
.product-section--details .product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-section--details .product-list li { min-width: 0; padding: 24px 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-soft); }
.product-section--details .product-list strong { display: block; margin-bottom: 8px; color: var(--text); font-size: 16px; }
.product-list code { border-radius: 4px; padding: 2px 4px; font: .84em var(--mono); color: #334155; background: #e8eaf3; overflow-wrap: anywhere; }

.product-page .price-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-page .price-card { padding: 28px 20px; min-width: 0; }
.product-page .price .section__lead { margin-bottom: 36px; }
.product-page .price-more { margin-top: 36px; }
.product-page .product-section--cta { padding-top: 0; }
.product-section--cta .content-wrapper { padding-top: 44px; padding-bottom: 44px; border: 1px solid #dfe6fa; border-radius: 24px; background: linear-gradient(135deg, #f1f5ff, #fbfbfe 70%); text-align: center; }
.product-section--cta .section__title { max-width: 24ch; margin: 0 auto 18px; }
.product-section--cta .product-copy { max-width: 640px; margin: auto; }
.product-section--cta .btn { margin-top: 24px; }

.product-page--about .product-hero { padding-bottom: 48px; }
.product-page--about .product-hero .hero__title { font-size: clamp(34px, 4.5vw, 50px); }
.product-page--about .product-hero .hero__text { max-width: 620px; margin-bottom: 0; }
.product-page--about .product-section { padding: 40px 0; }
.product-page--about .product-section + .product-section .content-wrapper { padding-top: 40px; border-top: 1px solid var(--border); }
.product-page--about .product-section .content-wrapper { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 64px; }
.product-page--about .section__title { font-size: 25px; margin: 0; text-wrap: pretty; }
.product-page--about .product-section--details .product-list { display: block; }
.product-page--about .product-section--details .product-list li { padding: 0; margin-bottom: 12px; background: none; border: 0; border-radius: 0; }
.product-page--about .product-section:last-child { padding-bottom: 64px; }

.product-page .footer { padding: 32px 0; }
.product-footer__top, .product-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.product-footer__top { padding-bottom: 22px; }
.product-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; color: var(--muted); font-size: 14px; }
.product-footer__nav a:hover { color: var(--text); }
.product-footer__bottom { border-top: 1px solid var(--border); padding-top: 20px; }
.product-page .footer__links { flex-wrap: wrap; gap: 10px 20px; }
.product-page .footer__copyright { flex-shrink: 0; }

@media (max-width: 1100px) {
  .product-page .main-nav { display: block; }
  .product-page .main-nav__toggle { display: block; }
  .product-page .dropdown-menu { display: none; flex-direction: column; align-items: flex-end; gap: 16px; width: 100%; padding: 14px 0 4px; text-align: right; }
  .product-page .dropdown-menu.main-nav__menu--open { display: flex; }
  .product-page .dropdown-menu__login { margin-left: 0; }
  .product-page .main-nav__toggle.menu-open .icon--bars { display: none; }
  .product-page .main-nav__toggle.menu-open .icon--close { display: block; }
}
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--3 .product-card:last-child { grid-column: 1 / -1; }
  .product-page .price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .product-section--example .content-wrapper { grid-template-columns: 1fr; gap: 28px; }
  .product-example__intro { padding-top: 0; max-width: 720px; }
  .product-example__intro .section__title { max-width: 24ch; }
  .product-page--about .product-section .content-wrapper { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 680px) {
  .product-page .content-wrapper { padding-left: 20px; padding-right: 20px; }
  .product-page .product-hero { padding: 28px 0 40px; }
  .product-breadcrumb { margin-bottom: 24px; font-size: 12px; }
  .product-page .product-hero .hero__title { font-size: clamp(32px, 8.5vw, 42px); margin-bottom: 18px; }
  .product-page .product-hero .hero__text { font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
  .product-page .hero__kicker { font-size: 11px; padding: 5px 12px; }
  .product-page .hero__actions { display: grid; justify-content: stretch; gap: 10px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .product-page .hero__note { font-size: 12px; }
  .product-page .section { padding: 40px 0; }
  .product-page .section__title { font-size: 27px; margin-bottom: 22px; }
  .product-grid, .product-section--details .product-list { grid-template-columns: 1fr; gap: 14px; }
  .product-grid--3 .product-card:last-child { grid-column: auto; }
  .product-card { padding: 24px; }
  .product-section--details .product-list li { padding: 22px 24px; }
  .product-example__panel { padding: 18px; }
  .product-code { font-size: 12px; line-height: 1.8; }
  .product-example__bar { padding: 12px 18px; }
  .product-section--cta .content-wrapper { width: calc(100% - 40px); padding: 32px 24px; border-radius: 18px; }
  .product-section--cta .btn { width: 100%; padding-left: 18px; padding-right: 18px; }
  .product-page--about .product-section .content-wrapper { display: block; }
  .product-page--about .product-section { padding: 28px 0; }
  .product-page--about .product-section + .product-section .content-wrapper { padding-top: 28px; }
  .product-page--about .section__title { font-size: 24px; margin-bottom: 18px; }
  .product-page--about .product-hero .hero__text { margin-bottom: 0; }
  .product-footer__top, .product-footer__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .product-footer__nav { justify-content: flex-start; gap: 12px 20px; font-size: 13px; }
  .product-page .footer__links { gap: 12px 20px; }
}
@media (max-width: 480px) {
  .product-page .price-cards { grid-template-columns: 1fr; gap: 20px; }
}
