:root {
  --sp-ink: #090b0f;
  --sp-paper: #faf7f1;
  --sp-white: #ffffff;
  --sp-muted: #6e6a62;
  --sp-line: #e7dfd2;
  --sp-orange: #ff6b1a;
  --sp-gold: #b78a42;
  --sp-blue: #203d57;
  --sp-green: #315c4d;
  --sp-soft-blue: #e8f0f5;
  --sp-soft-gold: #f4ead8;
  --sp-soft-green: #e7eee9;
  --sp-shadow: 0 18px 50px rgba(9, 11, 15, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--sp-ink);
  background: var(--sp-paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: 0;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100dvh;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.wide-wrap {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 223, 210, 0.82);
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(12px);
}

.dark-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(9, 11, 15, 0.88);
  color: var(--sp-white);
}

.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 3px solid var(--sp-orange);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--sp-orange);
  border-radius: 50%;
}

.brand-mark::after {
  inset: 13px;
  background: var(--sp-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.card-link:focus-visible,
.chip:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 107, 26, 0.38);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--sp-white);
  background: var(--sp-orange);
}

.btn-primary:hover {
  background: #d9550e;
}

.btn-dark {
  color: var(--sp-white);
  background: var(--sp-ink);
}

.btn-dark:hover {
  background: #28231f;
}

.btn-ghost {
  color: inherit;
  border-color: currentColor;
  background: transparent;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: "IBM Plex Mono", "Pretendard", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-orange);
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 44px;
  line-height: 1.22;
  font-weight: 800;
}

.section-desc {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--sp-muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  background: var(--sp-white);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow);
  border-color: rgba(183, 138, 66, 0.45);
}

.card-body {
  padding: 26px;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-family: "IBM Plex Mono", "Pretendard", sans-serif;
  font-size: 12px;
  color: var(--sp-muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--sp-soft-gold);
  color: #6f4f1c;
  font-size: 12px;
  font-weight: 800;
}

.tag.dark {
  background: rgba(255, 107, 26, 0.14);
  color: #ffd4bd;
}

.tag.green {
  background: var(--sp-soft-green);
  color: var(--sp-green);
}

.article-title {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 26px;
  line-height: 1.32;
}

.article-excerpt {
  margin: 14px 0 0;
  color: var(--sp-muted);
}

.media-frame {
  aspect-ratio: 16 / 10;
  background: var(--sp-soft-blue);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.input-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 0 15px;
  background: var(--sp-white);
  color: var(--sp-ink);
}

.helper-text {
  margin: 12px 0 0;
  color: var(--sp-muted);
  font-size: 13px;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-green);
}

.compare-hero {
  padding: 86px 0 52px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(250, 247, 241, 0.96)),
    url("https://images.unsplash.com/photo-1507838153414-b4b713384a76?auto=format&fit=crop&w=1800&q=78") center / cover;
}

.compare-title {
  max-width: 920px;
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 58px;
  line-height: 1.16;
}

.compare-summary {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 19px;
  color: #423d35;
}

.concept-grid {
  margin-top: 42px;
}

.concept-card .media-frame {
  aspect-ratio: 16 / 11;
}

.concept-card .card-body {
  display: flex;
  flex-direction: column;
  min-height: 270px;
}

.concept-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.pm-note {
  margin-top: 46px;
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
}

.pm-note h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.pm-note p {
  margin: 0;
  color: var(--sp-muted);
}

.hero-dark {
  min-height: 720px;
  color: var(--sp-white);
  background:
    linear-gradient(90deg, rgba(9, 11, 15, 0.9), rgba(9, 11, 15, 0.54) 48%, rgba(9, 11, 15, 0.8)),
    url("https://images.unsplash.com/photo-1509782642997-4befdc4b21c9?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-dark .wrap {
  min-height: 646px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(9, 11, 15, 0.38);
  font-family: "IBM Plex Mono", "Pretendard", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  margin: 24px 0 0;
  font-family: "Noto Serif KR", serif;
  font-size: 64px;
  line-height: 1.15;
  font-weight: 800;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

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

.issue-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 28px;
  background: rgba(9, 11, 15, 0.62);
  backdrop-filter: blur(14px);
}

.issue-card h2 {
  margin: 18px 0 0;
  font-family: "Noto Serif KR", serif;
  font-size: 34px;
  line-height: 1.25;
}

.issue-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.issue-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}

.dark-band {
  color: var(--sp-white);
  background: #151515;
}

.dark-band .section-desc,
.dark-band .article-excerpt,
.dark-band .meta-row {
  color: rgba(255, 255, 255, 0.68);
}

.dark-band .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #202020;
}

.archive-tabs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0;
}

.chip {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
}

.chip.active,
.chip:hover {
  color: var(--sp-ink);
  background: var(--sp-orange);
  border-color: var(--sp-orange);
}

.split-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--sp-white);
}

.split-feature .media-frame {
  min-height: 420px;
  aspect-ratio: auto;
}

.feature-copy {
  padding: 44px;
}

.feature-copy h2 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 42px;
  line-height: 1.22;
}

