/* Shared by site v2: product preview (browser frame + app screens + phone) and the lead slip. Extracted from site.css (v1), Nov 11, 2026. Example data only. */
/* The lead slip */
.rc-wrap { position: relative; justify-self: center; width: min(100%, 370px); margin: 0; filter: drop-shadow(0 14px 22px rgba(10,10,11,.13)); transform: rotate(1.2deg); }
.receipt { background: var(--white); padding: 30px 24px 36px; font: 14px/1.5 var(--mono); font-variant-numeric: tabular-nums; display: grid; gap: 7px;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top/18px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/18px 51% repeat-x;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top/18px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/18px 51% repeat-x; }
.receipt p { margin: 0; }
.rc-head { text-align: center; font: 600 13px/1.5 var(--mono); letter-spacing: .06em; padding-bottom: 10px; border-bottom: 1px dashed var(--line); margin-bottom: 4px !important; }
.rc-head span { display: block; color: var(--rose-deep); font-weight: 500; font-size: 11.5px; }
.ld { display: flex; align-items: baseline; gap: 6px; font-size: 12.5px; min-width: 0; }
.ld > span { color: var(--pebble); white-space: nowrap; }
.ld i { flex: 1; border-bottom: 1.5px dotted var(--dot); transform: translateY(-3px); min-width: 12px; }
.ld b { font-weight: 500; text-align: right; }
.ld.hl b { background: var(--tint); padding: 0 4px; font-weight: 600; }
.rc-why { font-size: 12.5px; line-height: 1.5; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px !important; }
.rc-why b { display: block; font-weight: 600; font-size: 11px; letter-spacing: .08em; color: var(--rose-deep); }
.rc-why .type { display: block; }
.rc-foot { text-align: center; color: var(--pebble); font-size: 11px; letter-spacing: .1em; padding-top: 8px; }
.stamp { position: absolute; right: -18px; bottom: 7%; margin: 0; transform: rotate(-14deg); border: 3px solid var(--rose); outline: 1.5px solid var(--rose); outline-offset: 3px;
  border-radius: 6px; padding: 6px 14px 5px; text-align: center; color: var(--rose-deep); background: rgba(255,255,255,.35); mix-blend-mode: multiply; }
.stamp b { display: block; font: 700 30px/1 var(--mono); letter-spacing: .14em; }
.stamp span { display: block; font: 600 10px/1.4 var(--mono); letter-spacing: .12em; }

