/* 다원 특허법률사무소 — 디자인
   깊은 초록(신뢰), 명조 제목(Hahmlet), 본문 IBM Plex Sans KR.
   영역 이름은 특허 명세서의 【항목】 표기를 빌려 씁니다. */

:root {
  --ink: #16231c;
  --ink-2: #46554c;
  --ink-3: #5d6c63;
  --forest: #0e3b2e;
  --forest-2: #0a2c22;
  --green: #1d5c45;
  --green-2: #164a37;
  --sage: #a9c7b6;
  --sage-2: #d3e3d9;
  --paper: #f3f6f3;
  --line: #d8e0da;
  --line-dark: rgba(255, 255, 255, 0.16);
  --white: #fff;

  --serif: "Hahmlet", "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  --sans: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --header-h: 64px;
  --sec-pad: clamp(72px, 9vw, 128px);
}

@media (min-width: 1000px) {
  :root { --header-h: 76px; }
}

/* ---------- 기본 ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }

/* 한자: 본문 글꼴에 없는 글자가 섞여 보이지 않도록 한 글꼴로 */
.cjk { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif; }
:is(h1, h2, h3, .sec-label, .vision__quote, .brand__name) .cjk { font-family: "AppleMyungjo", "Batang", "Noto Serif KR", "Noto Serif CJK KR", serif; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--forest);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--sage); }

/* ---------- 버튼 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 600 16px/1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg { flex: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

.btn--solid { background: var(--green); color: #fff; }
.btn--solid:hover { background: var(--green-2); }
.btn--line { border-color: var(--green); color: var(--green); }
.btn--line:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: var(--sage-2); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.text-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--green-2); text-decoration-thickness: 2px; }

/* ---------- 로고 ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand__sub {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.brand .seal-bg { fill: var(--forest); }
.brand .seal-ink { fill: #f5f7f4; }
.brand .seal-line { stroke: #f5f7f4; }
.brand--band .brand__mark { color: var(--forest); }

/* 서명과 낙관 */
.brand--nakgwan { flex-direction: column; align-items: flex-start; gap: 0; }
.brand--nakgwan .brand__name { display: inline-flex; align-items: flex-start; gap: 4px; font-size: 26px; font-weight: 800; }
.brand__stamp { width: 14px; height: 14px; margin-top: 1px; }
.brand__stamp svg { width: 100%; height: 100%; }
.brand--nakgwan .brand__sub { margin-top: 3px; font-size: 11px; }

