/* Detail pages share the prismatic identity, with a readable editorial layout. */
html:has(.interior-page) {
  scroll-padding-top: 158px;
}
.interior-page {
  background: #f6f6f8;
  color: #292b35;
}
.interior-page main {
  min-width: 0;
  overflow: clip;
}
.interior-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  padding: 143px var(--gutter) 74px;
  background: #f6f6f8;
}
.interior-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  text-align: left;
}
.interior-breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 27px;
  font-size: 11px;
  color: #737480;
}
.interior-breadcrumb a:hover {
  color: #4e63ee;
}
.interior-kicker,
.document-kicker {
  margin-bottom: 19px;
  font: 9px/1.7 var(--mono);
  letter-spacing: 0.16em;
  color: #7e7d8e;
}
.interior-hero h1 {
  max-width: 920px;
  margin: 0 0 25px;
  color: #20212a;
  font-size: clamp(40px, 4.6vw, 67px);
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -0.05em;
}
.interior-hero h1 span {
  color: #73718c;
}
.interior-hero p {
  max-width: 720px;
  margin-left: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #686975;
}
.interior-hero-copy > .flex {
  justify-content: flex-start;
}
.interior-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 23%;
  opacity: 0.6;
  mask-image: linear-gradient(90deg, transparent, #000 80%);
}
.interior-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f6f6f8ce, transparent);
}
.interior-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.section-nav {
  position: sticky;
  top: 82px;
  z-index: 35;
  background: #fffffff0;
  backdrop-filter: blur(20px);
  border-block: 1px solid #e5e5ec;
}
.section-nav > .shell {
  display: flex;
  overflow-x: auto;
  gap: 32px;
  scrollbar-width: thin;
}
.section-nav a {
  flex: 0 0 auto;
  padding: 20px 0;
  color: #777784;
  font-size: 11px;
  position: relative;
}
.section-nav a:hover,
.section-nav a[aria-current="location"] {
  color: #4e63ee;
}
.section-nav a[aria-current="location"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: #4e63ee;
}
.interior-section {
  padding: 76px var(--gutter);
  border-bottom: 1px solid #e9e9ee;
  background: white;
  scroll-margin-top: 150px;
}
.interior-section:nth-of-type(odd) {
  background: #f5f5f8;
}
.interior-container {
  max-width: 1280px;
}
.interior-section :is(h2, h3, h4) {
  color: #292a35;
  letter-spacing: -0.03em;
}
.interior-section h2 {
  font-size: clamp(27px, 2.5vw, 37px);
  line-height: 1.35;
  font-weight: 550;
}
.interior-section h3 {
  line-height: 1.45;
}
.interior-section p {
  line-height: 1.85;
}
.interior-section .text-gray-600 {
  color: #727381;
}
.interior-section .text-gray-500 {
  color: #80808e;
}
.interior-section .text-primary {
  color: #55578d;
}
.interior-section :is(.grid, .flex) > * {
  min-width: 0;
}
.interior-card {
  border: 1px solid #e4e3ed;
  border-radius: 18px;
  box-shadow: 0 6px 20px #26263803;
  background: #fff;
  background-image: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.interior-card:hover {
  border-color: #c9c6dc;
  box-shadow: 0 12px 32px #34334808;
}
.interior-card .shadow-lg {
  box-shadow: none;
}
.interior-card > .bg-primary {
  background: #5d5b91;
}
.interior-section .bg-gradient-to-r,
.interior-section .bg-gradient-to-br {
  --tw-gradient-from: #ededf6;
  --tw-gradient-to: #f8f8fb;
}
.interior-section .text-white:not(.interior-card) :is(h2, h3, h4) {
  color: inherit;
}
.interior-section.interior-cta {
  background: #272631;
  color: white;
  padding-block: 76px;
  border: 0;
}
.interior-cta :is(h2, h3, h4),
.interior-cta h2 span {
  color: #f6f4ff;
}
.interior-cta p {
  color: #b9b5cb;
  max-width: 750px;
  margin-inline: auto;
}
.interior-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-size: 13px;
  padding: 14px 27px;
}
.interior-cta a.bg-white {
  color: #343046;
  background: #f1ecff;
}
.interior-cta a.border-white {
  color: #f2effc;
  border-color: #a09ab360;
}
.interior-architecture-host {
  display: block;
  grid-template-columns: none;
}
.interior-architecture {
  margin: 0;
  padding: 22px;
  border: 1px solid #e0e0eb;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 40px #28283f04;
}
.interior-architecture > a {
  display: block;
  overflow: auto;
  border-radius: 10px;
}
.interior-architecture img {
  width: 100%;
  height: auto;
  filter: none;
}
.interior-architecture figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #e9e8f1;
  color: #777487;
  font-size: 10px;
}
.interior-architecture figcaption a {
  color: #5d5b91;
}
.tech-brief-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 34px;
}
.tech-brief-heading > p {
  max-width: 520px;
  color: #767383;
  font-size: 14px;
}
.hiline-kicker {
  display: block;
  font: 9px/1.8 var(--mono);
  letter-spacing: 0.14em;
  color: #85808f;
  margin-bottom: 14px;
}
.tech-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.tech-source-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid #dedce8;
  border-radius: 20px;
  background: white;
  min-width: 0;
}
.tech-source-card h3 {
  margin: 28px 0 18px;
  font-size: 27px;
  line-height: 1.3;
}
.tech-source-card p {
  font-size: 14px;
  color: #787587;
}
.tech-source-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #8b869b;
  font: 8px/1.7 var(--mono);
  letter-spacing: 0.04em;
}
.tech-source-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 29px;
  font-size: 11px;
}
.tech-source-foot > span {
  color: #9791a5;
}
.tech-source-foot a {
  color: #5d59b1;
}
.tech-source-card--dark {
  background: #282631;
  border-color: #282631;
}
.tech-source-card--dark h3 {
  color: #f0edfa;
}
.tech-source-card--dark p,
.tech-source-card--dark .tech-source-meta {
  color: #b9b2ca;
}
.tech-source-card--dark .tech-source-foot a {
  color: #d6caff;
}
.tech-source-card--blue {
  background: #ebeafa;
  border-color: #d6d3ec;
}
.tech-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.tech-decision-grid > div {
  padding: 27px;
  border: 1px solid #e2dfec;
  border-radius: 17px;
  background: white;
}
.tech-decision-grid span {
  color: #a9a1b9;
  font: 10px var(--mono);
}
.tech-decision-grid h3 {
  font-size: 20px;
  margin: 25px 0 13px;
}
.tech-decision-grid p {
  color: #7f778b;
  font-size: 13px;
}
.interior-document {
  padding: 140px var(--gutter) 90px;
}
.document-sheet {
  padding: 55px 65px;
  border: 1px solid #e5e2ed;
  border-radius: 22px;
  box-shadow: 0 14px 50px #37324204;
}
.document-sheet h1 {
  font-size: 48px;
  font-weight: 550;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}