/* ===== Product preview: browser frame + app screens (example data). Tour logic lives in tour.js, loaded lazily. ===== */
.product .sec-h { margin-bottom: 32px; }
.browser { container-type: inline-size; margin: 0; background: var(--white); border: 1px solid #D4D4D8; border-radius: 10px; box-shadow: 0 1px 0 rgba(10,10,11,.04), 0 24px 48px rgba(10,10,11,.10); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 9px 14px; background: var(--stone); border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--mono); color: var(--pebble); }
.browser-bar .dots { display: flex; gap: 6px; } .browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #A1A3AA; }
.browser-bar .url { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; flex: 0 1 320px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-bar .url b { font-weight: 500; color: var(--graphite); }
.browser-bar .pv { margin-left: auto; color: var(--rose-deep); letter-spacing: .08em; font-weight: 600; white-space: nowrap; }
.rk-app { --ok: #17784F; --ok-bg: #EAF6F0; --warn: #8A5A00; --warn-bg: #FDF5E6; --line2: #EAEAEC;
  position: relative; display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 560px; background: var(--paper); font-size: 14px; line-height: 1.5; }
.rk-app p { margin: 0; }
.side { background: var(--stone); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.ws { display: flex; align-items: center; gap: 9px; padding: 8px 10px; margin-bottom: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; line-height: 1.3; }
.ws .mark { width: 26px; height: 26px; flex: none; } .ws b { display: block; font-size: 12.5px; } .ws span span { color: var(--pebble); font-size: 11.5px; }
.side button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 7px; font: 500 13.5px var(--f); color: #2B2D31; cursor: pointer; }
.side button:hover { background: rgba(255,255,255,.6); }
.side button[aria-current="page"] { background: var(--white); color: var(--graphite); font-weight: 600; box-shadow: 0 1px 2px rgba(10,10,11,.08); }
.side svg { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.side .cnt { margin-left: auto; font: 500 11px var(--mono); font-style: normal; color: var(--rose-deep); }
.main { padding: 22px 24px 24px; min-width: 0; display: grid; align-content: start; }
.view { display: grid; gap: 16px; min-width: 0; }
.hello h3 { font-size: 22px; letter-spacing: -0.03em; margin: 0 0 2px; } .hello p { color: var(--pebble); font-size: 13px; }
.samp { font: 600 10px/1 var(--mono); letter-spacing: .08em; color: var(--rose-deep); }
.label { font: 500 10.5px/1.2 var(--mono); letter-spacing: .07em; color: var(--pebble); text-transform: uppercase; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: var(--white); overflow: hidden; }
.strip > div { padding: 11px 14px; border-left: 1px solid var(--line2); display: grid; gap: 3px; min-width: 0; }
.strip > div:first-child { border-left: 0; }
.strip b { font: 600 20px/1.15 var(--mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; } .strip b small { font-size: 12px; color: var(--pebble); font-weight: 500; }
.strip .d { font-size: 12px; color: var(--pebble); } .strip .d em { font-style: normal; color: var(--ok); font-weight: 600; }
.g32 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; min-width: 0; overflow: hidden; }
.ptitle { font-size: 13.5px; font-weight: 650; padding: 11px 16px; border-bottom: 1px solid var(--line2); display: flex; gap: 8px; align-items: center; }
.ptitle .r { margin-left: auto; font-weight: 500; color: var(--pebble); font-size: 12px; }
.pbody { padding: 14px 16px; display: grid; gap: 11px; }
.act { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line2); cursor: pointer; }
.act:last-child { border-bottom: 0; } .act:hover { background: #FFFFFF; }
.act.new { background: #ECFDF5; box-shadow: inset 3px 0 0 var(--rose); }
.act .t, .lrow .t { font-weight: 600; font-size: 13.5px; line-height: 1.3; } .act .w, .lrow .w { font-size: 12.5px; color: var(--pebble); }
.astamp { position: absolute; right: 132px; top: 9px; transform: rotate(-12deg); border: 2px solid var(--rose); outline: 1px solid var(--rose); outline-offset: 2px; border-radius: 4px; padding: 2px 6px; font: 700 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--rose-deep); background: rgba(255,255,255,.7); mix-blend-mode: multiply; pointer-events: none; }
.abtn { border: 1px solid var(--line); background: var(--white); border-radius: 7px; padding: 7px 11px; font: 550 13px var(--f); color: var(--graphite); white-space: nowrap; cursor: pointer; }
.abtn.pri { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
.abtn.ghost { background: transparent; } .abtn.done { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.ring { position: relative; width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; } .ring .trk { stroke: var(--line2); } .ring .val { stroke: var(--graphite); stroke-linecap: round; }
.ring.hot .val { stroke: var(--rose); } .ring.hot { background: radial-gradient(circle, var(--tint) 0 58%, transparent 60%); border-radius: 50%; }
.ring b { font: 600 13px/1 var(--mono); position: relative; } .ring.lg { width: 54px; height: 54px; } .ring.lg b { font-size: 17px; }
.tl { list-style: none; margin: 0; padding: 10px 16px 12px; display: grid; }
.tl li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; font-size: 12.5px; padding: 5px 0; position: relative; }
.tl li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); margin-top: 4px; z-index: 1; box-sizing: content-box; width: 5px; height: 5px; }
.tl li.k::before { border-color: var(--rose-deep); background: var(--rose); }
.tl li::after { content: ""; position: absolute; left: 4.5px; top: 17px; bottom: -5px; width: 1.5px; background: var(--line2); } .tl li:last-child::after { display: none; }
.tl li span:last-child { font: 11.5px var(--mono); color: var(--pebble); white-space: nowrap; }
.anote { font-size: 12px; color: var(--pebble); }
.tour-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 24px 0 0; }
.tour-cta .btn[aria-pressed="true"] { background: var(--paper); color: var(--graphite); box-shadow: inset 0 0 0 1.5px var(--graphite); }

/* Phone view */
.phone-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 72px; }
.phone { width: 300px; border: 9px solid var(--graphite); border-radius: 34px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.phone-in { padding: 14px 16px 0; display: grid; gap: 10px; min-height: 520px; align-content: start; font-size: 14px; }
.phone-in p { margin: 0; }
.ph-top { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--pebble); }
.phone h3 { font-size: 21px; letter-spacing: -0.03em; margin: 6px 0 2px; }
.ph-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: inset 3px 0 0 var(--rose); }
.ph-card .t { font-weight: 600; } .ph-card .w { font-size: 13px; color: var(--pebble); } .ph-card .m { font: 11px var(--mono); color: var(--pebble); margin-top: 4px !important; }
.ph-card .astamp { right: 12px; top: -11px; background: var(--white); }
.ph-why { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.ph-why b { display: block; font: 600 10.5px var(--mono); letter-spacing: .08em; color: var(--rose-deep); margin-bottom: 3px; }
.ph-btn { display: block; text-align: center; background: var(--graphite); color: var(--paper); border-radius: 10px; padding: 13px; font-weight: 600; font-size: 15px; }
.ph-btn.ghost { background: var(--white); color: var(--graphite); border: 1px solid var(--line); }
.ph-tabs { display: flex; justify-content: space-around; border-top: 1px solid var(--line); margin: 8px -16px 0 !important; padding: 12px 6px 16px; font: 500 11px var(--mono); color: var(--pebble); background: var(--stone); }
.ph-tabs .on { color: var(--graphite); font-weight: 600; }
.phone-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; }
.clauses.tight { grid-template-columns: 1fr; max-width: 520px; margin-bottom: 16px; }

