:root {
  --serif: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html:not([lang="ko"]) h1,
html:not([lang="ko"]) h2 {
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.01;
}

html:not([lang="ko"]) h1 em,
html:not([lang="ko"]) h2 em {
  font-style: normal;
  font-weight: 800;
}

body[data-page] nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .38em;
}

.page-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem) clamp(4rem, 8vw, 7rem);
  background: var(--paper);
}

.page-hero .overline {
  color: var(--signal);
}

.page-hero h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
}

.page-hero > p:last-child {
  max-width: 48ch;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.page-hero-dark {
  max-width: none;
  background: var(--ink);
  color: var(--paper);
}

.page-hero-dark .overline,
.page-hero-dark h1 em {
  color: var(--lime);
}

.page-hero-dark > p:last-child {
  color: var(--mist);
}

.home-map {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 10rem);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 9rem);
  border-top: 1px solid var(--line);
}

.home-map h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.45rem, 4vw, 4.5rem);
}

.home-map p {
  max-width: 30ch;
  margin-bottom: 1.65rem;
}

.home-method-link,
.page-next-action {
  display: inline-block;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}

.home-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.home-flow li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: .2rem 1rem;
  padding: 1.28rem 0 1.45rem;
  border-bottom: 1px solid var(--line);
}

.home-flow span {
  grid-row: 1 / span 2;
  color: var(--moss);
  font-family: var(--mono);
  font-size: .72rem;
}

.home-flow strong {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 400;
  letter-spacing: -.03em;
}

html[lang="ko"] .home-flow strong {
  font-family: var(--sans);
  font-weight: 700;
}

.home-flow p {
  max-width: 40ch;
  margin: 0;
  color: var(--moss);
  font-size: .9rem;
}

.start-section {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 9rem);
  background: var(--forest);
  color: var(--paper);
}

.start-intro .overline {
  color: var(--lime);
}

.start-intro h2 {
  max-width: 9ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.45rem, 4vw, 4.5rem);
}

.start-intro > p:last-child {
  max-width: 34ch;
  margin-bottom: 0;
  color: var(--mist);
}

.start-links {
  border-top: 1px solid rgba(231, 235, 227, .28);
}

.start-links a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: .1rem 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(231, 235, 227, .22);
  color: var(--paper);
  text-decoration: none;
}

.start-logo-frame {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  width: 4.5rem;
  height: 3.5rem;
  place-items: center start;
}

.start-logo {
  display: block;
  flex: none;
  overflow: visible;
}

.start-logo-github {
  width: 2.25rem;
  height: 2.25rem;
}

.start-logo-npm {
  width: 4rem;
  height: 1.282rem;
}

.start-logo-github path {
  fill: var(--paper);
}

.start-logo-npm path {
  fill: #C12127;
}

.start-links a:hover strong,
.start-links a:focus-visible strong {
  color: var(--lime);
}

.start-links strong {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -.03em;
}

html[lang="ko"] .start-links strong {
  font-family: var(--sans);
  font-weight: 700;
}

.start-links > a > span:not(.start-logo-frame) {
  grid-column: 2;
  grid-row: 2;
  max-width: 25ch;
  color: var(--mist);
  font-size: .9rem;
}

.start-links i {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--lime);
  font-style: normal;
}

.page-method {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.page-method .method-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-method .method-flow article:nth-child(2) {
  border-right: 0;
}

.page-method .method-flow article:first-child {
  padding-left: 1.5rem;
}

.page-method .method-flow article:nth-child(n + 3) {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.page-method .method-flow p {
  max-width: 40ch;
}

.method-notes {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 10rem);
  max-width: 1440px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.method-notes > *,
.use-details > *,
.command-stack,
.copy-command {
  min-width: 0;
}

.method-notes-intro h2,
.use-guide h2,
.use-agent-guide h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.45rem, 4vw, 4.5rem);
}

.method-notes-intro > p:last-child,
.use-guide > p:not(.overline),
.use-agent-guide > p:not(.overline) {
  max-width: 42ch;
  margin-bottom: 0;
  color: var(--moss);
  font-size: .95rem;
}

.method-note-list {
  border-top: 1px solid var(--line);
}

