:root {
  color-scheme: dark;
  --background: #071827;
  --foreground: #edf4fb;
  --muted: #9fb0c3;
  --link: #b7d2f0;
  --focus: #8bbcff;
  --measure: 33rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

html.js main section {
  display: none;
}

html.js main section.is-active {
  display: block;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-serif, "Iowan Old Style", Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration: underline;
}

main p a {
  text-decoration: underline;
}

a:focus-visible {
  border-radius: 1px;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.35rem 0.55rem;
  background: var(--background);
  color: var(--foreground);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

header {
  margin-bottom: 1.5rem;
}

.identity-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.language-switcher {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.language-switcher button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 600 0.6875rem / 1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.language-switcher button:hover,
.language-switcher button[aria-pressed="true"] {
  color: var(--foreground);
}

.language-switcher button[aria-pressed="true"] {
  border-bottom-color: currentColor;
}

html.language-ready[data-language="en"] .language-content[lang="ko"],
html.language-ready[data-language="ko"] .language-content[lang="en"] {
  display: none;
}

.language-content[lang="ko"] {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.keep-together {
  white-space: nowrap;
}

.name {
  margin-right: 0.75rem;
  color: var(--foreground);
  font-weight: 600;
}

.name:hover {
  text-decoration: none;
}

nav a {
  margin-right: 0.75rem;
  color: var(--muted);
}

nav a:last-child {
  margin-right: 0;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--foreground);
  text-decoration: none;
}

nav a[aria-current="page"] {
  font-weight: 600;
}

main:focus {
  outline: none;
}

section {
  margin-bottom: 2rem;
}

.guide-kicker {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.guide-version-title {
  text-transform: none;
}

.guide-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  word-break: keep-all;
}

.guide-title-phrase {
  white-space: nowrap;
}

.guide-keep-together {
  white-space: nowrap;
}

.guide-summary {
  color: var(--foreground);
  font-size: 1.125rem;
}

.guide-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.guide-list li {
  margin-bottom: 0.5rem;
}

.guide-status {
  color: var(--muted);
}

.guide-offer {
  margin: 2rem 0;
  padding: 1.25rem 0;
  border-block: 1px solid color-mix(in srgb, var(--muted) 42%, transparent);
}

.guide-price {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.guide-action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--link);
  color: var(--foreground);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: none;
}

.guide-action:not(.is-disabled):hover {
  background: var(--foreground);
  color: var(--background);
  text-decoration: none;
}

.guide-action.is-disabled {
  border-color: color-mix(in srgb, var(--muted) 42%, transparent);
  color: var(--muted);
  cursor: not-allowed;
}

.guide-fine-print {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

@media (max-width: 27rem) {
  .guide-actions {
    display: grid;
  }

  .guide-action {
    width: 100%;
  }
}

p {
  margin: 0 0 1rem;
}

strong {
  font-weight: 600;
}

.contact-links {
  margin-top: 2.5rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.contact-links a {
  color: var(--muted);
}

.contact-links a:hover {
  color: var(--foreground);
  text-decoration: none;
}

.contact-links > span[aria-hidden="true"] {
  margin: 0 0.35rem;
}

.contact-group {
  white-space: nowrap;
}

.contact-group > span[aria-hidden="true"] {
  margin: 0 0.35rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html:not(.js) .visually-hidden {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 0.25rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
