* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: #1a0047;
  font-family: Montserrat, sans-serif;
}
a {
  color: #5c60f5;
}
a:hover {
  color: #4a4ed8;
}
.wrap {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 28px;
}
.navlink {
  font:
    500 15px/20px Poppins,
    sans-serif;
  color: #1a0047;
  text-decoration: none;
}
.navlink:hover {
  color: #5c60f5;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 4px;
  font:
    600 16px/20px Poppins,
    sans-serif;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-i {
  background: #5c60f5;
  color: #fff;
  box-shadow: 0 10px 24px rgba(92, 96, 245, 0.25);
}
.btn-i:hover {
  background: #4a4ed8;
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 225, 251, 0.8);
}
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.site-header img {
  display: block;
  width: auto;
  height: 34px;
}
.navlinks {
  display: flex;
  gap: 36px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e4e1fb;
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  color: #1a0047;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.menu-toggle:focus-visible {
  outline: 2px solid #5c60f5;
  outline-offset: 2px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 42px;
  font:
    500 14px/20px Poppins,
    sans-serif;
}
.breadcrumb a {
  text-decoration: none;
}
.article-hero {
  padding: 48px 0 44px;
  background: linear-gradient(180deg, #fbfaff 0%, #fff 100%);
}
.article-shell {
  width: min(100%, 850px);
  margin: 0 auto;
  padding: 0 28px;
}
.article-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  background: #ecebfe;
  color: #3d3bb9;
  font:
    600 13px/18px Poppins,
    sans-serif;
}
.article-title {
  margin: 18px 0 14px;
  font:
    700 clamp(38px, 5vw, 62px)/1.08 Unbounded,
    sans-serif;
  letter-spacing: -1.8px;
  color: #1a0047;
}
.article-deck {
  margin: 0;
  max-width: 760px;
  font:
    400 19px/31px Montserrat,
    sans-serif;
  color: #4b3f6b;
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e4e1fb;
  color: #4b3f6b;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 999px;
  background: #f3f2fe;
  color: #665bbc;
  font:
    600 11px/1 Poppins,
    sans-serif;
}
.byline strong {
  display: block;
  font:
    600 14px/20px Poppins,
    sans-serif;
  color: #1a0047;
}
.byline span {
  font:
    400 13px/20px Montserrat,
    sans-serif;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 16/8.5;
  margin-top: 34px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center 34%;
  box-shadow: 0 24px 60px rgba(26, 0, 71, 0.1);
}
.article-body {
  padding: 56px 0 92px;
}
.prose {
  width: min(100%, 816px);
  margin: 0 auto;
  padding: 0 28px;
}
.prose > p,
.prose li {
  font:
    400 17px/30px Montserrat,
    sans-serif;
  color: #3a2f5c;
}
.prose > p {
  margin: 0 0 20px;
}
.prose h2 {
  margin: 52px 0 18px;
  font:
    600 29px/38px Unbounded,
    sans-serif;
  letter-spacing: -0.7px;
  color: #1a0047;
}
.prose h3 {
  margin: 30px 0 10px;
  font:
    600 19px/27px Poppins,
    sans-serif;
  color: #1a0047;
}
.prose ol,
.prose ul {
  margin: 0 0 24px;
  padding-left: 24px;
}
.prose li {
  margin-bottom: 12px;
}
.prose strong {
  color: #1a0047;
  font-weight: 600;
}
.quote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid #8e82f7;
  border-radius: 0 14px 14px 0;
  background: #f3f2fe;
  font:
    600 20px/31px Poppins,
    sans-serif;
  color: #1a0047;
}
.table-wrap {
  max-width: 100%;
  margin: 26px 0 34px;
  border: 1px solid #e4e1fb;
  border-radius: 16px;
  overflow-x: auto;
  background: #fff;
  box-shadow: 0 12px 34px rgba(26, 0, 71, 0.05);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.table-wrap th {
  padding: 14px 18px;
  text-align: left;
  background: #fbfaff;
  border-bottom: 1px solid #e4e1fb;
  color: #665bbc;
  font:
    600 12px/17px Poppins,
    sans-serif;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.table-wrap td {
  padding: 15px 18px;
  border-bottom: 1px solid #f0eefb;
  vertical-align: top;
  color: #3a2f5c;
  font:
    400 14px/23px Montserrat,
    sans-serif;
}
.table-wrap tr:last-child td {
  border-bottom: 0;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 36px;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid #e4e1fb;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  line-height: 23px;
}
.feature-list li::before {
  content: '';
  width: 9px;
  height: 9px;
  margin-top: 7px;
  flex: none;
  border-radius: 999px;
  background: #5c60f5;
}
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.faq-card {
  padding: 20px 22px;
  border: 1px solid #e4e1fb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 0, 71, 0.05);
}
.faq-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 23px;
}
.faq-card p {
  margin: 0;
  color: #4b3f6b;
  font:
    400 15px/25px Montserrat,
    sans-serif;
}
.source-box,
.author-card {
  margin: 34px 0;
  padding: 22px 24px;
  border: 1px solid #e4e1fb;
  border-radius: 14px;
  background: #fbfaff;
}
.source-box h3 {
  margin-top: 0;
}
.source-box ul {
  margin-bottom: 0;
}
.source-box li {
  font-size: 14px;
  line-height: 23px;
}
.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(26, 0, 71, 0.06);
}
.author-card p {
  margin: 3px 0 0;
  color: #4b3f6b;
  font:
    400 14px/22px Montserrat,
    sans-serif;
}
.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 48px 0;
  padding: 28px 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff3ea, #f3f2fe);
}
.article-cta h2 {
  margin: 0 0 6px;
  font:
    600 21px/29px Poppins,
    sans-serif;
}
.article-cta p {
  margin: 0;
  color: #4b3f6b;
  font:
    400 15px/24px Montserrat,
    sans-serif;
}
.related {
  padding: 72px 0;
  background: #fbfaff;
}
.related h2 {
  margin: 0 0 30px;
  font:
    600 30px/39px Unbounded,
    sans-serif;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.related-card {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 22px;
  border: 1px solid #e4e1fb;
  border-radius: 14px;
  background: #fff;
  color: #1a0047;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(26, 0, 71, 0.08);
  color: #1a0047;
}
.related-card span {
  font:
    600 13px/18px Poppins,
    sans-serif;
  color: #665bbc;
}
.related-card strong {
  margin-top: 12px;
  font:
    600 18px/26px Poppins,
    sans-serif;
}
.related-card small {
  margin-top: auto;
  padding-top: 18px;
  color: #6b6a76;
  font:
    400 13px/20px Montserrat,
    sans-serif;
}
.site-footer {
  padding: 72px 0 28px;
  background: #1a0047;
  color: #fff;
}
.footer-lead {
  text-align: center;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-lead p:first-child {
  margin: 0;
  font:
    600 38px/48px Unbounded,
    sans-serif;
}
.footer-lead p:nth-child(2) {
  margin: 14px 0 26px;
  color: #c9c2fb;
  font:
    400 17px/28px Montserrat,
    sans-serif;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 34px;
}
.footer-row img {
  width: auto;
  height: 34px;
}
.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font:
    500 14px/21px Poppins,
    sans-serif;
}
.footer-row nav a {
  color: #fff;
  text-decoration: none;
}
.footer-row nav a:last-child {
  color: #ffd7b7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  color: #c9c2fb;
  font:
    400 13px/20px Poppins,
    sans-serif;
}
.footer-bottom span:last-child {
  display: flex;
  gap: 20px;
}
.footer-bottom a {
  color: #c9c2fb;
}
@media (max-width: 900px) {
  html {
    scroll-padding-top: 142px;
  }
  .wrap,
  .article-shell {
    padding-left: 20px;
    padding-right: 20px;
  }
  .prose {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-header > .wrap {
    height: auto;
    min-height: 72px;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
    position: relative;
  }
  .site-header > a {
    min-height: 44px;
  }
  .site-header img {
    height: 30px;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 20px;
    right: 20px;
    width: auto;
    gap: 4px;
    padding: 10px;
    border: 1px solid #e4e1fb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(26, 0, 71, 0.14);
    flex-direction: column;
    z-index: 40;
  }
  .navlinks.nav-open {
    display: flex;
  }
  .navlinks .navlink {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
  }
  .navlinks .navlink:hover {
    background: #f3f2fe;
  }
  .article-title {
    font-size: 44px;
    line-height: 1.12;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-row nav a,
  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 600px) {
  .wrap,
  .article-shell {
    padding-left: 18px;
    padding-right: 18px;
  }
  .prose {
    padding-left: 18px;
    padding-right: 18px;
  }
  .article-hero {
    padding-top: 28px;
  }
  .breadcrumb {
    margin-bottom: 30px;
  }
  .article-title {
    font-size: 32px;
    line-height: 1.16;
    letter-spacing: -0.8px;
    overflow-wrap: anywhere;
  }
  .article-deck {
    font-size: 17px;
    line-height: 28px;
  }
  .byline {
    align-items: flex-start;
  }
  .hero-photo {
    aspect-ratio: 4/3;
    border-radius: 18px;
  }
  .article-body {
    padding: 42px 0 64px;
  }
  .prose > p,
  .prose li {
    font-size: 16px;
    line-height: 28px;
  }
  .prose h2 {
    margin-top: 42px;
    font-size: 24px;
    line-height: 32px;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .quote {
    padding: 20px;
    font-size: 18px;
    line-height: 29px;
  }
  .article-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 24px 20px;
  }
  .article-cta .btn {
    width: 100%;
  }
  .author-card {
    align-items: flex-start;
  }
  .related {
    padding: 56px 0;
  }
  .related h2 {
    font-size: 26px;
    line-height: 34px;
  }
  .site-footer {
    padding-top: 56px;
  }
  .footer-lead p:first-child {
    font-size: 28px;
    line-height: 36px;
  }
  .footer-row nav {
    width: 100%;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
