/* Saksham Rathi portfolio, v3. A desktop: menu bar, scattered windows, glossy pills, lowercase type. */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --bg: #f5f5f5; --card: #ffffff; --ink: #000000;
  --ink-6: rgba(0, 0, 0, 0.6); --ink-5: rgba(0, 0, 0, 0.5); --ink-3: rgba(0, 0, 0, 0.3); --ink-1: rgba(0, 0, 0, 0.12);
  --blue: #0f7fff; --blue-deep: #1a56d6; --mark: rgba(254, 234, 61, 0.55); --hot: #ff6600;
  --red: #ed1b26; --stickerblue: #1b49ed;
  --font: "Inter", -apple-system, system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace; --hand: "Caveat", "Bradley Hand", cursive;
  --nav: 40px; --wrap: 1120px;
  --win-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22), 0 14px 34px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.1);
  --color-paper: var(--bg); --color-ink: var(--ink); --color-accent: var(--blue); --color-focus: var(--blue); --color-muted: var(--ink-5);
}
html { scroll-padding-top: calc(var(--nav) + 24px); }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 400; text-transform: lowercase; letter-spacing: -0.01em; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 500; letter-spacing: -0.03em; text-transform: lowercase; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; max-width: 20ch; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; }
.link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.fig { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.note { font-size: 0.8125rem; color: var(--ink-5); max-width: 60ch; }
.skip { position: absolute; left: 12px; top: -6rem; z-index: 900; padding: 8px 14px; background: #000; color: #fff; }
.skip:focus-visible { top: 48px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.container { max-width: var(--wrap); padding-inline: 24px; }
.sec { padding-block: 120px; }
.sec__head { display: grid; justify-items: center; gap: 14px; text-align: center; margin-bottom: 56px; padding-inline: 24px; }
.sec__head h2 { max-width: 22ch; }
.sub { font-size: 1.0625rem; line-height: 1.5; color: var(--ink-5); max-width: min(52ch, 100%); }
.sec__head--light h2, .sec__head--light .sub { color: #fff; }
.sec__head--light .sub { opacity: 0.9; }
.tag { padding: 3px 10px; border: 1px solid var(--ink-3); border-radius: 999px; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-6); background: rgba(255, 255, 255, 0.5); }
.sec__head--light .tag { color: #fff; border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.15); }
.inline-logo { display: inline-block; height: 1.5em; width: auto; vertical-align: -0.4em; margin-inline: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* reveal */
.js [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out), scale 0.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* windows */
.win { position: relative; display: block; background: var(--card); border-radius: 9px; box-shadow: var(--win-shadow); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; background: linear-gradient(#f1f0f1, #d9d8da); border-bottom: 1px solid rgba(0, 0, 0, 0.18); font-size: 0.6875rem; color: var(--ink-5); letter-spacing: 0; }
.win__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25); flex-shrink: 0; }
.win__bar > i:nth-child(2) { background: #febc2e; } .win__bar > i:nth-child(3) { background: #28c840; }
.win__bar > span { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 20px; }
.win__bar > b { margin-left: auto; font-weight: 400; color: var(--ink-3); line-height: 1; }
.win__bar > span + b { margin-left: 0; }
.win__bar--blue { background: linear-gradient(#9cc7ff, #4f9cf7); color: #fff; }
.win__bar--notes { background: linear-gradient(#f7edc0, #ecdc94); }
.win__bar--dark { background: #2a2a2a; border-bottom-color: #000; color: rgba(255, 255, 255, 0.6); }
.cap { display: block; margin-top: 8px; font-size: 0.75rem; color: var(--ink-5); text-align: center; letter-spacing: 0; }

/* glossy pills */
.aqua, .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 22px; border: 1px solid rgba(0, 0, 0, 0.38); border-radius: 999px; background: linear-gradient(#ffffff 0%, #ececec 48%, #d6d6d6 52%, #efefef 100%); box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(0, 0, 0, 0.22); color: #000; font: 500 1.0625rem/1 var(--font); letter-spacing: -0.02em; text-decoration: none; text-transform: lowercase; white-space: nowrap; cursor: pointer; transition: transform 120ms var(--ease-out), filter 120ms var(--ease-out); }
.aqua::before, .btn::before { content: ""; position: absolute; left: 8px; right: 8px; top: 2px; height: 45%; border-radius: 999px; background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.05)); pointer-events: none; }
.aqua--blue, .btn--ink, .btn--hot { border-color: var(--blue-deep); background: linear-gradient(#b9dcff 0%, #5eaaff 48%, #2f86fb 52%, #86c2ff 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 6px rgba(26, 86, 214, 0.45); }
.aqua--s { min-height: 34px; padding: 0 16px; font-size: 0.875rem; }
.aqua:hover, .btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.aqua:active, .btn:active { transform: translateY(1px); filter: brightness(0.94); }

/* chat bubble */
.bubble { position: relative; width: fit-content; max-width: 22ch; padding: 10px 16px; border: 1px solid #2a63c9; border-radius: 20px; background: linear-gradient(#d4e9ff 0%, #8fc3fd 55%, #6aaefb 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 3px 8px rgba(26, 86, 214, 0.25); font-size: 1.375rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: #000 !important; }
.bubble::after { content: ""; position: absolute; right: 14px; bottom: -7px; width: 14px; height: 14px; background: #6aaefb; border-right: 1px solid #2a63c9; border-bottom: 1px solid #2a63c9; border-bottom-right-radius: 4px; transform: skewX(28deg) rotate(8deg); }

/* folders */
.folder { position: relative; display: block; width: 3.4em; height: 2.6em; margin-top: 0.4em; border-radius: 0.3em; background: linear-gradient(#9dd6ff, #58b0f3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.25); }
.folder::before { content: ""; position: absolute; left: 0; top: -0.36em; width: 42%; height: 0.6em; border-radius: 0.25em 0.3em 0 0; background: #58b0f3; }
.folder--s { display: inline-block; font-size: 6px; vertical-align: -1px; margin-right: 8px; }

/* menu bar */
.menubar { position: sticky; top: 0; z-index: var(--z-sticky-nav); display: flex; align-items: center; gap: 22px; height: var(--nav); padding: 0 20px; background: rgba(245, 245, 245, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 0.875rem; }
.menubar__me { font-weight: 600; text-decoration: none; white-space: nowrap; }
.slab__nav { display: flex; gap: 16px; }
.slab__nav a { color: var(--ink-5); text-decoration: none; white-space: nowrap; }
.slab__nav a:hover, .slab__nav a.is-here { color: var(--ink); }
.menubar__glyph { position: absolute; left: 50%; transform: translateX(-50%); font-size: 1rem; letter-spacing: 0.1em; }
.menubar__right { display: flex; align-items: center; gap: 14px; margin-left: auto; color: var(--ink-3); white-space: nowrap; }
.menubar__batt { width: 20px; height: 10px; border: 1px solid var(--ink-3); border-radius: 3px; padding: 1px; }
.menubar__batt i { display: block; width: 60%; height: 100%; background: var(--ink-3); border-radius: 1px; }
.menubar__clock { font-variant-numeric: tabular-nums; text-transform: uppercase; }
.menubar__cta { color: var(--blue); text-decoration: none; font-weight: 500; }
.menubar__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* the desktop */
.hero { position: relative; overflow: clip; padding: 0 24px 96px; background-image: radial-gradient(var(--ink-1) 1px, transparent 1.2px); background-size: 26px 26px; }
.stage { position: absolute; inset: 0 0 auto 0; height: min(calc(100dvh - var(--nav)), 820px); min-height: 640px; font-size: clamp(10px, 1.05vw, 16px); perspective: 1400px; z-index: 1; }
.stage__tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.thing { position: absolute; left: var(--l); top: var(--t); margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; text-decoration: none; text-transform: lowercase; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transform: translate3d(calc(var(--x, 0px) + var(--mx, 0) * var(--d) * -3px), calc(var(--y, 0px) + var(--sc, 0px) + var(--my, 0) * var(--d) * -2.4px), calc(var(--d) * 8px + var(--z, 0px))) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) rotate(var(--r)) scale(var(--s, 1));
  transition: transform 220ms var(--ease-out), opacity 420ms var(--ease-out); }
.thing.win { width: var(--w); overflow: visible; background: none; box-shadow: none; }
.thing.win > .win__bar { border-radius: 9px 9px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22); }
.thing.win > img, .thing.win > svg { display: block; width: 100%; height: auto; background: #fff; border: 5px solid #e4e3e5; border-top: 0; border-radius: 0 0 9px 9px; box-shadow: var(--win-shadow); }
.thing.win > svg { padding: 10px 8px 4px; }
button.thing:hover, a.thing:hover, .thing.is-poked { --s: 1.05; --z: 34px; }
.thing.is-held { cursor: grabbing; transition: none; --z: 80px; --s: 1.06; }
.thing.is-glide { transition: none; }
.thing img { pointer-events: none; }
.js .stage:not(.is-dealt) .thing { opacity: 0; transform: translate3d(0, 50px, 0) rotate(0deg) scale(0.8); }
.js .stage.is-dealing .thing { transition-delay: calc(var(--d) * 80ms); transition-duration: 0.6s; }
.sticker { width: 9.4em; color: #000; background: #fff; border-radius: 0.5em; overflow: hidden; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); text-align: center; }
.sticker span { display: block; padding: 0.35em 0 0.3em; background: var(--stickerblue); color: #fff; font-weight: 700; font-size: 1.05em; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; }
.sticker small { font-size: 0.5em; font-weight: 500; text-transform: lowercase; letter-spacing: 0; }
.sticker b { display: block; padding: 0.05em 0 0.25em; font-family: var(--hand); font-weight: 600; font-size: 2em; line-height: 1.1; letter-spacing: 0; border-bottom: 0.35em solid var(--stickerblue); }
.sticker--red span { background: var(--red); } .sticker--red b { border-bottom-color: var(--red); font-size: 1.7em; }
.kao { font-size: 1.25em; font-weight: 500; white-space: nowrap; letter-spacing: 0; }
.kao--hint { font-size: 0.8em; font-weight: 400; color: var(--ink-5); }
.dock { display: grid; justify-items: center; width: 7.4em; }
.dock .cap { font-size: 0.78em; margin-top: 0.5em; line-height: 1.2; }
.dock .folder { font-size: 1.15em; }
.dock__tile { display: grid; place-items: center; width: 4em; height: 4em; border-radius: 0.95em; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14), 0 4px 10px rgba(0, 0, 0, 0.2); }
.dock__tile img { width: 100%; height: 100%; object-fit: cover; }
.dock__tile--dark { background: #17140f; } .dock__tile--dark img { width: 82%; height: auto; object-fit: contain; }
.dock__tile--round img { width: 86%; height: 86%; object-fit: contain; }
.dock__tile--s { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.spikes { display: block; width: 100%; height: auto; overflow: visible; }
.spikes circle { fill: #000; transition: opacity 220ms var(--ease-out); }
.spikes circle.is-hot { fill: var(--hot); }
.spikes circle.is-dim { opacity: 0.14; }
.spikes circle.is-on { fill: var(--blue); stroke: #000; stroke-width: 2; }
.spikes--full circle { cursor: pointer; }
.spikes line { stroke: var(--ink-1); }
.spikes text { font-family: var(--mono); font-size: 12px; fill: var(--ink-5); }
.js .spikes--mini circle { opacity: 0; transform: translateY(-14px); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(var(--k) * 4ms + 700ms); }
.js .is-dealt .spikes--mini circle { opacity: 1; transform: none; }

.hero__copy { position: relative; z-index: 3; display: grid; justify-items: center; text-align: center; padding-top: clamp(170px, 27vh, 250px); pointer-events: none; }
.hero__copy > * { pointer-events: auto; }
h1 { font-size: clamp(3.25rem, 7.2vw, 6.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; max-width: none; }
.hero__sub { margin-top: 6px; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); letter-spacing: -0.02em; max-width: none; }
.hero__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.hero__acts > span { display: grid; justify-items: center; gap: 10px; }
.hero__acts small { font-size: 0.75rem; color: var(--ink-5); letter-spacing: 0; }

.hero__hint { margin-top: 26px; font-size: 0.75rem; color: var(--ink-3); max-width: none; }
.fig, [data-count], dd, td, .okc__cap, .notes__pad, .finder__win, .flow__sum, .faq p, .mkt__cards p, .kcard p, .sub, .reach__hook { text-transform: none; }
.finder { position: relative; z-index: 2; color: #000; width: min(100%, 960px); margin: 72px auto 0; scroll-margin-top: calc(var(--nav) + 24px); }
.finder__list { list-style: none; margin: 0; padding: 0; }
.finder__list button { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 20px; align-items: center; width: 100%; padding: 14px 18px; border: 0; border-top: 1px solid var(--ink-1); background: none; font: inherit; color: inherit; text-align: left; text-transform: lowercase; cursor: pointer; }
.finder__list li:first-child button { border-top: 0; }
.finder__list button:hover, .finder__list button:focus-visible { background: #0a64dc; color: #fff; }
.finder__list button:is(:hover, :focus-visible) :is(.finder__win, .finder__role i) { color: rgba(255, 255, 255, 0.85); }
.finder__name { display: flex; align-items: center; gap: 10px; }
.finder__name b { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.finder__role { display: grid; font-size: 0.875rem; line-height: 1.35; }
.finder__role i { font-style: normal; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-5); letter-spacing: 0; }
.finder__win { font-size: 0.9375rem; color: var(--ink-6); }

/* loan flow */
.flow { border-top: 1px dashed var(--ink-3); }
.flow__pin { padding-block: 110px; }
.flow.is-pinned { height: 400vh; }
.flow.is-pinned .flow__pin { position: sticky; top: var(--nav); height: calc(100dvh - var(--nav)); padding-block: 20px; display: grid; align-items: center; overflow: clip; }
.flow__in { display: grid; gap: 28px; }
.flow .sec__head { margin-bottom: 0; }
.flow.is-pinned .sec__head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.flow__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.flow__panels { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.flow__panels > li { display: grid; justify-items: end; text-align: right; }
.flow__panels h3 { margin-top: 28px; font-size: 1.25rem; font-weight: 600; }
.flow__panels li > p:not(.bubble) { margin-top: 8px; font-size: 1rem; line-height: 1.5; color: var(--ink-5); max-width: 30ch; }
.flow.is-pinned .flow__panels { display: block; position: relative; min-height: min(44vh, 20rem); }
.flow.is-pinned .flow__panels > li { position: absolute; inset: 0; align-content: center; opacity: 0; transform: translateY(36px); pointer-events: none; transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out); }
.flow.is-pinned .flow__panels > li.is-past { transform: translateY(-36px); }
.flow.is-pinned .flow__panels > li.is-active { opacity: 1; transform: none; pointer-events: auto; }
.flow__logos { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 18px; list-style: none; margin: 16px 0 0; padding: 0; }
.flow__logos img { height: 26px; width: auto; }
.meter { display: grid; gap: 6px; margin-top: 16px; width: min(100%, 20rem); }
.meter__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.meter__row i { display: block; height: 14px; border-radius: 999px; background: linear-gradient(#f4f4f4, #cfcfcf); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); transform-origin: left; transform: scaleX(var(--w)); transition: transform 0.9s var(--ease-out) 0.15s; }
.meter__row--hot i { background: linear-gradient(#b9dcff, #2f86fb); box-shadow: inset 0 0 0 1px var(--blue-deep); }
.flow.is-pinned li:not(.is-active) .meter__row i { transform: scaleX(0.02); }
.flow__desk { display: grid; grid-template-columns: minmax(0, 1fr); perspective: 1200px; }
.flow__sheet { width: min(100%, 30rem); transform: rotateY(calc(-14deg + var(--p, 5) * 2.8deg)) rotateX(calc(6deg - var(--p, 5) * 1.2deg)); transition: transform 0.6s var(--ease-out); }
.flow__pad { padding: 8px 24px 24px; }
.flow__lines { list-style: none; margin: 0; padding: 0; }
.flow__lines li { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--ink-1); transition: opacity 0.4s var(--ease-out); }
.flow__lines b { font-size: 0.8125rem; font-weight: 500; color: var(--blue); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.flow.is-pinned .flow__lines li:not(.is-done) { opacity: 0.3; }
.flow.is-pinned .flow__lines li:not(.is-done) b { opacity: 0; transform: translateX(10px); }
.flow__result { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.stamp { display: inline-block; flex-shrink: 0; padding: 2px 12px; border: 3px solid currentColor; border-radius: 8px; color: var(--red); font-family: var(--hand); font-weight: 600; font-size: 2rem; line-height: 1.1; letter-spacing: 0; transform: rotate(-7deg); transition: opacity 0.15s linear, transform 0.22s var(--ease-in); }
.flow.is-pinned .flow__desk:not(.is-complete) .stamp { opacity: 0; transform: rotate(-7deg) scale(2.6); }
.flow.is-pinned .flow__desk:not(.is-complete) .flow__sum { opacity: 0.25; }
.rail { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: min(100%, 640px); margin-inline: auto; border-top: 3px solid var(--ink-1); }
.rail__fill { position: absolute; left: 0; top: -3px; width: 100%; height: 3px; background: var(--blue); transform-origin: left; transform: scaleX(var(--f, 1)); }
.rail button { min-height: 40px; padding: 8px 0 0; border: 0; background: none; color: var(--ink-3); font: 500 0.8125rem var(--font); text-align: left; text-transform: lowercase; cursor: pointer; }
.rail button.is-done, .rail button.is-active { color: var(--ink); }
.rail button.is-active { color: var(--blue); }
.flow:not(.is-pinned) .rail { display: none; }

/* sky band */
.sky { position: relative; padding-block: 110px; border-radius: 28px 28px 0 0; overflow: clip; color: #000;
  background:
    radial-gradient(38% 30% at 18% 22%, rgba(255, 255, 255, 0.85), transparent 70%),
    radial-gradient(30% 22% at 72% 12%, rgba(255, 255, 255, 0.7), transparent 70%),
    radial-gradient(46% 30% at 86% 62%, rgba(255, 255, 255, 0.8), transparent 72%),
    radial-gradient(40% 26% at 30% 82%, rgba(255, 255, 255, 0.75), transparent 72%),
    radial-gradient(26% 18% at 52% 46%, rgba(255, 255, 255, 0.45), transparent 70%),
    linear-gradient(#1f63c9, #4d94ea 55%, #8fc0f5); }
.sky__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: stretch; }
.win--glass { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.okc__pad { padding: 24px 28px 28px; }
.okc__lab { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.okc__lab img { width: 32px; height: 32px; border-radius: 8px; }
.okc__fig { margin-top: 8px; font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.okc__blocks { display: flex; gap: 8px; margin-top: 20px; }
.okc__blocks i { flex: 1; max-width: 5rem; height: 40px; border-radius: 6px; background: linear-gradient(#b9dcff, #2f86fb); box-shadow: inset 0 0 0 1px var(--blue-deep), inset 0 1px 0 1px rgba(255, 255, 255, 0.6); transform-origin: bottom; transform: scaleY(0.12); transition: transform 0.5s var(--ease-out); transition-delay: calc(var(--i) * 300ms + 200ms); }
.okc__blocks i:nth-child(1) { background: linear-gradient(#555, #000); box-shadow: none; transform: none; --i: 0; }
.okc__blocks i:nth-child(2) { --i: 1; } .okc__blocks i:nth-child(3) { --i: 2; } .okc__blocks i:nth-child(4) { --i: 3; } .okc__blocks i:nth-child(5) { --i: 4; }
.is-live .okc__blocks i, html:not(.js) .okc__blocks i { transform: none; }
.okc__cap { margin-top: 12px; font-size: 0.875rem; color: var(--ink-6); }
.okc__ledger { margin: 0; padding: 6px 24px 14px; }
.okc__ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-top: 1px solid var(--ink-1); }
.okc__ledger div:first-child { border-top: 0; }
.okc__ledger dd { margin: 0; font-size: 1.25rem; font-weight: 500; }

/* marketing */
.mkt { padding-top: 120px; }
.marquee { width: 100vw; max-width: 100vw; overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(90deg, transparent, #000 32%, #000 68%, transparent); }
.ticker__run { display: flex; width: max-content; transform: translateX(var(--tx, 0px)); will-change: transform; }
.marquee span { padding-inline: 0.35em; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; white-space: nowrap; }
.mkt__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 56px; }
.mkt__stats .win { text-align: center; padding-bottom: 22px; }
.mkt__stats dt { margin-top: 20px; font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.mkt__stats dd { margin: 8px 0 0; font-size: 0.875rem; color: var(--ink-5); }
.reach__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--ink-3); border-radius: 999px; background: rgba(255, 255, 255, 0.6); }
.seg button { min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--ink-6); font: 500 0.875rem var(--font); text-transform: lowercase; cursor: pointer; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: linear-gradient(#fff, #e2e2e2); color: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2); }
.reach__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.reach__list li { display: grid; gap: 12px; padding-bottom: 16px; }
.reach__list li:nth-child(6n+1) .win__bar { background: linear-gradient(#d9f2dc, #b9e2c0); }
.reach__list li:nth-child(6n+2) .win__bar { background: linear-gradient(#dbe6fb, #bccdf3); }
.reach__list li:nth-child(6n+3) .win__bar { background: linear-gradient(#fbdcdc, #f2bcbc); }
.reach__list li:nth-child(6n+4) .win__bar { background: linear-gradient(#d6f0f1, #b4dfe2); }
.reach__list li:nth-child(6n+5) .win__bar { background: linear-gradient(#fbe6d6, #f3ccb0); }
.reach__list li:nth-child(6n+6) .win__bar { background: linear-gradient(#f6efcf, #ebdfa6); }
.reach__hook { padding: 4px 16px 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; text-transform: none; min-height: 4lh; }
.reach__bar { height: 8px; margin-inline: 16px; border-radius: 999px; background: var(--ink-1); overflow: hidden; }
.reach__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(#8ec4ff, #2f86fb); transform-origin: left; transform: scaleX(0); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--n, 0) * 60ms + 150ms); }
.reach__list.is-in .reach__bar i, html:not(.js) .reach__bar i { transform: scaleX(var(--w)); }
.reach__list b { padding-inline: 16px; font-size: 0.8125rem; font-weight: 400; color: var(--ink-5); }
.reach__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.mkt__cards { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mkt__cards li > div { padding: 20px; }
.mkt__cards li:nth-child(2) { --i: 1; } .mkt__cards li:nth-child(3) { --i: 2; }
.mkt__cards img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.mkt__cards img.round { border-radius: 50%; box-shadow: none; }
.mkt__cards h3 { margin-top: 14px; }
.mkt__cards p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-6); }

/* builds */
.kan { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px; perspective: 1400px; }
.kan__side { display: grid; gap: 28px; align-content: start; }
.kan__col h3 { display: flex; align-items: center; font-size: 0.9375rem; font-weight: 500; margin-bottom: 14px; }
.kan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.kan__col--wide .kan__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kan__col { border-radius: 14px; outline: 2px dashed transparent; outline-offset: 8px; }
.kan__col.is-over { outline-color: var(--blue); }
.js .kcard[data-rise] { transform: translateY(36px) rotate(-1.5deg); }
.js .kcard[data-rise].is-in { transform: none; }
.kcard:nth-child(2) { --i: 1; } .kcard:nth-child(3) { --i: 2; } .kcard:nth-child(4) { --i: 3; }
.kcard__shot { display: block; width: 100%; padding: 0; margin: 0; border: 0; border-bottom: 1px solid var(--ink-1); background: #ddd; cursor: zoom-in; aspect-ratio: 16 / 10; overflow: hidden; }
.kcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: transform 0.5s var(--ease-out); }
.kcard__shot:hover img { transform: scale(1.04); }
.kcard__body { padding: 14px 16px 10px; }
.kcard h4 { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.kcard p { margin-top: 4px; font-size: 0.875rem; line-height: 1.45; color: var(--ink-6); }
.kcard__acts { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 6px; font-size: 0.875rem; font-weight: 500; }
.kcard__acts a, .kcard__acts button { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; text-transform: lowercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.kcard__acts a:hover, .kcard__acts button:hover { text-decoration: underline; }
.kan.is-fine .kcard { cursor: grab; }
.kcard.is-drag, .js .kcard[data-rise].is-drag { z-index: var(--z-dropdown); cursor: grabbing; transition: none; pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 30px 60px rgba(0, 0, 0, 0.3); transform: translate3d(var(--dx, 0px), var(--dy, 0px), 60px) rotateY(var(--ty, 0deg)) rotate(3deg); }
.kan__col--ask { padding: 16px; border: 1px dashed var(--ink-3); background: rgba(255, 255, 255, 0.5); min-height: 14rem; display: grid; align-content: start; gap: 14px; }
.kan__col--ask h3 { margin: 0; }
.kan__col--ask .kcard__shot, .kan__col--ask .kcard p, .kan__col--ask .kcard a { display: none; }
.kan__empty { font-size: 0.875rem; color: var(--ink-5); }
.kan__col--ask:has(.kcard) .kan__empty { display: none; }
.kan__col--ask:not(:has(.kcard)) .kan__send { display: none; }
html:not(.js) [data-ask], html:not(.js) .kan__col--ask { display: none; }

/* game */
.game { background: #111; color: #fff; border-radius: 28px; margin-inline: 12px; }
.game__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.game__head { display: grid; justify-items: start; gap: 14px; }
.game .tag { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: none; }
.game .sub { color: rgba(255, 255, 255, 0.65); }
.game__dots { display: flex; gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
.game__dots li { width: 28px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); }
.game__dots li.is-right { background: #28c840; } .game__dots li.is-wrong { background: #ff5f57; }
.game__dots li.is-now { background: #fff; }
.game__score { display: grid; gap: 4px; font-weight: 500; min-height: 3lh; }
.game__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plate { aspect-ratio: 4 / 5; max-height: 26rem; width: 100%; padding: 0; border: 0; background: none; color: #000; font: inherit; text-transform: lowercase; perspective: 1100px; cursor: pointer; border-radius: 9px; }
.plate__in { position: relative; display: block; height: 100%; transform-style: preserve-3d; transition: transform 0.6s var(--ease-in-out); }
.plate:hover .plate__in { transform: rotateY(-10deg) rotateX(3deg) translateY(-6px); }
.plate:nth-child(2):hover .plate__in { transform: rotateY(10deg) rotateX(3deg) translateY(-6px); }
.plate.is-flipped .plate__in, .plate.is-flipped:hover .plate__in { transform: rotateY(180deg); }
.plate__face { position: absolute; inset: 0; display: grid; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.plate__front { grid-template-rows: auto minmax(0, 1fr) auto; text-align: left; }
.plate__pic { align-self: center; justify-self: center; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; transition: transform 0.4s var(--ease-out); }
.plate:hover .plate__pic { transform: scale(1.12) rotate(-6deg); }
.plate__front > b { padding: 0 18px 18px; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.plate__back { transform: rotateY(180deg); grid-template-rows: auto; align-content: start; justify-items: center; gap: 8px; text-align: center; }
.plate__back > .win__bar { width: 100%; margin-bottom: 10%; }
.plate__back > i { font-style: normal; font-weight: 500; padding-inline: 16px; }
.plate__num { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.plate__back > span:not(.win__bar):not(.plate__bar) { font-size: 0.875rem; color: var(--ink-5); }
.plate__bar { display: block; width: calc(100% - 40px); height: 10px; border-radius: 999px; background: var(--ink-1); overflow: hidden; margin-top: 8px; }
.plate__bar i { display: block; height: 100%; border-radius: 999px; background: #000; transform-origin: left; transform: scaleX(0); transition: transform 0.8s var(--ease-out) 0.45s; }
.plate.is-flipped .plate__bar i { transform: scaleX(var(--w, 0)); }
.plate.is-top .plate__bar i { background: linear-gradient(#8ec4ff, #2f86fb); }
.plate__back em { font-style: normal; font-weight: 500; min-height: 1lh; }

/* teardown */
.tabs { display: flex; width: fit-content; margin: 0 auto 40px; padding: 3px; border: 1px solid var(--ink-3); border-radius: 999px; background: rgba(255, 255, 255, 0.6); }
.tabs button { min-height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-6); font: 500 0.9375rem var(--font); text-transform: lowercase; white-space: nowrap; cursor: pointer; }
.tabs button[aria-selected="true"] { background: linear-gradient(#fff, #e2e2e2); color: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2); }
.tear__panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.tear__panel:not([hidden]) { animation: panel-in 0.5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } }
.tear__pad { padding: 20px 24px 20px; }
.tear__claim { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.tear table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.tear th, .tear td { height: 52px; padding: 0 12px 0 0; border-bottom: 1px solid var(--ink-1); text-align: left; font-weight: 400; }
.tear thead th { font-size: 0.8125rem; color: var(--ink-5); }
.tear thead img { height: 34px; width: auto; }
.tear thead img.nowlogo { height: 22px; }
.tear tbody th { font-weight: 500; }
.tear .total th, .tear .total td { font-weight: 600; font-size: 1.25rem; border-bottom: 0; }
.tear__proof { display: grid; gap: 24px; }
.tear__proof figure { margin: 0; }
.tear__proof img { width: 100%; height: auto; border-radius: 9px; box-shadow: var(--win-shadow); background: #fff; }
.tear__proof img { transition: transform 0.3s var(--ease-out); }
.tear__proof figure:nth-child(1) img { transform: rotate(-1.4deg); } .tear__proof figure:nth-child(2) img { transform: rotate(1.1deg); }
.tear__proof figure:hover img { transform: scale(1.03); }
.tear__proof figcaption { margin-top: 10px; font-size: 0.75rem; color: var(--ink-5); text-align: center; }
.tear__proof--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.tear__when { margin: 36px auto 0; text-align: center; }

/* about */
.about { padding-bottom: 120px; }
.about__desk { position: relative; display: grid; justify-items: center; padding-inline: 24px; }
.notes { width: min(100%, 560px); z-index: 2; }
.notes__pad { padding: 22px 28px 26px; }
.notes__pad p { margin-top: 14px; font-size: 1.125rem; line-height: 1.5; color: var(--ink-6); max-width: none; }
.notes__pad p:first-child { margin-top: 0; }
mark { background: var(--mark); color: #000; padding: 0 2px; border-radius: 2px; }
.notes__sign { display: flex; align-items: center; justify-content: space-between; margin-top: 28px !important; }
.notes__sign span { display: grid; font-size: 0.9375rem; color: #000; line-height: 1.3; }
.notes__sign small { color: var(--ink-5); }
.notes__sign b { font-family: var(--hand); font-size: 2.4rem; font-weight: 600; color: #000; letter-spacing: 0; transform: rotate(-4deg); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.folderstack { position: absolute; top: 4%; width: 15em; height: 26em; font-size: clamp(8px, 1vw, 14px); pointer-events: none; }
.folderstack--l { left: max(2%, calc(50% - 620px)); } .folderstack--r { right: max(2%, calc(50% - 620px)); }
.folderstack i { position: absolute; width: 4.2em; height: 3.2em; border-radius: 0.35em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.2); }
.folderstack i::before { content: ""; position: absolute; left: 0; top: -0.4em; width: 42%; height: 0.7em; border-radius: 0.3em 0.35em 0 0; background: inherit; filter: brightness(0.9); }
.about__more { display: grid; gap: 40px; justify-items: center; margin-top: 88px; }
.term { width: min(100%, 760px); background: #1a1a1a; color: #f2f2f2; }
.term__table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.875rem; letter-spacing: 0; }
.term__table caption { padding: 18px 22px 8px; text-align: left; font-size: 1rem; color: #fff; }
.term__table th, .term__table td { padding: 9px 22px 9px 0; text-align: left; font-weight: 400; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.term__table th:first-child { padding-left: 22px; }
.term__table thead th { color: rgba(255, 255, 255, 0.45); border-top: 0; }
.term__table td:nth-child(3) { color: #6fd08a; }
.term__table tbody tr:last-child > * { padding-bottom: 20px; }
.faq { width: min(100%, 640px); display: grid; gap: 8px; }
.faq details { background: #fff; border-radius: 10px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.375rem; font-weight: 400; line-height: 1; transition: transform 220ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--ink-6); line-height: 1.5; max-width: none; }

/* footer */
.foot { padding-block: 40px 28px; }
.foot__cta { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 72px 24px; border-top: 1px dashed var(--ink-3); }
.foot__cta h2 { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -0.045em; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; font-size: 0.875rem; }
.foot__cols div { display: grid; gap: 10px; align-content: start; }
.foot__cols b { font-weight: 500; }
.foot__cols a, .foot__cols span { color: var(--ink-5); text-decoration: none; line-height: 1.4; }
.foot__cols a:hover { color: var(--ink); }
.foot__name { display: grid; grid-template-columns: repeat(var(--cols, 41), minmax(0, 1fr)); gap: 2px; margin-top: 56px; font-size: clamp(3px, 0.62vw, 7.4px); }
.foot__name i { display: block; aspect-ratio: 1.3; }
.foot__name i.on { position: relative; border-radius: 0.4em; background: linear-gradient(#9dd6ff, #58b0f3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 1px rgba(0, 0, 0, 0.2); transition: transform 0.4s var(--ease-out); transition-delay: calc(var(--n) * 6ms); }
.foot__name i.on::before { content: ""; position: absolute; left: 0; top: -18%; width: 42%; height: 30%; border-radius: 0.3em 0.3em 0 0; background: #58b0f3; }
.js .foot__name:not(.is-in) i.on { transform: scale(0); }
.foot__fine { margin: 32px auto 0; text-align: center; font-size: 0.75rem; color: var(--ink-5); max-width: none; }

/* files that open */
.file { width: min(60rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 12px; background: #fff; color: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 40px 90px rgba(0, 0, 0, 0.45); overflow: auto; text-transform: none; letter-spacing: -0.01em; }
.file::backdrop { background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.file__bar { position: sticky; top: 0; z-index: 2; height: 32px; }
.file__bar > i { width: 12px; height: 12px; }
.file__x { margin-left: auto; min-height: 24px; padding: 0 10px; border: 1px solid var(--ink-3); border-radius: 999px; background: linear-gradient(#fff, #e2e2e2); font: 500 0.75rem var(--font); cursor: pointer; }
.file__bar > span + .file__x { margin-left: 0; }
.file__body { padding: 36px 40px 40px; display: grid; gap: 20px; justify-items: start; }
.file__body h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; text-transform: none; }
.file__logo { height: 40px; width: auto; }
.file__logo--icon { height: 60px; width: 60px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); }
.file__logo--round { border-radius: 50%; box-shadow: none; height: 80px; width: 80px; }
.file__role { font-size: 1.125rem; line-height: 1.45; color: var(--ink-6); max-width: 54ch; }
.file__facts { margin: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.file__facts div { padding: 18px 20px; background: var(--bg); border-radius: 12px; }
.file__facts dt { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.file__facts dt.fig { font-family: var(--font); color: var(--blue); }
.file__facts dd { margin: 6px 0 0; color: var(--ink-6); line-height: 1.4; }
.file__shot, .file__pair figure { margin: 0; width: 100%; }
.file__shot img, .file__pair img { width: 100%; height: auto; border-radius: 9px; box-shadow: var(--win-shadow); }
.file__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; width: 100%; align-items: start; }
.file__pair--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.file__pair figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-5); text-align: center; }
.chartbox { width: 100%; padding: 20px; background: var(--bg); border-radius: 12px; }
.chartbox__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chartbox__cats button { min-height: 32px; padding: 0 12px; border: 1px solid var(--ink-3); border-radius: 999px; background: #fff; font: 500 0.8125rem var(--font); cursor: pointer; }
.chartbox__cats button[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
.chartbox__tip { margin-top: 12px; min-height: 2lh; font-size: 1.0625rem; font-weight: 500; max-width: none; }

/* v3.1: live window buttons */
:where(.win) { transition: scale 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.win__bar > i { position: relative; cursor: pointer; }
.win__bar > i::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 9px/1 var(--font); font-style: normal; color: rgba(0, 0, 0, 0.6); opacity: 0; }
.win__bar > i:nth-child(2)::after { content: "−"; } .win__bar > i:nth-child(3)::after { content: "+"; }
.win__bar:hover > i::after { opacity: 1; }
.plate .win__bar > i { cursor: inherit; } .plate .win__bar > i::after { content: none; }
.win.is-shade { padding-bottom: 0 !important; min-height: 0 !important; align-self: start; }
.win.is-shade > :not(.win__bar):not(.cap) { display: none !important; }
.win.is-shade > .win__bar { border-bottom: 0; }
.thing.win.is-shade > .win__bar { border-radius: 9px; box-shadow: var(--win-shadow); }
.win.is-zoom { scale: 1.07; z-index: 6; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 40px 80px rgba(0, 0, 0, 0.32); }
.win.is-closed { padding: 0 !important; min-height: 0 !important; background: rgba(255, 255, 255, 0.35); box-shadow: none; outline: 1.5px dashed var(--ink-3); outline-offset: -1px; cursor: pointer; align-self: start; }
.win.is-closed > :not(.win__reopen) { display: none !important; }
.win__reopen { display: grid; justify-items: center; gap: 8px; padding: 16px 12px; font-size: 0.75rem; line-height: 1.3; color: var(--ink-6); text-align: center; text-transform: lowercase; }
.win__reopen::before { content: ""; width: 22px; height: 28px; border-radius: 3px; background: linear-gradient(135deg, transparent 6px, #fff 0); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15); }
.win__reopen b { font-weight: 500; color: var(--blue); }
.file { max-width: none; }
.file.is-full { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }

/* v3.1: banner toys */
.thing.kao, .thing.sticker { cursor: pointer; }
.buddy { position: absolute; left: 0; top: 0; z-index: 400; display: flex; align-items: flex-start; pointer-events: none; opacity: 0; transform: translate(var(--bx, 50vw), var(--by, 300px)); transition: transform 1.3s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.4s var(--ease-out); }
.buddy.is-on { opacity: 1; }
.buddy svg { width: 20px; height: 20px; fill: var(--hot); stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); }
.buddy b { margin: 14px 0 0 -3px; padding: 4px 10px; border-radius: 4px 999px 999px 999px; background: var(--hot); color: #fff; font: 500 0.75rem/1.2 var(--font); letter-spacing: 0; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.wall { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.75rem; color: var(--ink-5); }
.wall button { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px #fff; }
.wall button[data-w="dots"] { background: #d9d9d9; } .wall button[data-w="grid"] { background: #2b6fe0; } .wall button[data-w="night"] { background: #101114; }
.wall button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--blue), inset 0 0 0 2px #fff; }
.hero { transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out); }
.hero[data-wall="grid"] { background-color: #2b6fe0; background-image: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px); border-radius: 0 0 28px 28px; }
.hero[data-wall="night"] { background-color: #101114; background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.2px); border-radius: 0 0 28px 28px; }
.hero[data-wall="grid"], .hero[data-wall="night"] { color: #fff; }
.hero:is([data-wall="grid"], [data-wall="night"]) :is(.cap, .hero__acts small, .hero__hint, .wall) { color: rgba(255, 255, 255, 0.78); }
.hero:is([data-wall="grid"], [data-wall="night"]) .win__reopen { color: #fff; }
.hero:is([data-wall="grid"], [data-wall="night"]) .win.is-closed { outline-color: rgba(255, 255, 255, 0.6); }
.hero:is([data-wall="grid"], [data-wall="night"]) .dock__tile--dark { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3); }
.hero:is([data-wall="grid"], [data-wall="night"]) + .flow { border-top-color: transparent; }

/* v3.1: finder chrome */
.finder__tool { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--ink-1); background: #fbfbfb; font-size: 0.8125rem; color: var(--ink-5); }
.finder__tool b { color: #000; font-weight: 600; }
.finder__nav { font-size: 1.25rem; letter-spacing: 0.35em; color: var(--ink-3); }
.finder__right { margin-left: auto; font-size: 0.75rem; }
.finder__main { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.finder__side { display: grid; align-content: start; gap: 1px; padding: 10px; background: #f0f0f2; border-right: 1px solid var(--ink-1); font-size: 0.8125rem; }
.finder__side b { margin: 4px 0 4px 6px; font-size: 0.6875rem; font-weight: 600; color: var(--ink-5); }
.finder__side a { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; text-decoration: none; }
.finder__side a:hover { background: rgba(0, 0, 0, 0.08); }
.finder__side i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25); }
.finder__status { padding: 7px 14px; border-top: 1px solid var(--ink-1); background: #fbfbfb; font-size: 0.6875rem; color: var(--ink-5); text-align: center; max-width: none; }

/* v3.1: dock */
.macdock { position: fixed; left: 50%; bottom: 10px; z-index: 700; display: flex; align-items: flex-end; gap: 7px; padding: 7px 9px; border-radius: 19px; background: rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14), 0 14px 34px rgba(0, 0, 0, 0.22); transform: translate(-50%, 150%); transition: transform 0.45s var(--ease-out); }
.macdock.is-up { transform: translate(-50%, 0); }
.macdock__item { position: relative; display: block; width: calc(44px * var(--m, 1)); height: calc(44px * var(--m, 1)); padding: 0; border: 0; background: none; text-decoration: none; cursor: pointer; transition: width 90ms linear, height 90ms linear; }
.di { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 24%; background: linear-gradient(#fff, #e4e4e4); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(0, 0, 0, 0.16), 0 2px 5px rgba(0, 0, 0, 0.2); overflow: hidden; font-size: calc(23px * var(--m, 1)); line-height: 1; }
.di img { width: 100%; height: 100%; object-fit: cover; }
.di--dark { background: linear-gradient(#2a2a2a, #111); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2); } .di--dark img { width: 82%; height: auto; object-fit: contain; }
.di--blue { background: linear-gradient(#9cc9ff, #2f86fb); } .di--yellow { background: linear-gradient(#ffe98a, #f8cb46); } .di--notes { background: linear-gradient(#fff6c9, #f1e08f); }
.macdock__item::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 12px); translate: -50% 4px; padding: 4px 10px; border-radius: 7px; background: rgba(28, 28, 30, 0.92); color: #fff; font-size: 0.6875rem; letter-spacing: 0; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s linear, translate 0.15s var(--ease-out); }
.macdock__item:hover::after, .macdock__item:focus-visible::after { opacity: 1; translate: -50% 0; }
.macdock__item.is-here::before { content: ""; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(0, 0, 0, 0.7); }
.macdock__sep { width: 1px; height: 40px; margin-inline: 3px; background: var(--ink-1); }
.macdock__badge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font: 600 0.625rem/17px var(--font); text-align: center; box-shadow: 0 0 0 1.5px #fff; }
.macdock__badge[hidden] { display: none; }

/* v3.1: okcredit widgets */
.okc__widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wdg { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 6px; padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 12px 28px rgba(10, 40, 100, 0.28); transition: transform 0.3s var(--ease-out); }
.wdg:hover { transform: translateY(-5px) rotate(-1.2deg); } .wdg:nth-child(even):hover { transform: translateY(-5px) rotate(1.2deg); }
.wdg--wide { grid-column: 1 / -1; }
.wdg__lab { font-size: 0.75rem; font-weight: 600; letter-spacing: 0; color: var(--c); max-width: none; }
.wdg__num { font-size: clamp(1.875rem, 3.2vw, 2.625rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; text-transform: none; }
.sky__grid > .win { display: flex; flex-direction: column; }
.sky__grid .okc__pad { flex: 1; display: grid; align-content: center; }
.sky__grid .okc__blocks i { height: 56px; }
.wdg__foot { text-transform: none; font-size: 0.75rem; color: var(--ink-5); max-width: none; }
.wdg__viz { align-self: end; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; min-height: 48px; margin-block: 6px 2px; }
.wdg__viz i { font-style: normal; }
.wdg__bars i { flex: 1; display: grid; align-items: end; justify-items: center; height: calc(var(--h) * 48px); padding-bottom: 3px; border-radius: 7px 7px 3px 3px; background: #d5d5d8; font-size: 0.625rem; color: var(--ink-6); transform-origin: bottom; transform: scaleY(0); transition: transform 0.7s var(--ease-out) var(--dl, 0s); }
.wdg__bars i { min-height: 16px; }
.wdg__bars i:last-child { background: var(--c); color: #fff; }
.wdg.is-live .wdg__bars i { transform: none; }
.wdg__dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--c); opacity: 0.16; transform: scale(0.6); transition: opacity 0.3s linear, transform 0.4s var(--ease-out); transition-delay: calc(var(--n) * 70ms + 200ms); }
.wdg.is-live .wdg__dots i { opacity: 1; transform: none; }
.wdg__ticks i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--ink-1); color: #fff; font-size: 0.6875rem; font-weight: 700; transition: background-color 0.3s linear; transition-delay: calc(var(--n) * 110ms + 200ms); }
.wdg__ticks i::before { content: "✓"; }
.wdg.is-live .wdg__ticks i { background: var(--c); }
.wdg__drain { flex-wrap: nowrap; align-items: center; height: 14px; min-height: 0; margin-top: 26px; border-radius: 999px; background: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.14) 0 3px, transparent 3px 7px); box-shadow: inset 0 0 0 1px var(--ink-1); }
.wdg__drain i { width: 100%; height: 100%; border-radius: 999px; background: var(--c); transform-origin: left; transition: transform 1.1s var(--ease-out) 0.3s; }
.wdg.is-live .wdg__drain i { transform: scaleX(0.82); }
.wdg__coins i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe89a, #f1b92c 70%); box-shadow: inset 0 0 0 1.5px #b9860a, 0 1px 2px rgba(0, 0, 0, 0.2); color: #8a6100; font-size: 0.75rem; font-weight: 700; transform: translateY(-14px) scale(0); opacity: 0; transition: transform 0.45s var(--ease-out), opacity 0.2s linear; transition-delay: calc(var(--n) * 90ms + 200ms); }
.wdg__coins i::before { content: "₹"; }
.wdg.is-live .wdg__coins i { transform: none; opacity: 1; }
html:not(.js) .wdg__viz i { transform: none; opacity: 1; }

/* v3.1: marketing post windows */
.reach__list li { rotate: var(--rot, 0deg); transition: rotate 0.3s var(--ease-out), translate 0.3s var(--ease-out), scale 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.reach__list li:not(.is-closed):not(.is-zoom):hover { rotate: 0deg; translate: 0 -6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 24px 44px rgba(0, 0, 0, 0.2); }

/* v3.1: teardown */
.bill { display: grid; gap: 10px; margin: 20px 0 8px; }
.bill__row { display: grid; grid-template-columns: 78px minmax(0, 1fr) 44px; align-items: center; gap: 12px; }
.bill__row > img { height: 30px; width: auto; max-width: 78px; object-fit: contain; object-position: left; }
.bill__row > img.nowlogo { height: 18px; }
.bill__row > b { font-size: 0.9375rem; font-weight: 600; }
.bill__bar { display: flex; width: calc(var(--t) / 84 * 100%); height: 36px; border-radius: 9px; overflow: hidden; }
.bill__bar i { flex: var(--v) 0 0; min-width: 0; display: grid; place-items: center; background: var(--c); color: #fff; font: 500 0.75rem var(--mono); font-style: normal; clip-path: inset(0 100% 0 0); transition: clip-path 0.5s var(--ease-out) calc(var(--n) * 0.4s + 0.2s), opacity 0.2s linear; cursor: default; }
.bill.is-live .bill__bar i { clip-path: inset(0); }
[data-k="milk"] { --c: #111; } [data-k="delivery"] { --c: var(--blue); } [data-k="handling"] { --c: #f08a00; } [data-k="cart"] { --c: var(--red); }
.bill.is-dim .bill__bar i:not(.is-on) { opacity: 0.25; }
.bill__tip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; min-height: 1lh; font-size: 0.8125rem; color: var(--ink-6); max-width: none; text-transform: none; }
.bill__again { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; text-transform: lowercase; cursor: pointer; }
.bill__again:hover { text-decoration: underline; }
.tear tbody tr[data-k] th::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 3px; background: var(--c); }
.tear tr.is-on > * { background: #e9f2ff; }
.gap { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--ink-1); font-size: 0.75rem; color: var(--ink-6); white-space: nowrap; }
.gap--on { background: #d9f2dc; color: #14692f; font-family: var(--mono); }
.tear__proof .phone { display: grid; }
.phone__screen { display: grid; place-items: center; aspect-ratio: 9 / 16; padding: 12px 10px; border: 7px solid #17171a; border-radius: 30px; background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2); overflow: hidden; transition: transform 0.3s var(--ease-out); }
.tear__proof .phone:nth-child(1) .phone__screen { transform: rotate(-2deg); } .tear__proof .phone:nth-child(2) .phone__screen { transform: rotate(2deg); }
.tear__proof .phone:hover .phone__screen { transform: translateY(-6px); }
.phone__screen { position: relative; }
.tear__proof .phone img, .tear__proof .phone:hover img { position: absolute; inset: 12px 10px; width: calc(100% - 20px); height: calc(100% - 24px); object-fit: contain; border-radius: 0; box-shadow: none; background: none; transform: none; }

/* v3.2: pop-up tiles, game icon */
.file__wdgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.file .wdg { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); opacity: 0; translate: 0 18px; transition: transform 0.3s var(--ease-out), opacity 0.4s var(--ease-out), translate 0.5s var(--ease-out); }
.file .wdg:nth-child(2) { transition-delay: 0s, 80ms, 80ms; } .file .wdg:nth-child(3) { transition-delay: 0s, 160ms, 160ms; } .file .wdg:nth-child(4) { transition-delay: 0s, 240ms, 240ms; }
.file .wdg.is-live { opacity: 1; translate: 0 0; }
.file .wdg__num { font-size: clamp(2rem, 4vw, 3rem); }
.file .wdg__foot { font-size: 0.875rem; line-height: 1.4; }
.file .wdg__lab { font-size: 0.8125rem; }
.wdg__meter { flex-wrap: nowrap; align-items: center; height: 14px; min-height: 0; margin-top: 26px; border-radius: 999px; background: var(--ink-1); overflow: hidden; }
.wdg__meter i { width: 100%; height: 100%; border-radius: 999px; background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease-out) 0.3s; }
.wdg.is-live .wdg__meter i { transform: scaleX(var(--w)); }
.dock__tile--game { background: linear-gradient(160deg, #8f6bff, #3b1fb8); }
.dock__tile--game svg { width: 78%; height: 78%; }

@media (max-width: 60rem) {
  .slab__nav, .menubar__glyph, .menubar__stat, .menubar__batt, .macdock, .buddy, .finder__side, .finder__right { display: none; }
  .finder__main { grid-template-columns: minmax(0, 1fr); }
  .flow__body, .sky__grid, .kan, .game__in, .tear__panel { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 64px; }
  .hero__copy { padding-top: 56px; }
  .stage { position: relative; inset: auto; height: auto; min-height: 0; margin: 44px 0 0; font-size: 14px; order: 2; perspective: none; }
  .stage__tilt { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; align-items: start; justify-items: center; transform: none; }
  .thing { position: static; transform: rotate(var(--r)); }
  .thing.win { width: 100%; }
  .thing.kao, .thing.sticker--red { display: none; }
  .thing.sticker { align-self: center; }
  .js .stage:not(.is-dealt) .thing { transform: translateY(30px); }
  .hero { display: flex; flex-direction: column; }
  .finder { order: 3; margin-top: 40px; }
  .finder__list button { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .flow__panels > li { justify-items: start; text-align: left; }
  .flow__logos { justify-content: flex-start; }
  .flow__sheet { transform: none; }
  .bubble::after { right: auto; left: 18px; transform: skewX(-28deg) rotate(82deg); }
  .mkt__stats, .mkt__cards, .reach__list { grid-template-columns: minmax(0, 1fr); }
  .reach__hook { min-height: 0; }
  .folderstack { display: none; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file__body { padding: 28px 20px; }
  .game { margin-inline: 0; border-radius: 0; }
  .sec { padding-block: 88px; }
}
@media (max-width: 40rem) {
  .kan__col--wide .kan__list, .file__facts, .file__pair, .file__pair--even { grid-template-columns: minmax(0, 1fr); }
  .tabs { width: 100%; justify-content: center; }
  .tabs button { padding: 0 12px; font-size: 0.8125rem; }
  .tear th, .tear td { padding-right: 6px; font-size: 0.875rem; }
  .term__table { font-size: 0.6875rem; }
  .term__table th, .term__table td { padding-right: 8px; }
  .term__table th:first-child { padding-left: 12px; }
  .term__table caption { padding-left: 12px; }
  .mkt__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mkt__stats dt { font-size: 1.75rem; }
  .mkt__stats dd { font-size: 0.6875rem; padding-inline: 4px; }
  .notes__pad { padding: 18px 18px 22px; }
  .notes__pad p { font-size: 1rem; }
}
@media (pointer: fine) { .thing { touch-action: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-rise], .js .kcard[data-rise] { opacity: 1; transform: none; transition: none; }
  .js .stage:not(.is-dealt) .thing { opacity: 1; transform: rotate(var(--r)); }
  .js .spikes--mini circle { opacity: 1; transform: none; }
  .file .wdg { opacity: 1; translate: 0 0; transition: none; }
  .wdg__meter i { transform: scaleX(var(--w)) !important; }
  .wdg__viz i, .bill__bar i { transition: none; transform: none; clip-path: none; opacity: 1; }
  .stage__tilt, .thing, .flow__sheet, .macdock, .macdock__item, .plate__in, .okc__blocks i, .meter__row i, .foot__name i.on, .reach__bar i { transition: none; }
  .okc__blocks i, .js .foot__name:not(.is-in) i.on { transform: none; }
  .reach__bar i { transform: scaleX(var(--w)); }
  .plate:hover .plate__in { transform: none; }
  .tear__panel:not([hidden]) { animation: none; }
}

/* toast */
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 90; max-width: min(92vw, 520px); padding: 10px 16px; border-radius: 12px; background: #111; color: #fff; font-size: 0.875rem; line-height: 1.4; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3); translate: -50% 12px; opacity: 0; transition: opacity 0.25s, translate 0.25s; }
.toast.is-on { opacity: 1; translate: -50% 0; }
.toast a { color: #8cc4ff; }

/* clickable cues */
.thing.kao { padding: 0.35em 0.9em; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #111; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.22); }
.thing.kao::after, .thing.sticker::after { content: "tap me"; position: absolute; right: -0.4em; top: -1.3em; padding: 0.15em 0.6em; border-radius: 999px; background: var(--hot, #ff6a2b); color: #fff; font-size: 0.62rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; white-space: nowrap; opacity: 0; scale: 0.8; transition: opacity 0.2s, scale 0.2s; pointer-events: none; }
.thing.kao:hover::after, .thing.sticker:hover::after { opacity: 1; scale: 1; }
.thing.kao, .thing.sticker { animation: nudge 5s ease-in-out infinite; animation-delay: calc(var(--d) * 0.7s); }
@keyframes nudge { 0%, 88%, 100% { rotate: 0deg; } 91% { rotate: -5deg; } 94% { rotate: 5deg; } 97% { rotate: -3deg; } }
.thing.dock:hover .dock__tile, .thing.win:hover { filter: brightness(1.06); }
.badge-play { position: absolute; right: 1.1em; top: -0.5em; padding: 0.15em 0.6em; border-radius: 999px; background: #ff4d6d; color: #fff; font-size: 0.65rem; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); animation: ping 2.2s ease-in-out infinite; }
@keyframes ping { 0%, 100% { scale: 1; } 50% { scale: 1.15; } }
@media (prefers-reduced-motion: reduce) { .thing.kao, .thing.sticker, .badge-play { animation: none; } }

.di--li { background: #0a66c2; color: #fff; font-weight: 700; font-size: calc(26px * var(--m, 1)); letter-spacing: -0.04em; }

/* phones: banner as a home screen, swipe rows, loan timeline */
.thing--m { display: none; }
.dock__tile--li { background: #0a66c2; color: #fff; font-weight: 700; font-size: 2em; letter-spacing: -0.04em; width: 2em; height: 2em; border-radius: 0.475em; }
@media (max-width: 60rem) {
  .thing--m { display: grid; }
  .stage { margin-top: 32px; }
  .stage__tilt { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 8px; }
  .thing.sticker, .thing.win { grid-column: span 2; }
  .thing.sticker--red { display: block; }
  .thing.sticker { order: 1; width: min(9.4em, 100%); }
  .thing.dock { order: 2; width: 100%; }
  .thing.win { order: 3; width: calc(100% - 10px); }
  .thing.win[data-open="covers"] { order: 4; }
  .thing.win[data-open="spike"] { display: none; }
  .sec { padding-block: 64px; }
  .sec__head { margin-bottom: 32px; }

  /* card sections become one swipeable line */
  .kan__col--wide .kan__list, .mkt__cards, .reach__list { display: flex; grid-template-columns: none; gap: 14px; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; margin-inline: -24px; padding: 6px 24px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kan__col--wide .kan__list::-webkit-scrollbar, .mkt__cards::-webkit-scrollbar, .reach__list::-webkit-scrollbar { display: none; }
  .kan__col--wide .kan__list > li, .mkt__cards > li, .reach__list > li { flex: 0 0 68%; max-width: 280px; scroll-snap-align: start; rotate: 0deg; }
  .js .kan__col--wide .kcard[data-rise], .js .mkt__cards [data-rise] { opacity: 1; transform: none; }
  .mkt__cards { margin-top: 40px; }
  .mkt__cards li > div { padding: 16px; }
  .mkt__cards p, .kcard p { font-size: 0.8125rem; }
  .reach__hook { min-height: 4lh; font-size: 0.9375rem; }
  .reach__list li { align-content: start; }
  .kan { gap: 20px; }
  .swipe-hint { display: block; }

  /* loan flow: a numbered timeline */
  .flow__pin { padding-block: 64px; }
  .flow__in { gap: 32px; }
  .flow__body { gap: 0; }
  .flow__panels { gap: 0; counter-reset: step; }
  .flow__panels > li { position: relative; display: grid; justify-items: start; padding: 0 0 26px 46px; counter-increment: step; }
  .flow__panels > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.875rem; font-weight: 600; box-shadow: 0 0 0 4px rgba(15, 127, 255, 0.15); }
  .flow__panels > li::after { content: ""; position: absolute; left: 14px; top: 38px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--blue); opacity: 0.3; }
  .flow__panels h3 { order: 1; margin-top: 0; font-size: 1.0625rem; line-height: 30px; }
  .flow__panels .bubble { order: 2; max-width: none; margin-top: 6px; padding: 6px 12px; border-radius: 14px; font-size: 0.875rem; box-shadow: none; }
  .flow__panels .bubble::after { display: none; }
  .flow__panels li > p:not(.bubble) { order: 3; max-width: none; font-size: 0.875rem; }
  .flow__panels .flow__logos, .flow__panels .meter { order: 4; margin-top: 10px; }
  .flow__logos { gap: 14px; }
  .flow__logos img { height: 20px; }
  .flow__desk { position: relative; padding-left: 46px; }
  .flow__desk::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1e9e4a; color: #fff; font-size: 0.9375rem; font-weight: 700; box-shadow: 0 0 0 4px rgba(30, 158, 74, 0.18); }
  .flow__lines, .flow__sheet .win__bar { display: none; }
  .flow__sheet { width: 100%; }
  .flow__pad { padding: 16px; }
  .flow__result { margin-top: 0; gap: 16px; }
  .flow__result .stamp { font-size: 1.5rem; }
  .flow__sum { font-size: 0.9375rem; }
}
.swipe-hint { display: none; margin: 0 0 4px; font-size: 0.75rem; color: var(--ink-5); }
@media (max-width: 60rem) { .d-only { display: none; } }
@media (max-width: 60rem) {
  .reach .swipe-hint { display: block; }
  .kan__col--ask:not(:has(.kcard)) { display: none; }
  .kan__col--ask { min-height: 0; }
}

@media (max-width: 40rem) {
  .file__wdgs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .file__wdgs .wdg--wide { grid-column: 1 / -1; }
  .file .wdg { padding: 14px 12px; border-radius: 18px; }
  .file .wdg__num { font-size: 1.75rem; }
  .file .wdg__lab { font-size: 0.75rem; }
  .file .wdg__foot { font-size: 0.75rem; line-height: 1.35; }
  .file .wdg__viz { margin-block: 10px; gap: 4px; }
  .file .wdg__coins i, .file .wdg__dots i { width: 18px; height: 18px; }
  .file .wdg__ticks i { width: 16px; height: 16px; }
}

.wdg__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; list-style: none; margin: 4px 0 0; padding: 0; }
.wdg__logos img { height: 20px; width: auto; }
@media (max-width: 40rem) { .wdg__logos { gap: 6px 10px; } .wdg__logos img { height: 15px; } }

/* contact card */
.reach-card { width: min(24rem, calc(100vw - 2rem)); padding: 28px 24px 22px; border: 0; border-radius: 16px; background: #fff; color: #000; text-align: center; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 30px 80px rgba(0, 0, 0, 0.4); text-transform: none; }
.reach-card::backdrop { background: rgba(0, 0, 0, 0.45); }
.reach-card[open] { display: grid; justify-items: center; gap: 14px; }
.reach-card__x { position: absolute; right: 10px; top: 6px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.5rem; color: var(--ink-5); cursor: pointer; }
.reach-card__lab { margin: 0; font-size: 0.8125rem; color: var(--ink-5); }
.reach-card__mail { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; word-break: break-all; user-select: all; -webkit-user-select: all; }
.reach-card__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.reach-card__or { margin: 0; font-size: 0.75rem; color: var(--ink-3); }
.reach-card__app { font-size: 0.8125rem; color: var(--blue); text-decoration: underline; cursor: pointer; }

.thing, .thing * { -webkit-user-drag: none; user-select: none; }

/* phone: result cards fit their box, tabs fill the pill */
@media (max-width: 40rem) {
  .game__pair { gap: 14px; }
  .plate { aspect-ratio: 1; }
  .plate__back { gap: 4px; }
  .plate__back > .win__bar { margin-bottom: 6px; }
  .plate__back > i { font-size: 0.8125rem; line-height: 1.15; padding-inline: 10px; }
  .plate__num { font-size: 2.25rem; }
  .plate__back > span:not(.win__bar):not(.plate__bar) { font-size: 0.75rem; }
  .plate__bar { margin-top: 4px; height: 8px; }
  .plate__back em { min-height: 0; }
  .tabs { margin-bottom: 20px; }
  .tabs button { flex: 1; }
}

/* phone held sideways: short screen, wide enough to use two columns */
@media (max-width: 60rem) and (orientation: landscape) and (max-height: 32rem) {
  .sec, .flow__pin { padding-block: 36px; }
  .sky { padding-block: 40px; }
  .sec__head, .flow .sec__head { margin-bottom: 18px; gap: 8px; }
  h2, .sec__head h2 { font-size: 1.5rem; max-width: none; }
  .sub { font-size: 0.875rem; }

  .marquee span { font-size: 2rem; }
  .stage { margin-top: 20px; }
  .stage__tilt { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px 10px; align-items: start; }
  .thing.dock { grid-column: span 1; }
  .thing.win, .thing.win[data-open="covers"] { order: 3; grid-column: span 2; }
  .thing.win[data-open="desk"] { grid-column: 1 / span 2; }
  .thing.sticker { order: 1; }
  .thing.dock { order: 2; }
  .thing.win img { width: 100%; height: 6.5rem; object-fit: cover; object-position: top; }

  /* loan steps: one row, left to right */
  .flow__in { gap: 18px; }
  .flow__body { grid-template-columns: minmax(0, 1fr); }
  .flow__panels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .flow__panels > li { padding: 40px 0 0; }
  .flow__panels > li::after { left: 38px; right: -12px; top: 14px; bottom: auto; width: auto; height: 2px; }
  .flow__panels > li:last-child::after { display: none; }
  .flow__panels h3 { font-size: 0.9375rem; line-height: 1.2; }
  .flow__panels .bubble { font-size: 0.75rem; padding: 4px 9px; align-self: start; justify-self: start; }
  .flow__panels li > p:not(.bubble) { font-size: 0.75rem; line-height: 1.4; }
  .flow__logos img { height: 14px; }
  .flow__logos { gap: 8px; }
  .flow__desk { padding-left: 0; margin-top: 8px; }
  .flow__desk::before { display: none; }
  .flow__pad { padding: 12px 16px; }
  .flow__result { gap: 12px; }
  .flow__result .stamp { font-size: 1.125rem; }

  /* stats and card rows */
  .mkt__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
  .mkt__stats dt { margin-top: 12px; font-size: 2rem; }
  .mkt__stats dd { font-size: 0.75rem; }
  .mkt__stats .win { padding-bottom: 12px; }
  .kan__col--wide .kan__list > li, .mkt__cards > li, .reach__list > li { flex-basis: 34%; max-width: 15rem; }
  .kcard__shot { aspect-ratio: 16 / 8; }
  .kcard__body, .mkt__cards li > div { padding: 12px; }
  .kcard__body h4 { font-size: 1rem; }
  .kcard p, .mkt__cards p { font-size: 0.75rem; }
  .mkt__cards { margin-top: 20px; }
  .kan { gap: 12px; }

  /* game: text on the left, cards on the right */
  .game__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: center; }
  .game__pair { gap: 12px; }
  .plate { aspect-ratio: auto; height: 11.5rem; max-height: none; }

  /* teardown: table and screenshots side by side */
  .tear__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .tear__proof { gap: 12px; }
  .tear__proof--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { width: fit-content; margin-bottom: 16px; }
  .tabs button { min-height: 32px; font-size: 0.8125rem; }

  .finder { margin-top: 24px; }
  .finder__list button { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 14px; padding: 8px 14px; }
  .finder__name b { font-size: 0.9375rem; }
  .finder__role, .finder__win { font-size: 0.75rem; }

  /* growth, about, footer */
  .sky__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .okc__pad { padding: 14px 18px 18px; }
  .okc__fig { font-size: 3.5rem; }
  .okc__blocks { margin-top: 12px; }
  .okc__blocks i { height: 26px; }
  .okc__ledger { padding: 4px 18px 10px; }
  .okc__ledger div { padding-block: 8px; }
  .okc__ledger dd { font-size: 1rem; }
  .notes { width: min(100%, 46rem); }
  .notes__pad { padding: 14px 20px 16px; column-count: 2; column-gap: 24px; }
  .notes__pad p { margin-top: 8px; font-size: 0.875rem; line-height: 1.45; break-inside: avoid; }
  .notes__sign { margin-top: 12px !important; }
  .notes__sign b { font-size: 1.75rem; }
  .about__more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-top: 28px; }
  .about__more .faq { width: 100%; }
  .faq summary { padding: 10px 14px; font-size: 0.9375rem; }
  .foot__cta { padding: 32px 24px; }
  .foot__cta h2 { font-size: 2.25rem; }
  .foot__cols { margin-top: 20px; }

  .game { padding-block: 24px; }
  .game__head { gap: 8px; }
  .game__head .sub, .game__head .tag { display: none; }
  .game__score { font-size: 0.875rem; }

  .plate__back { gap: 4px; }
  .plate__back > .win__bar { margin-bottom: 6px; }
  .plate__num { font-size: 2.5rem; }
  .plate__back em { min-height: 0; }

  .tear .sec__head .sub { display: none; }
  .tear__pad { padding: 12px 16px; }
  .tear__claim { font-size: 1.25rem; }
  .tear th, .tear td { height: 34px; }
  .tear table { margin-top: 8px; }
  .tear thead img { height: 26px; }
  .bill__row > img { height: 24px; }
  .bill__bar { height: 28px; }
  .bill__tip { display: none; }
  .tear__panel:not([hidden]) > .tear__proof:not(.tear__proof--pair) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tear__proof .phone__screen { border-width: 5px; border-radius: 22px; padding: 8px 6px; }
  .tear__when { margin-top: 12px; }
}

/* phone portrait: compact teardown */
@media (max-width: 40rem) {
  .tear__pad { padding: 12px 14px 14px; }
  .tear__claim { font-size: 1.25rem; }
  .tear table { margin-top: 6px; }
  .tear th, .tear td { height: 36px; }
  .tear thead img { height: 26px; }
  .tear thead img.nowlogo { height: 16px; }
  .bill__row > img { height: 24px; }
  .bill__bar { height: 30px; }
  .bill__tip { display: none; }
  .tear__panel:not([hidden]) > .tear__proof:not(.tear__proof--pair) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  .tear__proof figcaption { font-size: 0.6875rem; }
  .tear__panel { gap: 14px; }
  .tear__when { margin-top: 10px; }
}
