/**
 *                          ___                   _       _         _ 
 *                         / __)                 | |     | |       | |
 *     _ _ _ _ _ _ _ _ _ _| |__ _____  ____ _   _| |  _  | |__   __| |
 *    | | | | | | | | | (_   __|____ |/ ___) | | | |_/ ) |  _ \ / _  |
 *    | | | | | | | | | | | |  / ___ | |   | |_| |  _ ( _| |_) | (_| |
 *     \___/ \___/ \___(_)|_|  \_____|_|   |____/|_| \_|_)____/ \____|
 *                                                                    
 *
 * 	Author: MD OMAR FARUK
 * 	Author URI: www.faruk.bd
 * 	Author Contact: https://faruk.bd/#contact
 * 	Author Email: info@faruk.bd | farukmr@gmail.com
 * 	Copyright © 2026
 *                          ___                   _       _         _ 
 *                         / __)                 | |     | |       | |
 *     _ _ _ _ _ _ _ _ _ _| |__ _____  ____ _   _| |  _  | |__   __| |
 *    | | | | | | | | | (_   __|____ |/ ___) | | | |_/ ) |  _ \ / _  |
 *    | | | | | | | | | | | |  / ___ | |   | |_| |  _ ( _| |_) | (_| |
 *     \___/ \___/ \___(_)|_|  \_____|_|   |____/|_| \_|_)____/ \____|
 *                                                                    
 */
/*
 * Default theme (2.0). Loaded after front.css and scoped to body.theme-d2, so
 * the standard layout keeps working underneath while every visible part is
 * redrawn: a curved hero in the primary colour, a download console that sits
 * half on it, searchable platform tiles, a step track, a feature mosaic and
 * a dark footer. The colours are the ones of Settings -> Appearance
 * (--app-primary and its shades); nothing here names a colour of its own
 * except the neutral greys.
 */
