/* Dorax Finance — a new person's first visit to each main screen (features/tours; owner, 2026-10-10).
   Plain black and white, one page per screen: a small live drawing of the screen, then its purpose in large words, three short lines and one button.
   The drawing plays once; for someone who asked for less motion it is simply there. */
html.tour-open, html.tour-open body { overflow: hidden; }
.tour-page { position: fixed; top: 0; left: 0; width: 100vw; height: 100%; z-index: 56; background: #000000; color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; overflow-y: auto; animation: tour-in .35s ease-out both; }
@keyframes tour-in { from { opacity: 0; } to { opacity: 1; } }
.tour-x { all: unset; box-sizing: border-box; position: absolute; top: calc(14px + var(--safe-t, 0px)); right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; border: 1px solid rgba(255, 255, 255, .18); }
.tour-x svg { width: 18px; height: 18px; }
.tour-body, .tour-foot { width: min(520px, 100%); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.tour-body { display: flex; flex-direction: column; gap: 14px; padding-top: calc(64px + var(--safe-t, 0px)); }
.tour-art { height: 168px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.tour-eyebrow { margin: 0; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 600; }
.tour-page h1 { margin: 0; font-size: clamp(30px, 8vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; outline: 0; }
.tour-lead { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.tour-does { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tour-does li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; line-height: 1.4; color: var(--on-dark); animation: tour-rise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.35s + var(--i) * .12s); }
.tour-does li span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.tour-does li svg { width: 17px; height: 17px; }
.tour-body > h1, .tour-body > .tour-lead, .tour-body > .tour-eyebrow { animation: tour-rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.tour-body > .tour-eyebrow { animation-delay: .05s; } .tour-body > h1 { animation-delay: .12s; } .tour-body > .tour-lead { animation-delay: .2s; }
@keyframes tour-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tour-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; padding-bottom: calc(24px + var(--safe-b, 0px)); }
.tour-go { all: unset; box-sizing: border-box; cursor: pointer; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #9FD182; color: #163300; font-size: 17px; font-weight: 600; }
.tour-later { all: unset; box-sizing: border-box; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: rgba(255, 255, 255, .62); }
.tour-x:focus-visible, .tour-go:focus-visible, .tour-later:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.tour-go:active { transform: scale(.98); }
/* the drawings: the screen's own layout in a few shapes, white on black, one touch of green */
.ta { position: relative; width: 240px; }
.ta b, .ta em, .ta i { display: block; border-radius: 6px; }
/* Summary: three figures rise, the days of freedom fill */
.ta-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ta-tile { display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); animation: tour-rise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .1s); }
.ta-tile i { height: 6px; width: 70%; background: rgba(255, 255, 255, .3); } .ta-tile b { height: 12px; width: 90%; background: #FFFFFF; }
.ta-free { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; margin-top: 6px; }
.ta-free i { height: 100%; width: 62%; background: #9FD182; border-radius: 999px; transform-origin: left; animation: ta-grow 1.1s .45s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes ta-grow { from { transform: scaleX(0); } to { transform: none; } }
/* Transactions: rows come in, each with its category's dot */
.ta-list { display: flex; flex-direction: column; gap: 10px; }
.ta-row { display: grid; grid-template-columns: 12px 1fr 52px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); animation: ta-slide .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .12s); }
.ta-row i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .5); } .ta-row i.c0 { background: #9FD182; }
.ta-row b { height: 9px; width: 80%; background: rgba(255, 255, 255, .8); } .ta-row em { height: 9px; background: rgba(255, 255, 255, .4); }
@keyframes ta-slide { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
/* Plan: the bills, ticked one after the other */
.ta-bills { display: flex; flex-direction: column; gap: 10px; }
.ta-bill { display: grid; grid-template-columns: 26px 1fr 48px; gap: 12px; align-items: center; }
.ta-bill i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); display: grid; place-items: center; color: #163300; animation: ta-tick .4s ease-out both; animation-delay: calc(.3s + var(--i) * .28s); }
.ta-bill i svg { width: 14px; height: 14px; stroke-width: 3; opacity: 0; animation: ta-show .2s ease-out both; animation-delay: calc(.4s + var(--i) * .28s); }
.ta-bill b { height: 9px; width: 75%; background: rgba(255, 255, 255, .8); } .ta-bill em { height: 9px; background: rgba(255, 255, 255, .4); }
@keyframes ta-tick { to { background: #9FD182; border-color: #9FD182; } }
@keyframes ta-show { to { opacity: 1; } }
/* Goals: the ring fills toward its flag */
.ta-ring { width: 150px; height: 150px; }
.ta-ring > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ta-track { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 9; }
.ta-fill { fill: none; stroke: #9FD182; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 28; animation: ta-ring 1.4s .3s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes ta-ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 28; } }
.ta-ring > span { position: absolute; inset: 0; display: grid; place-items: center; } .ta-ring > span svg { width: 30px; height: 30px; }
/* Reports: the months' bars grow, the last one green */
.ta-bars { height: 140px; display: flex; align-items: flex-end; gap: 12px; }
.ta-bars span { flex: 1 1 0; height: var(--h); border-radius: 8px 8px 3px 3px; background: rgba(255, 255, 255, .28); transform-origin: bottom; animation: ta-up .7s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(var(--i) * .08s); }
.ta-bars span.on { background: #9FD182; }
@keyframes ta-up { from { transform: scaleY(0); } to { transform: none; } }
/* Accounts & savings: three cards fan out */
.ta-cards { height: 150px; }
.ta-card { position: absolute; left: 30px; right: 30px; top: 30px; height: 100px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2); background: #0E0E0E; padding: 14px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; animation: ta-fan .8s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(var(--i) * .1s); }
.ta-card:nth-child(1) { --r: -9deg; --x: -26px; } .ta-card:nth-child(2) { --r: 0deg; --x: 0px; } .ta-card:nth-child(3) { --r: 9deg; --x: 26px; border-color: #9FD182; }
.ta-card { transform: translateX(var(--x)) rotate(var(--r)); }
.ta-card i { width: 30px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .3); } .ta-card b { height: 9px; width: 60%; background: rgba(255, 255, 255, .7); }
@keyframes ta-fan { from { transform: none; opacity: 0; } to { transform: translateX(var(--x)) rotate(var(--r)); opacity: 1; } }
/* the phone's Imports (2026-10-10): a statement drops in, its rows come out sorted and ticked */
.ta-file { display: grid; grid-template-columns: 64px 26px 1fr; align-items: center; gap: 10px; }
.ta-doc { position: relative; display: flex; flex-direction: column; gap: 6px; width: 64px; height: 82px; padding: 10px 9px; box-sizing: border-box; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 8px; animation: ta-drop .6s cubic-bezier(.2, .8, .2, 1) both; }
.ta-doc b { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #9FD182; border-radius: 0; }
.ta-doc i { height: 6px; background: rgba(255, 255, 255, .45); } .ta-doc i:last-child { width: 60%; }
.ta-arrow { display: inline-flex; color: rgba(255, 255, 255, .55); animation: ta-show .3s ease-out .45s both; opacity: 0; }
.ta-arrow svg { width: 22px; height: 22px; }
.ta-rows { display: flex; flex-direction: column; gap: 8px; }
.ta-frow { display: grid; grid-template-columns: 10px 1fr 18px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); animation: ta-slide .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.6s + var(--i) * .16s); }
.ta-frow em { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .5); } .ta-frow em.c0 { background: #9FD182; }
.ta-frow b { height: 8px; background: rgba(255, 255, 255, .75); }
.ta-frow i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); color: #000; animation: ta-tick .3s ease-out both; animation-delay: calc(1.1s + var(--i) * .2s); }
.ta-frow i svg { width: 11px; height: 11px; opacity: 0; animation: ta-show .2s ease-out both; animation-delay: calc(1.2s + var(--i) * .2s); }
@keyframes ta-drop { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tour-page, .tour-page * { animation: none !important; } .ta-bill i { background: #9FD182; border-color: #9FD182; } .ta-bill i svg { opacity: 1; } .ta-arrow { opacity: 1; } .ta-frow i { background: #9FD182; border-color: #9FD182; } .ta-frow i svg { opacity: 1; } }
