:root {
  color-scheme: light;
  --ink: #10252c;
  --muted: #5c7076;
  --paper: #fffdf8;
  --soft: #f4f7f5;
  --mint: #27c7a2;
  --mint-dark: #178d75;
  --coral: #f2765d;
  --navy: #122f3b;
  --line: rgba(16, 37, 44, 0.14);
  --shadow: 0 20px 60px rgba(18, 47, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(39, 199, 162, 0.13), transparent 380px),
    var(--paper);
  font-family:
    Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(18, 47, 59, 0.08);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--navy);
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(39, 199, 162, 0.14);
  outline: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -44px;
  z-index: 20;
  border-radius: 8px;
  padding: 8px 12px;
  color: white;
  background: var(--navy);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 76px) clamp(18px, 5vw, 38px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.58fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  border: 1px solid rgba(39, 199, 162, 0.36);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--mint-dark);
  background: white;
  font-size: 0.92rem;
  font-weight: 850;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 6vw, 4.65rem);
  line-height: 1.04;
}

.lead {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: white;
  font-weight: 800;
  text-decoration: none;
}

.pill.primary {
  border-color: transparent;
  color: white;
  background: var(--navy);
}

.section {
  padding-top: 46px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.meta-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: white;
}

.article-body {
  max-width: 760px;
}

.article-body p {
  color: var(--muted);
  font-size: 1.04rem;
}

.article-body h2 {
  margin-top: 38px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
}

.article-body li + li {
  margin-top: 8px;
}

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

.post-card {
  display: grid;
  min-height: 220px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(18, 47, 59, 0.07);
}

.post-card:hover,
.post-card:focus-visible {
  border-color: rgba(39, 199, 162, 0.68);
  outline: none;
}

.post-card h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.post-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.post-label {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--mint-dark);
  background: rgba(39, 199, 162, 0.13);
  font-size: 0.86rem;
  font-weight: 850;
}

.post-label.scheduled {
  color: #a5432f;
  background: rgba(242, 118, 93, 0.14);
}

.toc {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: white;
}

.toc a {
  color: var(--mint-dark);
  font-weight: 800;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.28rem);
  line-height: 1.18;
}

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

.card,
.note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 32px rgba(18, 47, 59, 0.07);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.card p,
.note p,
li {
  color: var(--muted);
}

.note {
  border-left: 5px solid var(--mint);
}

.note.warning {
  border-left-color: var(--coral);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: white;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: white;
  box-shadow: 0 12px 32px rgba(18, 47, 59, 0.06);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.platforms a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: white;
  font-weight: 850;
  text-decoration: none;
}

.platforms a:hover,
.platforms a:focus-visible {
  border-color: rgba(39, 199, 162, 0.65);
  outline: none;
}

.footer {
  max-width: 1060px;
  margin: 0 auto;
  padding: 26px clamp(18px, 5vw, 38px) 44px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 850px) {
  .topbar,
  .hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    position: static;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero,
  .grid,
  .post-grid,
  .platforms {
    grid-template-columns: 1fr;
  }
}
