:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --text: #222222;
  --muted: #666666;
  --primary: #14213d;
  --primary-soft: #1f3a5f;
  --accent: #d6c7a1;
  --line: #e5e0d5;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Pretendard", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 224, 213, 0.9);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--primary);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  background: rgb(240, 240, 241);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.logo-text small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.hero {
  padding: 92px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-soft);
  font-size: 14px;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.hero h1 span {
  display: block;
  font-size: 0.46em;
  margin-top: 12px;
  letter-spacing: 0.02em;
  color: var(--primary-soft);
}

.hero-description {
  margin: 28px 0 0;
  max-width: 620px;
  font-size: 20px;
  color: #333333;
  letter-spacing: -0.03em;
}

.hero-slogan {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions,
.card-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.12);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary-soft {
  background: #3b5a85;
  border-color: #3b5a85;
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
}

.hero-panel {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 30px;
  border: 1px solid rgba(229, 224, 213, 0.9);
}

.publisher-card {
  min-height: 390px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(20, 33, 61, 0.96), rgba(31, 58, 95, 0.92)),
    radial-gradient(circle at top right, rgba(214, 199, 161, 0.5), transparent 42%);
  color: #ffffff;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.publisher-card .mark-large {
  width: 118px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.publisher-card p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding: 70px 0;
}

.section-soft {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.section-title p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.book-card,
.info-card,
.contact-card,
.notice-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.04);
}

.feature-card h3,
.book-card h3,
.info-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 21px;
  letter-spacing: -0.04em;
}

.feature-card p,
.book-card p,
.info-card p,
.contact-card p,
.notice-box p {
  margin: 0;
  color: var(--muted);
}

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

.book-cover {
  height: 230px;
  border-radius: 14px;
  background: linear-gradient(145deg, #14213d, #1f3a5f);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  margin-bottom: 20px;
  overflow: hidden;
}

.book-cover .series {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.book-cover strong {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2efe7;
  color: var(--primary-soft);
  font-size: 13px;
  font-weight: 700;
}

.list-check {
  margin: 18px 0 0;
  padding-left: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  color: #444444;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.page-hero {
  padding: 76px 0 52px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.career-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.career-list li:last-child {
  border-bottom: 0;
}

.career-list strong {
  color: var(--primary);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--primary);
  background: #f2efe7;
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.cta-box {
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #ffffff;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-box h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.cta-box p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-box .btn-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.site-footer {
  padding: 42px 0;
  background: #10182b;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
}

.footer-info {
  margin-top: 12px;
  font-size: 14px;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-info a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
}

.notice-box strong {
  color: var(--primary);
}

@media (max-width: 880px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 16px;
    white-space: nowrap;
  }

  .hero-grid,
  .two-column,
  .footer-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .two-column {
    display: grid;
  }

  .feature-grid,
  .book-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    display: block;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 58px 0 56px;
  }

  .section {
    padding: 52px 0;
  }

  .hero-panel,
  .publisher-card,
  .cta-box {
    padding: 24px;
  }

  .book-cover {
    height: 210px;
  }
}