.theme-d2{--d2-ink:#0f172a;--d2-muted:#64748b;--d2-line:#e6e8ee;--d2-surface:#ffffff;--d2-soft:#f5f6fa;--d2-radius:22px;--d2-shadow:0 22px 50px -28px rgba(15,23,42,.35);--d2-p:var(--app-primary);--d2-p-rgb:var(--app-primary-rgb);--d2-p2:var(--app-primary-active,var(--app-primary));--d2-on:var(--app-on-primary,#fff)}
[data-bs-theme="dark"] .theme-d2{--d2-ink:#f1f5f9;--d2-muted:#94a3b8;--d2-line:#232a3a;--d2-surface:#121826;--d2-soft:#0c111c;--d2-shadow:0 22px 50px -28px rgba(0,0,0,.8)}
.theme-d2 .flip-rtl{display:inline-block}
[dir="rtl"] .theme-d2 .flip-rtl{transform:scaleX(-1)}

/* ---------------------------------------------------------------- header */
.theme-d2 .site-header{background:rgba(var(--bs-body-bg-rgb),.82);-webkit-backdrop-filter:saturate(170%) blur(14px);backdrop-filter:saturate(170%) blur(14px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
.theme-d2 .site-header.is-stuck{border-bottom-color:var(--d2-line);box-shadow:0 10px 30px -22px rgba(15,23,42,.5)}
.theme-d2 .site-header .navbar{padding-block:.7rem}
.theme-d2 .brand-mark{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(140deg,var(--d2-p),var(--d2-p2));color:var(--d2-on);box-shadow:0 8px 18px -8px rgba(var(--d2-p-rgb),.9);font-size:1.05rem}
.theme-d2 .brand-name{letter-spacing:-.01em}
.theme-d2 .navbar-nav .nav-link{position:relative;padding:.45rem .85rem;border-radius:999px;font-weight:600;color:var(--d2-muted);transition:color .15s,background .15s}
.theme-d2 .navbar-nav .nav-link:hover,.theme-d2 .navbar-nav .nav-link.active{color:var(--d2-ink);background:var(--d2-soft)}
.theme-d2 .navbar-nav .nav-link.active::after{content:"";position:absolute;inset-inline:1rem;bottom:.15rem;height:2px;border-radius:2px;background:var(--d2-p)}
.theme-d2 .site-header .btn-icon{border-radius:12px}

/* ------------------------------------------------------------------ hero */
.theme-d2 .d2-hero{position:relative;padding:4.2rem 0 9.5rem;background:linear-gradient(150deg,var(--app-primary-hover,var(--d2-p)) 0%,var(--d2-p) 42%,var(--app-primary-emphasis,var(--d2-p2)) 100%);color:var(--d2-on);overflow:hidden;isolation:isolate;text-align:center}
[data-bs-theme="dark"] .theme-d2 .d2-hero{background:linear-gradient(150deg,var(--app-primary-hover,var(--d2-p)) 0%,var(--app-primary-active,var(--d2-p)) 55%,#12060a 130%)}
.theme-d2 .d2-hero-art{position:absolute;inset:0;z-index:-1;pointer-events:none}
.theme-d2 .d2-ring{position:absolute;left:50%;top:46%;border-radius:50%;border:1px solid rgba(255,255,255,.2);transform:translate(-50%,-50%)}
.theme-d2 .d2-ring-1{width:min(92vw,880px);height:min(92vw,880px)}
.theme-d2 .d2-ring-2{width:min(60vw,560px);height:min(60vw,560px);border-color:rgba(255,255,255,.14);background:radial-gradient(circle,rgba(255,255,255,.13),rgba(255,255,255,0) 68%)}
.theme-d2 .d2-grid{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.22) 1px,transparent 1.4px);background-size:26px 26px;-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 78%);mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 78%)}
.theme-d2 .d2-bubble{position:absolute;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#fff;box-shadow:0 18px 34px -14px rgba(0,0,0,.45);animation:d2-float 7s ease-in-out infinite}
.theme-d2 .d2-bubble img{width:30px;height:30px;object-fit:contain}
.theme-d2 .d2-bubble-1{left:7%;top:20%;transform:rotate(-8deg)}
.theme-d2 .d2-bubble-2{left:15%;top:54%;width:50px;height:50px;animation-delay:-2s}
.theme-d2 .d2-bubble-3{left:4%;top:76%;width:46px;height:46px;border-radius:50%;animation-delay:-4s}
.theme-d2 .d2-bubble-4{right:7%;top:24%;animation-delay:-1s}
.theme-d2 .d2-bubble-5{right:15%;top:58%;width:50px;height:50px;border-radius:50%;animation-delay:-3s}
.theme-d2 .d2-bubble-6{right:4%;top:78%;width:46px;height:46px;animation-delay:-5s}
@keyframes d2-float{0%,100%{translate:0 0}50%{translate:0 -12px}}
.theme-d2 .d2-hero-inner{max-width:780px;margin:0 auto}
.theme-d2 .d2-eyebrow{display:inline-flex;align-items:center;gap:.55rem;margin:0 0 1.2rem;padding:.42rem 1rem;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.26);font-size:.84rem;font-weight:600;color:var(--d2-on);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.theme-d2 .d2-eyebrow img{border-radius:5px;background:#fff;padding:2px;width:22px;height:22px}
.theme-d2 .d2-live{position:relative;width:9px;height:9px;border-radius:50%;background:#4ade80}
.theme-d2 .d2-live::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid #4ade80;opacity:.6;animation:d2-ping 1.8s ease-out infinite}
@keyframes d2-ping{0%{transform:scale(.5);opacity:.8}100%{transform:scale(1.5);opacity:0}}
.theme-d2 .d2-title{margin:0;font-size:clamp(2.1rem,5.4vw,3.7rem);font-weight:800;line-height:1.08;letter-spacing:-.03em;color:var(--d2-on);text-wrap:balance}
.theme-d2 .d2-mark{position:relative;display:inline-block;white-space:nowrap}
.theme-d2 .d2-mark::after{content:"";position:absolute;inset-inline:-.08em;bottom:.02em;height:.34em;z-index:-1;border-radius:.2em;background:rgba(255,255,255,.26);transform:rotate(-1.2deg)}
.theme-d2 .d2-lead{max-width:36rem;margin:1.1rem auto 0;font-size:clamp(1rem,1.6vw,1.14rem);line-height:1.6;color:rgba(255,255,255,.9)}
.theme-d2 .d2-curve{position:absolute;inset-inline:0;bottom:-1px;width:100%;height:clamp(40px,7vw,90px);fill:var(--bs-body-bg)}

/* -------------------------------------------------------- download console */
.theme-d2 .d2-console-wrap{position:relative;z-index:3;margin-top:-7.6rem;padding-bottom:1rem}
.theme-d2 .d2-console{max-width:860px;margin:0 auto;padding:1.15rem 1.15rem 1rem;border-radius:28px;background:var(--d2-surface);border:1px solid var(--d2-line);box-shadow:0 34px 70px -34px rgba(var(--d2-p-rgb),.55),0 14px 34px -22px rgba(15,23,42,.4)}
.theme-d2 .download-form{margin:0}
.theme-d2 .download-input{display:flex;align-items:center;gap:.4rem;padding:.4rem;border-radius:20px;border:2px solid var(--d2-line);background:var(--d2-soft);box-shadow:none;transition:border-color .15s,box-shadow .15s,background .15s}
.theme-d2 .download-input:focus-within{border-color:var(--d2-p);background:var(--d2-surface);box-shadow:0 0 0 5px rgba(var(--d2-p-rgb),.13)}
.theme-d2 .download-input-icon{position:static;transform:none;flex:0 0 auto;margin-inline-start:.85rem;font-size:1.3rem;color:var(--d2-p)}
.theme-d2 .download-input .form-control{flex:1 1 auto;min-width:0;height:auto;padding:.85rem .5rem;border:0;background:none;box-shadow:none;font-size:1.06rem;font-weight:500;color:var(--d2-ink)}
.theme-d2 .download-input .form-control::placeholder{color:var(--d2-muted);font-weight:400}
.theme-d2 .download-input .btn-paste{position:static;transform:none;flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:14px;background:none;color:var(--d2-muted)}
.theme-d2 .download-input .btn-paste:hover{background:rgba(var(--d2-p-rgb),.1);color:var(--d2-p)}
.theme-d2 .download-input .btn-download{flex:0 0 auto;display:inline-flex;align-items:center;gap:.55rem;height:54px;margin:0;padding:0 1.6rem;border:0;border-radius:15px;background:linear-gradient(140deg,var(--app-accent,var(--d2-p)),var(--app-accent-active,var(--d2-p2)));color:var(--app-on-accent,#fff);font-weight:800;font-size:1.02rem;box-shadow:0 14px 26px -12px rgba(var(--app-accent-rgb,var(--d2-p-rgb)),.95);transition:transform .15s,filter .15s}
.theme-d2 .download-input .btn-download:hover{transform:translateY(-1px);filter:brightness(1.06)}
.theme-d2 .download-input .btn-download:active{transform:none}
.theme-d2 .d2-works{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.6rem .9rem;margin-top:.95rem}
.theme-d2 .d2-works-label{font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--d2-muted)}
.theme-d2 .d2-works-list{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem;margin:0}
.theme-d2 .d2-works-list a{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--platform-color,#888) 12%,var(--d2-surface));border:1px solid color-mix(in srgb,var(--platform-color,#888) 22%,transparent);transition:transform .15s,box-shadow .15s}
.theme-d2 .d2-works-list a:hover{transform:translateY(-3px);box-shadow:0 10px 18px -10px var(--platform-color,#888)}
.theme-d2 .d2-works-list img{width:20px;height:20px;object-fit:contain}
[data-bs-theme="dark"] .theme-d2 .d2-works-list a,[data-bs-theme="dark"] .theme-d2 .d2-tile-icon{background:#f4f5f8}
.theme-d2 .d2-works-list .d2-works-more{width:auto;padding:0 .8rem;background:var(--d2-soft);border-color:var(--d2-line);color:var(--d2-ink);font-size:.82rem;font-weight:700;text-decoration:none}
.theme-d2 .hero-badges{display:none}

/* ---------------------------------------------------------------- figures */
.theme-d2 .d2-stats{padding:1.4rem 0 .4rem}
.theme-d2 .d2-stats-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;max-width:860px;margin:0 auto}
.theme-d2 .d2-stats-list li{display:flex;align-items:center;gap:.85rem;padding:.95rem 1.1rem;border-radius:18px;background:var(--d2-surface);border:1px solid var(--d2-line)}
.theme-d2 .d2-stat-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:13px;background:rgba(var(--d2-p-rgb),.1);color:var(--d2-p);font-size:1.2rem}
.theme-d2 .d2-stats-list b{display:block;font-size:1.12rem;font-weight:800;line-height:1.2;color:var(--d2-ink)}
.theme-d2 .d2-stats-list small{display:block;font-size:.8rem;color:var(--d2-muted)}

/* --------------------------------------------------------- section heads */
.theme-d2 .section{padding-block:clamp(3rem,6vw,4.75rem)}
.theme-d2 .d2-head{margin-bottom:2rem}
.theme-d2 .d2-head h2{margin:0;font-size:clamp(1.55rem,3vw,2.15rem);font-weight:800;letter-spacing:-.02em;color:var(--d2-ink)}
.theme-d2 .d2-head p{margin:.45rem 0 0;color:var(--d2-muted);max-width:38rem}
.theme-d2 .d2-head-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem 2rem}
.theme-d2 .d2-head-center{text-align:center}
.theme-d2 .d2-head-center p{margin-inline:auto}
.theme-d2 .d2-kicker{display:inline-flex;align-items:center;gap:.4rem;margin-bottom:.7rem;padding:.3rem .8rem;border-radius:999px;background:rgba(var(--d2-p-rgb),.1);color:var(--d2-p);font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.theme-d2 .d2-count{display:inline-block;vertical-align:middle;margin-inline-start:.35rem;padding:.12rem .6rem;border-radius:999px;background:var(--d2-p);color:var(--d2-on);font-size:.8rem;font-weight:800;letter-spacing:0}
.theme-d2 .d2-link{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--d2-p);text-decoration:none}
.theme-d2 .d2-link:hover{gap:.65rem}

/* -------------------------------------------------------------- platforms */
.theme-d2 .d2-search{position:relative;display:flex;align-items:center;flex:0 1 19rem;min-width:13rem;margin:0}
.theme-d2 .d2-search i{position:absolute;inset-inline-start:1rem;color:var(--d2-muted);pointer-events:none}
.theme-d2 .d2-search input{width:100%;padding:.72rem 1rem;padding-inline-start:2.6rem;border:1.5px solid var(--d2-line);border-radius:999px;background:var(--d2-surface);color:var(--d2-ink);font:inherit;outline:0;transition:border-color .15s,box-shadow .15s}
.theme-d2 .d2-search input:focus{border-color:var(--d2-p);box-shadow:0 0 0 4px rgba(var(--d2-p-rgb),.13)}
.theme-d2 .d2-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(11.4rem,1fr));gap:.75rem;margin:0}
.theme-d2 .d2-tiles > li[hidden]{display:none}
.theme-d2 .d2-tile{position:relative;display:flex;align-items:center;gap:.75rem;height:100%;padding:.7rem .85rem;border-radius:16px;background:var(--d2-surface);border:1px solid var(--d2-line);color:var(--d2-ink);font-weight:700;text-decoration:none;overflow:hidden;transition:transform .16s,border-color .16s,box-shadow .16s}
.theme-d2 .d2-tile::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:3px;background:var(--platform-color,var(--d2-p));transform:scaleY(0);transition:transform .16s}
.theme-d2 .d2-tile:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--platform-color,var(--d2-p)) 45%,var(--d2-line));box-shadow:0 16px 28px -20px var(--platform-color,var(--d2-p))}
.theme-d2 .d2-tile:hover::before{transform:scaleY(1)}
.theme-d2 .d2-tile-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--platform-color,#888) 12%,var(--d2-surface))}
.theme-d2 .d2-tile-icon img{width:26px;height:26px;object-fit:contain}
.theme-d2 .d2-tile-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.94rem}
.theme-d2 .d2-tile-go{flex:0 0 auto;font-size:.8rem;color:var(--platform-color,var(--d2-p));opacity:0;transform:translate(-4px,4px);transition:opacity .16s,transform .16s}
.theme-d2 .d2-tile:hover .d2-tile-go{opacity:1;transform:none}
.theme-d2 .d2-none{margin:1.5rem 0 0;padding:1.6rem;border:1.5px dashed var(--d2-line);border-radius:18px;text-align:center;color:var(--d2-muted)}
.theme-d2 .d2-more{margin-top:1.4rem;text-align:center}
.theme-d2 .d2-more-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.4rem;border:1.5px solid var(--d2-line);border-radius:999px;background:var(--d2-surface);color:var(--d2-ink);font:inherit;font-weight:700;cursor:pointer;transition:border-color .15s,color .15s}
.theme-d2 .d2-more-btn:hover{border-color:var(--d2-p);color:var(--d2-p)}
.theme-d2 .d2-more-btn i{transition:transform .2s}
.theme-d2 .d2-more-btn.is-open i{transform:rotate(180deg)}

