:root {
  color-scheme: light;
  --ink: #111114;
  --muted: #65636c;
  --paper: #ffffff;
  --soft: #f5f5f9;
  --line: #dedde5;
  --violet: #6a3cff;
  --violet-dark: #4d25d9;
  --content-max: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link--second {
  left: 184px;
}

.skip-link:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  transform: translateY(0);
}

.site-header {
  width: 100%;
  background: #0d0d0f;
  color: #ffffff;
}

.site-header__inner {
  display: flex;
  min-height: 68px;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 10px clamp(14px, 3vw, 28px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand:focus-visible,
.download-link:focus-visible,
.download-footer a:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.download-link {
  display: inline-flex;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  background: var(--violet);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.download-link:hover {
  background: var(--violet-dark);
}

.download-link:active {
  transform: translateY(1px);
}

.download-link svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.download-link small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
}

.visual-detail {
  width: 100%;
  background: #ffffff;
}

.artboard {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  line-height: 0;
}

.artboard picture,
.artboard img {
  display: block;
  width: 100%;
}

.artboard img {
  height: auto;
  max-width: 100%;
}

.text-version {
  padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 32px);
  background: var(--soft);
}

.text-version details {
  width: min(100%, 920px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.text-version summary {
  display: flex;
  min-height: 72px;
  padding: 18px 54px 18px 22px;
  position: relative;
  cursor: pointer;
  list-style: none;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  font-size: 1.05rem;
  font-weight: 750;
  -webkit-tap-highlight-color: transparent;
}

.text-version summary::-webkit-details-marker {
  display: none;
}

.text-version summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--violet);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.text-version details[open] summary::after {
  content: "−";
}

.text-version summary small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 550;
}

.text-version__body {
  padding: 0 clamp(20px, 5vw, 54px) clamp(28px, 6vw, 58px);
  border-top: 1px solid var(--line);
}

.text-version__body h2,
.text-version__body h3,
.text-version__body h4 {
  line-height: 1.35;
  text-wrap: balance;
}

.text-version__body h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
}

.text-version__body h3 {
  margin: 44px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.text-version__body h4 {
  margin: 24px 0 8px;
  font-size: 1rem;
}

.text-version__body p,
.text-version__body li,
.text-version__body dd {
  color: #35343a;
  overflow-wrap: anywhere;
}

.text-version__body ul,
.text-version__body ol {
  padding-left: 1.35rem;
}

.text-version__body li + li {
  margin-top: 8px;
}

.spec-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) 1fr;
  border-bottom: 1px solid var(--line);
}

.spec-list dt,
.spec-list dd {
  margin: 0;
  padding: 10px 12px;
}

.spec-list dt {
  background: #f8f7fb;
  font-weight: 750;
}

.download-footer {
  display: grid;
  padding: clamp(36px, 7vw, 72px) clamp(18px, 4vw, 32px);
  place-items: center;
  gap: 16px;
  background: #0d0d0f;
  color: #ffffff;
  text-align: center;
}

.download-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.download-footer a {
  display: inline-flex;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--violet);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.download-footer a:hover {
  background: var(--violet-dark);
}

.download-footer a span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 600;
}

@media (max-width: 560px) {
  .site-header__inner {
    min-height: 62px;
    padding-block: 7px;
  }

  .download-link {
    min-height: 46px;
    padding-inline: 13px;
    font-size: 0.86rem;
  }

  .download-link small {
    display: none;
  }

  .skip-link--second {
    top: 8px;
    left: 8px;
  }

  .text-version {
    padding-inline: 12px;
  }

  .text-version details {
    border-radius: 14px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
  }

  .spec-list dd {
    padding-top: 4px;
  }

  .download-footer a {
    width: min(100%, 390px);
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .skip-link,
  .text-version,
  .download-footer {
    display: none !important;
  }

  .artboard {
    width: 100%;
  }
}
