@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter/regular.woff2") format("woff2"),
       url("/static/fonts/inter/regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter/700.woff2") format("woff2"),
       url("/static/fonts/inter/700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("/static/fonts/rubik/regular.woff2") format("woff2"),
       url("/static/fonts/rubik/regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("/static/fonts/rubik/700.woff2") format("woff2"),
       url("/static/fonts/rubik/700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #09152b;
  --color-text: #000000;
  --color-blue: #4678ee;
  --color-blue-hover: #3b66c9;
  --color-soft: #f1f4f9;
  --color-white: #ffffff;
  --color-footer: #1e1e1e;
  --content-width: 1240px;
  --header-height: 82px;
}

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

html {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.15;
  background: var(--color-white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.4;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
  margin: auto;
}

a {
  color: #0270e0;
  cursor: pointer;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

p {
  font-size: 16px;
  line-height: 1.375;
  margin: 0 0 1.4rem;
}

strong {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  margin: 0 0 1.4rem;
}

h1 {
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-ink);
}

h2 {
  font-size: 32px;
  line-height: 1.2;
  color: #000000;
}

h3 {
  font-size: 24px;
  line-height: 1.4;
  color: #000000;
}

h4 {
  font-size: 18px;
  line-height: 1.4;
  color: #000000;
  font-weight: 400;
}

.site-main {
  min-height: 60vh;
}

/* Header */

.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-height);
  background: var(--color-white);
  box-shadow: 0 2px 14px rgba(9, 21, 43, .04);
}

.site-header__inner {
  width: min(var(--content-width), calc(100% - 40px));
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

@media screen and (min-width: 1380px) {
  .site-header__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 42px;
}

.brand img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 30px;
  object-fit: contain;
  margin: 0;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.site-nav a {
  position: relative;
  display: inline-block;
  margin: 0 32px;
  padding: 8px 0;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 2em;
  font-weight: 700;
  text-transform: uppercase;
  word-break: normal;
}

.site-nav a::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--color-blue);
  position: absolute;
  left: 0;
  bottom: 2px;
  visibility: hidden;
  transition: width .2s ease-in-out;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a:active {
  color: var(--color-blue);
  text-decoration: none;
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.site-nav a:active::after {
  visibility: visible;
  width: 100%;
}

.nav-toggle {
  display: none;
}

/* Shared layout */

.section-inner {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

@media screen and (min-width: 1380px) {
  .section-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.section-inner--narrow {
  max-width: 940px;
}

/* Home hero */

.home-hero {
  display: flex;
  align-items: center;
  background: var(--color-white);
  padding: 64px 0;
  min-height: 50vh;
}

.home-hero__inner {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

@media screen and (min-width: 1380px) {
  .home-hero__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.home-hero__copy {
  flex-basis: 300px;
  flex-grow: 1;
}

.home-hero h1 {
  margin: 0 0 1.4rem;
  color: var(--color-ink);
  background-color: var(--color-white);
  font-family: "Rubik", sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.home-hero p {
  margin: 0 0 1rem;
  color: #000000;
  font-size: 16px;
  line-height: 1.375;
  max-width: none;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: -10px;
  padding-top: 10px;
}

.home-hero__actions .button,
.home-hero__actions .button-link {
  margin: 10px;
}

.home-hero__visual {
  margin-left: 32px;
  display: flex;
  flex-grow: 1;
  flex-basis: 480px;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.home-hero__visual img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* Buttons */

.button {
  background-color: rgba(70, 120, 238, 1);
  border: 1px solid rgba(70, 120, 238, 1);
  border-radius: 3px;
  color: #ffffff;
  padding: 15px 25px;
  font-family: "Inter", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  cursor: pointer;
  line-height: 1.1;
  letter-spacing: .03em;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: all .15s linear;
}

.button:hover,
.button:focus,
.button:active {
  background-color: rgba(59, 102, 201, 1);
  border-color: rgba(59, 102, 201, 1);
  color: #ffffff;
  text-decoration: none;
  transform: scale(1.05);
}

.button-link {
  font-family: "Inter", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #000000;
}

.button-link--arrow {
  color: #000000;
  background: none;
  border: none;
  padding: 0;
  transition: none;
}

.button-link--arrow::after {
  content: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 13'%3E%3Cpath d='M37.5303 7.0303a.75.75 0 000-1.0606l-4.7729-4.773a.75.75 0 00-1.0607 1.0607L35.9393 6.5l-4.2426 4.2426a.75.75 0 001.0607 1.0607l4.7729-4.773zM0 7.25h37v-1.5H0v1.5z' fill='%23000000'/%3E%3C/svg%3E");
  width: 36px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
  transition: margin .15s linear;
}

.button-link--arrow:hover,
.button-link--arrow:focus,
.button-link--arrow:active {
  background: none;
  border: none;
  text-decoration: none;
  color: var(--color-blue);
  transform: none;
}

.button-link--arrow:hover::after,
.button-link--arrow:focus::after,
.button-link--arrow:active::after {
  content: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 13'%3E%3Cpath d='M37.5303 7.0303a.75.75 0 000-1.0606l-4.7729-4.773a.75.75 0 00-1.0607 1.0607L35.9393 6.5l-4.2426 4.2426a.75.75 0 001.0607 1.0607l4.7729-4.773zM0 7.25h37v-1.5H0v1.5z' fill='%234678EE'/%3E%3C/svg%3E");
  margin-left: 10px;
}

/* Philosophy section */

.philosophy-band {
  background: var(--color-soft);
  padding: 80px 0 128px;
}

.section-pretitle {
  display: block;
  margin: 0 0 .75rem;
  color: var(--color-blue);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1rem;
  font-weight: 700;
}

.philosophy-band h2 {
  margin: 0;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.feature-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 98px;
}

.feature-card {
  flex-basis: 225px;
  flex-grow: 1;
}

.feature-card + .feature-card {
  margin-left: 64px;
}

.feature-card h3 {
  margin: 0 0 1rem;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}

.feature-card p {
  margin: 0 0 1.4rem;
  color: #000000;
  font-size: 16px;
  line-height: 1.375;
  font-weight: 500;
}

/* Engine spotlight */

.engine-spotlight {
  background: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.engine-spotlight h2 {
  margin: 0 0 1.4rem;
  color: var(--color-ink);
  font-family: "Rubik", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.engine-spotlight p {
  color: #000000;
}

.spotlight-lead {
  margin: 0 auto 1.4rem;
  max-width: 980px;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
}

.spotlight-note {
  margin: 0 auto 2rem;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
}

.engine-spotlight .button {
  font-size: .75rem;
}

/* Footer */

.site-footer {
  background-color: var(--color-footer);
  color: rgba(255, 255, 255, .6);
  text-align: center;
}

.site-footer__inner {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-brand img {
  display: block;
  width: auto;
  max-width: 150px;
  height: auto;
  margin: 0;
}

.site-footer__legal {
  padding-top: 20px;
  font-size: 16px;
  line-height: 1.375;
  opacity: .6;
}

.site-footer__legal p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.375;
  color: #ffffff;
}

.site-footer__legal p:last-child {
  margin-bottom: 0;
}

.site-footer__legal strong {
  color: #ffffff;
  font-weight: 700;
}

.site-footer__legal a {
  color: #ffffff;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus,
.site-footer__legal a:active {
  color: #ffffff;
  text-decoration: none;
}

/* Generic page fallback */

.content-shell {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 56px auto;
  padding: 0 20px;
}

.content-shell h1,
.content-shell h2,
.content-shell h3 {
  color: var(--color-ink);
  line-height: 1.2;
}

.content-shell a {
  color: var(--color-blue);
  font-weight: 700;
}

/* Forms retained for non-home pages */

.license-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.license-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 0;
  border: 1px solid #dadada;
  background: var(--color-white);
  color: var(--color-text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
}

/* Responsive */

@media screen and (max-width: 1024px) {
  .site-nav a {
    margin-left: 16px;
    margin-right: 16px;
  }

  .feature-card + .feature-card {
    margin-left: 42px;
  }
}

@media screen and (max-width: 960px) {
  .home-hero__inner {
    display: block;
  }

  .home-hero__visual {
    max-width: 720px;
    margin: 32px auto 0;
    height: auto;
  }
}

@media screen and (max-width: 920px) {
  .site-header {
    height: auto;
  }

  .site-header__inner {
    min-height: var(--header-height);
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand {
    margin-right: 24px;
  }

  .site-nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    margin-top: 12px;
  }

  .site-nav a {
    margin: 0 24px 0 0;
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .section-inner,
  .home-hero__inner,
  .site-header__inner,
  .site-footer__inner,
  .content-shell {
    width: calc(100% - 40px);
    padding-left: 0;
    padding-right: 0;
  }

  .home-hero {
    padding: 56px 0;
  }

  .home-hero__visual {
    opacity: .95;
  }

  .philosophy-band {
    padding: 64px 0;
  }

  .feature-grid {
    display: block;
    margin-top: 50px;
  }

  .feature-card + .feature-card {
    margin: 32px 0 0;
  }

  .engine-spotlight {
    padding: 64px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 520px) {
  .home-hero h1 {
    font-size: 34px;
  }

  .home-hero__actions .button,
  .home-hero__actions .button-link {
    display: block;
  }

  .spotlight-lead,
  .spotlight-note {
    font-size: 21px;
  }
}


/* Navigation active state */

.site-nav a.is-active {
  color: var(--color-blue);
  text-decoration: none;
}

.site-nav a.is-active::after {
  visibility: visible;
  width: 100%;
}

/* Outlined buttons and rows */

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.button-row--center {
  justify-content: center;
}

.button--outlined {
  background-color: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  font-weight: 700;
  transform: none;
}

.button--outlined:hover,
.button--outlined:focus,
.button--outlined:active {
  background-color: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
  transform: scale(1.05);
}

.button--wide {
  min-width: 260px;
}

/* Listing pages: /engines and /library */

.listing-hero {
  background: #ffffff;
  text-align: center;
  padding: 124px 0 98px;
}

.listing-hero h1 {
  margin: 0 0 30px;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 40px;
  line-height: 1.2;
}

.listing-hero p {
  margin: 0 auto;
  max-width: 920px;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 1.4;
}

.listing-section {
  background: #ffffff;
  padding: 44px 0 116px;
}

.product-panel {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 60px 48px 50px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(70, 120, 238, .28);
  border-radius: 9px;
  box-shadow: 0 22px 58px rgba(154, 161, 177, .18);
}

.product-panel h2 {
  margin: 0 0 46px;
  color: #000000;
  font-size: 40px;
  line-height: 1.2;
}

.product-panel p {
  margin: 0 auto 42px;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
}

/* Engine detail page */

.engine-subnav {
  min-height: 68px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  background: #ffffff;
}

.engine-subnav a {
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.engine-subnav a:hover {
  color: var(--color-blue);
  text-decoration: none;
}

.engine-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 116px 0 104px;
  background: #ffffff;
}

.engine-hero .section-inner {
  position: relative;
  z-index: 2;
}

.engine-hero h1 {
  margin: 0 0 22px;
  color: #000000;
  font-size: 40px;
  line-height: 1.2;
}

.engine-hero p {
  margin: 0 auto 26px;
  max-width: 760px;
  color: #000000;
  font-size: 16px;
  line-height: 1.375;
}

.engine-hero__shape {
  position: absolute;
  width: 460px;
  height: 460px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(70,120,238,.10) 0,
      rgba(70,120,238,.10) 2px,
      transparent 2px,
      transparent 7px
    );
  opacity: .75;
  border-radius: 32% 68% 57% 43% / 46% 36% 64% 54%;
}

.engine-hero__shape--left {
  left: 12%;
  top: -50px;
}

.engine-hero__shape--right {
  right: 12%;
  bottom: -130px;
  transform: rotate(18deg);
}

.engine-band,
.library-band,
.library-product-section--soft {
  background: #f3f3f3;
}

.engine-band {
  padding: 80px 0 94px;
}

.features-section {
  padding: 82px 0 86px;
  background: #ffffff;
}

.library-band {
  padding: 78px 0 92px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 18px;
  color: #000000;
  font-size: 32px;
  line-height: 1.2;
}

.section-heading p {
  margin: 0 auto;
  color: #000000;
  font-size: 16px;
  line-height: 1.375;
}

.section-heading--light h2,
.section-heading--light p {
  color: #ffffff;
}

.resource-grid {
  display: grid;
  gap: 26px;
}

.resource-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-card {
  display: block;
  min-height: 150px;
  padding: 24px 24px 22px;
  background: #ffffff;
  border: 0.5px solid rgba(100, 146, 253, 0.2);
  border-radius: 6px;
  box-shadow: 0 11px 30px rgba(154, 161, 177, .20);
  color: #000000;
  text-decoration: none;
}

.resource-card:hover,
.resource-card:focus {
  color: #000000;
  text-decoration: none;
  transform: translateY(-1px);
}

.resource-card span {
  display: block;
  margin: 0 0 12px;
  color: var(--color-blue);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 0 0 18px;
  color: #000000;
  font-size: 17px;
  line-height: 1.22;
}

.resource-card em {
  display: inline-flex;
  align-items: center;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.resource-card em::after {
  content: "";
  width: 36px;
  height: 13px;
  margin-left: 8px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 13'%3E%3Cpath d='M37.5303 7.0303a.75.75 0 000-1.0606l-4.7729-4.773a.75.75 0 00-1.0607 1.0607L35.9393 6.5l-4.2426 4.2426a.75.75 0 001.0607 1.0607l4.7729-4.773zM0 7.25h37v-1.5H0v1.5z' fill='%23000000'/%3E%3C/svg%3E");
}

.feature-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 52px;
}

.feature-icon-grid article {
  position: relative;
  padding-left: 26px;
}

.feature-icon-grid article::before {
  content: "◇";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--color-blue);
  font-size: 18px;
  line-height: 1;
}

.feature-icon-grid h3 {
  margin: 0 0 12px;
  color: #000000;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
}

.feature-icon-grid p {
  margin: 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.32;
}

.section-inner--faq {
  max-width: 900px;
}

.faq-section {
  padding: 78px 0 94px;
  background: #ffffff;
}

.faq-section h2 {
  margin: 0 0 42px;
  color: #000000;
  font-size: 32px;
}

.faq-list {
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 3px;
  background: #ffffff;
}

.faq-list details {
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.faq-list summary::after {
  content: "+";
  float: right;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 28px 22px;
  margin: 0;
}

.pricing-section {
  padding: 90px 0 74px;
  background: #2b55d9;
  color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  margin-top: 62px;
}

.price-card {
  min-height: 420px;
  padding: 34px 26px;
  text-align: center;
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  box-shadow: 0 11px 30px rgba(0,0,0,.13);
}

.price-card h3 {
  margin: 0 0 22px;
  color: #000000;
  font-size: 17px;
  font-weight: 400;
}

.price-card strong {
  display: block;
  color: var(--color-blue);
  font-family: "Rubik", sans-serif;
  font-size: 30px;
  line-height: 1.15;
}

.price-card p {
  font-size: 13px;
}

.price-card hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,.12);
  margin: 28px 0;
}

.price-card .button {
  margin-top: 18px;
  font-size: 10px;
}

.pricing-note {
  margin: 50px auto 0;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
}

/* Library product pages */

.library-product-hero {
  padding: 90px 0 56px;
  background: #ffffff;
  text-align: center;
}

.library-product-hero h1 {
  margin: 0 0 20px;
  color: #000000;
  font-size: 32px;
}

.library-product-hero p {
  margin: 0 auto;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 1.4;
}

.library-product-section {
  padding: 60px 0 74px;
  background: #ffffff;
}

.library-product-section h2 {
  margin: 0 0 36px;
  text-align: center;
  color: #000000;
  font-size: 24px;
}

.ready-section {
  padding: 70px 0 78px;
  background: #f3f3f3;
  text-align: center;
}

.ready-section h2 {
  margin: 0 0 24px;
  color: #000000;
  font-size: 32px;
}

.ready-section p {
  margin: 0 0 30px;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

/* Generic page / philosophy */

.page-hero {
  padding: 82px 0;
  background: #f3f3f3;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: #000000;
  font-size: 40px;
}

.philosophy-page {
  width: min(640px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 82px;
}

.philosophy-page > h1:first-child {
  display: none;
}

.philosophy-page h2 {
  margin: 0 0 1.4rem;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  color: #000000;
  font-size: 32px;
  line-height: 1.2;
}

.philosophy-page h2:not(:first-of-type) {
  margin-top: 70px;
}

.philosophy-page p {
  color: #000000;
  font-size: 16px;
  line-height: 1.375;
}

.philosophy-page h3 {
  margin: 0;
  color: #000000;
  text-align: center;
  font-size: 24px;
}

.philosophy-page h3:first-of-type {
  margin-top: 80px;
}

.layout-page .philosophy-page + .site-footer {
  margin-top: 0;
}

.content-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.content-shell > h1:first-child {
  display: none;
}

.content-shell h2 {
  margin-top: 40px;
  color: #000000;
  font-size: 32px;
}

.content-shell p,
.content-shell li {
  color: #000000;
  font-size: 16px;
  line-height: 1.375;
}

/* Article pages */

.article-page {
  background: #ffffff;
}

.article-head {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 54px;
  text-align: center;
}

.breadcrumb-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.breadcrumb-pills a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 3px;
  background: #edf3ff;
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 400;
}

.article-head h1 {
  margin: 0;
  color: #000000;
  font-size: 32px;
  line-height: 1.2;
}

.article-content {
  width: min(640px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 86px;
  border-top: 1px solid rgba(0,0,0,.14);
}

.article-content > h2:first-child {
  display: none;
}

.article-content p:first-of-type {
  margin-top: 48px;
}

.article-content h2 {
  margin: 72px 0 1.4rem;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  color: #000000;
  font-size: 32px;
  line-height: 1.2;
}

.article-content h3 {
  margin: 48px 0 1.1rem;
  color: #000000;
  font-size: 24px;
}

.article-content p,
.article-content li {
  color: #000000;
  font-size: 16px;
  line-height: 1.55;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
}

.article-content li + li {
  margin-top: .4rem;
}

.article-content a {
  color: #0270e0;
  font-weight: 700;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 22px 24px;
  border-left: 3px solid #eebc46;
  background: #f7f7f7;
}

.article-content blockquote p {
  margin: 0;
}

.article-content pre {
  overflow: auto;
  margin: 28px 0;
  padding: 22px 26px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 6px;
  background: #f3f3f3;
  color: #000000;
  font-size: 13px;
  line-height: 1.55;
}

.article-content code {
  padding: .1em .35em;
  border-radius: 2px;
  background: #f7eef6;
  color: #d63384;
  font-size: .92em;
}

.article-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

/* License page */

.license-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.license-copy > h1:first-child {
  display: none;
}

.license-form {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.license-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #000000;
}

input,
textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 0;
  border: 1px solid #dadada;
  background: #ffffff;
  color: #000000;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
}

@media screen and (max-width: 1024px) {
  .resource-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .listing-hero {
    padding: 80px 0 60px;
  }

  .listing-hero p,
  .product-panel p,
  .library-product-hero p,
  .ready-section p {
    font-size: 21px;
  }

  .product-panel {
    padding: 42px 24px 40px;
  }

  .engine-subnav {
    flex-wrap: wrap;
    gap: 18px 28px;
    padding: 18px 20px;
  }

  .engine-hero {
    padding: 78px 0;
  }

  .engine-hero__shape {
    opacity: .35;
  }

  .resource-grid,
  .resource-grid--3,
  .resource-grid--4,
  .pricing-grid,
  .feature-icon-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    gap: 28px;
  }

  .article-head {
    padding-top: 50px;
  }

  .article-content h2,
  .philosophy-page h2 {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}


/* v2.1 corrections: preserve full product content and production-like library hubs */
.price-card .price-detail {
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}

.price-card .price-detail img {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 8px 0 0;
  vertical-align: -2px;
}

.resource-card--wide {
  grid-column: span 2;
}

.article-content > h1:first-child,
.article-content > h2:first-child {
  display: none;
}

.library-product-section .resource-grid--4 .resource-card--wide {
  min-height: 150px;
}

@media screen and (max-width: 920px) {
  .resource-card--wide {
    grid-column: auto;
  }
}


/* v2.3 corrections: global sticky header, sticky engine subnav, reusable licensing cards */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.engine-subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
}

/* Keep the /engines listing visually close to production. */
.listing-section {
  padding-top: 44px;
  padding-bottom: 116px;
}

.product-panel {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 60px 48px 50px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(70, 120, 238, .28);
  border-radius: 9px;
  box-shadow: 0 22px 58px rgba(154, 161, 177, .18);
}

.product-panel .button,
.product-panel .button--outlined {
  padding: 15px 25px;
  min-width: 118px;
}

/* Generic licensing component, shared by present and future engine pages. */
.licensing-section,
.pricing-section {
  padding: 90px 0 74px;
  background: #2b55d9;
  color: #ffffff;
}

.licensing-section .section-heading,
.pricing-section .section-heading {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.licensing-section .section-heading h2,
.pricing-section .section-heading h2 {
  color: #ffffff;
  font-size: 40px;
}

.licensing-section .section-heading p,
.pricing-section .section-heading p {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.35;
}

.licensing-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 48px;
  margin-top: 62px;
}

.licensing-card,
.price-card {
  min-height: 0;
  align-self: start;
  padding: 42px 32px 44px;
  text-align: center;
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  box-shadow: 0 11px 30px rgba(0,0,0,.13);
}

.licensing-card h3,
.price-card h3 {
  margin: 0 0 24px;
  color: #000000;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
}

.licensing-card strong,
.price-card strong {
  display: block;
  color: var(--color-blue);
  font-family: "Rubik", sans-serif;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
}

.licensing-card > p,
.price-card > p {
  color: #000000;
  font-size: 16px;
  line-height: 1.35;
}

.licensing-card hr,
.price-card hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,.12);
  margin: 32px 0;
}

.licensing-card__item,
.price-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  color: #000000;
  font-size: 16px !important;
  line-height: 1.38 !important;
}

.licensing-card__item img,
.price-detail img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.licensing-card .button,
.price-card .button {
  margin-top: 18px;
  font-size: 12px;
  min-width: 190px;
}

.licensing-note,
.pricing-note {
  margin: 58px auto 0;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
}

@media screen and (max-width: 1200px) {
  .licensing-grid,
  .pricing-grid {
    gap: 30px;
  }

  .licensing-card,
  .price-card {
    padding-left: 26px;
    padding-right: 26px;
  }
}

@media screen and (max-width: 1024px) {
  .licensing-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .engine-subnav {
    position: static;
    overflow-x: auto;
    justify-content: flex-start;
    padding-left: 20px;
    padding-right: 20px;
  }

  .licensing-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


/* v2.4 content pages: production-like code blocks and standalone CTA links */

.article-page__inner pre,
.content-page__inner pre,
.library-product-page__inner pre {
  display: block;
  margin: 34px 0 72px;
  padding: 22px 28px;
  overflow-x: auto;
  background: #2b2b2b;
  color: #e8e8e8;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.article-page__inner pre code,
.content-page__inner pre code,
.library-product-page__inner pre code {
  display: block;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre;
  tab-size: 4;
}

.article-page__inner :not(pre) > code,
.content-page__inner :not(pre) > code,
.library-product-page__inner :not(pre) > code {
  padding: .14em .38em;
  border-radius: 4px;
  background: #f5f2f4;
  color: #e83e8c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .9em;
}

.code-block .tok-keyword {
  color: #c678dd;
}

.code-block .tok-type {
  color: #e5c07b;
}

.code-block .tok-function {
  color: #61afef;
}

.code-block .tok-string {
  color: #98c379;
}

.code-block .tok-comment {
  color: #9aa0a6;
}

.article-page__inner .content-cta,
.content-page__inner .content-cta,
.library-product-page__inner .content-cta {
  margin-top: 34px;
}

.article-page__inner .content-cta .button,
.content-page__inner .content-cta .button,
.library-product-page__inner .content-cta .button {
  display: inline-block;
  min-width: 112px;
  padding: 15px 25px;
  border: 2px solid var(--color-blue);
  border-radius: 3px;
  background: transparent;
  color: var(--color-blue);
  font-family: "Inter", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
}

.article-page__inner .content-cta .button:hover,
.article-page__inner .content-cta .button:focus,
.content-page__inner .content-cta .button:hover,
.content-page__inner .content-cta .button:focus,
.library-product-page__inner .content-cta .button:hover,
.library-product-page__inner .content-cta .button:focus {
  background: transparent;
  color: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
  text-decoration: none;
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .article-page__inner pre,
  .content-page__inner pre,
  .library-product-page__inner pre {
    margin-bottom: 48px;
    padding: 18px 18px;
  }

  .article-page__inner pre code,
  .content-page__inner pre code,
  .library-product-page__inner pre code {
    font-size: 13px;
  }
}


/* v2.5 DBA documentation module + Prism-compatible local styling */

.dba-doc-wrapper {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dba-doc-content p {
  line-height: 1.6 !important;
  font-size: 17px;
  margin-bottom: 1.5em;
}

.dba-doc-content li {
  line-height: 1.6 !important;
  font-size: 17px;
  margin-bottom: 0.4em;
}

.dba-doc-content ul,
.dba-doc-content ol {
  margin: 1.2em 0 1.6em 1.4em;
}

.dba-doc-content li strong {
  font-weight: 600;
}

.dba-doc-content h1 {
  margin: 0 0 1.1em;
  font-size: 40px;
  line-height: 1.2;
  color: #000000;
  text-align: left;
}

.dba-doc-content h2 {
  margin: 2.5em 0 1em;
  font-weight: 700;
  color: #000000;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 8px;
}

.dba-doc-content h3 {
  margin: 2em 0 .8em;
  font-weight: 700;
  color: #000000;
}

.dba-doc-content blockquote {
  margin: 2em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #4678ee;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 0 6px 6px 0;
  font-style: normal;
}

.dba-doc-content blockquote p {
  margin-bottom: 0;
  font-size: 16px;
}

/* Inline code, excluding Prism-style block code */
.dba-doc-content code:not([class*="language-"]) {
  background: #f1f3f5;
  color: #e83e8c;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: "JetBrains Mono", "Fira Code", Consolas, ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 0.9em;
}

/* Prism Tomorrow-like code blocks */
.dba-doc-content div.code-toolbar {
  position: relative;
  margin: 2.5em 0;
}

.dba-doc-content pre[class*="language-"] {
  margin: 0;
  padding: 1em;
  overflow: auto;
  border-radius: 8px;
  background: #2d2d2d;
  color: #cccccc;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  tab-size: 4;
  hyphens: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.dba-doc-content pre[class*="language-"] code {
  display: block;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-family: "JetBrains Mono", "Fira Code", Consolas, ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: inherit !important;
  line-height: inherit;
  white-space: pre;
}

.dba-doc-content .token.comment {
  color: #999999;
}

.dba-doc-content .token.keyword {
  color: #cc99cd;
}

.dba-doc-content .token.string {
  color: #7ec699;
}

.dba-doc-content .token.class-name {
  color: #f8c555;
}

.dba-doc-content .token.function {
  color: #f08d49;
}

.dba-doc-content .token.number {
  color: #f08d49;
}

/* Prism toolbar/copy button look */
.dba-doc-content div.code-toolbar > .toolbar {
  position: absolute;
  top: .5em;
  right: .5em;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.dba-doc-content div.code-toolbar:hover > .toolbar,
.dba-doc-content div.code-toolbar:focus-within > .toolbar {
  opacity: 1;
}

.dba-doc-content div.code-toolbar > .toolbar .toolbar-item {
  display: inline-block;
}

.dba-doc-content div.code-toolbar > .toolbar a,
.dba-doc-content div.code-toolbar > .toolbar button {
  background-color: #4a4a4a !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  transition: background-color 0.2s;
  box-shadow: none !important;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  text-transform: none;
  letter-spacing: 0;
  transform: none !important;
}

.dba-doc-content div.code-toolbar > .toolbar a:hover,
.dba-doc-content div.code-toolbar > .toolbar button:hover {
  background-color: #4678ee !important;
}

/* ASCII diagrams */
.dba-doc-content figure.dba-diagram {
  margin: 2.2em 0;
}

.dba-doc-content .dba-diagram__pre {
  margin: 0;
  padding: 1em 1.25em;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  font-family: "JetBrains Mono", "Fira Code", Consolas, ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 14px;
  line-height: 1.35;
}

.dba-doc-content .dba-diagram__pre code {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: inherit !important;
}

.dba-doc-content .dba-diagram__caption {
  margin-top: 0.8em;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.85;
}

/* DBA CTA Button */
.dba-doc-content .dba-product-footer .dba-cta-button,
.dba-doc-content .dba-product-footer .dba-cta-button:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 18px !important;
  min-width: 220px !important;
  border-radius: 10px !important;
  background-color: #3b6ef5 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12) !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}

.dba-doc-content .dba-product-footer .dba-cta-button:hover {
  opacity: 0.92 !important;
  transform: translateY(-1px);
  filter: none !important;
}

.dba-doc-content .dba-product-footer .dba-cta-button:active {
  transform: translateY(0px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}


/* v2.6: Prism CDN integration overrides */

.dba-doc-content pre[class*="language-"] {
  margin: 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.dba-doc-content div.code-toolbar {
  margin: 2.5em 0;
}

.dba-doc-content pre[class*="language-"] code {
  font-family: "JetBrains Mono", "Fira Code", Consolas, ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: inherit !important;
  line-height: inherit;
}

.dba-doc-content div.code-toolbar > .toolbar a,
.dba-doc-content div.code-toolbar > .toolbar button {
  background-color: #4a4a4a !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  transition: background-color 0.2s;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transform: none !important;
}

.dba-doc-content div.code-toolbar > .toolbar a:hover,
.dba-doc-content div.code-toolbar > .toolbar button:hover {
  background-color: #4678ee !important;
}


/* v2.7: legal/privacy + production article width and CTA refinement */

.article-page .dba-doc-wrapper {
  max-width: 860px;
}

/* Legal/privacy pages use the same readable documentation container. */
.legal-page {
  background: #ffffff;
  padding: 76px 0 72px;
}

.legal-page .dba-doc-wrapper {
  max-width: 860px;
  margin-top: 0;
  margin-bottom: 0;
}

.legal-page .dba-doc-content h1 {
  margin-bottom: 1.15em;
  font-size: 40px;
  line-height: 1.2;
}

.legal-page .dba-doc-content h2 {
  margin-top: 2.1em;
  margin-bottom: .8em;
  border-bottom: 0;
  padding-bottom: 0;
  font-size: 22px;
  line-height: 1.3;
}

.legal-page .dba-doc-content h3,
.legal-page .dba-doc-content h4 {
  margin: 1.9em 0 .8em;
  font-size: 17px;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.legal-page .dba-doc-content p,
.legal-page .dba-doc-content li {
  font-size: 17px;
  line-height: 1.55 !important;
}

.legal-page .dba-doc-content blockquote {
  margin: 1.6em 0 1.8em 28px;
  padding: .2em 0 .2em 18px;
  border-left: 1px solid rgba(0, 0, 0, .22);
  background: transparent;
  border-radius: 0;
}

.legal-page .dba-doc-content blockquote p {
  font-size: 17px;
  line-height: 1.45 !important;
}

/* Production-like final CTA for documentation articles. */
.dba-doc-content .dba-product-footer .dba-cta-button,
.dba-doc-content .dba-product-footer .dba-cta-button:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 112px !important;
  padding: 12px 18px !important;
  border-radius: 2px !important;
  background-color: transparent !important;
  color: #4678ee !important;
  border: 2px solid #4678ee !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  transform: none;
}

.dba-doc-content .dba-product-footer .dba-cta-button:hover,
.dba-doc-content .dba-product-footer .dba-cta-button:focus {
  color: #3b66c9 !important;
  border-color: #3b66c9 !important;
  background: transparent !important;
  opacity: 1 !important;
  transform: scale(1.05);
  text-decoration: none !important;
}

@media screen and (max-width: 768px) {
  .legal-page {
    padding: 54px 0 56px;
  }

  .article-page .dba-doc-wrapper,
  .legal-page .dba-doc-wrapper {
    max-width: none;
  }
}


/* v2.8: article hero breadcrumbs/title and address formatting */

/* Restore production-like article header: centered breadcrumb pills and centered title. */
.article-page {
  background: #ffffff;
  padding-top: 0;
}

.article-hero {
  background: #ffffff;
  padding: 76px 0 0;
}

.article-hero__inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px 64px;
  text-align: center;
  border-bottom: 1px solid #d9d9d9;
}

.article-breadcrumb-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.article-breadcrumb-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 4px;
  background: #eef4ff;
  color: #6f95f5;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}

.article-breadcrumb-pills a:hover,
.article-breadcrumb-pills a:focus {
  background: #e4edff;
  color: #4678ee;
  text-decoration: none;
}

.article-hero h1 {
  margin: 0;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

/* Hide the first Markdown title inside article body, because the template now renders the real article title. */
.article-page .dba-doc-content > h1:first-child,
.article-page .dba-doc-content > h2:first-child {
  display: none;
}

.article-page .dba-doc-wrapper {
  margin-top: 70px;
}

/* Legal/privacy address blocks: vertical rule, preserved lines, no grey callout background. */
.legal-page .dba-doc-content blockquote {
  margin: 1.3em 0 1.6em 28px;
  padding: .15em 0 .15em 18px;
  border-left: 1px solid rgba(0, 0, 0, .24);
  background: transparent;
  border-radius: 0;
}

.legal-page .dba-doc-content blockquote p {
  margin: 0;
  white-space: normal;
  font-size: 17px;
  line-height: 1.45 !important;
}

.legal-page .dba-doc-content h4 {
  margin-top: 1.9em;
  margin-bottom: 1em;
}

/* Keep non-legal generic pages away from legal-page-specific spacing. */
.content-page:not(.legal-page) {
  padding: 80px 0 96px;
}

@media screen and (max-width: 768px) {
  .article-hero {
    padding-top: 48px;
  }

  .article-hero__inner {
    width: calc(100% - 40px);
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 42px;
  }

  .article-hero h1 {
    font-size: 32px;
  }

  .article-page .dba-doc-wrapper {
    margin-top: 48px;
  }
}


/* v2.9: remove hardcoded article breadcrumbs; keep centered title/divider */

.article-hero__inner {
  padding-top: 0;
}

.article-hero__inner > h1:first-child {
  margin-top: 0;
}

/* Breadcrumb styles kept harmless for future Mercury-native breadcrumbs, but no template inference is performed. */
.article-breadcrumb-pills:empty {
  display: none;
}


/* v3.0: production-like Philosophy page */

.philosophy-page {
  padding: 0;
  background: #ffffff;
}

.philosophy-hero {
  background: #f3f3f3;
  padding: 72px 0 70px;
  text-align: center;
}

.philosophy-hero__inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

.philosophy-hero h1 {
  margin: 0;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
}

.philosophy-page .dba-doc-wrapper {
  max-width: 820px;
  margin-top: 78px;
  margin-bottom: 0;
}

.philosophy-page .dba-doc-content > h1:first-child {
  display: none;
}

.philosophy-page .dba-doc-content h2 {
  margin: 0 0 1.25em;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.philosophy-page .dba-doc-content h2:not(:first-child) {
  margin-top: 3.15em;
}

.philosophy-page .dba-doc-content p {
  color: #000000;
  font-size: 16px;
  line-height: 1.55 !important;
  margin-bottom: 1.55em;
}

/* The final two Markdown ### lines are the production grey closing band. */
.philosophy-page .dba-doc-content > h3 {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  margin-left: 0;
  margin-right: 0;
  background: #f3f3f3;
  color: #000000;
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.philosophy-page .dba-doc-content > h3:nth-of-type(1) {
  margin-top: 82px;
  margin-bottom: 0;
  padding: 74px 20px 10px;
}

.philosophy-page .dba-doc-content > h3:nth-of-type(2) {
  margin-top: 0;
  margin-bottom: 0;
  padding: 12px 20px 76px;
}

@media screen and (max-width: 768px) {
  .philosophy-hero {
    padding: 54px 0 52px;
  }

  .philosophy-hero h1 {
    font-size: 34px;
  }

  .philosophy-page .dba-doc-wrapper {
    max-width: none;
    margin-top: 54px;
  }

  .philosophy-page .dba-doc-content h2 {
    font-size: 26px;
  }

  .philosophy-page .dba-doc-content > h3 {
    font-size: 19px;
  }
}


/* v3.1: philosophy page layout refinement */

.philosophy-page {
  width: 100%;
  max-width: none;
  overflow-x: clip;
  background: #ffffff;
  padding: 0;
}

.philosophy-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f3f3f3;
  padding: 84px 0 86px;
  text-align: center;
  margin: 0 0 74px;
}

.philosophy-hero__inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

.philosophy-hero h1 {
  margin: 0;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 700;
}

.philosophy-page .dba-doc-wrapper {
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 20px;
}

.philosophy-page .dba-doc-content {
  max-width: 860px;
  margin: 0 auto;
}

.philosophy-page .dba-doc-content > h1:first-child {
  display: none;
}

.philosophy-page .dba-doc-content h2 {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
}

.philosophy-page .dba-doc-content h2:not(:first-child) {
  margin-top: 74px;
}

.philosophy-page .dba-doc-content p {
  color: #000000;
  font-size: 17px;
  line-height: 1.58 !important;
  margin-bottom: 22px;
}

.philosophy-page .dba-doc-content > h3 {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  background: #f3f3f3;
  color: #000000;
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin-left: 0;
  margin-right: 0;
}

.philosophy-page .dba-doc-content > h3:nth-of-type(1) {
  margin-top: 86px;
  margin-bottom: 0;
  padding: 76px 20px 12px;
}

.philosophy-page .dba-doc-content > h3:nth-of-type(2) {
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 20px 78px;
}

@media screen and (max-width: 768px) {
  .philosophy-hero {
    margin-bottom: 56px;
    padding: 60px 0 62px;
  }

  .philosophy-hero h1 {
    font-size: 36px;
  }

  .philosophy-page .dba-doc-wrapper,
  .philosophy-page .dba-doc-content {
    max-width: none;
  }

  .philosophy-page .dba-doc-content h2 {
    font-size: 26px;
  }

  .philosophy-page .dba-doc-content p {
    font-size: 16px;
  }

  .philosophy-page .dba-doc-content > h3 {
    font-size: 20px;
  }

  .philosophy-page .dba-doc-content > h3:nth-of-type(1) {
    margin-top: 62px;
    padding-top: 54px;
  }

  .philosophy-page .dba-doc-content > h3:nth-of-type(2) {
    padding-bottom: 56px;
  }
}


/* v3.2: final philosophy spacing/width + production-like license form */

.content-page.philosophy-page {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  background: #ffffff;
}

.content-page.philosophy-page .philosophy-hero {
  margin-top: 0 !important;
  margin-bottom: 74px !important;
  padding-top: 84px !important;
  padding-bottom: 86px !important;
}

.content-page.philosophy-page .dba-doc-wrapper {
  max-width: 760px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.content-page.philosophy-page .dba-doc-content {
  max-width: 760px !important;
}

.content-page.philosophy-page .dba-doc-content > h3:nth-of-type(2) {
  margin-bottom: 0 !important;
}

.content-page.philosophy-page + .site-footer,
.site-main:has(.philosophy-page) + .site-footer {
  margin-top: 0 !important;
}

/* Get License page */
.license-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 118px 0 86px;
  background: #ffffff;
}

.license-page__inner {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.license-copy h1 {
  margin: 0 0 28px;
  color: #1f354d;
  font-family: "Rubik", sans-serif;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.license-copy p {
  margin: 0 0 42px;
  color: #0b2035;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.license-form {
  display: grid;
  gap: 22px;
  margin-top: 0;
}

.license-fieldset {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
}

.license-fieldset legend,
.license-form label {
  color: #0b2035;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.license-fieldset legend {
  margin: 0 0 8px;
}

.license-fieldset legend span,
.license-form label > span[aria-hidden="true"] {
  color: #ff5c35;
}

.radio-field {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  margin: 6px 0;
  font-weight: 700 !important;
}

.radio-field input {
  width: auto;
  margin: 0;
}

.license-form label {
  display: grid;
  gap: 8px;
}

.license-form label small {
  display: block;
  margin-top: -2px;
  color: #51657a;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}

.license-form input[type="text"],
.license-form input[type="email"],
.license-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #9aa6b2;
  border-radius: 2px;
  background: #f5f8fb;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

.license-form textarea {
  min-height: 66px;
  resize: vertical;
}

.license-form input:focus,
.license-form textarea:focus {
  outline: 2px solid rgba(70, 120, 238, .18);
  border-color: #4678ee;
}

.license-form input.is-invalid,
.license-form textarea.is-invalid {
  border-color: #ff0000;
}

.license-form .field-error {
  margin: 2px 0 0;
  color: #ff0000;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
}

.license-fieldset > .field-error {
  margin-top: 8px;
}

.license-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 28px;
}

.license-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.license-form button[type="submit"] {
  min-width: 232px;
  min-height: 46px;
  padding: 13px 22px;
  border: 0;
  border-radius: 2px;
  background: #ff6b4a;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.license-form button[type="submit"]:hover,
.license-form button[type="submit"]:focus {
  background: #f45d3c;
}

@media screen and (max-width: 768px) {
  .license-page {
    padding-top: 70px;
    padding-bottom: 68px;
  }

  .license-page__inner {
    width: calc(100% - 40px);
  }

  .license-form .form-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .license-form__actions {
    justify-content: stretch;
  }

  .license-form button[type="submit"] {
    width: 100%;
  }
}


/* v3.3: get-license required asterisk alignment */

.license-form .field-label {
  display: inline-block;
  color: #0b2035;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.license-form .field-label > span[aria-hidden="true"] {
  display: inline;
  margin-left: 1px;
  color: #ff5c35;
}

.license-form label > span[aria-hidden="true"] {
  display: inline;
}

/* Library product dynamic sections: alternating backgrounds.
   Alternation is controlled by the template via .library-product-section--soft. */

.library-product-section {
  background: #f3f3f3 !important;
}

.library-product-section.library-product-section--soft {
  background: #ffffff !important;
}


/***************** REPOSITORIES ***********************/

/* Mercury repositories module */

.repository-grid,
.repository-version-grid {
  align-items: stretch;
}

.repository-card,
.repository-version-card {
  min-height: 220px;
}

.repository-card p {
  margin: 0 0 20px;
  color: #000000;
  font-size: 15px;
  line-height: 1.45;
}

.repository-card__actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.repository-command-block strong {
  display: block;
  margin-bottom: 8px;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* --- Boîte d'installation Maven --- */

.repository-maven-box {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 6px;
  background: #f3f3f3;
  text-align: left;
  border: 1px solid rgba(70, 120, 238, 0.4); 
}

/* Nouvel agencement pour le titre et le bouton */
.repository-maven-box__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.repository-maven-box__header strong {
  margin-bottom: 0; 
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Style du bouton de copie */
.maven-copy-btn {
  background: transparent;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.maven-copy-btn:hover {
  background: var(--color-blue);
  color: #ffffff;
}

.repository-maven-box pre {
  margin: 0;
  padding: 12px 16px;
  overflow-x: auto; 
  background: #ffffff; 
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.repository-maven-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px; 
  line-height: 1.45;
  color: #333333;
  word-break: normal; 
  white-space: pre; 
}

/* Empêche les règles globales de la carte de casser Prism.js */
.repository-maven-box code span {
  display: inline;
  margin: 0;
  text-transform: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/* --- Corrections pour Prism.js dans la boîte Maven --- */

/* 1. Masquer le bouton "Copy" automatique de Prism pour garder le nôtre */
.repository-maven-box .toolbar,
.repository-maven-box .copy-to-clipboard-button {
  display: none !important;
}

/* 2. Améliorer drastiquement le contraste du XML sur fond gris */
.repository-maven-box .token.tag {
  color: #005cc5 !important; /* Bleu foncé pour les noms de balises (groupId, etc.) */
  font-weight: 600;
}

.repository-maven-box .token.punctuation {
  color: #666666 !important; /* Gris foncé pour les chevrons < et > */
}

.repository-maven-box code {
  color: #24292e !important; /* Couleur du texte principal (ex: ch.dbalabs) */
}

/* fin maven-box */

/* ========================================================= */
/* --- BOÎTES GIT CLONE --- */
/* ========================================================= */

/* 1. Boîte simple (utilisée sur les listings) */
.repository-clone-box {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 6px;
  background: #f3f3f3;
  text-align: left;
}

.repository-clone-box strong {
  display: block;
  margin-bottom: 8px;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.repository-clone-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  color: #000000;
  word-break: break-all;
}


/* 2. Boîte avancée avec bouton Copy (.repository-clone-strip) */
.repository-clone-strip {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 6px;
  background: #f3f3f3;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.repository-clone-strip__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.repository-clone-strip__header strong {
  margin-bottom: 0;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.repository-clone-strip__code {
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  overflow-x: auto;
}

.repository-clone-strip__code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  color: #333333;
  word-break: normal;
  white-space: nowrap;
}

/* fin clone box */

.repository-action-panel {
  margin-bottom: 54px;
}

.repository-command-block {
  margin: 30px auto 0;
  max-width: 760px;
  text-align: left;
}

.repository-command-block pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 6px;
  background: #2d2d2d;
  color: #cccccc;
  font-size: 14px;
  line-height: 1.5;
}

.repository-content-page {
  background: #ffffff;
}

.repository-content-head {
  padding: 54px 0 34px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.repository-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #000000;
  font-size: 13px;
}

.repository-breadcrumb a {
  color: var(--color-blue);
  font-weight: 700;
}

.repository-breadcrumb a::after,
.repository-breadcrumb span::after {
  content: "›";
  margin-left: 8px;
  color: rgba(0, 0, 0, .35);
  font-weight: 400;
}

.repository-breadcrumb span[aria-current="page"]::after,
.repository-breadcrumb a:last-child::after,
.repository-breadcrumb span:last-child::after {
  content: "";
  margin-left: 0;
}

.repository-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.repository-title-row h1 {
  margin: 0 0 12px;
  color: #000000;
  font-size: 40px;
}

.repository-title-row p {
  margin: 0;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 20px;
  line-height: 1.35;
}

.repository-action-row {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.repository-action-row .button {
  padding: 12px 18px;
  font-size: 11px;
}

.repository-browser-shell {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 34px;
  padding-top: 48px;
  padding-bottom: 86px;
}

.repository-local-nav {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow: hidden;
  border: 1px solid rgba(70, 120, 238, .22);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 11px 30px rgba(154, 161, 177, .14);
}

.repository-local-nav__head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #f3f3f3;
}

.repository-local-nav__head strong,
.repository-local-nav__head span {
  display: block;
}

.repository-local-nav__head strong {
  color: #000000;
  font-size: 12px;
  text-transform: uppercase;
}

.repository-local-nav__head span {
  margin-top: 6px;
  color: rgba(0,0,0,.65);
  font-size: 13px;
  word-break: break-all;
}

.repository-entry-list {
  max-height: calc(100vh - var(--header-height) - 150px);
  overflow-y: auto;
  padding: 10px;
}

.repository-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 5px;
  color: #000000;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
}

.repository-entry:hover,
.repository-entry:focus,
.repository-entry.is-selected {
  background: #edf3ff;
  color: #000000;
  text-decoration: none;
}

.repository-entry__icon {
  flex: 0 0 auto;
  width: 22px;
  text-align: center;
}

.repository-entry__icon svg {
  display: block;
  margin: 0 auto;
  color: #666666; /* A subtle grey looks good for icons */
}

.repository-entry__name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.repository-file-panel {
  min-width: 0;
  padding: 34px 38px 44px;
  border: 1px solid rgba(70, 120, 238, .16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 11px 30px rgba(154, 161, 177, .14);
}

.repository-file-panel__head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.repository-file-panel__head span {
  display: block;
  margin-bottom: 10px;
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.repository-file-panel__head h2 {
  margin: 0;
  color: #000000;
  font-size: 24px;
  word-break: break-word;
}

.repository-rendered-markdown,
.repository-code-content {
  max-width: none;
}

.repository-code-content pre[class*="language-"],
.repository-code-content pre.language-none {
  margin: 0;
  padding: 22px 24px;
  overflow-x: auto;
  border-radius: 8px;
  background: #2d2d2d;
  color: #cccccc;
  font-size: 14px;
  line-height: 1.5;
}

.repository-code-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre;
}

.repository-empty-state {
  padding: 70px 20px;
  text-align: center;
}

.repository-empty-state h2 {
  margin: 0 0 18px;
  color: #000000;
  font-size: 32px;
}

.repository-empty-state p,
.repository-empty-note {
  margin: 0;
  color: #000000;
  font-size: 16px;
}

@media screen and (max-width: 1024px) {
  .repository-title-row {
    display: block;
  }

  .repository-action-row {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .repository-browser-shell {
    grid-template-columns: 1fr;
  }

  .repository-local-nav {
    position: static;
    max-height: none;
  }

  .repository-entry-list {
    max-height: 320px;
  }
}

@media screen and (max-width: 768px) {
  .repository-content-head {
    padding-top: 40px;
  }

  .repository-title-row h1 {
    font-size: 34px;
  }

  .repository-file-panel {
    padding: 26px 22px 34px;
  }

  .repository-file-panel__head h2 {
    font-size: 26px;
  }
}


/* Listing density alignment: engines/library/repositories index pages. */
.listing-hero {
  padding: 82px 0 38px;
}

.listing-hero h1 {
  font-size: 32px;
  line-height: 1.2;
}

.listing-hero p {
  font-size: 18px;
  line-height: 1.4;
}

.listing-section {
  padding: 44px 0 78px;
}

.product-panel {
  width: min(100%, 1200px);
  padding: 40px 42px 40px;
}

.product-panel h2 {
  margin-bottom: 34px;
  font-size: 32px;
  line-height: 1.2;
}

.product-panel p {
  margin-bottom: 42px;
  font-size: 24px;
  line-height: 1.2;
}
