/* Personel · Mka Group — public information pages. One family, one accent, paper background. */
:root {
  --ink: #18233C;
  --ink-soft: #3E4A66;
  --muted: #6B7590;
  --cobalt: #2856EF;
  --cobalt-deep: #1E3FB8;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --line: #DEE3EC;
  --mint: #A2EAD6;
  --todo: #FFF1A8;
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2rem, 46rem); margin-inline: auto; }
header.top {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; flex-wrap: wrap; padding-block: .5rem; }
.wordmark { font-weight: 600; font-size: 1.35rem; letter-spacing: -.04em; color: var(--ink); text-decoration: none; }
.wordmark b { color: var(--cobalt); font-weight: 600; }
.wordmark small { display: block; font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: -.15rem; }
nav.site { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .95rem; }
nav.site a { color: var(--ink-soft); text-decoration: none; padding-block: .25rem; }
nav.site a[aria-current="page"] { color: var(--cobalt); font-weight: 500; box-shadow: inset 0 -2px 0 var(--cobalt); }
main { padding-block: 2.5rem 4rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: var(--measure); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; margin: 0 0 .75rem; max-width: 24ch; }
h2 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; margin: 2.6rem 0 .6rem; }
h3 { font-size: 1.05rem; font-weight: 600; margin: 1.6rem 0 .4rem; }
p, li { max-width: var(--measure); }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; }
li { margin-bottom: .4rem; }
.meta { color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.contents { border-left: 3px solid var(--mint); padding: .2rem 0 .2rem 1.1rem; margin: 1.8rem 0 2.4rem; font-size: .95rem; }
.contents ol { margin: .3rem 0 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.contents li { break-inside: avoid; margin-bottom: .3rem; }
.contents a { text-decoration: none; color: var(--ink-soft); }
.contents a:hover { color: var(--cobalt); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 0 0 1.4rem; }
th, td { text-align: left; vertical-align: top; padding: .65rem .6rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--ink-soft); background: var(--white); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.table-scroll table { margin: 0; }
mark.todo { background: var(--todo); color: var(--ink); padding: .05em .3em; border-radius: 3px; font-weight: 500; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0 1.6rem; }
.steps li { position: relative; padding-left: 2.8rem; margin-bottom: .9rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: .1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--cobalt); color: var(--white); font-weight: 600; font-size: .9rem; display: grid; place-items: center; }
.path { font-weight: 500; color: var(--ink); }
.path span::after { content: " › "; color: var(--muted); font-weight: 400; }
.path span:last-child::after { content: ""; }
.note { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; margin: 1.4rem 0; max-width: var(--measure); }
.note p:last-child { margin-bottom: 0; }
.links { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.links li { margin: 0; max-width: none; }
.links a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink); }
.links a:hover { border-color: var(--cobalt); }
.links strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.links span { color: var(--muted); font-size: .95rem; }
footer.bottom { border-top: 1px solid var(--line); padding-block: 1.6rem 2.4rem; color: var(--muted); font-size: .9rem; }
footer.bottom p { margin-bottom: .35rem; max-width: none; }
@media (max-width: 600px) { .contents ol { columns: 1; } body { font-size: 16px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { header.top, footer.bottom, .contents { display: none; } body { background: #fff; } }
.legal-links { font-size: .88rem; margin-bottom: .9rem; }
.legal-links a { color: var(--ink-soft); }
