@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  color: #14231e;
  background: #f1f4f2;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f1f4f2;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid #d9dfdc;
  background: rgba(255, 255, 255, 0.96);
}

.site-header-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav .store-link {
  padding: 8px 12px;
  border-radius: 6px;
  color: #fff;
  background: #14231e;
}

.guide-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 88px;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding-bottom: 58px;
}

.guide-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-left: 5px solid #f2c94c;
  color: #3e5048;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 26px;
  color: #475850;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #14231e;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: #14231e;
}

.hero-screen {
  margin: 0;
  padding: 14px;
  border: 1px solid #cfd7d3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 18px 20px 0 #f2c94c;
}

.hero-screen img {
  display: block;
  width: 100%;
  max-height: 610px;
  object-fit: contain;
  border-radius: 4px;
}

.hero-screen figcaption {
  padding: 10px 4px 0;
  color: #67766f;
  font-size: 13px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 54px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-section {
  padding: 34px 0;
  border-top: 1px solid #d5dcd8;
}

.article-section h2 {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: 0;
}

.article-section p,
.article-section li {
  color: #34463e;
  font-size: 17px;
}

.article-section ul,
.article-section ol {
  margin: 16px 0 0;
  padding-left: 24px;
}

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

.fact-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 5px solid #2f7d5d;
  background: #fff;
  color: #33453d;
}

.guide-aside {
  position: sticky;
  top: 90px;
  padding: 22px;
  border: 1px solid #cfd7d3;
  border-radius: 8px;
  background: #fff;
}

.guide-aside strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.guide-aside p {
  color: #53635c;
  font-size: 14px;
}

.guide-aside .button {
  width: 100%;
}

.related-guides {
  padding: 48px 0 0;
  border-top: 1px solid #d5dcd8;
}

.related-guides h2 {
  font-size: 26px;
}

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

.related-link {
  min-height: 130px;
  padding: 20px;
  border: 1px solid #cfd7d3;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.related-link span {
  display: block;
  margin-bottom: 7px;
  color: #2f7d5d;
  font-size: 12px;
  font-weight: 850;
}

.related-link strong {
  font-size: 17px;
  line-height: 1.4;
}

.site-footer {
  padding: 28px 16px;
  color: #d7e0dc;
  background: #14231e;
  text-align: center;
  font-size: 13px;
}

.guide-index-intro {
  max-width: 760px;
  padding-bottom: 42px;
}

.guide-index-intro p {
  color: #475850;
  font-size: 19px;
}

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

.guide-index-link {
  min-height: 190px;
  padding: 26px;
  border: 1px solid #cfd7d3;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.guide-index-link:nth-child(4n + 1) {
  border-top: 6px solid #f2c94c;
}

.guide-index-link:nth-child(4n + 2) {
  border-top: 6px solid #2f7d5d;
}

.guide-index-link:nth-child(4n + 3) {
  border-top: 6px solid #e25f47;
}

.guide-index-link:nth-child(4n) {
  border-top: 6px solid #5e7ac8;
}

.guide-index-link span {
  color: #65756d;
  font-size: 13px;
  font-weight: 800;
}

.guide-index-link h2 {
  margin: 14px 0 10px;
  font-size: 23px;
  line-height: 1.35;
}

.guide-index-link p {
  margin: 0;
  color: #4d5e56;
}

@media (max-width: 820px) {
  .guide-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-screen {
    width: min(430px, calc(100% - 14px));
    margin: 0 auto;
    box-shadow: 12px 14px 0 #f2c94c;
  }

  .guide-aside {
    position: static;
  }

  .related-grid,
  .guide-index-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header-inner {
    min-height: 58px;
  }

  .site-nav > a:not(.store-link) {
    display: none;
  }

  .guide-shell {
    padding-top: 34px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 17px;
  }
}
