:root {
  --canvas: #ffffff;
  --surface: #f5f7f9;
  --surface-strong: #e9eef2;
  --ink: #182632;
  --muted: #526270;
  --faint: #667887;
  --border: #d3dbe2;
  --border-strong: #7e91a0;
  --border-highlight: #5f7f93;
  --border-highlight-on-brand: #b7d1e2;
  --brand: #36586b;
  --focus: #b65714;
  --warning: #984716;
  --selection-bg: #cfdee9;
  --on-dark-label: #9fc5df;
  --on-dark-copy: #bec9d3;
  --warning-bg: #fff7f1;
  --inline-code-bg: #e8eef3;
  --inline-code-ink: #2e536b;
  --code-bg: #111a22;
  --code-border: #2c3b47;
  --code-ink: #e8eff5;
  --shell: 1160px;
  --reading: 760px;
  --header-height: 84px;
  --font-sans: Consolas, "SFMono-Regular", "Liberation Mono", Menlo, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  --font-mono: Consolas, "SFMono-Regular", "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection,
body *::selection {
  background: var(--selection-bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:not(.button):not(.command-option):not(.command-arg):not(.nav-link):hover {
  color: var(--brand);
  text-decoration-color: currentColor;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  text-wrap: balance;
  word-break: keep-all;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  font-weight: 720;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 680;
  line-height: 1.24;
}

h3 {
  font-size: 1.25rem;
  font-weight: 680;
  line-height: 1.4;
}

.site-shell {
  width: min(calc(100% - 96px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark-name {
  font-family: var(--font-mono);
  font-size: 1.18rem;
  font-weight: 700;
  font-variant-ligatures: none;
  letter-spacing: -0.015em;
  line-height: 1;
}

.wordmark-operator {
  display: inline-flex;
  gap: 0.12em;
  margin: 0 0.32em;
  color: var(--brand);
  letter-spacing: 0;
}

.wordmark-flipped-a {
  display: inline-block;
  transform: rotate(180deg);
  transform-origin: 50% 50%;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 620;
  text-decoration: none;
}

.nav-link:hover {
  border-bottom-color: var(--border-highlight);
}

.nav-link.is-current {
  border-bottom-color: var(--brand);
  color: var(--ink);
}

.nav-command {
  font-family: var(--font-mono);
  letter-spacing: -0.025em;
}

.nav-translation {
  position: static;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
  pointer-events: none;
}

.menu-button {
  display: none;
  min-width: 70px;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
}

.menu-button:hover {
  border-color: var(--border-highlight);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 16px;
  height: 1px;
  display: block;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before { top: -5px; }
.menu-lines::after { top: 5px; }

.menu-button[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.section-label {
  margin-bottom: 18px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  padding-block: clamp(72px, 10vw, 132px);
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 28px;
}

.hero-summary {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.8;
  word-break: keep-all;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.94rem;
  font-weight: 680;
  text-decoration: none;
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  border-color: var(--border-highlight-on-brand);
}

.button-secondary {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--border-highlight);
}

.hero-disclaimer {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.6;
}

.profile-preview-role {
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
}

.evidence-band {
  border-block: 1px solid var(--border);
}

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

.evidence-grid > a,
.evidence-grid > div {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 34px;
  text-decoration: none;
}

.evidence-grid > * + * {
  border-left: 1px solid var(--border);
}

.evidence-grid span,
.featured-aside > span {
  margin-bottom: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.evidence-grid strong {
  margin-bottom: 3px;
  font-size: 1rem;
}

.evidence-grid small {
  color: var(--muted);
  font-size: 0.8rem;
}

.evidence-grid a:hover {
  box-shadow: inset 0 0 0 1px var(--border-highlight);
  background: transparent;
  color: var(--ink);
}

.editorial-section {
  padding-block: clamp(72px, 9vw, 112px);
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.section-heading p:last-child {
  margin-bottom: 0;
}

.section-heading-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: end;
}

.section-heading-split > p {
  color: var(--muted);
  line-height: 1.75;
  word-break: keep-all;
}

.section-heading-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.practice-index {
  border-top: 1px solid var(--border-strong);
}

.practice-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding-block: 34px;
  border-bottom: 1px solid var(--border);
}

.practice-number,
.principle-number {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.practice-row h3 {
  margin-bottom: 10px;
  font-size: 1.38rem;
}

.practice-row h3 a {
  text-decoration: none;
}

.practice-row h3 a:hover {
  text-decoration: underline;
}

.practice-row p:not(.practice-number) {
  max-width: 700px;
  margin-bottom: 16px;
  color: var(--muted);
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  line-height: 1.35;
}

.section-tint {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-strong);
}

.principles-grid article {
  padding: 30px 34px 6px 0;
}

.principles-grid article + article {
  padding-left: 34px;
  border-left: 1px solid var(--border);
}

.principles-grid h3 {
  margin-bottom: 13px;
}

.principles-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.featured-insight {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 64px;
  padding-block: 42px;
  border-block: 1px solid var(--border-strong);
}

.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.featured-insight h3 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

.featured-insight h3 a,
.insight-row h3 a {
  text-decoration: none;
}

.featured-insight h3 a:hover,
.insight-row h3 a:hover {
  text-decoration: underline;
}

.featured-insight > div:first-child > p:last-child {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
}

.featured-aside {
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.featured-aside p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-preview {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 96px;
  padding-block: 88px;
  border-top: 1px solid var(--border);
}

.profile-preview h2 {
  margin-bottom: 6px;
  font-size: 2rem;
}

.profile-preview > div:last-child > p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.02rem;
}

.profile-preview > div:last-child > .profile-preview-career {
  margin-top: 10px;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 650;
}

.cta-wrap {
  padding-bottom: clamp(72px, 9vw, 112px);
}

.consultation-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
  padding: clamp(36px, 5vw, 58px);
  background: var(--ink);
  color: #fff;
}

.consultation-cta .section-label {
  color: var(--on-dark-label);
}

.consultation-cta h2 {
  margin-bottom: 12px;
  color: #fff;
}

.consultation-cta p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--on-dark-copy);
}

.consultation-cta .button-primary {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.consultation-cta .button-primary:hover {
  border-color: var(--border-highlight-on-brand);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  padding-block: clamp(72px, 10vw, 126px) clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 24px;
}

.page-hero-compact {
  padding-bottom: 52px;
}

.page-hero-blog {
  padding-block: clamp(52px, 7vw, 88px) clamp(38px, 5vw, 60px);
}

.page-lead,
.post-deck {
  max-width: 810px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.75;
  word-break: keep-all;
}

.topic-hub-description {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.topic-hub-index {
  padding-block: 54px 10px;
}

.topic-hub-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.topic-hub-links a {
  display: grid;
  gap: 7px;
  padding: 24px;
  background: var(--canvas);
  text-decoration: none;
}

.topic-hub-links span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.home-topic-hubs {
  padding-bottom: 44px;
}

.post-followup {
  margin-bottom: 64px;
}

.post-followup .topic-hub-links {
  grid-template-columns: 1fr;
}

.profile-facts-section {
  padding-block: 84px;
}

.fact-list,
.contact-detail-list {
  margin: 0;
  border-top: 1px solid var(--border-strong);
}

.fact-list > div,
.contact-detail-list > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
}

.fact-list dt,
.contact-detail-list dt {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}

.fact-list dd,
.contact-detail-list dd {
  margin: 0;
  font-weight: 620;
}

.profile-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 96px;
}

.public-evidence-list {
  border-top: 1px solid var(--border-strong);
}

.public-evidence-list a {
  display: grid;
  grid-template-columns: minmax(160px, 0.5fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.public-evidence-list a span:first-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.public-evidence-list a:hover {
  border-bottom-color: var(--border-highlight);
  color: inherit;
}

.practice-detail-list {
  padding-block: 76px 32px;
}

.practice-detail {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding-block: 64px;
  border-top: 1px solid var(--border-strong);
}

.practice-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.practice-detail > header {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 42px;
}

.practice-detail > header h2 {
  margin-bottom: 12px;
}

.practice-detail > header div > p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.practice-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  row-gap: 38px;
  margin-left: 104px;
  padding-block: 34px;
  border-block: 1px solid var(--border);
}

.practice-detail-grid h3 {
  font-size: 1rem;
}

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

.check-list li {
  position: relative;
  padding: 9px 0 9px 24px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 1.1em;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--brand);
  background: transparent;
}

.practice-detail > footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin: 22px 0 0 104px;
}

.practice-boundary {
  max-width: 720px;
}

.practice-boundary strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.82rem;
}

.practice-boundary p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.practice-boundary small {
  margin-bottom: 0;
  color: var(--faint);
  font-size: 0.75rem;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-strong);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 28px;
  padding-block: 28px;
  border-bottom: 1px solid var(--border);
}

.process-list li > span {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 6px;
}

.process-list p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.process-list-detailed li {
  padding-block: 36px;
}

.insight-browser {
  padding-block: 44px 104px;
}

.command-location {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 28px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 650;
}

.command-location > span:first-child {
  color: var(--brand);
}

.command-location a {
  color: var(--ink);
  text-decoration: none;
}

.command-browser {
  margin-bottom: 42px;
  padding: 30px 0 26px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border);
}