/* ------------------------------------------------------------------ steps */
.theme-d2 .d2-how{background:var(--d2-soft)}
.theme-d2 .d2-track{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem;margin:0;counter-reset:none}
.theme-d2 .d2-track::before{content:"";position:absolute;top:26px;inset-inline:16.6%;border-top:2px dashed color-mix(in srgb,var(--d2-p) 40%,transparent)}
.theme-d2 .d2-stop{position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;text-align:center}
.theme-d2 .d2-stop-num{position:relative;z-index:1;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--d2-p);color:var(--d2-on);font-size:1.25rem;font-weight:800;box-shadow:0 0 0 8px var(--d2-soft),0 12px 22px -10px rgba(var(--d2-p-rgb),.9)}
.theme-d2 .d2-stop-card{width:100%;height:100%;padding:1.5rem 1.3rem 1.4rem;border-radius:var(--d2-radius);background:var(--d2-surface);border:1px solid var(--d2-line);box-shadow:var(--d2-shadow)}
.theme-d2 .d2-stop-icon{display:inline-grid;place-items:center;width:46px;height:46px;margin-bottom:.8rem;border-radius:14px;background:rgba(var(--d2-p-rgb),.1);color:var(--d2-p);font-size:1.35rem}
.theme-d2 .d2-stop-card h3{margin:0 0 .4rem;font-size:1.1rem;font-weight:800;color:var(--d2-ink)}
.theme-d2 .d2-stop-card p{margin:0;color:var(--d2-muted);font-size:.95rem;line-height:1.6}

