/* overrides.css */
/* Loaded after the main bundle on every page (cache-busted by file time). */

/* Home "Invoice sliding": no counter, no design name, no horizontal arc line. Motion stays. */
.arc__cap small, .arc__cap b { display: none; }
.arc__floor { display: none !important; }

/* "Tools" dropdown in the top menu (every public page) */
.tmenu { position: relative; }
.tmenu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: inherit; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; transition: background .2s, color .2s; }
.tmenu > summary::-webkit-details-marker { display: none; }
.tmenu > summary:hover, .tmenu[open] > summary { color: #5517c9; background: rgba(108, 43, 242, .07); }
.tmenu > summary:focus-visible { outline: 3px solid rgba(108, 43, 242, .5); outline-offset: 2px; }
.tmenu > summary .ico { width: 16px; height: 16px; transition: transform .2s; }
.tmenu[open] > summary .ico { transform: rotate(180deg); }
.tmenu__panel { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); z-index: 60; width: min(780px, 92vw);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 24px; padding: 24px; border-radius: 24px; background: #fff;
  border: 1px solid #ebe5fb; box-shadow: 0 50px 90px -40px rgba(20, 17, 58, .5), 0 0 0 6px rgba(108, 43, 242, .04); animation: tmenu-in .18s cubic-bezier(.2, .8, .2, 1); }
.tmenu__panel::before { content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; background: #fff; border-left: 1px solid #ebe5fb; border-top: 1px solid #ebe5fb; transform: translateX(-50%) rotate(45deg); }
@keyframes tmenu-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
.tmenu__col { display: grid; gap: 2px; align-content: start; }
.tmenu__col b { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #5517c9; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid #f1eef8; }
.tmenu__col a { display: flex; align-items: center; gap: 6px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #14113a; transition: background .15s, color .15s; }
.tmenu__col a:hover { background: #f6f2ff; color: #5517c9; }
.tmenu__col a:focus-visible, .tmenu__all:focus-visible { outline: 3px solid rgba(108, 43, 242, .5); outline-offset: 0; }
.tmenu__all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 14px; color: #fff; padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #7a3cff 0%, #6c2bf2 45%, #9b22d8 100%); box-shadow: 0 12px 24px -14px rgba(108, 43, 242, .9); width: 100%; }
.tmenu__all:hover { filter: brightness(1.06); }
.tbadge { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; background: #fff1e6; color: #9a3412; }
@media (max-width: 900px) {
  .tmenu__panel { position: fixed; left: 12px; right: 12px; top: 68px; transform: none; width: auto; max-height: calc(100vh - 88px); overflow: auto; overscroll-behavior: contain; padding: 18px; gap: 16px; grid-template-columns: 1fr 1fr; }
  .tmenu__panel::before { display: none; }
}
@media (max-width: 520px) { .tmenu__panel { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tmenu__panel { animation: none; } .tmenu > summary .ico { transition: none; } }

/* Home hero: smaller, realistic 3D invoice that gently moves (desktop and tablet) */
@media (min-width: 901px) {
  .home-hero .stage { height: 580px; perspective: 1800px; }
  .home-hero .stage__sheet { left: 13%; top: 34px; width: 400px; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(7deg) rotateZ(-2deg);
    animation: is-sheet3d 10s ease-in-out infinite; will-change: transform; }
  .home-hero .stage__sheetbox { width: 400px; height: 566px; border-radius: 6px; overflow: hidden; background: #fff;
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 4px rgba(20,17,58,.06), 0 24px 40px -18px rgba(40,20,90,.35), 0 70px 90px -50px rgba(40,20,90,.55); }
  .home-hero .stage__sheet .sheet { transform: scale(.504); transform-origin: 0 0; width: 794px; box-shadow: none; }
  /* paper thickness on the right edge */
  .home-hero .stage__sheet::before { content: ""; position: absolute; top: 3px; right: -7px; width: 7px; height: calc(100% - 3px); border-radius: 0 4px 4px 0;
    background: linear-gradient(90deg, #e8e4f3, #cfc8e6); transform: skewY(-38deg); transform-origin: 0 0; }
  /* soft ground shadow */
  .home-hero .stage__sheet::after { content: ""; position: absolute; left: 6%; right: 2%; bottom: -46px; height: 40px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(60,30,130,.32), rgba(60,30,130,0)); transform: translateZ(-60px); filter: blur(4px); animation: is-shadow 10s ease-in-out infinite; }
  /* light sweep across the paper */
  .home-hero .stage__sheetbox::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.55) 48%, rgba(255,255,255,0) 60%); background-size: 260% 100%;
    animation: is-sheen 6.5s ease-in-out infinite; mix-blend-mode: soft-light; }
  .home-hero .stage__card { box-shadow: 0 30px 60px -34px rgba(40,20,90,.5); backdrop-filter: blur(6px); }
  .home-hero .stage__card--rec { right: 2%; top: 6px; animation: rise .9s var(--spring) .9s both, is-floatA 7s ease-in-out 1.8s infinite; }
  .home-hero .stage__card--pay { left: 0; bottom: 70px; animation: rise .9s var(--spring) 1.4s both, is-floatB 8s ease-in-out 2.3s infinite; }
  .home-hero .stage__card--rem { right: 4%; bottom: 24px; animation: rise .9s var(--spring) 1.9s both, is-floatA 9s ease-in-out 2.8s infinite reverse; }
}
@keyframes is-sheet3d { 0%, 100% { transform: rotateY(-16deg) rotateX(7deg) rotateZ(-2deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1deg) translateY(-12px); } }
@keyframes is-shadow { 0%, 100% { opacity: 1; transform: scaleX(1); } 50% { opacity: .7; transform: scaleX(.92); } }
@keyframes is-sheen { 0%, 20% { background-position: 130% 0; } 60%, 100% { background-position: -40% 0; } }
@keyframes is-floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes is-floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .home-hero .stage__sheet, .home-hero .stage__sheet::after, .home-hero .stage__sheetbox::after, .home-hero .stage__card { animation: none !important; }
}

/* Home: payment logos marquee (row 1 → left, row 2 → right) */
.paylogos { margin: 34px auto 0; max-width: 1200px; display: grid; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.paylogos__row { overflow: hidden; }
.paylogos__track { display: flex; gap: 14px; width: max-content; padding: 6px 0; }
.paylogos__row--left .paylogos__track { animation: paylogos-left 48s linear infinite; }
.paylogos__row--right .paylogos__track { animation: paylogos-right 52s linear infinite; }
.paylogos:hover .paylogos__track { animation-play-state: paused; }
.paylogo { display: inline-flex; align-items: center; gap: 10px; height: 64px; padding: 0 22px; border-radius: 18px; background: #fff; border: 1.5px solid #ebe8f3;
  box-shadow: 0 1px 2px rgba(20,17,58,.04), 0 12px 24px -18px rgba(20,17,58,.35); white-space: nowrap; transition: transform .25s, box-shadow .25s, border-color .25s; }
.paylogo:hover { transform: translateY(-3px); border-color: #d9cdfd; box-shadow: 0 20px 34px -22px rgba(108,43,242,.55); }
.paylogo img { width: 28px; height: 28px; flex: none; }
.paylogo b { font-size: 15px; font-weight: 700; color: #14113a; letter-spacing: -.01em; }
.paylogo--klarna { background: #ffb3c7; border-color: #ffb3c7; }
.paylogo--americanexpress { background: #2e77bc; border-color: #2e77bc; } .paylogo--americanexpress b { color: #fff; }
.paylogo--wise { background: #9fe870; border-color: #9fe870; } .paylogo--wise b { color: #163300; }
.paylogos__note { margin: 18px auto 0; font-size: 12.5px; color: #94a3b8; text-align: center; }
@keyframes paylogos-left { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@keyframes paylogos-right { from { transform: translateX(calc(-50% - 7px)); } to { transform: translateX(0); } }
@media (max-width: 640px) { .paylogo { height: 54px; padding: 0 16px; border-radius: 15px; } .paylogo img { width: 24px; height: 24px; } .paylogo b { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .paylogos__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; } .paylogos { -webkit-mask-image: none; mask-image: none; } .paylogo[aria-hidden] { display: none; } }
.paylogo--word img { width: auto; height: 26px; }
.paylogo--bitpay img { height: 30px; }
.paylogo--opay img { width: 34px; height: 34px; border-radius: 8px; }

/* Home FAQ: bigger 3D pills with a slowly turning glowing border */
@property --faq-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.faq--3d { max-width: 900px; gap: 16px; }
.faq--3d details { position: relative; padding: 0 28px; border-radius: 22px; border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              conic-gradient(from var(--faq-a), #ece6fb 0deg, #d8c9ff 70deg, #f4c4dd 140deg, #ece6fb 220deg, #ece6fb 360deg) border-box;
  box-shadow: inset 0 1px 0 #fff, 0 6px 0 -2px #ebe4fb, 0 18px 34px -22px rgba(64, 32, 140, .45);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; animation: faq-spin 9s linear infinite; }
.faq--3d details:nth-child(2n) { animation-duration: 11s; animation-direction: reverse; }
.faq--3d details:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 8px 0 -2px #e4d9ff, 0 26px 44px -22px rgba(108, 43, 242, .55); }
.faq--3d details[open] { border-color: transparent;
  background: linear-gradient(180deg, #fff, #fcfaff) padding-box,
              conic-gradient(from var(--faq-a), #6c2bf2, #c026d3, #e9388e, #ff5a1f, #f59e0b, #6c2bf2) border-box;
  box-shadow: inset 0 1px 0 #fff, 0 7px 0 -2px #e2d6ff, 0 0 0 6px rgba(108, 43, 242, .07), 0 30px 60px -28px rgba(108, 43, 242, .6), 0 0 34px -10px rgba(233, 56, 142, .35);
  animation-duration: 4s; }
.faq--3d summary { padding: 24px 0; font-size: 18px; align-items: center; gap: 18px; }
.faq--3d .faq__n { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #5517c9;
  background: linear-gradient(145deg, #f6f1ff, #e8ddff); box-shadow: inset 0 1px 0 #fff, 0 4px 10px -6px rgba(108, 43, 242, .55); font-variant-numeric: tabular-nums; }
.faq--3d details[open] .faq__n { color: #fff; background: linear-gradient(140deg, #7a3cff, #e9388e); }
.faq--3d .faq__q { flex: 1; line-height: 1.4; }
.faq--3d summary .ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #f4f0fc; }
.faq--3d details[open] summary .ico { background: #6c2bf2; color: #fff; }
.faq--3d details p { padding: 0 0 24px 60px; font-size: 16.5px; line-height: 1.7; }
@keyframes faq-spin { to { --faq-a: 360deg; } }
@media (max-width: 640px) {
  .faq--3d details { padding: 0 16px; border-radius: 18px; } .faq--3d summary { font-size: 16px; padding: 18px 0; gap: 12px; }
  .faq--3d .faq__n { width: 34px; height: 34px; font-size: 12.5px; } .faq--3d details p { padding-left: 0; font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .faq--3d details { animation: none; } }

/* Pricing: billing toggle exactly centred; badges no longer squeeze the plan tagline */
.pricing .bill { display: flex; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.pricing .plan { padding-top: 54px; }
.pricing .plan--hot .plan__top, .pricing .plan--ent .plan__top { padding-right: 0; }
.pricing .plan__flag { top: 16px; right: auto; left: 22px; }
.pricing .plans { align-items: stretch; }

/* Home closing CTA: paper planes (brand gradient, golden lead plane, animated trail) */
.planes { position: relative; overflow: hidden; isolation: isolate; max-width: 1200px; margin: 40px auto 80px; border-radius: 36px; padding: 56px 56px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; color: #fff;
  background: radial-gradient(700px 380px at 85% 10%, rgba(255, 255, 255, .16), transparent 60%),
              radial-gradient(600px 400px at 10% 100%, rgba(233, 56, 142, .45), transparent 60%),
              linear-gradient(135deg, #5a1fe0 0%, #6c2bf2 40%, #8b2ae6 70%, #b4249f 100%);
  box-shadow: 0 50px 100px -50px rgba(108, 43, 242, .8); }
.planes::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.planes__art { position: relative; min-height: 340px; }
.planes__svg { position: absolute; inset: -40px -10px -60px -70px; width: calc(100% + 80px); height: calc(100% + 100px); overflow: visible; }
.planes__trail { opacity: .85; animation: planes-trail 2.4s linear infinite; }
.planes__w { transform-box: fill-box; transform-origin: center; animation: planes-bob 6s ease-in-out infinite; }
.planes__w--2 { animation-duration: 7s; animation-delay: -1.5s; } .planes__w--3 { animation-duration: 5.5s; animation-delay: -3s; }
.planes__w--4 { animation-duration: 8s; animation-delay: -2s; opacity: .85; } .planes__w--5 { animation-duration: 6.5s; animation-delay: -4s; opacity: .9; }
.planes__gold { transform-box: fill-box; transform-origin: center; animation: planes-fly 5s ease-in-out infinite; }
.planes__txt { position: relative; display: grid; gap: 14px; justify-items: start; }
.planes__txt h2 { margin: 0; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; color: #fff; }
.planes__txt h2 span { display: block; color: #ffd25a; }
.planes__swoosh { width: min(320px, 80%); height: 18px; color: #ffd25a; margin-top: -4px; }
.planes__swoosh path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: planes-draw 1.4s .4s cubic-bezier(.6,.1,.2,1) forwards; }
.planes__txt p { margin: 0; font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 460px; letter-spacing: .01em; }
.planes__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.planes__btn { background: #ffd25a; color: #2a1270; border: 0; font-weight: 800; box-shadow: 0 16px 30px -14px rgba(255, 176, 32, .9); }
.planes__btn:hover { background: #ffdc7a; color: #2a1270; transform: translateY(-2px); }
.planes__ghost { color: #fff; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .45); }
.planes__ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
@keyframes planes-trail { to { stroke-dashoffset: -28; } }
@keyframes planes-bob { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(10px, -9px) rotate(-3deg); } }
@keyframes planes-fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 40% { transform: translate(14px, -16px) rotate(-5deg); } 70% { transform: translate(6px, -6px) rotate(2deg); } }
@keyframes planes-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) {
  .planes { grid-template-columns: 1fr; padding: 34px 22px 40px; margin: 20px 16px 60px; border-radius: 28px; }
  .planes__art { min-height: 220px; order: -1; } .planes__svg { inset: -20px -10px -30px -30px; width: calc(100% + 40px); height: calc(100% + 50px); }
}
@media (prefers-reduced-motion: reduce) { .planes__trail, .planes__w, .planes__gold { animation: none; } .planes__swoosh path { animation: none; stroke-dashoffset: 0; } }

/* Home: animated ribbon landscape above the closing CTA */
.scenes { max-width: 1240px; margin: 30px auto 0; padding: 0 20px; }
.scenes__svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 40px 60px rgba(60, 30, 140, .18)); }
.scenes .sc-lines path { stroke-dasharray: 6 10; animation: sc-flow 6s linear infinite; }
.scenes .sc-lines path:nth-child(2n) { animation-duration: 8s; animation-direction: reverse; }
.scenes .sc-edges path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: sc-draw 3.2s .2s cubic-bezier(.5,.1,.2,1) forwards; filter: drop-shadow(0 0 6px rgba(233, 56, 142, .55)); }
.scenes .sc-cloud { animation: sc-drift 28s linear infinite; }
.scenes .sc-cloud--2 { animation-duration: 36s; animation-delay: -12s; } .scenes .sc-cloud--3 { animation-duration: 24s; animation-delay: -6s; }
.scenes .sc-cloud--4 { animation-duration: 32s; animation-delay: -18s; } .scenes .sc-cloud--5 { animation-duration: 30s; animation-delay: -9s; }
.scenes .sc-sun { transform-box: fill-box; transform-origin: center; animation: sc-pulse 4s ease-in-out infinite; }
.scenes .sc-birds { animation: sc-birds 14s linear infinite; }
.scenes .sc-wing { animation: sc-flap .6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.scenes .sc-kite { transform-box: fill-box; transform-origin: 50% 100%; animation: sc-kite 3.4s ease-in-out infinite; }
.scenes .sc-string { animation: sc-string 3.4s ease-in-out infinite; }
.scenes .sc-kid { animation: sc-run .5s ease-in-out infinite alternate; }
.scenes .sc-kid--2 { animation-delay: -.25s; }
.scenes .sc-windows rect { animation: sc-twinkle 3s ease-in-out infinite; }
.scenes .sc-windows rect:nth-child(2n) { animation-delay: -1.2s; } .scenes .sc-windows rect:nth-child(3n) { animation-delay: -2.1s; }
.scenes .sc-trees use { transform-box: fill-box; transform-origin: 50% 100%; animation: sc-sway 4.5s ease-in-out infinite; }
.scenes .sc-trees use:nth-child(2n) { animation-delay: -2s; }
.scenes .sc-shimmer path { animation: sc-shimmer 2.6s ease-in-out infinite; }
.scenes .sc-shimmer path:nth-child(2n) { animation-delay: -1.3s; }
@keyframes sc-flow { to { stroke-dashoffset: -64; } }
@keyframes sc-draw { to { stroke-dashoffset: 0; } }
@keyframes sc-drift { 0% { transform: translateX(-60px); } 50% { transform: translateX(60px); } 100% { transform: translateX(-60px); } }
@keyframes sc-pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.18); opacity: 1; } }
@keyframes sc-birds { 0% { transform: translate(-40px, 10px); } 50% { transform: translate(40px, -12px); } 100% { transform: translate(-40px, 10px); } }
@keyframes sc-flap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
@keyframes sc-kite { 0%, 100% { transform: rotate(-8deg) translate(0, 0); } 50% { transform: rotate(9deg) translate(6px, -6px); } }
@keyframes sc-string { 0%, 100% { opacity: .8; } 50% { opacity: .5; } }
@keyframes sc-run { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes sc-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes sc-sway { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(-4deg); } }
@keyframes sc-shimmer { 0%, 100% { opacity: .2; transform: translateX(0); } 50% { opacity: .95; transform: translateX(10px); } }
@media (max-width: 640px) { .scenes { padding: 0 8px; margin-top: 10px; } }
@media (prefers-reduced-motion: reduce) { .scenes *, .scenes *::before { animation: none !important; } .scenes .sc-edges path { stroke-dashoffset: 0; } }

/* FAQ pills: slimmer and smaller, glow in the logo colours (violet, magenta, orange, sky) */
.faq--3d { max-width: 820px; gap: 12px; }
.faq--3d details { padding: 0 20px; border-radius: 16px; border-width: 1.5px;
  background: linear-gradient(#fff, #fff) padding-box,
              conic-gradient(from var(--faq-a), #e8e1fb 0deg, #c9b2ff 60deg, #f6b8d6 120deg, #ffd0b8 170deg, #b8dcff 230deg, #e8e1fb 300deg, #e8e1fb 360deg) border-box;
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 -2px #ebe4fb, 0 12px 26px -20px rgba(64, 32, 140, .45); }
.faq--3d details[open] {
  background: linear-gradient(180deg, #fff, #fdfbff) padding-box,
              conic-gradient(from var(--faq-a), #6c2bf2, #c026d3, #e9388e, #ff5a1f, #ffb020, #0a84ff, #6c2bf2) border-box;
  box-shadow: inset 0 1px 0 #fff, 0 5px 0 -2px #e2d6ff, 0 0 0 4px rgba(108, 43, 242, .06), 0 20px 44px -24px rgba(108, 43, 242, .6), 0 0 26px -8px rgba(233, 56, 142, .4), 0 0 40px -14px rgba(10, 132, 255, .35); }
.faq--3d summary { padding: 15px 0; font-size: 16px; gap: 14px; }
.faq--3d .faq__n { width: 32px; height: 32px; border-radius: 10px; font-size: 12.5px; }
.faq--3d summary .ico { width: 28px; height: 28px; padding: 6px; }
.faq--3d details p { padding: 0 0 18px 46px; font-size: 15.5px; line-height: 1.65; }
@media (max-width: 640px) { .faq--3d details { padding: 0 14px; } .faq--3d summary { padding: 13px 0; font-size: 15px; } .faq--3d details p { padding-left: 0; } }

/* Ribbon landscape: full width, sits on the footer, ribbon edges always glowing */
.scenes { max-width: none; margin: 10px 0 -6px; padding: 0; position: relative; z-index: 1; }
.scenes__svg { width: min(1440px, 100%); margin: 0 auto; filter: drop-shadow(0 -10px 40px rgba(60, 30, 140, .12)); }
.scenes .sc-edges use { stroke-dasharray: none; filter: drop-shadow(0 0 5px rgba(233, 56, 142, .5)) drop-shadow(0 0 10px rgba(108, 43, 242, .35)); }
.scenes .sc-edges path { animation: none; }
.page-home .sfoot { margin-top: 0; }
/* Closing CTA: smaller and shorter */
.planes { max-width: 1080px; padding: 34px 44px; margin: 30px auto 10px; border-radius: 30px; gap: 10px; }
.planes__art { min-height: 220px; }
.planes__svg { inset: -26px -10px -40px -50px; width: calc(100% + 60px); height: calc(100% + 66px); }
.planes__txt { gap: 10px; }
.planes__txt h2 { font-size: clamp(28px, 3.3vw, 42px); }
.planes__txt p { font-size: 16px; }
.planes__btns { margin-top: 4px; }
@media (max-width: 900px) { .planes { padding: 26px 20px 30px; margin: 20px 16px 10px; } .planes__art { min-height: 160px; } }

/* Home "four steps": illustrated money journey artwork */
.journey { position: relative; margin: 6px 0 34px; border-radius: 30px; overflow: hidden; isolation: isolate; aspect-ratio: 2400 / 1029; background: #cfe0ff;
  box-shadow: 0 50px 90px -50px rgba(60, 30, 160, .55), 0 0 0 1px rgba(108, 43, 242, .08); }
.journey img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 60% 40%; animation: journey-zoom 22s ease-in-out infinite alternate; }
.journey::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); background: linear-gradient(180deg, rgba(108, 43, 242, 0) 70%, rgba(108, 43, 242, .12)); }
.journey__sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 45%, transparent 60%); background-size: 250% 100%; animation: journey-sheen 7s ease-in-out infinite; }
@keyframes journey-zoom { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, 1%); } }
@keyframes journey-sheen { 0%, 25% { background-position: 140% 0; } 70%, 100% { background-position: -40% 0; } }
@media (max-width: 640px) { .journey { border-radius: 20px; aspect-ratio: 16 / 10; margin-bottom: 22px; } }
@media (prefers-reduced-motion: reduce) { .journey img, .journey__sheen { animation: none; } }

/* Home: animated line-art skyline right above the footer (replaces the ribbon scenes) */
.scenes { display: none; }
.skyline { position: relative; margin: 20px 0 0; line-height: 0; overflow: hidden; }
.skyline__svg { display: block; width: 100%; height: clamp(260px, 32vw, 460px); }
.skyline .sk-flow { animation: sk-flow linear infinite; will-change: transform; }
.skyline .sk-city > * { stroke-dasharray: 900; stroke-dashoffset: 900; animation: sk-draw 3.2s cubic-bezier(.5,.1,.2,1) forwards; }
.skyline .sk-city > *:nth-child(3n) { animation-delay: .25s; } .skyline .sk-city > *:nth-child(3n+1) { animation-delay: .5s; }
.skyline .sk-city .sk-floor { opacity: .55; stroke-width: 1; }
.skyline .sk-win rect { animation: sk-twinkle 2.8s ease-in-out infinite; }
.skyline .sk-win rect:nth-child(2n) { animation-delay: -1s; } .skyline .sk-win rect:nth-child(3n) { animation-delay: -1.9s; }
.skyline .sk-sun { transform-box: fill-box; transform-origin: center; animation: sk-sun 5s ease-in-out infinite; }
.skyline .sk-birds { animation: sk-birds 16s ease-in-out infinite; }
.skyline .sk-wing { transform-box: fill-box; transform-origin: center; animation: sk-flap .55s ease-in-out infinite alternate; }
.skyline .sk-person { animation: sk-hop .9s ease-in-out infinite alternate; }
.skyline .sk-ball { animation: sk-ball 1.8s ease-in-out infinite; }
.skyline .sk-trees use { transform-box: fill-box; transform-origin: 50% 100%; animation: sk-sway 4s ease-in-out infinite; }
.skyline .sk-trees use:nth-child(2n) { animation-delay: -2s; }
.skyline .sk-globe { transform-box: fill-box; transform-origin: center; animation: sk-sun 4s ease-in-out infinite; }
.skyline .sk-cloudicon { animation: sk-float 5s ease-in-out infinite; }
.skyline .sk-bub { transform-box: fill-box; transform-origin: center; animation: sk-bub ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(108, 43, 242, .25)); }
@keyframes sk-flow { from { transform: translateX(0); } to { transform: translateX(var(--p)); } }
@keyframes sk-draw { to { stroke-dashoffset: 0; } }
@keyframes sk-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes sk-sun { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes sk-birds { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(90px, -18px); } }
@keyframes sk-flap { from { transform: scaleY(1); } to { transform: scaleY(.4); } }
@keyframes sk-hop { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes sk-ball { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -18px); } }
@keyframes sk-sway { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(-5deg); } }
@keyframes sk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sk-bub { 0%, 100% { transform: translateY(0) scale(1); opacity: .95; } 50% { transform: translateY(-22px) scale(1.12); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skyline * { animation: none !important; } .skyline .sk-city > * { stroke-dashoffset: 0; } }

/* Closing CTA: lighter and see-through, in the skyline colours */
.planes { background: radial-gradient(600px 320px at 85% 0%, rgba(255, 255, 255, .28), transparent 60%),
    linear-gradient(135deg, rgba(108, 43, 242, .74) 0%, rgba(84, 120, 245, .62) 45%, rgba(192, 38, 211, .62) 80%, rgba(233, 56, 142, .66) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1.5px solid rgba(255, 255, 255, .55); box-shadow: 0 40px 80px -48px rgba(108, 43, 242, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.planes::before { opacity: .18; }
.planes__txt p { color: rgba(255, 255, 255, .92); }

/* Four steps: glossy glass cards resting on the journey artwork */
.journey-wrap { position: relative; margin-top: 4px; }
.journey-wrap .journey { margin: 0; aspect-ratio: 2400 / 1180; }
.journey-wrap .journey img { opacity: .86; object-position: 50% 30%; }
.journey-wrap .journey::after { background: linear-gradient(180deg, rgba(244, 246, 251, 0) 38%, rgba(244, 246, 251, .35) 62%, rgba(244, 246, 251, .78) 100%); }
.steps--glass { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; gap: 16px; }
.steps--glass .stepc { position: relative; overflow: hidden; border-radius: 24px; padding: 22px 22px 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .46) 55%, rgba(246, 241, 255, .5) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(108, 43, 242, .08), 0 18px 40px -22px rgba(40, 20, 100, .45), 0 2px 6px rgba(40, 20, 100, .06);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
/* glossy highlight across the top half */
.steps--glass .stepc::before { content: ""; position: absolute; inset: 0 0 52% 0; pointer-events: none; border-radius: 24px 24px 60% 60% / 24px 24px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); opacity: .7; }
.steps--glass .stepc::after { content: ""; position: absolute; top: -60%; left: -40%; width: 40%; height: 220%; pointer-events: none; transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: glass-shine 7s ease-in-out infinite; }
.steps--glass .stepc:nth-child(2)::after { animation-delay: 1s; } .steps--glass .stepc:nth-child(3)::after { animation-delay: 2s; } .steps--glass .stepc:nth-child(4)::after { animation-delay: 3s; }
.steps--glass .stepc:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 #fff, 0 28px 50px -24px rgba(108, 43, 242, .55), 0 2px 6px rgba(40, 20, 100, .06); }
.steps--glass .stepc > * { position: relative; z-index: 1; }
.steps--glass .stepc h3 { color: #14113a; font-size: 18px; letter-spacing: -.015em; text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.steps--glass .stepc p { color: #2f2b55; font-size: 14.5px; line-height: 1.55; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.steps--glass .stepc__n { box-shadow: 0 10px 20px -10px var(--g, #6c2bf2), inset 0 1px 0 rgba(255, 255, 255, .5); }
@keyframes glass-shine { 0%, 60% { left: -45%; } 85%, 100% { left: 130%; } }
@media (max-width: 1020px) {
  .journey-wrap .journey { aspect-ratio: 2400 / 1029; }
  .steps--glass { position: relative; left: auto; right: auto; bottom: auto; margin-top: -60px; padding: 0 14px; grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) { .steps--glass { grid-template-columns: 1fr !important; margin-top: -30px; } }
@media (prefers-reduced-motion: reduce) { .steps--glass .stepc::after { animation: none; display: none; } }

/* Home slider: no dashed ring behind the cards */
.arc__ring { display: none !important; }

/* How InvoiceStudio Works: centred title, softer image behind the four glass cards */
.how-head { text-align: center; margin: 0 auto 22px; justify-items: center; }
.how-head h2 { margin: 0; }
.journey-wrap .journey img { opacity: .8; }
.journey-wrap .journey::after { background: linear-gradient(180deg, rgba(244, 246, 251, 0) 30%, rgba(244, 246, 251, .5) 52%, rgba(244, 246, 251, .86) 72%, rgba(244, 246, 251, .94) 100%); }
.steps--glass .stepc { background: linear-gradient(160deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .4) 55%, rgba(246, 241, 255, .44) 100%); }

/* How it works: transparency back to the earlier look, shorter image and compact cards */
.journey-wrap .journey { aspect-ratio: 2400 / 960; }
.journey-wrap .journey img { opacity: .86; object-position: 50% 34%; }
.journey-wrap .journey::after { background: linear-gradient(180deg, rgba(244, 246, 251, 0) 38%, rgba(244, 246, 251, .35) 62%, rgba(244, 246, 251, .78) 100%); }
.steps--glass { left: 18px; right: 18px; bottom: 18px; gap: 12px; }
.steps--glass .stepc { padding: 14px 16px 14px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .46) 55%, rgba(246, 241, 255, .5) 100%); }
.steps--glass .stepc::before { border-radius: 18px 18px 60% 60% / 18px 18px 16px 16px; }
.steps--glass .stepc__n { width: 30px; height: 30px; font-size: 13px; border-radius: 9px; margin-bottom: 8px; }
.steps--glass .stepc h3 { font-size: 15.5px; margin: 0 0 4px; }
.steps--glass .stepc p { font-size: 13px; line-height: 1.45; margin: 0; }
@media (max-width: 1020px) { .journey-wrap .journey { aspect-ratio: 2400 / 1029; } }

/* How it works cards: soft glowing border in each card's colour, light 3D edge */
.steps--glass .stepc { border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95),
              0 0 0 1.5px color-mix(in srgb, var(--g, #6c2bf2) 38%, transparent),
              0 4px 0 -1px color-mix(in srgb, var(--g, #6c2bf2) 22%, white),
              0 0 22px -6px color-mix(in srgb, var(--g, #6c2bf2) 70%, transparent),
              0 18px 36px -22px rgba(40, 20, 100, .45);
  animation: step-glow 4.5s ease-in-out infinite; }
.steps--glass .stepc:nth-child(2) { animation-delay: -1.1s; } .steps--glass .stepc:nth-child(3) { animation-delay: -2.2s; } .steps--glass .stepc:nth-child(4) { animation-delay: -3.3s; }
.steps--glass .stepc:hover { transform: translateY(-4px);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px color-mix(in srgb, var(--g, #6c2bf2) 60%, transparent), 0 6px 0 -1px color-mix(in srgb, var(--g, #6c2bf2) 28%, white),
              0 0 30px -4px color-mix(in srgb, var(--g, #6c2bf2) 80%, transparent), 0 24px 44px -22px rgba(40, 20, 100, .5); }
@keyframes step-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1.5px color-mix(in srgb, var(--g, #6c2bf2) 32%, transparent), 0 4px 0 -1px color-mix(in srgb, var(--g, #6c2bf2) 22%, white), 0 0 16px -8px color-mix(in srgb, var(--g, #6c2bf2) 60%, transparent), 0 18px 36px -22px rgba(40,20,100,.45); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1.5px color-mix(in srgb, var(--g2, #e9388e) 50%, transparent), 0 4px 0 -1px color-mix(in srgb, var(--g, #6c2bf2) 26%, white), 0 0 26px -4px color-mix(in srgb, var(--g2, #e9388e) 65%, transparent), 0 18px 36px -22px rgba(40,20,100,.45); }
}
@media (prefers-reduced-motion: reduce) { .steps--glass .stepc { animation: none; } }

/* How InvoiceStudio Works: steps (2x2 glass) + animated payment illustration */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 34px; align-items: center; }
.steps--grid { position: static !important; inset: auto !important; display: grid; grid-template-columns: 1fr 1fr !important; gap: 14px; }
.steps--grid .stepc { padding: 20px 20px 18px; }
.steps--grid .stepc h3 { font-size: 17px; } .steps--grid .stepc p { font-size: 14px; }
.how-art { position: relative; }
.how-art::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(108, 43, 242, .14), rgba(233, 56, 142, .08) 45%, transparent 70%); filter: blur(10px); z-index: -1; }
.howart { display: block; width: 100%; height: auto; overflow: visible; }
.howart * { transform-box: fill-box; }
/* one 8s story: invoice slides in, PAY is tapped, the paid notification drops in */
.howart .ha-doc { animation: ha-bob 6s ease-in-out infinite; }
.howart .ha-doc--b { animation-duration: 7s; animation-delay: -2s; } .howart .ha-doc--c { animation-duration: 6.5s; animation-delay: -3.5s; }
.howart .ha-card { transform-origin: center; animation: ha-card 5.5s ease-in-out infinite; }
.howart .ha-wifi path { animation: ha-wifi 1.8s ease-in-out infinite; } .howart .ha-w2 { animation-delay: .2s; } .howart .ha-w3 { animation-delay: .4s; }
.howart .ha-bill { animation: ha-bill 8s cubic-bezier(.3,.7,.2,1) infinite; }
.howart .ha-pay { transform-origin: center; animation: ha-pay 8s ease-in-out infinite; }
.howart .ha-ripple { transform-origin: center; opacity: 0; animation: ha-ripple 8s ease-out infinite; }
.howart .ha-note { animation: ha-note 8s cubic-bezier(.2,.9,.25,1.2) infinite; filter: drop-shadow(0 10px 14px rgba(20, 17, 58, .18)); }
.howart .ha-arm { transform-origin: 0% 50%; animation: ha-tap 8s ease-in-out infinite; }
.howart .ha-head { transform-origin: 50% 100%; animation: ha-nod 4s ease-in-out infinite; }
.howart .ha-shin { transform-origin: 0% 0%; animation: ha-swing 2.4s ease-in-out infinite; }
.howart .ha-mini { animation: ha-bob 3s ease-in-out infinite; }
.howart .ha-coin { animation: ha-coin 3.6s ease-in infinite; } .howart .ha-coin--2 { animation-delay: -1.2s; } .howart .ha-coin--3 { animation-delay: -2.4s; }
.howart .ha-spark path { transform-origin: center; animation: ha-spark 2.4s ease-in-out infinite; } .howart .ha-spark path:nth-child(2) { animation-delay: -.8s; } .howart .ha-spark path:nth-child(3) { animation-delay: -1.6s; }
@keyframes ha-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes ha-card { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-3deg); } }
@keyframes ha-wifi { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes ha-bill { 0% { transform: translateY(-270px); } 18%, 88% { transform: translateY(0); } 100% { transform: translateY(-270px); } }
@keyframes ha-pay { 0%, 36% { transform: scale(1); } 40% { transform: scale(.9); } 44%, 100% { transform: scale(1); } }
@keyframes ha-ripple { 0%, 39% { opacity: 0; transform: scale(1); } 40% { opacity: .9; transform: scale(1); } 52% { opacity: 0; transform: scale(2.4); } 100% { opacity: 0; } }
@keyframes ha-note { 0%, 42% { transform: translateY(-110px); opacity: 0; } 47% { transform: translateY(6px); opacity: 1; } 50%, 84% { transform: translateY(0); opacity: 1; } 90%, 100% { transform: translateY(-110px); opacity: 0; } }
@keyframes ha-tap { 0%, 34% { transform: rotate(0); } 38% { transform: rotate(8deg); } 42%, 100% { transform: rotate(0); } }
@keyframes ha-nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg); } }
@keyframes ha-swing { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(7deg); } }
@keyframes ha-coin { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-120px); opacity: 0; } }
@keyframes ha-spark { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1.2); opacity: 1; } }
@media (max-width: 1020px) { .how-grid { grid-template-columns: 1fr; } .how-art { max-width: 560px; margin: 0 auto; order: -1; } }
@media (max-width: 640px) { .steps--grid { grid-template-columns: 1fr !important; } }
@media (prefers-reduced-motion: reduce) { .howart * { animation: none !important; } }

/* Hero right side: animated payment illustration */
.home-hero .hero-art { position: relative; max-width: 560px; width: 100%; justify-self: end; }
.home-hero .hero-art::before { content: ""; position: absolute; inset: 4% 2%; border-radius: 50%; z-index: -1; filter: blur(12px);
  background: radial-gradient(circle, rgba(108, 43, 242, .16), rgba(233, 56, 142, .09) 45%, transparent 70%); }
.home-hero .hero-art .howart { width: 100%; height: auto; }
@media (max-width: 900px) { .home-hero .hero-art { max-width: 460px; margin: 10px auto 0; justify-self: center; } }

/* Admin links in the app sidebar */
.sidenav__h { margin: 14px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
.sidenav a.is-admin-on { background: #f6f2ff; color: #5517c9; font-weight: 700; }

/* Upsell / cross-sell card (customers, right side) */
.ups { position: fixed; right: 22px; bottom: 96px; z-index: 70; width: 300px; padding: 18px 18px 16px; border-radius: 22px; color: #fff; display: grid; gap: 8px;
  box-shadow: 0 30px 60px -24px rgba(40, 20, 100, .6), inset 0 1px 0 rgba(255,255,255,.35); transform: translateX(120%) rotate(4deg); opacity: 0;
  transition: transform .6s cubic-bezier(.2,.9,.25,1.15), opacity .4s; overflow: hidden; isolation: isolate; }
.ups.is-in { transform: none; opacity: 1; }
.ups::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.22), transparent 30%); animation: ups-spin 6s linear infinite; }
.ups--violet { background: linear-gradient(140deg, #5b21e6, #a524e0 60%, #e9388e); color-scheme: dark; }
.ups--sunset { background: linear-gradient(140deg, #e9388e, #ff5a1f 70%, #ffb020); }
.ups--ocean { background: linear-gradient(140deg, #0a84ff, #6c2bf2); }
.ups__x { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.ups__x:hover { background: rgba(255,255,255,.32); }
.ups__art { color: #6c2bf2; height: 80px; } .ups--sunset .ups__art { color: #ff5a1f; } .ups--ocean .ups__art { color: #0a84ff; }
.ups__art svg { height: 100%; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0,0,0,.2)); }
.ups__art * { transform-box: fill-box; }
.ups__c1 { animation: ups-bob 4s ease-in-out infinite; } .ups__c2 { animation: ups-bob 4s ease-in-out -2s infinite; }
.ups__spark { transform-origin: center; animation: ups-tw 2s ease-in-out infinite; }
.ups__eye { width: max-content; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 4px 9px; border-radius: 99px; }
.ups__t { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; } .ups p { margin: 0; font-size: 13.5px; line-height: 1.5; opacity: .92; }
.ups__btn { margin-top: 4px; display: inline-flex; justify-content: center; align-items: center; gap: 6px; height: 44px; border-radius: 14px; background: #fff; color: #14113a; font-weight: 800; font-size: 14.5px; text-decoration: none; transition: transform .2s; }
.ups__btn:hover { transform: translateY(-2px); color: #14113a; }
@keyframes ups-spin { to { transform: rotate(360deg); } } @keyframes ups-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes ups-tw { 0%, 100% { transform: scale(.6); opacity: .5; } 50% { transform: scale(1.2); opacity: 1; } }
@media (max-width: 640px) { .ups { right: 12px; left: 12px; width: auto; bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .ups, .ups * , .ups::before { animation: none !important; transition: none !important; } }

/* Clay-style navigation: floating compact bar on scroll, sliding highlight, fast menus */
@media (min-width: 901px) {
  .topbar { transition: padding .28s cubic-bezier(.2,.8,.2,1), background .28s; }
  .topbar__inner { transition: max-width .32s cubic-bezier(.2,.8,.2,1), padding .32s cubic-bezier(.2,.8,.2,1), background .3s, box-shadow .3s, border-radius .32s, margin .32s; border-radius: 0; }
  .topbar.is-compact { background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; padding-top: 10px; }
  .topbar.is-compact .topbar__inner { max-width: 1040px; padding: 8px 10px 8px 18px; border-radius: 999px; background: rgba(255,255,255,.82);
    -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
    box-shadow: 0 0 0 1px rgba(20,17,58,.06), 0 18px 40px -22px rgba(40,20,100,.45); }
  .topbar.is-compact .brand__logo { transform: scale(.9); transform-origin: left center; }
  .brand__logo { transition: transform .3s; }
  .topnav { position: relative; display: flex; align-items: center; gap: 2px; margin: 0 auto; }
  .topnav > a, .topnav > details > summary { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: color .15s; }
  .topnav > a:hover, .topnav > details > summary:hover, .topnav > details[open] > summary { background: none; color: var(--ink); }
  .topnav__hl { position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; border-radius: 999px; background: rgba(108,43,242,.08); opacity: 0; pointer-events: none;
    transition: transform .22s cubic-bezier(.2,.8,.2,1), width .22s cubic-bezier(.2,.8,.2,1), opacity .15s; }
  .topnav__hl.is-on { opacity: 1; }
  .tmenu__panel { display: grid !important; visibility: hidden; opacity: 0; transform: translateX(-50%) translateY(-6px) scale(.985); transform-origin: top center;
    transition: opacity .16s ease, transform .2s cubic-bezier(.2,.8,.2,1), visibility 0s linear .2s; }
  .tmenu[open] .tmenu__panel { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0) scale(1); transition: opacity .16s ease, transform .2s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .tmenu__col a { transition: background .12s, color .12s, transform .12s; } .tmenu__col a:hover { transform: translateX(2px); }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .topbar, .topbar__inner, .topnav__hl, .tmenu__panel { transition: none !important; } }

/* =====================================================================================
   Audit fixes (responsive, contrast, tap targets, layout shift). Kept together on purpose.
   ===================================================================================== */

/* Header: mobile menu (<=900px). A <details> toggle, so it works without JavaScript. */
.mnav { display: none; }
.mnav__btn { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.mnav__btn::-webkit-details-marker { display: none; }
.mnav__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.mnav__btn:focus-visible { outline: 3px solid rgba(108, 43, 242, .5); outline-offset: 2px; }
.mnav[open] .mnav__btn { background: #f6f2ff; border-color: #d9cbff; color: #5517c9; }
@media (max-width: 900px) {
  .topbar__inner { gap: 10px; }
  .topbar__actions { margin-left: auto; }
  .mnav { display: block; order: 2; }
  .topbar:has(.mnav[open]) .topnav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); z-index: 70; margin: 0;
    padding: 10px; background: #fff; border: 1px solid #ebe5fb; border-radius: 20px; box-shadow: 0 40px 80px -36px rgba(20, 17, 58, .5); max-height: calc(100vh - 90px); overflow: auto; overscroll-behavior: contain; }
  .topbar:has(.mnav[open]) .topnav > a { padding: 13px 14px; font-size: 16px; border-radius: 12px; }
  .topbar:has(.mnav[open]) .tmenu > summary { display: flex; justify-content: space-between; padding: 13px 14px; margin: 0; font-size: 16px; color: var(--ink-2); }
  .topbar:has(.mnav[open]) .tmenu__panel { position: static; transform: none; width: auto; max-height: none; overflow: visible; box-shadow: none; border: 0; border-radius: 16px;
    background: #faf8ff; padding: 14px; margin: 2px 0 6px; grid-template-columns: 1fr 1fr; animation: none; }
}
@media (max-width: 520px) { .topbar:has(.mnav[open]) .tmenu__panel { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .mnav__btn { width: 40px; height: 40px; } }

/* Tools mega-menu: centre it on the (centred) main nav, not on the Tools link, so it never runs off
   the left edge at 901-1450px. */
@media (min-width: 901px) {
  .topnav > .tmenu { position: static; }
  .tmenu__panel { width: min(780px, calc(100vw - 48px)); }
  .tmenu__panel::before { display: none; }
}
.topnav .tmenu__all, .topnav .tmenu__all:hover { color: #fff; }
.tbadge { white-space: nowrap; }

/* Footer: two real columns on phones (links were max-content and pushed the grid past the screen). */
@media (max-width: 1180px) { .sfoot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sfoot__badges { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sfoot__top, .sfoot__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfoot__col a, .sfoot__link { width: auto; overflow-wrap: anywhere; }
  .sfoot__badges .sbadge { max-width: 100%; white-space: normal; text-align: center; }
}
p.sfoot__h { margin-top: 0; }
.sfoot__link { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 15px; color: #a9a6ba; cursor: pointer; text-align: left; width: max-content; max-width: 100%; transition: color .2s, transform .2s; }
.sfoot__link:hover { color: #fff; }
.sfoot__col .sfoot__link:hover { transform: translateX(3px); }
.sfoot__base .sfoot__link { color: #e6e4f0; font-size: 15px; }
.sfoot__base .sfoot__link:hover { color: #fff; text-decoration: underline; }
.sfoot__link:focus-visible { outline: 3px solid rgba(165, 120, 255, .7); outline-offset: 2px; border-radius: 4px; }
/* The footer is far below the fold: skip its layout (and its logo image) until it is near. */
.sfoot { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Footer badges: white text needs 4.5:1, so darker fills */
.sbadge--b { background: linear-gradient(120deg, #0062cc, #1d4ed8); }
.sbadge--c { background: linear-gradient(120deg, #be185d, #db2777); }
.sbadge--f { background: linear-gradient(120deg, #c2410c, #b45309); }

/* Contrast fixes */
.paylogos__note { color: #64748b; }
.hero__proof { color: #5b6578; }
.bcrumb span[aria-hidden] { color: rgba(255, 255, 255, .64); }
.compare td.yes { color: #15803d; }
.compare td.no { color: #8b88a3; }
.planes { background: radial-gradient(600px 320px at 85% 0%, rgba(255, 255, 255, .2), transparent 60%),
    linear-gradient(135deg, rgba(96, 36, 226, .94) 0%, rgba(62, 92, 220, .9) 45%, rgba(160, 30, 180, .9) 80%, rgba(200, 40, 120, .92) 100%); }
.planes__txt h2, .planes__txt p { text-shadow: 0 1px 2px rgba(30, 10, 80, .35); }
.planes__ghost { background: rgba(20, 10, 60, .28); border-color: rgba(255, 255, 255, .7); }

/* Home "How it works": the unscoped left/right offsets came after the tablet rule and shifted the stack 18px. */
@media (max-width: 1020px) { .steps--glass { left: auto; right: auto; } }
.journey picture { display: contents; }

/* Chat launcher: the teaser floats above the button (no layout shift) and stays off small phones. */
.chat-tease { position: absolute; right: 0; bottom: calc(100% + 12px); width: max-content; max-width: min(270px, calc(100vw - 32px)); }
.chat-tease__x { width: 32px; height: 32px; top: 4px; right: 4px; }
.chat-tease__x::after { content: ""; position: absolute; inset: -4px; }
.chat-tease { padding-right: 40px; }
@media (max-width: 640px) { .chat-tease { display: none !important; } }

/* Home section pills and carousel dots at 320px */
@media (max-width: 380px) {
  .sec__kicker { font-size: 11px; letter-spacing: .06em; padding-left: 10px; padding-right: 10px; }
  .arc__dots { gap: 4px; padding: 0 8px; }
}

/* Minimum target size (WCAG 2.2: 24px) for small inline links everywhere */
nav.bcrumb > a, .sfoot__base > a, .sfoot__base > .sfoot__link, .bauthor a.blink, .auth__alt { display: inline-flex; align-items: center; min-height: 24px; }
/* Touch screens: 40px+ hit areas without changing the layout */
@media (pointer: coarse) {
  .arc__dot { position: relative; }
  .arc__dot::after { content: ""; position: absolute; inset: -15px -3px; }
  .sfoot__col a, .sfoot__col .sfoot__link { padding: 9px 0; margin: -4px 0; }
  .sfoot__base > a, .sfoot__base > .sfoot__link { padding: 8px 6px; margin: -8px -6px; min-height: 40px; }
  nav.bcrumb > a { padding: 10px 4px; margin: -10px -4px; }
  .btn--sm { min-height: 40px; }
  .topbar .brand { min-height: 40px; }
  .topbar__actions .btn--primary, .topbar__actions .mic-btn { min-height: 40px; min-width: 40px; }
  .bshare a, .bshare button { width: 42px; height: 42px; }
  .btoc a, .bmtoc a { padding-top: 10px; padding-bottom: 10px; }
  .bprose a, .tguide a { padding-block: 4px; }
  .auth__alt { min-height: 40px; padding: 0 4px; margin: 0 -4px; }
}

/* Sign-in page */
.auth__side .auth__h { font-size: 38px; font-weight: 800; letter-spacing: -.035em; max-width: 460px; color: var(--ink); line-height: 1.15; margin: 0; }
.auth__forgot { font-size: 14.5px; }
.auth__forgot > summary { list-style: none; cursor: pointer; color: var(--brand-6); font-weight: 700; display: inline-flex; align-items: center; min-height: 40px; }
.auth__forgot > summary::-webkit-details-marker { display: none; }
.auth__forgot > div { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f6f2ff; border: 1px solid #e4dafe; }
.auth__forgot p { margin: 0; }
.auth__forgot-msg:empty { display: none; }

.mnav > summary { list-style: none; } .mnav > summary::-webkit-details-marker { display: none; }
@media (min-width: 901px) { .mnav { display: none !important; } }
.journey picture { display: block; width: 100%; height: 100%; }

/* Small legal note next to the plan / sign-up buttons */
.plans__legal { max-width: 760px; margin: 12px auto 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.plans__legal a, .auth__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.auth__legal { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* ============================================================== app shell: scrolling sidebar + top bar
   The sidebar is one screen tall; only its menu scrolls, so every link (incl. Admin) is always reachable. */
.sidebar { overflow: hidden; gap: 14px; padding: 18px 14px 14px; background: linear-gradient(180deg, #fff 0%, #fdfbff 100%); }
.sidebar .brand { padding: 2px 6px 2px; }
.sidenav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; align-content: start; gap: 3px;
  margin: 0 -8px; padding: 6px 8px 16px; scrollbar-width: thin; scrollbar-color: transparent transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent 100%); }
.sidenav:hover, .sidenav:focus-within { scrollbar-color: #dcd3f8 transparent; }
.sidenav::-webkit-scrollbar { width: 6px; } .sidenav::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
.sidenav:hover::-webkit-scrollbar-thumb { background: #dcd3f8; }
.sidenav a { gap: 12px; padding: 7px 10px 7px 7px; border-radius: 13px; font-size: 14px; color: #3f3b5c; transition: background .2s, color .2s, transform .2s; }
.sidenav a .ico { box-sizing: border-box; width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: #f5f3fb; color: #6c6790; transition: background .2s, color .2s, box-shadow .2s, transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.sidenav a:hover { background: #f8f6fe; color: #1f1a3d; }
.sidenav a:hover .ico { background: #efe8ff; color: #6d28d9; transform: scale(1.06); }
.sidenav a.is-active, .sidenav a.is-admin-on { background: linear-gradient(90deg, #f2ecff, #fff4ee); color: #4c1d95; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .1); }
.sidenav a.is-active .ico, .sidenav a.is-admin-on .ico { background: linear-gradient(135deg, #7c3aed, #db2777 80%, #f97316); color: #fff; box-shadow: 0 8px 16px -8px rgba(124, 58, 237, .7); }
.sidenav a.is-active::before { display: none; }
.sidenav a:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(124, 58, 237, .25); }
.sidenav__h { display: flex; align-items: center; gap: 10px; margin: 18px 10px 6px; font-size: 10.5px; color: #a39fbc; }
.sidenav__h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #ebe6f8, transparent); }
.sidebar__foot { margin-top: 0; padding: 10px; border: 1px solid #efeafb; border-top: 1px solid #efeafb; border-radius: 16px; background: #faf8ff; }

.appbar { gap: 16px; padding: 14px 32px; background: rgba(247, 246, 252, .8); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(124, 58, 237, .08); }
.appbar__head { display: grid; min-width: 0; line-height: 1.15; }
.appbar__title { font-size: 21px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.appbar__crumb { font-size: 12.5px; font-weight: 600; color: #8d88a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar__tools { display: flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 1px solid #e8e4f4; }
.appbar__actions:empty + .appbar__tools { padding-left: 0; border-left: 0; }
.nbell__btn { position: relative; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; cursor: pointer; flex: none;
  border: 1.5px solid #ebe6f8; background: #fff; color: #5b5578; box-shadow: 0 8px 18px -14px rgba(76, 29, 149, .55); transition: color .2s, border-color .2s, box-shadow .25s, transform .25s; }
.nbell__btn .ico { width: 20px; height: 20px; }
.nbell__btn:hover, .nbell.is-open .nbell__btn { color: #6d28d9; border-color: #d8ccfb; transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(124, 58, 237, .1), 0 12px 24px -14px rgba(124, 58, 237, .65); }
.nbell__btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(124, 58, 237, .25); }
.appbar__me { display: flex; align-items: center; gap: 10px; max-width: 240px; padding: 4px 14px 4px 4px; border-radius: 99px; text-decoration: none; color: inherit;
  background: #fff; border: 1.5px solid #ebe6f8; box-shadow: 0 8px 18px -14px rgba(76, 29, 149, .55); transition: border-color .2s, box-shadow .25s, transform .25s; }
.appbar__me:hover { border-color: #d8ccfb; transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(124, 58, 237, .08), 0 12px 24px -14px rgba(124, 58, 237, .6); }
.appbar__me .avatar { width: 34px; height: 34px; font-size: 12.5px; }
.appbar__me-tx { display: grid; min-width: 0; line-height: 1.2; }
.appbar__me-tx b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar__me-tx small { font-size: 11.5px; color: #8d88a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .sidebar { height: 100dvh; }
  .appbar { padding: 10px 14px; gap: 10px; }
  .appbar__title { font-size: 18px; }
  .appbar__crumb { display: none; }
  .appbar__tools { padding-left: 0; border-left: 0; gap: 8px; }
  .appbar__me { padding: 3px; } .appbar__me-tx { display: none; }
  .nbell__btn { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .sidenav a .ico, .nbell__btn, .appbar__me { transition: none; } }

/* Upgrade button inside a "not in your plan" toast */
.toast--upsell { align-items: center; }
.toast__cta { margin-left: 10px; flex: none; padding: 6px 12px; border-radius: 99px; background: #fff; color: #6d28d9; font-weight: 800; font-size: 12.5px; text-decoration: none; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .25); }
.toast__cta:hover { background: #f4f0ff; }

/* Pricing: features on the roadmap (not live yet) */
.plan__list li.is-soon { opacity: .78; }
.plan__list li.is-soon .ico { color: #a39fbc; }
.soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; color: #7c3aed; background: #f1ebff; white-space: nowrap; }
.plan--ent .soon { color: #fff; background: rgba(255, 255, 255, .18); }
.compare td.soon { color: #7c3aed; font-weight: 700; font-size: 12.5px; }
.plan__coupon { display: block; margin: -4px 0 4px; text-align: center; font-size: 12.5px; font-weight: 700; color: #7c3aed; text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 3px; opacity: .85; }
.plan__coupon:hover { opacity: 1; }
.plan--ent .plan__coupon { color: #e9ddff; }

/* templates-extra.css */
/* ==================================================================== Studio collection
   panels · scallop · horizon · noir · geonight · monoblock · ribbon · bloom · ledger · ticket · aqua · sunrise
   Preview styles for the twelve designs added after the original sixteen (render.js TEMPLATES with x: true).
   PDF versions live in app/Views/pdf/extra-head.php + extra-style.php.
   Colours: --c (brand, user-overridable), --c2 (design accent), --on / --on2 (readable text on them). */

.sheet.t-x > :not(.s-deco):not(.s-stamp):not(.s-foot) { position: relative; z-index: 1; }
.sheet.t-x .s-deco { position: absolute; pointer-events: none; z-index: 0; display: block; }
.sheet.t-x .s-title { font-size: calc(var(--ts, 44px) * var(--tk, 1)); }
.sheet.t-x .s-head.al-center .s-meta-t { text-align: center; }
.sheet.t-x .s-logo-wrap { background: #fff; padding: 8px 10px; border-radius: 12px; display: inline-block; margin-bottom: 8px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.4); }
.sheet.t-x .s-logo-wrap .s-logo { display: block; }
.sheet.t-x svg.s-deco { fill: currentColor; }
/* one continuous gradient across the header row (cells stay transparent and keep the rounded ends) */
.sheet.t-x .s-gth thead tr { background: linear-gradient(90deg, var(--c), var(--c2)); }
.sheet.t-x .s-gth th { background: transparent !important; color: #fff; }

/* ------------------------------------------------------------------ 1. Pastel Panels */
.sheet.t-panels { --ts: 66px; --pink: #ffd9e7; --sky: #d6ebff; --vio: color-mix(in srgb, var(--c) 14%, white);
  background: #fff4f7; padding-bottom: 92px; }
.t-panels .s-dot { border-radius: 50%; }
.t-panels .s-dot--1 { width: 170px; height: 170px; right: -85px; top: 150px; background: var(--pink); }
.t-panels .s-dot--2 { width: 120px; height: 120px; left: -60px; top: 360px; background: var(--sky); }
.t-panels .s-dot--3 { width: 26px; height: 26px; right: 120px; top: 30px; background: var(--c); opacity: .85; }
.t-panels .s-dot--4 { width: 70px; height: 70px; right: 34%; top: -35px; background: var(--vio); }
.t-panels .s-title { font-weight: 900; letter-spacing: -.03em; color: var(--c); }
.t-panels .s-parties { grid-template-columns: 210px 1fr 1fr; gap: 22px; align-items: start; }
.t-panels .s-meta { order: -1; background: var(--pink); border-radius: 22px; padding: 14px 16px; gap: 5px; }
.t-panels .s-meta span { color: #7d4a5e; }
.t-panels .s-meta b { color: #2a1530; }
.t-panels .s-party { padding-top: 6px; }
.t-panels table { background: #fff; border-radius: 20px; overflow: hidden; border-collapse: separate; border-spacing: 0; box-shadow: 0 18px 36px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.t-panels th { background: var(--vio); color: var(--c); }
.t-panels td { border-bottom-color: #f6e8ee; }
.t-panels tbody tr:last-child td { border-bottom: 0; }
.t-panels .s-side .s-section { margin-top: 14px; border-radius: 22px; padding: 14px 16px; }
.t-panels .s-side .s-pay-sec { background: var(--c); color: var(--on); }
.t-panels .s-side .s-pay-sec .s-label { color: inherit; opacity: .8; }
.t-panels .s-side .s-pay { grid-template-columns: 1fr; gap: 6px; }
.t-panels .s-side .s-pm { background: rgba(255,255,255,.14); border-left: 0; border-radius: 12px; }
.t-panels .s-side .s-pm b, .t-panels .s-side .s-pm a { color: inherit; }
.t-panels .s-side .s-pm div, .t-panels .s-side .s-payi { color: inherit !important; opacity: .85; }
.t-panels .s-side .s-terms-sec { background: var(--sky); }
.t-panels .s-side .s-terms-sec .s-label { color: #2c5a85; }
.t-panels .s-side .s-termtx { color: #23405e !important; }
.t-panels .s-totals { background: #fff; border-radius: 18px; padding: 8px 4px; }
.t-panels .s-due { background: var(--c2); color: var(--on2); border-radius: 999px; padding: 13px 22px; }
.t-panels .s-pay-sec:not(.s-side .s-pay-sec) .s-pm { background: #fff; }
.t-panels .s-foot { left: 36px; right: 36px; bottom: 22px; background: var(--c); color: var(--on); border-radius: 16px; padding: 11px 20px; font-size: 10px; align-items: center; }
.t-panels .s-foot__c { display: flex; gap: 18px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ 2. Scallop */
.sheet.t-scallop { --ts: 104px; background: #fff8ee; }
.t-scallop .s-title { font-weight: 900; letter-spacing: -.045em; line-height: .88; color: var(--c); margin-top: 18px; }
.t-scallop .s-head .s-no { font-weight: 700; color: var(--c); font-size: 14px; }
.t-scallop .s-sp { color: var(--c2); }
.t-scallop .s-sp--1 { width: 34px; right: 100px; top: 206px; }
.t-scallop .s-sp--2 { width: 18px; right: 156px; top: 184px; color: var(--c); }
.t-scallop .s-sp--3 { width: 24px; left: 18px; bottom: 210px; color: #ffb020; }
.t-scallop .s-ht { color: var(--c2); }
.t-scallop .s-ht--1 { width: 26px; right: 52px; top: 246px; transform: rotate(14deg); }
.t-scallop .s-ht--2 { width: 18px; right: 22px; bottom: 260px; transform: rotate(-12deg); color: var(--c); opacity: .7; }
.t-scallop .s-meta { background: #fff; border: 1.5px solid color-mix(in srgb, var(--c2) 30%, white); border-radius: 14px; }
.t-scallop .s-label { color: var(--c); }
.t-scallop .s-scal { --ink: #fff; --mut: rgba(255,255,255,.8); --ln: rgba(255,255,255,.28); background: var(--c2); color: #fff; padding: 22px 22px 16px; margin: 30px -10px 26px; position: relative; border-radius: 4px; }
.t-scallop .s-scal::before, .t-scallop .s-scal::after { content: ""; position: absolute; left: 0; right: 0; height: 13px;
  background: radial-gradient(circle at 13px 13px, var(--c2) 12.5px, transparent 13px) 0 0 / 26px 13px repeat-x; }
.t-scallop .s-scal::before { top: -12px; }
.t-scallop .s-scal::after { bottom: -12px; transform: scaleY(-1); }
.t-scallop th { background: none; color: #fff; border-bottom: 2px solid rgba(255,255,255,.55); }
.t-scallop td { border-bottom: 1px dashed rgba(255,255,255,.4); color: #fff; }
.t-scallop tbody tr:last-child td { border-bottom: 0; }
.t-scallop tbody tr { animation: none; }
.t-scallop .s-totals .t-total { font-size: 14px; }
.t-scallop .s-due { background: var(--c); color: var(--on); border-radius: 16px; padding: 14px 18px; }
.t-scallop .s-due b { font-size: 28px; font-weight: 900; }
.t-scallop .s-pm { background: #fff; border-left-color: var(--c2); }

/* ------------------------------------------------------------------ 3. Horizon */
.sheet.t-horizon { --ts: 48px; }
.t-horizon .s-hz { margin: -52px -52px 0; padding: 44px 52px 118px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--c) 0%, color-mix(in srgb, var(--c) 50%, var(--c2)) 58%, var(--c2) 100%); }
.t-horizon .s-hz > .s-head { position: relative; z-index: 1; }
.t-horizon .s-hz .s-title, .t-horizon .s-hz .s-co { color: #fff; }
.t-horizon .s-hz .s-no { color: rgba(255,255,255,.85); }
.t-horizon .s-hz__r { border-radius: 50%; border: 2px solid rgba(255,255,255,.16); }
.t-horizon .s-hz__r--1 { width: 380px; height: 380px; left: -120px; top: -210px; background: rgba(255,255,255,.06); }
.t-horizon .s-hz__r--2 { width: 240px; height: 240px; right: 26%; bottom: -170px; }
.t-horizon .s-hzmeta { margin-top: 12px; display: grid; gap: 2px; font-size: 11px; }
.t-horizon .s-hzmeta div { display: flex; justify-content: flex-end; gap: 12px; }
.t-horizon .s-hzmeta span { color: rgba(255,255,255,.75); }
.t-horizon .s-head.al-right .s-hzmeta div { justify-content: flex-start; }
.t-horizon .s-head.al-center .s-hzmeta div { justify-content: center; }
.t-horizon .s-card { background: #fff; border-radius: 24px; margin: -84px -12px 0; padding: 24px 24px 12px; z-index: 2;
  box-shadow: 0 34px 60px -38px rgba(20,17,58,.6), 0 2px 8px rgba(20,17,58,.06); }
.t-horizon .s-card .s-parties { grid-template-columns: 1fr 1fr; margin: 0 0 16px; }
.t-horizon .s-card .s-meta { display: none; }
.t-horizon .s-label { color: var(--c); }
.t-horizon table { border-collapse: separate; border-spacing: 0 5px; }
.t-horizon th { background: none !important; color: var(--mut); border-radius: 0 !important; }
.t-horizon td { border-bottom: 0; }
.t-horizon tbody tr:nth-child(odd) td { background: #f3f2f8; }
.t-horizon td:first-child { border-radius: 12px 0 0 12px; }
.t-horizon td:last-child { border-radius: 0 12px 12px 0; }
.t-horizon .s-bottom { margin-top: 24px; }
.t-horizon .s-due { background: linear-gradient(100deg, var(--c), var(--c2)); border-radius: 999px; padding: 13px 22px; }

/* ------------------------------------------------------------------ 4. Noir Glow */
.sheet.t-noir { --ts: 92px; background: #07060d; color: var(--ink); --ink: #f6f4ff; --mut: #a39dbf; --ln: rgba(255,255,255,.1);
  --soft: rgba(255,255,255,.07); --softer: rgba(255,255,255,.045); --soft2: rgba(255,255,255,.07); --softer2: rgba(255,255,255,.045);
  --hi: color-mix(in srgb, var(--c) 45%, white); }
.t-noir .s-nglow { width: 560px; height: 560px; right: -220px; top: -230px; border-radius: 50%; filter: blur(26px); opacity: .95;
  background: radial-gradient(circle at 38% 62%, color-mix(in srgb, var(--c) 95%, transparent) 0, transparent 46%),
    radial-gradient(circle at 62% 38%, color-mix(in srgb, var(--c2) 90%, transparent) 0, transparent 44%),
    radial-gradient(circle at 56% 70%, rgba(10,132,255,.55) 0, transparent 36%),
    radial-gradient(circle at 40% 30%, rgba(255,176,32,.28) 0, transparent 30%); }
.t-noir .s-nglow--b { width: 300px; height: 300px; left: -170px; right: auto; top: auto; bottom: -150px; opacity: .55; }
.t-noir .s-title { color: #fff; font-weight: 800; letter-spacing: -.055em; line-height: .9; margin-top: 30px; }
.t-noir .s-head .s-no { color: var(--hi); font-weight: 600; }
.t-noir .s-nline { height: 2px; width: 120px; border-radius: 2px; background: var(--g); margin-top: 20px; }
.t-noir .s-meta { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.t-noir th:first-child { border-radius: 10px 0 0 10px; }
.t-noir th:last-child { border-radius: 0 10px 10px 0; }
.t-noir .s-label { color: var(--hi); }
.t-noir .s-pm { background: rgba(255,255,255,.05); box-shadow: inset 3px 0 0 var(--c2); }
.t-noir .s-pm b, .t-noir .s-pm a { color: var(--hi); }
.t-noir .s-due { box-shadow: 0 0 40px -8px color-mix(in srgb, var(--c2) 80%, transparent); }
.t-noir .s-sig { border-top-color: rgba(255,255,255,.4); }
.t-noir .s-foot { color: #6e6890; }
.t-noir .s-logo-ph, .t-geonight .s-logo-ph { border-color: rgba(255,255,255,.2); }

/* ------------------------------------------------------------------ 5. Geo Night */
.sheet.t-geonight { --ts: 54px; background: #10133a; color: var(--ink); --ink: #f3f4ff; --mut: #aab0da; --ln: rgba(255,255,255,.08);
  --soft: rgba(255,255,255,.07); --softer: rgba(255,255,255,.05); --soft2: rgba(255,255,255,.07); --softer2: rgba(255,255,255,.05);
  --hi: color-mix(in srgb, var(--c) 55%, white); }
.t-geonight .s-gn { color: var(--c); }
.t-geonight .s-gn--ring { width: 250px; right: -110px; bottom: -100px; opacity: .45; }
.t-geonight .s-gn--zig { width: 110px; left: 46%; top: 34px; color: var(--c2); opacity: .9; }
.t-geonight .s-gn--zig2 { width: 90px; left: 44%; bottom: 16px; color: var(--c); opacity: .5; }
.t-geonight .s-gn--disc { width: 150px; height: 150px; border-radius: 50%; left: -75px; top: 300px; background: linear-gradient(135deg, var(--c2), transparent 75%); opacity: .55; }
.t-geonight .s-gn--dot { width: 16px; height: 16px; border-radius: 50%; left: 54%; top: 172px; background: var(--c); }
.t-geonight .s-gn--plus { width: 20px; left: 22px; top: 210px; color: var(--c2); }
.t-geonight .s-title { color: #fff; font-weight: 900; letter-spacing: .04em; }
.t-geonight .s-head .s-no { color: var(--hi); }
.t-geonight .s-label { color: var(--hi); }
.t-geonight .s-meta { background: rgba(255,255,255,.06); }
.t-geonight table { border-collapse: separate; border-spacing: 0 5px; }
.t-geonight td { border-bottom: 0; background: rgba(255,255,255,.035); }
.t-geonight tbody tr:nth-child(odd) td { background: color-mix(in srgb, var(--c2) 30%, transparent); }
.t-geonight td:first-child { border-radius: 10px 0 0 10px; }
.t-geonight td:last-child { border-radius: 0 10px 10px 0; }
.t-geonight .s-pm { background: rgba(255,255,255,.05); box-shadow: inset 3px 0 0 var(--c); }
.t-geonight .s-pm b, .t-geonight .s-pm a { color: var(--hi); }
.t-geonight .s-due { border-radius: 12px; }
.t-geonight .s-sig { border-top-color: rgba(255,255,255,.4); }
.t-geonight .s-foot { color: #737aa8; }

/* ------------------------------------------------------------------ 6. Mono Block */
.sheet.t-monoblock { --ts: 76px; background: #ececef; --ink: #16141f; --mut: #6a6875; --ln: #dcdce1; }
.t-monoblock .s-mb { display: grid; grid-template-columns: 290px 1fr; gap: 34px; margin: -52px -52px 0; }
.t-monoblock .s-mb__block { background: var(--c); color: var(--on); padding: 48px 30px 30px 52px; border-radius: 0 0 30px 0; }
.t-monoblock .s-mb__block .s-co { font-size: 15px; }
.t-monoblock .s-mb__dates { margin: 22px 0 22px; display: grid; gap: 8px; }
.t-monoblock .s-mb__dates div { display: grid; }
.t-monoblock .s-mb__dates span, .t-monoblock .s-mb__block .s-label { color: inherit; opacity: .65; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.t-monoblock .s-mb__dates b { font-size: 13px; }
.t-monoblock .s-mb__to { display: block; font-size: 13px; margin-top: 2px; }
.t-monoblock .s-mb__lines { opacity: .78; white-space: pre-line; word-break: break-word; font-size: 11px; }
.t-monoblock .s-mb.al-center .s-mb__block { text-align: center; }
.t-monoblock .s-mb.al-right .s-mb__block { text-align: right; }
.t-monoblock .s-mb__main { padding: 48px 52px 0 0; min-width: 0; }
.t-monoblock .s-mb__top { display: flex; gap: 14px; align-items: stretch; }
.t-monoblock .s-code { width: 84px; height: 84px; flex: none; color: var(--ink); background: #fff; border-radius: 10px; padding: 6px; }
.t-monoblock .s-mb__boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; flex: 1; min-width: 0; }
.t-monoblock .s-mb__boxes div { background: #fff; border-radius: 10px; padding: 8px 12px; display: grid; align-content: center; min-width: 0; }
.t-monoblock .s-mb__boxes span { font-size: 9px; color: var(--mut); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.t-monoblock .s-mb__boxes b { font-size: 12.5px; overflow-wrap: anywhere; }
.t-monoblock .s-title { color: var(--ink); font-weight: 900; letter-spacing: -.04em; line-height: .95; margin-top: 18px; }
.t-monoblock .s-mb__from { margin-top: 14px; }
.t-monoblock .s-mb__from b { display: block; }
.t-monoblock .s-mb__from div { color: var(--mut); white-space: pre-line; font-size: 11px; word-break: break-word; }
.t-monoblock .s-parties { display: none; }
.t-monoblock table { margin-top: 34px; border-collapse: separate; border-spacing: 0 4px; }
.t-monoblock th { background: var(--c); color: var(--on); }
.t-monoblock th:first-child { border-radius: 8px 0 0 8px; }
.t-monoblock th:last-child { border-radius: 0 8px 8px 0; }
.t-monoblock td { background: #fff; border-bottom: 0; }
.t-monoblock .s-totals { background: #fff; border-radius: 10px; padding: 6px 2px; }
.t-monoblock .s-due { background: var(--c); color: var(--on); border-radius: 10px; }
.t-monoblock .s-pm { background: #fff; border-left-color: var(--c); }
.t-monoblock .s-pm b { color: var(--ink); }

/* ------------------------------------------------------------------ 7. Ribbon */
.sheet.t-ribbon { --ts: 50px; }
.t-ribbon .s-rib { right: -112px; top: 50px; width: 380px; height: 50px; transform: rotate(45deg); background: linear-gradient(90deg, var(--c), var(--c2));
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--c) 80%, transparent); text-align: center; line-height: 50px; }
.t-ribbon .s-rib span { color: #fff; font-weight: 800; letter-spacing: .16em; font-size: 10px; white-space: nowrap; }
.t-ribbon .s-rib--thin { right: -78px; top: 105px; height: 8px; opacity: .45; box-shadow: none; }
.t-ribbon .s-rhead { max-width: 62%; }
.t-ribbon .s-rhead.al-center { max-width: none; text-align: center; padding: 0 120px; }
.t-ribbon .s-rhead.al-center .s-logo { margin: 0 auto; }
.t-ribbon .s-rhead.al-center .s-rline { margin-left: auto; margin-right: auto; }
.t-ribbon .s-rhead .s-title { color: var(--c); font-weight: 800; letter-spacing: .14em; margin-top: 22px; }
.t-ribbon .s-rline { height: 3px; width: 70px; background: linear-gradient(90deg, var(--c), var(--c2)); margin-top: 14px; border-radius: 2px; }
.t-ribbon .s-meta { background: none; border-left: 2px solid var(--c); border-radius: 0; padding: 2px 0 2px 12px; }
.t-ribbon th { background: none !important; color: var(--c); border-bottom: 2px solid var(--c); border-radius: 0 !important; }
.t-ribbon td { border-bottom-color: #eeedf3; }
.t-ribbon .s-due { border-radius: 6px 0 0 6px; padding-right: 34px; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%); box-shadow: none; }
.t-ribbon .s-pm { background: #faf9fe; box-shadow: inset 3px 0 0 var(--c2); border-radius: 0 6px 6px 0; }

/* ------------------------------------------------------------------ 8. Bloom */
.sheet.t-bloom { --ts: 46px; background: #fffdfd; }
.t-bloom .s-bl { border-radius: 50%; filter: blur(60px); }
.t-bloom .s-bl--1 { width: 420px; height: 380px; left: -110px; top: -170px; background: var(--c); opacity: .38; }
.t-bloom .s-bl--2 { width: 380px; height: 360px; right: -120px; top: -110px; background: var(--c2); opacity: .36; }
.t-bloom .s-bl--3 { width: 340px; height: 320px; right: -150px; bottom: 60px; background: var(--c); opacity: .14; }
.t-bloom .s-frost { margin: 6px 0 0; padding: 24px 28px; border-radius: 28px; background: rgba(255,255,255,.58); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 30px 60px -42px color-mix(in srgb, var(--c) 80%, transparent); }
.t-bloom .s-head { align-items: center; }
.t-bloom .s-title { font-weight: 800; }
.t-bloom .s-meta { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 8%, white), color-mix(in srgb, var(--c2) 9%, white)); border-radius: 18px; padding: 12px 14px; }
.t-bloom .s-label { color: color-mix(in srgb, var(--c) 75%, black); }
.t-bloom th { background: none !important; color: var(--c); border-bottom: 1.5px solid color-mix(in srgb, var(--c) 22%, white); border-radius: 0 !important; }
.t-bloom td { border-bottom-color: #f4eef3; }
.t-bloom .s-totals { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 7%, white), color-mix(in srgb, var(--c2) 9%, white)); border-radius: 20px; padding: 10px 6px; }
.t-bloom .s-due { background: linear-gradient(120deg, color-mix(in srgb, var(--c) 22%, white), color-mix(in srgb, var(--c2) 28%, white)); color: var(--ink); border-radius: 20px; box-shadow: none; }
.t-bloom .s-due b { color: color-mix(in srgb, var(--c) 70%, black); }
.t-bloom .s-pm { border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 6%, white), color-mix(in srgb, var(--c2) 8%, white)); box-shadow: none; }

/* ------------------------------------------------------------------ 9. Ledger */
.sheet.t-ledger { --ts: 30px; --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --rule: color-mix(in srgb, var(--c) 24%, white); padding-left: 64px; }
.t-ledger .s-lm { left: 36px; top: 0; bottom: 0; width: 5px; border-left: 2px solid var(--c); border-right: 1px solid var(--c); opacity: .55; }
.sheet.t-ledger .s-holes { left: 12px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-around; }
.t-ledger .s-holes b { width: 12px; height: 12px; border-radius: 50%; background: #eceaf3; box-shadow: inset 0 1px 2px rgba(0,0,0,.15); }
.t-ledger .s-lrule { height: 4px; border-top: 2px solid var(--c); border-bottom: 1px solid var(--c); margin-bottom: 22px; }
.t-ledger .s-title { color: var(--ink); letter-spacing: .32em; font-weight: 700; }
.t-ledger .s-no, .t-ledger .s-meta b, .t-ledger td.r, .t-ledger .s-totals b, .t-ledger .s-due b { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.t-ledger .s-head .s-no { color: var(--c); }
.t-ledger .s-label { color: var(--c); letter-spacing: .14em; }
.t-ledger .s-meta { background: none; border: 1px solid var(--rule); border-radius: 0; padding: 0; gap: 0; }
.t-ledger .s-meta div { padding: 5px 10px; border-bottom: 1px solid var(--rule); }
.t-ledger .s-meta div:last-child { border-bottom: 0; }
.t-ledger .s-meta b { font-size: 10.5px; }
.t-ledger th { background: color-mix(in srgb, var(--c) 6%, white); color: var(--c); border: 1px solid var(--rule); border-bottom: 3px double var(--c); }
.t-ledger td { border: 1px solid var(--rule); padding: 8px; }
.t-ledger td.r { font-size: 11px; }
.t-ledger .s-totals div { border-bottom: 1px solid var(--rule); }
.t-ledger .s-totals .t-total { border-top: 3px double var(--c); border-bottom: 0; }
.t-ledger .s-due { background: none; color: var(--c); border: 1.5px solid var(--c); border-radius: 0; }
.t-ledger .s-due b { font-size: 19px; }
.t-ledger .s-pm { background: none; border: 1px dashed var(--rule); border-left: 3px solid var(--c); border-radius: 0; }
.t-ledger .s-foot { left: 64px; font-family: var(--mono); }

/* ------------------------------------------------------------------ 10. Ticket */
.sheet.t-ticket { --ts: 50px; --tbg: color-mix(in srgb, var(--c) 9%, #fffaf6); background: var(--tbg); padding: 36px 40px 60px; }
.t-ticket .s-ticket { background: #fff; border-radius: 24px; padding: 34px 36px 26px; box-shadow: 0 30px 60px -46px rgba(20,17,58,.5); }
.t-ticket .s-tk { text-align: center; }
.t-ticket .s-tk__logo .s-logo { margin: 0 auto 8px; display: block; }
.t-ticket .s-tk.al-right { text-align: right; } .t-ticket .s-tk.al-right .s-tk__logo .s-logo { margin-right: 0; }
.t-ticket .s-tk .s-co { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin-top: 0; }
.t-ticket .s-title { color: var(--ink); font-weight: 900; letter-spacing: .18em; margin-top: 10px; }
.t-ticket .s-tk .s-no span { display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--c); color: var(--c); font-weight: 700; font-size: 12px; }
.t-ticket .s-perf { position: relative; height: 30px; margin: 20px -36px; }
.t-ticket .s-perf::before { content: ""; position: absolute; left: 24px; right: 24px; top: 14px; border-top: 3px dotted color-mix(in srgb, var(--c) 50%, white); }
.t-ticket .s-perf i { position: absolute; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--tbg); }
.t-ticket .s-perf i:first-child { left: -15px; } .t-ticket .s-perf i:last-child { right: -15px; }
.t-ticket .s-parties { margin: 0 0 22px; text-align: center; }
.t-ticket .s-meta { background: var(--softer); text-align: left; }
.t-ticket .s-label { color: var(--c); }
.t-ticket th { background: none; color: var(--c); border-bottom: 2px dashed var(--c); }
.t-ticket td { border-bottom: 1px dashed #ece2db; }
.t-ticket .s-bottom { margin-top: 0; }
.t-ticket .s-due { border-radius: 14px; }
.t-ticket .s-barcode { height: 34px; margin: 26px auto 0; width: 220px; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); }
.t-ticket .s-stamp { top: 230px; }

/* ------------------------------------------------------------------ 11. Aqua */
.sheet.t-aqua { --ts: 50px; }
.t-aqua .s-aq { margin: -52px -52px 8px; padding: 44px 52px 104px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(150deg, var(--c) 10%, color-mix(in srgb, var(--c) 45%, var(--c2)) 60%, var(--c2)); }
.t-aqua .s-aq > .s-head { position: relative; z-index: 1; align-items: center; }
.t-aqua .s-aq .s-title, .t-aqua .s-aq .s-co { color: #fff; }
.t-aqua .s-aq .s-title { letter-spacing: .06em; }
.t-aqua .s-aq .s-no { color: rgba(255,255,255,.88); }
.t-aqua .s-aqwave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; }
.t-aqua .s-bub { border-radius: 50%; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.t-aqua .s-bub--1 { width: 64px; height: 64px; left: 40%; top: 104px; }
.t-aqua .s-bub--2 { width: 24px; height: 24px; left: 35%; top: 44px; }
.t-aqua .s-bub--3 { width: 200px; height: 200px; right: -60px; top: -80px; border-width: 0; background: rgba(255,255,255,.12); }
.t-aqua .s-bub--4 { width: 14px; height: 14px; left: 50%; top: 60px; }
.t-aqua .s-label { color: var(--c); }
.t-aqua .s-meta { background: color-mix(in srgb, var(--c) 7%, white); border: 1px solid color-mix(in srgb, var(--c) 14%, white); }
.t-aqua th { background: color-mix(in srgb, var(--c) 10%, white) !important; color: var(--c); }
.t-aqua tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--c) 3%, white); }
.t-aqua .s-due { background: linear-gradient(110deg, var(--c), var(--c2)); border-radius: 16px 16px 16px 4px; }

/* ------------------------------------------------------------------ 12. Sunrise */
.sheet.t-sunrise { --ts: 50px; background: #fffaf6; }
.t-sunrise .s-sr { margin: -52px -52px 0; padding: 44px 52px 128px; color: #fff; position: relative; overflow: hidden; border-radius: 0 0 44px 44px;
  background: linear-gradient(165deg, var(--c) 0%, color-mix(in srgb, var(--c) 50%, var(--c2)) 55%, var(--c2) 100%); }
.t-sunrise .s-sr > .s-head { position: relative; z-index: 1; }
.t-sunrise .s-sr .s-title, .t-sunrise .s-sr .s-co { color: #fff; }
.t-sunrise .s-sr .s-no { color: rgba(255,255,255,.9); }
.t-sunrise .s-sun { width: 140px; height: 140px; left: 50%; margin-left: -70px; bottom: 58px; border-radius: 50%; background: radial-gradient(circle, #ffe2a0 0, #ffb020 58%, rgba(255,176,32,0) 60%); opacity: .9; }
.t-sunrise .s-sun--rays { width: 280px; height: 280px; margin-left: -140px; bottom: -12px; opacity: .3;
  background: repeating-conic-gradient(from 0deg, #fff 0 4deg, transparent 4deg 16deg); -webkit-mask: radial-gradient(circle, transparent 80px, #000 81px, #000 70%, transparent 71%); mask: radial-gradient(circle, transparent 80px, #000 81px, #000 70%, transparent 71%); }
.t-sunrise .s-parties { margin-top: -92px; gap: 14px; }
.t-sunrise .s-party, .t-sunrise .s-meta { background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: 0 22px 40px -28px rgba(120,32,20,.5); }
.t-sunrise .s-label { color: var(--c); }
.t-sunrise th { background: none !important; color: var(--c); border-bottom: 2px solid color-mix(in srgb, var(--c) 22%, white); border-radius: 0 !important; }
.t-sunrise td { border-bottom-color: #f5ebe4; }
.t-sunrise .s-due { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; padding: 18px 22px; border-radius: 22px; background: linear-gradient(120deg, var(--c), var(--c2)); }
.t-sunrise .s-due span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.t-sunrise .s-due b { font-size: 34px; letter-spacing: -.02em; }
.t-sunrise .s-pm { background: #fff; box-shadow: inset 3px 0 0 var(--c), 0 10px 24px -20px rgba(120,32,20,.5); }

/* author.css */
/* Author: real photo with a glowing ring in the logo colours, social links */
@property --ring-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
img.bav--photo { object-fit: cover; border-radius: 50%; display: inline-block; padding: 3px; background: conic-gradient(from var(--ring-a), #6c2bf2, #c026d3, #e9388e, #ff5a1f, #ffb020, #0a84ff, #6c2bf2) border-box;
  box-shadow: 0 0 0 2px #fff inset, 0 0 18px -4px rgba(192, 38, 211, .55), 0 0 30px -10px rgba(10, 132, 255, .45); animation: ring-spin 6s linear infinite; }
img.bav--photo.bav--md { width: 96px; height: 96px; padding: 4px; }
img.bav--photo.bav--lg { width: 132px; height: 132px; padding: 5px; }
img.bav--photo.bav--xs { width: 22px; height: 22px; padding: 1.5px; vertical-align: -6px; margin-right: 6px; }
img.bav--photo:not(.bav--md):not(.bav--lg):not(.bav--xs) { width: 44px; height: 44px; }
@keyframes ring-spin { to { --ring-a: 360deg; } }
.bauthor { align-items: center; }
.alinks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; align-items: center; }
.alinks__grp { display: flex; align-items: center; gap: 8px; }
.alinks__k { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b6690; margin-right: 4px; }
.alinks__a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #14113a; background: #fff; border: 1.5px solid #e8e3f6;
  box-shadow: 0 6px 14px -10px rgba(40, 20, 100, .45); transition: transform .2s, color .2s, border-color .2s, box-shadow .2s; }
.alinks__a svg { width: 18px; height: 18px; }
.alinks__a:hover { transform: translateY(-2px); color: #fff; border-color: transparent; background: linear-gradient(135deg, #6c2bf2, #e9388e); box-shadow: 0 12px 22px -12px rgba(108, 43, 242, .7); }
.alinks__a:focus-visible { outline: 3px solid rgba(108, 43, 242, .45); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { img.bav--photo { animation: none; } }

/* hero-phone.css */
/* Hero: hand-held iPhone with scrolling invoices and dropping payment notifications */
.hphone { position: relative; width: min(430px, 100%); aspect-ratio: 430 / 600; margin-left: auto; perspective: 1600px; }
.hphone__glow { position: absolute; inset: 6% -6% 0 -2%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 50% 45%, rgba(10, 132, 255, .28), rgba(108, 43, 242, .2) 40%, rgba(233, 56, 142, .12) 60%, transparent 72%); filter: blur(14px); }
.hphone__dev { position: absolute; z-index: 2; left: 20%; top: 2%; width: 58%; aspect-ratio: 9 / 19.3; border-radius: 15% / 7%;
  background: linear-gradient(135deg, #c9d3e3, #7d8aa3 40%, #e8edf5 55%, #8f9bb2); padding: 2.4%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 50px 70px -30px rgba(20, 17, 58, .55), 0 18px 30px -18px rgba(20, 17, 58, .5);
  transform: rotateX(8deg) rotateY(-14deg) rotateZ(7deg); transform-style: preserve-3d; animation: hp-float 7s ease-in-out infinite; }
.hphone__btn { position: absolute; width: 3px; border-radius: 2px; background: #8f9bb2; }
.hphone__btn--a { left: -3px; top: 16%; height: 5%; } .hphone__btn--b { left: -3px; top: 24%; height: 9%; } .hphone__btn--c { left: -3px; top: 35%; height: 9%; } .hphone__btn--d { right: -3px; top: 27%; height: 13%; }
.hphone__screen { position: relative; width: 100%; height: 100%; border-radius: 13% / 6.2%; overflow: hidden; background: #0b0a14;
  box-shadow: inset 0 0 0 2px #0b0a14; font-family: inherit; color: #14113a; }
.hp-island { position: absolute; z-index: 6; top: 2.2%; left: 50%; width: 32%; height: 3.6%; transform: translateX(-50%); background: #000; border-radius: 99px; animation: hp-island 10s ease-in-out infinite; }
.hp-island i { position: absolute; right: 10%; top: 30%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: #1b2236; }
.hp-status { position: absolute; z-index: 5; top: 2.4%; left: 9%; right: 8%; display: flex; justify-content: space-between; align-items: center; font-size: clamp(8px, 2.6vw, 11px); }
.hp-status span { display: flex; gap: 4px; align-items: center; }
.hp-sig { width: 12px; height: 7px; background: linear-gradient(90deg, #14113a 0 20%, transparent 20% 27%, #14113a 27% 47%, transparent 47% 54%, #14113a 54% 74%, transparent 74% 81%, #14113a 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hp-wifi { width: 11px; height: 8px; border-radius: 11px 11px 0 0; background: #14113a; clip-path: polygon(50% 100%, 0 20%, 100% 20%); }
.hp-bat { width: 18px; height: 8px; border-radius: 3px; border: 1.4px solid #14113a; background: linear-gradient(90deg, #14113a 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.hp-app { position: absolute; inset: 0; padding: 18% 6% 0; display: flex; flex-direction: column; gap: 3.2%;
  background: linear-gradient(180deg, #e9f3ff 0%, #f6f3ff 40%, #fbfaff 100%); }
.hp-top { display: flex; align-items: center; gap: 8px; font-size: clamp(11px, 3.4vw, 15px); }
.hp-top b { flex: 1; letter-spacing: -.01em; }
.hp-menu { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-content: center; gap: 3px; box-shadow: 0 4px 10px -6px rgba(20,17,58,.4); }
.hp-menu i { display: block; width: 11px; height: 1.6px; background: #14113a; border-radius: 2px; }
.hp-bell { min-width: 26px; height: 26px; border-radius: 99px; background: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #e9388e; box-shadow: 0 4px 10px -6px rgba(20,17,58,.4); }
.hp-card { position: relative; border-radius: 16px; padding: 10px 12px; color: #fff; background: linear-gradient(130deg, #6c2bf2, #c026d3 65%, #ff5a1f); box-shadow: 0 14px 24px -14px rgba(108,43,242,.8); }
.hp-card small { font-size: 9px; opacity: .85; } .hp-card b { display: block; font-size: clamp(15px, 4.6vw, 21px); letter-spacing: -.02em; }
.hp-up { position: absolute; right: 10px; top: 10px; font-size: 9px; font-weight: 800; background: rgba(255,255,255,.22); padding: 2px 6px; border-radius: 99px; }
.hp-bars { display: flex; gap: 4px; align-items: flex-end; height: 26px; margin-top: 4px; }
.hp-bars i { flex: 1; height: var(--h); border-radius: 3px; background: rgba(255,255,255,.75); transform-origin: bottom; animation: hp-bar 3.2s ease-in-out infinite; }
.hp-bars i:nth-child(2n) { animation-delay: -.8s; } .hp-bars i:nth-child(3n) { animation-delay: -1.6s; }
.hp-tabs { display: flex; gap: 5px; font-size: 9px; font-weight: 700; color: #6b6690; }
.hp-tabs span { padding: 4px 8px; border-radius: 99px; background: #fff; } .hp-tabs .is-on { background: #14113a; color: #fff; }
.hp-list { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 8%, #000 86%, transparent); }
.hp-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; animation: hp-scroll 14s cubic-bezier(.45,0,.55,1) infinite; }
.hp-row { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 13px; background: #fff; box-shadow: 0 6px 14px -12px rgba(20,17,58,.6); }
.hp-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; background: var(--c); flex: none; }
.hp-who { display: grid; flex: 1; min-width: 0; } .hp-who b { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hp-who small { font-size: 8.5px; color: #8a83ab; }
.hp-amt { display: grid; justify-items: end; } .hp-amt b { font-size: 10.5px; font-variant-numeric: tabular-nums; }
.hp-st { font-style: normal; font-size: 7.5px; font-weight: 800; padding: 1px 6px; border-radius: 99px; margin-top: 2px; }
.hp-st--ok { background: #dcfce7; color: #15803d; } .hp-st--sent { background: #e0e7ff; color: #4338ca; } .hp-st--late { background: #fee2e2; color: #b91c1c; } .hp-st--draft { background: #f1f5f9; color: #475569; }
.hp-dock { display: flex; justify-content: center; gap: 10px; align-items: center; padding: 6px 0 9%; }
.hp-home { font-size: 9px; font-weight: 700; color: #fff; background: #14113a; padding: 7px 12px; border-radius: 99px; }
.hp-plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, #0a84ff, #6c2bf2); box-shadow: 0 8px 14px -8px #0a84ff; }
.hp-mic { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #e9388e, #ff5a1f); position: relative; }
.hp-mic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 11px; border-radius: 4px; background: #fff; transform: translate(-50%, -60%); }
.hp-notes { position: absolute; z-index: 7; top: 2%; left: 4%; right: 4%; height: 22%; pointer-events: none; }
.hp-note { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 26px -12px rgba(20,17,58,.45), inset 0 0 0 1px rgba(255,255,255,.7);
  opacity: 0; transform: translateY(-120%) scale(.9); animation: hp-note 10s cubic-bezier(.2,.9,.25,1.15) infinite; animation-delay: calc(var(--i) * 2s); }
.hp-note > span:nth-child(2) { display: grid; flex: 1; min-width: 0; } .hp-note b { font-size: 10px; } .hp-note small { font-size: 8.5px; color: #5c5780; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-note em { font-style: normal; font-size: 8px; color: #8a83ab; align-self: flex-start; }
.hp-note__ico { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 900; flex: none; background: #16a34a; }
.hp-note__ico--in { background: linear-gradient(135deg, #6c2bf2, #c026d3); } .hp-note__ico--bell { background: #ff5a1f; }
.hp-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.22) 42%, rgba(255,255,255,0) 54%); }
.hphone__hand { position: absolute; pointer-events: none; }
.hphone__hand--back { z-index: 1; left: 4%; bottom: -6%; width: 86%; transform: rotate(4deg); }
.hphone__thumb { z-index: 3; right: 6%; bottom: 6%; width: 42%; transform-origin: 90% 100%; animation: hp-thumb 14s cubic-bezier(.45,0,.55,1) infinite; filter: drop-shadow(-6px 8px 10px rgba(20,17,58,.25)); }
@keyframes hp-float { 0%, 100% { transform: rotateX(8deg) rotateY(-14deg) rotateZ(7deg) translateY(0); } 50% { transform: rotateX(6deg) rotateY(-10deg) rotateZ(6deg) translateY(-10px); } }
@keyframes hp-scroll { 0%, 8% { transform: translateY(0); } 45%, 55% { transform: translateY(-50%); } 92%, 100% { transform: translateY(0); } }
@keyframes hp-thumb { 0%, 8% { transform: translate(0, 0) rotate(0); } 45%, 55% { transform: translate(-6%, -16%) rotate(-6deg); } 92%, 100% { transform: translate(0, 0) rotate(0); } }
@keyframes hp-note { 0% { opacity: 0; transform: translateY(-120%) scale(.9); } 3% { opacity: 1; transform: translateY(0) scale(1); } 16% { opacity: 1; transform: translateY(0) scale(1); } 20%, 100% { opacity: 0; transform: translateY(-120%) scale(.92); } }
@keyframes hp-island { 0%, 100% { width: 32%; } 2%, 16% { width: 40%; } 20% { width: 32%; } }
@keyframes hp-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.7); } }
@media (max-width: 900px) { .hphone { margin: 10px auto 0; width: min(360px, 92%); } }
@media (prefers-reduced-motion: reduce) { .hphone *, .hphone__dev { animation: none !important; } .hp-note:first-child { opacity: 1; transform: none; } }
.hphone__hand--back { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%); left: 0; }
.hphone__thumb { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }

/* v2: straight, realistic iPhone + the freelancer in the armchair scrolling it */
.hphone { width: min(560px, 100%); aspect-ratio: 560 / 600; perspective: none; }
.hphone__glow { inset: 4% 0 4% 18%; }
.hphone__dev { left: 52%; top: 1.5%; width: 44%; transform: none; animation: hp-float2 7s ease-in-out infinite; border-radius: 17% / 8%; padding: 1.4%;
  background: linear-gradient(90deg, #8e97a8 0%, #dfe4ec 6%, #b8c0cd 14%, #eef1f6 50%, #b8c0cd 86%, #dfe4ec 94%, #8e97a8 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 0 0 4px #1a1a22, 0 40px 70px -30px rgba(20, 17, 58, .55), 0 14px 26px -16px rgba(20, 17, 58, .45); }
.hphone__dev::after { content: ""; position: absolute; inset: 1.4%; border-radius: 16% / 7.4%; box-shadow: inset 0 0 0 4px #050508; pointer-events: none; z-index: 8; }
.hphone__screen { border-radius: 15.5% / 7.2%; }
.hphone__btn { background: linear-gradient(90deg, #7d8798, #c6cdd8); width: 3.5px; }
.hp-glare { background: linear-gradient(118deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 64%, rgba(255,255,255,.12) 78%, rgba(255,255,255,0) 90%); z-index: 9; }
.hp-man { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.hp-man * { transform-box: fill-box; }
.hp-man .hm-fore { transform-origin: 0% 100%; animation: hm-scroll 14s cubic-bezier(.45,0,.55,1) infinite; }
.hp-man .hm-tap { opacity: 0; animation: hm-tap 14s ease-out infinite; transform-origin: center; }
.hp-man .hm-head { transform-origin: 30% 100%; animation: hm-nod 5s ease-in-out infinite; }
.hp-man .hm-shin { transform-origin: 0% 0%; animation: hm-swing 2.8s ease-in-out infinite; }
@keyframes hp-float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hm-scroll { 0%, 8% { transform: rotate(0); } 45%, 55% { transform: rotate(-9deg) translateY(-18px); } 92%, 100% { transform: rotate(0); } }
@keyframes hm-tap { 0%, 6% { opacity: 0; transform: scale(.6); } 9% { opacity: .9; transform: scale(1); } 14% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; } }
@keyframes hm-nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@keyframes hm-swing { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .hp-man * { animation: none !important; } }

/* v3: the original armchair illustration + a real iPhone over its flat phone, hand scrolling it */
.hart { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin-left: auto; }
.hart .howart { width: 100%; height: auto; display: block; }
.hart .howart .ha-phone, .hart .howart .ha-arm, .hart .howart .ha-card, .hart .howart .ha-wifi { display: none; }
.hart__phone { position: absolute; left: 57%; top: 12.6%; width: 37%; height: 76%; z-index: 2; }
.hart__phone .hphone__dev { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; animation: none; }
.hart__phone .hp-island { width: 30%; height: 3.4%; top: 1.8%; }
.hart__phone .hp-island i { right: 9%; top: 22%; width: 16%; background: radial-gradient(circle at 40% 40%, #3a4a7a 0 25%, #10162a 60%); box-shadow: 0 0 0 1px #20283f; }
.hart__phone .hp-island::before { content: ""; position: absolute; left: 14%; top: 36%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: #0c1020; }
.hart__phone .hp-app { padding-top: 17%; }
.hart__top { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; overflow: visible; pointer-events: none; }
.hart__top * { transform-box: fill-box; }
.hart__top .ha-card { transform-origin: center; animation: ha-card 5.5s ease-in-out infinite; }
.hart__top .ha-wifi path { animation: ha-wifi 1.8s ease-in-out infinite; } .hart__top .ha-w2 { animation-delay: .2s; } .hart__top .ha-w3 { animation-delay: .4s; }
.hart__fore { transform-origin: 0% 100%; animation: hart-scroll 14s cubic-bezier(.45,0,.55,1) infinite; }
.hart__tap { opacity: 0; transform-origin: center; animation: hm-tap 14s ease-out infinite; }
@keyframes hart-scroll { 0%, 8% { transform: rotate(0) translateY(0); } 45%, 55% { transform: rotate(-10deg) translateY(-14px); } 92%, 100% { transform: rotate(0) translateY(0); } }
@media (max-width: 900px) { .hart { margin: 10px auto 0; width: min(460px, 94%); } }
@media (prefers-reduced-motion: reduce) { .hart * { animation: none !important; } }

/* Real-looking payment card, centred on the phone's height, ~70% outside to the right */
.home-hero { overflow-x: clip; }
.hart__top .ha-card { display: none; }
.hcard { position: absolute; z-index: 5; left: 81%; top: 39%; width: 38%; aspect-ratio: 1.586; border-radius: 6.5% / 10.3%; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, #8b5cf6 0%, #6c2bf2 30%, #4c1fd1 58%, #2b0f8f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.25), 0 30px 50px -22px rgba(40,15,140,.7), 0 10px 18px -10px rgba(40,15,140,.5);
  transform: rotate(-14deg); animation: hcard-float 6s ease-in-out infinite; color: #fff; font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; }
.hcard__rings { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 10% 8%, transparent 0 18%, rgba(255,255,255,.10) 18.4% 30%, transparent 30.4% 42%, rgba(255,255,255,.07) 42.4% 56%, transparent 56.4% 70%, rgba(255,255,255,.05) 70.4% 86%, transparent 86.4%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 6px); }
.hcard__shine { position: absolute; inset: -40%; z-index: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%); animation: hcard-shine 5s ease-in-out infinite; }
.hcard > span { position: absolute; z-index: 1; }
.hcard__brand { left: 7%; top: 9%; width: 42%; }
.hcard__brand .brand__logo { display: block; width: 100%; height: 0; padding-bottom: 19%; background-size: contain; background-repeat: no-repeat; filter: brightness(0) invert(1); opacity: .95; }
.hcard__nfc { right: 8%; top: 10%; width: 8%; aspect-ratio: 1; }
.hcard__nfc i { position: absolute; left: 0; top: 50%; border: 2px solid rgba(255,255,255,.85); border-left: 0; border-top-color: transparent; border-bottom-color: transparent; border-radius: 0 50% 50% 0; transform: translateY(-50%); }
.hcard__nfc i:nth-child(1) { width: 30%; height: 40%; } .hcard__nfc i:nth-child(2) { width: 60%; height: 70%; } .hcard__nfc i:nth-child(3) { width: 90%; height: 100%; }
.hcard__chip { left: 8%; top: 34%; width: 15%; aspect-ratio: 1.3; border-radius: 18%; background: linear-gradient(135deg, #fff1c4, #e7c068 45%, #f8e3a2 60%, #c99a3c); box-shadow: inset 0 0 0 1px rgba(120,80,10,.35); }
.hcard__chip i { position: absolute; inset: 22% 30%; border: 1px solid rgba(120,80,10,.45); border-radius: 3px; }
.hcard__label { left: 8%; top: 56%; font-size: clamp(6px, .7vw, 9px); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.hcard__num { left: 8%; top: 64%; font-size: clamp(9px, 1.15vw, 15px); font-weight: 700; letter-spacing: .12em; font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 -1px 0 rgba(255,255,255,.25); white-space: nowrap; }
.hcard__exp { left: 8%; top: 80%; font-size: clamp(8px, .9vw, 12px); font-weight: 700; letter-spacing: .1em; font-family: Menlo, Consolas, monospace; opacity: .9; }
.hcard__mc { right: 7%; bottom: 10%; width: 22%; aspect-ratio: 1.6; }
.hcard__mc i { position: absolute; top: 0; width: 62%; aspect-ratio: 1; border-radius: 50%; }
.hcard__mc i:first-child { left: 0; background: #eb001b; } .hcard__mc i:last-child { right: 0; background: #f79e1b; mix-blend-mode: screen; opacity: .95; }
@keyframes hcard-float { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-11deg) translateY(-10px); } }
@keyframes hcard-shine { 0%, 30% { transform: translateX(-60%); } 70%, 100% { transform: translateX(60%); } }
@media (max-width: 900px) { .hcard { left: 70%; width: 34%; } }
@media (prefers-reduced-motion: reduce) { .hcard, .hcard__shine { animation: none; } }
.hcard__num { top: 62%; font-size: clamp(8px, .95vw, 13px); letter-spacing: .1em; }
.hcard__mc { right: 6%; bottom: 7%; width: 18%; }
.hcard__exp { top: 78%; }

/* Hand: a small, natural up-down sway pivoting on the elbow, so the forearm never separates from the arm */
.hart__top .hart__fore { transform-box: view-box; transform-origin: 268px 396px; animation: hart-sway 4.2s ease-in-out infinite; }
@keyframes hart-sway { 0%, 100% { transform: rotate(0deg); } 35% { transform: rotate(-2.2deg); } 70% { transform: rotate(1deg); } }

