:root {
  --ink: #1c1a17;
  --ink-soft: #5e5950;
  --paper: #f3efe5;
  --paper-deep: #e8e0d1;
  --coal: #12110f;
  --coal-2: #1b1916;
  --coal-3: #24211d;
  --ember: #e85f2d;
  --ember-hot: #ff7a3c;
  --amber: #dba650;
  --line: rgba(43, 39, 32, .16);
  --line-dark: rgba(255, 244, 218, .12);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --sidebar: 306px;
  --toc: 248px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: .03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 80;
  background: linear-gradient(90deg, var(--ember), #ffb34f);
  box-shadow: 0 0 16px rgba(232, 95, 45, .55);
}

.site-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr) var(--toc);
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  width: var(--sidebar);
  height: 100vh;
  flex-direction: column;
  color: #e7e0d4;
  background:
    radial-gradient(circle at 12% 5%, rgba(232, 95, 45, .16), transparent 29%),
    linear-gradient(180deg, #171512 0%, #100f0d 100%);
  border-right: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

.sidebar-top, .primary-nav, .sidebar-foot { position: relative; z-index: 1; }
.sidebar-top { padding: 30px 22px 17px; }

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 180, 100, .32);
  clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%);
  background: rgba(255,255,255,.025);
}

.brand-mark::before,
.brand-mark i {
  content: "";
  position: absolute;
  border-radius: 60% 15% 55% 45%;
  transform: rotate(45deg);
}

.brand-mark::before {
  width: 17px;
  height: 24px;
  background: var(--ember);
  box-shadow: 0 0 20px rgba(232,95,45,.4);
}

.brand-mark i {
  width: 8px;
  height: 12px;
  bottom: 13px;
  background: #ffcb75;
}

.brand-mark.small { width: 28px; height: 32px; transform: scale(.85); }
.brand-mark.small::before { width: 11px; height: 16px; }
.brand-mark.small i { width: 5px; height: 8px; bottom: 7px; }

