:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #172033;
  background: #f7f8fa;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #172033;
  background: #f7f8fa;
}

a {
  color: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.content {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.about-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid #dce2eb;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.about-brand {
  color: #175fc8;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.about-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.about-nav a {
  text-decoration: none;
}

.about-nav a:hover,
.about-nav a:focus-visible {
  color: #175fc8;
  outline: none;
}

.about-nav__workspace {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfd7e4;
  border-radius: 6px;
  padding: 7px 12px;
  background: #fff;
}

.about-hero {
  position: relative;
  min-height: min(510px, 66vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #142333;
}

.about-hero__image,
.about-hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-hero__image {
  object-fit: cover;
  object-position: center 45%;
}

.about-hero__shade {
  z-index: -1;
  background: rgba(12, 31, 48, 0.68);
}

.about-hero__content {
  padding: 72px 0 68px;
}

.eyebrow,
.section-index {
  margin: 0 0 14px;
  color: #7dd3a6;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 800px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 72px;
  line-height: 1.08;
}

.about-hero__lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #eaf0f5;
  font-size: 18px;
  line-height: 1.8;
}

.purpose-band {
  border-bottom: 1px solid #dfe4eb;
  background: #fff;
}

.purpose-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  padding-top: 64px;
  padding-bottom: 64px;
}

h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.purpose-copy {
  display: grid;
  gap: 18px;
}

.purpose-copy p {
  margin: 0;
  color: #4c5a6c;
  font-size: 16px;
  line-height: 1.85;
}

.purpose-copy code,
.standard-heading code,
.strict-note code {
  color: #9c2e27;
  font-size: 0.9em;
}

.edition-section,
.standard-section {
  padding: 88px 0;
}

.edition-section {
  background: #f7f8fa;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading .section-index {
  color: #175fc8;
}

.edition-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.edition-button {
  min-width: 0;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 28px;
  color: #fff;
  text-decoration: none;
  transition: box-shadow 160ms ease;
}

.edition-button[href]:hover,
.edition-button[href]:focus-visible {
  box-shadow: 0 10px 24px rgba(24, 38, 56, 0.14);
  outline: none;
}

.edition-button--private {
  background: #24557f;
}

.edition-button--team {
  background: #356b58;
}

.edition-button--unavailable {
  cursor: default;
}

.edition-button__name {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.edition-button__action {
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.edition-button__status {
  align-self: flex-start;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  padding: 7px 13px;
  background: rgba(20, 38, 32, 0.3);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.edition-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  margin-top: 52px;
}

.edition-detail {
  min-width: 0;
  border-top: 4px solid #24557f;
  padding-top: 24px;
}

.edition-detail--team {
  border-top-color: #356b58;
}

.edition-detail__heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.edition-number {
  color: #788596;
  font-size: 13px;
  font-weight: 800;
}

.edition-detail h3 {
  margin: 0;
  font-size: 23px;
}

.edition-detail p {
  margin: 18px 0 0;
  color: #4c5a6c;
  line-height: 1.8;
}

.edition-detail .privacy-statement,
.edition-detail .team-status {
  color: #912d27;
  font-size: 17px;
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: #334155;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.feature-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: #526f88;
}

.edition-detail--team .feature-list li::before {
  background: #4b7565;
}

.standard-section {
  border-top: 1px solid #dfe4eb;
  background: #fff;
}

.standard-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: end;
}

.standard-heading > p {
  margin: 0;
  color: #4c5a6c;
  line-height: 1.8;
}

.standard-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  border-top: 1px solid #dfe4eb;
  padding: 44px 0;
}

.standard-block__intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.standard-step {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #172033;
  font-size: 13px;
  font-weight: 800;
}

.standard-block h3 {
  margin: 3px 0 0;
  font-size: 21px;
}

.standard-block__intro p {
  margin: 10px 0 0;
  color: #667386;
  font-size: 14px;
  line-height: 1.65;
}

.table-wrap {
  min-width: 0;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border-bottom: 1px solid #e3e7ed;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #344054;
  font-size: 12px;
  background: #f3f5f8;
}

