:root {
  --paper: #f3efe6;
  --paper-deep: #e8dfd1;
  --card: #fbf8f1;
  --ink: #1e211c;
  --body: #484b43;
  --muted: #74776e;
  --line: rgba(30, 33, 28, .18);
  --accent: #ff385c;
  --max: 1180px;
  --reading: 760px;
  --sans: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  --serif: "Noto Serif KR", "AppleMyungjo", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 3%, rgba(255, 56, 92, .12), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 16px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-weight: 900; letter-spacing: -.05em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 760; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { padding: 9px 14px; border: 1px solid var(--ink); border-radius: 999px; }
.theme-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }

.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.list-hero { padding: clamp(78px, 11vw, 140px) 0 64px; }
.list-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 8vw, 110px); align-items: end; }
.list-hero h1 { max-width: 9ch; margin: 0; font-size: clamp(62px, 10vw, 132px); line-height: .88; letter-spacing: -.08em; }
.list-hero .lead { margin: 0 0 8px; color: var(--body); font-size: clamp(17px, 2vw, 22px); }

.category-bar { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.category-inner { display: flex; gap: 8px; padding: 16px 0; overflow-x: auto; scrollbar-width: none; }
.category-inner::-webkit-scrollbar { display: none; }
.category-button { flex: 0 0 auto; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 750; cursor: pointer; }
.category-button:hover, .category-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.post-section { padding: 72px 0 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; }
.section-heading p { max-width: 42ch; margin: 0; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(12, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.post-card { grid-column: span 4; min-height: 460px; display: flex; flex-direction: column; padding: 26px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; transition: background .2s ease, color .2s ease; }
.post-card:first-child { grid-column: span 8; }
.post-card:hover { background: var(--ink); color: var(--paper); }
.post-card:hover .post-summary, .post-card:hover .post-date { color: rgba(243, 239, 230, .72); }
.post-card-top { display: flex; justify-content: space-between; gap: 18px; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2 { max-width: 15ch; margin: auto 0 18px; font-size: clamp(29px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.055em; }
.post-card:not(:first-child) h2 { font-size: clamp(25px, 2.5vw, 34px); }
.post-summary { margin: 0; color: var(--body); font-size: 14px; }
.post-date { margin-top: 22px; color: var(--muted); font-size: 11px; }
.post-arrow { margin-top: 28px; font-size: 24px; }

.newsletter-band { padding: 76px 0; background: var(--accent); color: #fff; }
.newsletter-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 7vw, 90px); align-items: end; }
.newsletter-band h2 { max-width: 10ch; margin: 0; font-size: clamp(40px, 6vw, 78px); line-height: .95; letter-spacing: -.07em; }
.newsletter-copy p { max-width: 48ch; margin: 22px 0 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input[type="email"] { min-width: 0; padding: 16px 18px; border: 1px solid rgba(255,255,255,.72); border-radius: 0; background: rgba(255,255,255,.1); color: #fff; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.72); }
.newsletter-form button { padding: 16px 22px; border: 1px solid #fff; background: #fff; color: #1e211c; font-weight: 800; cursor: pointer; }
.newsletter-consent { grid-column: 1 / -1; display: flex; gap: 8px; align-items: start; font-size: 11px; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.form-status { grid-column: 1 / -1; min-height: 22px; margin: 0; font-size: 12px; }

.article-hero { padding: clamp(72px, 10vw, 128px) 0 52px; border-bottom: 1px solid var(--ink); }
.breadcrumb { margin: 0 0 42px; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-decoration: none; }
.article-category { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.article-hero h1 { max-width: 13ch; margin: 20px 0 30px; font-size: clamp(46px, 8vw, 104px); line-height: .94; letter-spacing: -.075em; }
.article-summary { max-width: 760px; margin: 0 0 32px auto; color: var(--body); font-size: clamp(18px, 2.1vw, 23px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.article-cover { width: min(1380px, calc(100% - 40px)); margin: 0 auto; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--paper-deep); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }

.article-layout { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); padding: 92px 0 120px; }
.article-aside { position: sticky; top: 104px; align-self: start; }
.article-aside strong { display: block; margin-bottom: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.article-aside a { display: block; padding: 8px 0; color: var(--muted); font-size: 12px; text-decoration: none; }
.article-aside a:hover { color: var(--accent); }
.article-body { max-width: var(--reading); }
.article-section { margin-bottom: 70px; scroll-margin-top: 110px; }
.article-section .section-label { display: block; margin-bottom: 18px; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.article-section h2 { margin: 0 0 26px; font-size: clamp(28px, 4vw, 44px); line-height: 1.13; letter-spacing: -.05em; }
.article-section p { margin: 0 0 22px; color: var(--body); font-size: 17px; }
.application-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.application-list li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.application-list b { color: var(--accent); font-size: 11px; }
.article-quote { margin: 82px 0; padding: clamp(36px, 6vw, 70px); background: var(--ink); color: var(--paper); }
.article-quote p { margin: 0; font-family: var(--serif); font-size: clamp(30px, 5vw, 54px); line-height: 1.28; letter-spacing: -.045em; }
.article-quote cite { display: block; margin-top: 28px; color: var(--accent); font-family: var(--sans); font-size: 11px; font-style: normal; letter-spacing: .12em; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 760; cursor: pointer; }
.faq-answer { padding: 0 0 24px; color: var(--body); }
.related-section { padding: 80px 0 110px; border-top: 1px solid var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.related-card { min-height: 260px; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }
.related-card h3 { margin: auto 0 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.05; letter-spacing: -.05em; }
.related-card span { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.article-cta { display: grid; grid-template-columns: 1fr 1fr; }
.article-cta a { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 5vw, 60px); text-decoration: none; }
.article-cta a:first-child { background: var(--accent); color: #fff; }
.article-cta a:last-child { background: var(--ink); color: var(--paper); }
.article-cta small { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-cta strong { max-width: 12ch; font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -.06em; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111;
  --paper-deep: #191919;
  --card: #1b1b1b;
  --ink: #f4f4ef;
  --body: #cecec8;
  --muted: #9e9e98;
  --line: rgba(244,244,239,.19);
  --accent: #ff5a72;
}
html[data-theme="dark"] .site-nav { background: rgba(17,17,17,.88); }
html[data-theme="dark"] .newsletter-band { background: #d72f4d; }
html[data-theme="dark"] .post-card:hover { background: #f4f4ef; color: #111; }
html[data-theme="dark"] .post-card:hover .post-summary, html[data-theme="dark"] .post-card:hover .post-date { color: #555; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .list-hero-grid, .newsletter-grid, .article-layout { grid-template-columns: 1fr; }
  .list-hero .lead { max-width: 34ch; }
  .post-card, .post-card:first-child { grid-column: span 6; }
  .article-aside { position: static; display: none; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .nav-inner { min-height: 62px; }
  .nav-links { gap: 8px; }
  .nav-cta { padding: 8px 10px; font-size: 11px; }
  .list-hero { padding-top: 70px; }
  .list-hero h1 { font-size: clamp(55px, 18vw, 82px); }
  .section-heading { display: block; }
  .section-heading p { margin-top: 16px; }
  .post-card, .post-card:first-child { grid-column: 1 / -1; min-height: 360px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form button { width: 100%; }
  .article-hero h1 { font-size: clamp(43px, 13vw, 70px); }
  .article-summary { margin-left: 0; }
  .article-cover { width: 100%; aspect-ratio: 4 / 3; }
  .article-layout { padding: 64px 0 80px; }
  .article-section { margin-bottom: 54px; }
  .article-section p { font-size: 16px; }
  .related-grid, .article-cta { grid-template-columns: 1fr; }
  .article-cta a { min-height: 220px; }
  .footer-inner { display: block; }
}

/* Homepage design-system alignment */
:root {
  --paper: #ffffff;
  --paper-deep: #f7f7f7;
  --card: #ffffff;
  --ink: #222222;
  --body: #3f3f3f;
  --muted: #6a6a6a;
  --line: #dddddd;
  --accent: #ff385c;
  --accent-bright: #e00b41;
  --max: 1080px;
  --reading: 720px;
  --grid-gap: 20px;
  --card-radius: 16px;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --display: "SF Pro Rounded", "SF Pro Display", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -.012em;
  font-kerning: normal;
  font-optical-sizing: auto;
}

p, li, dd, .faq-answer {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

h1, h2, h3, strong, .wordmark {
  font-family: var(--display);
  font-stretch: normal;
  font-kerning: normal;
  word-break: keep-all;
  text-wrap: balance;
}

.wrap { width: min(calc(100% - 48px), var(--max)); }

.site-nav {
  min-height: 72px;
  border-color: var(--line);
  background: rgba(255, 255, 255, .95);
}

.nav-inner { min-height: 72px; }

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.wordmark::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.wordmark small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .08em;
}

.nav-links { gap: 20px; font-size: 14px; font-weight: 500; }
.nav-links a { transition: color .2s ease; }
.nav-cta {
  min-height: 44px;
  padding: 11px 20px;
  border-color: var(--accent);
  border-radius: 9999px;
  background: var(--accent);
  color: #ffffff;
  line-height: 1.2;
}
.nav-cta:hover { border-color: var(--accent-bright); background: var(--accent-bright); color: #fff !important; }
.theme-button {
  width: 40px;
  height: 40px;
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.theme-button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .1em;
}

.list-hero { padding: clamp(72px, 8vw, 104px) 0 clamp(72px, 8vw, 96px); }
.list-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(48px, 7vw, 80px); }
.list-hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.05em;
}
.list-hero .lead {
  max-width: 40ch;
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -.012em;
}

.category-bar { border-color: var(--line); background: var(--paper); }
.category-inner { gap: 8px; padding: 14px 0; }
.category-button {
  min-height: 40px;
  padding: 9px 14px;
  border-color: var(--line);
  background: var(--card);
  color: var(--body);
  font-size: 12px;
  font-weight: 650;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.category-button:hover, .category-button.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }

.post-section { padding: clamp(92px, 10vw, 124px) 0; }
.section-heading { margin-bottom: clamp(42px, 5vw, 60px); }
.section-heading h2 {
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.045em;
}
.section-heading p { max-width: 38ch; color: var(--body); font-size: 16px; line-height: 1.72; }

.post-grid {
  gap: var(--grid-gap);
  border: 0;
}
.post-card, .post-card:first-child {
  min-height: 380px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--card);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .025);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.post-card:hover {
  border-color: var(--accent);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  transform: translateY(-3px);
}
.post-card:hover .post-summary { color: var(--body); }
.post-card:hover .post-date { color: var(--muted); }
.post-card-top { color: var(--accent); font-size: 11px; line-height: 1.45; letter-spacing: .08em; }
.post-card h2, .post-card:not(:first-child) h2 {
  max-width: 16ch;
  margin: auto 0 16px;
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.04em;
}
.post-card:not(:first-child) h2 { font-size: clamp(24px, 2.4vw, 30px); }
.post-summary { color: var(--body); font-size: 15px; line-height: 1.68; }
.post-date { color: var(--muted); font-size: 11px; }
.post-arrow { color: var(--accent); font-size: 20px; }

.newsletter-band { padding: clamp(92px, 10vw, 124px) 0; background: var(--paper); color: #fff; }
.newsletter-grid {
  gap: clamp(44px, 5.5vw, 64px);
  padding: clamp(42px, 5vw, 60px);
  border-radius: 20px;
  background: var(--accent);
}
.newsletter-band h2 {
  font-size: clamp(34px, 4.1vw, 48px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.045em;
}
.newsletter-copy p { font-size: 15px; line-height: 1.68; }
.newsletter-form {
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, .04);
}
.newsletter-form input[type="email"] { min-height: 46px; padding: 12px 14px; border-color: rgba(255,255,255,.55); border-radius: 8px; background: rgba(27,27,27,.12); }
.newsletter-form button { min-height: 46px; padding: 11px 20px; border-radius: 9999px; color: var(--accent-bright); }
.newsletter-consent { color: rgba(255,255,255,.82); line-height: 1.55; }

.article-hero { padding: clamp(72px, 8vw, 104px) 0 clamp(64px, 7vw, 84px); border-color: var(--line); }
.breadcrumb { margin-bottom: 48px; color: var(--muted); }
.article-category { font-size: 11px; line-height: 1.45; letter-spacing: .1em; }
.article-hero h1 {
  max-width: 760px;
  margin: 18px 0 26px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.05em;
}
.article-summary {
  max-width: var(--reading);
  margin: 0 0 30px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.72;
}
.article-meta { border-color: var(--line); color: var(--muted); }
.article-meta strong { font-family: var(--sans); }
.article-cover {
  width: min(calc(100% - 48px), var(--max));
  margin-top: 48px;
  border-radius: var(--card-radius);
  background: var(--paper-deep);
}

.article-layout { grid-template-columns: minmax(160px, .3fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 80px); padding: clamp(92px, 10vw, 124px) 0; }
.article-aside { top: 100px; }
.article-aside strong { font-family: var(--sans); }
.article-aside a { color: var(--muted); font-size: 12px; }
.article-section { margin-bottom: 64px; }
.article-section .section-label { margin-bottom: 14px; letter-spacing: .1em; }
.article-section h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.045em;
}
.article-section p { color: var(--body); font-size: 16px; line-height: 1.75; }
.article-section .section-intro {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--body);
  font-size: 17px;
}
.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}
.process-list > li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.process-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
}
.process-list small {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.process-list h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 29px);
  font-weight: 550;
  line-height: 1.28;
  letter-spacing: -.035em;
}
.process-list p { margin-bottom: 16px; }
.process-list .process-insight {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: #fff4f6;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}
.process-insight strong {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-bright);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .02em;
}
.application-list { border-color: var(--line); }
.application-list li { border-color: var(--line); }
.article-quote { margin: 72px 0; padding: clamp(36px, 5vw, 56px); border-radius: var(--card-radius); background: var(--paper-deep); color: var(--ink); }
.article-quote p { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); font-weight: 500; line-height: 1.3; letter-spacing: -.04em; }
.faq-list { border-color: var(--line); }
.faq-list details { border-color: var(--line); }
.faq-list summary { padding: 24px 0; font-size: 18px; line-height: 1.5; }

.related-section { padding: clamp(92px, 10vw, 124px) 0; border-color: var(--line); }
.related-grid { gap: var(--grid-gap); border: 0; }
.related-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--card);
  transition: border-color .2s ease, transform .2s ease;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.related-card h3 { font-size: clamp(25px, 3vw, 34px); font-weight: 500; line-height: 1.2; }

.article-cta {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  gap: var(--grid-gap);
  padding-bottom: clamp(92px, 10vw, 124px);
}
.article-cta a { min-height: 240px; padding: clamp(30px, 4vw, 44px); border-radius: var(--card-radius); }
.article-cta a:first-child { background: var(--accent); }
.article-cta a:last-child { background: var(--paper-deep); color: var(--ink); }
.article-cta strong { font-size: clamp(30px, 3.8vw, 44px); font-weight: 500; line-height: 1.1; }
.site-footer { padding: 40px 24px; border-color: var(--line); background: var(--paper); }

html[data-theme="dark"] {
  --paper: #111111;
  --paper-deep: #191919;
  --card: #1b1b1b;
  --ink: #f5f5f5;
  --body: #d0d0d0;
  --muted: #a3a3a3;
  --line: #383838;
  --accent: #ff5a72;
  --accent-bright: #ff385c;
}
html[data-theme="dark"] .site-nav { border-color: #353535; background: rgba(17,17,17,.95); }
html[data-theme="dark"] .wordmark { color: var(--accent); }
html[data-theme="dark"] .wordmark small { color: #adadad; }
html[data-theme="dark"] .theme-button { border-color: #3a3a3a; background: #1b1b1b; color: #f5f5f5; }
html[data-theme="dark"] .category-bar { border-color: #383838; background: #111; }
html[data-theme="dark"] .category-button { border-color: #3a3a3a; background: #1b1b1b; color: #d0d0d0; }
html[data-theme="dark"] .category-button:hover,
html[data-theme="dark"] .category-button.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
html[data-theme="dark"] .post-card:hover { border-color: var(--accent); background: #1b1b1b; color: #f5f5f5; box-shadow: 0 16px 40px rgba(0,0,0,.32); }
html[data-theme="dark"] .post-card:hover .post-summary { color: #d0d0d0; }
html[data-theme="dark"] .post-card:hover .post-date { color: #a3a3a3; }
html[data-theme="dark"] .newsletter-band { background: #111; }
html[data-theme="dark"] .newsletter-grid { background: #ff385c; }
html[data-theme="dark"] .article-quote { background: #191919; color: #f5f5f5; }
html[data-theme="dark"] .process-list .process-insight { background: #23181b; color: #f5f5f5; }
html[data-theme="dark"] .article-cta a:last-child { background: #1b1b1b; color: #f5f5f5; }

@media (max-width: 820px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .nav-links { gap: 8px; }
  .list-hero-grid, .newsletter-grid, .article-layout { grid-template-columns: 1fr; }
  .list-hero .lead { max-width: 38ch; }
  .post-card, .post-card:first-child { grid-column: span 6; }
  .article-aside { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; line-height: 1.7; }
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .site-nav, .nav-inner { min-height: 64px; }
  .wordmark small { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { min-height: 40px; padding: 9px 14px; font-size: 12px; }
  .theme-button { width: 38px; height: 38px; }
  .list-hero { padding: 64px 0 72px; }
  .list-hero h1, .article-hero h1 { font-size: 33px; line-height: 1.1; }
  .list-hero .lead { font-size: 15.5px; }
  .category-inner { padding: 12px 0; }
  .post-section, .related-section, .newsletter-band { padding: 72px 0; }
  .section-heading { display: block; margin-bottom: 38px; }
  .section-heading h2 { font-size: clamp(29px, 8.2vw, 36px); line-height: 1.2; }
  .section-heading p { margin-top: 14px; font-size: 15px; }
  .post-card, .post-card:first-child { grid-column: 1 / -1; min-height: 330px; padding: 24px; }
  .post-card h2, .post-card:not(:first-child) h2 { font-size: 26px; }
  .newsletter-grid { gap: 36px; padding: 30px 24px; border-radius: 16px; }
  .newsletter-band h2 { font-size: 32px; }
  .newsletter-form { grid-template-columns: 1fr; padding: 24px; }
  .newsletter-form button { width: 100%; }
  .article-hero { padding: 64px 0 54px; }
  .breadcrumb { margin-bottom: 34px; }
  .article-summary { font-size: 16px; }
  .article-cover { width: calc(100% - 28px); margin-top: 28px; border-radius: 14px; }
  .article-layout { padding: 72px 0; }
  .article-section { margin-bottom: 52px; }
  .article-section h2 { font-size: 29px; line-height: 1.2; }
  .article-section p { font-size: 15.5px; }
  .article-section .section-intro { margin-bottom: 28px; font-size: 16px; }
  .process-list > li { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 26px 0; }
  .process-number { width: 36px; height: 36px; }
  .process-list h3 { font-size: 22px; }
  .process-list .process-insight { padding: 16px; font-size: 14px; }
  .article-quote { margin: 60px 0; padding: 30px 24px; }
  .article-quote p { font-size: 28px; }
  .related-grid, .article-cta { grid-template-columns: 1fr; }
  .related-card { min-height: 240px; padding: 24px; }
  .article-cta { width: calc(100% - 28px); padding-bottom: 72px; }
  .article-cta a { min-height: 210px; padding: 28px 24px; }
  .article-cta strong { font-size: 30px; }
}
