/* Ondues web system v2. Shared tokens, components and motion. */

@property --num { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --split { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --porcelain: #FBFAF8;
  --paper: #F4F1EC;
  --linen: #EEE9E2;
  --ink: #20291F;
  --ink-2: #3E473C;
  --ink-3: #69725F;
  --night: #0C110B;
  --night-2: #141B13;
  --verm: #FA4D28;
  --verm-deep: #D9391A;
  --ember: #FF7A45;
  --apricot: #FFB27A;
  --peach: #FFE3D4;
  --sand: #F2E2C1;
  --umber: #4B3312;
  --lilac: #DDD6FF;
  --plum: #2B2257;
  --sage: #D2E7D8;
  --forest: #12382A;
  --line: rgba(32, 41, 31, .1);
  --line-2: rgba(32, 41, 31, .16);
  --d-line: rgba(243, 241, 236, .1);
  --d-text: #F3F1EC;
  --d-text-2: #BDC3B8;
  --d-text-3: #8E978A;
  --hot: linear-gradient(100deg, #FA4D28 0%, #FF6436 38%, #FF8A4C 70%, #FFB27A 100%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--porcelain); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--verm); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--verm); color: #fff; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

.site { position: relative; width: 100%; min-height: 100%; background: var(--porcelain); overflow-x: clip; }
.wrap { width: min(1240px, calc(100% - 64px)); margin: 0 auto; position: relative; }
.wide { width: min(1400px, calc(100% - 48px)); margin: 0 auto; position: relative; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.display { font-size: clamp(54px, 8.2vw, 132px); line-height: .92; letter-spacing: -.058em; font-weight: 600; margin: 0; }
.h2 { font-size: clamp(40px, 5.4vw, 86px); line-height: .98; letter-spacing: -.048em; font-weight: 600; margin: 0; text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.5vw, 40px); line-height: 1.06; letter-spacing: -.034em; font-weight: 600; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.32vw, 21px); line-height: 1.52; letter-spacing: -.012em; font-weight: 400; margin: 0; text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.hot { background: linear-gradient(100deg, #FA4D28 0%, #F0413A 48%, #D6336A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hot-anim { background: linear-gradient(100deg, #FF5A30 0%, #FF7A45 40%, #FFA468 75%, #FFC08E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@keyframes hotPan { to { background-position: 220% 0; } }
.kicker { display: inline-flex; align-items: center; gap: 12px; }
.kicker .n { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; }
.kicker .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--hot); }

/* ---------- buttons ---------- */
[data-mag] { display: inline-block; will-change: transform; }
[data-mag] > * { transform: translate3d(var(--mx-m, 0px), var(--my-m, 0px), 0); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 550; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; isolation: isolate; transition: box-shadow .6s var(--ease), background-color .4s ease, color .4s ease, border-color .4s ease; }
.btn .lbl { position: relative; display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.btn .lbl span { display: block; transition: transform .6s var(--ease); }
.btn .lbl span + span { position: absolute; left: 0; top: 0; transform: translateY(105%); }
.btn:hover .lbl span:first-child { transform: translateY(-105%); }
.btn:hover .lbl span + span { transform: translateY(0); }
.btn .arr { width: 18px; height: 18px; border-radius: 99px; display: grid; place-items: center; transition: transform .6s var(--ease); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn-hot { background: var(--verm); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 30px -12px rgba(250,77,40,.75); }
.btn-hot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255,210,180,.75), transparent 70%); opacity: 0; transition: opacity .5s ease; }
.btn-hot:hover::before { opacity: 1; }
.btn-hot:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 20px 50px -14px rgba(250,77,40,.9), 0 0 0 6px rgba(250,77,40,.12); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 18px 44px -16px rgba(32,41,31,.8), 0 0 0 6px rgba(32,41,31,.08); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { background: #fff; box-shadow: 0 0 0 1px rgba(32,41,31,.28) inset, 0 16px 40px -18px rgba(32,41,31,.45); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 16px 40px -18px rgba(0,0,0,.5); }
.btn-white:hover { box-shadow: 0 22px 60px -18px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.18); }
.btn-dghost { background: rgba(255,255,255,.06); color: var(--d-text); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset; }
.btn-dghost:hover { background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 90; display: flex; justify-content: center; pointer-events: none; transition: transform .7s var(--ease), opacity .5s ease; }
[data-nav-hide] .nav { transform: translateY(-120px); }
.nav-pill { pointer-events: auto; position: relative; width: min(1120px, calc(100% - 28px)); height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 9px 0 24px; border-radius: 999px; background: rgba(251,250,248,.74); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(32,41,31,.08), 0 20px 50px -28px rgba(32,41,31,.4); overflow: hidden; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { position: relative; padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .3s ease, background-color .35s ease; }
.nav-links a:hover { color: var(--ink); background: rgba(32,41,31,.06); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(250,77,40,.1); }
/* On AI: a small lit window into the particle world, set in a light chip */
.nav-links a.nav-ai { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; height: 40px; padding: 0 16px 0 5px; margin-left: 8px; border-radius: 99px; color: var(--ink); background: linear-gradient(180deg, #FFFFFF 0%, #F3F0EB 100%); font-weight: 590; letter-spacing: -.012em; isolation: isolate; box-shadow: 0 0 0 1px rgba(32,41,31,.1) inset, 0 1px 0 #fff inset, 0 8px 20px -12px rgba(32,41,31,.45); transition: transform .5s var(--ease), box-shadow .5s ease, background-color .4s ease; }
.nav-links a.nav-ai:hover, .nav-links a.nav-ai[aria-current="page"] { color: var(--ink); background: linear-gradient(180deg, #FFFFFF 0%, #FBF7F2 100%); box-shadow: 0 0 0 1px rgba(250,77,40,.3) inset, 0 1px 0 #fff inset, 0 14px 30px -14px rgba(250,77,40,.55); }
.nav-links a.nav-ai:hover { transform: translateY(-1px); }
.ai-p { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 99px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #1C1126 0%, #0B0B12 60%, #050608 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 3px 10px -2px rgba(214,51,106,.5); transition: transform .6s var(--ease), box-shadow .6s ease; }
.ai-p canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ai-p::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 32% 22%, rgba(255,255,255,.26), transparent 42%); pointer-events: none; }
.nav-links a.nav-ai:hover .ai-p, .nav-links a.nav-ai[aria-current="page"] .ai-p { transform: scale(1.07); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 4px 16px -2px rgba(250,77,40,.75); }
.nav-links a.nav-ai .ai-t { color: inherit; }
@keyframes aiO { 50% { transform: scale(.8); box-shadow: 0 0 16px rgba(214,51,106,.95); } }
@keyframes aiT { 0%, 20% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.psteps .st .dt { width: 6px; height: 6px; border-radius: 99px; background: currentColor; opacity: .45; }
.scan-ai { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; height: 44px; padding: 0 18px 0 14px; border-radius: 99px; font-size: 14px; font-weight: 560; color: #fff; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset; transition: background-color .4s ease, box-shadow .4s ease, transform .5s var(--ease); }
.scan-ai .ai-o { width: 12px; height: 12px; border-radius: 99px; background: radial-gradient(circle at 35% 30%, #fff 0 13%, #FFB27A 28%, #FA4D28 52%, #D6336A 78%, #7B61FF 100%); box-shadow: 0 0 10px rgba(250,77,40,.85); animation: aiO 2.6s ease-in-out infinite; }
.scan-ai:hover { background: rgba(255,255,255,.1); box-shadow: 0 0 0 1px rgba(255,154,112,.5) inset, 0 16px 40px -16px rgba(250,77,40,.6); transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-sign { padding: 9px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 99px; transition: background-color .3s ease; }
.nav-sign:hover { background: rgba(32,41,31,.06); }
.nav-prog { position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; border-radius: 2px; background: var(--hot); transform-origin: 0 50%; transform: scaleX(var(--pp, 0)); opacity: .9; will-change: transform; }

/* ---------- page curtain ---------- */
.curtain { display: none; }
[data-js] .curtain { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--verm); pointer-events: none; animation: curtainUp 1.05s .55s var(--ease-io) forwards; }
[data-js] .curtain img { width: 84px; height: auto; filter: brightness(0) invert(1); animation: curtainMark 1s var(--ease) both; }
[data-js] .curtain .cword { position: absolute; bottom: 44px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; animation: curtainMark 1s .1s var(--ease) both; }
@keyframes curtainUp { to { transform: translateY(-101%); visibility: hidden; } }
@keyframes curtainMark { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: none; } }

/* ---------- reveal system ---------- */
[data-js] [data-rv] { opacity: 0; transform: translate3d(0, 46px, 0); filter: blur(8px); }
[data-js] [data-rv][data-in] { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), filter 1s ease; transition-delay: calc(var(--d, 0) * 90ms); }
[data-js] [data-wipe] { clip-path: inset(0 0 110% 0); transform: translate3d(0, 34px, 0); }
[data-js] [data-wipe][data-in] { clip-path: inset(-10% -10% -18% -10%); transform: none; transition: clip-path 1.35s var(--ease), transform 1.35s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-js] [data-pop] { opacity: 0; transform: translate3d(0, 24px, 0) scale(.94); }
[data-js] [data-pop][data-in] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s cubic-bezier(.2, 1.3, .35, 1); transition-delay: calc(var(--d, 0) * 70ms); }
[data-js] .words .w { display: inline-block; opacity: 0; transform: translate3d(0, .5em, 0); filter: blur(10px); }
[data-js] .words[data-in] .w { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s ease; transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0) * 90ms); }
.words .w { margin-right: .24em; }

/* ---------- scenes ---------- */
.scene { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; }

/* ---------- hero ---------- */
.hero { height: 300vh; background: var(--porcelain); }
.hero .pin { --a: clamp(0, calc(var(--p, 0) / .16), 1); --r: clamp(0, calc((var(--p, 0) - .6) / .12), 1); --c2: clamp(0, calc(var(--p, 0) / .2), 1); background: var(--porcelain); }
.hero-bg { position: absolute; inset: -10%; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; will-change: transform; }
.hero-bg .b1 { width: 64vw; height: 64vw; left: -14vw; top: -24vw; background: radial-gradient(closest-side, rgba(255,160,112,.5), rgba(255,160,112,.18) 45%, rgba(255,160,112,0)); transform: translate3d(calc(var(--mx, 0) * 40px), calc(var(--my, 0) * 30px), 0); animation: drift 22s ease-in-out infinite; }
.hero-bg .b2 { width: 58vw; height: 58vw; right: -16vw; top: 4vw; background: radial-gradient(closest-side, rgba(250,77,40,.24), rgba(250,77,40,.08) 50%, rgba(250,77,40,0)); transform: translate3d(calc(var(--mx, 0) * -60px), calc(var(--my, 0) * -40px), 0); animation: drift 28s ease-in-out infinite reverse; }
.hero-bg .b3 { width: 50vw; height: 50vw; left: 24vw; bottom: -26vw; background: radial-gradient(closest-side, rgba(221,214,255,.7), rgba(221,214,255,.25) 50%, rgba(221,214,255,0)); transform: translate3d(calc(var(--mx, 0) * 30px), calc(var(--my, 0) * -30px), 0); animation: drift 32s ease-in-out infinite; }
@keyframes drift { 0%, 100% { translate: 0 0; } 33% { translate: 4vw -3vw; } 66% { translate: -3vw 2vw; } }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(32,41,31,.13) 1px, transparent 1.2px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 80%); opacity: calc(1 - var(--a)); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero-fallback { position: absolute; left: 50%; top: calc(25% + var(--c2) * 25%); width: min(20vh, 190px); transform: translate(-50%, -50%) perspective(900px) rotateX(calc(var(--my, 0) * 14deg * (1 - var(--c2)))) rotateY(calc(var(--mx, 0) * -18deg * (1 - var(--c2)))) scale(calc(1 + var(--p, 0) * var(--p, 0) * 60)); z-index: 2; filter: drop-shadow(0 30px 40px rgba(250,77,40,.35)); }
[data-gl-live] .hero-fallback { display: none; }
.hero-shadow { position: absolute; left: 50%; top: calc(25% + 12vh); width: 26vh; height: 4vh; transform: translate(-50%, 0); border-radius: 50%; background: radial-gradient(closest-side, rgba(170,60,25,.28), transparent); filter: blur(8px); z-index: 1; opacity: calc(1 - var(--a)); }
.hero-copy { position: absolute; left: 0; right: 0; top: 40.5%; z-index: 4; text-align: center; transform: translate3d(0, calc(var(--a) * -140px), 0) scale(calc(1 - var(--a) * .12)); opacity: calc(1 - var(--a) * 1.1); filter: blur(calc(var(--a) * 10px)); }
.hero-pill { display: inline-flex; align-items: center; gap: 12px; height: 36px; padding: 0 16px 0 12px; border-radius: 99px; background: rgba(255,255,255,.72); box-shadow: 0 0 0 1px var(--line) inset, 0 10px 30px -18px rgba(32,41,31,.35); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-2); }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 99px; background: #25B36B; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 99px; border: 1.5px solid #25B36B; opacity: 0; animation: livePing 2.2s var(--ease) infinite; }
@keyframes livePing { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.hero-pill .sep { width: 1px; height: 14px; background: var(--line-2); }
.hero-title { margin: 20px 0 0; font-size: clamp(46px, min(7.6vw, 12.4vh), 122px); line-height: .93; letter-spacing: -.056em; font-weight: 600; }
.hero-title .ln { display: block; white-space: nowrap; }
.hero-title .ch { display: inline-block; font-variation-settings: "wght" var(--w, 600); transform: translate3d(0, var(--ly, 0px), 0); transition: none; }
.hero-title .sp { display: inline-block; width: .26em; }
.hero-title .hw { display: inline-block; white-space: nowrap; }
[data-js] .hero-title .ln .ci { display: inline-block; animation: charIn 1.25s var(--ease) both; animation-delay: calc(1.25s + var(--i, 0) * 28ms); }
@keyframes charIn { from { opacity: 0; transform: translate3d(0, .55em, 0) rotate(6deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.hero-sub { margin: 26px auto 0; max-width: 620px; color: var(--ink-2); }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
[data-js] .hero-in { opacity: 0; animation: fadeUp 1.2s var(--ease) both; animation-delay: calc(1.5s + var(--d, 0) * 110ms); }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hchip { position: absolute; left: var(--x); top: var(--y); transform: translate3d(calc(var(--mx, 0) * var(--dz) * -26px + var(--vx) * var(--a) * 1px), calc(var(--my, 0) * var(--dz) * -18px + var(--vy) * var(--a) * 1px), 0) scale(calc(1 - var(--a) * .25)); opacity: calc(1 - var(--a) * 1.2); }
.hchip .in { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(32,41,31,.07) inset, 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 50px -24px rgba(32,41,31,.4); animation: bob var(--t, 7s) ease-in-out infinite; animation-delay: var(--dl, 0s); white-space: nowrap; }
[data-js] .hchip .in { animation: chipIn 1.2s var(--ease) both, bob var(--t, 7s) ease-in-out infinite; animation-delay: calc(1.7s + var(--o, 0) * 120ms), calc(3s + var(--dl, 0s)); }
@keyframes chipIn { from { opacity: 0; transform: translate3d(0, 30px, 0) scale(.9); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
.hchip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.hchip .t1 { font-size: 13.5px; font-weight: 550; letter-spacing: -.01em; color: var(--ink); }
.hchip .t2 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-3); margin-top: 3px; }
.hchip .tag { margin-left: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; padding: 5px 8px; border-radius: 8px; }
.hero-portal { position: absolute; inset: 0; z-index: 6; background: radial-gradient(60% 55% at 50% 50%, #1D2A1B 0%, var(--night) 70%); clip-path: circle(calc(var(--r) * 150%) at 50% 50%); pointer-events: none; }
.hero-portal .glow { position: absolute; left: 50%; top: 50%; width: 70vmax; height: 70vmax; transform: translate(-50%, -50%) scale(calc(.4 + var(--r) * .6)); border-radius: 50%; background: radial-gradient(closest-side, rgba(250,77,40,.3), rgba(250,77,40,.1) 45%, rgba(250,77,40,0)); }
.hero-cue { position: absolute; left: 50%; bottom: 26px; z-index: 5; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); opacity: calc(1 - var(--a) * 3); }
.hero-cue .mouse { width: 18px; height: 28px; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--ink-3) inset; position: relative; }
.hero-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--verm); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(9px); opacity: 0; } }

/* ---------- statement (dark, scrubbed) ---------- */
.statement { height: 280vh; background: var(--night); color: var(--d-text); }
.statement .pin { background: radial-gradient(60% 55% at 50% 50%, #1D2A1B 0%, var(--night) 70%); display: grid; place-items: center; --q: clamp(0, calc((var(--p, 1) - .02) / .52), 1); --s: clamp(0, calc((var(--p, 1) - .6) / .22), 1); }
.statement .glow { position: absolute; left: 50%; top: 50%; width: 70vmax; height: 70vmax; transform: translate(-50%, -50%) scale(calc(1 + var(--s) * .2)); border-radius: 50%; background: radial-gradient(closest-side, rgba(250,77,40,calc(.3 - var(--q) * .14)), rgba(250,77,40,0)); pointer-events: none; }
.scrub { position: relative; z-index: 2; width: min(1120px, calc(100% - 64px)); text-align: center; font-size: clamp(34px, 4.8vw, 76px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; margin: 0; transform: translate3d(0, calc(var(--s) * -16vh), 0) scale(calc(1 - var(--s) * .3)); opacity: calc(1 - var(--s) * .72); }
.scrub .w { display: inline-block; margin-right: .22em; opacity: clamp(.12, calc(var(--q) * var(--n, 20) - var(--i) + .35), 1); filter: blur(calc(clamp(0, calc(var(--i) + .6 - var(--q) * var(--n, 20)), 1) * 7px)); }
.scrub .w.v { color: var(--verm); }
.resolve { position: absolute; z-index: 3; left: 0; right: 0; top: 56%; text-align: center; opacity: var(--s); transform: translate3d(0, calc((1 - var(--s)) * 60px), 0); filter: blur(calc((1 - var(--s)) * 10px)); }
.resolve .h2 { color: var(--d-text); }
.docs { position: absolute; inset: 0; z-index: 1; pointer-events: none; --k: clamp(0, calc((var(--p, 1) - .5) / .34), 1); }
.doc { position: absolute; left: 50%; top: 50%; width: 214px; margin-left: -107px; margin-top: -34px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(38,48,36,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 30px 60px -30px rgba(0,0,0,.9); color: var(--d-text); transform: translate3d(calc(var(--sx) * (1 - var(--k)) * 1px + var(--ex) * var(--k) * 1px), calc(var(--sy) * (1 - var(--k)) * 1px + var(--ey) * var(--k) * 1px), 0) rotate(calc(var(--rt) * (1 - var(--k)) * 1deg)); opacity: calc(.18 + var(--k) * .82); }
.doc .fi { width: 30px; height: 36px; border-radius: 6px; background: linear-gradient(160deg, #fff, #E9E4DC); position: relative; flex-shrink: 0; }
.doc .fi::after { content: ""; position: absolute; left: 6px; right: 6px; top: 12px; height: 2px; background: rgba(32,41,31,.25); box-shadow: 0 5px 0 rgba(32,41,31,.18), 0 10px 0 rgba(32,41,31,.14); border-radius: 2px; }
.doc .fi i { position: absolute; left: -4px; bottom: 4px; font-style: normal; font-family: var(--mono); font-size: 7.5px; font-weight: 600; color: #fff; background: var(--verm); padding: 2px 4px; border-radius: 3px; }
.doc .dn { font-size: 13px; font-weight: 550; letter-spacing: -.01em; }
.doc .dm { font-family: var(--mono); font-size: 10px; color: var(--d-text-3); margin-top: 3px; }
.doc .ok { margin-left: auto; width: 18px; height: 18px; border-radius: 99px; background: rgba(37,179,107,.2); display: grid; place-items: center; opacity: var(--k); }

/* ---------- app window kit ---------- */
.app { position: relative; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(32,41,31,.1), 0 2px 0 rgba(255,255,255,.8) inset, 0 60px 120px -50px rgba(20,27,19,.55), 0 30px 60px -40px rgba(20,27,19,.45); overflow: hidden; }
.app-bar { height: 46px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); background: linear-gradient(#FDFCFA, #F7F5F1); }
.app-bar .tl { display: flex; gap: 7px; }
.app-bar .tl i { width: 11px; height: 11px; border-radius: 99px; background: #E8E3DB; }
.app-bar .tl i:nth-child(1) { background: #FF6B57; } .app-bar .tl i:nth-child(2) { background: #FDBA2C; } .app-bar .tl i:nth-child(3) { background: #2FC46A; }
.app-bar .crumb { font-size: 12.5px; font-weight: 550; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.app-bar .crumb img { height: 14px; width: auto; }
.app-bar .env { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ink-3); }
.app-bar .env b { font-weight: 500; padding: 4px 8px; border-radius: 7px; background: var(--paper); color: var(--ink-2); }
.app-body { display: flex; min-height: 0; }
.app-side { width: 208px; flex-shrink: 0; padding: 14px 10px; border-right: 1px solid var(--line); background: #FBFAF7; display: flex; flex-direction: column; gap: 2px; }
.app-side .it { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.app-side .it svg { width: 15px; height: 15px; flex-shrink: 0; }
.app-side .it .ct { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.app-side .it.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset, 0 6px 14px -10px rgba(32,41,31,.4); }
.app-side .grp { margin: 14px 10px 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.app-side .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line) inset; background: #fff; }
.av { width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; font-size: 10.5px; font-weight: 650; color: #fff; flex-shrink: 0; letter-spacing: .02em; }
.app-main { flex: 1; min-width: 0; padding: 18px 20px; position: relative; }
.app-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.app-h .t { font-size: 18px; font-weight: 620; letter-spacing: -.025em; }
.app-h .chips { display: flex; gap: 6px; margin-left: auto; }
.fchip { height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; background: #fff; }
.fchip.on { background: var(--ink); color: #fff; box-shadow: none; }
.trow { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 12px; border-radius: 11px; font-size: 13px; transition: background-color .35s ease; }
.trow + .trow { box-shadow: 0 -1px 0 var(--line); }
.trow:hover { background: #F8F6F2; }
.code { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .03em; padding: 5px 8px; border-radius: 7px; background: var(--paper); color: var(--ink-2); flex-shrink: 0; min-width: 64px; text-align: center; }
.due { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 5px 9px; border-radius: 99px; flex-shrink: 0; }
.due.red { background: rgba(250,77,40,.12); color: #C9361A; }
.due.amb { background: rgba(232,160,40,.16); color: #95600A; }
.due.grn { background: rgba(37,179,107,.14); color: #17784A; }
.due.gry { background: var(--paper); color: var(--ink-3); }
.flag { font-family: var(--mono); font-size: 10px; font-weight: 500; padding: 3px 6px; border-radius: 5px; letter-spacing: .04em; }
.flag.uk { background: var(--lilac); color: var(--plum); }
.flag.ae { background: var(--sand); color: var(--umber); }
.muted { color: var(--ink-3); }

/* ---------- product scene ---------- */
.product { height: 340vh; }
.product .pin { --e: clamp(0, calc(var(--p, 1) / .3), 1); background: var(--paper); }
.product .ptop { position: absolute; left: 0; right: 0; top: clamp(96px, 12vh, 130px); text-align: center; z-index: 3; }
.product .ptop .h2 { color: var(--ink); }
.product .ptop .lead { color: var(--ink-3); margin-top: 14px; }
.product .stage { position: absolute; left: 50%; top: calc(clamp(96px, 12vh, 130px) + clamp(150px, 20vh, 200px)); width: min(1180px, calc(100% - 64px)); transform: translate3d(-50%, calc((1 - var(--e)) * 22vh), 0) perspective(2000px) rotateX(calc((1 - var(--e)) * 30deg)) scale(calc(.82 + var(--e) * .18)); transform-origin: 50% 0; z-index: 2; }
.product .app { height: min(600px, calc(100vh - clamp(96px, 12vh, 130px) - clamp(150px, 20vh, 200px) - 70px)); }
.product .app .app-body { height: calc(100% - 46px); }
.psteps { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4; display: flex; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px var(--line) inset, 0 20px 40px -24px rgba(32,41,31,.5); opacity: clamp(0, calc((var(--p, 1) - .28) * 12), 1); }
.psteps .st { position: relative; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 99px; font-size: 13px; font-weight: 550; color: var(--ink-3); overflow: hidden; transition: color .5s ease, background-color .5s ease; }
.psteps .st b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; }
[data-step="0"] .psteps .st:nth-child(1), [data-step="1"] .psteps .st:nth-child(2), [data-step="2"] .psteps .st:nth-child(3) { background: var(--ink); color: #fff; }
.pview { position: absolute; inset: 18px 20px; opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease), transform .8s var(--ease), visibility 0s .8s; pointer-events: none; visibility: hidden; }
[data-step="0"] .pview.v0, [data-step="1"] .pview.v1, [data-step="2"] .pview.v2 { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .7s var(--ease), transform .8s var(--ease), visibility 0s 0s; }
.scene:not([data-step]) .pview.v0 { opacity: 1; transform: none; visibility: visible; }
.pview .trow { opacity: 0; transform: translate3d(-14px, 0, 0); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
[data-step="0"] .v0 .trow, [data-step="1"] .v1 .trow, [data-step="2"] .v2 .trow, .scene:not([data-step]) .v0 .trow { opacity: 1; transform: none; }
.rail { position: absolute; top: 0; right: 0; bottom: 0; width: 290px; border-left: 1px solid var(--line); background: #FCFBF9; padding: 18px; }
.mini { border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; background: #fff; padding: 14px; }
.mini + .mini { margin-top: 10px; }
.mini .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.mini .v { font-size: 22px; font-weight: 620; letter-spacing: -.03em; margin-top: 6px; }
.bar { height: 6px; border-radius: 6px; background: var(--paper); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--hot); }
.bubble { max-width: 300px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #F3F1EC; font-size: 13px; line-height: 1.45; }
.bubble.me { margin-left: auto; border-radius: 16px 16px 4px 16px; background: #DDF3E3; }
.scanbox { position: relative; height: 170px; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(0deg, #fff 0 14px, #F6F4F0 14px 15px); box-shadow: 0 0 0 1px var(--line) inset; }
.scanbox .beam { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--verm), transparent); box-shadow: 0 0 24px 6px rgba(250,77,40,.35); animation: beam 2.4s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes beam { from { top: 6%; } to { top: 92%; } }

/* ---------- stacked cards ---------- */
.stack { position: relative; padding: 12vh 0 18vh; background: var(--paper); }
.stack-head { text-align: center; margin-bottom: 8vh; }
.scard { position: sticky; top: calc(96px + var(--k, 0) * 16px); height: calc(100vh - 136px); min-height: 540px; width: min(1320px, calc(100% - 40px)); margin: 0 auto 14vh; border-radius: 34px; overflow: hidden; transform-origin: 50% 0; transform: scale(calc(1 - var(--c, 0) * .07)); filter: brightness(calc(1 - var(--c, 0) * .32)) saturate(calc(1 - var(--c, 0) * .2)); box-shadow: 0 -1px 0 rgba(255,255,255,.4) inset, 0 40px 80px -40px rgba(20,27,19,.5); }
.scard:last-child { margin-bottom: 0; }
.scard .inner { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4vw; padding: clamp(34px, 5vw, 72px); align-items: center; }
.scard .num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.scard .num i { width: 34px; height: 1px; background: currentColor; opacity: .5; }
.scard .h3 { font-size: clamp(34px, 3.7vw, 62px); line-height: .98; letter-spacing: -.048em; margin-top: 22px; }
.scard .lead { margin-top: 20px; max-width: 460px; }
.scard .facts { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.scard .facts div { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.scard .facts svg { flex-shrink: 0; }
.scard .deco { position: absolute; right: -14%; bottom: -40%; width: 72%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.c-hot { background: linear-gradient(140deg, #FF6A3D 0%, #FA4D28 45%, #E8401E 100%); color: #1B0F0A; }
.c-hot .h3 { color: #fff; }
.c-hot .lead { color: rgba(27,15,10,.82); }
.c-hot .deco { background: radial-gradient(closest-side, rgba(255,210,160,.55), rgba(255,210,160,0)); }
.c-sand { background: linear-gradient(150deg, #F7EBD3 0%, #F2E2C1 55%, #EBD3A6 100%); color: var(--umber); }
.c-sand .deco { background: radial-gradient(closest-side, rgba(255,170,90,.42), rgba(255,170,90,0)); }
.c-lilac { background: linear-gradient(150deg, #ECE8FF 0%, #DDD6FF 55%, #CBC1FA 100%); color: var(--plum); }
.c-lilac .deco { background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0)); }
.c-forest { background: linear-gradient(150deg, #184634 0%, #12382A 55%, #0C271D 100%); color: var(--sage); }
.c-forest .h3 { color: #F2F7F3; }
.c-forest .deco { background: radial-gradient(closest-side, rgba(120,214,170,.2), rgba(120,214,170,0)); }
.mod { position: relative; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 50px 90px -40px rgba(20,27,19,.55); padding: 18px; color: var(--ink); }
.c-forest .mod { background: rgba(255,255,255,.96); }
.mod-h { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; }
.mod-h .t { font-size: 15px; font-weight: 620; letter-spacing: -.02em; }
.mod-h .s { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
[data-js] .scard .mod .trow, [data-js] .scard .mod .xrow { opacity: 0; transform: translate3d(0, 16px, 0); }
[data-js] .scard[data-in] .mod .trow, [data-js] .scard[data-in] .mod .xrow { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 250ms); }
.xrow { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
.xrow + .xrow { margin-top: 8px; }
.ring { width: 46px; height: 46px; border-radius: 99px; flex-shrink: 0; display: grid; place-items: center; background: conic-gradient(var(--rc) calc(var(--rv) * 1%), rgba(32,41,31,.08) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 99px; background: #fff; }
.ring b { position: relative; font-family: var(--mono); font-size: 10.5px; font-weight: 600; }
.toggle { width: 38px; height: 22px; border-radius: 99px; background: rgba(32,41,31,.14); position: relative; flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 99px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .5s var(--ease); }
.toggle.on { background: var(--verm); }
.toggle.on::after { transform: translateX(16px); }

/* ---------- horizontal year ---------- */
.year { height: 380vh; background: var(--porcelain); }
.year .pin { display: flex; flex-direction: column; justify-content: center; }
.year .yhead { position: absolute; left: 0; right: 0; top: clamp(100px, 13vh, 140px); }
.year .yhead .wide { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.htrack { display: flex; gap: 18px; padding-left: max(24px, calc((100vw - 1400px) / 2)); padding-right: 30vw; transform: translate3d(calc(var(--hx, 0) * -1px), 0, 0); will-change: transform; margin-top: clamp(120px, 14vh, 160px); }
.month { width: 340px; flex-shrink: 0; border-radius: 26px; padding: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -40px rgba(20,27,19,.4); transition: transform .8s var(--ease), box-shadow .8s var(--ease), background-color .8s ease; }
.month[data-c] { transform: translate3d(0, -14px, 0); box-shadow: 0 0 0 1px rgba(250,77,40,.35) inset, 0 40px 70px -40px rgba(250,77,40,.55); }
.month .mn { display: flex; align-items: baseline; justify-content: space-between; }
.month .mn b { font-size: 46px; font-weight: 620; letter-spacing: -.05em; }
.month .mn span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.month .ob { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; margin-top: 8px; font-size: 13px; font-weight: 520; transition: transform .7s var(--ease), opacity .7s ease; }
.month .ob:first-of-type { margin-top: 18px; }
.month .ob.uk { background: rgba(221,214,255,.6); color: var(--plum); }
.month .ob.ae { background: rgba(242,226,193,.7); color: var(--umber); }
.month .ob .d { margin-left: auto; font-family: var(--mono); font-size: 10.5px; opacity: .8; }
.month .today { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; font-weight: 500; padding: 4px 8px; border-radius: 99px; background: var(--verm); color: #fff; letter-spacing: .06em; }
.yprog { position: absolute; left: max(24px, calc((100vw - 1400px) / 2)); right: max(24px, calc((100vw - 1400px) / 2)); bottom: clamp(34px, 6vh, 60px); height: 2px; background: var(--line); border-radius: 2px; }
.yprog i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--hot); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- chase ---------- */
.chase { height: 300vh; background: var(--paper); }
.chase .pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4vw; padding: 0 max(32px, calc((100vw - 1240px) / 2)); }
.chase .cglow { position: absolute; right: 8%; top: 50%; width: 60vmin; height: 60vmin; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(250,77,40,.26), rgba(250,77,40,.08) 50%, transparent); pointer-events: none; }
.csteps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.cstep { position: relative; padding: 18px 0 18px 26px; transition: opacity .6s ease; opacity: .38; }
.cstep::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.cstep::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--verm); transform: scaleY(0); transform-origin: 50% 0; transition: transform .8s var(--ease); }
[data-step="0"] .cstep:nth-child(1), [data-step="1"] .cstep:nth-child(2), [data-step="2"] .cstep:nth-child(3), .scene:not([data-step]) .cstep:nth-child(1) { opacity: 1; }
[data-step="0"] .cstep:nth-child(1)::after, [data-step="1"] .cstep:nth-child(2)::after, [data-step="2"] .cstep:nth-child(3)::after { transform: scaleY(1); }
.cstep .t { font-size: clamp(22px, 1.8vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.cstep .b { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 6px; max-width: 420px; }
.phone { position: relative; justify-self: center; width: min(390px, 42vh); aspect-ratio: 9 / 19; border-radius: 48px; padding: 12px; background: linear-gradient(160deg, #2A3228, #11160F); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 60px 100px -40px rgba(20,27,19,.7), 0 30px 50px -30px rgba(250,77,40,.35); transform: perspective(1400px) rotateY(calc(var(--mx, 0) * -8deg)) rotateX(calc(var(--my, 0) * 6deg)); }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #EFEAE2; display: flex; flex-direction: column; }
.screen .top { display: flex; align-items: center; gap: 10px; padding: 34px 16px 12px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.screen .top .nm { font-size: 13.5px; font-weight: 620; }
.screen .top .st2 { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); margin-top: 2px; }
.screen .msgs { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.msg { max-width: 82%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 12.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); opacity: 0; transform: translate3d(0, 16px, 0) scale(.96); transition: opacity .6s var(--ease), transform .7s cubic-bezier(.2, 1.3, .35, 1); }
.msg.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: #D9F5DE; }
.msg .lk { color: #0F7A55; font-weight: 550; }
.msg .tm { display: block; text-align: right; font-family: var(--mono); font-size: 9px; color: var(--ink-3); margin-top: 4px; }
.msg.sys { align-self: center; max-width: 92%; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; display: flex; align-items: center; gap: 8px; }
.msg.file { display: flex; align-items: center; gap: 10px; }
.msg.file .fi2 { width: 26px; height: 32px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; position: relative; }
.msg.file .fi2::after { content: "PDF"; position: absolute; left: -3px; bottom: 3px; font-family: var(--mono); font-size: 7px; font-weight: 600; color: #fff; background: var(--verm); padding: 1px 3px; border-radius: 3px; }
.scene:not([data-step]) .msg.s0, [data-step] .msg.s0 { opacity: 1; transform: none; }
[data-step="1"] .msg.s1, [data-step="2"] .msg.s1, [data-step="2"] .msg.s2 { opacity: 1; transform: none; }
.msg.s1.b { transition-delay: .25s; } .msg.s1.c { transition-delay: .5s; } .msg.s2.b { transition-delay: .3s; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 99px; background: var(--ink-3); animation: typ 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ---------- compare (UK | UAE) ---------- */
.compare { position: relative; padding: 16vh 0; background: var(--porcelain); }
.cmp { position: relative; margin-top: 56px; border-radius: 30px; overflow: hidden; height: 560px; user-select: none; touch-action: pan-y; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -60px rgba(20,27,19,.5); transition: --split 1.1s var(--ease); }
.cmp.drag { transition: none; }
.cmp .side { position: absolute; inset: 0; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; }
.cmp .uk { background: linear-gradient(135deg, #EEEAFF 0%, #DDD6FF 60%, #CEC4FF 100%); color: var(--plum); }
.cmp .ae { background: linear-gradient(135deg, #FBF1DE 0%, #F2E2C1 60%, #EBD2A2 100%); color: var(--umber); clip-path: inset(0 0 0 var(--split)); }
.cmp .handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 0; z-index: 5; }
.cmp .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255,255,255,.9); box-shadow: 0 0 20px rgba(0,0,0,.15); }
.cmp .knob { position: absolute; top: 50%; left: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 99px; background: #fff; box-shadow: 0 16px 40px -12px rgba(20,27,19,.5), 0 0 0 6px rgba(255,255,255,.35); display: grid; place-items: center; cursor: ew-resize; }
.cmp .clock { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.55); }
.cmp .big { font-size: clamp(34px, 3.6vw, 56px); font-weight: 620; letter-spacing: -.05em; line-height: 1; margin-top: 20px; }
.cmp .card2 { border-radius: 20px; background: rgba(255,255,255,.88); padding: 18px; box-shadow: 0 30px 60px -36px rgba(20,27,19,.5); color: var(--ink); }
.cmp .lbl2 { position: absolute; top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.7); z-index: 4; }

/* ---------- scan scene ---------- */
.scan { height: 280vh; background: var(--night); color: var(--d-text); }
.scan .pin { --q: clamp(0, calc((var(--p, 1) - .12) / .5), 1); --v: clamp(0, calc((var(--p, 1) - .66) / .14), 1); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 5vw; padding: 0 max(32px, calc((100vw - 1240px) / 2)); background: radial-gradient(50% 60% at 70% 50%, #1B2619 0%, var(--night) 70%); }
.sheet { position: relative; justify-self: center; width: min(420px, 38vh); aspect-ratio: 1 / 1.3; border-radius: 16px; background: #FBFAF7; color: var(--ink); padding: 26px 24px; box-shadow: 0 60px 100px -40px rgba(0,0,0,.9); transform: perspective(1600px) rotateY(calc(-14deg + var(--q) * 14deg + var(--mx, 0) * -5deg)) rotateX(calc(6deg - var(--q) * 6deg + var(--my, 0) * 4deg)); }
.sheet .sh { display: flex; align-items: center; justify-content: space-between; }
.sheet .sh b { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.sheet .ln { height: 7px; border-radius: 4px; background: #ECE8E1; margin-top: 12px; }
.sheet .fld { position: relative; margin-top: 16px; padding: 10px 12px; border-radius: 10px; background: #F4F1EB; font-family: var(--mono); font-size: 11px; display: flex; justify-content: space-between; }
.sheet .fld::after { content: ""; position: absolute; inset: -3px; border-radius: 12px; box-shadow: 0 0 0 2px var(--fc, #25B36B); opacity: clamp(0, calc((var(--q) - var(--at)) * 14), 1); }
.sheet .fld .res { opacity: clamp(0, calc((var(--q) - var(--at)) * 14), 1); color: var(--fc, #17784A); font-weight: 600; }
.sheet .beam2 { position: absolute; left: -12px; right: -12px; top: calc(4% + var(--q) * 92%); height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--verm), transparent); box-shadow: 0 0 30px 8px rgba(250,77,40,.45); opacity: calc(1 - var(--v)); }
.verdict { position: absolute; left: 50%; bottom: -34px; width: 110%; transform: translate3d(-50%, calc((1 - var(--v)) * 40px), 0) scale(calc(.94 + var(--v) * .06)); opacity: var(--v); border-radius: 18px; padding: 16px 18px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(250,77,40,.3) inset, 0 40px 80px -30px rgba(0,0,0,.9); }
.verdict .vh { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #C9361A; }
.verdict p { margin: 8px 0 0; font-size: 16px; line-height: 1.4; font-weight: 550; letter-spacing: -.015em; }
.never { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.never div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--d-line) inset; font-size: 14px; color: var(--d-text-2); }

/* ---------- trust ---------- */
.trust { padding: 16vh 0; background: var(--night); color: var(--d-text); position: relative; overflow: hidden; }
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 60px; }
.tile { position: relative; border-radius: 22px; padding: 28px 24px 26px; background: rgba(255,255,255,.035); box-shadow: 0 0 0 1px var(--d-line) inset; overflow: hidden; min-height: 250px; display: flex; flex-direction: column; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 0%), rgba(250,77,40,.2), transparent 65%); opacity: 0; transition: opacity .5s ease; }
.tile:hover::before { opacity: 1; }
.tile .ti { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(250,77,40,.12); color: var(--verm); position: relative; }
.tile .tn { margin-top: auto; font-size: 44px; font-weight: 620; letter-spacing: -.05em; position: relative; }
.tile .tt { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-top: 8px; position: relative; }
.tile .tb { font-size: 14px; line-height: 1.55; color: var(--d-text-3); margin-top: 8px; position: relative; }
.count { --num: 0; counter-reset: n var(--num); transition: --num 1.8s var(--ease); }
.count::after { content: counter(n); }
[data-in].count, [data-in] .count { --num: var(--to); }
[data-reduced] .count { transition: none; --num: var(--to); }

/* ---------- pricing teaser ---------- */
.pteaser { position: relative; padding: 16vh 0 18vh; background: var(--porcelain); }
.seg { display: inline-flex; padding: 5px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 16px 30px -22px rgba(32,41,31,.4); position: relative; }
.seg button { position: relative; z-index: 2; height: 40px; padding: 0 18px; border-radius: 99px; font-size: 13.5px; font-weight: 550; color: var(--ink-3); transition: color .45s ease; }
.seg button[aria-pressed="true"] { color: #fff; }
.seg .knob2 { position: absolute; z-index: 1; top: 5px; bottom: 5px; border-radius: 99px; background: var(--ink); transition: left .6s var(--ease), width .6s var(--ease); }
.price-big { font-size: clamp(64px, 8vw, 128px); font-weight: 620; letter-spacing: -.06em; line-height: .9; }
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; vertical-align: top; width: var(--ow, auto); transition: width 1.1s var(--ease); }
.odo .col { display: flex; flex-direction: column; transition: transform 1.1s var(--ease); transform: translate3d(0, calc(var(--dg, 0) * -1em), 0); }
.odo .col span { height: 1em; }

/* ---------- final cta ---------- */
.fcta { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; background: linear-gradient(160deg, #FF6A3D 0%, #FA4D28 45%, #DC3A18 100%); color: #fff; }
.fcta .wm { position: absolute; left: 50%; top: 50%; width: min(90vmin, 900px); transform: translate(-50%, -50%) rotate(calc(var(--p, .5) * 60deg - 30deg)) scale(calc(.9 + var(--p, .5) * .3)); opacity: .16; filter: brightness(0) invert(1); pointer-events: none; }
.fcta .h2 { font-size: clamp(52px, 8vw, 132px); line-height: .92; letter-spacing: -.058em; color: #fff; }
.fcta .lead { color: rgba(255,255,255,.86); }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--porcelain); padding: 90px 0 0; overflow: hidden; }
.fgrid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.fgrid h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.fgrid a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 5px 0; transition: color .3s ease, transform .5s var(--ease); }
.fgrid a:hover { color: var(--verm); transform: translateX(4px); }
.fbase { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding: 20px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
.giant { width: min(1400px, calc(100% - 48px)); margin: 30px auto -3.2vw; }
.giant img { width: 100%; height: auto; transform: translate3d(0, calc((1 - var(--p, 1)) * 40%), 0); opacity: calc(.25 + var(--p, 1) * .75); }

/* ---------- misc ---------- */
.grain { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .5; z-index: 20; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.row { display: flex; align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a:not(.nav-ai) { display: none; }
  .nav-links a.nav-ai { margin-left: 0; }
  .scard .inner { grid-template-columns: 1fr; align-content: center; gap: 28px; }
  .scard .lead { max-width: none; }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { display: none; }
}
@media (max-width: 560px) {
  .nav-sign { display: none; }
  .nav-pill { padding: 0 7px 0 18px; gap: 10px; }
  .nav-logo img { height: 19px; }
  .nav-links a.nav-ai { height: 36px; padding: 0 12px 0 4px; font-size: 13px; gap: 7px; }
  .nav-links a.nav-ai .ai-p { width: 28px; height: 28px; }
  .nav-right .btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 40px); }
  .hchip { display: none; }
  .hchip.keep { display: block; }
  .hero-title { font-size: clamp(38px, 11vw, 68px); }
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  .hero-title .ln { white-space: normal; }
  .app-side { display: none; }
  .chase .pin, .scan .pin { grid-template-columns: 1fr; gap: 28px; padding: 90px 20px 30px; align-content: center; }
  .chase .ctext .csteps { display: none; }
  .phone { width: min(260px, 30vh); }
  .sheet { width: min(300px, 34vh); }
  .never { display: none; }
  .cmp { height: 640px; }
  .cmp .side { grid-template-columns: 1fr; padding: 70px 24px 24px; gap: 20px; align-content: start; }
  .scard .mod { display: none; }
  .scard .inner { padding: 32px 26px; }
  .month { width: 280px; }
  .btn { height: 50px; }
  .fbase { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-js] [data-rv], [data-js] [data-wipe], [data-js] [data-pop], [data-js] .words .w { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  [data-js] .curtain { display: none; }
}

/* ---------- generic tilt ---------- */
[data-tilt] { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .85s var(--ease), box-shadow .7s var(--ease); }

/* ---------- section hand-off: the old one locks, recedes and darkens while the next slides over ---------- */
[data-js] [data-exit] { position: sticky; top: min(0px, calc(100vh - var(--h, 100vh))); transform-origin: 50% calc(100% - 50vh); transform: scale(calc(1 - var(--x, 0) * .065)); }
[data-js] [data-exit]::after { content: ""; position: absolute; inset: 0; background: #0C110B; opacity: calc(var(--x, 0) * .5); pointer-events: none; z-index: 50; border-radius: inherit; }
.over { position: relative; border-radius: 40px 40px 0 0; box-shadow: 0 -40px 80px -40px rgba(12,17,11,.55); overflow: clip; }
.scene.over { position: relative; }
[data-js] [data-exit].scene { position: sticky; }
.app-main.has-rail .pview { right: 310px; }
.scanbox .doc2 { position: absolute; inset: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.scanbox .doc2 i { display: block; height: 7px; border-radius: 4px; background: #E7E2DA; }
.scanbox .doc2 .hl { position: absolute; left: -6px; right: 30%; top: 44px; height: 26px; border-radius: 7px; box-shadow: 0 0 0 2px rgba(250,77,40,.55); }
.year .pin { display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); justify-content: stretch; padding: clamp(100px, 13vh, 140px) 0 clamp(34px, 6vh, 60px); }
.year .yhead { position: static; }
.year .htrack { margin-top: 0; align-self: center; justify-self: start; width: max-content; }
.month { width: 360px; display: flex; flex-direction: column; }
.month .mfoot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.month .mfoot .bars { display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.month .mfoot .bars i { width: 5px; border-radius: 2px; }
.year .yprog { position: relative; left: auto; right: auto; bottom: auto; width: min(1400px, calc(100% - 48px)); margin: 0 auto; }

.mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin: 18px 0 6px; }
.mcal i { display: block; height: 9px; border-radius: 3px; }
.mcal i.b { background: transparent; }
.mcal i.on { transform: scaleY(1.35); }
.mcal i.t { box-shadow: 0 0 0 2px rgba(250,77,40,.35); }
.month[data-c] .mcal i.on { animation: calPulse 1.6s var(--ease) both; }
@keyframes calPulse { 0% { transform: scaleY(.4); opacity: .3; } 60% { transform: scaleY(1.6); } 100% { transform: scaleY(1.35); opacity: 1; } }


/* =================== PLATFORM =================== */
.phero { height: 260vh; background: var(--porcelain); }
.phero .pin { --a: clamp(0, calc(var(--p, 0) / .42), 1); --b: clamp(0, calc((var(--p, 0) - .42) / .38), 1); background: var(--porcelain); }
.phero .copy { position: absolute; left: 0; right: 0; top: clamp(100px, 13vh, 140px); z-index: 4; text-align: center; opacity: calc(1 - var(--b) * 1.3); transform: translate3d(0, calc(var(--b) * -90px), 0); }
.deck { position: absolute; left: 50%; top: 77%; width: 0; height: 0; z-index: 3; }
.dcard { position: absolute; left: -128px; top: -168px; width: 256px; height: 336px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px rgba(32,41,31,.07), 0 40px 80px -40px rgba(20,27,19,.45); padding: 20px; transform-origin: 50% 130%; will-change: transform;
  transform: translate3d(calc(var(--dx) * (1 - var(--a)) * 1px + var(--mx, 0) * var(--dz) * 16px), calc(var(--dy) * (1 - var(--a)) * 1px - var(--b) * var(--fy) * 1px + var(--my, 0) * var(--dz) * 8px), 0) rotate(calc(var(--rz) * (1 - var(--a)) * 1deg + var(--b) * var(--rz) * .6deg)); opacity: calc(1 - var(--b) * 1.15); }
.dcard .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; }
.dcard .nm { font-size: 21px; font-weight: 620; letter-spacing: -.03em; margin-top: 18px; }
.dcard .ds { font-size: 13px; line-height: 1.5; color: var(--ink-3); margin-top: 6px; }
.dcard .mini2 { position: absolute; left: 14px; right: 14px; bottom: 14px; border-radius: 14px; background: var(--paper); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.dcard .mini2 div { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 550; padding: 7px 8px; border-radius: 9px; background: #fff; }
.dcard .mini2 .due { padding: 3px 6px; font-size: 10px; }
[data-js] .dcard { animation: dealIn 1.3s var(--ease) backwards; animation-delay: calc(1.3s + var(--i) * 80ms); }
@keyframes dealIn { from { opacity: 0; translate: 0 140px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }

.mtour { height: 640vh; }
.mtour .pin { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 44px; align-items: center; padding: 108px max(28px, calc((100vw - 1340px) / 2)) 36px; transition: background-color .9s ease; }
.mtour[data-step="0"] .pin { background: #FBFAF8; }
.mtour[data-step="1"] .pin { background: #FFF1EA; }
.mtour[data-step="2"] .pin { background: #F8EEDC; }
.mtour[data-step="3"] .pin { background: #EEEBFF; }
.mtour[data-step="4"] .pin { background: #E8F2EC; }
.mtour[data-step="5"] .pin { background: #FFF0EC; }
.mtour[data-step="6"] .pin { background: #EAF5EE; }
.mlist { display: flex; flex-direction: column; gap: 4px; }
.mlist .mi { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 16px; text-align: left; opacity: .5; transition: opacity .5s ease, background-color .5s ease, box-shadow .5s ease, transform .6s var(--ease); }
.mlist .mi:hover { opacity: .85; transform: translateX(4px); }
.mlist .mi .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.mlist .mi .t { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.mlist .mi .s { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.mlist .mi .mb { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; overflow: hidden; }
.mlist .mi .mb i { display: block; height: 100%; background: var(--verm); transform-origin: 0 50%; transform: scaleX(0); }
[data-step="0"] .mlist .mi:nth-child(1),
[data-step="1"] .mlist .mi:nth-child(2),
[data-step="2"] .mlist .mi:nth-child(3),
[data-step="3"] .mlist .mi:nth-child(4),
[data-step="4"] .mlist .mi:nth-child(5),
[data-step="5"] .mlist .mi:nth-child(6),
[data-step="6"] .mlist .mi:nth-child(7) { opacity: 1; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 16px 34px -22px rgba(20,27,19,.45); }
[data-step="0"] .mlist .mi:nth-child(1) .mb i,
[data-step="1"] .mlist .mi:nth-child(2) .mb i,
[data-step="2"] .mlist .mi:nth-child(3) .mb i,
[data-step="3"] .mlist .mi:nth-child(4) .mb i,
[data-step="4"] .mlist .mi:nth-child(5) .mb i,
[data-step="5"] .mlist .mi:nth-child(6) .mb i,
[data-step="6"] .mlist .mi:nth-child(7) .mb i { transform: scaleX(1); transition: transform 1.2s var(--ease); }
.mstage { position: relative; height: min(640px, calc(100vh - 170px)); }
.mstage .app { height: 100%; }
.mstage .app-body { height: calc(100% - 46px); }
.mview { position: absolute; inset: 18px 20px; opacity: 0; transform: translate3d(0, 20px, 0) scale(.985); visibility: hidden; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .8s; }
[data-step="0"] .mview.v0,
[data-step="1"] .mview.v1,
[data-step="2"] .mview.v2,
[data-step="3"] .mview.v3,
[data-step="4"] .mview.v4,
[data-step="5"] .mview.v5,
[data-step="6"] .mview.v6 { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s 0s; }
.mtour:not([data-step]) .mview.v0 { opacity: 1; transform: none; visibility: visible; }
.mview .trow { opacity: 0; transform: translate3d(-12px, 0, 0); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
[data-step="0"] .mview.v0 .trow, [data-step="1"] .mview.v1 .trow, [data-step="2"] .mview.v2 .trow, [data-step="3"] .mview.v3 .trow, [data-step="4"] .mview.v4 .trow, [data-step="5"] .mview.v5 .trow, [data-step="6"] .mview.v6 .trow, .mtour:not([data-step]) .mview.v0 .trow { opacity: 1; transform: none; }
.mhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.mhead .h3 { font-size: clamp(22px, 2vw, 30px); }

.setup { position: relative; padding: 16vh 0; background: var(--porcelain); }
.srow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 60px; }
.sline { position: absolute; left: 34px; right: 20px; top: 33px; height: 2px; background: var(--line-2); border-radius: 2px; }
.sline i { position: absolute; inset: 0; background: var(--hot); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(clamp(0, calc((var(--p, 1) - .22) * 2.4), 1)); }
.sst { --on: clamp(0, calc((var(--p, 1) - .22) * 2.4 * 5 - var(--i) + .2), 1); position: relative; opacity: calc(.38 + var(--on) * .62); transform: translate3d(0, calc((1 - var(--on)) * 18px), 0); }
.sst .dot { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 18px 36px -22px rgba(20,27,19,.4); font-family: var(--mono); font-size: 13px; font-weight: 600; position: relative; z-index: 2; isolation: isolate; }
.sst .dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--verm); opacity: var(--on); z-index: -1; transform: scale(calc(.6 + var(--on) * .4)); }
.sst .dot b { color: color-mix(in oklab, #fff calc(var(--on) * 100%), var(--ink)); font-weight: 600; }
.sst .dot svg { position: relative; color: color-mix(in oklab, #fff calc(var(--on) * 100%), var(--ink)); }
.sst .t { font-size: 19px; font-weight: 620; letter-spacing: -.025em; margin-top: 22px; }
.sst .b { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin-top: 8px; }

.portal2 { height: 280vh; }
.portal2 .pin { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); grid-template-rows: auto 1fr; gap: 28px 40px; align-items: center; padding: 116px max(28px, calc((100vw - 1280px) / 2)) 40px; background: linear-gradient(160deg, #184634, #12382A 55%, #0C271D); color: var(--sage); }
.portal2 .ptext { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.pstep { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .6s var(--ease), transform .7s var(--ease); }
[data-step="0"] .ps0 { opacity: 1; transform: none; }
[data-step="1"] .ps1 { opacity: 1; transform: none; }
[data-step="2"] .ps2 { opacity: 1; transform: none; }
.portal2:not([data-step]) .ps0 { opacity: 1; transform: none; }
.vchip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 9px; font-family: var(--mono); font-size: 11px; background: var(--paper); }
.pflow { display: flex; gap: 6px; }
.pflow span { font-family: var(--mono); font-size: 10.5px; padding: 7px 10px; border-radius: 99px; background: rgba(210,231,216,.1); color: var(--sage); transition: background-color .5s ease, color .5s ease; }
[data-step="0"] .pflow span:nth-child(1), [data-step="1"] .pflow span:nth-child(2), [data-step="2"] .pflow span:nth-child(3), .portal2:not([data-step]) .pflow span:nth-child(1) { background: var(--verm); color: #fff; }

.durable { position: relative; padding: 16vh 0; background: var(--paper); }
.tl2 { position: relative; margin-top: 56px; padding-left: 56px; max-width: 820px; }
.tl2::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); }
.tl2 .fill { position: absolute; left: 17px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--verm), #25B36B); transform-origin: 50% 0; transform: scaleY(clamp(0, calc((var(--p, 1) - .18) * 1.9), 1)); }
.tev { --on: clamp(0, calc((var(--p, 1) - .18) * 1.9 * 5 - var(--i) + .4), 1); position: relative; padding: 0 0 34px; opacity: calc(.3 + var(--on) * .7); transform: translate3d(calc((1 - var(--on)) * 20px), 0, 0); }
.tev .nd { position: absolute; left: -50px; top: 2px; width: 24px; height: 24px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 2px var(--line-2) inset; display: grid; place-items: center; }
.tev .nd::after { content: ""; width: 10px; height: 10px; border-radius: 99px; background: var(--tc, var(--verm)); transform: scale(var(--on)); }
.tev .w { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tc, var(--verm)); }
.tev .t { font-size: clamp(20px, 1.8vw, 26px); font-weight: 620; letter-spacing: -.03em; margin-top: 6px; }
.tev .b { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 6px; }

.integr { position: relative; padding: 16vh 0 14vh; background: var(--porcelain); overflow: hidden; }
.marq { overflow: hidden; white-space: nowrap; margin-top: 56px; }
.marq .trk { display: inline-flex; gap: 56px; padding-right: 56px; animation: mqx 38s linear infinite; }
.marq.rev .trk { animation-direction: reverse; animation-duration: 44s; }
@keyframes mqx { to { transform: translateX(-50%); } }
.marq span { font-size: clamp(46px, 6.6vw, 104px); font-weight: 620; letter-spacing: -.05em; line-height: 1.05; color: transparent; -webkit-text-stroke: 1.4px rgba(32,41,31,.28); }
.marq span.f { color: var(--ink); -webkit-text-stroke: 0; }
.marq span.h { color: var(--verm); -webkit-text-stroke: 0; }
.igrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.itile { border-radius: 26px; padding: 30px 28px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -44px rgba(20,27,19,.45); min-height: 260px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.itile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%), rgba(250,77,40,.12), transparent 65%); opacity: 0; transition: opacity .5s ease; }
.itile:hover::before { opacity: 1; }
.itile .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--verm); position: relative; }
.itile .n { font-size: 28px; font-weight: 620; letter-spacing: -.035em; margin-top: auto; position: relative; }
.itile .b { font-size: 15px; line-height: 1.55; color: var(--ink-3); margin-top: 8px; position: relative; }

/* =================== REGIMES =================== */
.rhero { height: 240vh; background: var(--night); }
.rhero .pin { --o: clamp(0, calc((var(--p, 0) - .3) / .5), 1); background: radial-gradient(60% 60% at 50% 50%, #1D2A1B, var(--night) 72%); }
.door { position: absolute; top: 0; bottom: 0; overflow: hidden; z-index: 3; will-change: transform; }
.door.l { left: 0; width: var(--fx, 50%); background: linear-gradient(160deg, #F1EEFF 0%, #DDD6FF 55%, #C8BCFF 100%); color: var(--plum); transform: translate3d(calc(var(--o) * -101%), 0, 0); }
.door.r { left: var(--fx, 50%); right: 0; background: linear-gradient(200deg, #FCF3E2 0%, #F2E2C1 55%, #E8CB94 100%); color: var(--umber); transform: translate3d(calc(var(--o) * 101%), 0, 0); }
.door .dc { position: absolute; top: 0; bottom: 0; width: 50vw; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 5vw 11vh; }
.door.l .dc { left: 0; }
.door.r .dc { right: 0; align-items: flex-end; text-align: right; }
.door .city { font-size: clamp(64px, 9vw, 150px); font-weight: 650; letter-spacing: -.065em; line-height: .88; }
.door .clk { font-family: var(--mono); font-size: clamp(30px, 3.4vw, 54px); font-weight: 500; letter-spacing: -.02em; margin-top: 16px; }
.door .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.door.r .meta { justify-content: flex-end; }
.door .meta span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.6); }
.rtitle { position: absolute; left: 0; right: 0; top: clamp(112px, 17vh, 170px); z-index: 5; text-align: center; color: var(--ink); opacity: clamp(0, calc(1 - var(--o) * 6), 1); transform: translate3d(0, calc(var(--o) * -140px), 0) scale(calc(1 - var(--o) * .25)); pointer-events: none; }
.seam { position: absolute; top: 0; bottom: 0; left: var(--fx, 50%); width: 0; z-index: 6; opacity: calc(1 - var(--o) * 3); pointer-events: none; }
.seam::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255,255,255,.85); }
.seam b { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); display: grid; place-items: center; width: 76px; height: 76px; border-radius: 99px; background: #fff; box-shadow: 0 20px 50px -18px rgba(20,27,19,.5); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.behind { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; text-align: center; padding: 0 32px; opacity: clamp(0, calc((var(--o) - .22) * 2.4), 1); transform: scale(calc(.9 + var(--o) * .1)); }
.behind .h2 { color: var(--d-text); max-width: 1000px; }

.uae { height: 300vh; }
.uae .pin { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 110px max(28px, calc((100vw - 1280px) / 2)) 40px; background: linear-gradient(160deg, #FBF3E3, #F2E2C1 60%, #EFD9AE); color: var(--umber); }
.etabs { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; }
.etab { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 18px; border-radius: 16px; text-align: left; background: rgba(255,255,255,.35); box-shadow: 0 0 0 1px rgba(75,51,18,.12) inset; font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: var(--umber); opacity: .7; transition: all .5s var(--ease); }
.etab:hover { opacity: 1; transform: translateX(4px); }
.etab .mono { font-size: 11px; font-weight: 500; opacity: .75; }
[data-step="0"] .etab:nth-child(1), [data-step="1"] .etab:nth-child(2), [data-step="2"] .etab:nth-child(3), .uae:not([data-step]) .etab:nth-child(1) { opacity: 1; background: #fff; box-shadow: 0 0 0 1px rgba(75,51,18,.08) inset, 0 20px 40px -26px rgba(75,51,18,.55); }
.estage { position: relative; height: min(560px, calc(100vh - 170px)); }
.eview { position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 22px, 0); visibility: hidden; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .8s; }
[data-step="0"] .eview.e0, [data-step="1"] .eview.e1, [data-step="2"] .eview.e2, .uae:not([data-step]) .eview.e0 { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s 0s; }
.eview .mod { height: 100%; }
.thr { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.asks { margin-top: 12px; padding: 14px; border-radius: 16px; background: #F8F5EF; }
.ak-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 620; letter-spacing: -.01em; color: var(--ink-2); padding: 0 2px; }
.ak-h .mono { font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
.ak-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.ak { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
.ak-i { width: 8px; height: 8px; border-radius: 99px; margin-top: 5px; flex-shrink: 0; }
.ak-i.ok { background: #25B36B; }
.ak-i.wait { background: #E8A028; }
.ak-i.late { background: #FA4D28; box-shadow: 0 0 0 4px rgba(250,77,40,.16); animation: akp 1.8s ease-in-out infinite; }
@keyframes akp { 50% { box-shadow: 0 0 0 7px rgba(250,77,40,.05); } }
.ak-t { font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-s { font-family: var(--mono); font-size: 10px; color: var(--ink-3); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-js] .eview .mod > * { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .5s var(--ease), transform .7s var(--ease); }
[data-js] [data-step="0"] .eview.e0 .mod > *, [data-js] [data-step="1"] .eview.e1 .mod > *, [data-js] [data-step="2"] .eview.e2 .mod > *, [data-js] .uae:not([data-step]) .eview.e0 .mod > * { opacity: 1; transform: none; }
.eview .mod > :nth-child(2) { transition-delay: .06s; } .eview .mod > :nth-child(3) { transition-delay: .12s; } .eview .mod > :nth-child(4) { transition-delay: .18s; } .eview .mod > :nth-child(5) { transition-delay: .24s; } .eview .mod > :nth-child(6) { transition-delay: .3s; } .eview .mod > :nth-child(7) { transition-delay: .36s; } .eview .mod > :nth-child(8) { transition-delay: .42s; }
.thr span { font-family: var(--mono); font-size: 11px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.55); color: var(--umber); }

.wall { position: relative; padding: 16vh 0; background: var(--night); color: var(--d-text); overflow: hidden; }
.wrow { display: flex; gap: 14px; width: max-content; animation: mqx 50s linear infinite; margin-top: 16px; }
.wrow.rev { animation-direction: reverse; animation-duration: 58s; }
.wall:hover .wrow { animation-play-state: paused; }
.ecard { width: 300px; flex-shrink: 0; border-radius: 20px; padding: 18px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.09) inset; display: flex; align-items: center; gap: 14px; transition: background-color .4s ease, transform .6s var(--ease); }
.ecard:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.ecard .ring b { color: #fff; }
.ecard .ring::before { background: #141B13; }

.ukcalc { position: relative; padding: 16vh 0; background: linear-gradient(160deg, #F3F0FF, #DDD6FF 70%, #D1C8FF); color: var(--plum); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; }
.cbox { border-radius: 26px; padding: 30px; background: rgba(255,255,255,.72); box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset, 0 40px 80px -50px rgba(43,34,87,.6); }
.fld2 { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.fld2 label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(43,34,87,.7); }
.fld2 .inp { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(43,34,87,.14) inset; transition: box-shadow .3s ease; font-size: 22px; font-weight: 600; }
.fld2 .inp:focus-within { box-shadow: 0 0 0 2px var(--verm) inset; }
.fld2 input { border: 0; outline: 0; background: none; width: 100%; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--plum); }
.meter { position: relative; height: 16px; border-radius: 99px; background: rgba(43,34,87,.1); margin-top: 40px; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--mv, 0%); border-radius: 99px; background: linear-gradient(90deg, #7B6BE8, #FA4D28); transition: width .9s var(--ease); }
.meter .th { position: absolute; top: -8px; bottom: -8px; left: var(--tv, 50%); width: 2px; background: var(--plum); border-radius: 2px; }
.meter .th::after { content: attr(data-l); position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; white-space: nowrap; }
.verdict2 { font-size: clamp(28px, 2.8vw, 44px); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; margin-top: 18px; transition: color .5s ease; }

.srcs { position: relative; padding: 14vh 0; background: var(--porcelain); }
.ftable { margin-top: 44px; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.frow { display: grid; grid-template-columns: 120px minmax(0, 1.4fr) minmax(0, 1fr) 150px; gap: 20px; align-items: center; padding: 20px 26px; font-size: 15px; transition: background-color .35s ease; }
.frow + .frow { border-top: 1px solid var(--line); }
.frow:hover { background: #FBFAF7; }
.frow .src { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-align: right; }

/* =================== PRICING =================== */
.prhero { position: relative; padding: clamp(150px, 22vh, 210px) 0 9vh; background: var(--porcelain); text-align: center; overflow: hidden; }
.prhero .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.plans { position: relative; padding: 0 0 16vh; background: var(--porcelain); }
.plans .pg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1600px; --e: clamp(0, calc(var(--p, 1) * 2.4), 1); }
.plan { position: relative; border-radius: 30px; padding: 34px 30px 30px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 40px 80px -50px rgba(20,27,19,.5); display: flex; flex-direction: column; transform: translate3d(0, calc((1 - var(--e)) * (70px + var(--i) * 60px)), 0) rotateX(calc((1 - var(--e)) * 16deg)); opacity: calc(.2 + var(--e) * .8); }
.plan.feat { background: linear-gradient(180deg, #FFF6F2, #fff 40%); }
.plan.feat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px; background: conic-gradient(from var(--spin), #FA4D28, #FFB27A, #D6336A, #FF7A45, #FA4D28); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinB 6s linear infinite; pointer-events: none; }
@keyframes spinB { to { --spin: 360deg; } }
.plan .pn { display: flex; align-items: center; justify-content: space-between; }
.plan .pn b { font-size: 20px; font-weight: 640; letter-spacing: -.03em; }
.plan .tagf { font-family: var(--mono); font-size: 10.5px; padding: 6px 10px; border-radius: 99px; background: var(--verm); color: #fff; }
.plan .pp { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.plan .pp .price-big { font-size: clamp(54px, 5.4vw, 84px); }
.plan .was { font-family: var(--mono); font-size: 11.5px; color: #C9361A; margin-top: 8px; min-height: 16px; }
.plan .cap { font-size: 16px; font-weight: 600; margin-top: 16px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan li svg { flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: 28px; width: 100%; }
.plan [data-mag] { display: block; }
.switch { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 18px 0 8px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 16px 30px -22px rgba(32,41,31,.4); font-size: 13.5px; font-weight: 550; color: var(--ink-2); }
.switch .tr { width: 44px; height: 26px; border-radius: 99px; position: relative; transition: background-color .5s ease; }
.switch .tr i { position: absolute; top: 3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: left .55s var(--ease); }

.calcsec { position: relative; padding: 16vh 0; background: var(--ink); color: var(--d-text); overflow: hidden; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--verm) 0 var(--rv, 30%), rgba(255,255,255,.12) var(--rv, 30%) 100%); outline: none; margin-top: 28px; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 8px rgba(250,77,40,.25), 0 10px 24px rgba(0,0,0,.4); cursor: grab; transition: box-shadow .3s ease; }
.range::-webkit-slider-thumb:hover { box-shadow: 0 0 0 12px rgba(250,77,40,.3), 0 10px 24px rgba(0,0,0,.4); }
.range::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 99px; background: #fff; box-shadow: 0 0 0 8px rgba(250,77,40,.25); }
.rscale { position: relative; height: 16px; margin: 14px 17px 0; font-family: var(--mono); font-size: 11px; color: var(--d-text-3); }
.rscale span { position: absolute; top: 0; transform: translateX(-50%); }
.dots { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 9px; margin-top: 40px; max-width: 540px; }
.dots i { display: block; aspect-ratio: 1; border-radius: 99px; background: rgba(255,255,255,.08); transition: background-color .45s ease, box-shadow .45s ease, transform .6s var(--ease); }
.dots i.cap { background: transparent; box-shadow: 0 0 0 1.4px rgba(250,77,40,.5) inset; }
.dots i.on { background: var(--verm); transform: scale(1.12); box-shadow: 0 0 14px rgba(250,77,40,.5); }
.dcap { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-family: var(--mono); font-size: 11px; color: #8E978A; }
.dcap span { display: inline-flex; align-items: center; gap: 8px; }
.dcap .dk { width: 9px; height: 9px; border-radius: 99px; display: inline-block; }
.dcap .dk.on { background: var(--verm); }
.dcap .dk.cap { box-shadow: 0 0 0 1.4px rgba(250,77,40,.6) inset; }
.rec { border-radius: 26px; padding: 30px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }

.usage { position: relative; padding: 16vh 0; background: var(--paper); }
.ubar { position: relative; height: 22px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; margin-top: 80px; }
.ubar i { position: absolute; left: 3px; top: 3px; bottom: 3px; border-radius: 99px; width: calc(clamp(0, calc((var(--p, 1) - .2) * 2), 1) * (100% - 6px)); background: linear-gradient(90deg, #25B36B 0%, #E8A028 72%, #FA4D28 100%); }
.ubar .mk { position: absolute; top: -40px; bottom: -14px; width: 2px; background: var(--ink); border-radius: 2px; }
.ubar .mk span { position: absolute; top: -4px; left: 8px; white-space: nowrap; font-family: var(--mono); font-size: 11px; }
.ucols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 70px; }
.ucol { border-radius: 22px; padding: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
.ucol .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ucol .t { font-size: 22px; font-weight: 620; letter-spacing: -.03em; margin-top: 12px; }
.ucol .b { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); margin-top: 8px; }

.faq { position: relative; padding: 16vh 0; background: var(--porcelain); }
.qa { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; margin-top: 12px; overflow: hidden; transition: box-shadow .4s ease; }
.qa:hover { box-shadow: 0 0 0 1px var(--line-2) inset, 0 20px 40px -30px rgba(20,27,19,.45); }
.qa button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 24px 26px; text-align: left; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.qa .pl { width: 34px; height: 34px; border-radius: 99px; flex-shrink: 0; display: grid; place-items: center; background: var(--paper); transition: transform .6s var(--ease), background-color .4s ease; }
.qa.open .pl { transform: rotate(45deg); background: var(--verm); }
.qa.open .pl path { stroke: #fff; }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { margin: 0; padding: 0 26px 24px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 820px; }

@media (max-width: 1100px) {
  .app-main.has-rail .pview { right: 20px; }
  .mtour .pin { grid-template-columns: 1fr; gap: 20px; padding-top: 96px; }
  .mlist { flex-direction: row; overflow-x: auto; }
  .mlist .mi { flex-shrink: 0; width: auto; }
  .mlist .mi .s { display: none; }
  .srow, .igrid, .ucols { grid-template-columns: 1fr 1fr; }
  .plans .pg { grid-template-columns: 1fr; }
  .portal2 .pin, .uae .pin, .calc { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 90px 1fr; }
  .frow .src, .frow .x3 { display: none; }
}
@media (max-width: 860px) {
  .deck { transform: scale(.7); }
  .door .city { font-size: 44px; }
  .door .dc { padding: 0 16px 14vh; }
  .door .clk { font-size: 24px; }
  .door .meta span:nth-child(n+2) { display: none; }
  .srow, .igrid, .ucols { grid-template-columns: 1fr; }
  .uae .pin { padding: 84px 16px 18px; gap: 14px; align-content: start; }
  .uae .pin .lead, .uae .thr { display: none; }
  .uae .pin .h2 { font-size: 32px !important; }
  .etabs { flex-direction: row; overflow-x: auto; gap: 6px; margin-top: 16px; scrollbar-width: none; }
  .etab { flex-shrink: 0; width: auto; padding: 10px 14px; font-size: 13px; }
  .etab .mono { display: none; }
  .estage { height: calc(100vh - 270px); }
  .eview .trow .muted { display: none; }
  .eview .asks { display: none; }
  .dots { gap: 6px; }
  .calcsec .wrap, .faq .wrap, .pteaser .wrap, .durable .wrap { grid-template-columns: 1fr !important; gap: 34px !important; }
  .durable .wrap > div:first-child { position: static !important; }
  .mtour .pin { grid-template-columns: minmax(0, 1fr); }
  .mtour .pin > * { min-width: 0; }
  .mview .trow > .muted { display: none; }
  .portal2 .pin { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 96px 16px 20px; }
  .portal2 .ptext { flex-direction: column; align-items: flex-start; gap: 18px; }
  .portal2 .pin > .app { display: none; }
  .portal2 .phone { width: min(236px, 29vh) !important; }
  .product .ptop .lead { display: none; }
  .product .ptop .h2 { font-size: 34px; padding: 0 16px; }
  .product .stage { top: 290px; width: calc(100% - 32px); }
  .product .app { height: calc(100vh - 372px); }
  .app-bar .env, .app-h > .mono, .pview .trow > .muted { display: none; }
  .psteps .st { padding: 0 12px; font-size: 12px; }
  .year .yhead .wide { flex-direction: column; align-items: flex-start; gap: 14px; }
  .year .yhead .lead { font-size: 15px; }
  .cmp { height: auto; display: flex; flex-direction: column; }
  .cmp .side { position: relative; inset: auto; padding: 28px 22px 24px; }
  .cmp .ae { clip-path: none; }
  .cmp .handle, .cmp .lbl2 { display: none; }
  .faq .wrap > div:first-child { position: static !important; }
  .ubar .mk + .mk span { top: auto; bottom: -24px; }
  .qa button { font-size: 16px; padding: 20px; }
  .qa .ans p { padding: 0 20px 20px; font-size: 15px; }
}

.mtour[data-step="0"] .app-side .it:nth-child(1),
.mtour[data-step="1"] .app-side .it:nth-child(2),
.mtour[data-step="2"] .app-side .it:nth-child(3),
.mtour[data-step="3"] .app-side .it:nth-child(4),
.mtour[data-step="4"] .app-side .it:nth-child(5),
.mtour[data-step="5"] .app-side .it:nth-child(6),
.mtour[data-step="6"] .app-side .it:nth-child(7) { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset, 0 6px 14px -10px rgba(32,41,31,.4); }
.mtour:not([data-step]) .app-side .it:nth-child(1) { background: #fff; color: var(--ink); }
.mtour .app-side .it { transition: background-color .5s ease, color .5s ease, box-shadow .5s ease; }

/* =====================================================================
   PHONE LAYER (v2.1)
   Everything below applies only at 1100px wide and narrower, or on touch
   screens ([data-touch] is set by the motion engine). The desktop design
   above is unchanged.
   ===================================================================== */

/* the phone menu and the touch hints never show on desktop */
.nav-menu, .mnav { display: none; }
.hint-touch { display: none; }
[data-touch] .hint-fine { display: none; }
[data-touch] .hint-touch { display: inline; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* touch: no grey flash on tap, a small press on buttons, bigger chips, doors that take a sideways drag */
[data-touch] a, [data-touch] button { -webkit-tap-highlight-color: transparent; }
[data-touch] .btn { transition: box-shadow .6s var(--ease), background-color .4s ease, color .4s ease, border-color .4s ease, transform .25s var(--ease); }
[data-touch] .btn:active { transform: scale(.965); }
[data-touch] .ctl .grp button { height: 36px; padding: 0 14px; }
[data-touch] [data-follow] { touch-action: pan-y; }

@media (max-width: 1100px) {
  /* menu button: two lines that fold into a cross */
  .nav-menu { display: inline-grid; place-items: center; position: relative; flex-shrink: 0; width: 42px; height: 42px; border-radius: 99px; background: rgba(32,41,31,.07); color: var(--ink); transition: background-color .4s ease, color .4s ease, transform .5s var(--ease); }
  .nav-menu span { position: absolute; left: 13px; right: 13px; height: 1.7px; border-radius: 2px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
  .nav-menu span:first-child { top: 16.5px; }
  .nav-menu span:last-child { top: 23.8px; }
  .nav-menu:active { transform: scale(.9); }
  [data-menu-open] .nav-menu { background: var(--ink); color: #fff; }
  [data-menu-open] .nav-menu span { top: 20.15px; }
  [data-menu-open] .nav-menu span:first-child { transform: rotate(45deg); }
  [data-menu-open] .nav-menu span:last-child { transform: rotate(-45deg); }
  [data-menu-open] .nav { transform: none; }

  /* the menu opens as a circle from the button, the pages rise in one by one */
  .mnav { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 89; padding: 104px 24px calc(26px + env(safe-area-inset-bottom, 0px)); background: radial-gradient(120% 70% at 100% 0%, rgba(255,106,61,.16), transparent 60%), rgba(251,250,248,.97); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); clip-path: circle(0px at calc(100% - 44px) 44px); visibility: hidden; pointer-events: none; overflow-y: auto; overscroll-behavior: contain; transition: clip-path .75s var(--ease-io), visibility 0s linear .75s; }
  [data-menu-open] .mnav { clip-path: circle(160vmax at calc(100% - 44px) 44px); visibility: visible; pointer-events: auto; transition: clip-path .9s var(--ease-io), visibility 0s linear 0s; }
  .mnav-links { display: flex; flex-direction: column; }
  .mnav-links a { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-size: clamp(36px, 11vw, 52px); font-weight: 600; line-height: 1.02; letter-spacing: -.05em; color: var(--ink); opacity: 0; transform: translate3d(0, 38px, 0); transition: opacity .35s ease, transform .5s var(--ease), color .3s ease; }
  [data-menu-open] .mnav-links a { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease), color .3s ease; transition-delay: calc(.16s + var(--i, 0) * 65ms); }
  .mnav-links a[aria-current="page"] { color: var(--verm); }
  .mnav-links a:active { opacity: .55; }
  .mnav-ai .ai-p { width: 44px; height: 44px; }
  .mnav-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 28px; opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .35s ease, transform .5s var(--ease); }
  [data-menu-open] .mnav-foot { opacity: 1; transform: none; transition: opacity .8s var(--ease) .48s, transform 1s var(--ease) .48s; }
  .mnav-foot .btn { flex: 1; height: 56px; }
  .mnav-sign { display: inline-flex; align-items: center; height: 56px; padding: 0 20px; border-radius: 99px; font-size: 15px; font-weight: 550; color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
  .mnav-note { margin: 18px 0 0; font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); opacity: 0; transition: opacity .3s ease; }
  [data-menu-open] .mnav-note { opacity: 1; transition: opacity .8s ease .6s; }
  /* the On AI world keeps its menu dark */
  .ai-site .mnav { background: radial-gradient(120% 70% at 100% 0%, rgba(250,77,40,.22), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(123,97,255,.16), transparent 60%), rgba(5,6,10,.96); }
  .ai-site .mnav-links a { color: #F4F1EC; }
  .ai-site .mnav-links a[aria-current="page"] { color: #FF8A5C; }
  .ai-site .mnav-sign { color: #F4F1EC; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset; }
  .ai-site .mnav-note { color: rgba(244,241,236,.5); }

  /* tab rows that scroll sideways: soft edges, snap, and no scrollbar */
  .mlist, .etabs { scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 34px), transparent); }
  .mlist::-webkit-scrollbar, .etabs::-webkit-scrollbar { display: none; }
  .mlist .mi, .etab { scroll-snap-align: center; }

  /* thresholds: the amount and its source sit under the name instead of disappearing */
  .frow { grid-template-columns: 74px minmax(0, 1fr); column-gap: 14px; row-gap: 5px; align-items: start; padding: 16px 18px; }
  .frow .x3 { display: block; grid-column: 2; font-size: 14px; color: var(--ink-2); }
  .frow .src { display: block; grid-column: 2; text-align: left; }
}

@media (max-width: 860px) {
  /* pinned stages fit the part of the screen you can see, Safari's toolbar included */
  .pin { height: 100vh; height: 100svh; min-height: 0; }
  .scard { height: calc(100vh - 136px); height: calc(100svh - 136px); min-height: 0; }

  /* stacked cards darken under a light overlay instead of a filter, which is smoother on phones */
  .scard { filter: none; }
  .scard::after { content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; background: #0C110B; opacity: calc(var(--c, 0) * .3); pointer-events: none; }

  /* platform tour: the app view fits under the tabs */
  .mstage { height: calc(100vh - 300px); height: calc(100svh - 300px); min-height: 340px; }
  .mview .trow { height: auto; min-height: 46px; padding-top: 7px; padding-bottom: 7px; }
  .mview .trow > span:nth-child(2) { overflow-wrap: break-word; line-height: 1.3; }
  .mview .trow .due { flex-shrink: 0; }

  /* bigger taps: footer links and the logo */
  .fgrid a { padding: 9px 0; }
  .nav-logo { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 560px) {
  /* home: a shorter dark pause between the fly-through and the statement */
  .hero { height: 250vh; }
  .statement { height: 240vh; }
  .hero-title { font-size: clamp(34px, 10.6vw, 46px); }
  .hero-title .ln { text-wrap: balance; }

  /* home: the six documents land on screen, two to a row, just under "goes and gets them" */
  .resolve .h2 { font-size: 36px; }
  .doc { top: calc(56% + 84px); margin-top: 0; width: 160px; margin-left: -80px; gap: 9px; padding: 9px 10px; border-radius: 13px; transform: translate3d(calc(var(--sx) * .5 * (1 - var(--k)) * 1px + var(--mex, 0) * var(--k) * 1px), calc(var(--sy) * .75 * (1 - var(--k)) * 1px + var(--mey, 0) * var(--k) * 1px), 0) rotate(calc(var(--rt) * (1 - var(--k)) * 1deg)); }
  .doc .fi { width: 22px; height: 28px; }
  .doc .dn { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 108px; }
  .doc .dm { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 108px; }
  .doc .ok { display: none; }
  .docs .doc:nth-child(1) { --mex: -82; --mey: 0; }
  .docs .doc:nth-child(2) { --mex: 82; --mey: 0; }
  .docs .doc:nth-child(3) { --mex: -82; --mey: 56; }
  .docs .doc:nth-child(4) { --mex: 82; --mey: 56; }
  .docs .doc:nth-child(5) { --mex: -82; --mey: 112; }
  .docs .doc:nth-child(6) { --mex: 82; --mey: 112; }

  /* home: a year of cards that fit the screen */
  .month { width: min(292px, calc(100vw - 68px)); padding: 20px; }
  .htrack { gap: 12px; padding-left: 20px; }

  /* home: the old chat phone (kept for reference) fits with its heading */
  .chase .phone { width: min(230px, 27vh); width: min(230px, 27svh); }

  /* platform: the seven cards fan below the heading, gather into one, and fade where they are.
     They never travel up through the words. */
  .phero { height: 180vh; }
  .phero .pin { --b: clamp(0, calc((var(--p, 0) - .4) / .4), 1); }
  .deck { top: 71%; transform: scale(.56); }
  .dcard { transform: translate3d(calc(var(--dx) * .2 * (1 - var(--a)) * 1px + var(--mx, 0) * var(--dz) * 8px), calc(var(--dy) * .45 * (1 - var(--a)) * 1px + var(--b) * 60px + var(--my, 0) * var(--dz) * 5px), 0) rotate(calc(var(--rz) * .5 * (1 - var(--a)) * 1deg)) scale(calc(1 - var(--b) * .18)); opacity: calc(1 - var(--b) * 1.5); }
  .phero .copy { opacity: 1; transform: none; }
  .phero .hero-cue { display: none; }

  /* pricing: the badge stays on one line */
  .prhero .hero-pill { font-size: 10.5px; letter-spacing: .03em; gap: 9px; padding: 0 13px 0 10px; white-space: nowrap; }

  /* platform tour rows: the label chip shrinks to its text so names wrap between words */
  .mview { inset: 14px 12px; }
  .mview .trow { gap: 8px; padding-left: 6px; padding-right: 6px; }
  .mview .trow .code { min-width: 0; padding: 5px 6px; }
}

@media (max-width: 560px) and (max-height: 640px) {
  /* short phones (small iPhones with Safari's toolbar showing): lift "goes and gets them" and its documents */
  .resolve { top: 50%; }
  .doc { top: calc(50% + 80px); }
}

@media (max-width: 400px) {
  /* narrow phones: logo, On AI, Book a demo and the menu button all fit in the bar */
  .nav-pill { padding: 0 6px 0 14px; gap: 6px; }
  .nav-links a.nav-ai { padding: 0 10px 0 4px; gap: 6px; }
  .nav-right { gap: 4px; }
  .nav-right .btn-sm { padding: 0 12px; }
  .nav-menu { width: 38px; height: 38px; }
  .nav-menu span { left: 11px; right: 11px; }
  .nav-menu span:first-child { top: 14.5px; }
  .nav-menu span:last-child { top: 21.8px; }
  [data-menu-open] .nav-menu span { top: 18.15px; }
}

/* =====================================================================
   SELF-PLAYING DEMOS (v3)
   Each demo plays like a short video while it is on screen (ondues-demo.js).
   Its state arrives as data-s-* attributes on the demo root. The phone layout
   comes from a container query on the demo itself, so it follows the space
   the demo has, not the size of the screen.
   ===================================================================== */
.demo { position: relative; container-type: inline-size; container-name: demo; }
.dm-stage { position: relative; }

/* cursor, click ripple and the tap mark used on phone layouts */
.dm-cur { position: absolute; left: -5px; top: -3px; z-index: 40; width: 24px; height: 24px; pointer-events: none; opacity: 0; transition: opacity .35s ease; filter: drop-shadow(0 3px 5px rgba(0,0,0,.28)); will-change: transform; }
.dm-cur svg { display: block; transform-origin: 5px 3px; }
.dm-cur.on { opacity: 1; }
.dm-cur.press svg { animation: dmPress .34s var(--ease); }
@keyframes dmPress { 0% { transform: scale(1); } 35% { transform: scale(.8); } 100% { transform: scale(1); } }
.dm-rip, .dm-tap { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 39; pointer-events: none; }
.dm-rip::after { content: ""; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(250,77,40,.16); box-shadow: 0 0 0 1.5px rgba(250,77,40,.6) inset; opacity: 0; transform: scale(.3); }
.dm-rip.go::after { animation: dmRip .62s var(--ease) forwards; }
@keyframes dmRip { 0% { opacity: .95; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.35); } }
.dm-tap::after { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(32,41,31,.16); box-shadow: 0 0 0 1.5px rgba(255,255,255,.9) inset, 0 6px 18px rgba(20,27,19,.24); opacity: 0; }
.dm-tap.go::after { animation: dmTap .72s var(--ease) forwards; }
@keyframes dmTap { 0% { opacity: 0; transform: scale(1.3); } 24% { opacity: 1; transform: scale(.8); } 55% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }

/* chapters and the pause button: the demo's own video controls */
.dm-ctrl { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; }
.dm-chs { display: flex; gap: 4px; padding: 5px; border-radius: 99px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: rgba(255,255,255,.78); box-shadow: 0 0 0 1px var(--line) inset, 0 14px 34px -22px rgba(20,27,19,.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dm-chs::-webkit-scrollbar { display: none; }
.dm-ch { position: relative; flex-shrink: 0; height: 40px; padding: 0 18px; border-radius: 99px; font-size: 13.5px; font-weight: 560; color: var(--ink-3); transition: color .35s ease, background-color .35s ease, box-shadow .35s ease; }
.dm-ch:hover { color: var(--ink); }
.dm-ch[data-on] { color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 8px 18px -12px rgba(20,27,19,.4); }
.dm-ch .pf { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(32,41,31,.09); overflow: hidden; opacity: 0; transition: opacity .35s ease; }
.dm-ch[data-on] .pf { opacity: 1; }
.dm-ch .pf::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--verm); transform-origin: 0 50%; transform: scaleX(var(--pf, 0)); }
.dm-pp { width: 50px; height: 50px; flex-shrink: 0; border-radius: 99px; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.78); box-shadow: 0 0 0 1px var(--line) inset, 0 14px 34px -22px rgba(20,27,19,.45); transition: transform .3s var(--ease), background-color .3s ease; }
.dm-pp:hover { background: #fff; }
.dm-pp:active { transform: scale(.94); }
.dm-pp .i-play { display: none; }
[data-dm-paused] .dm-pp .i-play { display: block; }
[data-dm-paused] .dm-pp .i-pause { display: none; }
[data-dm-still] .dm-pp { display: none; }

/* ---------- the home loop ---------- */
.loop { background: var(--paper); padding: clamp(96px, 13vh, 150px) 0 clamp(90px, 12vh, 140px); }
.loop-head { text-align: center; margin-bottom: clamp(30px, 4.4vh, 52px); }
.loop-head .h2 { font-size: clamp(34px, 3.7vw, 58px); }
@media (max-width: 640px) { .loop-head .h2 { font-size: clamp(30px, 8.6vw, 40px); } }
.dm-loop { width: min(1180px, 100%); margin: 0 auto; }
.dm-app { position: relative; height: 566px; border-radius: 18px; background: #fff; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(32,41,31,.1), 0 2px 0 rgba(255,255,255,.8) inset, 0 60px 120px -50px rgba(20,27,19,.55), 0 30px 60px -40px rgba(20,27,19,.3); transition: opacity .45s ease; }
[data-dm-gap] .dm-app { opacity: .6; }
.dm-top { height: 46px; flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); background: linear-gradient(#FDFCFA, #F7F5F1); }
.dm-top .tl { display: flex; gap: 7px; }
.dm-top .tl i { width: 11px; height: 11px; border-radius: 99px; background: #E8E3DB; }
.dm-top .tl i:nth-child(1) { background: #FF6B57; } .dm-top .tl i:nth-child(2) { background: #FDBA2C; } .dm-top .tl i:nth-child(3) { background: #2FC46A; }
.dm-top .crumb { font-size: 12.5px; font-weight: 550; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.dm-top .crumb img { height: 14px; width: auto; }
.dm-top .env { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ink-3); }
.dm-top .env b { font-weight: 500; padding: 4px 8px; border-radius: 7px; background: var(--paper); color: var(--ink-2); }
.dm-mtop { display: none; }
.dm-body { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: 208px minmax(0, 1fr) 300px; }
.dm-side { padding: 14px 10px; border-right: 1px solid var(--line); background: #FBFAF7; display: flex; flex-direction: column; gap: 2px; }
.dm-side .it { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.dm-side .it svg { width: 15px; height: 15px; flex-shrink: 0; }
.dm-side .it .ct { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.dm-side .it[data-hot] { background: rgba(32,41,31,.05); }
.dm-side .grp { margin: 14px 10px 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.dm-side .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line) inset; background: #fff; }
[data-s-view="dl"] .dm-side .nv-dl, [data-s-view="rq"] .dm-side .nv-rq, [data-s-view="ck"] .dm-side .nv-ck { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset, 0 6px 14px -10px rgba(32,41,31,.4); }
.dm-main { position: relative; min-width: 0; }
.dm-view { position: absolute; inset: 18px 20px; opacity: 0; visibility: hidden; transform: translate3d(0, 14px, 0); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .7s; }
[data-s-view="dl"] .dm-view[data-v="dl"], [data-s-view="rq"] .dm-view[data-v="rq"], [data-s-view="ck"] .dm-view[data-v="ck"] { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease) .12s, transform .75s var(--ease) .12s, visibility 0s 0s; }
.dm-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-height: 30px; }
.dm-h .t { font-size: 18px; font-weight: 620; letter-spacing: -.025em; }
.dm-h .s { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-h .chips { display: flex; gap: 6px; margin-left: auto; flex-shrink: 0; }
.dm-list { display: flex; flex-direction: column; }
.dm-row { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 12px; border-radius: 11px; font-size: 13px; transition: background-color .35s ease, box-shadow .35s ease; }
.dm-row + .dm-row { box-shadow: 0 -1px 0 var(--line); }
.dm-row .tt { flex: 1; min-width: 0; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-row .mt { width: 110px; flex-shrink: 0; font-size: 12.5px; color: var(--ink-3); }
.dm-row[data-hot] { background: #F6F3EE; }
.dm-view .dm-row { opacity: 0; transform: translate3d(-12px, 0, 0); transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .35s ease, box-shadow .35s ease; }
[data-s-view="dl"] [data-v="dl"] .dm-row, [data-s-view="rq"] [data-v="rq"] .dm-row { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms + 180ms), calc(var(--i, 0) * 60ms + 180ms), 0s, 0s; }
[data-s-panel="ct"] .r-ct, [data-s-panel="bk"] .r-bk { background: #FFF4EF; box-shadow: 0 0 0 1px rgba(250,77,40,.3) inset; }
.due.sw { background: rgba(232,160,40,.16); color: #95600A; transition: background-color .4s ease, color .4s ease; }
.due.sw b { display: none; font-weight: 500; }
[data-s-bk="a"] .due.sw .w-a, [data-s-bk="b"] .due.sw .w-b, [data-s-bk="c"] .due.sw .w-c { display: inline; }
[data-s-bk="c"] .due.sw { background: rgba(37,179,107,.14); color: #17784A; }

/* the right column: the client summary, with the detail panel sliding over it */
.dm-rail { border-left: 1px solid var(--line); background: #FCFBF9; padding: 18px; }
.dm-rail .rk { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.av.mail { background: #20291F; }
.dm-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 300px; z-index: 6; background: #fff; border-left: 1px solid var(--line); box-shadow: -30px 0 60px -42px rgba(20,27,19,.4); transform: translate3d(102%, 0, 0); transition: transform .7s var(--ease); }
[data-s-panel="ct"] .dm-panel, [data-s-panel="bk"] .dm-panel { transform: none; }
.dm-grab { display: none; }
.dm-p { position: absolute; inset: 20px 18px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
[data-s-panel="ct"] .dm-p[data-p="ct"], [data-s-panel="bk"] .dm-p[data-p="bk"] { opacity: 1; visibility: visible; transition: opacity .45s ease .2s, visibility 0s 0s; }
.dm-p .ph { display: flex; align-items: center; gap: 10px; }
.dm-p .ph .due { margin-left: auto; }
.dm-p .pt { font-size: 17px; font-weight: 640; letter-spacing: -.02em; line-height: 1.2; margin-top: 14px; }
.dm-p .ps { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-top: 6px; }
.dm-p .pk { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 20px 0 10px; }
.need { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; font-size: 12.5px; font-weight: 520; box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .4s ease; }
.need + .need { margin-top: 6px; }
.need i { position: relative; width: 16px; height: 16px; border-radius: 99px; flex-shrink: 0; transition: background-color .4s ease; }
.need.ok i { background: rgba(37,179,107,.18); }
.need.ok i::after { content: ""; position: absolute; left: 5.6px; top: 3.4px; width: 3.6px; height: 6.6px; border: solid #17784A; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.need.miss i { background: rgba(250,77,40,.14); }
.need.miss i::after { content: ""; position: absolute; inset: 5px; border-radius: 99px; background: #FA4D28; transition: background-color .4s ease; }
.need b { margin-left: auto; font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: #17784A; }
.need.miss .m1 { color: #C9361A; }
.need.miss .m2 { display: none; color: #95600A; }
[data-s-req="1"] .need.miss { background: #FFFBF2; }
[data-s-req="1"] .need.miss i { background: rgba(232,160,40,.2); }
[data-s-req="1"] .need.miss i::after { background: #E8A028; }
[data-s-req="1"] .need.miss .m1 { display: none; }
[data-s-req="1"] .need.miss .m2 { display: inline; }
.dm-btn { display: flex; align-items: center; justify-content: center; height: 42px; margin-top: 16px; padding: 0 16px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 580; letter-spacing: -.005em; transition: background-color .35s ease, color .35s ease, transform .2s var(--ease), box-shadow .35s ease; }
.dm-btn .l2 { display: none; }
.dm-btn[data-hot] { transform: scale(.975); background: #0F140E; }
[data-s-req="1"] [data-t="btn-req"] { background: #F1EEE8; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; }
[data-s-req="1"] [data-t="btn-req"] .l1 { display: none; }
[data-s-req="1"] [data-t="btn-req"] .l2 { display: inline; }
.dm-btn.sm { height: 36px; margin: 0 0 0 auto; padding: 0 14px; flex-shrink: 0; font-size: 12.5px; }
[data-s-sent="1"] [data-t="btn-send"] { background: #25B36B; }
[data-s-sent="1"] [data-t="btn-send"] .l1 { display: none; }
[data-s-sent="1"] [data-t="btn-send"] .l2 { display: inline; }
.dm-p .pn { font-size: 12px; line-height: 1.45; color: var(--ink-3); margin-top: 12px; }
.dm-p .pn .l2 { display: none; }
[data-s-req="1"] .dm-p .pn .l1 { display: none; }
[data-s-req="1"] .dm-p .pn .l2 { display: inline; }
.tl3 { position: relative; display: flex; flex-direction: column; gap: 16px; }
.tl3::before { content: ""; position: absolute; left: 7.5px; top: 10px; bottom: 10px; width: 1.5px; background: var(--line-2); }
.tv { position: relative; display: flex; align-items: flex-start; gap: 12px; }
.tv i { position: relative; z-index: 1; width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1.5px var(--line-2) inset; transition: background-color .45s ease, box-shadow .45s ease; }
.tv b { display: block; font-size: 13px; font-weight: 600; }
.tv span { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.tv em { font-style: normal; }
.tv .p1 { display: none; }
.tv.done i { background: var(--ink); box-shadow: none; }
[data-s-tv="1"] .t-c1 i, [data-s-tv="2"] .t-c1 i { background: #E8A028; box-shadow: 0 0 0 4px rgba(232,160,40,.18); }
[data-s-tv="1"] .t-c1 .p0, [data-s-tv="2"] .t-c1 .p0 { display: none; }
[data-s-tv="1"] .t-c1 .p1, [data-s-tv="2"] .t-c1 .p1 { display: inline; }
[data-s-tv="2"] .t-up i { background: #25B36B; box-shadow: 0 0 0 4px rgba(37,179,107,.18); }
[data-s-tv="2"] .t-up .p0 { display: none; }
[data-s-tv="2"] .t-up .p1 { display: inline; }

/* upload check */
.ckg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ckg .scanbox { height: 196px; }
.dm-loop .scanbox .beam { animation: none; opacity: 0; }
.dm-loop[data-s-scan="1"] .scanbox .beam { opacity: 1; animation: beam 1.35s cubic-bezier(.45, 0, .55, 1) 4 alternate forwards; }
.dm-loop .scanbox .hl { opacity: 0; transition: opacity .5s ease; }
.dm-loop[data-s-scan="1"] .scanbox .hl { opacity: 1; transition-delay: 3.1s; }
.ckf { display: flex; flex-direction: column; gap: 8px; }
.cf { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 11px; font-size: 12.5px; box-shadow: 0 0 0 1px rgba(32,41,31,.08) inset; transition: background-color .5s ease, box-shadow .5s ease; }
.cf .k { width: 54px; flex-shrink: 0; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.cf .v { font-weight: 560; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf .due { opacity: 0; transform: scale(.8); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.dm-loop[data-s-scan="1"] .cf .due { opacity: 1; transform: none; transition-delay: calc(800ms + var(--k, 0) * 620ms); }
.dm-loop[data-s-scan="1"] .cf.bad { background: #FFF4EF; box-shadow: 0 0 0 1px rgba(250,77,40,.3) inset; transition-delay: 2.66s; }
.ck-clock b { font-weight: 500; }
.ck-clock .c1 { display: none; }
[data-s-ckt="1"] .ck-clock .c0 { display: none; }
[data-s-ckt="1"] .ck-clock .c1 { display: inline; }
.ckv { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 12px 12px 14px; border-radius: 12px; background: #FFF4EF; box-shadow: 0 0 0 1px rgba(250,77,40,.25) inset; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.dm-loop[data-s-scan="1"] .ckv { opacity: 1; transform: none; transition-delay: 3.4s; }
.ckv .due { margin-left: 0; }
.ckv .tx { font-size: 13px; font-weight: 600; line-height: 1.35; }

/* the toast that confirms what just happened */
.dm-toast { position: absolute; left: 50%; bottom: 24px; z-index: 30; pointer-events: none; }
.dm-toast > span { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 11px; border-radius: 99px; white-space: nowrap; background: #20291F; color: #fff; font-size: 13px; font-weight: 550; box-shadow: 0 18px 40px -16px rgba(20,27,19,.6); opacity: 0; transform: translate3d(-50%, 14px, 0) scale(.96); transition: opacity .4s var(--ease), transform .55s var(--ease); }
.dm-toast i { position: relative; width: 18px; height: 18px; border-radius: 99px; background: #25B36B; flex-shrink: 0; }
.dm-toast i::after { content: ""; position: absolute; left: 6.2px; top: 3.8px; width: 4px; height: 7.6px; border: solid #fff; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
[data-s-toast="req"] .tt-req, [data-s-toast="up"] .tt-up, [data-s-toast="sent"] .tt-sent { opacity: 1; transform: translate3d(-50%, 0, 0); }
.dm-tabs { display: none; }

/* phone layout: the product as it looks on a phone, inside a device */
@container demo (max-width: 640px) {
  .dm-app { width: min(354px, 100%); height: clamp(500px, calc(100svh - 250px), 620px); margin: 0 auto; border-radius: 40px; box-shadow: 0 0 0 7px #131711, 0 0 0 8px rgba(255,255,255,.22), 0 46px 90px -34px rgba(20,27,19,.62); }
  .dm-top, .dm-side, .dm-rail { display: none; }
  .dm-mtop { display: flex; align-items: center; gap: 12px; height: 70px; flex-shrink: 0; padding: 20px 16px 0; border-bottom: 1px solid var(--line); background: linear-gradient(#FDFCFA, #F9F7F3); }
  .dm-mtop .bk { flex-shrink: 0; opacity: .7; }
  .dm-mtop > div { min-width: 0; flex: 1; }
  .dm-mtop .nm { font-size: 14.5px; font-weight: 650; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dm-mtop .sb { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
  .dm-mtop .av { width: 30px; height: 30px; font-size: 10px; }
  .dm-body { grid-template-columns: minmax(0, 1fr); }
  .dm-body::after { content: ""; position: absolute; inset: 0; z-index: 5; background: rgba(12,17,11,.3); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
  [data-s-panel="ct"] .dm-body::after, [data-s-panel="bk"] .dm-body::after { opacity: 1; }
  .dm-view { inset: 14px 12px 10px; }
  .dm-h { margin-bottom: 8px; }
  .dm-h .t { font-size: 21px; letter-spacing: -.03em; }
  .dm-h .s, .dm-h .chips .fchip:not(.on) { display: none; }
  .dm-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic tt du" "ic mt du"; align-items: center; column-gap: 10px; row-gap: 2px; height: auto; min-height: 58px; padding: 9px 8px; }
  .dm-row .code, .dm-row .av { grid-area: ic; }
  .dm-row .code { min-width: 54px; padding: 5px 5px; font-size: 9.5px; }
  .dm-row .tt { grid-area: tt; white-space: normal; font-size: 13.5px; line-height: 1.25; }
  .dm-row .mt { grid-area: mt; width: auto; font-size: 11.5px; }
  .dm-row .due { grid-area: du; margin-left: 0; font-size: 10.5px; padding: 5px 8px; }
  .dm-panel { top: auto; left: 0; right: 0; width: auto; border-left: 0; border-radius: 24px 24px 0 0; padding: 26px 16px 16px; max-height: 80%; overflow: hidden; box-shadow: 0 -24px 50px -22px rgba(20,27,19,.45); transform: translate3d(0, 104%, 0); }
  .dm-grab { display: block; position: absolute; top: 9px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: rgba(32,41,31,.18); }
  .dm-p { position: relative; inset: auto; display: none; }
  [data-s-panel="ct"] .dm-p[data-p="ct"], [data-s-panel="bk"] .dm-p[data-p="bk"] { display: block; }
  .dm-p .pk { margin: 16px 0 8px; }
  .dm-p .pt { font-size: 17px; margin-top: 12px; }
  .dm-btn { height: 46px; font-size: 14px; border-radius: 13px; }
  .ckg { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ckg .scanbox { height: 64px; }
  .ckf { gap: 5px; }
  .cf { height: 36px; }
  .ckv { flex-wrap: wrap; margin-top: 10px; padding: 12px; }
  .ckv .tx { flex-basis: 100%; }
  .ckv .dm-btn.sm { width: 100%; height: 42px; margin: 0; }
  .dm-toast { top: 12px; bottom: auto; }
  .dm-toast > span { top: 0; bottom: auto; transform: translate3d(-50%, -12px, 0) scale(.96); font-size: 12.5px; height: 38px; }
  [data-s-toast="req"] .tt-req, [data-s-toast="up"] .tt-up, [data-s-toast="sent"] .tt-sent { transform: translate3d(-50%, 0, 0); }
  .dm-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; height: 66px; flex-shrink: 0; padding: 6px 10px 12px; border-top: 1px solid var(--line); background: #FBFAF7; position: relative; z-index: 7; }
  .dm-tabs .tb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 14px; font-size: 10.5px; font-weight: 580; color: var(--ink-3); transition: color .35s ease, background-color .35s ease; }
  .dm-tabs .tb svg { width: 19px; height: 19px; }
  .dm-tabs .tb[data-hot] { background: rgba(32,41,31,.06); }
  [data-s-view="dl"] .dm-tabs .nv-dl, [data-s-view="rq"] .dm-tabs .nv-rq, [data-s-view="ck"] .dm-tabs .nv-ck { color: var(--verm-deep); }
  .dm-ctrl { margin-top: 20px; }
  .dm-chs { flex: 1; max-width: 330px; }
  .dm-ch { flex: 1; padding: 0 8px; font-size: 13px; }
  .dm-pp { width: 50px; height: 50px; }
}
@media (max-width: 389px) {
  /* the smallest phones: the demo button lives in the menu and the page, the bar keeps the logo, On AI and the menu */
  .nav-right [data-mag] { display: none; }
}

/* ---------- home, the chase: an email on the client's phone ---------- */
.chase2 { position: relative; background: var(--paper); padding: clamp(100px, 15vh, 170px) 0 clamp(100px, 14vh, 160px); }
.chase2 .cglow { position: absolute; right: 8%; top: 50%; width: 60vmin; height: 60vmin; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(250,77,40,.24), rgba(250,77,40,.07) 50%, transparent); pointer-events: none; }
.dm-chase { position: relative; width: min(1240px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4vw; }
.csteps2 { display: flex; flex-direction: column; margin-top: 40px; }
.cst { position: relative; display: block; text-align: left; padding: 18px 0 18px 26px; opacity: .42; transition: opacity .5s ease; }
.cst::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.cst .pf { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; overflow: hidden; }
.cst .pf::after { content: ""; position: absolute; inset: 0; background: var(--verm); transform-origin: 50% 0; transform: scaleY(var(--pf, 0)); }
.cst:hover { opacity: .75; }
.cst[data-on] { opacity: 1; }
.cst .t { display: block; font-size: clamp(22px, 1.8vw, 28px); font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.cst .b { display: block; margin-top: 6px; max-width: 430px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.dm-chase .dm-pp { margin-top: 26px; }
.cphone { justify-self: center; }
.mphone { width: min(340px, 44vh); }
.mphone .screen { background: #FBFAF8; }
.mh { display: flex; align-items: center; justify-content: space-between; height: 38px; flex-shrink: 0; padding: 12px 26px 0; font-size: 12px; font-weight: 640; letter-spacing: -.01em; }
.mh .sig { display: flex; align-items: flex-end; gap: 2px; }
.mh .sig i { display: block; width: 3px; border-radius: 1px; background: var(--ink); }
.mh .sig i:nth-child(1) { height: 5px; } .mh .sig i:nth-child(2) { height: 7px; } .mh .sig i:nth-child(3) { height: 9px; }
.mnote { position: absolute; top: 44px; left: 10px; right: 10px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 30px -14px rgba(20,27,19,.4), 0 0 0 1px var(--line) inset; opacity: 0; transform: translate3d(0, -26px, 0) scale(.96); transition: opacity .45s var(--ease), transform .6s var(--ease); }
[data-s-note="1"] .mnote { opacity: 1; transform: none; }
.mnote > div { min-width: 0; }
.mnote b { display: block; font-size: 12.5px; }
.mnote span:not(.av) { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv { position: absolute; left: 0; right: 0; top: 38px; bottom: 0; opacity: 0; visibility: hidden; transform: translate3d(22px, 0, 0); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
[data-s-view="in"] .mv-in, [data-s-view="mail"] .mv-mail, [data-s-view="done"] .mv-done { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .05s, transform .6s var(--ease) .05s, visibility 0s 0s; }
.mtitle { padding: 12px 18px 8px; font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.mrow { position: relative; display: flex; gap: 10px; padding: 12px 16px 12px 24px; border-top: 1px solid var(--line); transition: background-color .35s ease; }
.mrow .dot { position: absolute; left: 9px; top: 24px; width: 7px; height: 7px; border-radius: 99px; background: var(--verm); }
.mrow .av { width: 34px; height: 34px; font-size: 11px; }
.mrow .mx { flex: 1; min-width: 0; }
.mrow .l1 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13px; }
.mrow .l1 span { font-size: 11px; color: var(--ink-3); }
.mrow .l2 { margin-top: 2px; font-size: 12.5px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .l3 { margin-top: 2px; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow:not(.new) { opacity: .62; }
.mrow.new { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; border-top-color: transparent; transition: max-height .7s var(--ease), padding .7s var(--ease), opacity .5s ease .15s, background-color .35s ease; }
[data-s-mail="1"] .mrow.new { max-height: 100px; padding-top: 12px; padding-bottom: 12px; opacity: 1; background: #FFF5EF; border-top-color: var(--line); }
.mrow.new[data-hot] { background: #FBE9DF; }
.mbar { display: flex; align-items: center; gap: 6px; padding: 10px 16px 6px; font-size: 13px; font-weight: 560; color: var(--verm-deep); }
.msub { padding: 6px 18px 0; font-size: 19px; font-weight: 680; line-height: 1.2; letter-spacing: -.025em; }
.mfrom { display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.mfrom b { display: block; font-size: 13px; }
.mfrom span:not(.av) { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.mbody { padding: 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.mbody p { margin: 0 0 10px; }
.mbtn { display: flex; align-items: center; justify-content: center; height: 46px; margin: 16px 0 12px; border-radius: 12px; background: var(--verm); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 24px -14px rgba(250,77,40,.8); transition: transform .2s var(--ease); }
.mbtn[data-hot] { transform: scale(.97); }
.mbody .mfoot { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.msheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 26px 16px 24px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -22px 44px -22px rgba(20,27,19,.4); transform: translate3d(0, 105%, 0); transition: transform .6s var(--ease); }
.msheet .dm-grab { display: block; position: absolute; top: 9px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: rgba(32,41,31,.18); }
[data-s-sheet="1"] .msheet { transform: none; }
.sh-t { font-size: 14px; font-weight: 640; }
.sh-f { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; }
.sh-f > div { flex: 1; min-width: 0; }
.sh-f b { display: block; font-size: 12.5px; }
.sh-f span { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.sh-f .fi2 { width: 26px; height: 32px; flex-shrink: 0; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; position: relative; }
.sh-f .fi2::after { content: "PDF"; position: absolute; left: -3px; bottom: 3px; font-family: var(--mono); font-size: 7px; font-weight: 600; color: #fff; background: var(--verm); padding: 1px 3px; border-radius: 3px; }
.sh-f .ok { position: relative; width: 20px; height: 20px; flex-shrink: 0; border-radius: 99px; background: #25B36B; opacity: 0; transform: scale(.6); transition: opacity .35s ease, transform .45s var(--ease); }
.sh-f .ok::after { content: ""; position: absolute; left: 7px; top: 4.2px; width: 4.4px; height: 8.4px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
[data-s-upd="1"] .sh-f .ok { opacity: 1; transform: none; }
.sh-bar { height: 5px; margin-top: 14px; border-radius: 5px; background: var(--paper); overflow: hidden; }
.sh-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--hot); transition: width 1.5s cubic-bezier(.3, .6, .2, 1); }
[data-s-prog="1"] .sh-bar i { width: 100%; }
.sh-s { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.sh-s .u1 { display: none; color: #17784A; }
[data-s-upd="1"] .sh-s .u0 { display: none; }
[data-s-upd="1"] .sh-s .u1 { display: inline; }
.mv-done { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 22px 56px; text-align: center; }
.dn-ic { width: 72px; height: 72px; border-radius: 99px; display: grid; place-items: center; background: var(--verm); box-shadow: 0 16px 34px -16px rgba(250,77,40,.9); }
.dn-t { margin-top: 18px; font-size: 21px; font-weight: 680; letter-spacing: -.03em; }
.dn-s { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.dn-sys { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .5s var(--ease), transform .6s var(--ease); }
[data-s-sys="1"] .dn-sys { opacity: 1; transform: none; }
.cseg { display: none; }
@media (max-width: 860px) {
  /* phone: the story bar and the caption sit above the phone, so the caption and the screen are seen together */
  .chase2 { padding: 80px 0 72px; }
  .dm-chase { width: min(520px, calc(100% - 40px)); grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head head" "seg pp" "cap cap" "phone phone"; column-gap: 14px; row-gap: 0; align-items: center; }
  .dm-chase .ctext { display: contents; }
  .dm-chase .chead { grid-area: head; }
  .dm-chase .cseg { grid-area: seg; display: flex; gap: 6px; margin-top: 28px; }
  .dm-chase .dm-pp { grid-area: pp; margin-top: 28px; width: 40px; height: 40px; }
  .dm-chase .csteps2 { grid-area: cap; display: grid; margin-top: 10px; }
  .dm-chase .cphone { grid-area: phone; margin-top: 26px; }
  .cseg button { position: relative; flex: 1; height: 36px; }
  .cseg button::before, .cseg button i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
  .cseg button::before { background: rgba(32,41,31,.13); }
  .cseg button i { background: var(--verm); transform-origin: 0 50%; transform: scaleX(var(--pf, 0)); }
  .cst { grid-area: 1 / 1; padding: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0, 8px, 0); transition: opacity .4s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
  .cst[data-on] { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .12s, transform .65s var(--ease) .12s, visibility 0s 0s; }
  .cst::before, .cst .pf { display: none; }
  .cst .t { font-size: 20px; }
  .cst .b { margin-top: 5px; font-size: 14.5px; }
  /* sized by the screen's height too, so the caption and the whole phone fit on screen together */
  .mphone { width: clamp(228px, calc((100svh - 210px) / 2), min(280px, 72vw)); aspect-ratio: 9 / 18; }
}
}

/* ---------- platform, the tour: one take through all seven modules ---------- */
.mtour2 { position: relative; }
.dm-tour { padding: clamp(96px, 13vh, 140px) max(28px, calc((100vw - 1340px) / 2)) clamp(90px, 12vh, 130px); background: #FBFAF8; transition: background-color .9s ease; }
.dm-tour[data-ch="1"] { background: #FFF1EA; }
.dm-tour[data-ch="2"] { background: #F8EEDC; }
.dm-tour[data-ch="3"] { background: #EEEBFF; }
.dm-tour[data-ch="4"] { background: #E8F2EC; }
.dm-tour[data-ch="5"] { background: #FFF0EC; }
.dm-tour[data-ch="6"] { background: #EAF5EE; }
.tour-in { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 44px; align-items: center; }
.tour-h { margin-top: 12px; font-size: clamp(28px, 2.6vw, 40px); }
.tour-ctrl { display: none; }
.mlist2 { display: flex; flex-direction: column; gap: 4px; min-height: 560px; margin-top: 22px; }
.mi2 { position: relative; display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 16px; text-align: left; opacity: .5; transition: opacity .5s ease, background-color .5s ease, box-shadow .5s ease; }
.mi2:hover { opacity: .85; }
.mi2[data-on] { opacity: 1; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 16px 34px -22px rgba(20,27,19,.45); }
.mi2 .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.mi2 .tx { display: block; min-width: 0; padding-top: 1px; }
.mi2 .t { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.mi2 .s { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.mi2 .b { display: block; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); transition: max-height .6s var(--ease), opacity .3s ease, margin-top .6s var(--ease); }
.mi2[data-on] .b { max-height: 100px; margin-top: 8px; opacity: 1; transition: max-height .7s var(--ease), opacity .5s ease .15s, margin-top .7s var(--ease); }
.mi2 .pf { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .35s ease; }
.mi2[data-on] .pf { opacity: 1; }
.mi2 .pf::after { content: ""; position: absolute; inset: 0; background: var(--verm); transform-origin: 0 50%; transform: scaleX(var(--pf, 0)); }
.tour-pp { margin-top: 14px; }

.dm-tour .dm-app { height: 596px; }
.dm-tour[data-dm-gap] .dm-app { opacity: 1; }
.dm-tour .dm-body { grid-template-columns: 208px minmax(0, 1fr); }
.dm-tour .dm-view { inset: 20px 22px; }
/* two-line rows, so the columns never drift with the width of a status */
.dm-tour .dm-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "ic tt ac du" "ic mt ac du"; align-items: center; column-gap: 12px; row-gap: 2px; height: 58px; }
.dm-tour .dm-row .code, .dm-tour .dm-row .av { grid-area: ic; }
.dm-tour .dm-row .tt { grid-area: tt; align-self: end; }
.dm-tour .dm-row .mt { grid-area: mt; width: auto; align-self: start; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-tour .dm-act { grid-area: ac; }
.dm-tour .dm-row .due { grid-area: du; margin-left: 0; }
.pchips { display: none; }
.dm-mtop .lg { width: 26px; height: 26px; flex-shrink: 0; }
.tv-h { align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.tv-t { min-width: 0; }
.tv-t .k { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tv-t .t { display: block; margin-top: 8px; font-size: clamp(20px, 1.65vw, 25px); font-weight: 620; letter-spacing: -.03em; line-height: 1.18; }
.tv-m { flex-shrink: 0; }
.tv-m b { font-weight: 500; }
.tv-m .m1 { display: none; }
.dm-tour[data-s-a="d"] .tv-m .m0 { display: none; }
.dm-tour[data-s-a="d"] .tv-m .m1 { display: inline; }
.tv-f { display: flex; gap: 6px; margin: -4px 0 12px; }
.tv-f .fchip { transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .2s var(--ease); }
.tv-f .fchip[data-hot] { transform: scale(.95); }
.dm-tour:not([data-s-a="d"]) .tv-f .f-all, .dm-tour[data-s-a="d"] .tv-f .f-ae { background: var(--ink); color: #fff; box-shadow: none; }

/* which module is open */
.dm-tour[data-s-view="0"] .dm-view[data-v="0"], .dm-tour[data-s-view="1"] .dm-view[data-v="1"], .dm-tour[data-s-view="2"] .dm-view[data-v="2"], .dm-tour[data-s-view="3"] .dm-view[data-v="3"], .dm-tour[data-s-view="4"] .dm-view[data-v="4"], .dm-tour[data-s-view="5"] .dm-view[data-v="5"], .dm-tour[data-s-view="6"] .dm-view[data-v="6"], .dm-tour:not([data-dm]) .dm-view[data-v="0"] { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease) .12s, transform .75s var(--ease) .12s, visibility 0s 0s; }
.dm-tour[data-s-view="0"] [data-v="0"] .dm-row, .dm-tour[data-s-view="1"] [data-v="1"] .dm-row, .dm-tour[data-s-view="2"] [data-v="2"] .dm-row, .dm-tour[data-s-view="3"] [data-v="3"] .dm-row, .dm-tour[data-s-view="4"] [data-v="4"] .dm-row, .dm-tour[data-s-view="5"] [data-v="5"] .dm-row, .dm-tour[data-s-view="6"] [data-v="6"] .dm-row, .dm-tour:not([data-dm]) [data-v="0"] .dm-row { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms + 180ms), calc(var(--i, 0) * 60ms + 180ms), 0s, 0s; }
.dm-tour[data-s-view="0"] .dm-side .nv0, .dm-tour[data-s-view="1"] .dm-side .nv1, .dm-tour[data-s-view="2"] .dm-side .nv2, .dm-tour[data-s-view="3"] .dm-side .nv3, .dm-tour[data-s-view="4"] .dm-side .nv4, .dm-tour[data-s-view="5"] .dm-side .nv5, .dm-tour[data-s-view="6"] .dm-side .nv6 { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset, 0 6px 14px -10px rgba(32,41,31,.4); }

/* the one thing each module does */
.dm-tour[data-s-view][data-s-a="d"] [data-v="0"] .dm-row[data-rg="uk"] { opacity: .26; }
.dm-act { flex-shrink: 0; display: inline-flex; align-items: center; height: 30px; max-width: 170px; padding: 0 12px; overflow: hidden; white-space: nowrap; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 580; letter-spacing: -.005em; transition: max-width .5s var(--ease), padding .5s var(--ease), opacity .3s ease, transform .2s var(--ease), background-color .3s ease; }
.dm-act[data-hot] { transform: scale(.94); background: #0F140E; }
.dm-tour[data-s-a="d"] .dm-act { max-width: 0; padding: 0; opacity: 0; }
.due.sw2 { transition: background-color .4s ease, color .4s ease; }
.due.sw2 b { font-weight: 500; }
.due.sw2 .d1 { display: none; }
.dm-tour[data-s-a="d"] .x .due .d0 { display: none; }
.dm-tour[data-s-a="d"] .x .due .d1 { display: inline; }
.dm-tour[data-s-a="d"] .x .due { animation: dmPop .55s var(--ease); }
.dm-tour[data-s-a="d"] .x .due.to-grn { background: rgba(37,179,107,.14); color: #17784A; }
.dm-tour[data-s-a="d"] .x .due.to-red { background: rgba(250,77,40,.12); color: #C9361A; }
.dm-tour[data-s-a="d"] .x .due.to-amb { background: rgba(232,160,40,.16); color: #95600A; }
@keyframes dmPop { 0% { transform: scale(.82); } 60% { transform: scale(1.07); } 100% { transform: scale(1); } }
.dm-tour[data-s-a="o"] .x { background: #F6F3EE; }
.dm-tour[data-s-a="d"] .x { background: #F4FBF7; box-shadow: 0 0 0 1px rgba(37,179,107,.26) inset; }
.dm-tour[data-s-a="d"] .x + .dm-row { box-shadow: none; }
.dm-tour[data-s-view] .dm-view .dm-row.nr { max-height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; opacity: 0; box-shadow: none; transition: max-height .6s var(--ease), min-height .6s var(--ease), padding .6s var(--ease), opacity .45s ease .1s, background-color .4s ease; }
.dm-tour[data-s-view][data-s-a="d"] .dm-view .dm-row.nr { max-height: 90px; opacity: 1; background: #FFF6F1; box-shadow: 0 0 0 1px rgba(250,77,40,.26) inset; }
.dm-row.nr .code { background: var(--verm); color: #fff; }
.due.nw { background: #fff; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; }
.due.nw b { font-weight: 500; }
.dm-tour .dm-toast { left: calc(50% + 104px); }
.dm-tour[data-s-toast="t0"] .tt0, .dm-tour[data-s-toast="t1"] .tt1, .dm-tour[data-s-toast="t2"] .tt2, .dm-tour[data-s-toast="t3"] .tt3, .dm-tour[data-s-toast="t4"] .tt4, .dm-tour[data-s-toast="t5"] .tt5, .dm-tour[data-s-toast="t6"] .tt6 { opacity: 1; transform: translate3d(-50%, 0, 0); }

/* the phone: the same product, as it looks on a phone */
@container demo (max-width: 640px) {
  .dm-tour .dm-app { height: clamp(470px, calc(100svh - 250px), 600px); }
  .dm-tour .dm-body { grid-template-columns: minmax(0, 1fr); }
  .dm-tour .dm-toast { left: 50%; }
  .pchips { display: block; position: relative; flex-shrink: 0; height: 48px; overflow: hidden; border-bottom: 1px solid var(--line); background: #FBFAF7; }
  .pchips-in { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 0 12px; white-space: nowrap; transform: translate3d(var(--tx, 0px), 0, 0); transition: transform .7s var(--ease); }
  .pc { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 99px; background: #fff; color: var(--ink-3); font-size: 12.5px; font-weight: 580; box-shadow: 0 0 0 1px var(--line) inset; transition: color .35s ease, background-color .35s ease, box-shadow .35s ease, transform .2s var(--ease); }
  .pc[data-hot] { transform: scale(.95); }
  .dm-tour[data-s-view="0"] .pc0, .dm-tour[data-s-view="1"] .pc1, .dm-tour[data-s-view="2"] .pc2, .dm-tour[data-s-view="3"] .pc3, .dm-tour[data-s-view="4"] .pc4, .dm-tour[data-s-view="5"] .pc5, .dm-tour[data-s-view="6"] .pc6, .dm-tour:not([data-dm]) .pc0 { background: var(--ink); color: #fff; box-shadow: none; }
  .dm-tour .dm-view { inset: 12px 12px 10px; }
  .tv-h { display: block; margin-bottom: 8px; }
  .tv-t .t, .tv-m { display: none; }
  .tv-f { margin: 0 0 8px; }
  .dm-tour .dm-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic tt du" "ic mt du"; column-gap: 10px; height: auto; min-height: 56px; padding: 8px; }
  .dm-tour .dm-row:nth-child(n+7) { display: none; }
  .dm-tour .dm-row .tt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dm-tour .dm-row .mt { font-size: 11.5px; }
  .dm-tour .dm-row.x { grid-template-areas: "ic tt du" "ic mt du" "ic ac ac"; }
  .dm-tour .dm-act { grid-area: ac; justify-self: start; height: 30px; margin-top: 6px; transition: max-width .5s var(--ease), padding .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), opacity .3s ease, transform .2s var(--ease); }
  .dm-tour[data-s-a="d"] .dm-act { height: 0; margin-top: 0; }
  .dm-tour[data-s-view][data-s-a="d"] .dm-view .dm-row.nr { min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
  .dm-tour .dm-chs { max-width: none; }
  .dm-tour .dm-ch { flex: none; padding: 0 14px; }
}

/* phones and tablets: the chapters become a row of chips, the module list becomes the caption */
@media (max-width: 1179px) {
  .dm-tour { padding: 84px 20px 76px; }
  .tour-in { display: flex; flex-direction: column; align-items: stretch; gap: 0; max-width: 860px; margin: 0 auto; }
  .tour-ctrl { display: flex; justify-content: flex-start; margin-top: 22px; }
  .tour-ctrl .dm-chs { flex: 1; min-width: 0; max-width: none; }
  .tour-ctrl .dm-ch { flex: none; padding: 0 14px; }
  .tour-pp { display: none; }
  .mlist2 { display: grid; min-height: 0; margin-top: 14px; }
  .mlist2 .mi2 { grid-area: 1 / 1; padding: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0, 8px, 0); transition: opacity .4s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
  .mlist2 .mi2[data-on] { opacity: 1; visibility: visible; background: none; box-shadow: none; transform: none; transition: opacity .5s var(--ease) .12s, transform .65s var(--ease) .12s, visibility 0s 0s; }
  .mi2 .ic, .mi2 .s, .mi2 .pf { display: none; }
  .mi2 .t { font-size: 19px; }
  .mi2 .b, .mi2[data-on] .b { max-height: none; margin-top: 4px; opacity: 1; font-size: 15px; }
  .tour-stage { margin-top: 24px; }
}

/* ---------- platform, the client side: the firm and the client, in step ---------- */
.portal3 { position: relative; }
.dm-portal { padding: clamp(84px, 11vh, 140px) max(28px, calc((100vw - 1280px) / 2)) clamp(84px, 11vh, 130px); background: linear-gradient(160deg, #184634, #12382A 55%, #0C271D); color: var(--sage); }
.pt-in { max-width: 1280px; margin: 0 auto; }

/* the steps: three stops on one line, and the demo's controls */
.pt-bar { display: flex; align-items: flex-start; gap: 28px; margin-top: 36px; }
.pt-steps { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pst { position: relative; display: block; padding: 0; text-align: left; color: inherit; }
.pst .nd { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 99px; background: #133B2C; color: var(--sage); font-family: var(--mono); font-size: 12px; font-weight: 600; box-shadow: 0 0 0 1.5px rgba(210,231,216,.3) inset; transition: background-color .45s ease, color .45s ease, box-shadow .45s ease; }
.pst .nd b { font-weight: 600; }
.pst .nd svg { display: none; }
.pst .nd::before { content: ""; position: absolute; inset: -5px; border-radius: 99px; background: conic-gradient(#FF8A5C calc(var(--pf, 0) * 1turn), rgba(210,231,216,.12) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); opacity: 0; transition: opacity .35s ease; }
.pst[data-on] .nd::before { opacity: 1; }
.pst .tx { display: block; margin-top: 16px; padding-right: 12px; }
.pst .l { display: block; font-size: 17px; font-weight: 620; letter-spacing: -.02em; color: rgba(242,247,243,.55); transition: color .45s ease; }
.pst .d { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.45; color: rgba(210,231,216,.45); transition: color .45s ease; }
.pst .ln { position: absolute; left: 46px; right: -8px; top: 16.25px; height: 1.5px; border-radius: 2px; background: rgba(210,231,216,.16); overflow: hidden; }
.pst:last-child .ln { display: none; }
.pst .ln .pf { position: absolute; inset: 0; background: linear-gradient(90deg, #FF8A5C, #FA4D28); transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s var(--ease); }
.pst:hover .l { color: rgba(242,247,243,.8); }
.pst[data-on] .nd { background: var(--verm); color: #fff; box-shadow: 0 0 0 6px rgba(250,77,40,.16); }
.pst[data-on] .l { color: #F2F7F3; }
.pst[data-on] .d { color: rgba(210,231,216,.78); }
.dm-portal[data-ch="1"] .pst[data-ch-btn="0"] .nd, .dm-portal[data-ch="2"] .pst[data-ch-btn="0"] .nd, .dm-portal[data-ch="2"] .pst[data-ch-btn="1"] .nd { background: var(--sage); color: #12382A; box-shadow: none; }
.dm-portal[data-ch="1"] .pst[data-ch-btn="0"] .nd b, .dm-portal[data-ch="2"] .pst[data-ch-btn="0"] .nd b, .dm-portal[data-ch="2"] .pst[data-ch-btn="1"] .nd b { display: none; }
.dm-portal[data-ch="1"] .pst[data-ch-btn="0"] .nd svg, .dm-portal[data-ch="2"] .pst[data-ch-btn="0"] .nd svg, .dm-portal[data-ch="2"] .pst[data-ch-btn="1"] .nd svg { display: block; }
.dm-portal[data-ch="1"] .pst[data-ch-btn="0"] .l, .dm-portal[data-ch="2"] .pst[data-ch-btn="0"] .l, .dm-portal[data-ch="2"] .pst[data-ch-btn="1"] .l { color: rgba(242,247,243,.82); }
.dm-portal[data-ch="1"] .pst[data-ch-btn="0"] .ln .pf, .dm-portal[data-ch="2"] .pst[data-ch-btn="0"] .ln .pf, .dm-portal[data-ch="2"] .pst[data-ch-btn="1"] .ln .pf { transform: scaleX(1); }
.dm-portal .dm-pp { background: rgba(255,255,255,.07); color: var(--sage); box-shadow: 0 0 0 1px rgba(210,231,216,.2) inset; }
.dm-portal .dm-pp:hover { background: rgba(255,255,255,.12); }

/* the two screens */
.pt-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 56px); align-items: center; margin-top: 36px; }
.pt-app { height: min(450px, calc(100vh - 420px)); min-height: 400px; display: flex; flex-direction: column; }
.pt-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pt-sum > div { padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.pt-sum span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pt-sum b { display: block; margin-top: 6px; font-size: 17px; font-weight: 620; letter-spacing: -.02em; }
.pt-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 16px; padding: 22px 24px; }
.pt-vers { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-vers .vchip { color: var(--ink-3); }
.pt-vers .vchip em { font-style: normal; }
.pt-vers .v3 { background: var(--ink); color: #fff; transition: background-color .45s ease; }
.pt-vers .v3 .lk, .pt-vers .v3 .b { display: none; }
.dm-portal[data-s-ok] .pt-vers .v3 { background: #17784A; }
.dm-portal[data-s-ok] .pt-vers .v3 .lk { display: block; }
.dm-portal[data-s-ok] .pt-vers .v3 .a { display: none; }
.dm-portal[data-s-ok] .pt-vers .v3 .b { display: inline; }
.pt-card { display: grid; }
.pt-s { grid-area: 1 / 1; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 18px 34px -26px rgba(20,27,19,.45); opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0); transition: opacity .4s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.pt-s .av { width: 34px; height: 34px; font-size: 11px; }
.pt-s .tx { flex: 1; min-width: 0; }
.pt-s .t { font-size: 15px; font-weight: 620; letter-spacing: -.015em; }
.pt-s .m { margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.pt-s .dm-btn.sm { margin: 0; }
.pt-s .due { margin-left: 0; }
.pt-s3 { background: var(--ink); color: #fff; box-shadow: 0 18px 34px -24px rgba(20,27,19,.6); }
.pt-s3 .m { color: rgba(255,255,255,.62); }
.pt-s3 svg { flex-shrink: 0; }
.dm-portal:not([data-s-sent]) .pt-s0, .dm-portal[data-s-sent]:not([data-s-seen]) .pt-s1, .dm-portal[data-s-seen]:not([data-s-ok]) .pt-s2, .dm-portal[data-s-ok] .pt-s3,
.dm-portal:not([data-s-sent]) .pt-fc .f0, .dm-portal[data-s-sent]:not([data-s-seen]) .pt-fc .f1, .dm-portal[data-s-seen]:not([data-s-ok]) .pt-fc .f2, .dm-portal[data-s-ok] .pt-fc .f3 { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .1s, transform .65s var(--ease) .1s, visibility 0s 0s; }
.pt-log { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.pt-log .k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.lg { display: flex; align-items: baseline; gap: 14px; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; font-size: 13px; color: var(--ink-2); transition: max-height .6s var(--ease), margin .6s var(--ease), opacity .45s ease .1s; }
.lg .tm { width: 42px; flex-shrink: 0; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.lg0, .dm-portal[data-s-sent] .lg1, .dm-portal[data-s-seen] .lg2, .dm-portal[data-s-ok] .lg3 { max-height: 30px; margin-top: 10px; opacity: 1; }
.dm-portal[data-s-ok] .lg3 { color: #17784A; font-weight: 560; }

/* the client's phone */
.pt-phone { width: min(236px, calc((100vh - 360px) * .47)); min-width: 206px; }
.pt-phone .screen { background: #FBFAF7; color: var(--ink); }
.pt-top { display: flex; align-items: center; justify-content: space-between; height: 40px; flex-shrink: 0; padding: 0 18px; border-bottom: 1px solid var(--line); background: #fff; }
.pt-top img { height: 14px; width: auto; }
.pt-top span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; color: var(--ink-3); }
.pv { position: absolute; left: 0; right: 0; top: 78px; bottom: 0; padding: 18px 15px; opacity: 0; visibility: hidden; transform: translate3d(18px, 0, 0); transition: opacity .4s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.dm-portal:not([data-s-pv]) .pv-list, .dm-portal[data-s-pv="ret"] .pv-ret, .dm-portal[data-s-pv="done"] .pv-done { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .06s, transform .6s var(--ease) .06s, visibility 0s 0s; }
.pv-list .h { font-size: 18px; font-weight: 660; letter-spacing: -.025em; line-height: 1.2; }
.pv-list .h .c2 { display: none; }
.dm-portal[data-s-sent] .pv-list .h .c1 { display: none; }
.dm-portal[data-s-sent] .pv-list .h .c2 { display: inline; }
.pv-list .s { margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.pi { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .35s ease, transform .2s var(--ease); }
.pi > div { flex: 1; min-width: 0; }
.pi b { display: block; font-size: 13px; font-weight: 620; }
.pi span { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.pi em { flex-shrink: 0; padding: 3px 7px; border-radius: 99px; background: var(--verm); color: #fff; font-family: var(--mono); font-size: 9.5px; font-style: normal; font-weight: 600; }
.pi-vat { max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; opacity: 0; background: #FFF6F2; box-shadow: 0 0 0 1px rgba(250,77,40,.35) inset; transition: max-height .7s var(--ease), margin .7s var(--ease), padding .7s var(--ease), opacity .5s ease .15s, transform .2s var(--ease); }
.dm-portal[data-s-sent] .pi-vat { max-height: 90px; margin-top: 14px; padding-top: 12px; padding-bottom: 12px; opacity: 1; }
.pi[data-hot] { transform: scale(.97); }
.pv-ret .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fig { margin-top: 10px; padding: 2px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
.fig > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 0; font-size: 12.5px; }
.fig > div + div { border-top: 1px solid var(--line); }
.fig span { color: var(--ink-3); }
.fig b { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.fig .nt span { color: var(--ink); font-weight: 600; }
.nb { margin-top: 10px; font-size: 11.5px; line-height: 1.45; color: var(--ink-3); }
.pbtn { display: flex; align-items: center; justify-content: center; height: 46px; margin-top: 14px; border-radius: 12px; background: var(--verm); color: #fff; font-size: 14px; font-weight: 620; box-shadow: 0 12px 24px -14px rgba(250,77,40,.8); transition: transform .2s var(--ease); }
.pbtn[data-hot] { transform: scale(.97); }
.pv-done { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 70px; text-align: center; }
.pv-done .ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 99px; background: var(--verm); box-shadow: 0 16px 34px -16px rgba(250,77,40,.9); transform: scale(.6); transition: transform .7s cubic-bezier(.2, 1.4, .4, 1) .15s; }
.dm-portal[data-s-pv="done"] .pv-done .ic { transform: none; }
.pv-done .t { margin-top: 16px; font-size: 18px; font-weight: 660; letter-spacing: -.025em; }
.pv-done .s { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }

/* the firm on a phone layout: one card instead of the window */
.pt-fc { display: none; }
@media (max-width: 860px) {
  .dm-portal { padding: 84px 20px 80px; }
  .pt-bar { gap: 12px; margin-top: 30px; }
  .pt-steps { gap: 12px; }
  .pst .nd { width: 30px; height: 30px; font-size: 11px; }
  .pst .tx { margin-top: 12px; padding-right: 0; }
  .pst .l { font-size: 14px; line-height: 1.25; }
  .pst .d { display: none; }
  .pst .ln { left: 40px; right: -2px; top: 14.25px; }
  .dm-portal .dm-pp { width: 40px; height: 40px; }
  .pt-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 28px; }
  .pt-app { display: none; }
  .pt-fc { display: block; width: 100%; max-width: 380px; padding: 12px 14px 12px 16px; border-radius: 16px; background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(210,231,216,.16) inset; color: #F2F7F3; }
  .pt-fc .k { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(210,231,216,.6); }
  .pt-fc .fs { display: grid; margin-top: 6px; }
  .pt-fc .f { grid-area: 1 / 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; font-size: 14px; font-weight: 580; letter-spacing: -.01em; opacity: 0; visibility: hidden; transform: translate3d(0, 6px, 0); transition: opacity .4s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
  .pt-fc .dm-btn.sm { height: 34px; margin: 0; background: var(--verm); }
  .pt-fc .due { margin-left: 0; }
  .pt-phone { width: clamp(220px, calc((100svh - 330px) * .47), 262px); }
}

/* ---------- platform, fits in: what Ondues works beside ---------- */
.igrid2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.igrid2 > div { display: flex; flex-direction: column; }
.igrid2 > div > .itile2 { flex: 1; }
.itile2 { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 216px; padding: 26px 26px 24px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -46px rgba(20,27,19,.45); }
.itile2::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%), rgba(250,77,40,.1), transparent 65%); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.itile2:hover::before { opacity: 1; }
.itile2 .ilogo { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; }
.itile2 .zb { display: block; height: 44px; width: auto; margin-left: -3px; }
.itile2 .nm { font-size: 22px; font-weight: 650; letter-spacing: -.035em; color: var(--ink); }
.itile2 .flag { font-size: 10.5px; padding: 4px 7px; }
.itile2 .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; }
.itile2 .tx { position: relative; margin-top: auto; }
.itile2 .k { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--verm); }
.itile2 .b { display: block; margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
@media (max-width: 1000px) { .igrid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .igrid2 { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 36px; }
  .itile2 { min-height: 0; gap: 14px; padding: 20px; border-radius: 20px; }
  .itile2 .ilogo { height: 40px; }
  .itile2 .zb { height: 38px; }
  .itile2 .nm { font-size: 19px; }
  .itile2 .ico { width: 34px; height: 34px; border-radius: 10px; }
  .itile2 .b { font-size: 14.5px; }
}
.pt-fc .due.amb { background: rgba(232,160,40,.2); color: #F5C26B; }
.pt-fc .due.grn { background: rgba(37,179,107,.22); color: #86E2B4; }

/* ---------- home, the check: the same scan as before, now on its own clock ----------
   --q and --v still drive the sheet, the fields and the verdict. Here they come from two
   registered properties that transition when the demo sets data-s-scan and data-s-ver. */
@property --sq { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --sv { syntax: "<number>"; inherits: true; initial-value: 0; }
.scan2 { position: relative; background: var(--night); color: var(--d-text); }
.dm-scan { --sq: 0; --sv: 0; --q: var(--sq); --v: var(--sv); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 5vw; min-height: 100vh; padding: clamp(110px, 15vh, 170px) max(32px, calc((100vw - 1240px) / 2)); background: radial-gradient(50% 60% at 70% 50%, #1B2619 0%, var(--night) 70%); transition: --sq 0s, --sv 0s; }
.dm-scan[data-s-scan="1"] { --sq: 1; transition: --sq 3s cubic-bezier(.42, 0, .58, 1), --sv 0s; }
.dm-scan[data-s-scan="1"][data-s-ver="1"] { --sv: 1; transition: --sq 3s cubic-bezier(.42, 0, .58, 1), --sv .9s var(--ease); }
.scan-stage { justify-self: center; }
.dm-scan .sheet { transition: opacity .5s ease; }
.dm-scan[data-dm-gap] .sheet { opacity: 0; transition: opacity .3s ease; }
.scan-acts { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.scan-acts .scan-ai { margin-top: 0; }
.dm-scan .dm-pp { width: 44px; height: 44px; background: rgba(255,255,255,.06); color: var(--d-text); box-shadow: 0 0 0 1px var(--d-line) inset; }
.dm-scan .dm-pp:hover { background: rgba(255,255,255,.1); }
@media (max-width: 860px) {
  .dm-scan { grid-template-columns: minmax(0, 1fr); gap: 34px; min-height: 0; padding: 88px 20px 110px; }
  .dm-scan .sheet { width: min(300px, 78vw); }
}

/* ---------- phones: the home page, rebuilt for a thumb ---------- */
@media (max-width: 860px) {
  /* the year: a row of months you swipe, not a long scroll you have to sit through */
  .year { height: auto; }
  .year .pin { position: relative; display: block; height: auto; min-height: 0; overflow: visible; padding: 86px 0 70px; }
  .year .yhead .wide { display: block; }
  .year .yhead .lead { margin-top: 16px; }
  .year .htrack { transform: none; width: auto; justify-self: stretch; align-self: auto; margin-top: 30px; padding: 6px 20px 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .year .htrack::-webkit-scrollbar { display: none; }
  .year .htrack .month { flex-shrink: 0; scroll-snap-align: start; }
  .year .htrack::after { content: ""; flex: 0 0 8px; }
  .year .yprog { display: none; }
}
@media (max-width: 560px) {
  /* the four jobs: each card shows the product doing the job, instead of a list about it */
  .scard .inner { align-content: start; gap: 18px; padding: 28px 20px 20px; }
  .scard .h3 { font-size: clamp(28px, 8.2vw, 34px); margin-top: 14px; }
  .scard .lead { margin-top: 12px; font-size: 15px; line-height: 1.5; }
  .scard .facts { display: none; }
  .scard .mod { display: block; padding: 12px; border-radius: 18px; }
  .scard .mod-h { padding: 2px 4px 10px; }
  .scard .mod-h .t { font-size: 14px; white-space: nowrap; }
  .scard .mod-h .s { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .scard .mod .trow { height: 44px; gap: 9px; padding: 0 8px; font-size: 12.5px; }
  .scard .mod .trow > span:nth-child(2) { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .scard .mod .trow .code { min-width: 0; padding: 4px 6px; font-size: 9.5px; }
  .scard .mod .trow:nth-child(n+5) { display: none; }
  .scard .mod .xrow { gap: 10px; padding: 10px; }
  .scard .mod .xrow + .xrow { margin-top: 6px; }
  .scard .mod .ring { width: 38px; height: 38px; }
  .scard .mod .xrow:nth-child(n+5) { display: none; }
  .c-forest .mod .xrow:nth-child(2), .c-forest .mod .xrow:nth-child(3) { display: none; }
  .c-forest .mod .xrow:nth-child(5) { display: flex; }
}

/* ---------- UK and UAE, three entity types: each plays in turn ---------- */
.uae2 { position: relative; }
.dm-uae { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: clamp(100px, 13vh, 150px) max(28px, calc((100vw - 1280px) / 2)) clamp(90px, 12vh, 130px); background: linear-gradient(160deg, #FBF3E3, #F2E2C1 60%, #EFD9AE); color: var(--umber); }
.dm-uae .etab { position: relative; }
.dm-uae .etab[data-on] { opacity: 1; background: #fff; box-shadow: 0 0 0 1px rgba(75,51,18,.08) inset, 0 20px 40px -26px rgba(75,51,18,.55); }
.dm-uae .etab .pf { position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .35s ease; }
.dm-uae .etab[data-on] .pf { opacity: 1; }
.dm-uae .etab .pf::after { content: ""; position: absolute; inset: 0; background: #C98A1C; transform-origin: 0 50%; transform: scaleX(var(--pf, 0)); }
.uae-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.uae-foot .thr { margin-top: 16px; }
.dm-uae .dm-pp { flex-shrink: 0; width: 44px; height: 44px; margin-top: 16px; background: rgba(255,255,255,.5); color: var(--umber); box-shadow: 0 0 0 1px rgba(75,51,18,.14) inset; }
.dm-uae .estage { height: 560px; }
.dm-uae[data-ch="0"] .eview.e0, .dm-uae[data-ch="1"] .eview.e1, .dm-uae[data-ch="2"] .eview.e2, .dm-uae:not([data-dm]) .eview.e0 { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s 0s; }
[data-js] .dm-uae[data-ch="0"] .eview.e0 .mod > *, [data-js] .dm-uae[data-ch="1"] .eview.e1 .mod > *, [data-js] .dm-uae[data-ch="2"] .eview.e2 .mod > *, [data-js] .dm-uae:not([data-dm]) .eview.e0 .mod > * { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .dm-uae { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 84px 20px 76px; }
  .dm-uae .lead { display: none; }
  .dm-uae .h2 { font-size: clamp(30px, 8.4vw, 44px) !important; }
  .dm-uae .etabs { flex-direction: row; gap: 6px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
  .dm-uae .etabs::-webkit-scrollbar { display: none; }
  .dm-uae .etab { flex-shrink: 0; width: auto; padding: 11px 14px 13px; font-size: 13.5px; }
  .dm-uae .etab .mono { display: none; }
  .dm-uae .etab .pf { left: 14px; right: 14px; bottom: 5px; }
  .dm-uae .thr { display: none; }
  .uae-foot { position: absolute; top: 84px; right: 20px; }
  .dm-uae { position: relative; }
  .dm-uae .dm-pp { margin-top: 0; width: 40px; height: 40px; }
  /* the three views share one cell, so the stage is as tall as the tallest and nothing jumps */
  .dm-uae .estage { display: grid; height: auto; }
  .dm-uae .eview { position: relative; inset: auto; grid-area: 1 / 1; }
  .dm-uae .eview .mod { height: auto; }
}
@media (max-width: 560px) {
  .dm-uae .eview .trow .muted { display: none; }
  .dm-uae .eview .trow { height: auto; min-height: 46px; gap: 10px; padding: 8px 6px; }
  .dm-uae .eview .trow > span:nth-child(2) { min-width: 0; line-height: 1.3; }
  .dm-uae .eview .trow .code { min-width: 0; padding: 4px 6px; font-size: 9.5px; }
  .dm-uae .eview .ak-g { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .dm-uae .eview .asks { padding: 12px; }
}
/* touch screens: the scroll cues lose their mouse, the words are enough */
[data-touch] .hero-cue .mouse { display: none; }
