/* ===== What Stash does: one family of cards, one idea each ===== */
.keys { padding-block: var(--sec); background: var(--surface); color: var(--ink); }
html .fx-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; inline-size: min(1120px, 100% - 2 * var(--gutter)); margin: 0 auto 44px; padding: 0; } .fx-nav { display: flex; gap: 8px; }
.fx-nav button { display: grid; place-items: center; inline-size: 44px; block-size: 44px; padding: 0 0 2px; border: 0; border-radius: 50%; font: 400 21px/1 var(--font-text); color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); } .fx-nav button:disabled { opacity: .35; } .fx-nav span { display: none; }
.fx-row { --edge: max(var(--gutter), calc((100vw - 1120px) / 2)); position: relative; display: flex; gap: 18px; padding: 4px var(--edge) 30px; scroll-padding-inline: var(--edge); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; } .fx-row::-webkit-scrollbar { display: none; } .fx-row.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.fx-item { flex: none; inline-size: 420px; scroll-snap-align: start; display: grid; grid-template-rows: 1fr auto; border-radius: 28px; overflow: hidden; background: var(--paper); } .f-copied, .f-hebrew { inline-size: 520px; }
.fx-pic { position: relative; min-block-size: 290px; overflow: hidden; container-type: inline-size; }
.fx-t { padding: 18px 24px 22px; } .fx-t h3 { margin: 0 0 4px; font: 500 23px/1.15 var(--font-serif); letter-spacing: -.02em; } .fx-t p { margin: 0; font: 400 15px/1.45 var(--font-text); color: var(--ink-2); }
.fx-pic .art { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; } .fx-pic .dk { display: none; }
:root[data-theme="dark"] .fx-pic .lt { display: none; } :root[data-theme="dark"] .fx-pic .dk { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fx-pic .lt { display: none; } :root:not([data-theme="light"]) .fx-pic .dk { display: block; } }

