/* WapasDesk motion layer: the earlier white design, with more life. No video, no photos.
   Everything here switches off under prefers-reduced-motion (bottom of file). */
:root { --e-out: cubic-bezier(.16, 1, .3, 1); }

/* hero: the grid drifts slowly and a soft green light breathes behind the console */
.hero__bg { animation: gridDrift 40s linear infinite; }
@keyframes gridDrift { to { background-position: 48px 48px, 48px 48px; } }
.hero::before { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 720px; height: 720px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgb(8 122 79 / .10) 0%, rgb(8 122 79 / 0) 62%); animation: breathe 12s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }

/* hero headline: each word rises out of a mask */
[data-words] .w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
[data-words] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--e-out); transition-delay: calc(var(--i) * 45ms + 120ms); }
[data-words].on .w > span { transform: none; }

/* console: tips forward into place, then follows the mouse a little */
.stage { perspective: 1400px; }
.js .stage.hin { transform: translateY(40px) rotateX(14deg); transform-origin: 50% 100%; }
.js .stage.hin.in { transform: none; transition: opacity 1s var(--e-out), transform 1.2s var(--e-out); transition-delay: var(--d, 0ms); }
.console { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--e-out), box-shadow .8s var(--e-out); transform-style: preserve-3d; will-change: transform;
  box-shadow: calc(var(--sx, 0) * 1px) calc(24px + var(--sy, 0) * 1px) 56px rgb(11 27 43 / .14), var(--shadow-2); }
.console::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(520px circle at var(--gx, 70%) var(--gy, 20%), rgb(8 122 79 / .07), transparent 60%); }
/* the floating chips sit nearer than the console, so they drift against it when the mouse moves (the `translate` property composes with their bobbing) */
.float { translate: calc(var(--px, 0) * -34px) calc(var(--py, 0) * -24px); transition: translate .9s var(--e-out); }
.float--b { translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -10px); }

/* marketplace marquee: slow, pauses on hover, edges fade */
.strip__in { flex-wrap: nowrap; }
.marq { position: relative; overflow: hidden; flex: 1 1 auto; min-width: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marq__track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.marq:hover .marq__track { animation-play-state: paused; }
.marq__dup { display: contents; }
.marq__track span:not(.marq__dup) { display: inline-flex; align-items: center; gap: 10px; margin-right: 48px; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; }
@keyframes marq { to { transform: translateX(-50%); } }

/* cards: a soft light follows the cursor, the icon gives a small nudge */
.svc, .pcard, .why__card, .step { --mx: 50%; --my: 50%; }
.svc::after, .pcard::after, .why__card::after, .step::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease-s);
  background: radial-gradient(360px circle at var(--mx) var(--my), rgb(8 122 79 / .08), transparent 60%); }
.svc--feature::after { background: radial-gradient(360px circle at var(--mx) var(--my), rgb(255 255 255 / .16), transparent 60%); }
.svc:hover::after, .pcard:hover::after, .why__card:hover::after, .step:hover::after { opacity: 1; }
.why__card, .step { position: relative; }
.svc { transition: transform .6s var(--e-out), box-shadow .4s var(--ease-s); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.why__card { transition: transform .6s var(--e-out), box-shadow .4s var(--ease-s); }
.why__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.svc:hover .svc__ic, .why__card:hover .why__ic { animation: nudge .6s var(--e-out); }
@keyframes nudge { 30% { transform: translateY(-3px) rotate(-6deg); } 60% { transform: translateY(1px) rotate(3deg); } }

/* 3D: cards flip up into place as they scroll in, then tilt toward the cursor (JS adds .tilt once a card has arrived) */
.js .svc.rv:not(.in), .js .why__card.rv:not(.in), .js .step.rv:not(.in), .js .pcard.rv:not(.in) { transform: perspective(1100px) translateY(36px) rotateX(14deg); transform-origin: 50% 100%; }
.js .rv.in.tilt { transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: opacity .7s var(--ease), transform .6s var(--e-out), box-shadow .4s var(--ease-s); transition-delay: 0s; }
.js .rv.in.tilt:hover { --lift: -5px; transition: opacity .7s var(--ease), transform .14s linear, box-shadow .4s var(--ease-s); box-shadow: var(--shadow-2); }

/* section headings: rise out of a mask after the block fades in */
.js .sec__head.rv h2, .js .rv > .heading-2 { clip-path: inset(0 0 100% 0); transform: translateY(24px); }
.js .sec__head.rv.in h2, .js .rv.in > .heading-2 { clip-path: inset(-10% -2% -20% -2%); transform: none; transition: clip-path 1s var(--e-out) .08s, transform 1s var(--e-out) .08s; }

/* the main buttons: a light sweeps across on hover */
.btn--brand { position: relative; overflow: hidden; isolation: isolate; }
.btn--brand::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .28) 50%, transparent 70%); transform: translateX(-120%); }
.btn--brand:hover::after { transform: translateX(120%); transition: transform .9s var(--e-out); }