.on-dark .brand { color: #fff; }
.on-dark .brand__sub { color: var(--sage); }
.on-dark .brand .seal-bg { fill: #f5f7f4; }
.on-dark .brand .seal-ink { fill: var(--forest); }
.on-dark .brand .seal-line { stroke: var(--forest); }
.on-dark .brand--band .brand__mark { color: #fff; }

/* ---------- 머리글 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.nav { display: none; margin-left: auto; gap: 30px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 0;
}
.nav a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.header-cta { display: none; }

.mobile-menu { margin-left: auto; }
.mobile-menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 4px var(--gutter) 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 24px -16px rgba(14, 59, 46, 0.25);
}
.mobile-menu__panel nav { display: grid; }
.mobile-menu__panel nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu__panel .btn { width: 100%; margin-top: 20px; }

@media (min-width: 1000px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .mobile-menu { display: none; }
}

/* ---------- 첫 화면 ---------- */

.hero { display: grid; background: var(--forest); color: #fff; }
.hero__panel { padding: 56px var(--gutter) 64px; }
.hero__inner { max-width: 600px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 8.6vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.hero__lead {
  margin-top: 24px;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--sage-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--forest-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
    min-height: min(calc(100svh - var(--header-h)), 760px);
  }
  .hero--solo { grid-template-columns: 1fr; }
  .hero__panel {
    display: flex;
    align-items: center;
    padding: 88px 56px 88px max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
  .hero__title { font-size: clamp(40px, 3.9vw, 56px); }
  .hero__media { aspect-ratio: auto; height: 100%; }
}

/* ---------- 영역 공통 ---------- */

.sec { padding-block: var(--sec-pad); }
.sec--paper { background: var(--paper); }
.sec--forest { background: var(--forest); color: #fff; }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-label {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--green);
}
.sec-label__b { color: var(--green); opacity: 0.55; }
.sec-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.3vw, 40px);
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sec-lead { margin-top: 20px; max-width: 36em; font-size: 17px; color: var(--ink-2); }

.on-dark .sec-label,
.on-dark .sec-label__b { color: var(--sage); }
.on-dark .sec-title { color: #fff; }
.on-dark .sec-lead { color: var(--sage-2); }

/* 제목 왼쪽 + 내용 오른쪽 */
.split { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .split > .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- 사무소 소개 ---------- */

.about__body p { max-width: 36em; font-size: 17px; color: var(--ink-2); }
.about__body p + p { margin-top: 16px; }
.name-note {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.name-note__mark { flex: none; width: clamp(92px, 11vw, 120px); color: var(--forest); }
.name-note__mark svg { width: 100%; height: auto; }
.about__body .name-note p { font-size: 16px; color: var(--ink); }

.vision {
  display: grid;
  gap: 20px;
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: clamp(36px, 4.5vw, 52px);
  border-top: 2px solid var(--forest);
}
.vision__label { font-size: 15px; font-weight: 600; color: var(--green); }
.vision__quote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--forest);
}
.vision__text { margin-top: 20px; max-width: 36em; color: var(--ink-2); }
@media (min-width: 960px) {
  .vision { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; }
  .vision__label { padding-top: 0.5em; }
  .vision__quote p { text-indent: -0.5em; }
}

/* ---------- 강점 ---------- */

.strengths { display: grid; }
.strength { padding: 28px 0 36px; border-top: 1px solid var(--line); }
.strength__title {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.45;
  color: var(--forest);
}
.strength p { max-width: 32em; color: var(--ink-2); }
@media (min-width: 760px) {
  .strengths { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 80px); }
  .strength { padding: 32px 0 44px; }
}

/* ---------- 업무 분야 ---------- */

.services { border-top: 2px solid var(--forest); }
.service { display: grid; gap: 10px; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.service__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  color: var(--forest);
}
.service__desc { color: var(--ink-2); }
.service__points { display: grid; gap: 4px; margin-top: 6px; }
.service__points li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.75; }
.service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 1px;
  background: var(--green);
}
@media (min-width: 860px) {
  .service {
    grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr);
    gap: 40px;
    align-items: start;
    padding: 36px 0 38px;
  }
  .service__points { margin-top: 2px; }
}

/* ---------- 업무 진행 절차 ---------- */

.steps { display: grid; }
.step { padding: 24px 0 32px; border-top: 1px solid var(--line); }
.step__no {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--green);
}
.step__title { margin-bottom: 8px; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.45; }
.step p { max-width: 28em; font-size: 15px; color: var(--ink-2); }
@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
  .step { padding: 28px 0 44px; }
}

/* ---------- 주요 실적 ---------- */

