:root {
  color-scheme: light;
  --bg: #f8f6f0;
  --surface: #ffffff;
  --surface-soft: #fffaf0;
  --ink: #171717;
  --muted: #66615b;
  --line: #ded7c8;
  --brand: #db2f3b;
  --brand-dark: #a31926;
  --teal: #087f7a;
  --gold: #c98213;
  --shadow: 0 18px 48px rgba(31, 25, 17, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(219, 47, 59, 0.08), rgba(248, 246, 240, 0) 280px),
    var(--bg);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 215, 200, 0.84);
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand,
.nav,
.actions,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand-title {
  margin: 0;
  font-size: 22px;
  line-height: 1;
}

.brand {
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #202020);
  font-weight: 900;
}

.nav {
  gap: 22px;
  color: #3d3833;
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.contact:hover {
  color: var(--brand);
}

.contact {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 800;
}

.intro {
  padding: 68px 0 42px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.line,
.sentence {
  display: block;
}

.hero-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.07;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-button {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(219, 47, 59, 0.24);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
}

.status-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.status-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.status-row strong {
  font-size: 16px;
}

.quick-links {
  padding: 16px 0 44px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.guide-tile {
  min-height: 108px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.guide-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(31, 25, 17, 0.1);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: #1e1e1e;
  font-weight: 900;
}

.section {
  padding: 72px 0;
}

.alt {
  background: #efe9dd;
}

.content-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 54px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

.article-copy p,
.feature-list p,
.step-card p,
.comic-card p,
.platform-grid p,
.faq p {
  color: var(--muted);
  line-height: 1.78;
}

.article-copy p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.step-card,
.comic-card,
.platform-grid article,
.feature-list article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-card {
  padding: 22px;
}

.step-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.step-card h3,
.feature-list h3,
.platform-grid h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 22px 24px;
}

.genre-block {
  margin-top: 34px;
}

.genre-block h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.comic-grid,
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.comic-card {
  overflow: hidden;
}

.comic-card h4,
.comic-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.comic-card h4 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 19px;
}

.comic-card p {
  margin-top: 0;
  margin-bottom: 20px;
}

.comic-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  background: #252525;
}

.cover-red { background: linear-gradient(135deg, #db2f3b, #5b1118); }
.cover-green { background: linear-gradient(135deg, #087f7a, #183c35); }
.cover-blue { background: linear-gradient(135deg, #2267b5, #14273f); }
.cover-ink { background: linear-gradient(135deg, #222, #63584c); }
.cover-violet { background: linear-gradient(135deg, #7f3a98, #2b1933); }
.cover-gold { background: linear-gradient(135deg, #c98213, #5b3511); }
.cover-pink { background: linear-gradient(135deg, #d54b7d, #5e1830); }
.cover-cyan { background: linear-gradient(135deg, #11859a, #173d45); }
.cover-lime { background: linear-gradient(135deg, #7b9e23, #304010); }

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

.platform-grid article {
  padding: 22px;
}

.faq {
  max-width: 850px;
}

.faq details {
  padding: 18px 22px;
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  padding: 28px 0;
  color: #f7efe5;
  background: #171717;
}

.footer-inner {
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .intro-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .intro {
    padding-top: 42px;
  }

  .hero-title {
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
  }

  .link-grid,
  .step-grid,
  .comic-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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