/* One Lamp: brand layer. Used inside the case-study plates and by the landing page. */
:root {
  --night: #15181C; --raised: #292D32; --crown: #363C43; --chalk: #ECEDE8; --rose: #F28CB8;
  --dim: #8A9099; --faint: #5E646C;
  --day: #ECEDE8; --day-fold: #DFE1DA; --day-crown: #CFD2CB; --day-dim: #6B7078; --rose-ink: #D4588F; --ink: #15181C;
  --expo: cubic-bezier(.16, 1, .3, 1);
}

.L { font-family: "Suisse Intl", system-ui, sans-serif; font-weight: 400; color: var(--chalk); background: var(--night); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.L.day, .L .day { background: var(--day); color: var(--ink); }
:where(.L) :where(p, h1, h2, h3, ul, ol, li) { margin: 0; padding: 0; font: inherit; color: inherit; }
:where(.L) :where(ul, ol) { list-style: none; }
.L .mono { font-family: "Suisse Intl Mono", ui-monospace, monospace; font-weight: 400; text-transform: uppercase; letter-spacing: .07em; }
.L .dsp { font-weight: 500; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.L .dim { color: var(--dim); }
.L.day .dim, .L .day .dim { color: var(--day-dim); }

/* The crown. Exact path; the lamp is the r10 centre terminal, clipped to the same path. */
.crown { display: block; flex: none; overflow: visible; }
.crown .body { fill: var(--crown-body, var(--crown)); }
/* Off, the lamp is the body's own opaque grey. On, it switches to rose in one step (no fade, no glow); off is instant. */
.crown .lamp { fill: var(--crown-body, var(--crown)); }
.crown.on .lamp { fill: var(--rose); transition: fill 120ms steps(1, end); }
.day .crown, .crown.day { --crown-body: var(--day-crown); }
.crown.bare { --crown-body: var(--crown); }

/* Filled pill buttons */
.L .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; font: 500 15px/1 "Suisse Intl", sans-serif; letter-spacing: -.005em; text-transform: none; background: var(--raised); color: var(--chalk); cursor: pointer; white-space: nowrap; transition: transform .12s var(--expo), background-color .2s; text-decoration: none; }
.L .btn.pri { background: var(--chalk); color: var(--night); }
.L .btn:hover { background: #33383E; }
.L .btn.pri:hover { background: #FFFFFF; }
.L .btn:active { transform: scale(.97); }
.L .btn svg { width: 12px; height: 12px; flex: none; }
.L .day .btn, .L.day .btn { background: var(--day-fold); color: var(--ink); }
.L .day .btn.pri, .L.day .btn.pri { background: var(--ink); color: var(--day); }
.L .btn:focus { outline: 0; }
.L .btn:focus-visible { outline: 2px solid var(--chalk); outline-offset: 3px; }
.L input:focus, .L input:focus-visible { outline: 0; }

/* ---------- Product: one queue, three views ---------- */
.app { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--night); color: var(--chalk); }
.app.day { background: var(--day); color: var(--ink); }
.app .mono { font-size: 11px; line-height: 16px; color: var(--dim); }
.app.day .mono { color: var(--day-dim); }
.app .a-ask { font-weight: 500; letter-spacing: -.02em; color: var(--chalk); text-wrap: balance; }
.app .a-ctx { text-wrap: pretty; }
.app.day .a-ask { color: var(--ink); }
.app .a-ctx, .app .a-next p, .app .a-led .t { color: var(--dim); }
.app.day .a-ctx, .app.day .a-next p, .app.day .a-led .t { color: var(--day-dim); }
.app .a-led .me .t { color: var(--chalk); }
.app.day .a-led .me .t { color: var(--ink); }
.app .undo { height: 22px; padding: 0 10px; font-size: 12px; border-radius: 999px; }

/* Desktop 1440 x 900 */
.desk .a-top { height: 56px; display: flex; align-items: center; gap: 32px; padding: 0 32px; }
.desk .a-wm { font-weight: 500; font-size: 16px; letter-spacing: -.01em; margin-right: auto; }
.desk .a-col { width: 640px; margin: 0 auto; padding-top: 56px; }
.a-slot { display: flex; flex-direction: column; align-items: center; text-align: center; }
.desk .a-slot .crown { margin-bottom: 24px; }
.desk .a-ask { margin-top: 12px; font-size: 30px; line-height: 36px; max-width: 600px; }
.desk .a-ctx { margin: 12px auto 0; font-size: 15px; line-height: 22px; max-width: 520px; }
.a-acts { margin-top: 24px; display: flex; gap: 8px; justify-content: center; }
.desk .a-out { margin-top: 14px; }
.desk .a-next { margin-top: 52px; }
.desk .a-next p:not(.mono) { margin-top: 6px; font-size: 16px; line-height: 22px; }
.desk .a-led { margin-top: 36px; }
.a-led ol { margin-top: 10px; }
.a-led li { display: grid; grid-template-columns: 52px 1fr auto; column-gap: 16px; align-items: baseline; }
.desk .a-led li { min-height: 28px; padding: 3px 0; }
.desk .a-led .t { font-size: 14px; line-height: 22px; }
.a-led .s { text-align: right; display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.a-zero .a-ask { margin-top: 0; }

/* Phone 390 x 844 */
.ph .a-status { height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 34px; font-weight: 500; font-size: 16px; }
.ph .a-status svg { display: block; }
.ph .a-top { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.ph .a-wm { font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.ph .a-col { padding: 28px 20px 0; }
.ph .a-slot .crown { margin-bottom: 20px; }
.ph .a-ask { margin-top: 10px; font-size: 24px; line-height: 29px; }
.ph .a-ctx { margin-top: 10px; font-size: 15px; line-height: 21px; }
.ph .a-acts { margin-top: 20px; width: 100%; }
.ph .a-acts .btn { flex: 1; height: 44px; font-size: 16px; }
.ph .a-out { margin-top: 12px; }
.ph .a-next { margin-top: 36px; }
.ph .a-next p:not(.mono) { margin-top: 6px; font-size: 15px; line-height: 21px; }
.ph .a-led { margin-top: 28px; }
.ph .a-led li { grid-template-columns: 44px 1fr; row-gap: 2px; padding: 7px 0; }
.ph .a-led .t { font-size: 14px; line-height: 19px; }
.ph .a-led .s { grid-column: 2; justify-content: flex-start; text-align: left; }

/* Phone screen 2: the whole ledger */
.ph2 .a-col { padding-top: 12px; }
.ph2 .a-led { margin-top: 0; }

/* Menu bar fragment 600 x 636 (a narrow 380 crop moves the dropdown under the icon) */
.mb { background: var(--night); }
.mb .m-bar { height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding: 0 18px; background: #1E2125; font-size: 13px; font-weight: 500; color: var(--chalk); }
.mb.day .m-bar { background: #DCDED8; color: var(--ink); }
.mb .m-icon .crown { --crown-body: #D5D7D1; }
.mb.day .m-icon .crown { --crown-body: #30353B; }
.mb .m-icon { height: 30px; padding: 0 9px; display: flex; align-items: center; border-radius: 6px; background: #33383E; }
.mb.day .m-icon { background: #C9CCC5; }
.mb .m-drop { position: absolute; top: 38px; right: 154px; width: 340px; padding: 18px 18px 10px; border-radius: 14px; background: var(--raised); box-shadow: 0 24px 60px -18px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.25); }
.narrow .mb .m-drop { right: 20px; }
.mb.day .m-drop { background: #F6F7F3; color: var(--ink); box-shadow: 0 24px 60px -18px rgba(21,24,28,.35), 0 2px 8px rgba(21,24,28,.12); }
.mb .a-ask { margin-top: 8px; font-size: 17px; line-height: 22px; }
.mb .a-ctx { margin-top: 6px; font-size: 13px; line-height: 19px; }
.mb .a-acts { margin-top: 14px; justify-content: flex-start; }
.mb .a-acts .btn { height: 32px; padding: 0 14px; font-size: 13px; }
.mb .m-rows { margin-top: 14px; }
.mb .m-rows li { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 8px; margin: 0 -8px; border-radius: 8px; font-size: 13px; color: var(--dim); }
.mb.day .m-rows li { color: var(--day-dim); }
.mb .m-rows li:last-child { color: var(--chalk); }
.mb.day .m-rows li:last-child { color: var(--ink); }
.mb .m-rows li:hover { background: #33383E; }
.mb.day .m-rows li:hover { background: var(--day-fold); }

@media (prefers-reduced-motion: reduce) {
  .crown.on .lamp { transition: none; }
  .L .btn { transition: none; }
}