.method-note-list article {
  padding: 1.35rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.note-index,
.use-step {
  display: block;
  margin-bottom: .85rem;
  color: var(--moss);
  font-family: var(--mono);
  font-size: .7rem;
}

.method-note-list h3,
.use-path h3,
.use-agent-guide > h3 {
  margin-bottom: .55rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

html[lang="ko"] .method-note-list h3,
html[lang="ko"] .use-path h3,
html[lang="ko"] .use-agent-guide > h3 {
  font-family: var(--sans);
  font-weight: 700;
}

.method-note-list article > p:not(.note-index),
.use-path p {
  max-width: 44ch;
  margin-bottom: 0;
  color: var(--moss);
  font-size: .9rem;
}

.copy-command {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: .7rem;
  margin-top: 1.15rem;
  padding: .45rem .55rem;
  border: 1px solid var(--line);
  background: rgba(28, 37, 32, .07);
  color: var(--ink);
  text-align: left;
}

.copy-command code {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: .7rem;
}

.copy-command span {
  flex: none;
  padding-left: .7rem;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.method-note-list .note-code {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 1.15rem;
  padding: .45rem .55rem;
  overflow: auto;
  background: rgba(28, 37, 32, .07);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .7rem;
  white-space: nowrap;
}

.hero-summary,
.page-hero > p:last-child,
.home-map p,
.home-flow p,
.start-intro > p:last-child,
.method-flow p,
.use-item p:not(.use-index),
.about-reason > p:last-child,
.about-maintainers > p:not(.about-label) {
  text-wrap: pretty;
}

.page-use {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.page-use .use-item {
  display: flex;
  flex-direction: column;
}

.page-use .use-item:first-child {
  padding-left: 1.5rem;
}

.page-use .use-item code {
  margin-top: auto;
  align-self: flex-start;
}

.use-details {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 9vw, 10rem);
  max-width: 1440px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(240, 239, 232, .26);
}

.use-guide > p:not(.overline),
.use-agent-guide > p:not(.overline) {
  color: var(--mist);
}

.use-path {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(240, 239, 232, .26);
}

.use-path li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(240, 239, 232, .22);
}

.use-step {
  color: #b8cdaa;
}

.use-path h3,
.use-agent-guide > h3 {
  color: #fff;
}

.use-path p {
  color: var(--mist);
}

.use .copy-command {
  border-color: rgba(240, 239, 232, .26);
  background: rgba(240, 239, 232, .1);
  color: var(--paper);
}

.use .copy-command span {
  border-color: rgba(240, 239, 232, .26);
  color: var(--lime);
}

.use-agent-guide > h3 {
  margin-top: 2.2rem;
}

.command-stack {
  display: grid;
  gap: .55rem;
  margin-top: 1rem;
}

.command-stack .copy-command {
  width: 100%;
  justify-content: space-between;
  margin-top: 0;
}

.agent-config {
  max-width: 100%;
  margin: 1.5rem 0;
  padding: 1rem;
  overflow: auto;
  overflow-wrap: anywhere;
  background: rgba(16, 19, 20, .45);
  color: var(--mist);
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.use .text-action {
  color: var(--lime);
}

.use-output {
  max-width: 1440px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(240, 239, 232, .26);
}

.use-output > p:not(.overline) {
  max-width: 58ch;
  margin-bottom: 1.2rem;
  color: var(--mist);
  font-size: .95rem;
}

.use-output code {
  color: var(--paper);
  font-family: var(--mono);
  font-size: .85em;
}

.method .page-next-action,
.use .page-next-action {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.page-next-action-inverse {
  color: var(--paper);
}

.about-page {
  display: block;
  max-width: none;
  padding-top: clamp(4rem, 8vw, 7rem);
}

.about-page .about-details {
  max-width: 720px;
  margin: 0 auto;
}

.about-page .about-details article + article {
  padding-bottom: 2rem;
}

.about-page .about-details article:last-child {
  padding-bottom: 0;
}

.about-page .about-reason > p:not(.about-label),
.about-page .about-evidence > p:not(.about-label),
.about-page .about-status > p:not(.about-label),
.about-page .about-boundary > p:not(.about-label) {
  max-width: none;
  font-size: 1.03rem;
  text-wrap: balance;
}

.about-page .about-status .text-action,
.about-page .about-boundary .text-action {
  display: inline-block;
  margin-top: .15rem;
}

.about-page .about-reason > p + p {
  margin-top: 1rem;
}

.about-page .nowrap {
  white-space: nowrap;
}

.about-page .about-evidence .text-action {
  display: inline-block;
  margin-top: .15rem;
}

@media (max-width: 600px) {
  .about-page .about-reason > p:not(.about-label),
  .about-page .about-evidence > p:not(.about-label),
  .about-page .about-status > p:not(.about-label),
  .about-page .about-boundary > p:not(.about-label) {
    text-wrap: pretty;
  }
}

.contribute-hero h1 {
  max-width: 12ch;
}

.contribute-routes {
  display: grid;
  grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 9rem);
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.contribute-intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.45rem, 4vw, 4.5rem);
}

.route-register {
  border-top: 1px solid var(--line);
}

.route-entry {
  display: grid;
  grid-template-columns: minmax(7rem, .42fr) minmax(0, 1fr) 9.5rem;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.45rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
}

.route-label {
  margin: .25rem 0 0;
  color: var(--moss);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.route-copy h3 {
  margin-bottom: .55rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

html[lang="ko"] .route-copy h3 {
  font-family: var(--sans);
  font-weight: 700;
}

.route-copy p {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--moss);
  font-size: .9rem;
  text-wrap: pretty;
}

.route-action {
  align-self: center;
  max-width: 18ch;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}

footer.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 2rem;
  padding-top: 2rem;
  padding-bottom: 1.6rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
  color: var(--moss);
  font-family: var(--mono);
  font-size: .68rem;
}

.footer-meta a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}

.footer-nav {
  display: flex;
  grid-column: 1 / -1;
  gap: 1.25rem;
  padding-top: .95rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .68rem;
}

.footer-nav a {
  color: var(--moss);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .28em;
}

html {
  scroll-padding-top: 5.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  max-width: none;
  background: var(--paper);
}

.site-header nav {
  font-size: .88rem;
}

.site-header nav a,
.site-header nav a[aria-current="page"] {
  text-decoration: none;
}

.site-header nav a {
  color: var(--moss);
}

.site-header nav a:hover {
  color: var(--ink);
}

.site-header nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.header-actions {
  font-size: .82rem;
}

.language-picker {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 2px;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--moss);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1;
}

