:root {
  --radius-control: 10px;
  --radius-panel: 18px;
  --radius-feature: 24px;
}
@keyframes page-content-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  body > main { animation: page-content-in 420ms cubic-bezier(.2,.65,.3,1) both; }
}
.h-figure {
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid #41494d;
  border-radius: var(--radius-feature);
  background: linear-gradient(145deg, #252a2d, #171b1d 75%);
  box-shadow: 0 18px 42px #0002, inset 0 1px #ffffff0a;
}
.h-figure figcaption {
  align-items: center;
  border-bottom: 0;
  padding-bottom: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.025em;
}
.h-figure figcaption small {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid #454d51;
  border-radius: 99px;
  font: 11px/1.5 Arial, Helvetica, sans-serif;
  color: #bdc6cb;
  letter-spacing: .01em;
}
.handoff-map { margin: 30px 0 24px; }
.handoff-task {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(#eff0ed, #c7cccd);
  color: #171c1e;
}
.handoff-task small { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .12em; }
.handoff-task p { font-size: 13px; line-height: 1.4; margin: 0; }
.task-paper { flex: 0 0 18px; height: 24px; border: 1px solid #7c888e; border-radius: 4px; padding: 6px 4px; }
.task-paper i { display: block; width: 8px; height: 1px; background: #7c888e; margin-bottom: 3px; }
.task-paper i:last-child { width: 5px; }
.h-figure .handoff-branches { height: 36px; margin: 0; }
.handoff-participants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.handoff-person { min-width: 0; padding: 18px 16px; background: #242a2d; border: 1px solid #586267; border-radius: 18px; color: #e3e7e8; }
.handoff-person-next { background: #1a1f22; border-color: #424d53; }
.handoff-person-head { display: flex; align-items: center; gap: 11px; min-height: 36px; }
.handoff-person-head > span { display: grid; place-items: center; width: 34px; height: 36px; flex: 0 0 34px; border-radius: 10px; background: #d7dcdd; color: #1a1f21; font-size: 24px; line-height: 1; }
.handoff-person-next .handoff-person-head > span { background: #333e44; color: #edf0f1; }
.handoff-person-head p { margin: 0; font-size: 13px; line-height: 1.45; }
.handoff-person .handoff-permission { margin: 18px 0 14px; font-size: 13px; line-height: 1.5; }
.permission-trace { height: 2px; border-radius: 2px; background: #ff743c; }
.handoff-person-next .permission-trace { height: 0; border-top: 2px dotted #97a3aa; background: transparent; }
.h-key { padding-top: 18px; border-top-color: #3e484c; font-size: 14px; }
.h-key > div { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding-block: 5px; }
.h-key dt { font-weight: 500; }
.h-key dd { line-height: 1.55; color: #bfc7cc; }
.h-key dt::before { width: 12px; flex-shrink: 0; border-radius: 2px; }
.semantic-figure {
  border: 1px solid #485155;
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.button, .primary-nav > .nav-pilot, .contact-primary,
.contact-field :is(input, textarea, select) { border-radius: var(--radius-control); }
#patterns .h-rows > div,
.contact-panel, .field-document, .field-paper,
.platform-receipt, .sim-box { border-radius: var(--radius-panel); }
.nav-panel { border-radius: 0 0 var(--radius-panel) var(--radius-panel); }
.nav-items a { border-radius: var(--radius-control); }
.menu-btn { border-radius: var(--radius-control); }
.h-faq {
  border: 1px solid #424b4f;
  border-radius: 14px;
  padding: 0 20px;
  background: #1b1f21;
}
.h-faq + .h-faq { margin-top: 12px; }
.h-faq summary { padding-block: 20px; }
.h-faq p { margin-bottom: 20px; }
.h-faq[open] { border-color: #727d82; }
@media (max-width: 700px) {
  .h-figure { max-width: 560px; width: 100%; }
}
@media (min-width: 701px) and (max-width: 1000px), (max-width: 420px) {
  .handoff-participants { gap: 12px; }
  .handoff-person { padding: 14px 12px; border-radius: 14px; }
  .handoff-person-head { gap: 8px; min-height: 38px; }
  .handoff-person-head > span { width: 28px; height: 32px; flex-basis: 28px; font-size: 21px; }
  .handoff-person-head p { font-size: 12px; }
  .handoff-permission { min-height: 39px; }
}
@media (max-width: 360px) {
  .h-figure { padding: 16px; }
  .h-figure .handoff-branches { display: none; }
  .handoff-task { margin-bottom: 20px; }
  .handoff-participants { grid-template-columns: 1fr; gap: 14px; }
  .handoff-person-head p { font-size: 14px; }
  .handoff-permission { min-height: 0; }
  .h-key > div { grid-template-columns: 1fr; gap: 3px; }
  .h-key > div + div { margin-top: 8px; }
}