/* ----------------------------------------------------------------- mosaic */
.theme-d2 .d2-mosaic{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem}
.theme-d2 .d2-why-card{position:relative;padding:1.6rem 1.5rem;border-radius:var(--d2-radius);background:var(--d2-surface);border:1px solid var(--d2-line);overflow:hidden;transition:transform .16s,box-shadow .16s}
.theme-d2 .d2-why-card:hover{transform:translateY(-3px);box-shadow:var(--d2-shadow)}
.theme-d2 .d2-why-1{grid-column:span 4;background:linear-gradient(140deg,var(--d2-p),var(--d2-p2));border:0;color:var(--d2-on)}
.theme-d2 .d2-why-1::after{content:"";position:absolute;inset-inline-end:-70px;bottom:-90px;width:260px;height:260px;border-radius:50%;border:38px solid rgba(255,255,255,.12)}
.theme-d2 .d2-why-2{grid-column:span 2}
.theme-d2 .d2-why-3{grid-column:span 3}
.theme-d2 .d2-why-4{grid-column:span 3}
.theme-d2 .d2-why-icon{display:inline-grid;place-items:center;width:50px;height:50px;margin-bottom:1rem;border-radius:15px;background:rgba(var(--d2-p-rgb),.1);color:var(--d2-p);font-size:1.45rem}
.theme-d2 .d2-why-1 .d2-why-icon{background:rgba(255,255,255,.2);color:var(--d2-on)}
.theme-d2 .d2-why-card h3{position:relative;margin:0 0 .4rem;font-size:1.14rem;font-weight:800;color:var(--d2-ink)}
.theme-d2 .d2-why-card p{position:relative;margin:0;max-width:30rem;color:var(--d2-muted);line-height:1.6}
.theme-d2 .d2-why-1 h3{color:var(--d2-on);font-size:1.35rem}
.theme-d2 .d2-why-1 p{color:rgba(255,255,255,.9)}

