/* ==========================================================================
   Home page — lively but calm (self-contained, works for guests)
   ========================================================================== */
.hm {
    --hm-ink: #0f172a;
    --hm-text: #475569;
    --hm-muted: #64748b;
    --hm-line: #e3e9f2;
    --hm-accent: #2563eb;
    --hm-violet: #6d5cf3;
    max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 72px;
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm h1, .hm h2, .hm h3, .hm p, .hm ol, .hm ul, .hm dl, .hm dd { margin: 0; }
.hm a { text-decoration: none; color: inherit; }

/* Buttons */
.hm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 18px;
    border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: background .15s, border-color .15s, transform .15s, box-shadow .2s;
}
.hm-btn:active { transform: scale(.98); }
.hm-btn .u-ico { transition: transform .2s; }
.hm-btn:hover .u-ico { transform: translateX(3px); }
.hm-btn-primary { background: var(--hm-accent); color: #fff !important; box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .7); }
.hm-btn-primary:hover { background: #1d4ed8; box-shadow: 0 14px 26px -10px rgba(37, 99, 235, .75); }
.hm-btn-ghost { background: #fff; color: var(--hm-ink) !important; border-color: var(--hm-line); }
.hm-btn-ghost:hover { border-color: #c5d2e6; }
.hm-btn-white { background: #fff; color: #4f46e5 !important; box-shadow: 0 10px 22px -12px rgba(15, 23, 42, .5); }
.hm-btn-white:hover { background: #f5f3ff; }
.hm-link { display: inline-flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 600; color: var(--hm-accent) !important; white-space: nowrap; }
.hm-link .u-ico { transition: transform .2s; }
.hm-link:hover .u-ico { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hm-hero {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px;
    padding: 56px 56px 48px; border-radius: 28px; border: 1px solid #dfe8f7;
    background:
        radial-gradient(520px 320px at 85% 40%, rgba(109, 92, 243, .16), transparent 70%),
        radial-gradient(420px 260px at 100% 100%, rgba(37, 99, 235, .12), transparent 70%),
        linear-gradient(160deg, #ffffff 0%, #f4f8ff 60%, #eef2ff 100%);
    box-shadow: 0 30px 60px -40px rgba(37, 99, 235, .35);
}
.hm-hero h1 { margin-top: 0; font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--hm-ink); animation: hmUp .6s .05s ease both; }
.hm-hero-copy > p { margin-top: 16px; max-width: 500px; font-size: 17px; line-height: 1.65; color: var(--hm-text); animation: hmUp .6s .1s ease both; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; animation: hmUp .6s .15s ease both; }
.hm-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #dfe7f3; animation: hmUp .6s .2s ease both; }
.hm-pay > span { font-size: 13px; color: var(--hm-muted); }
.hm-pay-logos { display: flex; align-items: center; gap: 8px; }
.hm-pay-logos img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 6px -2px rgba(15, 23, 42, .3); transition: transform .2s; }
.hm-pay-logos img.is-coin { border-radius: 999px; box-shadow: none; }
.hm-pay-logos img:hover { transform: translateY(-2px); }
.hm-pay-logos i { width: 1px; height: 22px; background: #d6deea; margin: 0 4px; }

/* Hero visual: real 3D brand icons */
.hm-hero-art { position: relative; height: 380px; }
.hm-orbit {
    position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%, -50%); border-radius: 999px;
    border: 1.5px dashed rgba(99, 102, 241, .28);
    background: radial-gradient(circle, rgba(255, 255, 255, .9) 0%, rgba(238, 242, 255, .6) 55%, transparent 72%);
    animation: hmSpin 40s linear infinite;
}
.hm-art-main {
    position: absolute; left: 50%; top: 50%; width: 230px; height: auto; transform: translate(-50%, -50%);
    filter: drop-shadow(0 24px 30px rgba(91, 70, 220, .35)); animation: hmBob 6s ease-in-out infinite;
}
.hm-chip {
    position: absolute; width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center;
    background: #fff; border: 1px solid #e6ecf7; box-shadow: 0 16px 30px -16px rgba(30, 41, 99, .4);
    animation: hmFloat 6s ease-in-out infinite;
}
.hm-chip img { width: 46px; height: 46px; object-fit: contain; }
.hm-chip-1 { left: 8%; top: 6%; animation-delay: -1s; }
.hm-chip-2 { right: 6%; top: 10%; animation-delay: -3s; }
.hm-chip-3 { right: 0; top: 52%; animation-delay: -2s; }
.hm-chip-4 { left: 2%; top: 56%; animation-delay: -4s; }
.hm-chip-5 { left: 40%; bottom: -2%; animation-delay: -5s; }

@keyframes hmUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hmBob { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 10px)); } }
@keyframes hmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes hmSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes hmPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }

/* ---------- Sections ---------- */
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.hm-head.is-center { justify-content: center; text-align: center; }
.hm-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--hm-ink); line-height: 1.2; }
.hm-head p { margin-top: 6px !important; font-size: 15.5px; color: var(--hm-muted); }

