/* The system pages (the prototype's System pages view, approved by the client): the 404, drawn in
   the site's layout. The static pages in public/ (500, 422 and 400, 406, and the 404 the app
   answers when it can't draw this one) carry their own copy of these rules inline, because they
   must show when the app can't serve its stylesheets (docs/features/system-pages.md). */
.cipri-sys { min-height: calc(100svh - var(--hh)); display: flex; flex-direction: column; justify-content: center; }
/* The mock-ups keep the prototype's band, not the tighter one the client asked for between a
   page's sections (17 Nov 2026): a system page is one section. */
.cipri-band.cipri-sys { padding-block: clamp(64px, 9vw, 120px); }
.cipri-sys .cipri-stack { gap: 18px; }
.cipri-sys-ill { width: clamp(150px, 22vw, 220px); height: auto; margin: 0 auto 6px; }
.cipri-sys .cipri-lede { max-width: 54ch; text-wrap: balance; }
.cipri-sentence { display: block; text-wrap: balance; }  /* one sentence a line; a long one wraps evenly */
.cipri-sys-after { margin-top: 14px; }

/* Where-next blocks: Contact's detail pattern (label, heading, a line or two; a hairline between,
   no box). Side by side from tablet up. */
.cipri-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 760px; margin: 10px auto 0; text-align: center; }
.cipri-way { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px clamp(20px, 4vw, 40px); }
.cipri-way + .cipri-way { border-left: 1px solid var(--divider); }
.cipri-way h3 { font-size: 1.25rem; }
.cipri-way p { text-wrap: balance; }
.cipri-way .cipri-btns { margin-top: auto; padding-top: 8px; justify-content: center; }
.cipri-way-small { font-size: .95rem; color: var(--ink-soft); }

/* The password gate: a whole page of green, the logo over its orange rule, then the form. */
.cipri-bare-page { min-height: 100svh; display: flex; flex-direction: column; }
.cipri-bare-page > .cipri-band { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(64px, 9vw, 120px); }
.cipri-gate .cipri-stack { gap: 22px; }
.cipri-gate-lockup { width: min(300px, 70vw); display: flex; flex-direction: column; align-items: center; margin-inline: auto; }
.cipri-gate-lockup img { width: 100%; }
.cipri-gate-rule { display: block; width: 100%; height: calc(min(300px, 70vw) * .018); margin-top: calc(min(300px, 70vw) * .06); background: var(--orange); }
.cipri-gate-ill { width: auto; height: clamp(110px, 14vw, 140px); margin: 12px auto 6px; }
.cipri-green .cipri-sys-lede { color: var(--cream-dim); }
.cipri-gate-form { width: min(380px, 100%); margin-inline: auto; text-align: left; gap: 14px; }
.cipri-gate-form label { font-family: var(--f-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.cipri-gate-form .cipri-btn { width: 100%; }
.cipri-gate-alert { background: var(--cream-soft); color: var(--ink); border-left: 3px solid var(--orange); padding: 10px 14px; font-size: .95rem; }

@media (max-width: 760px) {
  .cipri-ways { grid-template-columns: minmax(0, 1fr); }
  .cipri-way { padding-inline: 0; }
  .cipri-way + .cipri-way { border-left: 0; border-top: 1px solid var(--divider); }
}
