@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-dark: #101827;
  --text: #182235;
  --muted: #687385;
  --line: #dfe5ee;
  --accent: #356df3;
  --accent-soft: #eaf0ff;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(17, 30, 58, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  left: 20px;
  top: 20px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 229, 238, 0.8);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  background: var(--surface-dark);
}

.main-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--text);
}

.hero {
  padding: 80px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.14;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 6px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.search-box {
  display: flex;
  max-width: 680px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow);
}

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  border: 0;
  outline: 0;
  font: inherit;
  background: transparent;
}

.search-box button {
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--surface-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tags a {
  padding: 7px 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.panel-card {
  padding: 24px;
  background: var(--surface-dark);
  color: #fff;
  border-radius: var(--radius);
}

.panel-card:nth-child(2) {
  background: var(--accent);
}

.panel-card:nth-child(3) {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
}

.panel-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.7;
}

.panel-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 22px;
}

.panel-card p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

.intro-section {
  padding: 70px 0;
  background: #fff;
  border-block: 1px solid var(--line);
}

.intro-section p {
  color: var(--muted);
  font-size: 17px;
}

.categories-section,
.guide-section,
.safety-section,
.faq-section {
  padding: 90px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(30, 45, 70, 0.05);
}

.category-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.category-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 800;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li + li {
  border-top: 1px solid var(--line);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 14px;
}

.link-list a:hover span {
  color: var(--accent);
}

.link-list small {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.no-results {
  margin-top: 28px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border-radius: 16px;
}

.guide-section {
  color: #fff;
  background: var(--surface-dark);
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.guide-list {
  display: grid;
  gap: 18px;
}

.guide-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.13);
}

.guide-list article > span {
  color: #8faeff;
  font-weight: 800;
}

.guide-list p {
  margin: 0;
  color: #aeb8ca;
}

.safety-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 55px;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.safety-points p {
  margin-bottom: 13px;
  color: var(--muted);
}

.safety-points strong {
  color: var(--text);
}

.faq-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0;
  color: #c9d0dc;
  background: #0c1320;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 5px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .safety-card {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1160px);
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-panel,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-box button {
    padding-inline: 16px;
  }

  .safety-card {
    padding: 28px;
  }
}
