:root {
  --site-bg: #050816;
  --site-surface: rgba(12, 18, 35, 0.88);
  --site-surface-strong: rgba(10, 16, 32, 0.96);
  --site-border: rgba(148, 163, 184, 0.18);
  --site-text: #e5ecf5;
  --site-muted: #93a4bc;
  --site-link: #7dd3fc;
  --site-accent: #f59e0b;
  --site-accent-soft: rgba(245, 158, 11, 0.14);
  --site-good: #34d399;
  --site-good-soft: rgba(52, 211, 153, 0.12);
  --site-shadow: 0 24px 60px rgba(2, 6, 23, 0.42);
  --site-radius: 24px;
  --site-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.site-body {
  margin: 0;
  color: var(--site-text);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 24%),
    linear-gradient(180deg, #07101f 0%, var(--site-bg) 100%);
  font-family: "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
}

.site-container {
  width: min(calc(100% - 32px), var(--site-max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 8, 22, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--site-text);
  text-decoration: none;
}

.site-brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(56, 189, 248, 0.18));
  border: 1px solid rgba(125, 211, 252, 0.2);
}

.site-brand__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.site-brand__subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--site-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--site-border);
  background: rgba(148, 163, 184, 0.08);
  color: var(--site-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.site-nav a {
  color: var(--site-text);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(148, 163, 184, 0.1);
}

.site-nav .site-nav__app {
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.18);
}

.site-nav .site-nav__minor {
  color: var(--site-muted);
  padding-left: 6px;
  padding-right: 6px;
}

.site-nav .site-nav__minor:hover,
.site-nav .site-nav__minor.is-active {
  color: var(--site-text);
  background: transparent;
}

.site-main {
  padding: 40px 0 72px;
}

.hero,
.page-hero,
.site-card,
.policy-card,
.article-card,
.article-shell,
.side-panel,
.guide-card,
.featured-mini {
  border-radius: var(--site-radius);
  border: 1px solid var(--site-border);
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.hero {
  padding: 44px;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(7, 16, 31, 0.96));
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.home-hero__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding-right: 8px;
  gap: 14px;
}

.home-hero__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero {
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(9, 17, 31, 0.95));
}

.page-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 320px;
  gap: 20px;
  align-items: stretch;
}

.hero__eyebrow,
.section__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fb7dd;
}

.hero__title {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.hero__body {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 26px;
  margin-top: 22px;
}

.hero__lead {
  margin: 0;
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.8;
  color: #d7e4f1;
}

.hero__cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero__actions,
.chip-row,
.filter-pills,
.article-card__meta,
.article-meta,
.article-shell__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.hero__actions {
  gap: 10px;
}

.hero__chips {
  gap: 8px 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--site-border);
  text-decoration: none;
  color: var(--site-text);
  background: rgba(148, 163, 184, 0.08);
  font-weight: 700;
  font-size: 15px;
}

.btn--primary {
  color: #08111d;
  background: linear-gradient(135deg, #7dd3fc, #fbbf24);
  border: none;
}

.hero__card {
  padding: 22px;
}

.hero__card--compact {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__stat {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hero__stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero__stat:first-child {
  padding-top: 0;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--site-muted);
}

.hero__stat-value {
  font-weight: 800;
}

.mini-feature {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(9, 16, 29, 0.96));
}

.mini-feature--primary {
  border-color: rgba(125, 211, 252, 0.2);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(17, 27, 49, 0.96), rgba(9, 16, 29, 0.98));
}

.mini-feature__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8fb7dd;
}

.mini-feature h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.mini-feature p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.65;
}

.section {
  margin-top: 28px;
}

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

.trust-band__item {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(10, 16, 32, 0.72);
  box-shadow: var(--site-shadow);
}

.trust-band__item strong {
  display: block;
  font-size: 18px;
  line-height: 1.4;
}

.trust-band__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--site-muted);
}

.section__head,
.list-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.section__title {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.section__desc {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--site-muted);
}

.grid-3,
.grid-4,
.article-grid,
.policy-grid,
.content-layout,
.quick-guide-grid,
.featured-strip {
  display: grid;
  gap: 16px;
}

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

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

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

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

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

.featured-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.content-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  margin-top: 24px;
}

.site-card,
.policy-card,
.article-card,
.guide-card,
.page-hero,
.article-shell,
.side-panel {
  padding: 28px;
}

.site-card h3,
.policy-card h3,
.article-card h3,
.guide-card h3,
.side-panel h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.site-card p,
.policy-card p,
.article-card p,
.guide-card p,
.page-hero p,
.side-panel,
.article-card__meta,
.article-meta {
  margin: 0;
  color: var(--site-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(148, 163, 184, 0.08);
  font-size: 12px;
  color: #d4deea;
}

.chip--accent {
  background: var(--site-accent-soft);
  border-color: rgba(245, 158, 11, 0.24);
}

.chip--good {
  background: var(--site-good-soft);
  border-color: rgba(52, 211, 153, 0.2);
}

.guide-card {
  position: relative;
  overflow: hidden;
}

.guide-card__step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.22);
  font-weight: 800;
  color: var(--site-link);
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 250px;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(12, 18, 35, 0.94), rgba(8, 14, 28, 0.98));
}

