/* Section pages: crumbs, short answer, menu overflow, widgets */

.stage-sec h1 { font-size: clamp(1.85rem, 4.4vw, 2.9rem); }
.stage-sec .stage-lead { max-width: 62ch; }

/* Breadcrumbs (own line under hero) */
.crumbs { margin: 18px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs a { color: var(--muted); font-weight: 700; }
.crumbs .i { width: 14px; height: 14px; color: var(--line); }
.crumbs span { color: var(--ink); font-weight: 800; }
@media (hover: hover) and (min-width: 1024px) { .crumbs a:hover { color: var(--brand); } }

/* Short answer */
.short {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 18px 0 0; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 17px; line-height: 1.55;
}
.short .i { width: 26px; height: 26px; margin-top: 2px; color: var(--brand); }
.short span { display: block; }

/* Desktop menu overflow */
.more { position: relative; flex: none; }
.more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; margin: 0;
  background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .9);
  border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap;
}
.more-btn .i { width: 16px; height: 16px; transition: transform .18s linear; }
.more-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.more-btn.is-active { background: rgba(255, 255, 255, .22); color: #fff; }
.more-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 45;
  min-width: 210px; margin: 0; padding: 8px; list-style: none;
  background: var(--deep); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .7);
}
.more-list li { margin: 0; }
.more-list a { display: block; padding: 9px 12px; border-radius: 10px; color: rgba(255, 255, 255, .88); font-weight: 700; font-size: 15px; }
.more-list a.is-active { background: rgba(255, 255, 255, .16); color: #fff; }
@media (hover: hover) and (min-width: 1024px) { .more-list a:hover { background: rgba(255, 255, 255, .1); color: #fff; } }
.nav { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
.nav-list { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.nav-list li { flex: none; }
.nav-list a { white-space: nowrap; }

/* Icon cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cards li {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.cards .i { width: 30px; height: 30px; color: var(--brand); }
.cards strong { font-size: 1.05rem; }
.cards p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Two-column label / value strip */
.mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mini li { padding: 14px 16px; background: var(--surface-2); border-radius: 14px; }
.mini span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mini strong { display: block; margin-top: 3px; font-size: 15px; }
@media (max-width: 560px) { .mini { grid-template-columns: 1fr; } }

/* Callout (no single-side accent border) */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; margin: 0;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.callout .i { width: 26px; height: 26px; margin-top: 2px; color: var(--brand); }
.callout h3 { margin: 0 0 6px; font-size: 1.05rem; }
.callout p:last-child { margin-bottom: 0; }
.callout ul { margin: 8px 0 0; padding-left: 20px; }
.callout li { margin: 0 0 4px; }

/* Criteria weights (chart + table below) */
.weights { margin: 0; padding: 0; list-style: none; }
.weights li { margin: 0 0 14px; }
.weights .w-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-weight: 800; }
.weights .w-top i { font-style: normal; color: var(--brand); }
.weights .w-bar { display: block; height: 12px; margin-top: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.weights .w-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%); border-radius: 999px; }
.weights p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }

/* Author cards */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.people li { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.people .p-top { display: flex; align-items: center; gap: 12px; }
.people .p-ini {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: var(--deep); color: var(--gold); font-weight: 900; font-size: 1.1rem;
}
.people strong { display: block; font-size: 1.1rem; }
.people .p-role { display: block; font-size: 14px; color: var(--muted); }
.people p { margin: 12px 0 0; font-size: 15px; }
.people dl { display: grid; gap: 6px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.people dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.people dt { color: var(--muted); }
.people dd { margin: 0; font-weight: 800; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }

/* Widgets: calculator and document checker */
.tool {
  padding: 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px;
}
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } }
.tool label { display: block; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.tool input, .tool select {
  width: 100%; min-height: 48px; margin: 0; padding: 10px 12px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 16px;
}
.tool input:focus, .tool select:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.tool-out { margin: 18px 0 0; padding: 18px; background: var(--surface-2); border-radius: 14px; }
.tool-out ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tool-out li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tool-out span { color: var(--muted); font-size: 15px; }
.tool-out b { font-size: 1.15rem; }
.tool-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.tool-note:last-child { margin-bottom: 0; }

/* Document checker */
.chk-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.chk-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.chk-list .i { width: 20px; height: 20px; margin-top: 3px; color: var(--brand); }

/* Inline figure for section illustration */
.shotfig { margin: 0; }
.shotfig img { display: block; width: auto; max-width: 100%; border-radius: var(--radius); }
.shotfig figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Text link row to another page */
.jump { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.jump .i { width: 18px; height: 18px; }

/* Author byline: equal gaps above and below */
main > .sec.final { margin-bottom: 0; }
.byline { margin-top: 28px; margin-bottom: 28px; }
.foot { margin-top: 0; }