.comment-panel {
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  padding: 32px;
  background: var(--sp-white);
}

.comment-item {
  padding: 18px 0;
  border-top: 1px solid var(--sp-line);
}

.comment-item:first-of-type {
  margin-top: 18px;
}

.comment-name {
  margin: 0 0 6px;
  font-weight: 800;
}

.comment-text {
  margin: 0;
  color: var(--sp-muted);
}

.subscribe-dark {
  color: var(--sp-white);
  background: var(--sp-ink);
}

.subscribe-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  border-radius: 16px;
  padding: 44px;
  background: var(--sp-soft-gold);
}

.subscribe-dark .subscribe-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.room-hero {
  padding: 72px 0 44px;
  background: var(--sp-paper);
}

.room-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.newsletter-panel {
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  padding: 42px;
  background: var(--sp-white);
}

.newsletter-title {
  max-width: 720px;
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 54px;
  line-height: 1.18;
}

.newsletter-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: stretch;
}

.newsletter-image {
  min-height: 360px;
  border-radius: 12px;
  overflow: hidden;
}

.newsletter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-panel {
  position: sticky;
  top: 98px;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  padding: 28px;
  background: #f3ede3;
}

.latest-panel h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

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

.latest-list li {
  padding: 15px 0;
  border-top: 1px solid rgba(9, 11, 15, 0.1);
}

.latest-list a {
  font-weight: 800;
}

.latest-list span {
  display: block;
  color: var(--sp-muted);
  font-size: 13px;
}

.reader-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  overflow: hidden;
}

.reader-card .media-frame {
  aspect-ratio: auto;
  min-height: 300px;
}

.reader-card .card-body {
  padding: 36px;
}

.program-body {
  background: #f8f2e7;
}

.program-hero {
  padding: 76px 0 34px;
  border-bottom: 1px solid var(--sp-line);
}

.program-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 46px;
  align-items: start;
}

.program-index {
  position: sticky;
  top: 98px;
  border-right: 1px solid var(--sp-line);
  padding-right: 26px;
}

.program-index h2 {
  margin: 0 0 18px;
  font-family: "IBM Plex Mono", "Pretendard", sans-serif;
  font-size: 13px;
}

.program-index ol {
  margin: 0;
  padding-left: 20px;
  color: var(--sp-muted);
}

.program-index li {
  margin: 0 0 14px;
}

.program-title {
  max-width: 920px;
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 58px;
  line-height: 1.2;
}

.program-lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 20px;
  color: #484138;
}

.program-article {
  padding: 64px 0 90px;
}

.article-shell {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

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

.article-content h2 {
  margin: 48px 0 16px;
  font-family: "Noto Serif KR", serif;
  font-size: 34px;
  line-height: 1.28;
}

.article-content p {
  margin: 0 0 20px;
  font-size: 18px;
  color: #34302b;
}

.pullquote {
  margin: 40px 0;
  border-left: 4px solid var(--sp-gold);
  padding: 12px 0 12px 24px;
  font-family: "Noto Serif KR", serif;
  font-size: 28px;
  line-height: 1.42;
}

.side-note {
  border: 1px solid var(--sp-line);
  border-radius: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.side-note h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.side-note ul {
  margin: 0;
  padding-left: 18px;
  color: var(--sp-muted);
}

.footer {
  padding: 36px 0;
  border-top: 1px solid var(--sp-line);
  color: var(--sp-muted);
  font-size: 14px;
}

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

  .hero-dark .wrap,
  .room-layout,
  .newsletter-grid,
  .program-layout,
  .article-shell,
  .subscribe-box {
    grid-template-columns: 1fr;
  }

  .latest-panel,
  .program-index {
    position: static;
  }

  .program-index {
    border-right: 0;
    border-bottom: 1px solid var(--sp-line);
    padding: 0 0 22px;
  }

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

  .split-feature,
  .reader-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.68;
  }

  .wrap,
  .wide-wrap {
    width: min(100% - 32px, 1180px);
  }

  .nav-row {
    min-height: 64px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .section,
  .section-tight {
    padding: 64px 0;
  }

  .compare-title,
  .newsletter-title,
  .program-title,
  .hero-title {
    font-size: 38px;
    line-height: 1.22;
  }

  .section-title,
  .feature-copy h2 {
    font-size: 32px;
  }

  .hero-dark {
    min-height: auto;
  }

  .hero-dark .wrap {
    min-height: 650px;
    gap: 28px;
    padding: 54px 0;
  }

  .hero-copy,
  .program-lead,
  .compare-summary,
  .section-desc {
    font-size: 16px;
  }

  .hero-actions,
  .input-row {
    flex-direction: column;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .feature-copy,
  .newsletter-panel,
  .subscribe-box,
  .comment-panel,
  .pm-note {
    padding: 24px;
  }

  .split-feature .media-frame {
    min-height: 260px;
  }

  .program-article {
    padding: 42px 0 64px;
  }

  .article-content h2 {
    font-size: 26px;
  }

  .article-content p {
    font-size: 16px;
  }

  .pullquote {
    font-size: 22px;
    padding-left: 18px;
  }
}
