:root {
  color-scheme: dark;
}
html {
  scroll-padding-top: 80px;
}
body {
  margin: 0;
}
.hub-page {
  background: #050507;
  color: #fff;
  --text: #fff;
  --muted: #b7b6c4;
  --border: #30303a;
}
.hub-page main {
  overflow: hidden;
}
.site-header {
  background: #08080b;
  border-bottom: 1px solid #22222b;
}
.site-header .brand {
  color: #fff;
}
.site-header nav > a {
  color: #e8e8ed;
}
.site-header nav > a[aria-current] {
  box-shadow: none;
  color: #fff;
}
.site-header .product-link {
  border-radius: 22px;
  background: #f2f2f5 !important;
  color: #17171f !important;
  min-height: 40px;
  padding: 0 20px;
}
.site-header .search-link {
  color: #e2e4ed;
}
.site-header .menu-toggle {
  background: #171720;
  color: white;
  border-color: #747482;
}
.discord-hero {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 128px 24px 120px;
  min-height: 630px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    radial-gradient(
      ellipse 65% 70% at 50% 100%,
      #173fbc 0%,
      #101c59 38%,
      transparent 75%
    ),
    #050507;
}
.discord-hero h1,
.policy-index-hero h1 {
  font-family: var(--font-interface);
  font-size: clamp(56px, 6.5vw, 96px);
  font-weight: 900;
  line-height: 0.99;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
  max-width: 1000px;
}
.discord-hero > p {
  font-size: 20px;
  color: #e0e3ef;
  line-height: 1.55;
  max-width: 600px;
  margin-bottom: 32px;
}
.hub-cta,
.load-more,
.catalogue-policy-link > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  background: #315fe6;
  color: #fff;
  border-radius: 28px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 750;
}
.hub-cta:hover,
.load-more:hover,
.catalogue-policy-link > a:hover {
  background: #4877f4;
}
.hero-object {
  position: absolute;
  width: 145px;
  pointer-events: none;
  filter: drop-shadow(0 20px 25px #020619);
}
.hero-object svg {
  width: 100%;
  height: auto;
}
.hero-object-left {
  left: 7%;
  top: 33%;
  transform: rotate(-14deg);
}
.hero-object-right {
  right: 7%;
  bottom: 18%;
  width: 150px;
  transform: rotate(12deg);
}
.resource-catalogue {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 32px 110px;
}
.resource-catalogue > h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 40px;
}
.resource-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.resource-filters button {
  border: 0;
  background: transparent;
  color: #c6c6d2;
  border-radius: 24px;
  min-height: 44px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 650;
}
.resource-filters button:hover {
  background: #20212b;
  color: white;
}
.resource-filters button[aria-pressed="true"] {
  background: #fff;
  color: #13131c;
}
.resource-search {
  max-width: 580px;
  margin: 0 auto 24px;
}
.resource-search label {
  display: block;
  font-size: 14px;
  color: #d5d5e1;
  margin-bottom: 9px;
}
.resource-search > div {
  display: flex;
  gap: 10px;
}
.resource-search input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #777887;
  background: #12131b;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
}
.resource-search input::placeholder {
  color: #acaebb;
}
.resource-search button {
  border-radius: 12px;
  min-height: 48px;
  background: #202333;
  border: 1px solid #777887;
  color: #f4f4fa;
  padding: 12px 20px;
}
.resource-count {
  font-size: 14px;
  color: #b9b9c8;
  text-align: center;
  margin: 0 0 44px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 36px;
}
.resource-card {
  min-width: 0;
  background: none;
  border: 0;
}
.resource-card > a {
  display: block;
  height: 100%;
  border-radius: 16px;
}
.resource-art {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #142b55;
}
.resource-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.resource-card > a:hover .resource-art img {
  transform: scale(1.035);
}
.resource-category {
  margin: 20px 0 10px;
  font-size: 14px;
  color: #b4b5c6;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
}
.resource-card h3 {
  font-family: var(--font-interface);
  font-size: 27px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fafaff;
}
.load-more {
  display: flex;
  margin: 56px auto 0;
  min-width: 160px;
  background: #f1f1f7;
  color: #171725;
}
.load-more:hover {
  background: #dce6ff;
  color: #11152b;
}
#empty-state {
  padding: 48px 20px;
  text-align: center;
  border: 0;
}
#empty-state h3 {
  font-size: 28px;
}
#empty-state button {
  border-color: #858592;
  color: white;
  background: #202233;
  min-height: 44px;
}
.catalogue-policy-link {
  text-align: center;
  padding: 70px 24px 100px;
  border-top: 1px solid #242633;
  background: #090c16;
}
.catalogue-policy-link h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 18px;
}
.catalogue-policy-link p {
  color: #bfc4d6;
  margin: 0 auto 28px;
  max-width: 600px;
}
.policy-index-hero {
  text-align: center;
  padding: 100px 24px 0;
}
.policy-index-hero h1 {
  margin-inline: auto;
  font-size: 80px;
}
.policy-index-hero > p {
  color: #bfc4d6;
}
.policy-index-hero .resource-category {
  font-size: 16px;
  margin-bottom: 20px;
}
.illustrated-cover {
  padding: 0 !important;
  aspect-ratio: 16/9 !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #14254a;
}
.illustrated-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hub-page .card {
  border-radius: 16px;
  background: transparent;
}
.hub-page .card-copy {
  padding-inline: 0;
}
.hub-page .card-cover {
  border-radius: 16px;
}
.hub-page footer {
  background: #0d0e15;
  color: #f4f4f8;
  border-top-color: #292a35;
}
.reading-page {
  --text: #181824;
  --muted: #605b70;
  --link: #2458c6;
  --border: #d7d3e4;
  background: #f3f1fc;
  color: #181824;
  color-scheme: light;
}
.reading-page .site-header,
.reading-page footer {
  --text: #f4f4f5;
  --muted: #b8b8c7;
  --link: #9abfff;
  color: #f4f4f5;
  color-scheme: dark;
}
.reading-page .site-header nav > a {
  color: #ededf4;
}
.reading-shell {
  max-width: 1200px;
  margin: auto;
  padding: 44px 40px 0;
}
.reading-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #5d586d;
  margin-bottom: 32px;
}
.reading-breadcrumb > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #3459a9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reading-cover {
  aspect-ratio: 16/8;
  border-radius: 24px;
  overflow: hidden;
  background: #152d57;
}
.reading-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reading-intro {
  text-align: center;
  max-width: 940px;
  margin: 44px auto 36px;
}
.reading-topic {
  color: #535071;
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 18px;
}
.reading-intro h1 {
  font-family: var(--font-interface);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: #171722;
}
.reading-summary {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 20px;
  line-height: 1.6;
  color: #494457;
}
.reading-metadata {
  font-size: 14px;
  line-height: 1.6;
  color: #645e75;
}
.version-control {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: 13px;
  margin-top: 20px;
  color: #514b62;
}
.version-control select {
  background: #fff;
  color: #262037;
  border: 1px solid #81798f;
  border-radius: 10px;
  min-height: 46px;
  padding: 10px 42px 10px 14px;
  font: inherit;
  font-size: 15px;
}
.reading-note {
  max-width: 810px;
  margin: 0 auto 40px;
}
.reading-note .policy-notice {
  color: #5c566d;
  font-size: 14px;
  line-height: 1.7;
}
.reading-note a {
  color: #2458c6;
}
.reading-layout-v3 {
  display: grid;
  grid-template-columns: 220px minmax(0, 740px);
  gap: 56px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.reading-layout-v3 > .contents {
  border: 0;
  background: #fff;
  padding: 18px 20px;
  border-radius: 16px;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.reading-page .reading-layout-v3.policy-reading {
  display: block;
  max-width: 74ch;
  margin-inline: auto;
}
.policy-reading > .policy-body {
  width: 100%;
  max-width: none;
  overflow-wrap: anywhere;
}
.policy-reading > .policy-body h2,
.policy-reading > .policy-body h3 {
  letter-spacing: 0;
}
.reading-page .contents a {
  color: #5a526e;
  font-size: 13px;
  line-height: 1.5;
  min-height: 44px;
}
.reading-page .contents summary {
  font-weight: 750;
  font-size: 14px;
  min-height: 44px;
  color: #22202f;
}
.reading-page .article-body {
  max-width: 74ch;
  min-width: 0;
  color: #302a3c;
  font-family: var(--font-interface);
}
.reading-page .article-body p {
  color: #373041;
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 24px;
}
.reading-page .article-body h2 {
  color: #1e1a29;
  font-family: var(--font-interface);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  scroll-margin-top: 90px;
}
.reading-page .article-body h3 {
  color: #292233;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 750;
}
.reading-page .article-body a {
  color: #2458c6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reading-page .article-body strong {
  color: #221c2c;
}
.reading-section {
  background: #fff;
  border-radius: 16px;
  padding: 0 24px 12px;
  margin-bottom: 24px;
  scroll-margin-top: 86px;
}
.reading-section > summary {
  cursor: pointer;
  min-height: 64px;
  padding: 22px 28px 20px 0;
  position: relative;
  list-style: none;
}
.reading-section > summary::-webkit-details-marker {
  display: none;
}
.reading-section > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 19px;
  font-size: 24px;
  color: #3c3157;
  font-weight: 400;
}
.reading-section[open] > summary::after {
  content: "−";
}
.reading-section > summary h2,
.reading-section > summary h3 {
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
}
.reading-section p:last-child {
  margin-bottom: 12px;
}
.reading-page .article-body .article-actions {
  border-color: #d4cee4;
}
.reading-page .article-body .button {
  color: white;
  text-decoration: none;
  background: #285bd8;
}
.reading-page .article-body ul,
.reading-page .article-body ol {
  color: #373041;
  font-size: 18px;
  line-height: 1.85;
}
.reading-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 64px 0 70px;
}
.reading-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 22px;
  background: #e4def4;
  color: #453c5d;
  font-size: 14px;
  font-weight: 600;
}
.reading-page .related {
  border-top: 1px solid #d5d0e3;
  padding-top: 56px;
  max-width: 1200px;
  margin: auto;
  padding-inline: 40px;
}
.reading-page .related h2 {
  font-size: 36px;
  font-weight: 800;
  color: #211b30;
}
.reading-page .related .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 28px;
}
.reading-page .related .card {
  background: transparent;
  border: 0;
}
.reading-page .related .card-cover {
  border-radius: 18px;
}
.reading-page .related .card-copy {
  padding: 20px 0;
}
.reading-page .related .category {
  color: #635b76;
  font-size: 13px;
}
.reading-page .related h3 {
  color: #211b30;
  font-size: 24px;
  font-weight: 800;
}
.reading-page .related p {
  color: #60576d;
}
.reading-page .related .read-link {
  color: #2458c6;
}
.reading-page footer {
  background: #0d0e15;
}
.reading-page :focus-visible {
  outline-color: #275ce1;
}
.reading-page .site-header :focus-visible,
.reading-page footer :focus-visible {
  outline-color: #9abfff;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .hero-object {
    width: 105px;
    opacity: 0.7;
  }
  .hero-object-left {
    left: 3%;
    top: 25%;
  }
  .hero-object-right {
    right: 3%;
    width: 110px;
  }
  .discord-hero h1 {
    font-size: 78px;
  }
  .reading-layout-v3 {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 32px;
  }
  .reading-intro h1 {
    font-size: 48px;
  }
  .resource-catalogue {
    padding-inline: 40px;
  }
  .reading-shell {
    padding-inline: 32px;
  }
}
@media (max-width: 850px) {
  .discord-hero {
    min-height: 570px;
    padding-top: 100px;
    padding-bottom: 90px;
  }
  .discord-hero h1 {
    font-size: 64px;
    max-width: 620px;
  }
  .discord-hero > p {
    font-size: 18px;
    max-width: 450px;
  }
  .hero-object-left {
    left: 2%;
    top: 14%;
    width: 80px;
  }
  .hero-object-right {
    right: 1%;
    bottom: 10%;
    width: 90px;
  }
  .resource-catalogue {
    padding: 64px 28px 80px;
  }
  .resource-catalogue > h2 {
    font-size: 34px;
  }
  .resource-filters {
    gap: 4px;
  }
  .resource-filters button {
    padding-inline: 16px;
  }
  .resource-grid {
    gap: 44px 24px;
  }
  .resource-card h3 {
    font-size: 24px;
  }
  .resource-art {
    border-radius: 16px;
  }
  .reading-shell {
    padding: 28px 24px 0;
  }
  .reading-intro h1 {
    font-size: 42px;
  }
  .reading-summary {
    font-size: 19px;
  }
  .reading-layout-v3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .reading-layout-v3 > .contents {
    position: static;
    max-height: none;
  }
  .reading-layout-v3 .contents nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
  }
  .reading-page .related {
    padding-inline: 24px;
  }
  .policy-index-hero h1 {
    font-size: 68px;
  }
  .reading-cover {
    border-radius: 18px;
  }
}
@media (max-width: 560px) {
  .discord-hero {
    padding: 95px 20px 75px;
    min-height: 560px;
  }
  .discord-hero h1 {
    font-size: 46px;
    line-height: 1.01;
    letter-spacing: -0.04em;
    max-width: 350px;
  }
  .discord-hero > p {
    font-size: 17px;
    max-width: 320px;
  }
  .hero-object-left {
    width: 56px;
    left: 5%;
    top: 7%;
  }
  .hero-object-right {
    width: 65px;
    right: 5%;
    bottom: 6%;
  }
  .hub-cta {
    min-height: 48px;
    padding: 12px 24px;
  }
  .resource-catalogue {
    padding: 54px 20px 70px;
  }
  .resource-catalogue > h2 {
    font-size: 31px;
    line-height: 1.15;
    margin-bottom: 28px;
  }
  .resource-filters {
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 28px;
  }
  .resource-filters button {
    padding: 10px 14px;
    font-size: 14px;
    min-height: 44px;
  }
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .resource-card h3 {
    font-size: 25px;
    line-height: 1.2;
  }
  .resource-category {
    margin: 16px 0 8px;
    font-size: 13px;
  }
  .resource-art {
    border-radius: 16px;
  }
  .resource-search > div {
    gap: 8px;
  }
  .resource-search input {
    padding-inline: 12px;
  }
  .resource-search button {
    padding-inline: 12px;
  }
  .resource-count {
    margin-bottom: 32px;
    text-align: left;
  }
  .load-more {
    margin-top: 40px;
  }
  .catalogue-policy-link {
    padding: 50px 20px 64px;
  }
  .catalogue-policy-link h2 {
    font-size: 29px;
  }
  .policy-index-hero {
    padding: 70px 20px 0;
  }
  .policy-index-hero h1 {
    font-size: 52px;
  }
  .policy-index-hero > p {
    font-size: 16px;
  }
  .reading-shell {
    padding: 20px 18px 0;
  }
  .reading-breadcrumb {
    font-size: 12px;
    gap: 7px;
    margin-bottom: 20px;
  }
  .reading-cover {
    aspect-ratio: 16/9;
    border-radius: 16px;
  }
  .reading-intro {
    margin: 30px auto;
  }
  .reading-intro h1 {
    font-size: 36px;
    line-height: 1.08;
    margin-bottom: 20px;
  }
  .reading-topic {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .reading-summary {
    font-size: 18px;
    line-height: 1.6;
  }
  .reading-metadata {
    font-size: 12px;
  }
  .reading-note {
    margin-bottom: 28px;
  }
  .reading-layout-v3 > .contents {
    padding: 12px 16px;
  }
  .reading-layout-v3 .contents nav {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .reading-page .article-body p {
    font-size: 17px;
    line-height: 1.85;
  }
  .reading-page .article-body h2 {
    font-size: 28px;
  }
  .reading-page .article-body h3 {
    font-size: 22px;
  }
  .reading-section {
    padding: 0 18px 10px;
    margin-bottom: 20px;
  }
  .reading-section > summary {
    padding: 20px 26px 18px 0;
  }
  .reading-section > summary h2,
  .reading-section > summary h3 {
    font-size: 22px !important;
  }
  .reading-tags {
    margin-block: 44px 50px;
  }
  .reading-page .related {
    padding-inline: 18px;
    padding-top: 40px;
  }
  .reading-page .related .card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .reading-page .related h2 {
    font-size: 30px;
  }
  .reading-page .related h3 {
    font-size: 24px;
  }
  .version-control {
    max-width: 100%;
  }
  .version-control select {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .resource-card > a:hover .resource-art img {
    transform: none;
  }
}
