:root {
  --dark: #10141d;
  --dark2: #171d28;
  --paper: #f5f3ef;
  --white: #fff;
  --text: #161a22;
  --soft: #626a76;
  --red: #f04452;
  --line: rgba(16, 20, 29, .12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}

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

.wrap {
  width: min(calc(100% - 36px), var(--max));
  margin: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 20, 29, .95);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
}

.head {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.logo i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px 4px;
  background: var(--red);
  font-style: normal;
}

.logo small {
  display: block;
  color: #7f8998;
  font-size: 8px;
  letter-spacing: .16em;
}

.nav,
.footnav {
  display: flex;
  gap: 6px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 99px;
  color: #aab2bf;
  font-size: 13px;
  font-weight: 800;
}

.nav a:hover,
.nav a.on {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.hero {
  background: var(--dark);
  color: #fff;
  padding: 88px 0 92px;
  overflow: hidden;
}

.hero .wrap {
  position: relative;
}

.hero .wrap::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -180px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .02), 0 0 0 140px rgba(255, 255, 255, .012);
}

.eyebrow,
.kicker {
  position: relative;
  z-index: 1;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 16px 0 22px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.08;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.intro {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #aab3c1;
  font-size: 16px;
}

.meta-line {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.meta-line span,
.tags span,
.scheduled {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(240, 68, 82, .1);
  color: #e43947;
  font-size: 11px;
  font-weight: 900;
}

.section {
  padding: 76px 0 86px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.notice {
  max-width: 360px;
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  text-align: right;
}

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

.post-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .6);
}

.post-card h3 {
  margin: 32px 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.post-card h3 a:hover {
  color: var(--red);
}

.post-card p {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 13px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.card-top time {
  color: #8a9099;
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.scheduled {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--dark);
  color: #fff;
}

.empty {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.empty strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.empty p {
  margin: 0;
  color: var(--soft);
}

.article-wrap {
  padding: 64px 0 86px;
}

.article {
  max-width: 860px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.back-link:hover {
  color: var(--red);
}

.article h1 {
  margin: 8px 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.18;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--soft);
  font-size: 13px;
}

.lead {
  margin: 28px 0 18px;
  color: #3c424c;
  font-size: 18px;
}

.article-tags {
  margin: 0 0 38px;
}

.article section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.article h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
}

.article p {
  color: #3f4650;
}

.faq-box {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.faq-box h2 {
  font-size: 28px;
}

.faq-box details {
  border-top: 1px solid var(--line);
}

.faq-box details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-box summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 900;
}

.faq-box details p {
  margin: 0;
  padding: 0 0 16px;
  color: var(--soft);
  font-size: 13px;
}

.footer {
  padding: 46px 0 24px;
  background: #090d13;
  color: #fff;
}

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

.foot p {
  color: #6f7988;
  font-size: 11px;
}

.footnav {
  color: #7f8998;
  font-size: 11px;
}

.footnav a:hover {
  color: #fff;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #ece8df;
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 60px 0 66px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero .wrap::after {
    right: -260px;
  }

  .section {
    padding: 58px 0 68px;
  }

  .section-head {
    display: block;
  }

  .notice {
    margin-top: 12px;
    text-align: left;
  }

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

  .post-card {
    min-height: 280px;
  }

  .foot {
    flex-direction: column;
  }

  .footnav {
    flex-wrap: wrap;
  }
}
