:root {
  --white: #ffffff;
  --mist: #f3f6f8;
  --ivory: #f4f3ef;
  --navy: #102b43;
  --text: #172c3c;
  --muted: #526978;
  --line: #dce5ea;
  --cyan: #38d4f5;
  --cyan-deep: #087eaa;
  --cyan-soft: #ddf7ff;
  --link: #007c99;
  --tbd: #9a6b12;
  --tbd-bg: #fff6e4;
  --shadow: 0 16px 38px rgba(16, 43, 67, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 4px;
}

.skip:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px 32px;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
  flex: 0 0 auto;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
}

.brand span {
  display: grid;
  gap: 1px;
  font-family: "Space Grotesk", Pretendard, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand small {
  font-family: Pretendard, sans-serif;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.topnav a,
.print-btn,
.chip {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.topnav a {
  color: var(--text);
  padding: 9px 12px;
}

.topnav a:hover,
.print-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.print-btn {
  background: var(--navy);
  color: var(--white);
  min-height: 40px;
  padding: 0 14px;
  flex: 0 0 auto;
}

.page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 32px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: center;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 36px 40px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--link);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-copy > p {
  margin: 0;
  max-width: 620px;
  color: #506777;
  font-size: 16px;
  line-height: 1.75;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.legend b {
  font-family: "Space Grotesk", sans-serif;
  color: var(--navy);
  font-size: 13px;
}

.hero-plate {
  background: #0d2233;
  border-radius: 8px;
  min-height: 240px;
  padding: 36px 32px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-lockup {
  width: min(100%, 460px);
  display: block;
  margin: 0 auto;
}

.swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9db0c0;
  font-size: 12px;
  font-weight: 700;
}

.swatches i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr auto;
  gap: 16px;
  align-items: end;
  margin: 28px 0 8px;
}

.search {
  display: grid;
  gap: 7px;
}

.search span,
.result-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #c9d6dd;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.search input:focus,
.chip:focus-visible,
.topnav a:focus-visible,
.print-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cyan) 45%, transparent);
  outline-offset: 2px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 42px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid #c9d6dd;
  color: var(--text);
}

.chip.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.result-count {
  margin: 0;
  min-width: 88px;
  text-align: right;
}

.empty {
  margin: 18px 0 0;
  padding: 28px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.group {
  margin-top: 42px;
  scroll-margin-top: 96px;
}

.group.is-hidden {
  display: none;
}

.group-head {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.group-index {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--link);
  letter-spacing: 0.08em;
}

.group-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.group-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 14px 16px 16px;
  min-height: 148px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.photo {
  margin: 0 0 6px;
  background: #f7f9fa;
  border-radius: 6px;
  overflow: hidden;
}

.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f7f9fa;
}

.photo figcaption {
  padding: 0 8px 8px;
  color: #8a9aa5;
  font-size: 11px;
  font-weight: 600;
}

.specs {
  margin: 8px 0 0;
  display: grid;
  gap: 0;
}

.specs div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 5px 0;
  border-top: 1px solid #eef2f4;
}

.specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.specs dd {
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", Pretendard, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.card.is-hidden {
  display: none;
}

.card:hover {
  border-color: #b7e6f1;
}

.code {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--link);
}

.code.muted {
  color: #8a9aa5;
}

.code.tbd {
  display: inline-flex;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tbd-bg);
  color: var(--tbd);
}

.card h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", Pretendard, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.old {
  margin: 4px 0 0;
  color: #7d8c98;
  font-size: 13px;
}

.card.is-tbd {
  background: #fffdf8;
}

.site-footer {
  background: #0d2233;
  color: #c5d3de;
}

.site-footer > * {
  max-width: 1480px;
  margin: 0 auto;
}

.footer-lockup {
  padding: 36px 32px 8px;
}

.footer-lockup img {
  width: min(100%, 360px);
  display: block;
}

.footer-copy {
  padding: 8px 32px 40px;
  display: grid;
  gap: 10px;
  max-width: 1480px;
}

.footer-copy p {
  margin: 0;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.7;
  color: #9db0c0;
}

.footer-copy b {
  color: #e8edf5;
}

.footer-copy a {
  color: #7ad4ea;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .hero,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .result-count {
    text-align: left;
  }

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

@media (max-width: 720px) {
  .site-header,
  .page,
  .footer-lockup,
  .footer-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow: auto;
    flex-wrap: nowrap;
  }

  .topnav a {
    white-space: nowrap;
  }

  .hero {
    padding: 24px 16px 26px;
  }

  h1 {
    font-size: 36px;
  }

  .card h3 {
    font-size: 22px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .print-btn {
    margin-left: auto;
  }
}

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

@media print {
  html {
    scroll-padding-top: 0;
  }

  body {
    background: white;
    color: #17212b;
  }

  .skip,
  .topnav,
  .print-btn,
  .toolbar,
  .empty,
  .hero-plate,
  .legend,
  .site-footer {
    display: none !important;
  }

  .site-header {
    position: static;
    border: 0;
    padding: 0 0 12px;
    background: white;
  }

  .page {
    padding: 0;
    max-width: none;
  }

  .hero {
    background: none;
    border: 0;
    padding: 0 0 12px;
  }

  h1 {
    font-size: 28px;
  }

  .hero-copy > p {
    font-size: 12px;
  }

  .group {
    break-inside: avoid;
    margin-top: 18px;
  }

  .group.is-hidden,
  .card.is-hidden {
    display: revert;
  }

  .group[data-group] {
    display: block !important;
  }

  .card {
    display: grid !important;
    box-shadow: none;
    break-inside: avoid;
    min-height: 0;
    padding: 10px 12px;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .card h3 {
    font-size: 16px;
  }

  .photo img {
    aspect-ratio: 4 / 3;
  }

  .photo figcaption {
    display: none;
  }

  .group-head {
    padding-top: 8px;
  }
}
