/* COPY: Infinite Vault website/preview/css/pages/try.css, branch claude/iv-web-demo-0bae34 at d7d951ab (docs 83ac66e7),
   lines 3-100 (page frame, top bar, Things to try, the drawn Duo, fold leaf) and 908-1026 (phone page, sheet, floating key,
   own device, Pro Max), verbatim; IV's app screens (101-907) are left out. DW colours over these: css/app.css. */
.try { --line: #26262a; --line-strong: #3a3a40; --ink: #eef1ef; --ink-soft: #a9b0ad; --ink-dim: #8a918e; --surface: #151517;
  --mint: #7EF0C8; --cyan: #5BCDEB; --coral: #FF5A6E; --amber: #FFB829; --tab: #9A9AA0; --sec: #8E8E93;
  --opal: linear-gradient(100deg, #E4FCA6, #B9FBD6 30%, #A6F3EF 60%, #A8E1FC 85%, #AFF9FA);
  --opal-c: conic-gradient(from var(--halo, 0deg), #E4FCA6, #B9FBD6, #A6F3EF, #A8E1FC, #AFF9FA, #E4FCA6);
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  margin: 0; min-height: 100vh; min-height: 100dvh; background: #000; color: var(--ink); overflow: hidden; }
:where(.try) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.try button:disabled { cursor: default; }
.try .ic { display: block; flex: none; }
.try :focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

/* ---------- the page frame (C1-C3) ---------- */
.try-bar { position: relative; z-index: 5; height: 64px; padding: 0 24px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); background: #000; }
.try-back { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-soft); font-size: 15px; text-decoration: none; white-space: nowrap; }
.try-back:hover { color: var(--ink); }
.try-back img { width: 26px; height: 26px; border-radius: 7px; }
.try-back .icon { width: 18px; height: 18px; }
.try-controls { flex: 1; display: flex; justify-content: center; align-items: center; gap: 12px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: #000; flex: none; }
.seg button { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border-radius: 9px; font-size: 14px; color: var(--ink-soft); white-space: nowrap; transition: background .2s, color .2s; }
.seg button svg { width: 18px; height: 18px; }
.seg button[aria-pressed="true"] { background: #232327; color: var(--ink); }
.seg button:disabled { color: #55595a; }
.seg button:not(:disabled):not([aria-pressed="true"]):hover { color: var(--ink); }
.try-icon { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong) !important; display: grid; place-items: center; color: var(--ink); flex: none; }
.try-icon svg { width: 20px; height: 20px; }
.try-icon:hover { background: #151517 !important; }
.try-soon { color: var(--ink-dim); font-size: 14px; white-space: nowrap; }
.try-back { flex: none; }
/* a narrower window keeps every key whole: the back label, then the note, step aside (the key keeps its aria-label) */
@media (max-width: 1000px) { .try-back span { display: none; } }
@media (max-width: 900px) { .try-soon { display: none; } }
.try-main { display: flex; height: calc(100vh - 64px); height: calc(100dvh - 64px); }
.try-stage { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(ellipse 46% 52% at 50% 52%, rgba(126,240,200,.08), rgba(126,240,200,0) 70%); }
.todo { width: 360px; flex: none; border-left: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; overflow-y: auto; background: #000; }
.todo-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.todo-head h1 { margin: 0; font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: 0; }
.todo-count { font-size: 14px; color: var(--ink-dim); }
.todo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.todo-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px !important; border-radius: 12px; text-align: left; color: var(--ink-soft) !important; transition: background .2s; }
.todo-item:hover, .todo-item.open { background: var(--surface) !important; color: var(--ink) !important; }
.todo-tick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #4a4e4d; display: grid; place-items: center; flex: none; transition: background .25s, border-color .25s; }
.todo-tick svg { width: 15px; height: 15px; opacity: 0; color: #0b0b0b; stroke-width: 2.4; }
.todo-item[aria-pressed="true"] .todo-tick { background: var(--mint); border-color: var(--mint); }
.todo-item[aria-pressed="true"] .todo-tick svg { opacity: 1; }
.todo-item[aria-pressed="true"] .todo-name { color: var(--ink-dim); }
.todo-item.just .todo-tick { animation: tick-pop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes tick-pop { 40% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(126,240,200,.22); } }
.todo-text { flex: 1; min-width: 0; }
.todo-name { display: block; font-size: 15px; }
.todo-hint { display: block; font-size: 13px; color: var(--ink-dim); margin-top: 1px; }
.todo-go { width: 16px; height: 16px; color: var(--ink-dim); }
.todo-note { margin: 22px 12px 0; font-size: 13px; color: var(--ink-dim); line-height: 1.45; }
.todo-foot { margin-top: auto; padding: 18px 12px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.todo-foot .textlink { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.todo-site, .todo-soon, .todo-grab, .todo-close, .todo-dev, .fkey, .todo-scrim, .duo-open, .full-x, .turn-ask { display: none; }
.try .todo-close { display: none; }
/* short desktop windows (1280 x 720): the whole list and its footer fit without scrolling */
@media (max-height: 780px) {
  .todo { padding: 18px 24px 16px; }
  .todo-item { padding: 7px 12px !important; }
  .todo-note { margin-top: 10px; }
  .todo-foot { padding-top: 8px; }
}

/* ---------- the drawn Duo ---------- */
.dev-box { position: relative; flex: none; }
.duo { position: absolute; inset: 0; }
.frame { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 46px; background: #1A1A1C; transform-origin: 50% 50%;
  box-shadow: inset 0 0 0 1px #303034, 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px #0b0b0c; }
.duo[data-layout="closed"] .frame { border-radius: 50px; }
.scr { position: absolute; left: var(--b); top: var(--b); overflow: hidden; background: #000; border-radius: 38px; isolation: isolate;
  font: 15px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", system-ui, sans-serif; color: #fff; -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.duo[data-layout="closed"] .scr { border-radius: 42px; }
.crease { position: absolute; display: none; pointer-events: none; z-index: 3; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.12), rgba(255,255,255,0)); }
.duo[data-layout="landscape"] .crease { display: block; top: var(--b); bottom: var(--b); left: calc(var(--b) + 474px); width: 3px; }
.duo[data-dev="duo"][data-layout="phone"] .crease { display: block; left: var(--b); right: var(--b); top: calc(var(--b) + 474px); height: 3px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.12), rgba(255,255,255,0)); }
.frame.turning { transition: transform .46s cubic-bezier(.45,.05,.2,1); }
.frame.opening, .frame.closing { perspective: 2600px; }
.frame.opening::before, .frame.closing::before { content: ""; position: absolute; left: -2px; top: -2px; bottom: -2px; width: calc(50% + 2px); background: #000; z-index: 4; }
.frame.opening .scr { clip-path: inset(0 0 0 50%); }
/* the app blurs the window while folding, up to 8 pt at mid-fold (FoldBlurOverlay.swift, FoldLockDecision.maxBlurRadius) */
.frame.opening .scr, .frame.closing .scr { animation: fold-blur .65s linear; }
#app.refold { animation: fold-settle .4s ease-out; }
@keyframes fold-blur { 0%, 100% { filter: blur(0); } 50% { filter: blur(8px); } }
@keyframes fold-settle { from { filter: blur(8px); } to { filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .frame.opening .scr, .frame.closing .scr, #app.refold { animation: none; } }
.leaf { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; z-index: 5; transform-origin: 100% 50%; transform-style: preserve-3d; border-radius: 46px 0 0 46px; background: #1A1A1C; }
.frame .leaf > .scr, .frame.opening .leaf > .scr { backface-visibility: hidden; -webkit-backface-visibility: hidden; clip-path: inset(0 50% 0 0); border-radius: 38px 0 0 38px; }
.leaf::after { content: ""; position: absolute; inset: 0; border-radius: 0 46px 46px 0; background: linear-gradient(90deg, #0c0c0d, #202023 60%, #141416); transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.opening .leaf { animation: unfold .68s cubic-bezier(.3,.62,.2,1) both; }
.closing .leaf { animation: unfold .62s cubic-bezier(.5,.05,.6,.9) reverse both; }
@keyframes unfold { from { transform: rotateY(179deg); } to { transform: rotateY(0deg); } }
.app.relaid { animation: relaid .26s ease-out; }
@keyframes relaid { from { opacity: .4; } }

/* ---------- the app ---------- */
/* ---------- full screen on a phone: the open Duo, turned (frames A4, A4b) ---------- */
body.full .try-bar, body.full .todo, body.full .fkey, body.full .duo-open { display: none !important; }
body.full .try-main { height: 100vh; height: 100dvh; }
body.full .try-stage { position: fixed; inset: 0; z-index: 30; background: #000; flex-direction: column; }
body.full .full-x { display: grid; position: fixed; z-index: 40; right: max(10px, env(safe-area-inset-right)); top: max(10px, var(--sat)); width: 44px; height: 44px; border-radius: 50%; place-items: center; background: rgba(36,36,40,.9); color: #fff; }
body.full .full-x svg { width: 22px; height: 22px; }
body.full:not(.full-wide):not(.wide-now) .turn-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); max-width: 340px; }
.turn-ask > svg { width: 32px; height: 32px; color: var(--mint); animation: ask-turn 2.4s ease-in-out infinite; flex: none; }
.turn-ask p { flex: 1; min-width: 0; }
/* the wide Duo without turning: a window that does not turn (an in-app browser, a computer) still reaches it */
.turn-wide { flex-basis: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 22px; border: 1px solid var(--line-strong) !important; color: var(--ink); font-size: 15px; }
.turn-wide svg { width: 18px; height: 18px; }
body:not(.handset) .turn-ask > svg, body:not(.handset) .turn-ask p { display: none; }   /* a computer has no phone to turn */
body:not(.handset).full .turn-ask { border: 0; padding: 0; }
body.phone:not(.handset) .todo-dev .seg { display: none; }   /* My phone / iPhone Duo is a phone's choice */
body.phone:not(.handset) .todo-dev { justify-content: flex-end; }
@keyframes ask-turn { 0%, 30% { transform: rotate(0); } 55%, 85% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
.turn-ask p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.turn-ask b { display: block; color: var(--ink); font-size: 15px; font-weight: 500; }
body.full-wide .full-x { top: 50%; margin-top: -22px; }

/* ---------- a phone: the page's controls in one sheet from one floating key ---------- */
body.phone .try-bar { display: none; }
body.phone .try-main { height: 100vh; height: 100dvh; }
body.phone .try-stage { flex-direction: column; gap: 14px; background: none; }
body.phone:not(.own) .try-stage { background: radial-gradient(ellipse 60% 40% at 50% 45%, rgba(126,240,200,.08), rgba(126,240,200,0) 70%); }
body.phone:not(.own):not(.full) .duo-open { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 15px; }
.duo-open svg { width: 20px; height: 20px; color: var(--mint); }
body.phone.own .try-stage { position: fixed; inset: 0; display: block; }
body.phone.own .dev-box { position: absolute !important; left: 0; top: 0; }
body.own .frame { left: 0; top: 0; translate: none; border-radius: 0; background: #000; box-shadow: none; }
body.own .scr, body.own .duo[data-layout] .scr { border-radius: 0; }   /* the visitor's own screen is square, also when closed */
body.own .crease { display: none !important; }
body.phone .fkey { display: flex; position: fixed; z-index: 45; left: 0; top: 44%; width: 44px; height: 56px; padding: 0 0 0 2px !important; align-items: center; justify-content: center; flex-direction: column; gap: 2px;
  border-radius: 0 16px 16px 0; background: rgba(30,30,34,.82) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset -1px 0 0 rgba(255,255,255,.1), 0 6px 20px rgba(0,0,0,.5); color: var(--mint); }
/* own phone: the empty top of the Duo rail, or the left edge just above the tab bar */
body.phone.own:not([data-l="phone"]) .fkey { left: auto; right: 20px; top: calc(var(--sat) + 12px); border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
body.phone.own[data-l="phone"] .fkey { top: auto; bottom: calc(var(--sab) + 100px); }
body.phone:not(.own) .fkey { top: auto; bottom: max(16px, var(--sab)); left: 16px; width: auto; height: 44px; padding: 0 14px !important; border-radius: 22px; flex-direction: row; gap: 6px; }
body.phone .fkey { touch-action: none; transition: opacity .4s, transform .4s cubic-bezier(.2,.9,.25,1); }
body.phone .fkey.idle:not([aria-expanded="true"]) { opacity: .45; }
/* own phone: idle, the key slides behind the screen edge and leaves an 8 px tab with its mint handle on screen, so the
   page's controls stay findable while the app keeps the screen (r6-ux gap 3); a tap or a swipe in brings it back */
body.phone.own .fkey.idle:not([aria-expanded="true"]) { transform: translateX(calc(-100% + 8px)); opacity: 1; }
body.phone.own .fkey.right.idle:not([aria-expanded="true"]) { transform: translateX(calc(100% - 8px)); }
body.phone.own:not([data-l="phone"]) .fkey.idle:not([aria-expanded="true"]) { transform: translateX(calc(100% + 12px)); }
body.phone.own .fkey::before { content: ""; position: absolute; top: 50%; right: -5px; width: 3px; height: 28px; margin-top: -14px; border-radius: 2px; background: rgba(126,240,200,.55); opacity: 0; transition: opacity .3s; pointer-events: none; }
body.phone.own .fkey.right::before, body.phone.own:not([data-l="phone"]) .fkey::before { right: auto; left: -5px; }
body.phone.own:not([data-l="phone"]) .fkey::before { left: -8px; }
body.phone.own .fkey.idle:not([aria-expanded="true"])::before { opacity: 1; }
body.phone.own[data-l="phone"] .fkey.right { left: auto; right: 0; border-radius: 16px 0 0 16px; box-shadow: inset 1px 0 0 rgba(255,255,255,.1), 0 6px 20px rgba(0,0,0,.5); }
.fkey svg { width: 20px; height: 20px; }
.fkey span { font-size: 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.fkey.pulse { animation: tick-pop .6s cubic-bezier(.3,1.6,.5,1); }
/* an idle key off the screen must stay off: a tick only lights its edge handle */
body.phone.own .fkey.idle.pulse:not([aria-expanded="true"]) { animation: none; }
body.phone.own .fkey.idle.pulse:not([aria-expanded="true"])::before { animation: handle-ping .9s ease-out 2; }
@keyframes handle-ping { 50% { transform: scaleY(1.5); background: #7ef0c8; box-shadow: 0 0 10px rgba(126,240,200,.8); } }
body.phone .todo { display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; width: auto; max-height: 86vh; max-height: 86dvh; padding: 6px 16px calc(18px + var(--sab)); border: 0; border-radius: 22px 22px 0 0;
  background: #121214; box-shadow: inset 0 1px 0 var(--line-strong); transform: translateY(105%); visibility: hidden; transition: transform .32s cubic-bezier(.2,.9,.25,1), visibility .32s; }
body.phone.sheet-open .todo { transform: none; visibility: visible; }
body.phone .todo-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
body.phone.sheet-open .todo-scrim { opacity: 1; pointer-events: auto; }
body.phone .todo-grab { display: block; width: 36px; height: 5px; border-radius: 3px; background: #3a3a40; margin: 4px auto 8px; flex: none; }
body.phone .todo-head { align-items: center; gap: 10px; margin-bottom: 8px; }
body.phone .todo-head h1 { flex: 1; }
body.phone .todo-close { display: grid; width: 44px; height: 44px; place-items: center; color: var(--ink-soft); }
body.phone .todo-close svg { width: 20px; height: 20px; }
body.phone .todo-dev { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
body.phone .todo-dev .seg { flex: 1; }
body.phone .todo-dev .seg button { flex: 1; justify-content: center; min-height: 40px; }
body.phone .todo-item { padding: 9px 8px !important; }
body.phone .todo-note { margin: 12px 8px 0; }
body.phone .todo-foot { margin-top: 12px; padding-top: 6px; }
body.phone .todo-site { display: inline-flex; color: var(--ink-soft); }
body.phone .todo-soon { display: block; margin: 4px 8px 0; font-size: 13px; color: var(--ink-dim); }
@media (prefers-reduced-motion: reduce) {
  .try *, .try *::before, .try *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .16s !important; }
}

/* a single-screen iPhone app is portrait only (INFOPLIST_KEY_UISupportedInterfaceOrientations = Portrait) */
.upright { display: none; }
@media (orientation: landscape) {
  body.phone.own[data-l="phone"] .upright { display: flex; position: fixed; inset: 0; z-index: 44; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #000; text-align: center; padding: 24px; }
  body.phone.own[data-l="phone"] .upright svg { width: 44px; height: 44px; color: var(--mint); transform: rotate(90deg); }
  body.phone.own[data-l="phone"] .upright b { display: block; font-size: 17px; font-weight: 600; }
  body.phone.own[data-l="phone"] .upright span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-dim); }
}
/* an open video full screen (sideways, or the Full Screen key): the whole viewer covers the screen, immersive -
   no header, no action row; the scrubber row with Exit Full Screen and the play key leave with the bars */
body.vfull .upright, body.vfull .fkey { display: none !important; }
body.vfull #app [data-viewer] { position: fixed; inset: 0; z-index: 46; }
body.vfull #app [data-viewer] .v-top, body.vfull #app [data-viewer] .v-acts { display: none; }
body.vfull #app [data-viewer] .v-stage { top: 0; bottom: 0; }
body.vfull #app [data-viewer] video { width: 100%; height: 100%; object-fit: contain; }
body.vfull #app [data-viewer].bare .v-bigplay { opacity: 0; pointer-events: none; }
body.vfull #app [data-viewer] .v-bot { padding: 0 max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.v-fs { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; color: #fff; }
.v-fs[hidden] { display: none; }

/* iPhone Pro Max (00/P'Ek 2026-11-18): 440 x 956 pt (ios-axiom layout-ref.md:614), the app's tab-bar layout. Corners and
   the Dynamic Island in the site's own iPhone proportions (video/src/iphone.css:3-9, 30-34: corner .15 W, bezel .025 W,
   island .298 W x .0875 W, .026 W below the glass); ios-axiom gives no Pro Max corner or island size */
.island { display: none; }
.duo[data-dev="pro"] .frame { border-radius: 69px; }
.duo[data-dev="pro"] .scr { border-radius: 58px; }
.duo[data-dev="pro"] .island { display: block; position: absolute; z-index: 5; left: 50%; top: calc(var(--b) + 12px); width: 138px; height: 40px; margin-left: -69px; border-radius: 20px; background: #000; pointer-events: none; }
.duo[data-dev="pro"][data-side] .island { left: calc(var(--b) + 12px); top: 50%; width: 40px; height: 138px; margin: -69px 0 0; }
.duo[data-dev="pro"] .app, .duo[data-dev="pro"] .lockl { --sat: 62px; --sab: 34px; }
.duo[data-dev="pro"][data-side] .app { --sat: 0px; --sab: 21px; }
/* measured against the real-app captures (Library title, Settings and Collection back keys): their top rows sit right
   under the 62 pt safe area, 14-18 pt higher than the own-phone layout's safe area + 14 */
.duo[data-dev="pro"] .app[data-l="phone"] { --top: calc(var(--sat) - 2px); }
.duo[data-dev="pro"] .st, .duo[data-dev="pro"] .lockl > .st { top: 0; left: 0; width: 100%; height: 64px; flex-direction: row; justify-content: space-between; align-items: center; padding: 0 88px 0 66px; }
.duo[data-dev="pro"] .st-ring { width: auto; height: auto; border: 0; }
.duo[data-dev="pro"] .st-ring::after { display: none; }
.duo[data-dev="pro"][data-side] .st, body.vfull .duo[data-dev="pro"] .st { display: none; }   /* a full-screen video hides the status bar */
body.vfull:not(.own) #app [data-viewer] { position: absolute; }   /* the drawn phone: its own screen, not the window */
body[data-dev="pro"] [data-seg="fold"], body[data-dev="pro"] .duo-open { display: none !important; }