/* -------------------------------------------------------------- posts, cta */
.theme-d2 .d2-posts{background:var(--d2-soft)}
.theme-d2 .post-card,.theme-d2 .card.post-card{border:1px solid var(--d2-line);border-radius:var(--d2-radius);overflow:hidden;background:var(--d2-surface);transition:transform .16s,box-shadow .16s}
.theme-d2 .post-card:hover{transform:translateY(-3px);box-shadow:var(--d2-shadow)}
.theme-d2 .d2-cta-wrap{padding:0 0 clamp(3rem,6vw,4.5rem)}
.theme-d2 .d2-posts + .d2-cta-wrap{padding-top:clamp(3rem,6vw,4.5rem)}
.theme-d2 .d2-cta{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.2rem 2rem;padding:2.2rem 2.4rem;border-radius:30px;background:linear-gradient(120deg,var(--d2-p),var(--d2-p2));color:var(--d2-on);overflow:hidden;isolation:isolate}
.theme-d2 .d2-cta-art{position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 88% 20%,rgba(255,255,255,.22),transparent 40%),radial-gradient(rgba(255,255,255,.2) 1px,transparent 1.4px) 0 0/24px 24px}
.theme-d2 .d2-cta h2{margin:0;font-size:clamp(1.35rem,2.6vw,1.9rem);font-weight:800;letter-spacing:-.02em;color:var(--d2-on)}
.theme-d2 .d2-cta p{margin:.35rem 0 0;color:rgba(255,255,255,.88)}
.theme-d2 .d2-cta-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 1.7rem;border-radius:999px;background:#fff;color:var(--app-primary-emphasis,var(--d2-p));font-weight:800;text-decoration:none;box-shadow:0 16px 30px -16px rgba(0,0,0,.55);transition:transform .15s}
.theme-d2 .d2-cta-btn:hover{transform:translateY(-2px);color:var(--app-primary-emphasis,var(--d2-p))}