/* App frame on narrow containers: the side nav becomes a bottom tab bar */
@container (max-width: 640px) {
  .rk-app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .side { flex-direction: row; justify-content: space-around; padding: 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .ws { display: none; }
  .side button { flex-direction: column; gap: 3px; font-size: 11px; padding: 6px 8px; }
  .side .cnt { display: none; }
  .main { padding: 16px 14px 18px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip > div:nth-child(3) { border-left: 0; } .strip > div:nth-child(n+3) { border-top: 1px solid var(--line2); }
  .g32, .g2 { grid-template-columns: minmax(0, 1fr); }
  .since, .anote { display: none; }
  .act { grid-template-columns: auto minmax(0, 1fr); } .act .abtn { grid-column: 2; justify-self: start; }
  .act .astamp { right: 12px; top: auto; bottom: 14px; }
}
@media (max-width: 820px) {
  .phone-row { grid-template-columns: 1fr; gap: 32px; justify-items: center; margin-top: 56px; }
  .phone-copy { justify-self: stretch; }
}
@media (max-width: 640px) {
  .browser-bar .pv { display: none; } .browser-bar .url { flex: 1; }
  .phone { width: min(300px, 100%); }
}

@keyframes rk-knock { 0% { transform: scale(.7); opacity: .45; } 8% { transform: scale(1); opacity: .65; } 16% { transform: scale(.8); opacity: .5; }
  26% { transform: scale(1.15); opacity: .82; } 34% { transform: scale(.9); opacity: .7; } 46% { transform: scale(1.35); opacity: 1; } 60%, 100% { transform: scale(1); opacity: 1; } }
@keyframes print { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes thunk { 0% { opacity: 0; transform: rotate(-14deg) scale(1.6); } 55% { opacity: 1; transform: rotate(-14deg) scale(.94); } 75% { transform: rotate(-14deg) scale(1.03); } 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }
@keyframes jolt { 0%, 100% { transform: rotate(1.2deg); } 30% { transform: rotate(1.2deg) translate(2px, 3px); } 60% { transform: rotate(1.2deg) translate(-1px, -1px); } }
@keyframes typeon { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes athunk { 0% { opacity: 0; transform: rotate(-12deg) scale(1.7); } 60% { opacity: 1; transform: rotate(-12deg) scale(.92); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
@keyframes writein { from { clip-path: inset(0 100% 0 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .receipt.go > * { animation: print .32s var(--ease) both; }

  html.motion .slip-stage:not(.in) .receipt > *, html.motion .slip-stage:not(.in) .stamp { opacity: 0; }
  /* v2.1: tighter. Each line prints, its dotted leader draws left to right, then the value writes in like a ledger. --d is set per line by v2.js. */
  html.motion .slip-stage.in .receipt > * { animation: print .3s var(--ease) var(--d, 0s) both; }
  html.motion .slip-stage.in .ld i { transform-origin: left center; animation: lead .3s steps(10, end) calc(var(--d, 0s) + .06s) both; }
  html.motion .slip-stage.in .ld b { animation: writein .26s steps(8, end) calc(var(--d, 0s) + .28s) both; }
  html.motion .slip-stage.in .rc-why .type { animation: typeon .6s steps(30, end) calc(var(--d, 0s) + .15s) both; }
  html.motion .slip-stage.in .stamp { animation: thunk .36s cubic-bezier(.3,0,.4,1) 1.4s both; }
  html.motion .slip-stage.in .rc-wrap { animation: jolt .24s ease-out 1.66s 1; }
  @keyframes lead { from { transform: translateY(-3px) scaleX(0); } to { transform: translateY(-3px) scaleX(1); } }
  html.motion .browser:not(.in) .act.new { opacity: 0; transform: translateY(-14px); }
  html.motion .browser .act.new { transition: opacity .5s var(--ease) .5s, transform .5s var(--ease) .5s; }
  html.motion .browser .act.new .astamp { opacity: 0; }
  html.motion .browser.in .act.new .astamp { animation: athunk .38s cubic-bezier(.3,0,.4,1) 1.15s both; }
  .rk-app .view.enter { animation: print .26s var(--ease) both; }
}
