:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b6b6b;
  --faint: #767676;
  --line: #e8e8e8;
  --soft: #f5f5f3;
  --accent: #ff4f1f;
  --radius: 10px;
  --wrap: 1280px;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --fg: #f2f2f2;
    --muted: #a0a0a0;
    --faint: #8f8f8f;
    --line: #262626;
    --soft: #181818;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 760px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -0.04em; flex-shrink: 0; }
.logo span { color: var(--accent); }
.cat-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { padding: 7px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .15s, background .15s; }
.cat-nav a:hover { color: var(--fg); }
.cat-nav a.on { color: var(--bg); background: var(--fg); }
.cat-nav sup { font-size: 10px; margin-left: 3px; opacity: .6; vertical-align: super; }
.search { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; padding: 0 14px; height: 38px; width: 240px; flex-shrink: 0; }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.search input { border: 0; background: none; outline: none; font: inherit; font-size: 14px; color: var(--fg); width: 100%; }

/* ---------- 인트로 ---------- */
.intro { padding: 72px 0 40px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.intro h1 { margin: 0; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.12; font-weight: 800; letter-spacing: -0.045em; }
.intro-meta { margin: 20px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- 썸네일 ---------- */
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.thumb.noimg::after { content: 'DayDay.'; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--faint); }
a:hover .thumb img { transform: scale(1.035); }

/* ---------- 피처드 ---------- */
.featured { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto; gap: 28px 32px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.feat-main { grid-row: span 2; }
.feat { display: flex; flex-direction: column; gap: 16px; }
.feat:not(.feat-main) { display: grid; grid-template-columns: 1fr; }
.feat h2 { margin: 6px 0 0; font-size: 20px; line-height: 1.35; font-weight: 700; letter-spacing: -0.03em; }
.feat-main h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; }
.feat .sub { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.feat-main .sub { font-size: 17px; }
.excerpt { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat time { display: block; margin-top: 12px; }

/* ---------- 목록 ---------- */
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 48px 0 28px; }
.list-head h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; }
.list-head h2 small { font-size: 15px; color: var(--faint); font-weight: 600; margin-left: 6px; }
.tag-chips, .a-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--muted); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip.on { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 28px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card .thumb { margin-bottom: 14px; }
.card h3 { margin: 8px 0 0; font-size: 17px; line-height: 1.42; font-weight: 700; letter-spacing: -0.03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card time { margin-top: 10px; }
.card:hover h3, .feat:hover h2 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

.card-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.card-meta .cat { font-weight: 600; color: var(--fg); flex-shrink: 0; }
.card-meta .tags { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta .tags::before { content: '·'; margin-right: 6px; }
.new { font-size: 10px; font-weight: 800; color: var(--accent); letter-spacing: .04em; }
time { font-size: 13px; color: var(--faint); }

.empty { text-align: center; color: var(--muted); padding: 80px 0; }
.more-wrap { display: flex; justify-content: center; padding: 56px 0 24px; }
.more { border: 1px solid var(--fg); background: none; border-radius: 999px; padding: 12px 36px; font-weight: 600; cursor: pointer; }
.more:hover { background: var(--fg); color: var(--bg); }

/* ---------- 상세 ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 30; }
.a-head { padding-top: 72px; }
.a-head .cat { font-size: 14px; font-weight: 700; color: var(--accent); }
.a-title { margin: 14px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.25; font-weight: 800; letter-spacing: -0.045em; }
.a-sub { margin: 14px 0 0; font-size: clamp(17px, 2vw, 21px); color: var(--muted); line-height: 1.5; letter-spacing: -0.02em; }
.a-info { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.a-info a { margin-left: auto; color: var(--fg); font-weight: 600; }

.a-body { padding-top: 40px; font-size: 17.5px; line-height: 1.85; color: var(--fg); }
.a-body p { margin: 0 0 1.1em; }
.a-body h2, .a-body h3, .a-body h4 { letter-spacing: -0.035em; line-height: 1.35; }
.a-body h2 { font-size: 26px; margin: 2.2em 0 .8em; }
.a-body h3 { font-size: 21px; margin: 1.8em 0 .6em; }
.a-body h4 { font-size: 18px; margin: 1.6em 0 .5em; }
.a-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.a-body ul, .a-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.a-body li { margin: .35em 0; }
.a-body blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--fg); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.a-body blockquote p { margin: 0; }
.a-body figure { margin: 2em 0; }
.a-body figure img, .a-body img { border-radius: 8px; height: auto; margin: 0 auto; }
.a-body figure.broken { display: none; }
.a-body figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.a-body hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.a-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; margin: 1.5em 0; display: block; overflow-x: auto; }
.a-body th, .a-body td { border: 1px solid var(--line) !important; padding: 10px 12px; text-align: left; vertical-align: top; background: none !important; color: inherit !important; }
.a-body th, .a-body tr:first-child td { background: var(--soft) !important; font-weight: 600; }
.a-body pre, .a-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--soft); border-radius: 6px; }
.a-body code { padding: 2px 6px; }
.a-body pre { padding: 18px; overflow-x: auto; }
.a-body pre code { padding: 0; background: none; }
.a-body iframe, .a-body video { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.a-body [style*="color"] { color: inherit !important; }
.a-body [style*="background"] { background: none !important; }
.a-body figure[data-ke-type="opengraph"] a { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 16px; color: var(--fg); text-decoration: none; }

.a-foot { padding: 40px 0 0; }
.source { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding: 22px 24px; border-radius: var(--radius); background: var(--soft); font-size: 14.5px; color: var(--muted); }
.source strong { color: var(--fg); }
.source:hover strong { color: var(--accent); }

.related { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 28px; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.related .grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- 푸터 ---------- */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 13px; color: var(--faint); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .search { width: 180px; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 10px 16px; }
  .cat-nav { order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 16px 10px; }
  .search { width: auto; flex: 1; height: 34px; }
  .intro { padding: 44px 0 28px; }
  .featured { grid-template-columns: 1fr; padding-bottom: 40px; }
  .feat-main { grid-row: auto; }
  .feat:not(.feat-main) { grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
  .feat:not(.feat-main) h2 { font-size: 16px; margin-top: 4px; }
  .feat:not(.feat-main) .sub { display: none; }
  .grid, .related .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .card h3 { font-size: 15.5px; }
  .a-head { padding-top: 40px; }
  .a-body { font-size: 16.5px; }
  .a-info a { margin-left: 0; }
}
@media (max-width: 480px) {
  .grid, .related .grid { grid-template-columns: 1fr; }
}

/* ---------- 스토어 ---------- */
.nav-sep { flex-shrink: 0; width: 1px; height: 16px; background: var(--line); align-self: center; margin: 0 6px; }
.nav-store { color: var(--fg) !important; font-weight: 700 !important; }
.nav-store.on { color: var(--bg) !important; }

.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.store-card { display: flex; flex-direction: column; }
.store-cover { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background: color-mix(in srgb, var(--tone) 45%, var(--soft)); display: grid; place-items: center; padding: 11% 15%; overflow: hidden; }
.store-cover img { width: 100%; height: auto; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 40px -12px rgba(0,0,0,.35); border-radius: 2px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.store-card:hover .store-cover img { transform: translateY(-6px) rotate(-1deg); }
.store-card .card-meta { margin-top: 16px; }
.store-card h3 { margin: 8px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -0.035em; }
.store-card .sub { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.price { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.price strong { color: var(--accent); margin-right: 6px; font-size: 15px; }

.product { max-width: 1120px; margin: 0 auto; }
.back { display: inline-block; margin: 40px 0 24px; font-size: 14px; color: var(--muted); }
.back:hover { color: var(--fg); }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.store-cover.big { position: sticky; top: 96px; }
.product-info .kind { margin: 0; font-size: 14px; font-weight: 700; color: var(--accent); }
.product-info h1 { margin: 12px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; font-weight: 800; letter-spacing: -0.045em; }
.spec { margin: 28px 0 0; border-top: 1px solid var(--line); }
.spec div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { width: 56px; color: var(--faint); flex-shrink: 0; }
.spec dd { margin: 0; }
.spec strong { color: var(--accent); }

.gate { margin-top: 28px; padding: 24px; border-radius: 14px; background: var(--soft); }
.gate-title { margin: 0 0 18px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.gate-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; opacity: .55; transition: opacity .2s; }
.steps li.now, .steps li.done { opacity: 1; }
.steps li > span { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--bg); border: 1px solid var(--line); }
.steps li.now > span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.steps li.done > span { background: var(--accent); color: #fff; border-color: var(--accent); font-size: 0; }
.steps li.done > span::after { content: '✓'; font-size: 14px; }
.steps strong { display: block; font-size: 15.5px; }
.steps small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.steps .btn { margin-top: 12px; }
.check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--fg); background: var(--bg); font-weight: 700; font-size: 15px; cursor: pointer; transition: all .15s; }
.btn:hover:not(:disabled) { background: var(--fg); color: var(--bg); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--fg); border-color: var(--fg); }
.gate > .btn.primary { width: 100%; height: 54px; font-size: 16px; }

.highlights { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.highlights li::before { content: '✦'; color: var(--accent); margin-right: 10px; }

.product-section { margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); }
.product-section h2 { margin: 0 0 24px; font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.product-section h3 { margin: 40px 0 14px; font-size: 18px; }
.lead { margin: 0; max-width: 760px; font-size: 18px; line-height: 1.8; }
.audience { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 16px; line-height: 1.6; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.toc li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.toc-no { font-size: 13px; color: var(--faint); font-weight: 600; width: 22px; padding-top: 3px; }
.toc strong { display: block; font-size: 17px; letter-spacing: -0.02em; }
.toc small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.previews img { width: 100%; border-radius: 6px; border: 1px solid var(--line); }

@media (max-width: 820px) {
  .store-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .product-top { grid-template-columns: 1fr; gap: 28px; }
  .store-cover.big { position: static; }
  .back { margin-top: 24px; }
  .toc { grid-template-columns: 1fr; }
  .previews { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-section { margin-top: 56px; }
}
@media (max-width: 480px) {
  .store-grid { grid-template-columns: 1fr; }
}

/* ---------- 뉴스레터 ---------- */
:root { --nl: #2447d9; --nl-card: #f9f8f5; }
@media (prefers-color-scheme: dark) { :root { --nl: #6d8bff; --nl-card: #171717; } }

.nl-btn { flex-shrink: 0; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--nl); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; transition: filter .15s; }
.nl-btn:hover { filter: brightness(1.12); }
.nl-foot { flex-basis: 100%; margin-bottom: 8px !important; }
.nl-foot a { color: var(--nl) !important; font-weight: 700; text-decoration: none !important; font-size: 14px; }

.nl-card { border: 1px solid var(--line); border-radius: 24px; background: var(--nl-card); overflow: hidden; }
.nl-hero { width: 100%; height: 300px; object-fit: cover; object-position: center 45%; }
.nl-body { padding: 40px 48px 44px; }
.nl-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--nl); }
.nl-title { margin: 14px 0 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; font-weight: 700; letter-spacing: -0.04em; color: var(--fg); }
.nl-desc { margin: 18px 0 0; font-size: 17px; line-height: 1.75; color: var(--muted); }
.nl-perk { margin: 16px 0 0; font-size: 15px; font-weight: 600; color: var(--fg); }
.nl-perk a { color: var(--nl); text-decoration: underline; text-underline-offset: 3px; }
.nl-btn-lg { display: inline-flex; align-items: center; margin-top: 24px; height: 56px; padding: 0 28px; border-radius: 12px; background: var(--nl); color: #fff !important; font-size: 18px; font-weight: 700; text-decoration: none !important; transition: filter .15s, transform .15s; }
.nl-btn-lg:hover { filter: brightness(1.12); transform: translateY(-1px); }
.nl-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.nl-first { display: inline-block; margin-top: 8px; font-size: 15px; color: var(--nl) !important; text-decoration: underline; text-underline-offset: 3px; }

.grid .nl-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; margin: 12px 0; }
.grid .nl-hero { height: 100%; min-height: 340px; }
.grid .nl-body { align-self: center; }
.a-foot .nl-card { margin-top: 40px; }
.a-foot .nl-hero { height: 240px; }
.store-nl { margin-top: 88px; }
.store-nl .nl-hero { height: 340px; }

.nl-inline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 2.4em 0; padding: 22px 26px; border-radius: 16px; background: var(--nl-card); border: 1px solid var(--line); border-left: 4px solid var(--nl); }
.nl-inline .nl-eyebrow { font-size: 11.5px; }
.a-body .nl-inline p { margin: 0; }
.nl-inline-title { margin-top: 6px !important; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.4; }
.nl-inline-desc { margin-top: 4px !important; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.nl-btn-md { flex-shrink: 0; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 10px; background: var(--nl); color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.nl-btn-md:hover { filter: brightness(1.12); }

.nl-bar { position: fixed; left: 50%; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 16px; width: min(720px, calc(100% - 32px)); padding: 12px 12px 12px 22px; border-radius: 16px; background: var(--fg); color: var(--bg); box-shadow: 0 12px 40px -8px rgba(0,0,0,.35); transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nl-bar.show { transform: translate(-50%, 0); }
.nl-bar p { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nl-bar strong { font-size: 15px; letter-spacing: -0.02em; }
.nl-bar span { font-size: 13px; opacity: .7; }
.nl-close { flex-shrink: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; opacity: .6; }
.nl-close:hover { opacity: 1; }

@media (max-width: 820px) {
  .nl-btn { height: 32px; padding: 0 12px; font-size: 13px; }
  .nl-body { padding: 28px 22px 30px; }
  .nl-hero, .a-foot .nl-hero, .store-nl .nl-hero { height: 180px; }
  .nl-desc { font-size: 15.5px; }
  .nl-desc br { display: none; }
  .nl-btn-lg { width: 100%; justify-content: center; font-size: 16px; height: 52px; }
  .grid .nl-card { grid-template-columns: 1fr; }
  .grid .nl-hero { min-height: 0; height: 180px; }
  .nl-inline { flex-direction: column; align-items: stretch; padding: 20px; }
  .nl-inline .nl-btn-md { justify-content: center; }
  .nl-bar { bottom: 12px; padding: 10px 8px 10px 16px; gap: 10px; }
  .nl-bar span { display: none; }
  .nl-bar strong { font-size: 14px; }
}
@media (max-width: 480px) { .nl-btn-long { display: none; } }

/* ---------- 개선: 브랜드 커버 ---------- */
.gen-cover { position: absolute; inset: 0; background: var(--bg); color: var(--ink); overflow: hidden; }
.gen-cover svg { position: absolute; width: 78%; aspect-ratio: 1; right: -14%; bottom: -26%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a:hover .gen-cover svg { transform: rotate(12deg) scale(1.04); }
.gen-cover .gc-cat { position: absolute; left: 18px; top: 16px; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.gen-cover .gc-mark { position: absolute; left: 18px; bottom: 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.feat-main .gen-cover .gc-mark { font-size: 40px; left: 28px; bottom: 22px; }
.feat-main .gen-cover .gc-cat { font-size: 15px; left: 28px; top: 24px; }

/* ---------- 개선: 홈 첫 화면 구독 ---------- */
.intro-lead { margin: 20px 0 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: var(--muted); }
.intro-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.intro-cta .nl-btn-lg { margin-top: 0; }
.intro-books { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mini-covers { display: flex; flex-shrink: 0; }
.mini-covers img { width: 34px; border-radius: 2px; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .3s; }
.mini-covers img + img { margin-left: -12px; }
.intro-books:hover .mini-covers img:nth-child(1) { transform: rotate(-6deg) translateX(-3px); }
.intro-books:hover .mini-covers img:nth-child(3) { transform: rotate(6deg) translateX(3px); }
.intro-books strong { display: block; font-size: 15px; }
.intro-books small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.intro-books:hover strong { color: var(--nl); }
.intro-meta { margin-top: 24px; font-size: 14px; }

/* ---------- 개선: 공유 ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 32px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; }
.share > span { font-size: 15px; font-weight: 600; }
.share > div { display: flex; gap: 8px; }
.share .btn { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- 개선: 목차 ---------- */
.a-toc { display: none; }
@media (min-width: 1240px) {
  .a-toc:not([hidden]) { display: block; position: fixed; top: 120px; left: calc(50% + 410px); width: 220px; max-height: calc(100vh - 160px); overflow: auto; }
  .a-toc p { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--faint); }
  .a-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .a-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
  .a-toc a:hover { color: var(--fg); }
  .a-toc a.on { color: var(--fg); font-weight: 700; border-left-color: var(--accent); }
}
.a-body h2 { scroll-margin-top: 90px; }

/* ---------- 개선: 본문 로딩 ---------- */
.skeleton { display: grid; gap: 14px; padding-top: 8px; }
.skeleton i { display: block; height: 16px; border-radius: 6px; background: linear-gradient(90deg, var(--soft), var(--line), var(--soft)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
.skeleton i:nth-child(2) { width: 92%; } .skeleton i:nth-child(3) { width: 80%; } .skeleton i:nth-child(4) { width: 60%; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- 개선: 키보드 포커스 ---------- */
:focus-visible { outline: 2px solid var(--nl); outline-offset: 2px; border-radius: 4px; }
.card:focus-visible, .store-card:focus-visible, .feat:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
.search:focus-within { box-shadow: 0 0 0 2px var(--nl); }

/* ---------- 개선: 404 ---------- */
.nf { padding: 96px 0 24px; }
.nf .code { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.nf h1 { margin: 12px 0 0; font-size: clamp(30px, 4.5vw, 52px); line-height: 1.2; font-weight: 800; letter-spacing: -0.045em; }
.nf .lead { margin: 16px 0 0; font-size: 17px; color: var(--muted); }
.nf form { display: flex; gap: 8px; margin-top: 28px; max-width: 520px; }
.nf input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font: inherit; font-size: 15px; color: var(--fg); }
.nf .btn { height: 48px; }
.nf-section { margin-top: 64px; }
.nf-section h2 { margin: 0 0 24px; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }

@media (max-width: 820px) {
  .intro-lead br { display: none; }
  .intro-cta .nl-btn-lg { width: 100%; justify-content: center; }
  .gen-cover .gc-mark { font-size: 18px; }
  .feat:not(.feat-main) .gen-cover .gc-cat, .feat:not(.feat-main) .gen-cover .gc-mark { display: none; }
  .share { padding: 16px; }
  .nf { padding-top: 56px; }
}
.perks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.perks li::before { content: '✓'; color: var(--accent); font-weight: 800; margin-right: 8px; }