/* ----------------------------------------------------- inner pages, results */
.theme-d2 .page-header-band,.theme-d2 .results-band{position:relative;background:linear-gradient(150deg,var(--app-primary-hover,var(--d2-p)),var(--app-primary-emphasis,var(--d2-p2)));color:var(--d2-on);overflow:hidden}
.theme-d2 .page-header-band{padding:3rem 0 3.2rem}
.theme-d2 .page-header-band::after,.theme-d2 .results-band::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.2) 1px,transparent 1.4px);background-size:24px 24px;-webkit-mask-image:linear-gradient(120deg,transparent 35%,#000);mask-image:linear-gradient(120deg,transparent 35%,#000);pointer-events:none}
.theme-d2 .page-header-band h1{position:relative;z-index:1;font-weight:800;letter-spacing:-.02em;color:var(--d2-on)}
.theme-d2 .results-band .results-back{position:relative;z-index:1;color:var(--d2-on)}
.theme-d2 .card.result-card,.theme-d2 .result-card{border:1px solid var(--d2-line);border-radius:var(--d2-radius);box-shadow:var(--d2-shadow);background:var(--d2-surface)}
.theme-d2 .result-thumb{border-radius:16px;overflow:hidden}
.theme-d2 .quick-download-btn{border-radius:16px}
.theme-d2 .download-option{border-radius:16px;border:1px solid var(--d2-line);transition:transform .15s,border-color .15s,box-shadow .15s}
.theme-d2 .download-option:hover{transform:translateY(-2px);border-color:var(--d2-p);box-shadow:0 14px 24px -18px rgba(var(--d2-p-rgb),.9)}
.theme-d2 .download-option.is-recommended{border-color:var(--d2-p);background:rgba(var(--d2-p-rgb),.05)}
.theme-d2 .download-group-icon{border-radius:12px}
.theme-d2 .prose h2,.theme-d2 .prose h3{letter-spacing:-.01em}
.theme-d2 .results .download-form .download-input,.theme-d2 .container-narrow > .download-form .download-input{background:var(--d2-surface)}

/* ----------------------------------------------------------------- footer */
.theme-d2 .site-footer{position:relative;margin-top:0;background:#0b0f19;color:#aab2c5;border-top:0}
.theme-d2 .site-footer::before{content:"";position:absolute;inset-inline:0;top:0;height:3px;background:linear-gradient(90deg,var(--d2-p),var(--app-primary-hover,var(--d2-p)),transparent)}
.theme-d2 .site-footer .text-body-emphasis,.theme-d2 .site-footer .footer-heading{color:#fff !important}
.theme-d2 .site-footer .footer-heading{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1rem}
.theme-d2 .site-footer .text-body-secondary{color:#8f98ad !important}
.theme-d2 .site-footer .link-secondary{color:#c3cadb !important;text-decoration:none;transition:color .15s,padding .15s}
.theme-d2 .site-footer .link-secondary:hover{color:#fff !important;padding-inline-start:.25rem}
.theme-d2 .site-footer hr{border-color:rgba(255,255,255,.1);opacity:1}
.theme-d2 .site-footer .btn-icon{background:rgba(255,255,255,.08);color:#fff;border-radius:12px}
.theme-d2 .site-footer .btn-icon:hover{background:var(--d2-p)}
.theme-d2 .site-footer .site-credit a{color:#fff}

/* ----------------------------------------------------------- small screens */
@media (max-width: 991.98px){
    .theme-d2 .d2-bubble{display:none}
    .theme-d2 .d2-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}
    .theme-d2 .d2-why-1,.theme-d2 .d2-why-2,.theme-d2 .d2-why-3,.theme-d2 .d2-why-4{grid-column:span 1}
    .theme-d2 .d2-why-1{grid-column:span 2}
}
@media (max-width: 767.98px){
    .theme-d2 .d2-hero{padding:2.8rem 0 8.2rem}
    .theme-d2 .d2-console-wrap{margin-top:-6.6rem}
    .theme-d2 .d2-console{padding:.8rem;border-radius:22px}
    .theme-d2 .d2-stats-list{grid-template-columns:minmax(0,1fr)}
    .theme-d2 .d2-track{grid-template-columns:minmax(0,1fr);gap:1.6rem}
    .theme-d2 .d2-track::before{display:none}
    .theme-d2 .d2-stop{flex-direction:row;align-items:stretch;text-align:start;gap:.9rem}
    .theme-d2 .d2-stop-num{flex:0 0 46px;width:46px;height:46px;font-size:1.1rem;box-shadow:0 10px 18px -10px rgba(var(--d2-p-rgb),.9)}
    .theme-d2 .d2-cta{padding:1.7rem 1.4rem;border-radius:24px}
    .theme-d2 .d2-cta-btn{width:100%;justify-content:center}
    .theme-d2 .d2-search{flex-basis:100%}
}
@media (max-width: 575.98px){
    .theme-d2 .download-input{flex-wrap:wrap;border-radius:18px}
    .theme-d2 .download-input .form-control{flex-basis:calc(100% - 7rem);padding:.7rem .3rem;font-size:1rem}
    .theme-d2 .download-input .btn-download{flex:1 1 100%;justify-content:center;height:50px}
    .theme-d2 .download-input-icon{margin-inline-start:.6rem}
    .theme-d2 .d2-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
    .theme-d2 .d2-tile{padding:.55rem .6rem;gap:.55rem;border-radius:14px}
    .theme-d2 .d2-tile-icon{flex-basis:36px;width:36px;height:36px}
    .theme-d2 .d2-tile-icon img{width:22px;height:22px}
    .theme-d2 .d2-tile-go{display:none}
    .theme-d2 .d2-mosaic{grid-template-columns:minmax(0,1fr)}
    .theme-d2 .d2-why-1{grid-column:span 1}
    .theme-d2 .d2-works-list a{width:34px;height:34px}
}
@media (max-width: 340px){
    .theme-d2 .d2-tiles{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion: reduce){
    .theme-d2 .d2-bubble,.theme-d2 .d2-live::after{animation:none}
    .theme-d2 .d2-tile,.theme-d2 .d2-why-card,.theme-d2 .download-option{transition:none}
}
html.is-app .theme-d2 .d2-cta-wrap{display:none}
[data-bs-theme="dark"] .theme-d2 .d2-works-list .d2-works-more{background:var(--d2-soft);border-color:var(--d2-line);color:var(--d2-ink)}