.article-card--report {
  border-color: rgba(125, 211, 252, 0.18);
}

.article-card--blog {
  border-color: rgba(245, 158, 11, 0.18);
}

.article-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.24);
  font-size: 12px;
  font-weight: 700;
  color: #ffd48c;
}

.article-card__excerpt {
  flex: 1;
  color: #c7d4e4;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.article-card__time {
  color: var(--site-muted);
  font-size: 13px;
}

.article-card__link,
.text-link,
.detail-breadcrumb a {
  font-weight: 700;
  color: var(--site-link);
  text-decoration: none;
}

.featured-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  text-decoration: none;
  color: var(--site-text);
  background:
    linear-gradient(180deg, rgba(10, 16, 32, 0.96), rgba(9, 17, 31, 0.95));
}

.featured-mini__section {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8fb7dd;
}

.featured-mini strong {
  font-size: 18px;
  line-height: 1.4;
}

.featured-mini span:last-child {
  color: var(--site-muted);
  font-size: 13px;
}

.page-hero h1,
.article-shell h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.04em;
}

.page-hero p {
  margin-top: 14px;
  max-width: 860px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--site-muted);
  font-size: 14px;
}

.article-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(12, 18, 35, 0.95), rgba(7, 14, 29, 0.98));
}

.article-shell__hero {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.article-shell__excerpt {
  margin: 14px 0 0;
  font-size: 18px;
  color: #d2ddeb;
}

.article-body {
  margin-top: 26px;
  font-size: 16px;
  color: #d9e2ee;
}

.article-body p,
.article-body li {
  margin: 0 0 16px;
}

.article-body ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.article-body h2 {
  margin: 32px 0 14px;
  font-size: 26px;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-panel {
  background: rgba(10, 16, 32, 0.92);
}

.side-panel--highlight {
  border-color: rgba(125, 211, 252, 0.24);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(10, 16, 32, 0.98), rgba(7, 14, 29, 0.98));
}

.side-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--site-muted);
}

.side-panel li {
  margin-bottom: 10px;
}

.filter-pill {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--site-border);
  background: rgba(148, 163, 184, 0.08);
  color: var(--site-text);
  cursor: pointer;
}

.filter-pill.is-active {
  background: rgba(125, 211, 252, 0.14);
  border-color: rgba(125, 211, 252, 0.24);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 26px 0 42px;
  color: var(--site-muted);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1040px) {
  .hero__body,
  .home-hero,
  .content-layout,
  .policy-grid,
  .grid-3,
  .grid-4,
  .article-grid,
  .article-grid--wide,
  .quick-guide-grid,
  .featured-strip,
  .trust-band,
  .page-hero--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-container {
    width: min(calc(100% - 20px), var(--site-max));
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-brand__subtitle {
    display: none;
  }

  .site-nav {
    width: 100%;
    display: none;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .page-hero,
  .site-card,
  .policy-card,
  .article-card,
  .article-shell,
  .side-panel,
  .guide-card {
    padding: 22px;
  }

  .site-main {
    padding-top: 24px;
  }

  .article-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-container {
    width: min(calc(100% - 16px), var(--site-max));
  }

  .site-header__inner {
    gap: 12px;
    padding: 14px 0;
  }

  .site-brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .site-brand__title {
    font-size: 15px;
  }

  .site-nav-toggle {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .site-nav a {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero,
  .page-hero,
  .site-card,
  .policy-card,
  .article-card,
  .article-shell,
  .side-panel,
  .guide-card {
    padding: 18px;
    border-radius: 20px;
  }

  .hero__title,
  .page-hero h1,
  .article-shell h1 {
    font-size: 30px;
  }

  .hero__lead,
  .section__desc,
  .article-body {
    font-size: 15px;
  }

  .mini-feature {
    padding: 18px;
  }

  .mini-feature h3,
  .site-card h3,
  .policy-card h3,
  .article-card h3,
  .guide-card h3,
  .side-panel h3 {
    font-size: 18px;
  }

  .btn {
    min-height: 42px;
    font-size: 14px;
  }

  .chip {
    min-height: 28px;
    padding: 0 10px;
  }
}

@media (max-width: 390px) {
  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__title,
  .page-hero h1,
  .article-shell h1 {
    font-size: 28px;
  }

  .article-body h2,
  .section__title {
    font-size: 24px;
  }

  .featured-mini,
  .site-card,
  .policy-card,
  .article-card,
  .guide-card,
  .side-panel {
    padding: 16px;
  }
}