/* the app, drawn: one paper, one shadow, one type size */
.fx-pic { --u: clamp(14px, 3.1cqw, 17px); --sh: 0 0 0 .5px rgb(var(--shade-rgb) / .12), 0 24px 48px -22px rgb(var(--shade-rgb) / .38); font: 400 16px/1.4 var(--font-text); color: var(--ink); } .fx-pic p { margin: 0; } .fx-pic small { display: block; font-size: 13.5px; color: var(--ink-2); }
.u-mark { inline-size: 22px; block-size: 16px; } .u-mag { flex: none; inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.u-panel { position: absolute; inset: 44px -60px -40px 36px; padding: 20px 22px; border-radius: 26px; background: var(--surface); box-shadow: var(--sh); overflow: hidden; }
.u-h { display: flex; align-items: center; gap: 10px; } .u-h b { font-weight: 600; } .u-s { display: flex; align-items: center; gap: 9px; inline-size: 300px; margin-inline-start: 10px; padding: 8px 13px; border-radius: 11px; color: var(--ink-2); background: rgb(var(--ink-rgb) / .055); }
.u-tabs { display: flex; gap: 24px; margin: 18px 2px 16px; color: var(--ink-2); white-space: nowrap; } .u-tabs b { font-weight: 600; color: var(--ink); }
.u-cards { display: grid; grid-template-columns: repeat(4, 172px); gap: 12px; } .u-clip { display: flex; flex-direction: column; justify-content: space-between; block-size: 182px; padding: 14px; border-radius: 18px; background: var(--paper); } .u-clip.on { box-shadow: 0 0 0 2px var(--focus); background: var(--surface); } .u-clip b { font-weight: 600; } .u-sw { display: block; flex: 1; margin-block-end: 10px; border-radius: 11px; background: var(--coral); }
.f-ask .fx-pic, .f-ai .fx-pic { background: var(--graphite-bottom); }
.u-ask { position: absolute; inset: 0; display: grid; align-content: center; gap: 12px; padding: 0 30px; } .u-bar { display: flex; align-items: center; gap: 11px; padding: 17px 20px; border-radius: 18px; color: var(--white); background: black; box-shadow: 0 0 0 1px color-mix(in srgb, var(--white) 16%, transparent); font-size: 18px; white-space: nowrap; } .u-bar .u-mag { opacity: .55; }
.u-res { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--surface); } .u-res span { flex: 1; min-inline-size: 0; } .u-res span b { display: block; font-weight: 600; white-space: nowrap; } .u-res kbd { font-size: 12px; color: var(--ink-2); }
.u-res > i { flex: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 4px; inline-size: 60px; block-size: 50px; padding: 5px; border-radius: 10px; background: var(--butter-fill); } .u-res i b { border-radius: 3px; background: var(--sky); grid-row: span 2; } .u-res i b + b { grid-row: auto; background: var(--white); } .u-res i b + b + b { background: var(--coral); }
.u-notch { position: absolute; inset: 0 auto auto 50%; translate: -50% 0; inline-size: 196px; block-size: 33px; border-radius: 0 0 12px 12px; background: black; } .u-ink { position: absolute; inset: 9px auto auto 16px; inline-size: 42px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; }
.u-say { position: absolute; inset: 33px 0 0; display: grid; align-content: center; gap: 16px; padding: 0 34px; font: 400 23px/1.4 var(--font-serif); letter-spacing: -.01em; } .u-say .raw { color: var(--ink-2); font-size: 20px; } .u-say s { opacity: .6; text-decoration-color: var(--coral-deep); text-decoration-thickness: 1.5px; }
.f-hebrew .art { object-position: 50% 46%; } .u-he { position: absolute; inset: auto 34px 30px; padding: 18px 24px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh); font: 400 23px/1.5 "Stash Hebrew", var(--font-text); text-align: center; } .u-he bdi { font-weight: 600; }
.u-ai { position: absolute; inset: 0 0 34px; display: flex; align-items: center; justify-content: center; } .u-ai img, .u-ai span { inline-size: 84px; block-size: 84px; border-radius: 22px; } .u-ai span { display: grid; place-items: center; color: var(--graphite-bottom); background: var(--white); } .u-ai .u-mark { inline-size: 46px; block-size: 32px; } .u-ai i { inline-size: 92px; block-size: 2px; margin-inline: 18px; background: linear-gradient(90deg, var(--coral), var(--butter), var(--sky)); border-radius: 2px; } .u-ai-t { position: absolute; inset: auto 0 64px; text-align: center; color: color-mix(in srgb, var(--white) 66%, transparent); }
.f-private .art { object-position: 50% 24%; } .u-key { position: absolute; inset: auto auto 28px 28px; padding: 15px 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh); font: 500 17px/1.3 var(--font-mono); } .u-key small { margin-block-start: 5px; font-family: var(--font-text); font-weight: 400; }

/* four small ones */
.fx-small { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; inline-size: min(1120px, 100% - 2 * var(--gutter)); margin: 20px auto 0; padding: 0 !important; max-inline-size: none; }
.fx-small li { border-radius: 24px; overflow: hidden; background: var(--paper); } .fx-small .fx-pic { min-block-size: 0; block-size: 150px; display: grid; place-items: center; } .fx-small h3 { margin: 4px 20px 4px; font: 500 19px/1.2 var(--font-serif); letter-spacing: -.01em; } .fx-small li > p { margin: 0 20px 22px; font: 400 14.5px/1.45 var(--font-text); color: var(--ink-2); } .fx-small .art { object-position: 50% 40%; }
.s-snip { display: grid; gap: 10px; justify-items: center; text-align: center; font: 400 20px/1.3 var(--font-serif); } .s-snip code { padding: 4px 10px; border-radius: 8px; background: rgb(var(--ink-rgb) / .07); font: 500 16px/1.3 var(--font-mono); }
.s-rc { display: grid; gap: 5px; inline-size: 158px; padding: 16px 16px 40px; margin-block-start: 44px; background: var(--white); color: var(--graphite-bottom); box-shadow: var(--sh); font: 400 13px/1.35 var(--font-mono); } .s-rc b { text-align: center; } .s-rc mark { margin: 0 -5px; padding: 0 5px; background: var(--butter); }
.s-own { display: grid; gap: 2px; justify-items: center; font: 500 46px/1.05 var(--font-serif); letter-spacing: -.02em; } .s-own b { font-weight: 500; } .s-own s { font-size: 24px; color: var(--ink-2); text-decoration-color: var(--coral-deep); text-decoration-thickness: 2px; }