.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-family: var(--serif); font-size: 19px; letter-spacing: .08em; }
.brand-copy small { color: #8c857a; font-family: var(--mono); font-size: 9px; letter-spacing: .11em; }

.search-box {
  display: flex;
  width: 100%;
  margin-top: 25px;
  padding: 11px 12px;
  align-items: center;
  gap: 9px;
  color: #a9a197;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  cursor: pointer;
  transition: .2s ease;
}

.search-box:hover { color: #f7efe3; border-color: rgba(232,95,45,.45); background: rgba(255,255,255,.07); }
.search-icon { color: var(--ember-hot); font-size: 21px; line-height: 1; }
.search-box span:nth-child(2) { flex: 1; text-align: left; font-size: 13px; }
kbd { padding: 2px 5px; color: #716c64; background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.09); border-radius: 4px; font: 10px var(--mono); }

.primary-nav {
  flex: 1;
  padding: 8px 14px 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #39352f transparent;
}

.nav-section { margin-top: 19px; }
.nav-label { margin: 0 10px 8px; color: #706a61; font: 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.nav-link {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  min-height: 42px;
  padding: 8px 10px;
  align-items: center;
  gap: 5px;
  color: #a9a298;
  border-left: 2px solid transparent;
  text-decoration: none;
  border-radius: 0 6px 6px 0;
  transition: .18s ease;
}

.nav-link:hover { color: #fff5e7; background: rgba(255,255,255,.035); }
.nav-link.active { color: #fff8ec; background: linear-gradient(90deg, rgba(232,95,45,.16), rgba(232,95,45,.025)); border-left-color: var(--ember); }
.nav-number { color: #59544d; font: 10px var(--mono); }
.nav-link.active .nav-number { color: var(--ember-hot); }
.nav-title { font-size: 13px; line-height: 1.35; }
.nav-badge { padding: 2px 5px; color: #786f64; border: 1px solid #3c3832; border-radius: 8px; font: 8px var(--mono); }

.sidebar-foot { padding: 16px 22px 20px; border-top: 1px solid rgba(255,255,255,.07); }
.status-card { display: flex; align-items: center; gap: 10px; }
.pulse { width: 8px; height: 8px; background: #78a46a; border-radius: 50%; box-shadow: 0 0 0 5px rgba(120,164,106,.1); }
.status-card div { display: grid; gap: 2px; }
.status-card strong { color: #c9c1b5; font-size: 11px; }
.status-card span:not(.pulse) { color: #6f6961; font-size: 10px; }
.sidebar-foot p { margin: 12px 0 0 18px; color: #514c46; font-size: 10px; }

.main-stage {
  grid-column: 2;
  min-width: 0;
  min-height: 100vh;
  padding: 0 clamp(30px, 5vw, 82px) 100px;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(35,31,25,.07) calc(100% - 1px)),
    var(--paper);
}

.document { width: min(860px, 100%); margin: 0 auto; }

.doc-head {
  position: relative;
  padding: 74px 0 40px;
  border-bottom: 1px solid var(--line);
  animation: rise .52s both;
}

.doc-head::before {
  content: attr(data-index);
  position: absolute;
  top: 41px;
  right: 0;
  color: rgba(38, 33, 27, .055);
  font: 112px/1 var(--serif);
}

.doc-kicker { display: flex; margin-bottom: 18px; align-items: center; gap: 10px; color: var(--ember); font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.doc-kicker::before { content: ""; width: 24px; height: 1px; background: var(--ember); }
.doc-head h1 { max-width: 760px; margin: 0; font: 700 clamp(36px, 5vw, 62px)/1.14 var(--serif); letter-spacing: -.035em; }
.doc-deck { max-width: 690px; margin: 21px 0 0; color: var(--ink-soft); font: 16px/1.85 var(--serif); }
.doc-meta { display: flex; margin-top: 24px; flex-wrap: wrap; gap: 8px 20px; color: #777168; font: 10px var(--mono); }
.doc-meta span { display: flex; align-items: center; gap: 7px; }
.doc-meta span::before { content: ""; width: 4px; height: 4px; background: var(--amber); transform: rotate(45deg); }

.markdown-body { padding-top: 36px; font: 16px/1.92 var(--sans); animation: rise .52s .08s both; }
.markdown-body > h1:first-child { display: none; }
.markdown-body h2, .markdown-body h3, .markdown-body h4 { scroll-margin-top: 28px; color: #171511; font-family: var(--serif); }
.markdown-body h2 { margin: 66px 0 22px; padding: 0 0 13px; border-bottom: 1px solid var(--line); font-size: 30px; line-height: 1.35; letter-spacing: -.02em; }
.markdown-body h2::before { content: attr(data-section); display: block; margin-bottom: 6px; color: var(--ember); font: 9px var(--mono); letter-spacing: .14em; }
.markdown-body h3 { margin: 39px 0 15px; font-size: 22px; line-height: 1.45; }
.markdown-body h4 { margin: 28px 0 12px; font-size: 18px; }
.markdown-body p { margin: 0 0 18px; }
.markdown-body strong { color: #11100e; font-weight: 750; }
.markdown-body a { color: #a33b19; text-decoration-color: rgba(163,59,25,.35); text-underline-offset: 3px; }
.markdown-body a:hover { color: var(--ember); }
.markdown-body ul, .markdown-body ol { margin: 8px 0 23px; padding-left: 1.35em; }
.markdown-body li { margin: 7px 0; padding-left: .22em; }
.markdown-body li::marker { color: var(--ember); font-weight: 700; }
.markdown-body blockquote {
  position: relative;
  margin: 30px 0;
  padding: 23px 27px 22px 31px;
  color: #4a433a;
  background: rgba(223, 211, 190, .43);
  border: 1px solid rgba(116,94,66,.15);
  border-left: 3px solid var(--ember);
}
.markdown-body blockquote::before { content: "FIELD NOTE"; display: block; margin-bottom: 10px; color: #9a765d; font: 8px var(--mono); letter-spacing: .17em; }
.markdown-body blockquote p:last-child { margin-bottom: 0; }
.markdown-body code { padding: .14em .38em; color: #6f2a16; background: rgba(225,211,190,.7); border: 1px solid rgba(78,61,44,.1); border-radius: 3px; font: .88em var(--mono); }
.markdown-body pre { margin: 25px 0; padding: 20px; color: #e8decf; background: #1a1815; border-left: 3px solid var(--ember); overflow-x: auto; }
.markdown-body pre code { padding: 0; color: inherit; background: none; border: 0; }
.markdown-body hr { margin: 48px 0; height: 1px; background: var(--line); border: 0; }
.markdown-body table { display: block; width: 100%; margin: 24px 0 31px; border-collapse: collapse; overflow-x: auto; font-size: 14px; line-height: 1.65; }
.markdown-body thead { background: #1c1a17; color: #f3eadc; }
.markdown-body th { font-weight: 600; letter-spacing: .02em; }
.markdown-body th, .markdown-body td { min-width: 140px; padding: 12px 14px; text-align: left; vertical-align: top; border: 1px solid rgba(65,55,43,.17); }
.markdown-body tbody tr:nth-child(even) { background: rgba(222,211,192,.32); }
.markdown-body input[type="checkbox"] { accent-color: var(--ember); }

.home-hero {
  position: relative;
  min-height: 540px;
  margin: 0 calc(clamp(30px, 5vw, 82px) * -1);
  padding: 82px clamp(30px, 5vw, 82px) 67px;
  color: #f2eadf;
  background:
    radial-gradient(circle at 78% 34%, rgba(232,95,45,.19), transparent 26%),
    radial-gradient(circle at 76% 41%, rgba(219,166,80,.08), transparent 13%),
    linear-gradient(135deg, #171512 0%, #0e0d0c 68%);
  overflow: hidden;
}

.home-hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, transparent, #000 35%); }
.hero-seal { position: absolute; right: clamp(38px, 8vw, 110px); top: 120px; display: grid; width: 200px; aspect-ratio: 1; place-items: center; color: rgba(255,124,64,.66); border: 1px solid rgba(255,124,64,.2); border-radius: 50%; font: 10px var(--mono); letter-spacing: .18em; transform: rotate(8deg); }
.hero-seal::before, .hero-seal::after { content: ""; position: absolute; border: 1px solid rgba(255,124,64,.14); border-radius: 50%; }
.hero-seal::before { inset: 14px; }
.hero-seal::after { inset: 35px; background: radial-gradient(circle, rgba(232,95,45,.32) 0 3%, transparent 4% 100%); }
.hero-content { position: relative; z-index: 1; max-width: 730px; animation: rise .65s both; }
.hero-overline { margin: 0 0 26px; color: var(--ember-hot); font: 10px var(--mono); letter-spacing: .19em; }
.home-hero h1 { margin: 0; max-width: 650px; font: 700 clamp(52px, 7vw, 86px)/1.08 var(--serif); letter-spacing: -.055em; }
.home-hero h1 em { color: var(--ember-hot); font-style: normal; }
.hero-lead { max-width: 630px; margin: 29px 0 0; color: #bcb4a8; font: 17px/1.9 var(--serif); }
.hero-tags { display: flex; margin-top: 37px; flex-wrap: wrap; gap: 8px; }
.hero-tags span { padding: 7px 11px; color: #c5bcaf; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); font: 10px var(--mono); letter-spacing: .08em; }

.home-body { padding: 55px 0 20px; }
.section-heading { display: flex; margin: 0 0 27px; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading p { margin: 0 0 6px; color: var(--ember); font: 10px var(--mono); letter-spacing: .15em; }
.section-heading h2 { margin: 0; font: 700 34px/1.25 var(--serif); letter-spacing: -.025em; }
.section-heading span { max-width: 320px; color: var(--ink-soft); font-size: 13px; line-height: 1.65; text-align: right; }

.layer-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 62px; border: 1px solid var(--line); }
.layer-card { min-height: 150px; padding: 22px 18px; border-right: 1px solid var(--line); }
.layer-card:last-child { border-right: 0; }
.layer-card i { display: block; width: 23px; height: 3px; margin-bottom: 28px; background: var(--ember); }
.layer-card:nth-child(2) i { background: #857458; }
.layer-card:nth-child(3) i { background: #b59547; }
.layer-card:nth-child(4) i { background: #55514b; }
.layer-card strong { display: block; margin-bottom: 8px; font: 18px var(--serif); }
.layer-card p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.72; }

.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doc-card { position: relative; display: flex; min-height: 205px; padding: 25px; flex-direction: column; text-decoration: none; background: rgba(255,255,255,.28); border: 1px solid var(--line); overflow: hidden; transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.doc-card::after { content: "↗"; position: absolute; right: 20px; bottom: 15px; color: rgba(36,32,27,.15); font: 39px var(--serif); transition: .22s ease; }
.doc-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.52); border-color: rgba(232,95,45,.38); }
.doc-card:hover::after { color: var(--ember); transform: translate(2px,-2px); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-group { color: var(--ember); font: 9px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.card-index { color: #a59e94; font: 10px var(--mono); }
.doc-card h3 { margin: 23px 0 12px; max-width: 82%; font: 700 24px/1.34 var(--serif); letter-spacing: -.02em; }
.doc-card p { margin: 0; max-width: 91%; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.doc-card small { margin-top: auto; padding-top: 18px; color: #999084; font: 9px var(--mono); }

.home-note { display: grid; grid-template-columns: 170px 1fr; margin: 59px 0 15px; padding: 29px; gap: 28px; color: #ddd4c8; background: var(--coal-2); border-left: 3px solid var(--ember); }
.home-note strong { color: var(--ember-hot); font: 11px var(--mono); letter-spacing: .12em; }
.home-note p { margin: 0; font: 14px/1.8 var(--serif); }

.toc-panel { position: fixed; inset: 0 0 0 auto; z-index: 15; width: var(--toc); color: #69635b; background: var(--paper); border-left: 1px solid var(--line); }
.toc-sticky { position: sticky; top: 0; max-height: 100vh; padding: 73px 28px 30px; overflow-y: auto; }
.toc-kicker { margin: 0 0 18px; color: #aaa195; font: 9px var(--mono); letter-spacing: .17em; }
#page-toc { display: grid; gap: 1px; }
.toc-link { display: block; padding: 6px 0 6px 12px; color: #7b746b; border-left: 1px solid #d2c9ba; font-size: 11px; line-height: 1.45; text-decoration: none; transition: .15s ease; }
.toc-link.sub { padding-left: 23px; font-size: 10px; }
.toc-link:hover, .toc-link.active { color: var(--ink); border-left-color: var(--ember); }
.toc-link.active { font-weight: 650; }
.copy-link { display: flex; width: 100%; margin-top: 28px; padding: 11px 0; align-items: center; justify-content: space-between; color: #857d73; background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 11px; }
.copy-link:hover { color: var(--ember); }
.copy-link i { font-style: normal; }

.loading-state { display: grid; min-height: 80vh; place-content: center; place-items: center; color: #7c7469; }
.loader { width: 32px; height: 32px; border: 2px solid #d4cab9; border-top-color: var(--ember); border-radius: 50%; animation: spin .85s linear infinite; }
.loading-state p { margin-top: 14px; font: 11px var(--mono); letter-spacing: .08em; }
.error-state { margin: 100px auto; max-width: 580px; padding: 30px; background: rgba(232,95,45,.07); border: 1px solid rgba(232,95,45,.25); }
.error-state h1 { font: 31px var(--serif); }
.error-state p { color: var(--ink-soft); line-height: 1.8; }

.mobile-bar { display: none; }
.drawer-scrim { display: none; }

.search-modal[hidden] { display: none; }
.search-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: min(12vh, 110px) 18px 30px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,5,4,.77); backdrop-filter: blur(8px); border: 0; }
.search-dialog { position: relative; width: min(760px, 100%); max-height: min(720px, 78vh); color: #e9e1d5; background: #191714; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 35px 90px rgba(0,0,0,.46); overflow: hidden; animation: search-in .2s both; }
.search-input-wrap { display: flex; padding: 18px 20px; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.search-input-wrap > span { color: var(--ember-hot); font-size: 27px; }
.search-input-wrap input { flex: 1; color: #fff7eb; background: none; border: 0; outline: 0; font: 20px var(--serif); }
.search-input-wrap input::placeholder { color: #665f56; }
.search-meta { display: flex; padding: 10px 21px; justify-content: space-between; color: #665f56; background: #131210; font: 9px var(--mono); letter-spacing: .06em; }
.search-results { max-height: calc(min(720px, 78vh) - 99px); padding: 8px; overflow-y: auto; }
.search-empty { padding: 55px 22px; color: #746d64; text-align: center; font: 14px var(--serif); }
.result-item { display: block; padding: 16px 17px; text-decoration: none; border: 1px solid transparent; }
.result-item:hover { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.07); }
.result-top { display: flex; align-items: center; gap: 9px; }
.result-top span { color: var(--ember-hot); font: 8px var(--mono); letter-spacing: .1em; }
.result-top strong { font: 16px var(--serif); }
.result-item p { margin: 7px 0 0; color: #8f877d; font-size: 12px; line-height: 1.65; }
.result-item mark { padding: 0 2px; color: #181511; background: #e8a65b; }

.toast { position: fixed; right: 25px; bottom: 25px; z-index: 120; padding: 11px 16px; color: #17130e; background: #efaa52; box-shadow: 0 12px 35px rgba(0,0,0,.24); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; font-size: 12px; }
.toast.show { opacity: 1; transform: translateY(0); }
.noscript { position: fixed; inset: auto 20px 20px; z-index: 200; padding: 16px; color: white; background: #9d3118; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes search-in { from { opacity: 0; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  :root { --toc: 0px; }
  .site-shell { grid-template-columns: var(--sidebar) minmax(0,1fr); }
  .toc-panel { display: none; }
}

@media (max-width: 800px) {
  :root { --sidebar: min(86vw, 320px); }
  body { padding-top: 56px; }
  .mobile-bar { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; height: 56px; padding: 0 14px; align-items: center; justify-content: space-between; color: #eee5d8; background: rgba(18,17,15,.96); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); }
  .mobile-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 15px var(--serif); letter-spacing: .04em; }
  .icon-button { display: grid; width: 38px; height: 38px; padding: 9px; place-items: center; color: #e6ddd0; background: transparent; border: 0; }
  .icon-button span { display: block; width: 18px; height: 1px; margin: 2px 0; background: currentColor; }
  .search-trigger { color: var(--ember-hot); font-size: 24px; }
  .site-shell { display: block; }
  .sidebar { transform: translateX(-102%); transition: transform .25s ease; }
  body.drawer-open .sidebar { transform: translateX(0); }
  .drawer-scrim { position: fixed; inset: 56px 0 0; z-index: 40; width: 100%; padding: 0; background: rgba(5,4,3,.58); border: 0; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
  body.drawer-open .drawer-scrim { display: block; opacity: 1; pointer-events: auto; }
  .main-stage { min-height: calc(100vh - 56px); padding: 0 20px 80px; }
  .doc-head { padding: 46px 0 31px; }
  .doc-head::before { top: 32px; font-size: 76px; }
  .doc-head h1 { font-size: clamp(33px, 11vw, 48px); }
  .doc-deck { font-size: 15px; }
  .markdown-body { font-size: 15px; line-height: 1.85; }
  .markdown-body h2 { margin-top: 52px; font-size: 26px; }
  .markdown-body h3 { margin-top: 34px; font-size: 21px; }
  .markdown-body blockquote { margin-left: -5px; margin-right: -5px; padding: 20px; }
  .home-hero { min-height: 490px; margin: 0 -20px; padding: 57px 20px 48px; }
  .home-hero h1 { font-size: clamp(47px, 15vw, 66px); }
  .hero-seal { right: -54px; top: 185px; opacity: .7; }
  .hero-lead { font-size: 15px; }
  .home-body { padding-top: 41px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 29px; }
  .section-heading span { display: block; margin-top: 11px; text-align: left; }
  .layer-grid { grid-template-columns: repeat(2, 1fr); }
  .layer-card { border-bottom: 1px solid var(--line); }
  .layer-card:nth-child(2) { border-right: 0; }
  .layer-card:nth-last-child(-n+2) { border-bottom: 0; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-card { min-height: 185px; }
  .home-note { grid-template-columns: 1fr; gap: 12px; }
  .search-modal { padding-top: 68px; }
  .search-input-wrap { padding: 15px; }
  .search-input-wrap input { font-size: 16px; }
  .search-meta span:first-child { display: none; }
  .search-meta { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