.docket { border-top: 2px solid var(--forest); }
.docket__row { display: grid; gap: 8px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.docket__meta { display: flex; align-items: center; gap: 12px; }
.docket__year { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--forest); }
.docket__kind {
  padding: 1px 9px;
  border: 1px solid var(--sage);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--green);
}
.docket__title { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.5; }
.docket__text { margin-top: 6px; max-width: 40em; color: var(--ink-2); }
.docket__ref { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (min-width: 860px) {
  .docket__row {
    grid-template-columns: 140px minmax(0, 1fr) minmax(170px, auto);
    gap: 40px;
    align-items: start;
    padding: 32px 0 34px;
  }
  .docket__meta { padding-top: 2px; }
  .docket__ref { padding-top: 4px; text-align: right; }
}

/* ---------- 구성원 ---------- */

.person { display: grid; gap: 32px; }
.person__photo { max-width: 380px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--line); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__role { font-size: 15px; font-weight: 600; color: var(--green); }
.person__name {
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.person__field { margin-top: 10px; font-size: 15px; color: var(--ink-3); }
.person__bio { margin-top: 24px; max-width: 36em; font-size: 17px; color: var(--ink-2); }
.facts { margin-top: 32px; border-top: 1px solid var(--line); }
.facts__row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.facts dt { font-weight: 600; color: var(--ink-3); }
.facts li + li { margin-top: 6px; }
.facts a { color: var(--green); text-underline-offset: 3px; }
.people { display: grid; gap: 72px; }
@media (min-width: 860px) {
  .person { grid-template-columns: minmax(260px, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
  .facts__row { grid-template-columns: 112px minmax(0, 1fr); }
}

/* ---------- 연혁 ---------- */

.timeline { border-top: 2px solid var(--forest); }
.timeline__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.timeline__date {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- IP 소식 ---------- */

.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head-row .sec-head { margin-bottom: 0; }
.sec-head-row .text-link { margin-bottom: 6px; }

.news-list { border-top: 2px solid var(--forest); }
.news-list > li { border-bottom: 1px solid var(--line); }
.news-list > li[hidden] { display: none; }
.news-item { display: grid; gap: 8px; padding: 24px 0 26px; text-decoration: none; color: var(--ink); }
.news-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; color: var(--ink-3); }
.news-item__cat { font-weight: 600; color: var(--green); }
.news-item__body { display: grid; gap: 6px; }
.news-item__title { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.5; }
.news-item__summary { max-width: 46em; font-size: 15px; color: var(--ink-2); }
.news-item:hover .news-item__title { color: var(--forest); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (min-width: 760px) {
  .news-item { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding: 28px 0 30px; }
  .news-item__meta { align-content: start; padding-top: 3px; }
}
.empty-state { padding: 32px 0; color: var(--ink-3); }

/* ---------- 자주 묻는 질문 ---------- */

.faq { border-top: 2px solid var(--forest); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--forest); }
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; margin-top: 0.5em; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  background: var(--green);
  transition: transform 0.2s ease;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 38px 26px 0; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  .faq__icon::before, .faq__icon::after { transition: none; }
}

/* ---------- 문의 ---------- */

.contact { display: grid; gap: 48px; }
.contact .sec-head { margin-bottom: 36px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__info { padding-top: 32px; border-top: 1px solid var(--line-dark); }
.contact__title { margin-bottom: 12px; font-family: var(--serif); font-weight: 700; font-size: 20px; }
.contact__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px;
  line-height: 1.75;
}
.contact__row dt { color: var(--sage); }
.contact__row a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 4px; }
.contact__row a:hover { text-decoration-color: #fff; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.map-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.map-links a:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
@media (min-width: 960px) {
  .contact { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: start; }
  .contact__info { padding: 32px 36px 36px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); }
}

/* ---------- 바닥글 ---------- */

.site-footer { padding: 52px 0 44px; background: var(--forest-2); color: var(--sage-2); font-size: 14px; }
.footer { display: grid; gap: 28px; }
.footer__info p { display: flex; flex-wrap: wrap; column-gap: 22px; line-height: 1.9; }
.footer__info a { color: inherit; text-underline-offset: 3px; }
.footer__copy { margin-top: 14px; color: rgba(211, 227, 217, 0.62); }
@media (min-width: 860px) {
  .footer { grid-template-columns: auto minmax(0, 1fr); gap: 80px; align-items: start; }
}

/* ---------- IP 소식 페이지 ---------- */

.page-head { padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 64px); background: var(--forest); color: #fff; }
.page-head .sec-head { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filters button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.filters button:hover { border-color: #fff; }
.filters button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--forest); }
.page-body { padding: clamp(40px, 5vw, 72px) 0 clamp(80px, 9vw, 128px); }

.article { max-width: 720px; margin-inline: auto; }
.article-page { padding-top: clamp(48px, 6vw, 80px); }
.breadcrumb a { font-size: 15px; font-weight: 600; color: var(--green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article__title {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.38;
  letter-spacing: -0.015em;
}
.article .news-item__meta { margin-top: 16px; }
.prose {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.9;
}
.prose > :first-child { margin-top: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-family: var(--serif); font-size: 25px; line-height: 1.45; }
.prose h3 { margin-top: 1.7em; font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: 0.3em; }
.prose blockquote { padding-left: 20px; border-left: 3px solid var(--sage); color: var(--ink-2); }
.prose img { margin-block: 1.6em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--paper); }
.prose code { padding: 1px 5px; background: var(--paper); border-radius: 2px; font-size: 0.92em; }
.prose pre { overflow-x: auto; padding: 16px; background: var(--paper); }
.prose pre code { padding: 0; }
.article-foot { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- 404 ---------- */

.not-found { padding: clamp(96px, 12vw, 160px) 0; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
