/* 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; } }

/* cta.css */
/* Animated Invoice CTAs (POS · briefcase · phone) — blog posts and blog home */
.icta-wrap { max-width: 1200px; margin: 30px auto 80px; padding: 0 20px; }
.icta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: center;
  padding: 44px 48px; border-radius: 32px; color: #14113a; border: 1.5px solid rgba(255, 255, 255, .8);
  box-shadow: 0 40px 80px -50px rgba(60, 30, 140, .55), inset 0 1px 0 rgba(255, 255, 255, .9); }
.icta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(108, 43, 242, .12) 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.icta--pos { background: radial-gradient(500px 300px at 90% 10%, rgba(233, 56, 142, .16), transparent 60%), linear-gradient(135deg, #f5f1ff, #fff0f8); }
.icta--briefcase { background: radial-gradient(500px 300px at 90% 10%, rgba(61, 92, 255, .16), transparent 60%), linear-gradient(135deg, #eef3ff, #f4efff); }
.icta--phone { background: radial-gradient(500px 300px at 90% 10%, rgba(34, 197, 94, .14), transparent 60%), linear-gradient(135deg, #f3f1ff, #effcf5); }
.icta__txt { display: grid; gap: 12px; justify-items: start; }
.icta__eye { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6c2bf2; background: #fff; padding: 6px 12px; border-radius: 99px; box-shadow: 0 4px 12px -8px rgba(108, 43, 242, .6); }
.icta__h { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.icta__txt p { margin: 0; font-size: 16.5px; line-height: 1.6; color: #3d3966; max-width: 520px; }
.icta__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.icta__btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 800; color: #fff; text-decoration: none !important;
  background: linear-gradient(120deg, #6c2bf2, #c026d3 60%, #ff5a1f); box-shadow: 0 16px 30px -14px rgba(108, 43, 242, .8); transition: transform .2s, box-shadow .2s; }
.icta__btn span { transition: transform .2s; }
.icta__btn:hover { transform: translateY(-2px); box-shadow: 0 22px 38px -16px rgba(108, 43, 242, .9); color: #fff; } .icta__btn:hover span { transform: translateX(4px); }
.icta__ghost { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 16px; font-weight: 700; color: #14113a; text-decoration: none !important; background: #fff; border: 1.5px solid #e4def5; }
.icta__ghost:hover { border-color: #6c2bf2; color: #5517c9; }
.icta__art { position: relative; }
.icta__art .cta-art { width: 100%; height: auto; display: block; max-height: 330px; overflow: visible; filter: drop-shadow(0 24px 30px rgba(40, 20, 100, .18)); }
.cta-art * { transform-box: fill-box; }

/* POS */
.cta-art--pos .cp-receipt { animation: cp-print 5s cubic-bezier(.3,.7,.2,1) infinite; }
.cta-art--pos .cp-check { stroke-dasharray: 70; stroke-dashoffset: 70; animation: cp-check 5s ease-out infinite; }
.cta-art--pos .cp-card { transform-origin: center; animation: cp-tap 5s ease-in-out infinite; }
.cta-art--pos .cp-waves path { animation: cp-wave 1.4s ease-in-out infinite; } .cta-art--pos .cp-w2 { animation-delay: .18s; } .cta-art--pos .cp-w3 { animation-delay: .36s; }
.cta-art--pos .cp-note--1 { transform-origin: 20% 80%; animation: cp-flutter 4s ease-in-out infinite; } .cta-art--pos .cp-note--2 { transform-origin: 10% 90%; animation: cp-flutter 4.6s ease-in-out -1.4s infinite; }
.cta-art--pos .cp-coin { animation: cp-bounce 2.2s cubic-bezier(.3,.6,.3,1) infinite; } .cta-art--pos .cp-coin--2 { animation-delay: -1.1s; }
.cta-art--pos .cp-term { animation: icta-bob 6s ease-in-out infinite; }
@keyframes cp-print { 0% { transform: translate(-60px, 60px); } 30%, 85% { transform: translate(0, 0); } 100% { transform: translate(-60px, 60px); } }
@keyframes cp-check { 0%, 30% { stroke-dashoffset: 70; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 70; } }
@keyframes cp-tap { 0%, 100% { transform: translate(0, 0) rotate(0); } 20% { transform: translate(26px, 10px) rotate(4deg); } 32% { transform: translate(0, 0) rotate(0); } }
@keyframes cp-wave { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes cp-flutter { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg); } }
@keyframes cp-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-16px); } 60% { transform: translateY(0); } 70% { transform: translateY(-5px); } }

/* Briefcase */
.cta-art--brief .cb-case { animation: icta-bob 5s ease-in-out infinite; }
.cta-art--brief .cb-note--1 { transform-origin: 80% 80%; animation: cp-flutter 3.6s ease-in-out infinite; } .cta-art--brief .cb-note--2 { transform-origin: 80% 80%; animation: cp-flutter 4.2s ease-in-out -1.2s infinite; }
.cta-art--brief .cb-doc { transform-origin: center; animation: cb-doc 5.5s ease-in-out infinite; }
.cta-art--brief .cb-stamp { transform-origin: center; animation: cb-stamp 5.5s ease-out infinite; }
.cta-art--brief .cb-c { animation: cb-drop 4.8s cubic-bezier(.4,1.4,.5,1) infinite; }
.cta-art--brief .cb-c--2 { animation-delay: .15s; } .cta-art--brief .cb-c--3 { animation-delay: .3s; } .cta-art--brief .cb-c--4 { animation-delay: .45s; } .cta-art--brief .cb-c--5 { animation-delay: .6s; } .cta-art--brief .cb-c--6 { animation-delay: .75s; }
.cta-art--brief .cb-spark g { transform-origin: center; animation: icta-spark 2.4s ease-in-out infinite; } .cta-art--brief .cb-spark g:nth-child(2) { animation-delay: -1.2s; }
@keyframes cb-doc { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes cb-stamp { 0%, 40% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.3); opacity: 1; } 58%, 90% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }
@keyframes cb-drop { 0% { transform: translateY(-40px); opacity: 0; } 12%, 85% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }

/* Phone */
.cta-art--phone .cf-phone { animation: icta-bob 5.5s ease-in-out infinite; }
.cta-art--phone .cf-msg { transform-origin: 0% 100%; animation: cf-pop 6s cubic-bezier(.2,.9,.25,1.3) infinite; }
.cta-art--phone .cf-card { animation: cf-card 6s ease-out infinite; }
.cta-art--phone .cf-check { transform-origin: center; animation: cf-check 6s cubic-bezier(.2,.9,.25,1.4) infinite; }
.cta-art--phone .cf-receipt { animation: cf-receipt 6s cubic-bezier(.3,.7,.2,1) infinite; }
.cta-art--phone .cf-steam path { stroke-dasharray: 80; animation: cf-steam 3s ease-in-out infinite; } .cta-art--phone .cf-s2 { animation-delay: -1.5s; }
.cta-art--phone .cf-spark path { transform-origin: center; animation: icta-spark 2s ease-in-out infinite; }
@keyframes cf-pop { 0%, 8% { transform: scale(0); opacity: 0; } 16%, 90% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }
@keyframes cf-card { 0%, 18% { transform: translateY(30px); opacity: 0; } 28%, 90% { transform: translateY(0); opacity: 1; } 100% { opacity: 0; } }
@keyframes cf-check { 0%, 34% { transform: scale(0); } 42% { transform: scale(1.25); } 48%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes cf-receipt { 0%, 46% { transform: translateX(60px); opacity: 0; } 58%, 90% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(60px); opacity: 0; } }
@keyframes cf-steam { 0% { stroke-dashoffset: 80; opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { stroke-dashoffset: -80; opacity: 0; transform: translateY(-14px); } }

@keyframes icta-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes icta-spark { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1.15); opacity: 1; } }
@media (max-width: 900px) { .icta { grid-template-columns: 1fr; padding: 30px 22px; } .icta__art { order: -1; max-width: 380px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .cta-art * { animation: none !important; } .cta-art--pos .cp-check { stroke-dashoffset: 0; } }

/* blog.css */
/* Blog home, article pages and shared editorial blocks (also used by tool pages).
   Tokens from app.css; brand gradient violet -> magenta -> orange. */
.page-blog, .page-tool {
  --bk: #0f0b2e;            /* dark band */
  --bk-2: #1b1650;
  --b-max: 1252px;
  --b-gut: 24px;
  --b-surface: #fbfaff;
  --b-text: #3d3a63;        /* body copy, 10.4:1 on white */
  --b-ink: #1b1744;         /* list items, darker than paragraphs */
  --grad-light: linear-gradient(100deg, #c3adff 0%, #f290cf 52%, #ffab73 100%);
}
.page-blog main, .page-tool main { background: var(--b-surface); overflow-x: clip; }

/* ------------------------------------------------------------ shared atoms */
.bgrad { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bgrad--ink { background-image: var(--grad-brand); }
.beyebrow { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; padding: 6px 14px; border-radius: 99px;
  font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--brand-6); background: var(--brand-0); border: 1px solid #ddd0ff; }
.beyebrow--dark { color: #e6dcff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.beyebrow--sm { padding: 4px 10px; font-size: 12px; }
.bhead { display: grid; gap: 14px; justify-items: center; text-align: center; margin: 0 auto 40px; max-width: 760px; }
.bhead h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin: 0; color: var(--ink); text-wrap: balance; }
.bhead p { margin: 0; font-size: 17.5px; line-height: 1.6; color: var(--b-text); max-width: 640px; }
.bhead--row { justify-items: start; text-align: left; margin: 8px 0 -20px; max-width: none; }
.bhead--row h2 { font-size: clamp(24px, 2.6vw, 32px); }
.bsec { max-width: var(--b-max); margin: 0 auto; padding: 104px var(--b-gut) 0; }
.blink { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--brand-6); }
.blink .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
a:hover > .blink .ico, .blink:hover .ico { transform: translateX(3px); }
.bav { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font-weight: 800; font-size: 15px; letter-spacing: .02em;
  color: #fff; background: var(--grad-brand); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 10px 22px -12px rgba(108, 43, 242, .8); }
.bav--xs { width: 24px; height: 24px; font-size: 10px; box-shadow: none; font-style: normal; }
.bav--md { width: 64px; height: 64px; font-size: 21px; }
.bav--lg { width: 112px; height: 112px; font-size: 36px; box-shadow: 0 0 0 6px #fff, 0 24px 44px -18px rgba(108, 43, 242, .75); }
.bticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bticks li { position: relative; padding-left: 30px; font-size: 15.5px; font-weight: 600; color: var(--b-ink); line-height: 1.45; }
.bticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-1)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.bticks--dark li { color: rgba(255, 255, 255, .88); font-weight: 600; font-size: 14.5px; }
.bticks--dark li::before { background-color: rgba(52, 211, 153, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* category chips (cards + article) */
.bchip { display: inline-flex; align-items: center; width: max-content; font-size: 12px; font-weight: 750; letter-spacing: .01em; padding: 5px 10px; border-radius: 8px; background: var(--brand-1); color: var(--brand-6); }
.bchip--lg { font-size: 13.5px; padding: 8px 14px; border-radius: 10px; }
.bchip--templates { background: #e0f2fe; color: #075985; } .bchip--freelancers { background: #fce7f3; color: #9d174d; }
.bchip--small-business { background: #ffedd5; color: #9a3412; } .bchip--ai { background: #ede9fe; color: #5b21b6; }
.bchip--payments { background: #dcfce7; color: #166534; } .bchip--tax { background: #fef3c7; color: #854d0e; } .bchip--tools { background: #e0e7ff; color: #3730a3; }
a.bchip:hover { filter: brightness(.96); }

/* ------------------------------------------------------------ dark band (hero) */
.bband { position: relative; isolation: isolate; overflow: hidden; margin: 6px 12px 0; border-radius: 32px; color: #fff; text-align: center;
  padding: 76px var(--b-gut) 88px; background: var(--bk); }
.bband::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%); }
.bband__glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.bband__glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; }
.bband__glow i:nth-child(1) { width: 520px; height: 420px; left: -140px; top: -160px; background: #6c2bf2; }
.bband__glow i:nth-child(2) { width: 460px; height: 380px; right: -120px; top: -60px; background: #c026d3; opacity: .5; }
.bband__glow i:nth-child(3) { width: 520px; height: 300px; left: 40%; bottom: -230px; background: #ff5a1f; opacity: .42; }
.bband__in { position: relative; max-width: 880px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; }
.bband h1 { margin: 0; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; color: #fff; text-wrap: balance; }
.bband__sub { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.bband__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.bband__facts li { display: inline-flex; align-items: center; gap: 8px; }
.bband__facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .35); margin-right: 14px; }
.bband__facts b { color: #fff; }
.bband :focus-visible, .bbig :focus-visible, .bpromo :focus-visible, .tsteps__wrap :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.bcrumb { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px 8px; max-width: 100%; padding: 7px 16px; border-radius: 99px;
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.bcrumb a { color: rgba(255, 255, 255, .72); border-radius: 4px; }
.bcrumb a:hover { color: #fff; }
.bcrumb [aria-current] { color: #fff; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcrumb span[aria-hidden] { color: rgba(255, 255, 255, .4); }

.bsearch { position: relative; display: flex; align-items: center; width: min(600px, 100%); margin-top: 6px; }
.bsearch .ico { position: absolute; left: 20px; width: 20px; height: 20px; color: #7a7896; pointer-events: none; }
.bsearch input { width: 100%; height: 60px; border-radius: 18px; border: 2px solid transparent; background: #fff; color: var(--ink); padding: 0 22px 0 54px;
  font: inherit; font-size: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .08); transition: border-color .2s, box-shadow .2s; }
.bsearch input::placeholder { color: #6f6d8c; }
.bsearch input:focus { outline: none; border-color: #a98bff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55), 0 0 0 6px rgba(169, 139, 255, .35); }

/* floating glass cards in the band corners */
.bband__deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bdeco { position: absolute; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; text-align: left; padding: 14px 18px; border-radius: 18px; min-width: 220px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); animation: bfloat 8s ease-in-out infinite; }
.bdeco > :not(.bdeco__dot):not(.bdeco__ico) { grid-column: 2; }
.bdeco__dot, .bdeco__ico { grid-row: span 3; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, #34d399, #0ea5e9); }
.bdeco__dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.bdeco__ico { background: var(--grad-brand); } .bdeco__ico .ico { width: 18px; height: 18px; color: #fff; }
.bdeco b { font-size: 14.5px; color: #fff; } .bdeco small { font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.bdeco em { font-style: normal; width: max-content; margin-top: 4px; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: rgba(52, 211, 153, .2); color: #6ee7b7; }
.bdeco--l { left: max(28px, calc(50% - 640px)); top: 46%; transform: rotate(-5deg); }
.bdeco--r { right: max(28px, calc(50% - 640px)); top: 22%; transform: rotate(4deg); animation-delay: -4s; }
@keyframes bfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ------------------------------------------------------------ blog index */
.bcats-wrap { position: relative; z-index: 3; max-width: calc(var(--b-max) - 2 * var(--b-gut)); margin: -30px auto 0; padding: 8px; border-radius: 20px; background: #fff;
  border: 1px solid #ece8f7; box-shadow: 0 24px 50px -30px rgba(40, 20, 90, .35); }
.bcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.bcats::-webkit-scrollbar { display: none; }
.bcats a { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px;
  background: #f4f2fa; font-weight: 650; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.bcats a:last-child { margin-right: 40px; }
.bcats a small { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; background: #fff; font-size: 11.5px; font-weight: 800; color: #5e5b7d; }
.bcats a:hover { background: var(--brand-1); color: var(--brand-6); }
.bcats a.is-on { background: var(--grad-cta); color: #fff; box-shadow: 0 10px 20px -12px rgba(108, 43, 242, .9); }
.bcats a.is-on small { background: rgba(255, 255, 255, .22); color: #fff; }
.bcats a:focus-visible { outline-offset: -3px; }

.bwrap { max-width: var(--b-max); margin: 0 auto; padding: 56px var(--b-gut) 0; display: grid; gap: 48px; }

.blead { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 48px; align-items: center; color: inherit; border-radius: 28px; }
.blead__img, .bcard__img { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, #efe8ff, #ffe9f3); box-shadow: 0 30px 60px -40px rgba(40, 20, 90, .55); }
.blead__img img, .bcard__img img { width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.blead:hover .blead__img img, .bcard:hover .bcard__img img { transform: scale(1.04); }
.blead__txt { display: grid; gap: 16px; align-content: center; }
.blead h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin: 0; color: var(--ink); text-wrap: balance; transition: color .2s; }
.blead p { color: var(--b-text); font-size: 17px; line-height: 1.65; margin: 0; }
.blead:hover h2, .bcard:hover h3 { color: var(--brand-6); }
.blead:focus-visible, .bcard:focus-visible { outline: 3px solid var(--brand); outline-offset: 8px; border-radius: 24px; }

.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.bcard { display: flex; flex-direction: column; gap: 18px; color: inherit; }
.bcard__body { display: grid; gap: 10px; align-content: start; padding: 0 2px; }
.bcard__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bcard__min { font-size: 13px; font-weight: 600; color: var(--muted); }
.bcard h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; font-weight: 750; color: var(--ink); transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard p { margin: 0; color: var(--b-text); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bmeta { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.bmeta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #b8b5cc; margin-right: 14px; vertical-align: 3px; }
.bmeta__by { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.bempty { text-align: center; color: var(--b-text); font-weight: 600; padding: 24px; border-radius: 18px; background: #fff; border: 1.5px dashed #ddd6f3; margin: 0; }

.bpager { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.bpager a { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px;
  background: #fff; border: 1px solid #e6e2f2; font-weight: 700; color: var(--ink-2); transition: border-color .2s, color .2s; }
.bpager a:hover { border-color: var(--brand); color: var(--brand-6); }
.bpager a.is-on { background: var(--grad-cta); color: #fff; border-color: transparent; }
.bpager__nav { padding: 0 16px !important; } .bpager .ico { width: 16px; height: 16px; } .bpager__prev { transform: rotate(180deg); }

/* empty state */
.bsoon { position: relative; display: grid; justify-items: center; }
.bsoon__skel { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  -webkit-mask-image: linear-gradient(#000 35%, transparent 92%); mask-image: linear-gradient(#000 35%, transparent 92%); }
.bskel { display: grid; gap: 14px; }
.bskel i { display: block; border-radius: 10px; background: linear-gradient(90deg, #ece8f7 0%, #f7f4ff 40%, #ece8f7 80%); background-size: 200% 100%; animation: bshim 1.8s linear infinite; }
.bskel__img { aspect-ratio: 1.75; border-radius: 22px !important; }
.bskel__img--0 { background: linear-gradient(135deg, #e6dbff, #fbe3f1) !important; }
.bskel__img--1 { background: linear-gradient(135deg, #ffe4d4, #ffeef6) !important; }
.bskel__img--2 { background: linear-gradient(135deg, #d9f2ff, #e9e3ff) !important; }
.bskel__chip { width: 92px; height: 22px; } .bskel__l { height: 18px; } .bskel__l--s { width: 62%; }
@keyframes bshim { to { background-position: -200% 0; } }
.bsoon__card { position: relative; margin-top: -150px; width: min(720px, 100%); display: grid; gap: 16px; justify-items: center; text-align: center; padding: 44px 40px;
  border-radius: 28px; background: #fff; border: 1px solid #ece8f7; box-shadow: 0 40px 80px -40px rgba(40, 20, 90, .4); }
.bsoon__card h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.bsoon__card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--b-text); max-width: 560px; }
.bsoon__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

/* author section */
.bwho__in { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: center; padding: 20px; border-radius: 32px; background: #fff; border: 1px solid #ece8f7;
  box-shadow: 0 30px 60px -48px rgba(40, 20, 90, .4); }
.bwho__card { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 44px 24px; border-radius: 24px;
  background: radial-gradient(260px 180px at 50% 0%, rgba(255, 255, 255, .9), transparent), linear-gradient(160deg, #efe7ff, #ffe8f2 60%, #fff1e6); }
.bwho__card b { display: block; font-size: 21px; letter-spacing: -.01em; } .bwho__card small { display: block; color: var(--ink-2); font-weight: 600; margin-top: 2px; }
.bwho__txt { display: grid; gap: 22px; padding-right: 28px; }
.bwho__txt p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--b-text); }

/* ------------------------------------------------------------ FAQ accordion */
.bfaq__list { background: #fff; border: 1px solid #e9e5f5; border-radius: 24px; padding: 4px 0; box-shadow: 0 24px 50px -44px rgba(40, 20, 90, .45); }
.bfaq details + details { border-top: 1px solid #efecf7; }
.bfaq summary { display: flex; justify-content: space-between; gap: 18px; align-items: center; cursor: pointer; padding: 22px 26px; list-style: none; border-radius: 20px; }
.bfaq summary::-webkit-details-marker { display: none; }
.bfaq summary:focus-visible { outline-offset: -3px; }
.bfaq summary h3 { font-size: 17.5px; font-weight: 700; margin: 0; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.bfaq summary:hover h3 { color: var(--brand-6); }
.bfaq__ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #e2dcf3; color: var(--brand-6); transition: background .25s, border-color .25s, color .25s; }
.bfaq__ic .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.bfaq details[open] .bfaq__ic { background: var(--grad-cta); border-color: transparent; color: #fff; }
.bfaq details[open] .bfaq__ic .ico { transform: rotate(45deg); }
.bfaq details > div { padding: 0 26px 24px; margin-top: -6px; color: var(--b-text); line-height: 1.7; font-size: 16px; max-width: 74ch; }
.bfaq details > div p { margin: 0; } .bfaq details > div p + p { margin-top: .8em; }
.bfaq details > div a { color: var(--brand-6); font-weight: 650; text-decoration: underline; text-decoration-color: #cdbdff; text-underline-offset: 3px; }
.bfaq--center .bfaq__list { max-width: 880px; margin: 0 auto; }
.bpost__body .bfaq { display: grid; gap: 14px; justify-items: start; margin-top: 16px; }
.bpost__body .bfaq h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; font-weight: 800; margin: 0 0 8px; scroll-margin-top: 96px; }
.bpost__body .bfaq__list { width: 100%; }
#faq { scroll-margin-top: 96px; }

/* ------------------------------------------------------------ final CTA card */
.bbig { max-width: var(--b-max); margin: 0 auto; padding: 104px var(--b-gut) 96px; }
.bbig__in { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; padding: 76px 40px; display: grid; gap: 20px; justify-items: center; text-align: center;
  color: #fff; background: var(--bk); box-shadow: 0 50px 90px -50px rgba(40, 20, 90, .8); }
.bbig__in::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 75%); }
.bbig h2 { margin: 0; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; color: #fff; max-width: 820px; text-wrap: balance; }
.bbig p { margin: 0; max-width: 560px; font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.bbig__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.bbig__btn { --bc: transparent; background: #fff; color: var(--brand-6); font-weight: 800; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }
.bbig__btn:hover { background: #f4efff; color: var(--brand-6); }
.bbig__btn .ico { width: 18px; height: 18px; }
.bbig__ghost { --bc: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); color: #fff; }
.bbig__ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); color: #fff; }
.bbig__ticks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.bbig__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.bbig__ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 211, 153, .2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* ------------------------------------------------------------ article */
.bband--post { padding-bottom: clamp(150px, 17vw, 250px); }
.bband--post .bband__in { max-width: 940px; gap: 24px; }
.bband--post h1 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.07; }
.bpost__meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; padding: 14px 8px; border-radius: 20px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.bpost__meta > div { padding: 4px 26px; text-align: left; }
.bpost__meta > div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.bpost__meta dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.bpost__meta dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; color: #fff; }
.bpost__by { display: flex; align-items: center; gap: 12px; }
.bpost__by .bav { box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.bpost__hero { position: relative; z-index: 2; max-width: 1000px; margin: calc(-1 * clamp(120px, 14vw, 200px)) auto 0; padding: 0 var(--b-gut); }
.bpost__hero img { width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; border-radius: 28px; display: block; background: linear-gradient(135deg, #efe8ff, #ffe9f3);
  box-shadow: 0 50px 90px -50px rgba(20, 10, 60, .7), 0 0 0 1px rgba(255, 255, 255, .14); }

.bpost__grid { max-width: var(--b-max); margin: 72px auto 0; padding: 0 var(--b-gut); display: grid; grid-template-columns: 220px minmax(0, 1fr) 276px; gap: 48px; align-items: start; }
.btoc { position: sticky; top: 96px; }
.btoc__in { display: grid; gap: 18px; max-height: calc(100vh - 120px); overflow: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
.btoc__read { display: grid; gap: 10px; }
.btoc__read b { font-size: 17px; font-weight: 800; color: var(--ink); }
.btoc__bar { display: block; height: 4px; border-radius: 4px; background: #ebe7f6; overflow: hidden; }
.btoc__bar i { display: block; height: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(.04); }
@supports (animation-timeline: scroll()) { .btoc__bar i { animation: bprog linear both; animation-timeline: scroll(root); } }
@keyframes bprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.btoc__label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5e5b7d; }
.btoc ol { list-style: none; margin: -6px 0 0; padding: 0; display: grid; border-left: 2px solid #ebe7f6; }
.btoc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.4; color: #55526f; font-weight: 550; transition: color .2s, border-color .2s; }
.btoc a:hover { color: var(--ink); }
.btoc a.is-on { color: var(--brand-6); border-left-color: var(--brand); font-weight: 750; }
.btoc a:focus-visible { outline-offset: -2px; }
.btoc__cta { margin-top: 4px; padding: 18px; border-radius: 18px; color: #fff; background: var(--bk) radial-gradient(240px 160px at 100% 0%, rgba(192, 38, 211, .55), transparent 70%); display: grid; gap: 8px; }
.btoc__cta-h { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.3; } .btoc__cta p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.bshare > div, .bshare--inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bshare { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid #ebe7f6; }
.bshare a, .bshare button { width: 38px; height: 38px; border-radius: 11px; border: 0; background: #f1eef9; display: grid; place-items: center; font-weight: 800; color: var(--ink-2); cursor: pointer; font-size: 14px; transition: background .2s, color .2s; }
.bshare a:hover, .bshare button:hover { background: var(--brand-1); color: var(--brand-6); }
.bshare .ico { width: 17px; height: 17px; }
.bshare--inline { padding: 0; border: 0; } .bshare--inline b { font-size: 14px; margin-right: 4px; }

.bpost__body { min-width: 0; display: grid; gap: 28px; align-content: start; }
.banswer { position: relative; border-radius: 22px; padding: 24px 26px; background: linear-gradient(135deg, #effcf5, #eef5ff); border: 1px solid #c9ecd9; }
.banswer__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #166534; background: #fff; padding: 5px 10px; border-radius: 99px; box-shadow: 0 4px 10px -6px rgba(22, 101, 52, .5); }
.banswer__tag .ico { width: 14px; height: 14px; }
.banswer p { margin: 12px 0 0; font-size: 17.5px; line-height: 1.65; color: var(--ink); }
.btake { border-radius: 24px; padding: 28px 30px; background: #f3efff; border: 1px solid #e4dafe; }
.btake__h { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.btake__ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 10px 20px -10px rgba(108, 43, 242, .8); }
.btake__ic .ico { width: 18px; height: 18px; }
.btake ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.btake li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.55; color: var(--b-ink); }
.btake li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c2bf2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 1px #ddd0ff; }
.btake strong, .banswer strong { color: var(--ink); }

.bmtoc { display: none; border-radius: 18px; background: #fff; border: 1px solid #e6e1f4; }
.bmtoc summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 800; font-size: 16px; border-radius: 18px; }
.bmtoc summary::-webkit-details-marker { display: none; }
.bmtoc summary small { font-weight: 600; color: var(--muted); font-size: 13px; }
.bmtoc summary .ico { margin-left: auto; transition: transform .25s; }
.bmtoc[open] summary .ico { transform: rotate(180deg); }
.bmtoc ol { margin: 0; padding: 0 18px 18px 40px; display: grid; gap: 4px; }
.bmtoc li::marker { color: var(--brand); font-weight: 800; font-size: 14px; }
.bmtoc a { display: block; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.bmtoc a:hover { color: var(--brand-6); }

/* prose */
.bprose { font-size: 17px; line-height: 1.78; color: var(--b-text); min-width: 0; }
.bprose > * + * { margin-top: 1.15em; }
.bprose > :first-child { margin-top: 0; }
.bprose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; letter-spacing: -.03em; font-weight: 800; color: var(--ink); margin-top: 2.1em; scroll-margin-top: 96px; text-wrap: balance; }
.bprose h3 { font-size: clamp(20px, 2vw, 23px); line-height: 1.3; letter-spacing: -.02em; font-weight: 750; color: var(--ink); margin-top: 1.7em; scroll-margin-top: 96px; }
.bprose h4 { font-size: 19px; font-weight: 750; color: var(--ink); margin-top: 1.4em; }
.bprose h2 + *, .bprose h3 + *, .bprose h4 + * { margin-top: .6em; }
.bprose a { color: var(--brand-6); font-weight: 650; text-decoration: underline; text-decoration-color: #cdbdff; text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.bprose a:hover { text-decoration-color: var(--brand); }
.bprose ul, .bprose ol { padding-left: 1.4em; display: grid; gap: .55em; }
.bprose li { font-size: 17.5px; color: var(--b-ink); padding-left: .2em; }
.bprose li::marker { color: var(--brand); font-weight: 800; }
.bprose strong { color: var(--ink); font-weight: 750; }
.bprose blockquote { margin: 1.6em 0 0; padding: 20px 24px; border-left: 4px solid var(--brand); background: #f6f2ff; border-radius: 0 18px 18px 0; color: var(--b-ink); font-size: 18px; font-weight: 550; }
.bprose blockquote p { margin: 0; }
.bprose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; border: 1px solid #e4dff2; border-radius: 18px; overflow: hidden; background: #fff; }
.bprose td { overflow-wrap: anywhere; }
.bprose th { background: #f5f1ff; color: var(--ink); text-align: left; font-weight: 800; font-size: 14px; }
.bprose th, .bprose td { padding: 13px 16px; border-bottom: 1px solid #efecf7; vertical-align: top; min-width: 120px; }
.bprose td { color: var(--b-ink); }
.bprose tr:last-child td { border-bottom: 0; }
.bprose tbody tr:hover td { background: #fcfbff; }
.bprose figure { margin: 2em 0 0; }
.bprose figure img { width: 100%; height: auto; border-radius: 22px; display: block; background: linear-gradient(135deg, #efe8ff, #ffe9f3); }
.bprose figure.binfo img { border-radius: 20px; border: 1px solid #ebe7f6; box-shadow: 0 30px 60px -44px rgba(40, 20, 90, .5); }
.bprose figcaption { font-size: 14px; color: #5e5b7d; text-align: center; margin-top: 12px; line-height: 1.5; }
.bprose .note, .bprose .tip { position: relative; padding: 18px 22px 18px 56px; border-radius: 18px; background: #fff8e6; border: 1px solid #fbe1a1; font-size: 16px; color: #4a3a0c; }
.bprose .note::before, .bprose .tip::before { content: "!"; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: 14px; line-height: 1; color: #fff; background: #d97706; }
.bprose .tip { background: #effcf5; border-color: #c4ead6; color: #14422a; }
.bprose .tip::before { content: "✓"; background: #16a34a; }
.bprose code { font-size: .88em; background: #f1eef9; color: var(--ink); padding: 2px 7px; border-radius: 6px; }

/* in-article CTA blocks */
.bcta { --c1: #6c2bf2; --c2: #c026d3; position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 26px 28px; border-radius: 24px; margin: 2.2em 0 !important; color: #fff; background: var(--bk); box-shadow: 0 34px 60px -40px rgba(20, 10, 60, .9); }
.bcta::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 260px; right: -80px; top: -120px; border-radius: 50%; background: var(--c2); filter: blur(60px); opacity: .55; }
.bcta::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 200px; left: -100px; bottom: -140px; border-radius: 50%; background: var(--c1); filter: blur(60px); opacity: .55; }
.bcta--voice { --c1: #e9388e; --c2: #ff5a1f; }
.bcta--templates { --c1: #0a84ff; --c2: #6c2bf2; }
.bcta--recurring, .bcta--paid { --c1: #0f9d74; --c2: #0ea5e9; }
.bcta--pricing { --c1: #6c2bf2; --c2: #ff5a1f; }
.bcta__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.bcta__ico .ico { width: 26px; height: 26px; color: #fff; }
.bcta__txt b { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; display: block; color: #fff; }
.bcta__txt p { margin: 6px 0 0 !important; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.bprose .bcta .btn, .bcta .btn { --bc: transparent; background: #fff; color: var(--ink); white-space: nowrap; text-decoration: none; font-weight: 800; height: 46px; padding: 0 20px; border-radius: 14px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6); }
.bprose .bcta .btn:hover, .bcta .btn:hover { background: #f4efff; color: var(--brand-6); }

/* end of article */
.bpost__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid #ebe7f6; }
.bpost__foot .bshare--inline { display: none; }
.bauthor { display: flex; gap: 20px; align-items: flex-start; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid #e9e5f5; }
.bauthor > div { display: grid; gap: 2px; }
.bauthor__k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5e5b7d; margin-bottom: 4px; }
.bauthor b { font-size: 20px; letter-spacing: -.01em; } .bauthor small { color: var(--muted); font-size: 14px; font-weight: 600; }
.bauthor p { margin: 10px 0 8px; color: var(--b-text); line-height: 1.65; font-size: 15.5px; }

/* sticky product card */
.bpromo { position: sticky; top: 96px; }
.bpromo__in { overflow: hidden; border-radius: 24px; background: var(--bk); color: #fff; box-shadow: 0 40px 70px -44px rgba(20, 10, 60, .85); }
.bpromo__art { position: relative; height: 150px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #7a3cff, #c026d3 55%, #ff5a1f); }
.bpromo__art i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); }
.bpromo__art i:nth-of-type(1) { width: 120px; height: 120px; } .bpromo__art i:nth-of-type(2) { width: 200px; height: 200px; opacity: .6; } .bpromo__art i:nth-of-type(3) { width: 290px; height: 290px; opacity: .35; }
.bpromo__ico { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 20px 30px -16px rgba(0, 0, 0, .5); }
.bpromo__ico .ico { width: 30px; height: 30px; color: #fff; }
.bpromo__txt { display: grid; gap: 16px; padding: 22px 22px 22px; }
.bpromo__h { margin: 0; font-size: 22px; line-height: 1.22; font-weight: 800; letter-spacing: -.025em; color: #fff; }
.bpromo__btn .ico { width: 16px; height: 16px; }
.bpromo small { text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .62); margin-top: -6px; }

.bmore .bgrid { margin-top: 0; }
.bmore__cta { display: flex; justify-content: center; margin-top: 44px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .bpost__grid { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
  .bpromo { position: static; grid-column: 2; }
  .bpromo__in { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
  .bpromo__art { height: auto; min-height: 100%; }
  .bdeco { display: none; }
}
@media (max-width: 1020px) {
  .bgrid, .bsoon__skel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsoon__skel .bskel:nth-child(3) { display: none; }
  .blead { grid-template-columns: 1fr; gap: 24px; }
  .bpost__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 780px; }
  .btoc { display: none; }
  .bmtoc { display: block; }
  .bpromo { grid-column: auto; }
  .bpost__foot .bshare--inline { display: flex; }
  .bwho__in { grid-template-columns: 1fr; gap: 28px; }
  .bwho__txt { padding: 0 12px 12px; }
  .bpost__meta > div { padding: 4px 18px; }
}
@media (max-width: 640px) {
  .page-blog, .page-tool { --b-gut: 16px; }
  .bband { margin: 4px 8px 0; border-radius: 24px; padding: 44px 16px 64px; }
  .bband__sub { font-size: 16.5px; }
  .bband__facts { gap: 6px 16px; } .bband__facts li + li::before { display: none; }
  .bband__glow i:nth-child(1) { width: 300px; height: 260px; } .bband__glow i:nth-child(2) { width: 260px; height: 240px; }
  .bcrumb { font-size: 12.5px; padding: 6px 12px; }
  .bcrumb__x { display: none; }
  .bsearch input { height: 54px; font-size: 16px; border-radius: 16px; padding-left: 48px; }
  .bsearch .ico { left: 17px; }
  .bcats-wrap { margin: -26px 16px 0; padding: 6px; border-radius: 16px; }
  .bcats a { height: 40px; padding: 0 13px; font-size: 14px; }
  .bwrap { padding-top: 40px; gap: 40px; }
  .bgrid, .bsoon__skel { grid-template-columns: 1fr; gap: 36px; }
  .bsoon__skel .bskel:nth-child(n+2) { display: none; }
  .bsoon__card { margin-top: -90px; padding: 32px 20px; border-radius: 24px; }
  .bsoon__btns .btn { width: 100%; }
  .bsec { padding-top: 72px; }
  .bhead { margin-bottom: 28px; } .bhead p { font-size: 16px; }
  .bwho__in { padding: 12px; border-radius: 26px; } .bwho__card { padding: 32px 16px; } .bwho__txt p { font-size: 16.5px; }
  .bfaq summary { padding: 18px; gap: 12px; } .bfaq summary h3 { font-size: 16.5px; } .bfaq details > div { padding: 0 18px 20px; font-size: 15.5px; }
  .bfaq__ic { width: 32px; height: 32px; }
  .bbig { padding: 72px 16px 72px; }
  .bbig__in { padding: 52px 20px; border-radius: 26px; }
  .bbig__btns { width: 100%; } .bbig__btns .btn { width: 100%; }
  .bband--post { padding-bottom: 130px; }
  .bpost__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 0; width: 100%; padding: 16px 4px; }
  .bpost__meta > div { padding: 0 14px; }
  .bpost__meta > div + div { border-left: 0; }
  .bpost__meta > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .14); }
  .bpost__meta dd { font-size: 15px; }
  .bpost__by .bav { display: none; }
  .bpost__hero { margin-top: -100px; }
  .bpost__hero img { border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(20, 10, 60, .6), 0 0 0 1px rgba(255, 255, 255, .14); }
  .bpost__grid { margin-top: 40px; gap: 32px; }
  .banswer { padding: 20px; } .btake { padding: 22px 20px; } .btake li { font-size: 16px; }
  .bprose { font-size: 16.5px; } .bprose li { font-size: 16.5px; }
  .bprose table { display: block; overflow-x: auto; } .bprose td { overflow-wrap: normal; }
  .bcta { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .bcta .btn { width: 100%; }
  .bauthor { flex-direction: column; padding: 22px; gap: 14px; }
  .bpromo__in { grid-template-columns: 1fr; } .bpromo__art { height: 120px; min-height: 0; }
  .bpager__nav { display: none !important; }
}
@media (max-width: 360px) {
  .bband h1 { font-size: 31px; }
  .bpost__meta { grid-template-columns: 1fr; } .bpost__meta > div:nth-child(even) { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bdeco, .bskel i { animation: none !important; }
  .blead__img img, .bcard__img img, .bfaq__ic .ico, .blink .ico, .bmtoc summary .ico { transition: none !important; }
  .blead:hover .blead__img img, .bcard:hover .bcard__img img { transform: none; }
}
@media print {
  .bband, .bbig, .btoc, .bpromo, .bshare, .bcats-wrap { display: none !important; }
  .bpost__grid { display: block; }
}

/* ---------------------------------------------------------------- audit fixes */
/* One explicit column so wide children (infographics, boxes) cannot push past the gutter at 320px. */
.bpost__body { grid-template-columns: minmax(0, 1fr); }
.bprose picture, .bpost__hero picture, .bcard__img picture, .blead__img picture, .tfig picture { display: contents; }
/* Sticky side columns: never taller than the screen; short laptop screens get them in the flow. */
.btoc__in { max-height: calc(100vh - 120px); }
@media (max-height: 859px) { .bpromo { position: static; } }
/* Four related guides fit one row on desktop */
@media (min-width: 1021px) { .bmore .bgrid, .tsec--related .bgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
/* Related tools on blog posts (reuses the tool page cards) */
.btools .trel { max-width: var(--b-max, 1200px); margin: 0 auto; }
.btools .tben__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: 0 16px 30px -16px rgba(20, 17, 58, .6), inset 0 1px 0 rgba(255, 255, 255, .3); flex: none; grid-row: span 2; }
.btools .tben__ico .ico { width: 22px; height: 22px; }
.btools .tben__card--0 { background: linear-gradient(140deg, #7a3cff, #a855f7); } .btools .tben__card--1 { background: linear-gradient(140deg, #db2777, #f472b6); }
.btools .tben__card--2 { background: linear-gradient(140deg, #f97316, #ff5a1f); } .btools .tben__card--3 { background: linear-gradient(140deg, #059669, #14b8a6); }
.btools .tben__card--4 { background: linear-gradient(140deg, #0a84ff, #38bdf8); } .btools .tben__card--5 { background: linear-gradient(140deg, #d97706, #fbbf24); }
.btools .trel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.btools .trel__card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid #ebe7f6; transition: transform .2s, border-color .2s, box-shadow .2s; }
.btools .trel__card:hover { transform: translateY(-3px); border-color: #d9cdfd; box-shadow: 0 26px 46px -32px rgba(40, 20, 90, .5); }
.btools .trel__card:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.btools .trel__card b { font-size: 16px; font-weight: 750; color: var(--ink); grid-column: 2; } .btools .trel__card small { color: #5e5b7d; font-size: 13.5px; line-height: 1.45; grid-column: 2; }
.btools .trel__go { grid-column: 3; grid-row: 1 / span 2; width: 20px; height: 20px; color: #a29fbd; }
.btools .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: 1020px) { .btools .trel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .btools .trel { grid-template-columns: minmax(0, 1fr); } }

/* Post sidebar box: sticky, fixed height, scrolls inside and follows the section you are reading */
.btoc__in { max-height: none; overflow: visible; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, #fff, #fbf9ff); border: 1px solid rgba(108,43,242,.12);
  box-shadow: inset 0 1px 0 #fff, 0 5px 0 -2px #ece5fb, 0 22px 40px -28px rgba(60,30,140,.55); }
.btoc nav, .btoc ol { max-height: 196px; overflow-y: auto; scroll-behavior: smooth; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d9ccff transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }

/* Reading progress with a moving dot (like a reading tracker) */
.btoc__bar.is-js { position: relative; overflow: visible; height: 4px; background: #ece9f5; }
.btoc__bar.is-js i { animation: none !important; transform: scaleX(var(--p, 0)); transition: transform .12s linear; border-radius: 4px; }
.btoc__bar.is-js::after { content: ""; position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%);
  background: #fff; border: 3px solid #6c2bf2; box-shadow: 0 0 0 4px rgba(108,43,242,.15), 0 4px 10px -4px rgba(108,43,242,.7); transition: left .12s linear; }
.btoc__read b { transition: color .2s; font-variant-numeric: tabular-nums; }

/* Blog cards: same height, same levels (image, title, excerpt, meta aligned in every card) */
.bgrid { align-items: stretch; }
.bcard { display: flex; flex-direction: column; height: 100%; }
.bcard__img { flex: none; }
.bcard__img img { aspect-ratio: 16 / 9.14; object-fit: cover; width: 100%; height: auto; }
.bcard__body { flex: 1; display: flex; flex-direction: column; }
.bcard__body > .bchip, .bcard__body > .bcard__chips, .bcard__body > div:first-child { min-height: 26px; }
.bcard h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
.bcard p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.1em; }
.bcard .bmeta { margin-top: auto; padding-top: 10px; }
/* tool cards and benefit cards on tool pages: equal heights too */
.trel, .tben, .tuse { align-items: stretch; }
.trel__card, .tben__card, .tuse__card { height: 100%; }

/* Sidebar TOC, matched to the reference: "x min read", thin progress line with a moving dot, full readable list, current section highlighted */
.btoc__in { max-height: calc(100vh - 120px); overflow: visible; padding: 0 18px 0 0; border: 0; border-right: 1px solid #ebe7f6; border-radius: 0; background: none; box-shadow: none; gap: 0; }
.btoc__read { gap: 10px; margin-bottom: 20px; }
.btoc__read b { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.btoc__bar, .btoc__bar.is-js { position: relative; overflow: visible; height: 3px; border-radius: 3px; background: #ece9f5; }
.btoc__bar.is-js i { transform: none; width: calc(var(--p, 0) * 100%); transition: width .12s linear; border-radius: 3px; }
.btoc__bar.is-js::after { width: 9px; height: 9px; border: 0; background: var(--brand, #6c2bf2); box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(108,43,242,.18); }
.btoc .btoc__label:first-of-type { display: none; }
.btoc nav, .btoc ol { max-height: 60vh; overflow-y: auto; -webkit-mask-image: none; mask-image: none; border-left: 0; margin: 0; padding: 0 0 0 12px; scrollbar-width: thin; scrollbar-color: #d9ccff transparent; display: block; }
.btoc ol li { margin: 0 0 16px; }
.btoc ol li:last-child { margin-bottom: 4px; }
.btoc ol a { padding: 0 0 0 10px; margin-left: -12px; border-left: 2px solid transparent; font-size: 15px; line-height: 1.45; color: #6b6889; font-weight: 500; }
.btoc ol a:hover { color: var(--ink); }
.btoc ol a.is-on { color: var(--ink); font-weight: 650; border-left-color: var(--brand, #6c2bf2); }
.btoc .bshare { margin-top: 22px; padding-top: 18px; border-top: 1px solid #ebe7f6; }
/* Keep everything inside the TOC column: nothing may widen it */
.btoc, .btoc__in { min-width: 0; max-width: 100%; }
.btoc__in { grid-template-columns: minmax(0, 1fr); }
.btoc__in > *, .btoc ol, .btoc ol li, .btoc ol a { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.btoc__cta .btn { white-space: normal; height: auto; min-height: 40px; line-height: 1.3; padding-block: 9px; text-align: center; }
.btoc .btoc__cta { margin-top: 22px; }
/* Safari: lazy images inside a display:contents <picture> never load. Keep picture as a real box. */
.bprose picture, .bpost__hero picture, .bcard__img picture, .blead__img picture, .tfig picture { display: block; width: 100%; max-width: 100%; }
.bprose picture img, .bpost__hero picture img, .bcard__img picture img, .blead__img picture img, .tfig picture img { width: 100%; height: auto; }
/* Legal pages (/terms, /privacy): blog band + prose, a TOC column and a single text column. */
.bband--legal { padding-bottom: 72px; }
.bband--legal h1 { font-size: clamp(34px, 4.8vw, 56px); }
.bpost__grid--legal { grid-template-columns: 240px minmax(0, 780px); justify-content: center; gap: 56px; margin-bottom: 96px; }
.blegal__meta { margin: 0; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.blegal__meta time { color: #fff; }
.blegal__sum { border-radius: 22px; padding: 22px 24px; background: #f3efff; border: 1px solid #e4dafe; font-size: 16.5px; line-height: 1.65; color: var(--b-ink); }
.blegal__sum p { margin: 0; }
.blegal__sum p + p { margin-top: .6em; }
.bprose .blegal__fill { padding: 2px 6px; border-radius: 6px; background: #fff3c4; color: #4a3a0c; font-weight: 650; }
.blegal__ask { font: inherit; color: var(--brand-6); font-weight: 650; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: #cdbdff; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.blegal__ask:hover { text-decoration-color: var(--brand); }
.blegal__other { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid #ebe7f6; font-size: 15.5px; }
@media (max-width: 1020px) {
  .bpost__grid--legal { grid-template-columns: minmax(0, 1fr); max-width: 780px; gap: 32px; }
}
@media (max-width: 640px) {
  .bband--legal { padding-bottom: 52px; }
  .bpost__grid--legal { margin-bottom: 64px; }
  .blegal__sum { padding: 18px; font-size: 15.5px; }
}

