/* 10 · Close: four groups of details to confirm, as checklists on the dark slide. A step brings one group forward and dims the rest. */
.cm-confirm { grid-template-rows: auto auto 1fr auto; padding-bottom: 3.2cqw; }
.cm-confirm h2 { max-width: 26ch; }
.cf-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; min-height: 0; margin-top: .5cqw; }
.cf-group {
  display: flex; flex-direction: column; gap: .55cqw; min-width: 0; padding: 1.35cqw 1.3cqw 1.3cqw; border-radius: 1.2cqw;
  background: rgb(247 246 244 / 6%); box-shadow: inset 0 0 0 1px rgb(247 246 244 / 13%); cursor: pointer;
  transition: background .4s, color .4s, opacity .4s, box-shadow .4s, translate .4s;
}
.cf-head { display: flex; align-items: center; gap: .65cqw; padding: 0; border: 0; background: none; text-align: left; font: 700 1.6cqw/1.1 var(--display); letter-spacing: -.025em; }
.cf-head:focus-visible { outline: .2cqw solid var(--rose); outline-offset: .3cqw; border-radius: .4cqw; }
.cf-head b { flex: none; display: grid; place-items: center; width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--sage); color: var(--deep-ink); font: 700 .98cqw/1 var(--body); font-variant-numeric: tabular-nums; transition: background .4s, color .4s; }
.cf-why { font-size: 1.02cqw; line-height: 1.4; opacity: .66; padding-bottom: .95cqw; border-bottom: 1px solid rgb(247 246 244 / 14%); transition: border-color .4s; }
.cf-list { display: grid; gap: 1.3cqw; margin-top: .6cqw; }
.cf-list li { display: grid; grid-template-columns: 1.2cqw 1fr; gap: .75cqw; align-items: start; }
.cf-list i { width: 1.2cqw; height: 1.2cqw; margin-top: .14cqw; border-radius: .3cqw; box-shadow: inset 0 0 0 .12cqw rgb(247 246 244 / 50%); transition: box-shadow .4s; }
.cf-list div { display: grid; gap: .2cqw; min-width: 0; }
.cf-list b { font-size: 1.14cqw; font-weight: 650; line-height: 1.28; letter-spacing: -.005em; }
.cf-list span { font-size: 1cqw; line-height: 1.4; opacity: .68; text-wrap: pretty; }

/* The group a step brings forward: a paper card, like the manager's panel on the cover. The others step back. */
.cf-group.is-on { background: var(--paper); color: var(--ink); box-shadow: 0 1.6cqw 3.4cqw -1.6cqw rgb(0 0 0 / 55%); translate: 0 -.35cqw; cursor: default; }
.cf-group.is-on .cf-head b { background: var(--ink); color: var(--paper); }
.cf-group.is-on .cf-why { border-color: var(--line); opacity: .8; }
.cf-group.is-on .cf-list i { box-shadow: inset 0 0 0 .14cqw var(--app-accent); }
.cf-group.is-on .cf-list span { opacity: .78; }
.cf-group.is-dim { opacity: .36; }
.cf-group.is-dim:hover { opacity: .6; }
.cf-group.is-rise .cf-list li { animation: d-rise .45s ease-out both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
.cf-list li:nth-child(2) { --i: 1; } .cf-list li:nth-child(3) { --i: 2; } .cf-list li:nth-child(4) { --i: 3; }

/* The closing line, after the last step. The logo that opened the deck closes it, top right. */
.cf-logo { position: absolute; top: 3.2cqw; right: 4cqw; height: 3cqw; width: auto; }
.cf-next { display: flex; align-items: center; gap: .65cqw; font-size: 1.22cqw; font-weight: 600; color: var(--sage); opacity: 0; translate: 0 .4cqw; transition: opacity .5s, translate .5s; }
.cf-next .ic { width: 1.45cqw; height: 1.45cqw; }
.cf-next.is-shown { opacity: 1; translate: 0 0; }
.cm-confirm .cf-foot { opacity: .5; }

@media (prefers-reduced-motion: reduce) {
  .cf-group, .cf-next, .cf-head b, .cf-list i { transition: none; }
  .cf-group.is-rise .cf-list li { animation: none; }
  .cf-group.is-on { translate: none; }
}