.command-browser-heading {
  margin-bottom: 24px;
}

.command-browser-heading h2 {
  margin-bottom: 0;
}

.command-filter,
.command-args {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.command-option,
.command-arg {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--canvas);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.command-option:hover,
.command-arg:hover {
  border-color: var(--border-highlight);
}

.command-option.is-active,
.command-arg.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.command-option.is-active:hover,
.command-arg.is-active:hover {
  border-color: var(--border-highlight-on-brand);
}

.command-translation {
  position: static;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
  opacity: 0.72;
  pointer-events: none;
}

.command-args {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--surface);
}

.command-args-label {
  margin-right: 4px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.command-arg {
  min-height: 36px;
  padding-inline: 11px;
  background: var(--canvas);
  font-size: 0.76rem;
}

.command-helper {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 0.8rem;
}

.insight-tools {
  display: grid;
  grid-template-columns: 140px minmax(260px, 520px) 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 46px;
}

.insight-tools label {
  font-size: 0.86rem;
  font-weight: 700;
}

.search-field {
  position: relative;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 104px 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: var(--canvas);
  color: var(--ink);
}

.search-field input::placeholder {
  color: var(--faint);
}

.search-field > span {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.search-status {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.insight-browser .section-heading-inline > p {
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.insight-list {
  border-top: 1px solid var(--border-strong);
}

.insight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-block: 30px;
  border-bottom: 1px solid var(--border);
}

.insight-row[hidden] {
  display: none;
}

.insight-row h3 {
  margin-bottom: 8px;
  font-size: clamp(1.16rem, 2.2vw, 1.48rem);
}

.insight-row .insight-main > p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-state {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.taxonomy-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.taxonomy-navigation a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 96px;
}

.contact-grid > div:first-child > p:last-child {
  color: var(--muted);
}

.contact-detail-list > div {
  grid-template-columns: 170px minmax(0, 1fr);
}

.consultation-prep {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 96px;
}

.check-list-large li {
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.notice-panel {
  margin-bottom: 104px;
  padding: 46px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.notice-panel h2 {
  margin-bottom: 24px;
}

.notice-panel .prose {
  margin: 0;
}

.page-prose {
  margin-block: 64px 104px;
}

.post-shell {
  padding-bottom: 112px;
}

.post-header {
  max-width: 1040px;
  padding-block: 72px 58px;
  border-bottom: 1px solid var(--border);
}

.back-link {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.post-header h1 {
  max-width: 960px;
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
}

.post-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.case-basis-note {
  max-width: 810px;
  margin: 22px 0 0;
  padding: 13px 16px;
  border-left: 3px solid var(--brand);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.case-basis-note strong {
  margin-right: 7px;
  color: var(--ink);
}

.author-monogram {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--brand);
  font-weight: 760;
}

.post-byline p {
  margin-bottom: 0;
  font-size: 0.79rem;
}

.post-byline p:last-child {
  color: var(--faint);
}

.post-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, var(--reading));
  gap: clamp(48px, 7vw, 90px);
  justify-content: center;
  padding-block: 64px 96px;
}

.post-context {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  align-self: start;
  color: var(--muted);
  font-size: 0.76rem;
}

.context-title {
  margin-bottom: 20px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.post-context dl {
  margin: 0 0 22px;
}

.post-context dl > div {
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}

.post-context dt {
  color: var(--faint);
  font-size: 0.68rem;
}

.post-context dd {
  margin: 2px 0 0;
}

.prose {
  max-width: var(--reading);
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.82;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.prose-large {
  font-size: 1.1rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 3.2em 0 0.85em;
  padding-top: 0.35em;
  font-size: 1.75rem;
}

.prose h3 {
  margin: 2.4em 0 0.72em;
  font-size: 1.3rem;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose table,
.prose pre,
.prose figure,
.prose .mermaid {
  margin-bottom: 1.45em;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose a {
  color: var(--brand);
}

.prose strong {
  color: var(--ink);
}

.prose blockquote {
  margin-inline: 0;
  padding: 20px 24px;
  border-left: 3px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
}

.prose blockquote > :last-child {
  margin-bottom: 0;
}

.prose .prompt-warning,
.prose .prompt-danger,
.prose .prompt-info,
.prose .prompt-tip {
  border-left-color: var(--brand);
}

.prose .prompt-warning,
.prose .prompt-danger {
  border-left-color: var(--warning);
  background: var(--warning-bg);
}

.prose code {
  padding: 0.12em 0.35em;
  border-radius: 3px;
  background: var(--inline-code-bg);
  color: var(--inline-code-ink);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 22px;
  border: 1px solid var(--code-border);
  border-radius: 4px;
  background: var(--code-bg);
  color: var(--code-ink);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  tab-size: 2;
}

.prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.highlight .c,
.highlight .cm,
.highlight .c1 { color: #8fa0ac; }
.highlight .k,
.highlight .kd,
.highlight .kn { color: #9fc5df; }
.highlight .s,
.highlight .s1,
.highlight .s2 { color: #d8c58f; }
.highlight .mi,
.highlight .mf { color: #e7a76f; }
.highlight .nf,
.highlight .nb { color: #9cc6eb; }

.prose table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.prose th,
.prose td {
  min-width: 130px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--surface);
  color: var(--ink);
}

.prose hr {
  margin-block: 3.5em;
  border: 0;
  border-top: 1px solid var(--border);
}

.prose .mermaid {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--border);
  background: #fff;
}

.post-footer {
  max-width: 1040px;
}

.author-box {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 64px;
  padding: 30px;
  border-block: 1px solid var(--border);
}

.author-box .author-monogram {
  width: 54px;
  height: 54px;
}

.author-box .section-label {
  margin-bottom: 8px;
}

.author-box h2 {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.author-box p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-footer .consultation-cta {
  margin-bottom: 58px;
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.post-navigation a {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: var(--canvas);
  text-decoration: none;
}

.post-navigation a:last-child {
  text-align: right;
}

.post-navigation span {
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 0.72rem;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px;
  padding-block: 52px;
}

.footer-brand {
  margin-bottom: 3px;
  font-size: 1.06rem;
  font-weight: 740;
}

.footer-description {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-base {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 0.74rem;
}

.footer-legal address,
.footer-legal p {
  margin-bottom: 0;
  font-style: normal;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
}

.footer-divider {
  color: var(--faint);
}

.footer-notice {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 0.72rem;
}

.footer-notice p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }

  .site-shell {
    width: min(calc(100% - 64px), var(--shell));
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .js .menu-button {
    display: inline-flex;
  }

  .primary-navigation {
    position: static;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 32px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--canvas);
  }

  .js .primary-navigation {
    position: absolute;
    display: none;
    flex-basis: auto;
  }

  .js .primary-navigation.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 50px;
    display: grid;
    grid-template-columns: minmax(110px, auto) 1fr;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }

  .nav-link:hover {
    border-bottom-color: var(--border-highlight);
  }

  .nav-link.is-current {
    border-bottom-color: var(--brand);
  }

  .nav-link .nav-translation {
    font-size: 0.78rem;
  }

  .home-hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 56px;
  }

  .evidence-grid > a,
  .evidence-grid > div {
    padding-inline: 22px;
  }

  .section-heading-split,
  .profile-story,
  .contact-grid,
  .consultation-prep {
    gap: 54px;
  }

  .practice-detail-grid {
    gap: 42px;
  }

  .post-layout {
    grid-template-columns: minmax(0, var(--reading));
  }

  .post-context {
    position: static;
    display: none;
  }
}

@media (max-width: 740px) {
  .site-shell {
    width: calc(100% - 40px);
  }

  .primary-navigation {
    padding-inline: 20px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .home-hero,
  .section-heading-split,
  .profile-story,
  .contact-grid,
  .consultation-prep,
  .profile-preview {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-block: 64px;
  }

  .topic-hub-links {
    grid-template-columns: 1fr;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .evidence-grid > a,
  .evidence-grid > div {
    min-height: 118px;
    padding: 22px 0;
  }

  .evidence-grid > * + * {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .section-heading-split {
    align-items: start;
    gap: 20px;
  }

  .section-heading-inline {
    align-items: start;
  }

  .practice-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .practice-row > .text-link {
    grid-column: 2;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid article {
    padding: 28px 0;
  }

  .principles-grid article + article {
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .featured-insight {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .featured-aside {
    padding: 22px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .profile-preview {
    gap: 26px;
    padding-block: 64px;
  }

  .consultation-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .consultation-cta .button {
    width: 100%;
  }

  .fact-list > div,
  .contact-detail-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
    align-items: start;
    padding-block: 18px;
  }

  .public-evidence-list a {
    grid-template-columns: 1fr auto;
    gap: 4px 18px;
  }

  .public-evidence-list a span:first-child {
    grid-column: 1 / -1;
  }

  .practice-detail > header {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .practice-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-left: 60px;
  }

  .practice-detail > footer {
    align-items: start;
    flex-direction: column;
    margin-left: 60px;
  }

  .process-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .insight-tools {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .search-status {
    min-height: 1.2em;
  }

  .insight-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .insight-row > .text-link {
    display: none;
  }

  .notice-panel {
    padding: 30px 24px;
  }

  .post-header {
    padding-block: 52px 42px;
  }

  .back-link {
    margin-bottom: 36px;
  }

  .post-header h1 {
    font-size: clamp(2.05rem, 11vw, 3.2rem);
  }

  .post-layout {
    padding-block: 48px 72px;
  }

  .prose {
    font-size: 1rem;
    line-height: 1.8;
  }

  .prose h2 {
    font-size: 1.55rem;
  }

  .prose pre {
    margin-right: -20px;
    margin-left: -20px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .author-box {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-navigation a:last-child {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    justify-content: start;
  }

  .footer-notice {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 12px;
  }

  .wordmark-name {
    font-size: 0.94rem;
    letter-spacing: -0.025em;
  }

  .wordmark-operator {
    margin-inline: 0.16em;
  }

  .menu-button {
    min-width: 64px;
  }

  .button-group {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-heading-inline {
    flex-direction: column;
  }

  .practice-detail-grid,
  .practice-detail > footer {
    margin-left: 0;
  }
}

@media print {
  .site-header,
  .site-footer,
  .consultation-cta,
  .post-navigation,
  .back-link,
  .menu-button {
    display: none !important;
  }

  .site-shell,
  .post-header,
  .post-footer {
    width: 100%;
    max-width: none;
  }

  .post-layout {
    display: block;
    padding: 0;
  }

  .prose {
    max-width: none;
    color: #000;
  }

  a {
    color: #000;
  }
}