.document-sheet h2 {
  font-size: 23px;
  font-weight: 550;
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.document-sheet section {
  margin-bottom: 38px;
}
.document-sheet :is(p, li) {
  line-height: 1.95;
}
.document-sheet > .bg-blue-50 {
  background: #f3f0f8;
  border-color: #e4deed;
}
.document-sheet a {
  color: #5d5b91;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.interior-page .footer-wordmark {
  text-align: left;
}
.interior-page :is(pre, table) {
  max-width: 100%;
  overflow-x: auto;
}
@media (max-width: 1100px) {
  .tech-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .interior-hero p {
    max-width: 650px;
  }
}
@media (max-width: 980px) {
  html:has(.interior-page) {
    scroll-padding-top: 145px;
  }
  .section-nav {
    top: 76px;
  }
  .interior-hero {
    padding-top: 125px;
    min-height: 450px;
  }
  .interior-hero h1 {
    max-width: 760px;
  }
  .interior-hero p {
    font-size: 15px;
  }
  .interior-section {
    padding-block: 58px;
  }
  .tech-brief-heading {
    display: block;
  }
  .tech-brief-heading > p {
    margin-top: 20px;
  }
  .document-sheet {
    padding: 40px;
  }
}
@media (max-width: 700px) {
  html:has(.interior-page) {
    scroll-padding-top: 126px;
  }
  .interior-hero {
    padding: 106px var(--gutter) 44px;
    min-height: 380px;
  }
  .interior-breadcrumb {
    font-size: 10px;
    margin-bottom: 24px;
  }
  .interior-kicker {
    font-size: 7px;
    margin-bottom: 17px;
  }
  .interior-hero h1 {
    font-size: 35px;
    line-height: 1.25;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
  }
  .interior-hero p {
    font-size: 13px;
    line-height: 1.85;
  }
  .interior-art {
    inset: 0 -65% 0 0;
    opacity: 0.32;
  }
  .section-nav {
    top: 68px;
  }
  .section-nav > .shell {
    gap: 23px;
  }
  .section-nav a {
    padding: 16px 0;
    font-size: 10px;
  }
  .interior-section {
    padding: 45px var(--gutter);
    scroll-margin-top: 128px;
  }
  .interior-section h2 {
    font-size: 27px;
  }
  .interior-section h3 {
    font-size: 19px;
  }
  .interior-section .text-lg {
    font-size: 15px;
  }
  .interior-section .text-xl {
    font-size: 17px;
  }
  .interior-section .gap-12 {
    gap: 30px;
  }
  .interior-section .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .interior-card {
    padding: 23px;
    border-radius: 15px;
  }
  .interior-architecture {
    padding: 10px;
  }
  .interior-architecture img {
    min-width: 560px;
  }
  .interior-architecture figcaption {
    padding: 14px 7px 5px;
    margin-top: 10px;
    font-size: 9px;
  }
  .interior-section.interior-cta {
    padding-block: 50px;
  }
  .interior-cta a {
    font-size: 12px;
    padding: 13px 22px;
  }
  .tech-brief-grid,
  .tech-decision-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .tech-source-card {
    padding: 24px;
  }
  .tech-source-card h3 {
    font-size: 25px;
  }
  .tech-source-card p {
    font-size: 13px;
  }
  .tech-source-meta {
    font-size: 7px;
  }
  .tech-source-foot {
    font-size: 10px;
  }
  .interior-document {
    padding: 99px 16px 50px;
  }
  .document-sheet {
    padding: 27px 22px;
    border-radius: 16px;
  }
  .document-sheet h1 {
    font-size: 36px;
  }
  .document-sheet h2 {
    font-size: 21px;
  }
  .document-sheet :is(p, li) {
    font-size: 13px;
  }
  .document-sheet .interior-card {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .interior-card {
    transition: none;
  }
}
.interior-section h3 {
  margin-top: 20px;
  margin-bottom: 14px;
}
.interior-section .tech-source-card h3 {
  margin-top: 28px;
}
.interior-hero h1,
.interior-section h2 {
  text-wrap: balance;
}
.interior-page .document-sheet h2 {
  font-size: 23px;
}
@media (max-width: 700px) {
  .interior-page .interior-section h2 {
    font-size: 27px;
  }
  .interior-page .document-sheet h2 {
    font-size: 21px;
  }
}
