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

svg {
  display: block;
  width: 100%;
  height: 100%;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  vertical-align: top;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

input {
  border: 0;
  background: transparent;
}

[hidden],
.is-hidden {
  display: none !important;
}

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

body {
  font-family: "Pretendard", "Pretendard Variable", Pretendard, sans-serif;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(24px, 1.8461538462vw + 17.0769230769px, 36px);
}

h2 {
  font-size: clamp(20px, 0.6153846154vw + 17.6923076923px, 24px);
}

h3 {
  font-size: clamp(16px, 0.3076923077vw + 14.8461538462px, 18px);
}

h4 {
  font-size: clamp(14px, 0.3076923077vw + 12.8461538462px, 16px);
}

.page-list {
  min-height: 100vh;
  padding: 80px 20px;
  background-color: #f5f5f5;
  color: #000;
}
@media (max-width: 767px) {
  .page-list {
    padding: 48px 16px;
  }
}
.page-list__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.page-list__title {
  font-size: clamp(28px, 3.0612244898vw + 16.5204081633px, 40px);
}
@media (min-width: 768px) {
  .page-list__title {
    font-size: clamp(40px, 6.25vw + -8px, 56px);
  }
}
.page-list__title {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #000;
}
.page-list__title span {
  color: #e72528;
}
.page-list__desc {
  margin-top: 12px;
  font-size: clamp(13px, 0.2551020408vw + 12.0433673469px, 14px);
}
@media (min-width: 768px) {
  .page-list__desc {
    font-size: clamp(14px, 0.390625vw + 11px, 15px);
  }
}
.page-list__desc {
  color: #808080;
}
.page-list__guide-title {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #808080;
}
@media (max-width: 767px) {
  .page-list__guide-title {
    margin-top: 40px;
  }
}

.page-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  font-size: 14px;
}
@media (max-width: 767px) {
  .page-table {
    margin-top: 28px;
    font-size: 12px;
  }
}
.page-table__th {
  padding: 10px 16px;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border: 1px solid #1a1a1a;
}
@media (max-width: 767px) {
  .page-table__th {
    padding: 8px 12px;
  }
}
.page-table__row:hover td {
  background-color: #fafafa;
}
.page-table__td {
  padding: 10px 16px;
  border: 1px solid #e5e5e5;
  color: #4d4d4d;
  vertical-align: middle;
  background-color: #fff;
}
@media (max-width: 767px) {
  .page-table__td {
    padding: 8px 12px;
  }
}
.page-table__td_category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e72528;
  white-space: nowrap;
  background-color: #fff9f9;
}
.page-table__link {
  color: #808080;
  text-decoration: none;
  font-size: 12px;
  font-family: monospace;
  transition: color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-table__link:hover {
  color: #e72528;
  text-decoration: underline;
}

.preview {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  margin-block: 1.5rem;
}
.preview__label {
  padding: 8px 16px;
  background: #f5f5f5;
  font-size: 12px;
  color: #808080;
  margin: 0;
  border-bottom: 1px solid #e5e5e5;
}
.preview__render {
  padding: 2rem;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.preview__code {
  position: relative;
  background: #24292e;
}
.preview__code :global(pre) {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 13px;
  overflow-x: auto;
}
.preview__copy {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.preview__copy:hover {
  background: rgba(255, 255, 255, 0.2);
}

body {
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

.guide-wrap {
  display: flex;
  min-height: 100vh;
}

.guide-sidebar {
  position: sticky;
  top: 0;
  width: 240px;
  height: 100vh;
  flex-shrink: 0;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 2rem;
}

.guide-sidebar__logo {
  display: block;
  padding: 1.25rem 1.5rem;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.guide-nav {
  padding: 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.guide-nav__group {
  margin-top: 1.25rem;
}

.guide-nav__group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #808080;
  margin: 0 0 0.5rem;
  padding: 0 0.75rem;
}

.guide-nav__link {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 14px;
  color: #b3b3b3;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.guide-nav__link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.guide-nav__link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.guide-main {
  flex: 1;
  min-width: 0;
  background: #f8f8f8;
}

.guide-content {
  max-width: 680px;
  padding: 2rem 1.75rem;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.guide-content :global(h1.guide-title) {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.375rem;
  color: #111;
  line-height: 1.4;
}

.guide-content :global(h2.guide-section-title) {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.625rem;
  color: #1a1a1a;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #e5e5e5;
  line-height: 1.4;
}
.guide-content :global(h2.guide-section-title):first-of-type {
  margin-top: 1.5rem;
}

.guide-content :global(.guide-desc) {
  font-size: 15px;
  color: #555;
  margin: 0 0 1.25rem;
  line-height: 1.8;
}

.guide-content :global(a) {
  color: #0066cc;
  text-decoration: none;
}
.guide-content :global(a):hover {
  text-decoration: underline;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.color-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.color-card__swatch {
  height: 100px;
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
  font-size: 12px;
  font-family: monospace;
}

.color-card__info {
  padding: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.color-card__name {
  font-size: 13px;
  font-weight: 600;
}

.color-card__scss {
  font-size: 11px;
  color: #808080;
}

.type-list {
  display: flex;
  flex-direction: column;
}

.type-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.type-item__meta {
  width: 160px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.type-item__label {
  font-size: 12px;
  font-weight: 600;
  color: #4d4d4d;
}

.type-item__scss {
  font-size: 11px;
  color: #808080;
}

.type-item__sample {
  flex: 1;
  min-width: 0;
}

.type-item__sample :global(h1),
.type-item__sample :global(h2),
.type-item__sample :global(h3),
.type-item__sample :global(h4) {
  margin: 0;
}

.type-body-sample {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.type-body-sample p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  min-width: 120px;
}

.icon-card__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.icon-card__name {
  font-size: 13px;
  font-weight: 600;
}

.icon-card__code {
  font-size: 11px;
  color: #718096;
  white-space: nowrap;
}

.icon-size-list {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.icon-size-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.icon-size-item__label {
  font-size: 12px;
  color: #718096;
}

.icon-color-list {
  display: flex;
  gap: 24px;
}

.icon-color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.icon-color-item__label {
  font-size: 12px;
  color: #718096;
}

.guide-code {
  background: #f5f5f6;
  border: 1px solid #e8e8ea;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
  color: #1a1a1a;
}
.guide-code code {
  font-family: "Fira Code", "Cascadia Code", "Consolas", monospace;
}

.guide-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 8px;
  color: #1a1a1a;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid #e8e8ea;
  border-radius: 8px;
  overflow: hidden;
}
.guide-table th {
  padding: 0.625rem 1rem;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #555;
  background: #f5f5f6;
  border-bottom: 1px solid #e8e8ea;
}
.guide-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  color: #333;
  vertical-align: middle;
  background: #fff;
}
.guide-table td code {
  font-family: "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 12px;
  background: #f5f5f6;
  border: 1px solid #e8e8ea;
  border-radius: 4px;
  padding: 2px 6px;
  color: #b91c4c;
}
.guide-table tr:last-child td {
  border-bottom: none;
}

.guide-content :global(a) {
  color: #0066cc;
  text-decoration: none;
}
.guide-content :global(a):hover {
  text-decoration: underline;
}

.guide-content :global(ul) {
  margin: 0;
  padding: 0 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.guide-content :global(ul) li {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}
.guide-content :global(ul) li code {
  font-family: "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 12px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 4px;
  padding: 2px 6px;
  color: #be185d;
}

.guide-content :global(.guide-desc code) {
  font-family: "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 12px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 4px;
  padding: 2px 6px;
  color: #be185d;
}

.guide-content :global(a) {
  color: #0066cc;
  text-decoration: none;
}
.guide-content :global(a):hover {
  text-decoration: underline;
}

.guide-content :global(a) {
  color: #0066cc;
  text-decoration: none;
}
.guide-content :global(a):hover {
  text-decoration: underline;
}

.guide-content :global(a) {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.guide-content :global(a):hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.guide-content :global(a) {
  color: #2563eb;
  text-decoration: none;
}
.guide-content :global(a):hover {
  text-decoration: underline;
}

.guide-content :global(a) {
  color: #0066cc;
  text-decoration: none;
}
.guide-content :global(a):hover {
  text-decoration: underline;
}

.guide-content :global(a) {
  color: #0066cc;
  text-decoration: none;
}
.guide-content :global(a):hover {
  text-decoration: underline;
}