:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP',
    'Noto Sans SC', 'Noto Sans KR', sans-serif;
  color: #212121;
  background: #faf9f7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #c73c32;
  outline-offset: 4px;
  border-radius: 5px;
}
.page {
  width: min(960px, calc(100% - 64px));
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-bottom: 1px solid #e8e5e1;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #232323;
  color: white;
  border-radius: 9px;
  font-size: 16px;
}
.brand-divider {
  color: #bbb5ad;
  font-weight: 400;
  padding: 0 3px;
}
.quiet-link {
  color: #77716a;
  font-size: 12px;
}
.quiet-link span {
  margin-left: 7px;
}
.intro {
  padding: 87px 0 69px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #8b7466;
  font-weight: 650;
}
.small-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c74b3f;
}
h1 {
  font-size: clamp(32px, 4.5vw, 45px);
  line-height: 1.45;
  letter-spacing: -1.7px;
  margin: 22px 0 19px;
  font-weight: 650;
}
.intro p {
  font-size: 14px;
  color: #7c766f;
  line-height: 2.1;
  margin: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.section-heading > span {
  font:
    11px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #938c83;
}
.service-card {
  border: 1px solid #e3dfd9;
  border-radius: 18px;
  padding: 31px 33px 0;
  background: #fff;
  box-shadow: 0 4px 18px #342c1803;
}
.card-heading,
.service-identity {
  display: flex;
  align-items: center;
}
.card-heading {
  justify-content: space-between;
  gap: 12px;
}
.service-identity {
  gap: 14px;
}
.train-icon {
  background: #fcf0ec;
  color: #b84939;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.service-subtitle {
  margin: 5px 0 0;
  font-size: 11px;
  color: #8b8379;
}
.status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #8e877e;
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #b8b1a8;
  border-radius: 50%;
}
.status[data-state='ok'] {
  color: #45705a;
}
.status[data-state='ok'] .status-dot {
  background: #508b69;
}
.status[data-state='error'] {
  color: #9b6e38;
}
.status[data-state='error'] .status-dot {
  background: #b68c58;
}
.service-description {
  color: #6a645d;
  font-size: 13px;
  line-height: 1.95;
  margin: 23px 0 16px;
  max-width: 660px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.tags span {
  font-size: 10px;
  color: #7e766d;
  padding: 4px 8px;
  border: 1px solid #eeeae5;
  border-radius: 5px;
}
.endpoint-label {
  color: #878077;
  font-size: 10px;
  margin-bottom: 9px;
}
.endpoint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 13px 13px 16px;
  gap: 10px;
  border: 1px solid #ebe7e1;
  border-radius: 9px;
  background: #fbfaf8;
}
.endpoint code {
  font:
    12px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  overflow-wrap: anywhere;
}
.endpoint button {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2ddd6;
  background: white;
  padding: 7px 10px;
  border-radius: 6px;
  color: #756d63;
  font-size: 10px;
}
.endpoint button:hover {
  background: #f3f0eb;
}
.copy-feedback {
  margin: 5px 0 0;
  color: #45705a;
  font-size: 10px;
  min-height: 17px;
}
.example {
  margin: 10px 0 24px;
  padding-left: 12px;
  border-left: 2px solid #e9e2da;
}
.example > span {
  color: #a0988e;
  font-size: 10px;
}
.example p {
  color: #746b60;
  font-size: 12px;
  line-height: 1.8;
  margin: 6px 0 0;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #eeeae5;
  padding: 19px 0;
  font-size: 10px;
  color: #898075;
}
.card-footer a:hover,
.quiet-link:hover {
  color: #b84939;
}
.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #898075;
  font-size: 10px;
}
.text-button:hover {
  color: #b84939;
}
.text-button:disabled {
  color: #bcb4aa;
  cursor: wait;
}
.connection {
  margin: 51px 0 70px;
}
.connection > h2 {
  font-size: 16px;
  letter-spacing: -0.4px;
  font-weight: 600;
  margin: 0 0 26px;
}
ol {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 0;
  margin: 0 0 31px;
  list-style: none;
}
li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.step {
  color: #b5a99c;
  font:
    11px/1.9 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
li h3 {
  font-size: 12px;
  font-weight: 550;
  letter-spacing: -0.2px;
}
li p {
  font-size: 11px;
  line-height: 1.9;
  color: #92897e;
  margin: 8px 0 0;
}
.note {
  font-size: 10px;
  color: #a39a8e;
  line-height: 2;
  border-top: 1px solid #e8e4dd;
  padding-top: 21px;
  margin: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e8e4dd;
  padding: 22px 0 28px;
  color: #a39a8e;
  font-size: 10px;
}
footer a {
  color: #72685d;
}
@media (max-width: 600px) {
  .page {
    width: calc(100% - 40px);
  }
  header {
    padding: 23px 0;
  }
  .intro {
    padding: 57px 0 45px;
  }
  h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .intro p {
    font-size: 12px;
  }
  .service-card {
    padding: 23px 20px 0;
    border-radius: 14px;
  }
  h3 {
    font-size: 17px;
  }
  .card-heading {
    align-items: flex-start;
  }
  .status {
    padding-top: 5px;
    font-size: 9px;
  }
  .train-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
  }
  .service-identity {
    gap: 10px;
  }
  .service-description {
    font-size: 12px;
  }
  .endpoint {
    align-items: flex-start;
    padding: 11px;
  }
  .endpoint code {
    font-size: 10px;
  }
  .endpoint button {
    padding: 6px;
  }
  .endpoint button span {
    display: none;
  }
  .example p {
    font-size: 11px;
  }
  ol {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .connection {
    margin: 37px 0 43px;
  }
  li p {
    margin-top: 4px;
  }
  .card-footer {
    gap: 9px;
    font-size: 9px;
  }
  .text-button {
    font-size: 9px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.language-switcher {
  position: relative;
  font-size: 12px;
}
.language-switcher summary {
  cursor: pointer;
  padding: 9px 12px;
  border: 1px solid #e8e5e1;
  border-radius: 8px;
}
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 130px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e8e5e1;
  border-radius: 10px;
  box-shadow: 0 8px 24px #0001;
  z-index: 1;
}
.language-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
}
.language-menu a:hover,
.language-menu a[aria-current='page'] {
  background: #f4f1ec;
}
@media (max-width: 600px) {
  .header-actions .quiet-link {
    display: none;
  }
  .card-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
}