/* "most asked for" price card: a slow light runs round its border */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.pcard--pop { border-color: transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, conic-gradient(from var(--ang), var(--brand) 0%, var(--brand-tint) 25%, var(--brand) 50%, var(--brand-tint) 75%, var(--brand) 100%) border-box; border-width: 1.5px; animation: spin 6s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }

/* FAQ: answers slide in */
.faq details[open] > :not(summary) { animation: faqIn .5s var(--e-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* reconciliation hero: the claims tracker (replaces the photo) */
.ctrack { position: relative; border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.ctrack__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.ctrack__bar span { font-size: 12px; color: var(--muted); }
.ctrack ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 6px; }
.ctrack li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); }
.ctrack__mk img.mk { width: 32px; height: 32px; border-radius: 8px; }
.ctrack__t { font-size: 15px; line-height: 20px; font-weight: 500; min-width: 0; }
.ctrack__t small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 400; }
.ctrack__s { padding: 4px 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; transition: background-color .4s var(--ease-s), color .4s var(--ease-s); }
.ctrack__s[data-s="0"] { background: var(--sun-tint); color: var(--c3); }
.ctrack__s[data-s="1"] { background: var(--soft-2); color: var(--ink-2); }
.ctrack__s[data-s="2"] { background: var(--brand-tint); color: var(--brand-deep); }
.ctrack__s.flip { animation: flip .5s var(--e-out); }
@keyframes flip { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.ctrack li:has([data-s="2"]) { background: linear-gradient(90deg, var(--brand-tint), transparent 70%); }
.ctrack__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--muted); }

/* footer: a large faded wordmark */
.foot { overflow: hidden; padding-bottom: 0; }
.foot__mark { margin-top: 40px; text-align: center; font-size: clamp(64px, 17vw, 250px); line-height: .78; font-weight: 600; letter-spacing: -.06em; white-space: nowrap; color: transparent;
  background: linear-gradient(180deg, rgb(8 122 79 / .14) 0%, rgb(8 122 79 / 0) 92%); -webkit-background-clip: text; background-clip: text; user-select: none; transform: translateY(14%); }

@media (max-width: 640px) {
  .strip__in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .marq { width: 100%; }
  .marq__track span:not(.marq__dup) { font-size: 17px; margin-right: 32px; }
  .hero::before { width: 420px; height: 420px; right: -160px; top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero::before, .marq__track, .pcard--pop { animation: none !important; }
  .marq { -webkit-mask: none; mask: none; }
  .marq__track { flex-wrap: wrap; width: auto; row-gap: 8px; }
  .marq__dup { display: none; }
  [data-words] .w > span { transform: none !important; }
  .js .stage.hin { transform: none !important; }
  .console { transform: none !important; }
  .float { translate: none !important; }
  .js .rv.in.tilt, .js .svc.rv:not(.in), .js .why__card.rv:not(.in), .js .step.rv:not(.in), .js .pcard.rv:not(.in) { transform: none !important; }
  .js .sec__head.rv h2, .js .rv > .heading-2 { clip-path: none !important; transform: none !important; }
}
.strip__l { flex: none; white-space: nowrap; }