.language-picker button {
  min-height: 2.25rem;
  padding: .45rem .62rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}

.language-picker button:hover {
  background: rgba(28, 37, 32, .08);
  color: var(--ink);
}

.language-picker button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.language-picker button[aria-pressed="true"]:hover {
  background: var(--forest);
}

.menu-button {
  display: none;
  min-height: 2.3rem;
  padding: .35rem .1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}

footer.site-footer {
  font-size: .84rem;
}

.footer-meta,
.footer-nav {
  font-size: .76rem;
}

@media (max-width: 850px) {
  .site-header .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .site-header nav.is-open {
    position: absolute;
    top: calc(100% + 1px);
    right: clamp(1.25rem, 3vw, 3.75rem);
    left: clamp(1.25rem, 3vw, 3.75rem);
    z-index: 5;
    display: grid;
    gap: 0;
    padding: .45rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-header nav.is-open a {
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header nav.is-open a:last-child {
    border-bottom: 0;
  }

  .home-map {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .start-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contribute-routes {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .method-notes,
  .use-details {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .page-use .use-item:first-child {
    padding-left: 0;
  }

  .page-use .use-item code {
    margin-top: 1.45rem;
  }

}

@media (max-width: 540px) {
  .page-hero {
    padding-top: 4.5rem;
  }

  .page-method .method-flow {
    grid-template-columns: 1fr;
  }

  .page-method .method-flow article:nth-child(2) {
    border-right: 0;
  }

  .page-method .method-flow article:first-child {
    padding-left: 0;
  }

  .page-method .method-flow article:nth-child(n + 3) {
    padding-top: 1.45rem;
  }

  .start-links a {
    grid-template-columns: 3.75rem minmax(0, 1fr) auto;
    gap: .35rem 1rem;
  }

  .start-logo-frame {
    width: 3.75rem;
  }

  .start-logo-npm {
    width: 3.35rem;
    height: 1.074rem;
  }

  .start-links > a > span:not(.start-logo-frame) {
    grid-column: 2;
    grid-row: 2;
  }

  .start-links i {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .use-path li {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .8rem;
  }

  .agent-config {
    padding: .8rem;
    font-size: .68rem;
  }

  .route-entry {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  .route-label {
    margin-top: 0;
  }

  .route-action {
    max-width: none;
    margin-top: .3rem;
    text-align: left;
  }

  footer.site-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-meta {
    justify-self: start;
  }

  .footer-nav {
    gap: 1rem;
  }
}