/* Reveal on scroll (class added by JS only; `backwards` keeps hover transforms working afterwards) */
.hm-r > .hm-head, .hm-r .hm-product, .hm-r .hm-svc, .hm-r .hm-steps li, .hm-r .hm-post, .hm-r.hm-end > .hm-end-text { opacity: 0; }
.hm-r.is-in > .hm-head, .hm-r.is-in .hm-product, .hm-r.is-in .hm-svc, .hm-r.is-in .hm-steps li, .hm-r.is-in .hm-post, .hm-r.is-in.hm-end > .hm-end-text {
    opacity: 1; animation: hmUp .55s cubic-bezier(.2, .8, .2, 1) calc(var(--d, 0) * 70ms) backwards;
}

/* Products */
.hm-products { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.hm-product {
    --c: #2563eb; --bg: #eaf1ff; --ring: rgba(37, 99, 235, .18);
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 22px 14px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--hm-line);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .2s;
}
.hm-product::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c);
    transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.hm-product-ico {
    position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 14px;
    background: radial-gradient(circle at 30% 25%, #fff 0%, var(--bg) 70%);
    box-shadow: inset 0 0 0 1px var(--ring);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.hm-product-ico img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(30, 41, 99, .22)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.hm-product b { font-size: 15px; font-weight: 700; color: var(--hm-ink); letter-spacing: -.01em; }
.hm-product small { margin-top: 2px; font-size: 12.5px; color: var(--hm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hm-product-go {
    display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; padding: 5px 12px; border-radius: 999px;
    background: var(--bg); color: var(--c); font-size: 12px; font-weight: 600; transition: background .2s, color .2s;
}
.hm-product-go .u-ico { transition: transform .2s; }
.hm .hm-product:hover { transform: translateY(-5px); border-color: var(--ring); box-shadow: 0 22px 40px -24px var(--c); }
.hm-product:hover::before { transform: scaleX(1); }
.hm-product:hover .hm-product-ico { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ring), 0 12px 22px -14px var(--c); }
.hm-product:hover .hm-product-ico img { transform: scale(1.1) rotate(-4deg); }
.hm-product:hover .hm-product-go { background: var(--c); color: #fff; }
.hm-product:hover .hm-product-go .u-ico { transform: translateX(2px); }
.hm-product:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.hm-product.is-blue { --c: #2563eb; --bg: #eaf1ff; --ring: rgba(37, 99, 235, .2); }
.hm-product.is-sky { --c: #0284c7; --bg: #e3f4fd; --ring: rgba(2, 132, 199, .2); }
.hm-product.is-amber { --c: #d97706; --bg: #fff3d9; --ring: rgba(217, 119, 6, .22); }
.hm-product.is-violet { --c: #7c3aed; --bg: #f0eaff; --ring: rgba(124, 58, 237, .2); }
.hm-product.is-pink { --c: #db2777; --bg: #ffe8f3; --ring: rgba(219, 39, 119, .2); }
.hm-product.is-indigo { --c: #4f46e5; --bg: #ebecff; --ring: rgba(79, 70, 229, .2); }

/* Popular OTP */
.hm-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; }
.hm-tabs button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hm-line); background: #fff; font: inherit; font-size: 13.5px; color: var(--hm-text); cursor: pointer; white-space: nowrap; }
.hm-tabs button.is-on { background: var(--hm-ink); border-color: var(--hm-ink); color: #fff; }
.hm-svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.hm-svc {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 14px; border-radius: 16px; text-align: center;
    background: #fff; border: 1px solid var(--hm-line);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .2s;
}
.hm .hm-svc:hover { transform: translateY(-3px); border-color: #bcd0f7; box-shadow: 0 16px 30px -20px rgba(37, 99, 235, .55); }
.hm-svc-logo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #f4f7fc; overflow: hidden; }
.hm-svc-logo img { width: 30px; height: 30px; object-fit: contain; }
.hm-svc-initial { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 700; color: var(--hm-accent); }
.hm-svc-name { font-size: 14px; font-weight: 600; color: var(--hm-ink); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-svc-buy { font-size: 12px; font-weight: 600; color: var(--hm-accent); padding: 3px 12px; border-radius: 999px; background: #eef4ff; transition: background .2s, color .2s; }
.hm-svc:hover .hm-svc-buy { background: var(--hm-accent); color: #fff; }

/* How it works */
.hm-how { padding: 44px 40px; border-radius: 28px; background: linear-gradient(180deg, #f6f9ff, #eef3ff); border: 1px solid #e3eafa; }
.hm-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.hm-steps li { position: relative; padding: 24px 22px; border-radius: 18px; background: #fff; border: 1px solid #e6ecf7; box-shadow: 0 10px 24px -20px rgba(30, 41, 99, .35); }
.hm-step-ico { display: block; width: 56px; height: 56px; margin-bottom: 14px; }
.hm-step-ico img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(30, 41, 99, .2)); }
.hm-steps em {
    position: absolute; right: 18px; top: 18px; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
    background: linear-gradient(135deg, #2563eb, #6d5cf3); color: #fff; font-style: normal; font-size: 13px; font-weight: 700;
}
.hm-steps h3 { font-size: 17px; font-weight: 700; color: var(--hm-ink); }
.hm-steps p { margin-top: 6px !important; font-size: 14.5px; line-height: 1.6; color: var(--hm-muted); }

/* Blog */
.hm-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm-post { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--hm-line); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.hm .hm-post:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(15, 23, 42, .45); }
.hm-post-img { display: block; aspect-ratio: 16 / 9; background: #eef2f7; overflow: hidden; }
.hm-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hm-post:hover .hm-post-img img { transform: scale(1.05); }
.hm-post-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.hm-post-body small { font-size: 12.5px; color: var(--hm-muted); }
.hm-post-body b { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--hm-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hm-post:hover .hm-post-body b { color: var(--hm-accent); }

/* Closing card (same purple as the wallet card) */
.hm-end {
    position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 220px; padding: 40px 48px; border-radius: 28px; color: #fff;
    background: linear-gradient(90deg, #6366f1 0%, #7a5cf4 52%, #6b4fe3 100%);
    box-shadow: 0 30px 50px -30px rgba(99, 102, 241, .8);
}
.hm-end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 220px at 0% 0%, rgba(255, 255, 255, .18), transparent 70%); }
.hm-end-text { position: relative; z-index: 1; max-width: 60%; }
.hm-end h2 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.hm-end p { margin: 8px 0 22px !important; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.hm-end-art {
    position: absolute; right: 2%; top: 50%; width: 280px; height: 280px; transform: translateY(-50%); object-fit: cover; z-index: 0;
    -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}

/* ==========================================================================
   About page (/tentang-kami) — built from the home page parts above
   ========================================================================== */
.ab-crumb { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13.5px; color: var(--hm-muted); animation: hmUp .6s ease both; }
.ab-crumb a { color: var(--hm-accent) !important; font-weight: 500; }
.ab-crumb .u-ico { color: #a3b1c6; }
.ab-hero h1 { font-size: 40px; text-wrap: balance; }

/* Hero visual: the screen a customer sees when a code arrives */
.ab-demo { position: relative; height: 360px; display: grid; place-items: center; }
.ab-demo::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 320px; height: 320px; transform: translate(-50%, -50%); border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(238, 242, 255, .7) 55%, transparent 72%);
}
.ab-demo-card {
    position: relative; z-index: 1; width: 300px; margin-top: 26px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid #e3eaf7;
    box-shadow: 0 30px 50px -28px rgba(30, 41, 99, .45); animation: hmUp .7s .15s ease both;
}
.ab-demo-top { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--hm-muted); }
.ab-demo-tag { padding: 3px 10px; border-radius: 6px; background: #f1f4f9; color: var(--hm-text); font-style: normal; font-size: 11.5px; font-weight: 600; }
.ab-demo-num { margin-top: 8px; font-size: 21px; font-weight: 700; letter-spacing: .01em; color: var(--hm-ink); font-variant-numeric: tabular-nums; }
.ab-demo-sms { margin-top: 14px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #f3f6fc; }
.ab-demo-sms small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #8a99b2; }
.ab-demo-sms p { margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--hm-text); }
.ab-demo-sms b { color: var(--hm-ink); font-weight: 700; letter-spacing: .04em; }
.ab-demo-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.ab-demo-ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: #15803d; }
.ab-demo-copy { padding: 6px 14px; border-radius: 9px; background: var(--hm-accent); color: #fff; font-size: 12.5px; font-weight: 600; }
.ab-demo-art { position: absolute; z-index: 2; right: -34px; top: -34px; width: 112px; height: auto; filter: drop-shadow(0 18px 22px rgba(30, 41, 99, .3)); animation: hmFloat 6s ease-in-out infinite; }
/* Little climber scaling the right edge of the SMS bubble */
.ab-demo-sms { position: relative; }
.ab-climber {
    position: absolute; z-index: 3; left: calc(100% - 1.5px); top: calc(100% - 38px); width: 22px; height: 38px; pointer-events: none;
    filter: drop-shadow(0 4px 4px rgba(30, 41, 99, .22));
    animation: abClimb 9s linear infinite;
}
.ab-climber svg { display: block; overflow: visible; }
.ab-cl-body { animation: abBob .9s ease-in-out infinite; }
.ab-cl-limb { transform-box: view-box; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ab-cl-arm-a, .ab-cl-arm-b { stroke: #f4c7a1; stroke-width: 3.4; transform-origin: 11px 18px; }
.ab-cl-leg-a, .ab-cl-leg-b { stroke: #1e293b; stroke-width: 4.2; transform-origin: 13px 31px; }
.ab-cl-arm-a { animation: abArmA .9s ease-in-out infinite; }
.ab-cl-arm-b { animation: abArmB .9s ease-in-out infinite; }
.ab-cl-leg-a { animation: abLegA .9s ease-in-out infinite; }
.ab-cl-leg-b { animation: abLegB .9s ease-in-out infinite; }
.ab-cl-hand { fill: #f4c7a1; stroke: none; }
.ab-cl-shoe { stroke: #0f172a; stroke-width: 4; }
.ab-cl-skin { fill: #f4c7a1; }
.ab-cl-hair { fill: #3f2a1d; }
.ab-cl-shirt { fill: var(--hm-accent); }
.ab-cl-pack { fill: #f59e0b; }
@keyframes abClimb {
    0% { top: calc(100% - 30px); opacity: 0; }
    6% { opacity: 1; }
    80% { top: -6px; opacity: 1; }
    90%, 100% { top: -6px; opacity: 0; }
}
@keyframes abBob { 0%, 50%, 100% { transform: translateY(0); } 25%, 75% { transform: translateY(-1.5px); } }
@keyframes abArmA { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-38deg); } }
@keyframes abArmB { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(38deg); } }
@keyframes abLegA { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-20deg); } }
@keyframes abLegB { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(20deg); } }

.ab-chip-1 { left: 0; bottom: 18%; z-index: 2; animation-delay: -2s; }
.ab-chip-2 { left: 8%; top: 4%; z-index: 0; animation-delay: -4s; }

.ab-hero-photo { margin: 0; height: 360px; border-radius: 22px; overflow: hidden; background: #eef2f7; box-shadow: 0 30px 50px -30px rgba(30, 41, 99, .5); }
.ab-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Story */
.ab-story { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: start; }
.ab-story .hm-head { margin-bottom: 0; position: sticky; top: 100px; }
.ab-story-body { padding: 32px 36px; border-radius: 22px; background: #fff; border: 1px solid var(--hm-line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.ab-story-body p { font-size: 16.5px; line-height: 1.8; color: var(--hm-text); }
.ab-story-body p + p { margin-top: 16px; }
.ab-story-body p:first-child { font-size: 18px; color: var(--hm-ink); }

/* Compact buttons on this page */
.ab .hm-btn { height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 9px; }
.ab .hm-btn-primary { box-shadow: 0 8px 16px -10px rgba(37, 99, 235, .7); }
.ab .hm-cta { margin-top: 24px; }

/* Where the numbers come from */
.ab-source-card { padding: 32px 36px; border-radius: 22px; background: #fff; border: 1px solid var(--hm-line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.ab-source-intro { max-width: 820px; font-size: 16.5px; line-height: 1.8; color: var(--hm-ink); }
.ab-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 24px; }
.ab-source-list > div { padding: 20px 0; border-top: 1px solid #edf1f7; }
.ab-source-list dt { display: flex; align-items: baseline; gap: 10px; font-size: 15.5px; font-weight: 700; color: var(--hm-ink); }
.ab-source-list dt span { font-size: 12.5px; font-weight: 600; color: var(--hm-accent); font-variant-numeric: tabular-nums; }
.ab-source-list dd { margin-top: 6px; padding-left: 27px; font-size: 14.5px; line-height: 1.7; color: var(--hm-text); }
.hm-r .ab-source-card { opacity: 0; }
.hm-r.is-in .ab-source-card { opacity: 1; animation: hmUp .55s cubic-bezier(.2, .8, .2, 1) backwards; }

/* Policy + business details */
.ab-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ab-pair.is-single { grid-template-columns: minmax(0, 1fr); }
.ab-panel { padding: 30px 32px; border-radius: 22px; background: #fff; border: 1px solid var(--hm-line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.ab-panel h2 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--hm-ink); }
.ab-panel > p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: var(--hm-text); }
.ab-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf1f7; }
.ab-facts { margin-top: 12px; }
.ab-facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid #edf1f7; }
.ab-facts > div:first-child { border-top: 0; }
.ab-facts dt { font-size: 14px; color: var(--hm-muted); }
.ab-facts dd { font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--hm-ink); overflow-wrap: anywhere; }
.ab-facts dd a { color: var(--hm-accent) !important; }
.hm-r .ab-story-body, .hm-r.ab-pair .ab-panel { opacity: 0; }
.hm-r.is-in .ab-story-body, .hm-r.is-in.ab-pair .ab-panel { opacity: 1; animation: hmUp .55s cubic-bezier(.2, .8, .2, 1) backwards; }
.hm-r.is-in.ab-pair .ab-panel + .ab-panel { animation-delay: 70ms; }

/* Closing */
.ab-end-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-btn-line { border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.ab-btn-line:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); }
.hm .ab-end-art { width: 220px; height: 220px; right: 5%; object-fit: contain; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 24px 30px rgba(30, 20, 90, .45)); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hm-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .hm { gap: 56px; }
    .hm-hero { grid-template-columns: minmax(0, 1fr); padding: 40px 32px 32px; }
    .hm-hero-art { height: 320px; max-width: 440px; width: 100%; margin: 0 auto; }
    .hm-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-steps { grid-template-columns: minmax(0, 1fr); }
    .hm-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-blog .hm-post:nth-child(3) { display: none; }
    .ab-demo { height: 330px; max-width: 420px; width: 100%; margin: 0 auto; }
    .ab-hero-photo { height: 300px; }
    .ab-story { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ab-story .hm-head { position: static; margin-bottom: 22px; }
    .ab-pair { grid-template-columns: minmax(0, 1fr); }
    .ab-source-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .hm { gap: 44px; }
    .hm-hero { padding: 26px 18px 22px; border-radius: 22px; gap: 8px; }
    .hm-hero h1 { font-size: 30px; }
    .hm-hero-copy > p { font-size: 15.5px; }
    .hm-cta .hm-btn { height: 40px; padding: 0 16px; font-size: 13.5px; }
    .hm-pay-logos { gap: 6px; }
    .hm-pay-logos img { width: 26px; height: 26px; }
    .hm-hero-art { height: 260px; }
    .hm-orbit { width: 220px; height: 220px; }
    .hm-art-main { width: 170px; }
    .hm-chip { width: 54px; height: 54px; border-radius: 16px; }
    .hm-chip img { width: 36px; height: 36px; }
    .hm-chip-5 { display: none; }
    .hm-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hm-head.is-center { align-items: center; }
    .hm-head h2 { font-size: 23px; }
    .hm-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .hm-product { padding: 14px 6px 12px; border-radius: 16px; }
    .hm-product-ico { width: 62px; height: 62px; border-radius: 18px; margin-bottom: 10px; }
    .hm-product-ico img { width: 44px; height: 44px; }
    .hm-product b { font-size: 13px; }
    .hm-product small { font-size: 11px; }
    .hm-product-go { display: none; }
    .hm-svc-grid { gap: 8px; }
    .hm-svc { padding: 14px 6px 12px; }
    .hm-svc-name { font-size: 13px; }
    .hm-how { padding: 28px 16px; border-radius: 22px; }
    .hm-blog { grid-template-columns: minmax(0, 1fr); }
    .hm-blog .hm-post:nth-child(3) { display: flex; }
    .hm-end { flex-direction: column; align-items: flex-start; min-height: 0; padding: 28px 22px 150px; border-radius: 22px; }
    .hm-end-text { max-width: none; }
    .hm-end h2 { font-size: 24px; }
    .hm-end-art { top: auto; bottom: -40px; right: -10px; width: 210px; height: 210px; transform: none; }
    .ab-hero h1 { font-size: 29px; }
    .ab-demo { height: 300px; }
    .ab-demo-card { width: 270px; padding: 16px; }
    .ab-demo-card { margin-top: 30px; }
    .ab-demo-art { width: 84px; right: -14px; top: -40px; }
    .ab-chip-2 { display: none; }
    .ab-hero-photo { height: 220px; border-radius: 16px; }
    .ab-story-body { padding: 22px 20px; border-radius: 18px; }
    .ab-story-body p { font-size: 15.5px; }
    .ab-story-body p:first-child { font-size: 16.5px; }
    .ab-panel { padding: 22px 20px; border-radius: 18px; }
    .ab-facts > div { grid-template-columns: 110px minmax(0, 1fr); }
    .hm .ab-end-art { width: 150px; height: 150px; bottom: -14px; right: 8px; }
    .ab .hm-btn { height: 36px; padding: 0 14px; font-size: 13px; }
    .ab-source-card { padding: 22px 20px; border-radius: 18px; }
    .ab-source-intro { font-size: 15.5px; }
    .ab-source-list { margin-top: 16px; }
    .ab-source-list dd { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hm *, .hm *::before { animation: none !important; transition: none !important; }
    .hm-r > .hm-head, .hm-r .hm-product, .hm-r .hm-svc, .hm-r .hm-steps li, .hm-r .hm-post, .hm-r.hm-end > .hm-end-text,
    .hm-r .ab-story-body, .hm-r.ab-pair .ab-panel, .hm-r .ab-source-card { opacity: 1; }
}