@media (max-width: 1000px) and (min-width: 761px) { .fx-small { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .fx-head { align-items: end; margin-block-end: 22px; } .fx-nav { display: flex; gap: 8px; }
  .fx-row { display: flex; gap: 14px; inline-size: 100%; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; } .fx-row::-webkit-scrollbar { display: none; }
  .fx-item { flex: none; inline-size: 82vw; scroll-snap-align: start; } .fx-pic { min-block-size: 340px; } .fx-t { padding: 20px 22px 24px; } .fx-t h3 { font-size: 24px; }
  .fx-small { grid-template-columns: 1fr 1fr; gap: 14px; margin-block-start: 14px; } .fx-small .fx-pic { block-size: 150px; } .fx-small h3 { margin-inline: 16px; font-size: 18px; } .fx-small li > p { margin: 0 16px 18px; }
  .u-panel { inset: 32px -120px -40px 22px; } .u-s { inline-size: 230px; } .u-say { padding-inline: 24px; } .u-ask { padding-inline: 18px; } .u-bar { font-size: 16px; padding: 15px 16px; } .u-res { padding-inline-end: 14px; } .u-res kbd { display: none; } .u-he { inset-inline: 18px; font-size: 20px; } .u-key { inset-inline-start: 18px; font-size: 15px; } .u-ai img, .u-ai span { inline-size: 70px; block-size: 70px; } .u-ai i { inline-size: 52px; margin-inline: 12px; } .f-hebrew .art { object-position: 50% 20%; }
}
/* grounds: the brand's quiet fills, so the app sits on something */
.f-copied .fx-pic { background: linear-gradient(150deg, var(--sky-fill), var(--paper) 85%); } .f-talk .fx-pic { background: linear-gradient(210deg, var(--coral-fill), var(--butter-fill) 60%, var(--paper)); }
.f-copied .u-panel { inset: 50px -90px auto 40px; padding-block-end: 22px; } .f-copied .u-clip { block-size: 150px; }
.f-talk .u-say { inset: 78px 30px 34px; padding: 0 28px; border-radius: 22px; background: var(--surface); box-shadow: var(--sh); font-size: 25px; gap: 14px; } .f-talk .u-say .raw { font-size: 18px; line-height: 1.45; }
@media (max-width: 760px) { .f-copied .u-panel { inset: 40px -140px auto 22px; } .f-talk .u-say { inset: 64px 18px 26px; padding-inline: 20px; font-size: 22px; } .f-talk .u-say .raw { font-size: 16px; } }

@media (min-width: 761px) { html .fx-head { margin-block-end: 30px; } .f-copied .u-panel { inset: 30px -120px auto 30px; transform: scale(.88); transform-origin: 0 0; } .f-talk .u-say { inset: 56px 26px 26px; } .u-he { inset-block-end: 22px; font-size: 20px; padding: 14px 20px; } .u-key { inset-block-end: 22px; } .u-ai img, .u-ai span { inline-size: 72px; block-size: 72px; border-radius: 19px; } .u-ai { inset-block-end: 22px; } .u-ai-t { inset-block-end: 40px; } .s-rc { margin-block-start: 34px; scale: .9; } }
/* one small live thing per card, once */



.play .f-hebrew .u-he p { clip-path: inset(0 0 0 100%); } .play .f-hebrew.live .u-he p { transition: clip-path 1.3s cubic-bezier(.4, 0, .2, 1) .25s; clip-path: inset(0 0 0 0); }
.play .f-ai .u-ai i { transform: scaleX(0); transform-origin: 0 50%; } .play .f-ai.live .u-ai i { transition: transform .8s cubic-bezier(.77, 0, .175, 1) .25s; transform: none; } .play .f-ai .u-ai-t { opacity: 0; } .play .f-ai.live .u-ai-t { transition: opacity .5s 1.1s; opacity: 1; }
.play .f-private .u-key span { filter: blur(0); } .play .f-private .u-key { opacity: 0; transform: translateY(14px); } .play .f-private.live .u-key { transition: opacity .5s .2s, transform .7s cubic-bezier(.16, 1, .3, 1) .2s; opacity: 1; transform: none; }