td {
  color: #4c5a6c;
  line-height: 1.55;
}

td:first-child,
td:nth-child(2) {
  white-space: nowrap;
}

td code {
  color: #175fc8;
  font-weight: 700;
}

.relation-rules {
  align-items: start;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e3e7ed;
  border-left: 1px solid #e3e7ed;
}

.rule-grid > div {
  min-width: 0;
  border-right: 1px solid #e3e7ed;
  border-bottom: 1px solid #e3e7ed;
  padding: 20px;
}

.rule-grid h4 {
  margin: 0;
  font-size: 15px;
}

.rule-grid p {
  margin: 10px 0 0;
  color: #586679;
  font-size: 14px;
  line-height: 1.65;
}

.rule-grid code {
  color: #9c2e27;
  font-size: 0.9em;
}

.json-example {
  min-width: 0;
  max-height: 680px;
  overflow: auto;
  margin: 0;
  border-radius: 8px;
  padding: 24px;
  color: #dbeafe;
  background: #18232f;
  font-size: 13px;
  line-height: 1.7;
  tab-size: 2;
}

.strict-note {
  border: 1px solid #f0aaa4;
  border-left: 5px solid #d92d20;
  border-radius: 6px;
  padding: 22px 24px;
  color: #651b16;
  background: #fff5f4;
}

.strict-note strong {
  font-size: 16px;
}

.strict-note p {
  margin: 8px 0 0;
  line-height: 1.75;
}

.support-band {
  border-top: 1px solid #dfe4eb;
  background: #fff;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.support-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.support-copy p {
  margin: 0;
  color: #4c5a6c;
  font-size: 16px;
  line-height: 1.85;
}

.support-copy .support-contact {
  color: #26394c;
  font-size: 14px;
}

.support-contact a {
  color: #145b7d;
  font-weight: 700;
  text-decoration: none;
}

.support-contact a:hover,
.support-contact a:focus-visible {
  text-decoration: underline;
}

.support-routes {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.support-route {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #d9e1eb;
  border-radius: 8px;
  padding: 22px;
  background: #f8fafc;
}

.support-route h3 {
  margin: 0 0 10px;
  color: #17283a;
  font-size: 19px;
}

.support-route p {
  flex: 1;
  font-size: 14px;
  line-height: 1.75;
}

.support-route__actions {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 20px;
}

.support-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #175fc8;
  border-radius: 6px;
  padding: 9px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: #175fc8;
}

.support-button:hover,
.support-button:focus-visible {
  border-color: #114b9f;
  background: #114b9f;
  outline: none;
}

.support-list-link {
  color: #175fc8;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.support-list-link:hover,
.support-list-link:focus-visible {
  color: #114b9f;
  text-decoration: underline;
  outline: none;
}

.about-footer {
  color: #dbe5ed;
  background: #142333;
}

.about-footer__content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.about-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.about-footer__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

@media (max-width: 820px) {
  .content {
    width: min(calc(100% - 32px), 680px);
  }

  .about-topbar {
    padding: 10px 16px;
  }

  .about-nav > a:not(.about-nav__workspace) {
    display: none;
  }

  .about-hero {
    min-height: 430px;
  }

  .about-hero__content {
    padding: 56px 0 48px;
  }

  .about-hero h1 {
    font-size: 40px;
  }

  .support-routes {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero__lead {
    font-size: 16px;
  }

  .purpose-layout,
  .support-layout,
  .standard-heading,
  .standard-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .purpose-layout {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .support-layout {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .edition-section,
  .standard-section {
    padding: 64px 0;
  }

  .edition-details {
    gap: 28px;
  }

  .standard-block {
    padding: 36px 0;
  }
}

@media (max-width: 620px) {
  .edition-actions,
  .edition-details,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .edition-button {
    min-height: 132px;
    padding: 22px;
  }

  .edition-button__name {
    font-size: 25px;
  }

  .edition-details {
    margin-top: 40px;
  }

  h2 {
    font-size: 27px;
  }

  .about-footer__content {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 18px;
  }


  .about-footer__links {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .edition-button {
    transition: none;
  }
}
