/* ==========================================================================
   Digital Startup India — Design System
   Mobile-first · CSS custom properties (brand colours come from Admin → Settings)
   ========================================================================== */

:root {
    --brand: #1d4ed8;
    --brand-600: #1e40af;
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --accent: #f97316;
    --accent-50: #fff7ed;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-2: #f1f5f9;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --green: #16a34a;
    --green-50: #f0fdf4;
    --amber: #d97706;
    --amber-50: #fffbeb;
    --red: #dc2626;
    --red-50: #fef2f2;
    --violet: #28235e;
    --violet-50: #f5f3ff;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 4px 16px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, .18);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Plus Jakarta Sans', var(--font);
    --header-h: 68px;
    --container: 1240px;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

picture {
    display: contents;
}

picture>source {
    display: none;
}

img,
svg,
video {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-600);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    margin: 0 0 .5em;
    color: var(--ink);
    letter-spacing: -.01em;
}

h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    padding-left: 1.2em;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--brand-100);
    outline-offset: 2px;
    border-radius: 6px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 100;
}

.skip-link:focus {
    left: 8px;
}

[hidden] {
    display: none !important;
}

.ico {
    flex-shrink: 0;
}

/* ---------- Layout ---------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

.section {
    padding: 48px 0;
}

@media (min-width: 992px) {
    .section {
        padding: 72px 0;
    }
}

.section-soft {
    background: var(--bg-soft);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.section-head h2 {
    margin: 0;
}

.section-head p {
    margin: 6px 0 0;
    color: var(--muted);
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
    margin-bottom: 8px;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-6 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

.layout-sidebar {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 992px) {
    .layout-sidebar {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }
    .layout-sidebar.right {
        grid-template-columns: 1fr 340px;
    }
}

.stack>*+* {
    margin-top: 16px;
}

.flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flex-wrap {
    flex-wrap: wrap;
}

.between {
    justify-content: space-between;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 13px;
}

.xs {
    font-size: 12px;
}

.center {
    text-align: center;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-2 {
    margin-top: 8px;
}

.mt-3 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 24px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.w-full {
    width: 100%;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hide-mobile {
    display: none !important;
}

@media (min-width: 992px) {
    .hide-mobile {
        display: revert !important;
    }
    .btn.hide-mobile {
        display: inline-flex !important;
    }
    .hide-desktop {
        display: none !important;
    }
}

@media (max-width: 599px) {
    .site-header .logo small {
        display: none;
    }
    .site-header .logo {
        font-size: 16px;
    }
    .site-header .logo>span:last-child {
        max-width: 42vw;
        white-space: normal;
        line-height: 1.15;
    }
    .header-actions .btn-primary span {
        display: none;
    }
    .header-actions .btn-primary {
        padding: 6px 8px;
    }
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.3;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
    text-decoration: none;
    background: none;
}

.btn:disabled,
.btn.is-loading {
    opacity: .6;
    pointer-events: none;
}

.btn.is-loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 1px 2px rgba(29, 78, 216, .3);
}

.btn-primary:hover {
    background: var(--brand-600);
    color: #fff;
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    filter: brightness(.95);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-ghost {
    color: var(--ink-2);
}

.btn-ghost:hover {
    background: var(--line-2);
    color: var(--ink);
}

.btn-light {
    background: var(--brand-50);
    color: var(--brand);
}

.btn-light:hover {
    background: var(--brand-100);
}

.btn-white {
    background: #fff;
    color: var(--brand);
}

.btn-white:hover {
    background: var(--brand-50);
}

.btn-danger {
    background: var(--red);
    color: #fff;
}

.btn-danger:hover {
    filter: brightness(.92);
    color: #fff;
}

.btn-success {
    background: var(--green);
    color: #fff;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-sm {
    padding: 7px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    padding: 13px 14px;
    font-size: 15px;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    padding: 8px;
    border-radius: 10px;
}

/* ---------- Badges & tags ---------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-green {
    background: var(--green-50);
    color: var(--green);
}

.badge-amber {
    background: var(--amber-50);
    color: var(--amber);
}

.badge-red {
    background: var(--red-50);
    color: var(--red);
}

.badge-violet {
    background: var(--violet-50);
    color: var(--violet);
}

.badge-gray {
    background: var(--line-2);
    color: var(--muted);
}

.badge-blue {
    background: var(--brand-50);
    color: var(--brand);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .01em;
}

.tag-premium {
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    color: #78350f;
}

.tag-popular {
    background: #ffe4e6;
    color: #be123c;
}

.tag-featured {
    background: var(--violet-50);
    color: var(--violet);
}

.tag-verified {
    background: var(--green-50);
    color: var(--green);
}

.tag-sponsored {
    background: var(--line-2);
    color: var(--muted);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--line-2);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
}

a.chip:hover,
.chip.active {
    background: var(--brand-50);
    color: var(--brand);
    border-color: var(--brand-100);
}

.stars {
    display: inline-flex;
    gap: 1px;
    vertical-align: middle;
}

.stars svg {
    fill: #e2e8f0;
}

.stars svg.on {
    fill: #f59e0b;
}

/* ---------- Header ---------- */

@media (min-width: 992px) {
    .topbar.hide-mobile {
        display: block !important;
    }
}

.topbar {
    background: var(--ink);
    color: #cbd5e1;
    font-size: 12.5px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 34px;
    gap: 12px;
}

.topbar a {
    color: #e2e8f0;
}

.topbar .flex {
    gap: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
    white-space: nowrap;
}

.logo:hover {
    color: var(--ink);
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(29, 78, 216, .3);
}

.logo img {
    height: 38px;
    width: auto;
}

.logo small {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .02em;
    line-height: 1;
    margin-top: 2px;
}

.main-nav {
    display: none;
}

@media (min-width: 1100px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-left: 12px;
    }
    .main-nav>a,
    .main-nav .nav-dd>button {
        padding: 8px 11px;
        border-radius: 8px;
        color: var(--ink-2);
        font-weight: 500;
        font-size: 14.5px;
        background: none;
        border: 0;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .main-nav>a:hover,
    .main-nav>a.active,
    .main-nav .nav-dd>button:hover {
        background: var(--line-2);
        color: var(--ink);
    }
    .main-nav>a.active {
        color: var(--brand);
    }
}

.nav-dd {
    position: relative;
}

.nav-dd-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all .15s;
    z-index: 60;
}

.nav-dd.open .nav-dd-menu,
.nav-dd:hover .nav-dd-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav-dd-menu a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
}

.nav-dd-menu a:hover {
    background: var(--line-2);
}

.nav-dd-menu a .ico {
    color: var(--brand);
    margin-top: 2px;
}

.nav-dd-menu a small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search {
    display: none;
    position: relative;
}

@media (min-width: 1280px) {
    .header-search {
        display: block;
    }
}

.header-search input[type] {
    width: 112px;
    padding: 8px 12px 8px 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-soft);
    font-size: 14px;
    transition: width .2s;
}

.header-search input[type]:focus {
    width: 260px;
    background: #fff;
    outline: none;
    border-color: var(--brand);
}

.header-search .ico {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.bell {
    position: relative;
}

.bell .dot {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--brand-50);
    color: var(--brand);
    display: inline-grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-lg {
    width: 72px;
    height: 72px;
    font-size: 26px;
}

.user-menu {
    position: relative;
}

.user-menu>button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 4px;
    border-radius: 999px;
}

.user-menu .nav-dd-menu {
    left: auto;
    right: 0;
}

.menu-toggle {
    display: inline-flex;
}

@media (min-width: 1100px) {
    .menu-toggle {
        display: none;
    }
}

/* Mobile drawer */

.drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
}

.drawer.open {
    visibility: visible;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .5);
    opacity: 0;
    transition: opacity .2s;
}

.drawer.open .drawer-backdrop {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    background: #fff;
    transform: translateX(100%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
}

.drawer.open .drawer-panel {
    transform: none;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.drawer-body {
    overflow-y: auto;
    padding: 12px;
    flex: 1;
}

.drawer-body a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-weight: 500;
}

.drawer-body a:hover,
.drawer-body a.active {
    background: var(--brand-50);
    color: var(--brand);
}

.drawer-body .ico {
    color: var(--muted);
}

.drawer-body hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 10px 0;
}

.drawer-foot {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
}

/* Bottom nav (mobile app feel) */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, .05);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 0 7px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted);
}

.bottom-nav a.active {
    color: var(--brand);
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    body.has-bottom-nav {
        padding-bottom: 64px;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 600px at 10% -10%, #dbeafe 0%, transparent 60%), radial-gradient(900px 500px at 110% 10%, #ffedd5 0%, transparent 55%), #fff;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
    animation: fadeIn .5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-inner {
    display: grid;
    gap: 32px;
    align-items: center;
    padding: 48px 0 56px;
}

@media (min-width: 992px) {
    .hero-inner {
        grid-template-columns: 1.1fr .9fr;
        padding: 72px 0 84px;
    }
}

.hero h1 {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    margin-bottom: 16px;
}

.hero h1 .hl {
    background: linear-gradient(90deg, var(--brand), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--ink-2);
    max-width: 600px;
    margin-bottom: 24px;
}

.hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-search {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    max-width: 640px;
}

@media (min-width: 640px) {
    .hero-search {
        grid-template-columns: 1.4fr 1fr auto;
    }
}

.hero-search input,
.hero-search select {
    border: 0;
    padding: 12px;
    background: var(--bg-soft);
    border-radius: 10px;
    width: 100%;
}

.hero-search input:focus,
.hero-search select:focus {
    outline: 2px solid var(--brand-100);
    background: #fff;
}

.hero-trust {
    margin-top: 18px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust .ico {
    color: var(--green);
}

.hero-visual {
    position: relative;
    display: none;
}

@media (min-width: 992px) {
    .hero-visual {
        display: block;
    }
}

.hero-visual .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 18px;
}

.hero-visual .panel+.panel {
    margin-top: 14px;
    margin-left: 48px;
}

.hero-visual .float {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.slider-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: 0;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: width .2s;
}

.slider-dots button.active {
    width: 24px;
    background: var(--brand);
}

/* Page hero (inner pages) */

.page-hero {
    background: linear-gradient(180deg, var(--brand-50), #fff);
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin: 6px 0 6px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-hero p {
    color: var(--muted);
    margin: 0;
    max-width: 720px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--muted);
    list-style: none;
    padding: 0;
    margin-top: 0;
}

.breadcrumbs a {
    color: var(--muted);
}

.breadcrumbs a:hover {
    color: var(--brand);
}

.breadcrumbs li+li::before {
    content: '/';
    margin: 0 6px;
    color: #cbd5e1;
}

/* ---------- Cards ---------- */

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card-pad {
    padding: 20px;
}

@media (min-width: 768px) {
    .card-pad {
        padding: 24px;
    }
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-hover {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}

.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Listing card (business / professional) */

.lcard {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.lcard-cover {
    aspect-ratio: 16/7;
    background: linear-gradient(135deg, var(--brand-50), var(--accent-50));
    position: relative;
    overflow: hidden;
}

.lcard-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lcard-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.lcard-body {
    padding: 0 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lcard-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 3px solid #fff;
    background: #fff;
    box-shadow: var(--shadow);
    margin-top: -32px;
    position: relative;
    object-fit: cover;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 22px;
    color: var(--brand);
    overflow: hidden;
}

.lcard-logo.round {
    border-radius: 50%;
}

.lcard h3 {
    font-size: 16.5px;
    margin: 10px 0 2px;
}

.lcard h3 a {
    color: var(--ink);
}

.lcard h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lcard .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 8px;
}

.lcard .meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lcard p {
    font-size: 14px;
    color: var(--ink-2);
    margin: 0 0 12px;
}

.lcard-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    position: relative;
    z-index: 2;
}

.lcard-foot .btn {
    position: relative;
    z-index: 2;
}

/* Row cards (jobs, events list) */

.rcard {
    display: flex;
    gap: 14px;
    padding: 16px;
    position: relative;
}

@media (min-width: 768px) {
    .rcard {
        padding: 18px 20px;
        gap: 18px;
    }
}

.rcard-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid var(--line);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-soft);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--brand);
    overflow: hidden;
}

.rcard h3 {
    font-size: 16px;
    margin: 0 0 3px;
}

.rcard h3 a {
    color: var(--ink);
}

.rcard h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.rcard .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 13px;
    color: var(--muted);
}

.rcard .meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rcard-side {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* Event card */

.ecard {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.ecard-img {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e3a8a, #7c3aed);
    position: relative;
    overflow: hidden;
}

.ecard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ecard-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 6px 10px;
    text-align: center;
    line-height: 1.1;
    box-shadow: var(--shadow);
}

.ecard-date b {
    display: block;
    font-size: 20px;
    font-family: var(--font-head);
}

.ecard-date small {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
}

.ecard-mode {
    position: absolute;
    top: 12px;
    right: 12px;
}

.ecard-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ecard-body h3 {
    font-size: 16.5px;
    margin: 0;
}

.ecard-body h3 a {
    color: var(--ink);
}

.ecard-body h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.ecard .meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ecard .meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ecard-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
}

.progress {
    height: 6px;
    border-radius: 99px;
    background: var(--line-2);
    overflow: hidden;
}

.progress>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: 99px;
}

/* Post card */

.pcard {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.pcard-img {
    aspect-ratio: 16/9;
    background: var(--line-2);
    overflow: hidden;
    position: relative;
}

.pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.pcard:hover .pcard-img img {
    transform: scale(1.04);
}

.pcard-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pcard-body h3 {
    font-size: 16.5px;
    margin: 0;
}

.pcard-body h3 a {
    color: var(--ink);
}

.pcard-body h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.pcard .kicker {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pcard .meta {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: auto;
    display: flex;
    gap: 12px;
}

.media-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 23, 42, .75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Category tiles */

.cat-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px 12px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    transition: all .18s;
}

.cat-tile:hover {
    border-color: var(--brand-100);
    background: var(--brand-50);
    color: var(--ink);
    transform: translateY(-2px);
}

.cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-50);
    color: var(--brand);
    transition: all .18s;
}

.cat-tile:hover .cat-icon {
    background: var(--brand);
    color: #fff;
}

.cat-tile b {
    font-size: 14px;
    line-height: 1.3;
}

.cat-tile small {
    color: var(--muted);
    font-size: 12px;
}

/* City tiles */

.city-tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
}

.city-tile:nth-child(3n+2) {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

.city-tile:nth-child(3n+3) {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.city-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, .6));
}

.city-tile>div {
    position: relative;
    z-index: 1;
}

.city-tile b {
    font-size: 18px;
    font-family: var(--font-head);
    display: block;
}

.city-tile small {
    opacity: .9;
}

.city-tile:hover {
    color: #fff;
}

/* Feature (why us) */

.feature {
    padding: 22px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    height: 100%;
}

.feature .fi {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-50), var(--accent-50));
    color: var(--brand);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.feature h3 {
    font-size: 16.5px;
    margin-bottom: 6px;
}

.feature p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

/* Stats band */

.stats-band {
    background: linear-gradient(120deg, var(--brand), #312e81);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .stats-band {
        grid-template-columns: repeat(4, 1fr);
        padding: 36px;
    }
}

.stats-band b {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
}

.stats-band span {
    font-size: 13.5px;
    opacity: .85;
}

/* Testimonials */

.tcard {
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tcard blockquote {
    margin: 0;
    color: var(--ink-2);
    font-size: 15px;
}

.tcard .who {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
}

.tcard .who b {
    display: block;
    font-size: 14.5px;
}

.tcard .who small {
    color: var(--muted);
}

.scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.scroller>* {
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .scroller {
        grid-auto-columns: 46%;
    }
}

@media (min-width: 992px) {
    .scroller {
        grid-auto-columns: calc(33.333% - 11px);
    }
}

/* Magazine */

.mag-feature {
    display: grid;
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .mag-feature {
        grid-template-columns: 260px 1fr;
        padding: 40px;
    }
}

.mag-feature h2,
.mag-feature h3 {
    color: #fff;
}

.mag-feature p {
    color: #cbd5e1;
}

.mag-cover {
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    background: linear-gradient(160deg, var(--accent), #be123c);
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    padding: 16px;
    transform: rotate(-3deg);
}

.mag-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mag-cover .ph b {
    font-family: var(--font-head);
    font-size: 22px;
    display: block;
    line-height: 1.1;
}

.issue-card {
    display: block;
    color: var(--ink);
    position: relative;
}

.issue-card .mag-cover {
    transform: none;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}

.issue-card:hover .mag-cover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.issue-card h3 {
    font-size: 15px;
    margin: 12px 0 2px;
}

/* Newsletter */

.newsletter {
    background: linear-gradient(120deg, var(--accent), #db2777);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: #fff;
    display: grid;
    gap: 18px;
    align-items: center;
}

@media (min-width: 768px) {
    .newsletter {
        grid-template-columns: 1fr 1fr;
        padding: 40px;
    }
}

.newsletter h2 {
    color: #fff;
    margin: 0 0 6px;
}

.newsletter p {
    margin: 0;
    opacity: .92;
}

.newsletter form {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: 12px;
}

.newsletter input {
    flex: 1;
    border: 0;
    padding: 10px 12px;
    border-radius: 8px;
    min-width: 0;
    color: var(--ink);
}

.newsletter input:focus {
    outline: none;
}

/* FAQ accordion */

.faq {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq details:last-child {
    border-bottom: 0;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--brand);
    transition: transform .2s;
    flex-shrink: 0;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details>div {
    padding: 0 20px 18px;
    color: var(--ink-2);
}

/* ---------- Forms ---------- */

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .form-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .span-2 {
        grid-column: span 2;
    }
    .span-3 {
        grid-column: 1 / -1;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field>label,
.label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
}

.field .req {
    color: var(--red);
}

.input,
.select,
.textarea,
input:not([type]),
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=url],
input[type=tel],
input[type=date],
input[type=datetime-local],
input[type=month],
input[type=search],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s;
    min-height: 44px;
}

textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 34px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-100);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--red);
}

.field-error {
    color: var(--red);
    font-size: 12.5px;
    font-weight: 500;
}

.hint {
    color: var(--muted);
    font-size: 12.5px;
    overflow-wrap: anywhere;
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    cursor: pointer;
}

.check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--brand);
    flex-shrink: 0;
}

input[type=file] {
    padding: 8px;
    font-size: 14px;
    background: var(--bg-soft);
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    width: 100%;
}

.input-icon {
    position: relative;
}

.input-icon .ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.input-icon input[type],
.input-icon input:not([type]) {
    padding-left: 38px;
}

.pw-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
}

.img-preview {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.form-section {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.form-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.form-section h3 {
    font-size: 15.5px;
    margin-bottom: 14px;
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    padding: 14px 0;
    z-index: 5;
}

/* Switch (one-click toggles) */

.switch {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.switch span {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 99px;
    transition: .2s;
}

.switch span::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.switch input:checked+span {
    background: var(--green);
}

.switch input:checked+span::before {
    transform: translateX(20px);
}

.switch input:focus-visible+span {
    box-shadow: 0 0 0 3px var(--brand-100);
}

.switch.busy {
    opacity: .5;
    pointer-events: none;
}

/* Filters */

.filters {
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.filters .card-pad {
    display: grid;
    gap: 14px;
}

.filters h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin: 0;
}

.filter-toggle {
    display: flex;
}

@media (min-width: 992px) {
    .filter-toggle {
        display: none;
    }
}

@media (max-width: 991px) {
    .filters {
        position: fixed;
        inset: 0;
        z-index: 95;
        top: 0;
        background: rgba(15, 23, 42, .5);
        display: none;
    }
    .filters.open {
        display: block;
    }
    .filters>.card {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 88vh;
        overflow-y: auto;
        border-radius: 20px 20px 0 0;
    }
}

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.results-bar select {
    width: auto;
    min-height: 38px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 14px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-weight: 600;
    font-size: 14px;
    background: #fff;
}

.pagination a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.pagination .current {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.pagination .gap {
    border: 0;
    background: none;
}

/* Tabs */

.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tabs a,
.tabs button {
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    border: 0;
    background: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.tabs a:hover,
.tabs button:hover {
    color: var(--ink);
}

.tabs .active {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

.tabs .count {
    background: var(--line-2);
    border-radius: 99px;
    padding: 0 7px;
    font-size: 12px;
}

.tabs .active .count {
    background: var(--brand-50);
}

.pill-tabs {
    display: inline-flex;
    background: var(--line-2);
    padding: 4px;
    border-radius: 12px;
    gap: 2px;
}

.pill-tabs a {
    padding: 7px 14px;
    border-radius: 9px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.pill-tabs a.active {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

/* ---------- Detail pages ---------- */

.profile-cover {
    height: 180px;
    background: linear-gradient(135deg, var(--brand), #7c3aed 60%, var(--accent));
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .profile-cover {
        height: 280px;
    }
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .profile-head {
        flex-direction: row;
        align-items: flex-end;
    }
}

.profile-logo {
    width: 104px;
    height: 104px;
    border-radius: 20px;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 800;
    color: var(--brand);
    flex-shrink: 0;
    overflow: hidden;
}

.profile-logo.round {
    border-radius: 50%;
}

.profile-head h1 {
    margin: 0 0 4px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.profile-head .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: var(--muted);
    font-size: 14px;
}

.profile-head .meta span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.profile-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    word-break: break-word;
}

.info-list .ico {
    color: var(--brand);
    margin-top: 3px;
}

.info-list small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.locked {
    background: repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 8px, #fff 8px, #fff 16px);
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
    font-size: 13.5px;
    color: var(--muted);
}

.prose {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-2);
}

.prose h2 {
    font-size: 1.45rem;
    margin: 1.6em 0 .6em;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.prose h3 {
    font-size: 1.15rem;
    margin: 1.4em 0 .5em;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.prose img {
    border-radius: 12px;
    margin: 1em 0;
}

.prose blockquote {
    border-left: 4px solid var(--accent);
    margin: 1.4em 0;
    padding: 6px 18px;
    background: var(--accent-50);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--ink);
}

.prose a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 14px;
}

.prose th,
.prose td {
    border: 1px solid var(--line);
    padding: 8px 10px;
    text-align: left;
}

.prose iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    border-radius: 12px;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pill-list li {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13.5px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.pill-list .ico {
    color: var(--green);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery a {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.gallery a:hover img {
    transform: scale(1.06);
}

.video-embed {
    aspect-ratio: 16/9;
    width: 100%;
    border: 0;
    border-radius: 14px;
}

.toc {
    font-size: 14px;
}

.toc a {
    display: block;
    padding: 5px 0 5px 12px;
    border-left: 2px solid var(--line);
    color: var(--muted);
}

.toc a:hover,
.toc a.active {
    color: var(--brand);
    border-left-color: var(--brand);
}

.toc a.l3 {
    padding-left: 24px;
    font-size: 13px;
}

.review {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.review:last-child {
    border-bottom: 0;
}

.review .reply {
    margin-top: 10px;
    padding: 10px 14px;
    background: var(--bg-soft);
    border-radius: 10px;
    font-size: 14px;
    border-left: 3px solid var(--brand);
}

.rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    color: #e2e8f0;
}

.rating-input label svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.rating-input input:checked~label,
.rating-input label:hover,
.rating-input label:hover~label {
    color: #f59e0b;
}

.key-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .key-facts {
        grid-template-columns: repeat(4, 1fr);
    }
}

.key-facts div {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 12px 14px;
}

.key-facts small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.key-facts b {
    font-size: 14.5px;
}

.steps {
    counter-reset: s;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.steps li {
    counter-increment: s;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.steps li::before {
    content: counter(s);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checklist li::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
}

.answer-box {
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius);
    padding: 16px 18px;
    font-size: 16px;
    color: var(--ink);
}

.disclaimer {
    background: var(--amber-50);
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    color: #92400e;
    display: flex;
    gap: 10px;
}

.share {
    display: flex;
    gap: 6px;
}

.share a,
.share button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--ink-2);
    background: #fff;
    cursor: pointer;
}

.share a:hover,
.share button:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* ---------- Ads ---------- */

.ad-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    margin-bottom: 24px;
}

.ad-slide {
    display: none;
    position: relative;
}

.ad-slide.active {
    display: block;
    animation: fadeIn .4s;
}

.ad-slide img {
    width: 100%;
    aspect-ratio: 4/1;
    object-fit: cover;
}

@media (max-width: 767px) {
    .ad-slide img {
        aspect-ratio: 2/1;
    }
}

.ad-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: .05em;
}

.ad-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(120deg, var(--brand-50), var(--accent-50));
}

.ad-text b {
    font-size: 16px;
}

/* ---------- Alerts / toasts / modal ---------- */

.alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14.5px;
    border: 1px solid;
    margin-bottom: 16px;
}

.alert-success {
    background: var(--green-50);
    border-color: #bbf7d0;
    color: #166534;
}

.alert-error {
    background: var(--red-50);
    border-color: #fecaca;
    color: #991b1b;
}

.alert-info {
    background: var(--brand-50);
    border-color: var(--brand-100);
    color: #1e3a8a;
}

.alert-warning {
    background: var(--amber-50);
    border-color: #fde68a;
    color: #92400e;
}

.alert .btn {
    margin-left: auto;
}

.toasts {
    position: fixed;
    top: 16px;
    right: 16px;
    left: 16px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    pointer-events: none;
}

@media (min-width: 640px) {
    .toasts {
        left: auto;
        width: 380px;
    }
}

.toast {
    pointer-events: auto;
    background: var(--ink);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    animation: toastIn .25s ease;
    width: 100%;
}

.toast.success .ico {
    color: #4ade80;
}

.toast.error .ico {
    color: #f87171;
}

.toast.info .ico {
    color: #60a5fa;
}

.toast button {
    margin-left: auto;
    background: none;
    border: 0;
    color: #94a3b8;
    cursor: pointer;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    animation: fadeIn .15s;
}

.modal-dialog {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: toastIn .2s;
}

.modal-dialog.lg {
    max-width: 760px;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.modal-head h3 {
    margin: 0;
}

.modal-body {
    padding: 22px;
}

.modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    z-index: 160;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, .15);
    border: 0;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

/* Empty state */

.empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--muted);
}

.empty .ei {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--line-2);
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    color: var(--muted);
}

.empty h3 {
    color: var(--ink);
    margin-bottom: 6px;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #0b1220;
    color: #94a3b8;
    padding: 56px 0 24px;
    margin-top: 48px;
    font-size: 14px;
}

.site-footer h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #fff;
}

.footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    }
}

.footer-grid>div:first-child {
    grid-column: 1 / -1;
}

@media (min-width: 992px) {
    .footer-grid>div:first-child {
        grid-column: auto;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.social {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #1e293b;
    display: grid;
    place-items: center;
    color: #cbd5e1;
}

.social a:hover {
    background: var(--brand);
    color: #fff;
}

.site-footer .logo {
    color: #fff;
    margin-bottom: 12px;
}

.site-footer .logo small {
    color: #94a3b8;
}

/* Floating buttons */

.fab-wa {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 45;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
}

.fab-wa:hover {
    color: #fff;
    transform: scale(1.06);
}

@media (min-width: 768px) {
    .fab-wa {
        bottom: 24px;
    }
}

.to-top {
    position: fixed;
    right: 16px;
    bottom: 144px;
    z-index: 45;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    color: var(--ink);
}

.to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .to-top {
        bottom: 88px;
    }
}

.install-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 76px;
    z-index: 46;
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .install-bar {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: 380px;
    }
}

.install-bar .logo-mark {
    width: 40px;
    height: 40px;
}

.install-bar small {
    color: #94a3b8;
    display: block;
}

.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 47;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13.5px;
    max-width: 560px;
}

@media (max-width: 767px) {
    .cookie-bar {
        bottom: 76px;
    }
}

/* ---------- Auth pages ---------- */

.auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--bg-soft);
}

@media (min-width: 992px) {
    .auth-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

.auth-side {
    display: none;
    background: linear-gradient(145deg, var(--brand) 0%, #312e81 60%, #7c3aed 100%);
    color: #fff;
    padding: 48px;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .auth-side {
        display: flex;
    }
}

.auth-side h2 {
    color: #fff;
    font-size: 2rem;
}

.auth-side p {
    color: #c7d2fe;
    font-size: 16px;
}

.auth-side .logo {
    color: #fff;
}

.auth-side .logo small {
    color: #c7d2fe;
}

.auth-side ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 14px;
}

.auth-side li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
}

.auth-side li .ico {
    background: rgba(255, 255, 255, .15);
    border-radius: 10px;
    padding: 7px;
    width: 34px;
    height: 34px;
}

.auth-side::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    right: -120px;
    bottom: -120px;
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
}

.auth-card.wide {
    max-width: 720px;
}

.auth-card h1 {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.type-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .type-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.type-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    transition: .15s;
    color: var(--ink);
    position: relative;
}

.type-card:hover {
    border-color: var(--brand-100);
    color: var(--ink);
}

.type-card.selected,
.type-card:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-50);
}

.type-card input {
    position: absolute;
    opacity: 0;
}

.type-card .ti {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.type-card.selected .ti,
.type-card:has(input:checked) .ti {
    background: var(--brand);
    color: #fff;
}

.type-card b {
    display: block;
    font-size: 15px;
}

.type-card small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    display: block;
}

.type-seg {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

@media (min-width: 480px) {
    .type-seg {
        grid-template-columns: repeat(4, 1fr);
    }
}

.type-seg label {
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--ink-2);
    background: #fff;
}

.type-seg input {
    display: none;
}

.type-seg label:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-50);
    color: var(--brand);
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    margin: 18px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.stepper {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.stepper span {
    flex: 1;
    height: 4px;
    border-radius: 99px;
    background: var(--line);
}

.stepper span.on {
    background: var(--brand);
}

/* ---------- Account (member dashboard) ---------- */

.acc-wrap {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - var(--header-h));
    background: var(--bg-soft);
}

@media (min-width: 992px) {
    .acc-wrap {
        grid-template-columns: 260px 1fr;
    }
}

.acc-side {
    background: #fff;
    border-right: 1px solid var(--line);
    padding: 20px 14px;
    display: none;
}

@media (min-width: 992px) {
    .acc-side {
        display: block;
        position: sticky;
        top: var(--header-h);
        height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
}

.acc-side .who {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px 8px 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
}

.acc-side .who b {
    display: block;
    font-size: 14.5px;
    line-height: 1.2;
}

.acc-side .who small {
    color: var(--muted);
    font-size: 12px;
}

.side-nav {
    display: grid;
    gap: 2px;
}

.side-nav .grp {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    padding: 14px 10px 6px;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}

.side-nav a:hover {
    background: var(--line-2);
    color: var(--ink);
}

.side-nav a.active {
    background: var(--brand-50);
    color: var(--brand);
    font-weight: 600;
}

.side-nav a .ico {
    color: #94a3b8;
}

.side-nav a.active .ico {
    color: var(--brand);
}

.side-nav a .badge {
    margin-left: auto;
}

.acc-main {
    padding: 20px 16px 40px;
    min-width: 0;
}

@media (min-width: 768px) {
    .acc-main {
        padding: 28px 32px 48px;
    }
}

.acc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.acc-head h1 {
    font-size: 1.5rem;
    margin: 0 0 4px;
}

.acc-head p {
    margin: 0;
    color: var(--muted);
}

.acc-mobile-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin: -4px -16px 16px;
    padding: 0 16px 4px;
    scrollbar-width: none;
}

.acc-mobile-nav::-webkit-scrollbar {
    display: none;
}

.acc-mobile-nav a {
    white-space: nowrap;
}

@media (min-width: 992px) {
    .acc-mobile-nav {
        display: none;
    }
}

.kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .kpis {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.kpi .ki {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--brand-50);
    color: var(--brand);
}

.kpi:nth-child(2) .ki {
    background: var(--accent-50);
    color: var(--accent);
}

.kpi:nth-child(3) .ki {
    background: var(--green-50);
    color: var(--green);
}

.kpi:nth-child(4) .ki {
    background: var(--violet-50);
    color: var(--violet);
}

.kpi b {
    display: block;
    font-size: 22px;
    font-family: var(--font-head);
    line-height: 1.1;
}

.kpi small {
    color: var(--muted);
    font-size: 12.5px;
}

.completion {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ring {
    --p: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--line-2) 0);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.ring::before {
    content: attr(data-label);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
    font-family: var(--font-head);
}

.list-rows {
    display: grid;
}

.list-rows>* {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.list-rows>*:last-child {
    border-bottom: 0;
}

.notif {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notif .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    margin-top: 8px;
    flex-shrink: 0;
}

.notif.read .dot {
    background: transparent;
}

.notif b {
    font-size: 14px;
    font-weight: 600;
    display: block;
}

.notif small {
    color: var(--muted);
}

.checklist-task {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg-soft);
    font-size: 14px;
    color: var(--ink);
}

.checklist-task.done {
    color: var(--muted);
    text-decoration: line-through;
}

.checklist-task .ico {
    color: var(--green);
}

/* Tables */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    font-weight: 700;
    padding: 11px 14px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.table th a {
    color: inherit;
}

.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.table tr:last-child td {
    border-bottom: 0;
}

.table tbody tr:hover {
    background: #fafbff;
}

.table .thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--line-2);
}

.table .actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .table.responsive thead {
        display: none;
    }
    .table.responsive tr {
        display: block;
        padding: 10px 14px;
        border-bottom: 1px solid var(--line);
    }
    .table.responsive td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 5px 0;
        border: 0;
    }
    .table.responsive td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--muted);
        font-size: 12px;
    }
    .table.responsive .actions {
        justify-content: flex-start;
    }
}

/* Pricing */

.plans {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .plans.four {
        grid-template-columns: repeat(4, 1fr);
    }
    .plans.three {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.plan.rec {
    border: 2px solid var(--brand);
    box-shadow: var(--shadow-lg);
}

.plan .ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    white-space: nowrap;
}

.plan .price {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 800;
}

.plan .price small {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
    font-size: 14px;
}

.plan li {
    display: flex;
    gap: 8px;
}

.plan li .ico {
    color: var(--green);
    margin-top: 3px;
}

.plan .btn {
    margin-top: auto;
}

/* Misc */

.hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 20px 0;
}

.kbd {
    font-family: ui-monospace, monospace;
    background: var(--line-2);
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 12.5px;
}

.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--amber);
    color: #fff;
    text-align: center;
    padding: 6px;
    font-size: 13px;
    z-index: 300;
}

.skeleton {
    background: linear-gradient(90deg, var(--line-2), #fff, var(--line-2));
    background-size: 200% 100%;
    animation: sk 1.2s infinite;
    border-radius: 8px;
}

@keyframes sk {
    to {
        background-position: -200% 0;
    }
}

.ql-container {
    font-size: 15px !important;
    min-height: 220px;
    border-radius: 0 0 10px 10px;
}

.ql-toolbar {
    border-radius: 10px 10px 0 0;
    background: var(--bg-soft);
}

.rte-wrap .ql-editor {
    min-height: 220px;
}

@media print {
    .site-header,
    .site-footer,
    .bottom-nav,
    .fab-wa,
    .to-top,
    .topbar,
    .no-print {
        display: none !important;
    }
    body {
        padding: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

.kv {
    display: grid;
    grid-template-columns: 180px 1fr;
    font-size: 14px;
}

.kv>div {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    word-break: break-word;
}

.kv>div:nth-child(odd) {
    color: var(--muted);
    font-weight: 500;
    padding-right: 12px;
}

/* ==========================================================================
   v1.2 components — checkout, messaging, requirements, consultations, analytics, privacy
   ========================================================================== */

.avatar-xl {
    width: 96px;
    height: 96px;
    font-size: 34px;
}

.imp-bar {
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13.5px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 70;
}

.imp-bar form {
    margin: 0;
}

.captcha {
    min-height: 70px;
}

.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.link-list li {
    display: grid;
    gap: 2px;
}

.link-list a {
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}

.link-list a:hover {
    color: var(--brand);
}

/* Checkout */

.pay-wrap {
    max-width: 980px;
}

.pay-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 860px) {
    .pay-grid {
        grid-template-columns: 1.15fr .85fr;
        align-items: start;
    }
    .pay-action {
        position: sticky;
        top: calc(var(--header-h) + 16px);
    }
}

.sum-lines {
    margin: 18px 0 8px;
    display: grid;
    gap: 8px;
}

.sum-lines>div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14.5px;
}

.sum-lines dt,
.sum-lines dd {
    margin: 0;
}

.sum-lines .good {
    color: var(--green);
}

.sum-lines .muted {
    color: var(--muted);
    font-size: 13.5px;
}

.sum-lines .total {
    border-top: 1px dashed var(--line);
    padding-top: 10px;
    margin-top: 4px;
    font-weight: 800;
    font-size: 17px;
}

.coupon-on {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--green-50);
    color: var(--green);
    font-size: 14px;
}

.coupon-on span {
    flex: 1;
}

details>summary.link {
    cursor: pointer;
    color: var(--brand);
    font-weight: 600;
    list-style: none;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

details>summary::-webkit-details-marker {
    display: none;
}

/* Messaging */

.chat {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: calc(100vh - 260px);
    min-height: 460px;
}

@media (min-width: 900px) {
    .chat {
        grid-template-columns: 300px 1fr;
    }
}

.chat-list {
    border-right: 1px solid var(--line);
    overflow-y: auto;
}

.chat-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-2);
    color: var(--ink);
}

.chat-item:hover,
.chat-item.active {
    background: var(--brand-50);
}

.chat-item.unread b {
    color: var(--brand);
}

.ci-body {
    flex: 1;
    min-width: 0;
    display: grid;
}

.ci-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.ci-top time {
    font-size: 11.5px;
    color: var(--muted);
    white-space: nowrap;
}

.ci-last {
    font-size: 13px;
    color: var(--muted);
}

.chat-thread {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
}

.chat-back {
    display: inline-flex;
}

@media (min-width: 900px) {
    .chat-back {
        display: none;
    }
}

@media (max-width: 899px) {
    .chat.has-thread .chat-list {
        display: none;
    }
    .chat:not(.has-thread) .chat-thread {
        display: none;
    }
}

.chat-placeholder {
    margin: auto;
    text-align: center;
    color: var(--muted);
    display: grid;
    justify-items: center;
    gap: 6px;
}

.msgs {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-soft);
}

.msg {
    display: flex;
    flex-direction: column;
    max-width: 78%;
}

.msg.me {
    align-self: flex-end;
    align-items: flex-end;
}

.msg.them {
    align-self: flex-start;
}

.bubble {
    padding: 9px 13px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 14.5px;
    line-height: 1.45;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.msg.me .bubble {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    border-bottom-right-radius: 4px;
}

.msg.them .bubble {
    border-bottom-left-radius: 4px;
}

.msg time {
    font-size: 11px;
    color: var(--muted);
    margin: 2px 4px 4px;
}

.msg-day {
    align-self: center;
    font-size: 11.5px;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 10px;
    margin: 8px 0;
}

.composer {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.composer textarea {
    flex: 1;
    resize: none;
    min-height: 44px;
    max-height: 140px;
    border-radius: 22px;
    padding: 11px 16px;
    field-sizing: content;
}

/* Requirements (RFQ) */

.how-strip {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .how-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

.how-strip>div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.how-strip small {
    grid-column: 2;
    color: var(--muted);
    font-size: 13px;
}

.step-n {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

a.rfq-card {
    color: var(--ink);
    display: block;
    transition: border-color .15s, box-shadow .15s;
}

a.rfq-card:hover {
    border-color: var(--brand-100);
    box-shadow: var(--shadow);
}

.quote-card.accepted {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-50);
}

/* Consultations */

.consult-list {
    display: grid;
    gap: 10px;
}

.consult-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
}

.consult-item:hover {
    border-color: var(--brand-100);
    background: var(--brand-50);
}

.consult-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.slot-days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.slot-day {
    flex: 0 0 auto;
    display: grid;
    justify-items: center;
    min-width: 62px;
    padding: 8px 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    line-height: 1.15;
}

.slot-day b {
    font-size: 20px;
}

.slot-day small {
    font-size: 11.5px;
    color: var(--muted);
}

.slot-day.active {
    border-color: var(--brand);
    background: var(--brand-50);
    color: var(--brand);
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.slot input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.slot span {
    display: block;
    text-align: center;
    padding: 10px 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}

.slot input:checked+span {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.slot input:focus-visible+span {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.svc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.svc-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.svc-list li.off {
    opacity: .55;
}

.chip-x {
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 0 0 2px;
    color: var(--muted);
}

.chip-x:hover {
    color: var(--red);
}

.booking {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.booking.past {
    opacity: .7;
}

.bk-date {
    display: grid;
    justify-items: center;
    min-width: 60px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: var(--brand-50);
    color: var(--brand);
    line-height: 1.1;
}

.bk-date b {
    font-size: 24px;
}

.bk-date small {
    font-size: 11.5px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Owner analytics */

.seg {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    background: #fff;
}

.seg a {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.seg a.active {
    background: var(--brand);
    color: #fff;
}

.seg a.locked {
    opacity: .6;
}

.legend {
    display: flex;
    gap: 14px;
    color: var(--muted);
}

.legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: -1px;
}

.lg-views,
.b-views {
    background: var(--brand-100);
    fill: var(--brand-100);
}

.lg-acts,
.b-acts {
    background: var(--accent);
    fill: var(--accent);
}

.chart-wrap {
    overflow-x: auto;
    margin-top: 12px;
}

.bar-chart {
    width: 100%;
    min-width: 520px;
    height: auto;
}

.bar-chart .grid-l {
    stroke: var(--line);
    stroke-width: 1;
}

.bar-chart .ax {
    font-size: 10px;
    fill: var(--muted);
}

.bar-chart g:hover .b-views {
    fill: var(--brand);
}

.bars {
    display: grid;
    gap: 10px;
}

.bar-row {
    display: grid;
    grid-template-columns: minmax(110px, 1.2fr) 2fr auto auto;
    gap: 10px;
    align-items: center;
    font-size: 13.5px;
}

.bar {
    height: 8px;
    border-radius: 999px;
    background: var(--line-2);
    overflow: hidden;
}

.bar i {
    display: block;
    height: 100%;
    background: var(--brand);
    border-radius: 999px;
    min-width: 2px;
}

.danger-zone {
    border-color: var(--red-50);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    color: var(--muted);
}

.meta>span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 14.5px;
}

.check-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.check-list li .ico {
    color: var(--green);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==========================================================================
   v1.3 — interactive components & page sections
   ========================================================================== */

/* Phone with country code */

.phone-field {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.phone-field .cc {
    width: auto;
    max-width: 118px;
    flex-shrink: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
    background-color: var(--bg-soft);
    padding-left: 10px;
    font-size: 14px;
}

.phone-field input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    min-width: 0;
    flex: 1;
}

.phone-field:focus-within .cc {
    border-color: var(--brand);
}

/* Password show / hide */

.pw-wrap {
    position: relative;
    width: 100%;
}

.pw-wrap input {
    padding-right: 44px;
    width: 100%;
}

.pw-wrap .pw-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
}

.pw-wrap .pw-toggle:hover {
    background: var(--line-2);
    color: var(--ink);
}

.pw-wrap .pw-toggle.on {
    color: var(--brand);
}

.pw-wrap .pw-toggle.on svg {
    opacity: .85;
}

.pw-wrap .pw-toggle.on::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    transform: rotate(-45deg);
    border-radius: 2px;
}

/* Icon picker */

.icon-field {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-field input {
    flex: 1;
    min-width: 0;
}

.icon-prev {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--brand-50);
    color: var(--brand);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.icon-prev svg {
    width: 20px;
    height: 20px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px;
    margin-top: 12px;
    max-height: 58vh;
    overflow-y: auto;
}

.icon-grid button {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 12px 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    color: var(--ink-2);
    font-size: 11px;
}

.icon-grid button svg {
    width: 22px;
    height: 22px;
}

.icon-grid button:hover,
.icon-grid button.sel {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-50);
}

.icon-grid button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Repeater (add / remove / reorder) */

.repeater {
    display: grid;
    gap: 8px;
}

.rp-list {
    display: grid;
    gap: 8px;
}

.rp-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: box-shadow .15s;
}

.rp-row:hover {
    box-shadow: var(--shadow-sm);
}

.rp-row.dragging {
    opacity: .5;
    border-style: dashed;
}

.rp-handle {
    cursor: grab;
    color: #94a3b8;
    padding: 10px 2px;
    user-select: none;
    letter-spacing: -2px;
}

.rp-fields {
    flex: 1;
    display: grid;
    gap: 8px;
    min-width: 0;
}

.repeater.multi .rp-fields {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .repeater.multi .rp-fields {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .repeater.multi .rp-fields .rp-f:has(textarea) {
        grid-column: 1 / -1;
    }
}

.rp-f {
    display: grid;
    gap: 4px;
    margin: 0;
}

.rp-f small {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 600;
}

.rp-actions {
    display: flex;
    gap: 2px;
}

.rp-actions button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: var(--line-2);
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
}

.rp-actions button:hover {
    background: var(--brand-50);
    color: var(--brand);
}

.rp-actions [data-del]:hover {
    background: var(--red-50);
    color: var(--red);
}

.rp-add {
    justify-self: start;
}

/* Member picker */

.picker {
    position: relative;
}

.picker-menu {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-height: 280px;
    overflow-y: auto;
    padding: 4px;
}

.picker-menu button {
    display: grid;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: 0;
    background: none;
    border-radius: 8px;
    cursor: pointer;
}

.picker-menu button:hover {
    background: var(--brand-50);
}

.picker-menu small {
    color: var(--muted);
}

/* Countdown */

[data-countdown] {
    display: inline-flex;
    gap: 8px;
}

[data-countdown] span {
    display: grid;
    justify-items: center;
    min-width: 54px;
    padding: 8px 6px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
}

[data-countdown] b {
    font-size: 20px;
    line-height: 1.1;
    font-family: var(--font-head);
    color: var(--brand);
}

[data-countdown] small {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

/* Carousel */

.carousel {
    position: relative;
}

.car-viewport {
    overflow: hidden;
    margin: -6px;
    padding: 6px;
}

.car-track {
    display: flex;
    gap: 20px;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.car-track>* {
    min-width: 0;
}

.car-btn {
    position: absolute;
    top: 44%;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 24px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .15s;
}

.car-btn:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.car-btn.prev {
    left: -12px;
}

.car-btn.next {
    right: -12px;
}

@media (max-width: 699px) {
    .car-btn {
        display: none;
    }
}

.car-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.car-dots button {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: 0;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: width .25s, background .25s;
}

.car-dots button.on {
    width: 26px;
    background: var(--brand);
}

.carousel.static .car-btn,
.carousel.static .car-dots {
    display: none;
}

/* Testimonials */

.tst-section {
    background: radial-gradient(1200px 400px at 10% 0%, var(--brand-50), transparent 60%), radial-gradient(900px 300px at 100% 100%, var(--accent-50), transparent 60%);
}

.tst-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
}

.tst-head h2 {
    margin: 0;
}

.tst-score {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: var(--shadow-sm);
}

.tst-score>b {
    font-size: 34px;
    font-family: var(--font-head);
    line-height: 1;
}

.tst-score small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.tcard2 {
    margin: 0;
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}

.tcard2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tcard2::before {
    content: '“';
    position: absolute;
    right: 18px;
    top: -6px;
    font-size: 96px;
    font-family: Georgia, serif;
    color: var(--brand-100);
    line-height: 1;
    pointer-events: none;
}

.tcard2 blockquote {
    margin: 0;
    font-size: 15.5px;
    color: var(--ink-2);
    flex: 1;
}

.tcard2 figcaption {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}

.tcard2 figcaption b {
    display: block;
    font-size: 14.5px;
}

.tcard2 figcaption small {
    color: var(--muted);
    font-size: 12.5px;
}

.tcard2 .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.tc-logo {
    margin-left: auto;
    max-height: 28px;
    max-width: 80px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
}

.tc-video {
    position: absolute;
    left: 20px;
    top: -14px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    border: 0;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 99px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

/* Login / sign-up modal */

.auth-modal .modal-dialog {
    max-width: 560px;
    padding: 0;
    overflow: hidden auto;
}

.auth-modal .am-close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 3;
}

.auth-modal .am-body .auth-card {
    box-shadow: none;
    border: 0;
    margin: 0;
    max-width: none;
    width: 100%;
}

.auth-modal .am-loading {
    padding: 80px 20px;
    text-align: center;
    color: var(--muted);
}

.auth-modal .am-loading::before {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 3px solid var(--brand-100);
    border-top-color: var(--brand);
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Compare bar */

.compare-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: rgba(15, 23, 42, .96);
    color: #fff;
    padding: 12px 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
    animation: toastIn .25s;
}

.compare-bar .chip {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.compare-bar .chip button {
    background: none;
    border: 0;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0 0 0 4px;
}

.compare-bar .btn-ghost {
    color: #cbd5e1;
}

@media (max-width: 767px) {
    body.has-bottom-nav .compare-bar {
        bottom: 64px;
    }
}

[data-compare].on {
    background: var(--brand-50);
    color: var(--brand);
    border-color: var(--brand-100);
}

/* Reveal on scroll */

.rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
    transition-delay: var(--d, 0ms);
}

.rv.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .rv {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Ad slots ---------- */

.ad-wrap {
    margin-top: 18px;
    margin-bottom: 4px;
}

.ad-top .ad-slider,
.ad-bottom .ad-slider {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.ad-slot {
    position: relative;
}

.ad-slot .ad-slider {
    margin-bottom: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

.ad-mid {
    margin: 24px 0;
}

.ad-bottom {
    margin: 8px 0 32px;
}

.ad-sidebar .ad-slide img {
    aspect-ratio: auto;
}

.ad-slot .slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.home-ad {
    margin-top: 24px;
}

/* ---------- Page FAQs ---------- */

.page-faqs {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

.faq-split {
    display: grid;
    gap: 24px;
}

@media (min-width: 992px) {
    .faq-split {
        grid-template-columns: 340px 1fr;
        gap: 48px;
        align-items: start;
    }
    .faq-aside {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

.faq-aside h2 {
    margin: 0 0 8px;
}

.faq-modern {
    border: 0;
    background: none;
    display: grid;
    gap: 10px;
}

.faq-modern details {
    background: #fff;
    border: 1px solid var(--line) !important;
    border-radius: 14px;
    transition: box-shadow .2s, border-color .2s;
}

.faq-modern details[open] {
    border-color: var(--brand-100) !important;
    box-shadow: var(--shadow);
}

.faq-modern summary {
    gap: 14px;
    justify-content: flex-start;
}

.faq-modern summary>span:nth-child(2) {
    flex: 1;
}

.faq-n {
    font-family: var(--font-head);
    font-size: 13px;
    color: var(--brand);
    background: var(--brand-50);
    border-radius: 8px;
    padding: 3px 7px;
    flex-shrink: 0;
}

.faq-modern details>div {
    padding-left: 62px;
}

@media (max-width: 599px) {
    .faq-modern details>div {
        padding-left: 20px;
    }
}

/* ---------- Page sections (About, Services …) ---------- */

.psec {
    padding: 56px 0;
    position: relative;
}

@media (min-width: 992px) {
    .psec {
        padding: 88px 0;
    }
}

.psec.bg-soft {
    background: var(--bg-soft);
}

.psec.bg-brand {
    background: var(--brand);
    color: #fff;
}

.psec.bg-dark {
    background: #0b1220;
    color: #e2e8f0;
}

.psec.bg-gradient {
    background: linear-gradient(135deg, var(--brand-50), #fff 45%, var(--accent-50));
}

.psec.bg-brand .lead,
.psec.bg-dark .lead,
.psec.bg-brand .prose,
.psec.bg-dark .prose {
    color: inherit;
    opacity: .9;
}

.psec.bg-brand h2,
.psec.bg-dark h2 {
    color: #fff;
}

.sec-head {
    max-width: 760px;
    margin-bottom: 32px;
}

.sec-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sec-head h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.2;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}

.lead {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
}

.center-narrow {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow.light {
    color: #fde68a;
}

.psec-split {
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 900px) {
    .psec-split {
        grid-template-columns: 1.05fr .95fr;
        gap: 64px;
    }
    #why-us .psec-split{
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .psec-split.rev> :first-child {
        order: 2;
    }
}

.psec-copy .btn {
    margin-top: 18px;
}

.psec-media img {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: 5/4;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.psec-art {
    aspect-ratio: 5/4;
    border-radius: 28px;
    background: conic-gradient(from 140deg at 60% 40%, var(--brand-100), var(--accent-50), var(--violet-50), var(--brand-100));
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.psec-art::before,
.psec-art::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(29, 78, 216, .25);
}

.psec-art::before {
    width: 70%;
    aspect-ratio: 1;
    animation: spin 40s linear infinite;
}

.psec-art::after {
    width: 45%;
    aspect-ratio: 1;
    animation: spin 28s linear infinite reverse;
}

.psec-art span {
    width: 128px;
    height: 128px;
    border-radius: 32px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--brand);
    box-shadow: var(--shadow-lg);
    transform: rotate(-6deg);
    position: relative;
    z-index: 1;
}

.tick-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}

.tick-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.tick-list li>.ico {
    color: var(--brand);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .feature-grid:has(> :nth-child(4):last-child) {
        grid-template-columns: repeat(4, 1fr);
    }
    .feature-grid:has(> :nth-child(8):last-child) {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: auto -40% -60% auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--brand-50);
    transition: transform .4s;
    z-index: 0;
}

.feature-card>* {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-100);
}

.feature-card:hover::after {
    transform: scale(1.6);
}

.feature-card h3 {
    font-size: 17px;
    margin: 14px 0 6px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

.fc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--violet));
    color: #fff;
    box-shadow: 0 8px 18px -8px var(--brand);
    flex-shrink: 0;
}

.fc-icon.lg {
    width: 60px;
    height: 60px;
    border-radius: 18px;
}

.tile-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .tile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tile-grid:has(> :nth-child(4):last-child),
    .tile-grid:has(> :nth-child(8):last-child) {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tile {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    transition: .2s;
}

.tile .fc-icon {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    background: var(--brand-50);
    color: var(--brand);
    box-shadow: none;
}

.tile h3 {
    margin: 0;
    font-size: 16px;
}

.tile p {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
}

.tile:hover {
    border-color: var(--brand);
    background: var(--brand-50);
}

.tile:hover .fc-icon {
    background: var(--brand);
    color: #fff;
}

.steps-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    counter-reset: s;
}

@media (min-width: 900px) {
    .steps-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .steps-flow:has(> :nth-child(3):last-child) {
        --n: 3;
    }
    .steps-flow:has(> :nth-child(5):last-child) {
        --n: 5;
    }
}

.steps-flow li {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 20px;
    display: flex;
    gap: 14px;
}

@media (min-width: 900px) {
    .steps-flow li {
        flex-direction: column;
    }
    .steps-flow li:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 44px;
        right: -21px;
        width: 22px;
        border-top: 2px dashed var(--brand-100);
    }
}

.sf-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: var(--font-head);
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid var(--brand-100);
    transition: .2s;
}

.steps-flow li:hover .sf-num {
    background: var(--brand);
    color: #fff;
    transform: scale(1.08);
}

.steps-flow h3 {
    font-size: 16px;
    margin: 0 0 4px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.steps-flow p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.check-cards {
    display: grid;
    gap: 12px;
}

@media (min-width: 640px) {
    .check-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.check-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    transition: .2s;
}

.check-card>.ico {
    color: #fff;
    background: var(--brand);
    border-radius: 10px;
    padding: 7px;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.check-card p {
    margin: 4px 0 0;
    font-size: 13.5px;
    color: var(--muted);
}

.check-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.stat-band {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}

@media (min-width: 900px) {
    .stat-band {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-cell {
    background: #fff;
    padding: 28px 18px;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 6px;
}

.stat-cell b {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1;
    background: linear-gradient(135deg, var(--brand), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-cell>span:last-child {
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.stat-cell .fc-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand);
    box-shadow: none;
}

.timeline {
    position: relative;
    display: grid;
    gap: 18px;
    max-width: 860px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(var(--brand), var(--accent));
    border-radius: 2px;
}

.tl-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    position: relative;
}

.tl-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand);
    color: var(--brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    z-index: 1;
}

.tl-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 20px;
    flex: 1;
}

.tl-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.tl-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

@media (min-width: 900px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-1px);
    }
    .tl-item {
        width: 50%;
        padding-right: 40px;
    }
    .tl-item .tl-dot {
        position: absolute;
        right: -22px;
        top: 8px;
    }
    .tl-item:nth-child(even) {
        margin-left: 50%;
        padding: 0 0 0 40px;
    }
    .tl-item:nth-child(even) .tl-dot {
        left: -22px;
        right: auto;
    }
    .tl-item:nth-child(odd) .tl-card {
        text-align: right;
    }
}

.statement {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.statement blockquote {
    margin: 8px 0 14px;
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3.6vw, 2.5rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.02em;
    background: linear-gradient(120deg, var(--ink), var(--brand) 60%, var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}

.pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 7px 14px;
    font-weight: 600;
    font-size: 14px;
}

.cta-band {
    display: grid;
    gap: 22px;
    align-items: center;
    padding: 36px 28px;
    border-radius: 28px;
    color: #fff;
    background: radial-gradient(600px 240px at 90% 0%, rgb(62 182 246 / 73%), transparent 60%), linear-gradient(120deg, var(--brand), var(--violet));
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

@media (min-width: 900px) {
    .cta-band {
        grid-template-columns: 1.4fr auto;
        padding: 48px 52px;
    }
}

.cta-band h2 {
    color: #fff;
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-band p {
    margin: 0;
    opacity: .92;
}

.cta-points {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-weight: 600;
    font-size: 14px;
}

.cta-points li {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, .12);
}

/* About / Services hero */

.about-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 36px 0 56px;
    background: radial-gradient(900px 400px at 85% -10%, rgba(249, 115, 22, .5), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(124, 58, 237, .55), transparent 60%), linear-gradient(135deg, #0b1f5e, var(--brand));
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(#000, transparent 85%);
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 10px 0 14px;
}

.about-hero .lead {
    color: rgba(255, 255, 255, .88);
    max-width: 620px;
    margin-bottom: 24px;
}

.breadcrumbs.light a,
.breadcrumbs.light span,
.breadcrumbs.light li::after {
    color: rgba(255, 255, 255, .75);
}

.ah-grid {
    display: grid;
    gap: 32px;
    align-items: center;
    margin-top: 18px;
}

@media (min-width: 992px) {
    .ah-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 56px;
    }
    .about-hero {
        padding: 48px 0 88px;
    }
}

.ah-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ah-stats>div {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 20px;
    transition: transform .25s, background .25s;
}

.ah-stats>div:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .16);
}

.ah-stats b {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    line-height: 1.1;
}

.ah-stats span {
    font-size: 13.5px;
    opacity: .85;
}

.svc-orbit {
    position: relative;
    width: min(360px, 80vw);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .35);
    display: grid;
    place-items: center;
}

.svc-orbit b {
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--font-head);
    font-size: 15px;
    padding: 10px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .35);
}

.svc-orbit span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    margin: -28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    display: grid;
    place-items: center;
    color: #fff;
    animation: orbit 24s linear infinite;
    animation-delay: calc(var(--i) * -4s);
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(min(170px, 38vw)) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(min(170px, 38vw)) rotate(-360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-orbit span {
        animation: none;
        transform: rotate(calc(var(--i) * 60deg)) translateX(150px) rotate(calc(var(--i) * -60deg));
    }
}

/* Sticky in-page section nav (scroll-spy) */

.sec-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.sec-nav-track {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 0;
}

.sec-nav-track::-webkit-scrollbar {
    display: none;
}

.sec-nav a {
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    transition: .15s;
}

.sec-nav a:hover {
    color: var(--ink);
    background: var(--line-2);
}

.sec-nav a.active {
    background: var(--brand);
    color: #fff;
}

.psec,
.page-faqs,
[id] {
    scroll-margin-top: calc(var(--header-h) + 64px);
}

.team-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 4px;
    transition: .2s;
}

.team-card img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 4px solid var(--brand-50);
}

.team-card span {
    color: var(--muted);
    font-size: 13.5px;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* ---------- Newsletter ---------- */

.nl-form {
    display: grid;
    gap: 10px;
}

.nl-row {
    display: flex;
    gap: 8px;
}

.nl-row input {
    flex: 1;
    min-width: 0;
}

.nl-form.compact .nl-row {
    flex-direction: column;
}

.nl-lists {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nl-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nl-chip span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 11px;
    border-radius: 99px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: .15s;
}

.nl-chip span .ico {
    display: none;
}

.nl-chip input:checked+span {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.nl-chip input:checked+span .ico {
    display: inline;
}

.nl-chip input:focus-visible+span {
    box-shadow: 0 0 0 3px var(--brand-100);
}

.nl-note {
    opacity: .8;
    font-size: 12px;
}

.newsletter .nl-chip span {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}

.newsletter .nl-chip input:checked+span {
    background: #fff;
    color: var(--brand);
}

.pref-list {
    display: grid;
    gap: 10px;
}

.pref-item {
    display: flex;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: .15s;
}

.pref-item input {
    position: absolute;
    opacity: 0;
}

.pref-box {
    flex: 1;
    display: grid;
}

.pref-box small {
    color: var(--muted);
}

.pref-box em {
    font-style: normal;
    font-size: 12px;
    color: var(--brand);
    font-weight: 600;
    margin-top: 2px;
}

.pref-item:has(input:checked) {
    border-color: var(--brand-100);
    background: var(--brand-50);
}

.pref-item input:checked~.switch span {
    background: var(--green);
}

.pref-item input:checked~.switch span::before {
    transform: translateX(20px);
}

.flex-end {
    display: flex;
    justify-content: flex-end;
}

.card-pad-lg {
    padding: 28px;
}

@media (min-width: 768px) {
    .card-pad-lg {
        padding: 40px;
    }
}

/* ---------- Choice rows (custom fields) ---------- */

.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 4px 0;
}

.auth-modal .am-body .auth-card {
    padding: 30px 26px 24px;
}

@media (min-width: 640px) {
    .auth-modal .am-body .auth-card {
        padding: 36px 36px 28px;
    }
}

.rp-f .icon-field input,
.rp-fields>.icon-field input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.rp-f .icon-field .btn {
    white-space: nowrap;
}

/* ---------- Blog ---------- */

.blog-hero {
    padding: 28px 0 34px;
    background: radial-gradient(700px 260px at 100% 0%, var(--accent-50), transparent 70%), linear-gradient(180deg, var(--brand-50), #fff);
    border-bottom: 1px solid var(--line);
}

.blog-hero h1 {
    font-size: clamp(1.9rem, 4.2vw, 2.9rem);
    letter-spacing: -.02em;
    line-height: 1.12;
    margin: 6px 0 10px;
}

.bh-grid {
    display: grid;
    gap: 22px;
    align-items: end;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .bh-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
}

.bh-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 6px 6px 6px 16px;
    box-shadow: var(--shadow);
}

.bh-search>.ico {
    color: var(--muted);
    flex-shrink: 0;
}

.bh-search input[type] {
    border: 0;
    box-shadow: none;
    padding: 10px 4px;
    min-height: 0;
    background: none;
}

.bh-search input:focus {
    box-shadow: none;
}

.blog-featured {
    padding-top: 32px;
    padding-bottom: 24px;
}

.bf-grid {
    display: grid;
    gap: 22px;
}

@media (min-width: 992px) {
    .bf-grid {
        grid-template-columns: 1.65fr 1fr;
    }
}

.bf-side {
    display: grid;
    gap: 10px;
    align-content: start;
}
.biz-sec .h-sm.mt-4{
 margin-top: 24px;
}
.h-sm {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 0 0 6px;
}

.bf-mini {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    transition: .2s;
}

.bf-mini:hover {
    border-color: var(--brand-100);
    box-shadow: var(--shadow);
    transform: translateX(3px);
}

.bf-mini img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.bf-mini small {
    color: var(--brand);
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    display: block;
}

.bf-mini b {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14.5px;
    line-height: 1.35;
}

.bf-mini time {
    font-size: 12px;
    color: var(--muted);
}

.cat-rail {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0 12px;
    border-bottom: 1px solid var(--line);
}

.cat-rail::-webkit-scrollbar {
    display: none;
}

.cat-rail a {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 99px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-weight: 600;
    font-size: 14px;
    transition: .15s;
}

.cat-rail a small {
    background: var(--line-2);
    border-radius: 99px;
    padding: 0 7px;
    font-size: 11.5px;
    color: var(--muted);
}

.cat-rail a:hover {
    border-color: var(--brand-100);
    color: var(--brand);
}

.cat-rail a.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.cat-rail a.active small {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.sub-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 12px;
}

.list-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.sort-select {
    width: auto;
    min-height: 38px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.blog-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }
}

.bcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    height: 100%;
    animation: fadeIn .4s;
}

.bcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-100);
}

.bcard-img {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--line-2);
}

.bcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.bcard:hover .bcard-img img {
    transform: scale(1.06);
}

.bcard-flag {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    background: rgba(255, 255, 255, .95);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 99px;
    box-shadow: var(--shadow-sm);
}

.bcard-body {
    padding: 18px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.bcard-cats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bcard-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--brand);
    background: var(--brand-50);
    padding: 4px 10px;
    border-radius: 99px;
}

.bcard-cat.soft {
    color: var(--ink-2);
    background: var(--line-2);
}

.bcard-time {
    font-size: 12px;
    color: var(--muted);
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.bcard h3 {
    font-size: 17.5px;
    line-height: 1.35;
    margin: 2px 0 0;
}

.bcard h3 a {
    color: var(--ink);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size .3s;
}

.bcard:hover h3 a {
    background-size: 100% 1.5px;
}

.bcard p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

.bcard-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.bcard-author {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.bcard-author img,
.bcard-author i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
}

.bcard-author span {
    display: grid;
    line-height: 1.25;
    min-width: 0;
}

.bcard-author b {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bcard-author time {
    font-size: 12px;
    color: var(--muted);
}

.bcard-more {
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    white-space: nowrap;
}

.bcard-more .ico {
    transition: transform .2s;
}

.bcard:hover .bcard-more .ico {
    transform: translateX(3px);
}

@media (min-width: 768px) {
    .bcard.wide {
        display: grid;
        grid-template-columns: 1fr;
    }
    .bcard.wide .bcard-img {
        aspect-ratio: auto;
        min-height: 340px;
    }
    .bcard.wide .bcard-body {
        padding: 3px 28px 16px;
        justify-content: center;
    }
    .bcard.wide h3 a {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .bcard.wide h3 {
        font-size: clamp(1.4rem, 2.4vw, 1.4rem);
    }
    .bf-side{
        gap: 14px;
    }
    .bcard.wide p {
        font-size: 14.5px;
    }
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.tag-cloud .h-sm {
    width: 100%;
}

.tag-cloud a {
    padding: 6px 12px;
    border-radius: 10px;
    background: var(--line-2);
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
    transition: .15s;
}

.tag-cloud a:hover,
.tag-cloud a.active {
    background: var(--brand);
    color: #fff;
}

.nl-band {
    display: grid;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

@media (min-width: 900px) {
    .nl-band {
        grid-template-columns: 1fr 1fr;
        padding: 36px 40px;
    }
}

.nl-band h2 {
    margin: 0 0 6px;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    background: var(--bg-soft);
    display: grid;
    justify-items: center;
    gap: 8px;
}

.empty-state h3 {
    margin: 6px 0 0;
}

/* Blog post */

.read-progress {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    z-index: 200;
    pointer-events: none;
}

.read-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transition: width .1s linear;
}

.post-hero {
    padding: 26px 0 30px;
    background: linear-gradient(180deg, var(--brand-50), #fff);
}

.post-narrow {
    max-width: 880px;
}

.post-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 12px 0 4px;
}

.post-hero h1 {
    font-size: clamp(1.8rem, 4.4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 8px 0 12px;
}

.post-dek {
    font-size: 18.5px;
    color: var(--ink-2);
    margin: 0 0 18px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.post-meta>span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.pm-author img,
.pm-author i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-style: normal;
    font-weight: 700;
}

.pm-author span {
    display: grid;
    line-height: 1.25;
}

.pm-author b {
    color: var(--ink);
}

.pm-author small {
    font-size: 12.5px;
}

.post-cover {
    margin-top: 0;
    margin-bottom: 0;
}

.post-cover img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: auto;
    height: auto;
}

.post-layout {
    display: grid;
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 48px;
}

@media (min-width: 1100px) {
    .post-layout {
        grid-template-columns: 56px minmax(0, 1fr) 300px;
        gap: 40px;
    }
}

.post-share {
    display: none;
}

@media (min-width: 1100px) {
    .post-share {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        position: sticky;
        top: calc(var(--header-h) + 24px);
        align-self: start;
    }
    .post-share>span {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--muted);
        font-weight: 700;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        margin-bottom: 6px;
    }
    .post-share .share {
        flex-direction: column;
    }
}

.post-main {
    min-width: 0;
    max-width: 760px;
}

.post-body {
    font-size: 17px;
    line-height: 1.8;
}

.post-body h2 {
    margin-top: 1.8em;
}

.post-body img {
    border-radius: 14px;
}

.post-body blockquote {
    border-left: 4px solid var(--brand);
    background: var(--brand-50);
    margin: 1.5em 0;
    padding: 14px 20px;
    border-radius: 0 12px 12px 0;
    font-size: 18px;
}

.toc-mobile {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 22px;
    background: var(--bg-soft);
}

.toc-mobile summary {
    cursor: pointer;
    font-weight: 700;
    display: flex;
    gap: 8px;
    align-items: center;
}

.toc-mobile .toc {
    margin-top: 10px;
}

@media (min-width: 1100px) {
    .toc-mobile {
        display: none;
    }
}

.post-aside {
    display: grid;
    gap: 18px;
    align-content: start;
}

@media (min-width: 1100px) {
    .post-aside> :first-child {
        position: sticky;
        top: calc(var(--header-h) + 24px);
        z-index: 99;
    }
    .pillar-index{
        margin-top: 16px !important;
    }
}

@media (max-width: 1099px) {
    .post-aside .toc-card {
        display: none;
    }
}

.toc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    max-height: calc(100vh - var(--header-h) - 60px);
    overflow-y: auto;
}

.toc-card h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    margin: 0 0 10px;
}

.toc-card .toc a {
    display: block;
    padding: 6px 10px;
    border-left: 2px solid var(--line);
    color: var(--ink-2);
    font-size: 14px;
}

.toc-card .toc a.l3 {
    padding-left: 22px;
    font-size: 13.5px;
}

.toc-card .toc a.active,
.toc-card .toc a:hover {
    border-left-color: var(--brand);
    color: var(--brand);
    background: var(--brand-50);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 30px 0 0;
    color: var(--muted);
}

.post-tags a {
    padding: 5px 12px;
    background: var(--line-2);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

.post-tags a:hover {
    background: var(--brand);
    color: #fff;
}

.post-faqs {
    margin-top: 36px;
}

.post-sharebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.author-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 28px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #fff, var(--brand-50));
}

.author-box>img,
.author-box>picture>img,
.author-box>i {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-style: normal;
    font-weight: 800;
    font-size: 28px;
    border: 4px solid #fff;
    box-shadow: var(--shadow);
}

.author-box small {
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: 11px;
    color: var(--muted);
    font-weight: 700;
}

.author-box h3 {
    margin: 2px 0;
}

.ab-role {
    color: var(--brand);
    font-weight: 600;
    font-size: 14px;
}

.author-box p {
    margin: 8px 0 4px;
    color: var(--ink-2);
    font-size: 14.5px;
}

.post-nav {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

@media (min-width: 640px) {
    .post-nav {
        grid-template-columns: 1fr 1fr;
    }
}

.pn {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    transition: .2s;
    background: #fff;
}

.pn:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.pn small {
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.pn>span {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pn img {
    width: 64px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.pn b {
    font-size: 14.5px;
    line-height: 1.35;
}

.pn.next {
    text-align: right;
}

.pn.next small {
    justify-content: flex-end;
}

.pn.next>span {
    justify-content: flex-end;
}

.post-cta {
    margin-top: 32px;
}

.share {
    display: flex;
    gap: 6px;
}

/* ---------- Marketplace ---------- */

.mk-hero {
    padding: 26px 0 22px;
    background: radial-gradient(800px 300px at 90% -20%, rgba(124, 58, 237, .12), transparent 60%), linear-gradient(180deg, var(--brand-50), #fff);
    border-bottom: 1px solid var(--line);
}

.mk-hero.slim {
    padding-bottom: 26px;
}

.mk-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: -.02em;
    line-height: 1.12;
    margin: 6px 0 8px;
}

.mk-hero-grid {
    display: grid;
    gap: 20px;
    align-items: end;
    margin-top: 8px;
}

@media (min-width: 992px) {
    .mk-hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
}

.mk-kinds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.mk-kinds a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
    color: var(--ink-2);
    transition: .15s;
    box-shadow: var(--shadow-sm);
}

.mk-kinds a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.mk-kinds a.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.mk-kinds a.sell {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.mk-filters {
    display: grid;
    gap: 14px;
}

.fgroup {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.fgroup>b {
    font-size: 13px;
}

.range-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.range-row input {
    min-width: 0;
}

.mk-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

@media (min-width: 1200px) {
    .mk-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mk-grid.four {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    height: 100%;
    animation: fadeIn .4s;
}

.mcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-100);
}

.mcard-img {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    background: var(--line-2);
    overflow: hidden;
}

.mcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.mcard:hover .mcard-img img {
    transform: scale(1.05);
}

.mcard-badges {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mb {
    display: inline-flex;
    gap: 3px;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
}

.mb-feat {
    background: #fff;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.mb-off {
    background: var(--green);
    color: #fff;
}

.mcard-kind {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 99px;
    backdrop-filter: blur(4px);
}

.mcard-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.mcard-cat {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--brand);
}

.mcard h3 {
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
}

.mcard h3 a {
    color: var(--ink);
}

.mcard-seller {
    font-size: 13px;
    color: var(--ink-2);
}

.vbadge {
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12.5px;
    font-weight: 600;
    vertical-align: -2px;
}

.mcard-hl {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.mcard-hl span {
    font-size: 11.5px;
    background: var(--line-2);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--ink-2);
}

.mcard-sum {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
}

.mcard-foot {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    border-top: 1px dashed var(--line);
}

.mcard-price {
    display: grid;
    line-height: 1.2;
}

.mcard-price b {
    font-size: 16.5px;
    font-family: var(--font-head);
}

.mcard-price small {
    color: var(--muted);
    font-size: 11.5px;
}

.mcard-price s {
    color: var(--muted);
    font-size: 12px;
}

.mcard-act {
    display: flex;
    gap: 6px;
    align-items: center;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink-2);
    transition: .15s;
}

.icon-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.carousel .mcard {
    animation: none;
}

/* Product detail */

.pd-top {
    padding: 20px 0 28px;
    background: linear-gradient(180deg, var(--bg-soft), #fff);
}

.pd-grid {
    display: grid;
    gap: 28px;
    margin-top: 12px;
}

@media (min-width: 992px) {
    .pd-grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 48px;
    }
}

.pd-main {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    aspect-ratio: 4/3;
}

.pd-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.pd-main img.swap {
    animation: fadeIn .35s;
}

.pd-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pd-thumbs button {
    flex: 0 0 72px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: var(--line-2);
    opacity: .75;
    transition: .15s;
}

.pd-thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-thumbs button.on,
.pd-thumbs button:hover {
    border-color: var(--brand);
    opacity: 1;
}

.pd-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pill-sm {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 4px 11px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 700;
    background: var(--brand);
    color: #fff;
}

.pill-sm.soft {
    background: var(--brand-50);
    color: var(--brand);
}

.pd-info h1 {
    font-size: clamp(1.6rem, 3.4vw, 1.4rem);
    line-height: 1.35;
    margin: 12px 0 8px;
    letter-spacing: -.01em;
}

.pd-seller-line {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 12px 0;
    font-size: 14.5px;
    color: var(--ink-2);
}

.pd-seller-line img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: cover;
}

.pd-price {
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.pd-price b {
    font-size: 22px;
    font-family: var(--font-head);
}

.pd-price small {
    color: var(--muted);
}

.pd-price s {
    color: var(--muted);
    margin-left: 6px;
}

.pd-price .save {
    background: var(--green-50);
    color: var(--green);
    font-weight: 700;
    font-size: 12.5px;
    padding: 3px 8px;
    border-radius: 99px;
}

.pd-avail {
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-avail i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px var(--green-50);
}

.pd-avail.warn i {
    background: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-50);
}

.pd-avail.info i {
    background: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-50);
}

.pd-avail.bad i {
    background: var(--red);
    box-shadow: 0 0 0 3px var(--red-50);
}

.pd-quick {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pd-quick li {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 9px 12px;
    display: grid;
}

.pd-quick span {
    font-size: 11.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}

.pd-quick b {
    font-size: 14px;
}

.pd-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.pd-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
}

.pd-trust span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.sec-nav .nav-cta {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.pd-body {
    display: grid;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 48px;
}

@media (min-width: 1100px) {
    .pd-body {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 40px;
    }
    .pd-side {
        position: sticky;
        top: calc(var(--header-h) + 64px);
        align-self: start;
    }
}

.pd-side {
    display: grid;
    gap: 14px;
}

.pd-sec {
    padding: 26px 0;
    /* border-bottom: 1px solid var(--line); */
}

.pd-sec:first-child {
    padding-top: 0;
}

.pd-sec>h2 {
    font-size: 1.35rem;
    margin: 0 0 16px;
}

.feature-grid.two {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .feature-grid.two {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.spec-groups {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .spec-groups {
        /* grid-template-columns: 1fr 1fr; */
    }
}

.spec-group {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.spec-group h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0;
    padding: 10px 16px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
}

.spec-group dl {
    margin: 0;
}

.spec-group dl>div {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
}

.spec-group dl>div:last-child {
    border-bottom: 0;
}

.spec-group dt {
    color: var(--muted);
}

.spec-group dd {
    margin: 0;
    font-weight: 600;
}

.yes {
    color: var(--green);
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.no {
    color: var(--red);
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.tier-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 18px;
}

.tier {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    background: #fff;
    transition: .2s;
    display: flex;
    flex-direction: column;
}

.tier:hover {
    box-shadow: var(--shadow);
    border-color: var(--brand-100);
}

.tier.pop {
    border: 2px solid var(--brand);
    box-shadow: var(--shadow-lg);
}

.tier-flag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
}

.tier h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.tier-price {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 800;
}

.tier-price small {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    margin-left: 4px;
}

.tier .check-list {
    margin-top: 12px;
    font-size: 13.5px;
    flex: 1;
}

.terms-grid {
    display: grid;
    gap: 12px;
}

@media (min-width: 768px) {
    .terms-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.term {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: var(--bg-soft);
}

.term .fc-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    color: var(--brand);
    box-shadow: none;
    border: 1px solid var(--line);
}

.term p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--ink-2);
}

.doc-grid {
    display: grid;
    gap: 10px;
}

@media (min-width: 640px) {
    .doc-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.doc-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    transition: .15s;
}

.doc-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.doc-card>span:nth-child(2) {
    flex: 1;
    display: grid;
    min-width: 0;
}

.doc-card small {
    color: var(--muted);
    font-size: 12.5px;
}

.doc-ic {
    position: relative;
    width: 44px;
    height: 50px;
    border-radius: 8px;
    background: var(--red-50);
    color: var(--red);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.doc-ic small {
    position: absolute;
    bottom: 2px;
    font-size: 8.5px !important;
    font-weight: 800;
    color: var(--red) !important;
}

.seller-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff, var(--bg-soft));
    display: grid;
    gap: 14px;
}

.sc-head {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.sc-head>img,
.sc-head>picture>img,
.sc-head>i {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 800;
    font-size: 22px;
    border: 1px solid var(--line);
}

.sc-head>div {
    flex: 1;
    min-width: 180px;
}

.sc-head h3 {
    margin: 0;
    font-size: 18px;
}

.sc-facts,
.sc-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 14px;
    color: var(--ink-2);
}

.sc-facts span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.sc-contact a {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: 13.5px;
}

.sc-contact a:hover {
    border-color: var(--brand);
}

.video-wrap .video-embed {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    border: 0;
}

/* Compare */

.cmp-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.cmp-table {
    border-collapse: collapse;
    width: 100%;
    min-width: calc(180px + var(--n) * 220px);
    table-layout: fixed;
}

.cmp-table th,
.cmp-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-2);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.cmp-table .cmp-label {
    width: 180px;
    color: var(--muted);
    font-weight: 600;
    background: var(--bg-soft);
    position: sticky;
    left: 0;
    z-index: 1;
}

.cmp-table thead th {
    background: #fff;
    vertical-align: bottom;
}

.cmp-head {
    display: grid;
    gap: 8px;
    position: relative;
}

.cmp-head img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
}

.cmp-title {
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.cmp-price b {
    font-family: var(--font-head);
    font-size: 18px;
}

.cmp-x {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.cmp-table tr.grp th {
    background: var(--brand-50);
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 12px;
}

.cmp-table tr.diff td {
    background: #fffdf5;
}

.cmp-table.only-diff tr.same {
    display: none;
}

/* Seller product form */

.pf-layout {
    display: grid;
    gap: 18px;
}

@media (min-width: 1100px) {
    .pf-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }
}

.pf-steps {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: calc(var(--header-h) + 8px);
    z-index: 5;
    background: var(--bg);
    padding: 6px 0;
}

@media (min-width: 1100px) {
    .pf-steps {
        flex-direction: column;
        align-self: start;
    }
}

.pf-steps a {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    border: 1px solid transparent;
}

.pf-steps a>span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--line-2);
    display: grid;
    place-items: center;
    font-size: 11.5px;
}

.pf-steps a.active,
.pf-steps a:hover {
    background: var(--brand-50);
    color: var(--brand);
    border-color: var(--brand-100);
}

.pf-steps a.active>span {
    background: var(--brand);
    color: #fff;
}

.pf-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.pf-h {
    font-size: 1.1rem;
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 14px;
}

.pf-sec {
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.kind-cards,
.price-cards {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.kind-card input,
.price-card input {
    position: absolute;
    opacity: 0;
}

.kind-card>span,
.price-card>span {
    display: grid;
    gap: 6px;
    justify-items: start;
    padding: 14px;
    border: 2px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: .15s;
    height: 100%;
    background: #fff;
}

.kind-card>span .ico {
    color: var(--brand);
}

.price-card small {
    color: var(--muted);
    font-size: 12.5px;
}

.kind-card input:checked+span,
.price-card input:checked+span {
    border-color: var(--brand);
    background: var(--brand-50);
    box-shadow: 0 0 0 3px var(--brand-100);
}

.kind-card input:focus-visible+span,
.price-card input:focus-visible+span {
    box-shadow: 0 0 0 3px var(--brand-100);
}

.attr-box {
    transition: opacity .2s;
}

.attr-box.is-loading {
    opacity: .45;
    pointer-events: none;
}

.attr-group {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px 16px;
    margin: 0 0 12px;
}

.attr-group legend {
    font-weight: 700;
    font-size: 13px;
    padding: 0 6px;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.thumb-keep {
    position: relative;
    cursor: pointer;
}

.thumb-keep img {
    width: 76px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--line);
}

.thumb-keep input {
    position: absolute;
    opacity: 0;
}

.thumb-keep span {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
}

.thumb-keep input:not(:checked)~span {
    background: var(--red);
}

.thumb-keep:has(input:not(:checked)) img {
    opacity: .35;
}

.doc-list {
    display: grid;
    gap: 6px;
    margin-bottom: 6px;
}

.doc-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
}

.doc-row span {
    display: grid;
}

.doc-row small {
    color: var(--muted);
}

.doc-row:has(input:not(:checked)) {
    opacity: .45;
    text-decoration: line-through;
}

.doc-new {
    display: grid;
    gap: 8px;
}

.doc-new-row {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .doc-new-row {
        grid-template-columns: 1.2fr .8fr 1.2fr;
    }
}

.alert-warn {
    background: var(--amber-50);
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.kpi-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.kpi {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
}

.kpi .fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.kpi b {
    font-size: 22px;
    font-family: var(--font-head);
    display: block;
    line-height: 1.1;
}

.kpi small {
    color: var(--muted);
}

.badge-orange {
    background: var(--accent-50);
    color: var(--accent);
}

/* ---------- Legal & CMS pages ---------- */

.legal-hero {
    padding: 26px 0 30px;
    background: linear-gradient(180deg, var(--brand-50), #fff);
    border-bottom: 1px solid var(--line);
}

.lh-row {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 10px;
}

.lh-ic {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--violet));
    box-shadow: 0 12px 24px -12px var(--brand);
    flex-shrink: 0;
}

.legal-hero h1 {
    margin: 0 0 6px;
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    letter-spacing: -.01em;
}

.lh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    color: var(--muted);
    font-size: 13.5px;
}

.lh-meta>* {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.linkish {
    background: none;
    border: 0;
    color: var(--brand);
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.legal-grid {
    display: grid;
    gap: 28px;
}

@media (min-width: 992px) {
    .legal-grid {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 44px;
    }
    .legal-aside {
        position: sticky;
        top: calc(var(--header-h) + 20px);
        align-self: start;
    }
    .legal-grid.single {
        grid-template-columns: minmax(0, 860px);
        justify-content: center;
    }
}

.legal-aside {
    display: grid;
    gap: 14px;
}

@media (max-width: 991px) {
    .legal-aside .toc-card {
        display: none;
    }
}

.policy-list {
    display: grid;
    gap: 2px;
}

.policy-list h4,
.toc-card h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    margin: 0 0 8px;
}

.policy-list a {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--ink-2);
    font-weight: 600;
    font-size: 14px;
}

.policy-list a:hover,
.policy-list a.active {
    background: var(--brand-50);
    color: var(--brand);
}

.legal-doc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    min-width: 0;
}

@media (min-width: 768px) {
    .legal-doc {
        padding: 40px 48px;
    }
}

.in-short {
    background: linear-gradient(135deg, var(--accent-50), #fff);
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.in-short b {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #c2410c;
}

.in-short p {
    margin: 6px 0 0;
}

.legal-img {
    border-radius: 16px;
    margin-bottom: 24px;
}

.prose.numbered {
    counter-reset: h2;
}

.prose.numbered h2 {
    counter-increment: h2;
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
}

.prose.numbered h2:first-child {
    border-top: 0;
    padding-top: 0;
}

.prose.numbered h2::before {
    content: counter(h2);
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 15px;
}

.legal-callout {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.legal-callout h2 {
    font-size: 1.1rem;
    margin: 0 0 6px;
}

.legal-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px dashed var(--brand-100);
    background: var(--brand-50);
}

@media print {
    .site-header,
    .site-footer,
    .legal-aside,
    .legal-help,
    .ad-slot,
    .page-faqs,
    .bottom-nav,
    .fab-wa,
    .topbar,
    .cookie-bar {
        display: none !important;
    }
    .legal-doc {
        border: 0;
        padding: 0;
    }
}

/* ---------- Business profile: inline sections ---------- */

.biz-main {
    gap: 18px;
}

.sec-nav.in-page {
    top: var(--header-h);
    margin: 0 0 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .95);
    padding: 0 6px;
}

.sec-nav a small {
    background: var(--line-2);
    border-radius: 99px;
    padding: 0 6px;
    font-size: 11px;
    margin-left: 2px;
    color: var(--muted);
}

.sec-nav a.active small {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

.biz-sec {
    scroll-margin-top: calc(var(--header-h) + 70px);
}

.biz-h {
    font-size: 1.15rem;
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 14px;
}

.svc-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.svc-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    transition: .15s;
}

.svc-item>span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--green-50);
    color: var(--green);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.svc-item a {
    margin-left: auto;
    font-size: 12px;
    opacity: 0;
    transition: .15s;
}

.svc-item:hover {
    border-color: var(--brand-100);
    box-shadow: var(--shadow-sm);
}

.svc-item:hover a {
    opacity: 1;
}

@media (hover: none) {
    .svc-item a {
        opacity: 1;
    }
}

/* ---------- Event timing ---------- */

.ev-phase {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .95);
    color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.ev-live {
    background: var(--red);
    color: #fff;
}

.ev-live i,
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    animation: pulse 1.4s infinite;
}

.live-dot {
    background: var(--red);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, .6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.ev-soon {
    background: var(--accent);
    color: #fff;
}

.ev-ended,
.ev-cancelled {
    background: #334155;
    color: #fff;
}

.ecard.ph-ended .ecard-img img,
.ecard.ph-cancelled .ecard-img img {
    filter: grayscale(1);
    opacity: .7;
}

.ecard.ph-ended,
.ecard.ph-cancelled {
    opacity: .85;
}

.ecard.ph-live {
    border-color: #fecaca;
    box-shadow: 0 0 0 3px var(--red-50);
}

.pill-tabs a small {
    background: var(--line-2);
    border-radius: 99px;
    padding: 0 6px;
    font-size: 11px;
    margin-left: 3px;
}

.pill-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.next-event {
    display: grid;
    gap: 0;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 26px;
    color: #fff;
    background: linear-gradient(120deg, #0b1f5e, var(--brand) 60%, var(--violet));
    box-shadow: var(--shadow-lg);
    position: relative;
}

@media (min-width: 768px) {
    .next-event {
        grid-template-columns: 320px 1fr auto;
        align-items: center;
    }
}

.ne-img {
    height: 100%;
    min-height: 160px;
    background: rgba(255, 255, 255, .1);
}

.ne-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ne-body {
    padding: 22px 26px;
}

.ne-body h2 {
    color: #fff;
    margin: 4px 0 6px;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.ne-body .muted {
    color: rgba(255, 255, 255, .8) !important;
    display: flex;
    gap: 6px;
    align-items: center;
}

.ne-body .eyebrow {
    color: #fde68a;
}

.ne-body [data-countdown] span {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25);
}

.ne-body [data-countdown] b {
    color: #fff;
}

.ne-body [data-countdown] small {
    color: rgba(255, 255, 255, .75);
}

.ne-cta {
    margin: 0 26px 22px;
    justify-self: start;
    background: #fff;
    color: var(--brand);
}

@media (min-width: 768px) {
    .ne-cta {
        margin: 0 26px;
    }
}

.ev-status {
    padding: 12px 0;
    font-size: 14.5px;
}

.ev-status .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ev-status-upcoming,
.ev-status-soon {
    background: var(--brand-50);
    color: var(--brand);
    border-bottom: 1px solid var(--brand-100);
}

.ev-status-live {
    background: var(--red-50);
    color: var(--red);
    border-bottom: 1px solid #fecaca;
}

.ev-status-ended,
.ev-status-cancelled {
    background: #f1f5f9;
    color: #334155;
    border-bottom: 1px solid var(--line);
}

.ev-status [data-countdown] span {
    min-width: 46px;
    padding: 4px;
}

.ev-status [data-countdown] b {
    font-size: 16px;
}

/* ---------- PDF reader (magazine) ---------- */

.pdf-reader {
    margin-top: 28px;
    border-radius: 22px;
    overflow: hidden;
    background: #1e293b;
    color: #e2e8f0;
    box-shadow: var(--shadow-lg);
    outline: none;
}

.pdf-reader:fullscreen {
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.pr-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #0f172a;
}

.pr-bar>b {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
}

.pr-ctrl {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
}

.pr-ctrl button,
.pr-ctrl a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 0;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.pr-ctrl button:hover,
.pr-ctrl a:hover,
.pr-ctrl button.on {
    background: var(--brand);
}

.pr-ctrl button:disabled {
    opacity: .35;
    cursor: default;
}

.pr-ctrl>span {
    padding: 0 8px;
    white-space: nowrap;
}

.pr-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, .15);
    margin: 0 4px;
    padding: 0 !important;
}

.pr-stage {
    min-height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    overflow: auto;
    flex: 1;
    background: radial-gradient(circle at 50% 0%, #334155, #1e293b 70%);
}

.pr-stage canvas {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    border-radius: 3px;
    max-width: none;
}

.pr-stage.turn canvas {
    animation: fadeIn .35s;
}

.pr-status {
    color: #cbd5e1;
    text-align: center;
}

.pr-hint {
    margin: 0;
    padding: 8px 16px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    background: #0f172a;
}

/* ---------- v1.3.1 layout hardening ---------- */

.layout-sidebar>*,
.grid>*,
.plans>*,
.stack>*,
.biz-main,
.pd-main-col,
.post-main,
.legal-doc {
    min-width: 0;
}

.plan .price {
    overflow-wrap: anywhere;
}

.plan {
    overflow: hidden;
}

.mcard-foot {
    flex-wrap: wrap;
}

.mcard-act {
    margin-left: auto;
}

.prose,
.card,
.pd-sec {
    overflow-wrap: break-word;
}

.ad-top .ad-slider,
.ad-bottom .ad-slider {
    max-width: 970px;
}

.ad-slot .ad-slide img {
    /* max-height: 250px; */
    object-fit: cover;
}

@media (max-width: 767px) {
    .ad-wrap {
        margin-top: 12px;
    }
    .ad-slot .ad-slide img {
        max-height: 180px;
    }
}

.newsletter>*,
.nl-band>*,
.faq-split>*,
.psec-split>*,
.bh-grid>*,
.mk-hero-grid>*,
.ah-grid>*,
.pd-grid>*,
.pf-layout>* {
    min-width: 0;
}

@media (max-width: 480px) {
    .nl-row {
        flex-wrap: wrap;
    }
    .nl-row .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

.acc-head>* {
    min-width: 0;
}

.acc-head .flex {
    flex-wrap: wrap;
}

.kpis>*,
.kpi-row>* {
    min-width: 0;
}

.kpi b,
.kpis b {
    overflow-wrap: anywhere;
}

.inv .flex.between {
    flex-wrap: wrap;
    gap: 12px;
}

.tabs {
    max-width: 100%;
}

/* v1.3.1: newsletter form — compact (sidebar) stays a single column; grid children may shrink */

.nl-form {
    grid-template-columns: minmax(0, 1fr);
}

.nl-form>* {
    min-width: 0;
}

@media (max-width: 480px) {
    .nl-form.compact .nl-row {
        flex-wrap: nowrap;
    }
    .nl-form.compact .nl-row .btn {
        flex: 0 0 auto;
    }
}

/* v1.4: rich text editor — container no longer overflows onto the next field */

.rte-wrap {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.rte-wrap .ql-container {
    height: auto;
    flex: 1;
    font-size: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.rte-wrap .ql-toolbar {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bg-soft, #f8fafc);
}

.rte-wrap .ql-editor {
    min-height: 260px;
    max-height: 70vh;
    overflow-y: auto;
    line-height: 1.7;
}

/* v1.4: notification centre */

.ncenter {
    display: grid;
    gap: 16px;
    align-items: start;
}

@media (min-width: 900px) {
    .ncenter {
        grid-template-columns: 240px minmax(0, 1fr);
    }
    .ncats {
        position: sticky;
        top: 90px;
    }
}

.ncats {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (max-width: 899px) {
    .ncats {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .ncats a {
        flex: 0 0 auto;
    }
}

.ncats a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}

.ncats a:hover {
    background: var(--bg-soft);
}

.ncats a.active {
    background: var(--brand-50);
    color: var(--brand);
    font-weight: 600;
}

.ncats a>span:nth-child(2) {
    flex: 1;
    white-space: nowrap;
}

.ncats small {
    color: var(--muted);
}

.ncount {
    background: var(--brand);
    color: #fff;
    border-radius: 99px;
    font-size: 11px;
    padding: 1px 7px;
}

.ncat-ic {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--brand-50);
    color: var(--brand);
    flex-shrink: 0;
}

.ntools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}

.ntools .search-input {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 10px;
    min-width: 0;
    flex: 1 1 220px;
    max-width: 340px;
}

.ntools .search-input input {
    border: 0;
    min-height: 38px;
    padding: 0;
    box-shadow: none;
}

.notif-row {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--line);
}

.notif-row:last-child {
    border-bottom: 0;
}

.notif-row .notif {
    flex: 1;
    min-width: 0;
    border: 0;
}

.notif-row.read .notif b {
    font-weight: 500;
}

.notif-row .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
}

/* v1.4: Government schemes */

.span-all {
    grid-column: 1 / -1;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.gs-hero {
    background: radial-gradient(900px 300px at 85% -10%, rgba(249, 115, 22, .18), transparent 60%), linear-gradient(135deg, #0b1f4d, #12317a 55%, #1d4ed8);
    color: #fff;
    padding: 34px 0 40px;
}

.gs-hero .breadcrumbs a,
.gs-hero .breadcrumbs span {
    color: rgba(255, 255, 255, .75);
}

.gs-hero-in {
    display: grid;
    gap: 24px;
    align-items: center;
}

@media (min-width: 980px) {
    .gs-hero-in {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
}

.gs-hero h1 {
    color: #fff;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    margin: 4px 0 10px;
}

.gs-hero p {
    color: rgba(255, 255, 255, .82);
    max-width: 640px;
}

.gs-hero .eyebrow {
    color: #fdba74;
}

.gs-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 14px;
    padding: 6px 6px 6px 14px;
    max-width: 620px;
    color: var(--muted);
    margin-top: 16px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .25);
}

.gs-search input {
    border: 0;
    box-shadow: none;
    padding: 0;
    min-height: 44px;
    min-width: 0;
    flex: 1;
}

.gs-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

.gs-stats b {
    color: #fff;
    font-size: 1.15rem;
    margin-right: 4px;
}

.gs-finder {
    display: grid;
    gap: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: 22px;
    color: #fff;
    backdrop-filter: blur(6px);
    transition: .2s;
}

.gs-finder:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    transform: translateY(-2px);
}

.gs-finder b {
    font-size: 1.15rem;
}

.gs-finder>span:not(.btn):not(.gs-finder-ic) {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

.gs-finder .btn {
    justify-self: start;
}

.gs-finder-ic {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
}

.gs-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.gs-cats a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}

.gs-cats a small {
    color: var(--muted);
}

.gs-cats a.active,
.gs-cats a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.gs-cats a.active small,
.gs-cats a:hover small {
    color: rgba(255, 255, 255, .8);
}

.scard {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.scard-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.scard-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.scard-ic {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--brand-50);
    color: var(--brand);
    flex-shrink: 0;
}

.scard-grant,
.scard-equity {
    background: #ecfdf5;
    color: #059669;
}

.scard-loan,
.scard-credit_guarantee {
    background: #eff6ff;
    color: #2563eb;
}

.scard-subsidy,
.scard-tax {
    background: #fff7ed;
    color: #ea580c;
}

.scard-incubation,
.scard-skilling {
    background: #f5f3ff;
    color: #7c3aed;
}

.scard-market {
    background: #fdf2f8;
    color: #db2777;
}

.scard h3 {
    font-size: 1.05rem;
    margin: 2px 0 0;
    line-height: 1.35;
}

.scard h3 a {
    color: var(--ink);
}

.scard-min {
    display: flex;
    align-items: center;
    gap: 5px;
}

.scard p {
    margin: 0;
    flex: 1;
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-1 {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scard-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    flex-wrap: wrap;
}

.scard-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    min-width: 0;
}

.scard-benefit span {
    display: grid;
    line-height: 1.2;
}

.scard-benefit small {
    color: var(--muted);
    font-size: 11px;
}

.scard-benefit b {
    color: var(--ink);
    font-size: 14px;
}

.scard-why {
    font-size: 12.5px;
    color: #047857;
    background: #ecfdf5;
    border-radius: 8px;
    padding: 6px 10px;
}

.gs-detail-hero {
    background: linear-gradient(180deg, var(--brand-50), #fff);
    padding: 26px 0 22px;
    border-bottom: 1px solid var(--line);
}

.gs-dh {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 8px;
}

.gs-dh-ic {
    width: 70px;
    height: 70px;
    border-radius: 18px;
}

.gs-dh h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin: 8px 0 4px;
}

.gs-min {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
}

.gs-dh .lead {
    margin: 0;
    max-width: 820px;
}

.gs-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.gs-facts>div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    display: grid;
    gap: 4px;
}

.gs-facts small {
    color: var(--muted);
    font-size: 12px;
}

.gs-facts b {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
}

.gs-h {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    margin: 0 0 14px;
}

.gs-h .ico {
    color: var(--brand);
}

.gs-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.gs-meta-grid small {
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.gs-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.gs-benefits>div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-soft, #f8fafc);
}

.gs-benefits span {
    color: #059669;
    flex-shrink: 0;
    margin-top: 2px;
}

.gs-benefits p {
    margin: 0;
    font-size: 14.5px;
}

.gs-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0;
    counter-reset: s;
}

.gs-steps li {
    display: flex;
    gap: 14px;
    position: relative;
    padding-bottom: 16px;
}

.gs-steps li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: var(--brand-100);
}

.gs-steps span {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    position: relative;
}

.gs-steps p {
    margin: 5px 0 0;
}

.gs-docs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

.gs-docs li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
}

.gs-docs .ico {
    color: var(--brand);
    flex-shrink: 0;
}

.gs-big {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    margin: 4px 0 12px;
    line-height: 1.25;
}

@media (min-width: 980px) {
    .gs-aside {
        position: sticky;
        top: 90px;
        align-self: start;
    }
}

.gs-finder-wrap {
    display: grid;
    gap: 22px;
    align-items: start;
}

@media (min-width: 1000px) {
    .gs-finder-wrap {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
}

.gs-quiz {
    display: grid;
    gap: 18px;
}

.gs-q {
    display: flex;
    gap: 14px;
}

.gs-q>div {
    flex: 1;
    min-width: 0;
}

.gs-qn {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.gs-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.gs-opts .opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gs-opts .opt span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: .15s;
    background: #fff;
}

.gs-opts .opt input:checked+span {
    border-color: var(--brand);
    background: var(--brand-50);
    color: var(--brand);
}

.gs-opts .opt input:focus-visible+span {
    box-shadow: 0 0 0 3px var(--brand-100);
}

.gs-finder-intro {
    display: grid;
    gap: 10px;
}

.gs-finder-intro h2 {
    margin: 0;
}

/* v1.4: shortcodes inside rich text */

.prose .sc-section .section,
.prose .page-faqs,
.prose .tst-section {
    padding: 24px 0;
    background: transparent;
}

.prose .sc-section .container,
.prose .page-faqs .container,
.prose .tst-section .container {
    padding: 0;
    max-width: none;
}

.prose .sc-block {
    margin: 20px 0;
}

.prose .sc-block h3,
.prose .sc-block h4 {
    margin: 0;
    font-size: 1.02rem;
}

.prose .sc-block p {
    margin: 0;
}

.prose .sc-block img {
    margin: 0;
    border-radius: inherit;
}

.prose .sc-block a {
    text-decoration: none;
}

.sc-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin: 24px 0;
    padding: 24px 26px;
    border-radius: 18px;
    color: #fff;
    background: radial-gradient(500px 200px at 90% 0, rgba(249, 115, 22, .35), transparent 60%), linear-gradient(135deg, #0b1f4d, #1d4ed8);
}

.sc-cta b {
    font-size: 1.3rem;
    display: block;
}

.sc-cta p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .85);
}

.prose .sc-cta a {
    color: #fff;
}

.sc-news {
    display: grid;
    gap: 12px;
    margin: 22px 0;
    background: linear-gradient(135deg, var(--brand-50), #fff);
}

@media (min-width: 760px) {
    .sc-news {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
    }
}

.sc-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    margin: 20px 0;
    background: #000;
}

.sc-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sc-blk {
    display: grid;
    gap: 8px;
}

.sc-contact {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.sc-contact>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-contact .ico {
    color: var(--brand);
    flex-shrink: 0;
}

/* v1.4: CMS page templates */

.lp-hero {
    position: relative;
    color: #fff;
    padding: 64px 0 70px;
    background: radial-gradient(800px 300px at 80% 0, rgba(249, 115, 22, .3), transparent 60%), linear-gradient(135deg, #0b1f4d, #1d4ed8);
    overflow: hidden;
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
}

.lp-hero-in {
    position: relative;
    /* max-width: 860px; */
}

.lp-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    margin: 6px 0 12px;
    line-height: 1.12;
}

.lp-hero .lead {
    color: rgba(255, 255, 255, .86);
    font-size: 1.15rem;
}

.lp-hero .breadcrumbs a,
.lp-hero .breadcrumbs span {
    color: rgba(255, 255, 255, .75);
}

.lp-ghost {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .5);
    background: transparent;
}

.lp-ghost:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.gov-hero {
    position: relative;
    background: linear-gradient(180deg, #fff7ed 0%, #fff 55%, #f0fdf4 100%);
    border-bottom: 1px solid var(--line);
    padding: 30px 0 30px;
}

.gov-flag {
    position: absolute;
    inset: 0 0 auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 5px;
}

.gov-flag i:nth-child(1) {
    background: #ff9933;
}

.gov-flag i:nth-child(2) {
    background: #fff;
}

.gov-flag i:nth-child(3) {
    background: #138808;
}

.gov-hero-in {
    display: grid;
    gap: 24px;
    align-items: center;
}

@media (min-width: 980px) {
    .gov-hero-in {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
}

.gov-hero h1 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    margin: 4px 0 10px;
}

.gov-hero .eyebrow {
    color: #c2410c;
}

.gov-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13.5px;
    color: var(--muted);
}

.gov-meta span,
.gov-meta button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gov-hero-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gov-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--brand-50);
}

.gov-toc b {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-right: 6px;
}

.gov-toc a {
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 99px;
    background: #fff;
    color: var(--ink-2);
    font-weight: 500;
}

.gov-prose>h2 {
    padding-left: 12px;
    border-left: 4px solid #ff9933;
}

.gov-prose table {
    width: 100%;
}

.gov-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.related-jobs {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.related-jobs h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    margin: 0;
}

.related-jobs h2 .ico {
    color: var(--brand);
}

.gov-link>span:last-child {
    min-width: 0;
    display: grid;
}

.prose .sc-section .psec-head h2,
.prose .sc-section h2 {
    border: 0;
    padding-left: 0;
}

.prose .sc-section .section {
    padding: 18px 0;
}

.rte-modes {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.rte-modes button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.rte-modes button.on {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.rte-note {
    font-size: 12px;
    color: #b45309;
    margin-left: 6px;
}

textarea.rte-source {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    min-height: 340px;
    line-height: 1.55;
}

/* v1.4: DPDP request page */

.dr-hero {
    background: linear-gradient(135deg, #ecfdf5, #eff6ff);
    padding: 30px 0 28px;
    border-bottom: 1px solid var(--line);
}

.dr-hero h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin: 4px 0 8px;
}

.dr-hero .eyebrow {
    color: #047857;
}

.dr-rights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.dr-right input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dr-right>span {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    height: 100%;
    transition: .15s;
}

.dr-right>span:hover {
    border-color: var(--brand-100);
    transform: translateY(-1px);
}

.dr-right input:checked+span {
    border-color: var(--brand);
    background: var(--brand-50);
}

.dr-right small {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.dr-ic {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand);
}

.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* v1.4: billing periods */

.cycle-pick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.cycle-pick a {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    position: relative;
}

.cycle-pick a.on {
    border-color: var(--brand);
    background: var(--brand-50);
}

.cycle-pick a span {
    font-size: 14px;
    color: var(--muted);
}

.cycle-pick em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #047857;
}

.cycle-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, .05));
    flex-wrap: wrap;
    justify-content: center;
}

.cycle-tabs button {
    border: 0;
    background: transparent;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cycle-tabs button.on {
    background: var(--brand);
    color: #fff;
}

.cycle-tabs button em {
    font-style: normal;
    font-size: 11px;
    background: #dcfce7;
    color: #047857;
    padding: 1px 6px;
    border-radius: 99px;
}

.cycle-tabs button.on em {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.plan .price-alt {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: -6px;
    min-height: 18px;
}

.plan [data-cycle-price][hidden] {
    display: none;
}

/* v1.4: reviews */

.rvw {
    display: grid;
    gap: 14px;
}

.rv-top {
    display: grid;
    gap: 20px;
    align-items: center;
}

@media (min-width: 760px) {
    .rv-top {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
    .rv-aspects {
        grid-column: 1 / -1;
    }
}

.rv-score {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rv-big {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-head);
    color: var(--ink);
}

.rv-rec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
    color: #047857;
    background: #ecfdf5;
    border-radius: 99px;
    padding: 3px 10px;
}

.rv-dist {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rv-bar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
    background: none;
    border: 0;
    padding: 3px 4px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--ink-2);
    text-align: left;
}

.rv-bar:hover:not(:disabled) {
    background: var(--bg-soft, #f8fafc);
}

.rv-bar:disabled {
    cursor: default;
    opacity: .6;
}

.rv-bar span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
}

.rv-bar span .ico {
    color: #f59e0b;
    fill: #f59e0b;
}

.rv-bar i,
.rv-aspects i {
    display: block;
    height: 8px;
    border-radius: 99px;
    background: var(--line);
    overflow: hidden;
}

.rv-bar i b,
.rv-aspects i b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.rv-bar small {
    color: var(--muted);
    text-align: right;
}

.rv-aspects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px 20px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}

.rv-aspects small {
    color: var(--muted);
    font-size: 12px;
}

.rv-aspects span {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    font-size: 13px;
}

.rv-aspects i b {
    background: linear-gradient(90deg, var(--brand), #6366f1);
}

.rv-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rv-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rv-chips button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 99px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
}

.rv-chips button.on {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.rv-chips small {
    opacity: .7;
}

.rv-sort select {
    min-height: 36px;
    width: auto;
    font-size: 13px;
}

.rv-list {
    display: grid;
    gap: 12px;
}

.rv-item {
    padding: 18px;
    display: grid;
    gap: 10px;
}

.rv-item header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.rv-av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, hsl(var(--h, 220) 65% 52%), hsl(calc(var(--h, 220) + 40) 70% 45%));
}

.rv-when {
    display: grid;
    justify-items: end;
    gap: 2px;
}

.rv-title {
    font-size: 1rem;
    margin: 0;
}

.rv-body {
    margin: 0;
    color: var(--ink-2);
    line-height: 1.65;
}

.rv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rv-tags .chip {
    font-size: 12px;
    padding: 4px 10px;
}

.chip-green {
    background: #ecfdf5 !important;
    color: #047857 !important;
}

.rv-reply {
    margin-left: 16px;
    padding: 12px 14px;
    border-left: 3px solid var(--brand);
    background: var(--brand-50);
    border-radius: 0 10px 10px 0;
    font-size: 14px;
}

.rv-reply b {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand);
}

.rv-replyform summary {
    cursor: pointer;
    color: var(--brand);
    font-weight: 600;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.rv-item footer {
    display: flex;
    gap: 10px;
}

.rv-help {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 99px;
    padding: 5px 12px;
    font-size: 13px;
    cursor: pointer;
    color: var(--muted);
}

.rv-help.on {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-50);
}

.rv-empty {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 6px;
    color: var(--muted);
}

.rv-empty .ico {
    color: #f59e0b;
}

.rv-write h3 {
    font-size: 1.15rem;
}

.rv-asp-input {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.rv-asp-input small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 2px;
}

.rating-input.sm label svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 560px) {
    .rv-item header {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .rv-when {
        grid-column: 1 / -1;
        justify-items: start;
        grid-auto-flow: column;
        justify-content: start;
        gap: 8px;
        align-items: center;
    }
    .rv-reply {
        margin-left: 0;
    }
}

/* v1.4: business profile — highlights, services, amenities, hours, social links */

.biz-hl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.biz-hl-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
}

.biz-hl-item b {
    display: block;
    font-size: 14.5px;
    line-height: 1.3;
}

.biz-hl-item p {
    margin: 3px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.biz-hl-ic {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.hl-0 {
    background: #eff6ff;
    color: #2563eb;
}

.hl-1 {
    background: #ecfdf5;
    color: #059669;
}

.hl-2 {
    background: #fff7ed;
    color: #ea580c;
}

.hl-3 {
    background: #f5f3ff;
    color: #7c3aed;
}

.svc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, var(--bg-soft, #f8fafc));
    transition: .15s;
    min-width: 0;
}

.svc-card:hover {
    border-color: var(--brand-100);
    box-shadow: 0 6px 18px rgba(29, 78, 216, .08);
    transform: translateY(-1px);
}

.svc-n {
    font-size: 11px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: .06em;
}

.svc-card b {
    font-size: 14.5px;
    line-height: 1.35;
}

.svc-cta {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.amen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
}

.amen {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--bg-soft, #f8fafc);
    font-size: 14px;
}

.amen span {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--brand);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.hours {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.hours th,
.hours td {
    padding: 8px 4px;
    border-bottom: 1px dashed var(--line);
    text-align: left;
    font-weight: 500;
}

.hours th {
    color: var(--ink-2);
}

.hours td {
    text-align: right;
    color: var(--ink);
}

.hours tr:last-child th,
.hours tr:last-child td {
    border-bottom: 0;
}

.hours tr.today th,
.hours tr.today td {
    color: var(--brand);
    font-weight: 700;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-links .soc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    background: #fff;
    transition: .15s;
}

.social-links .soc:hover {
    border-color: currentColor;
    transform: translateY(-1px);
}

.soc-linkedin {
    color: #0a66c2 !important;
}

.soc-facebook {
    color: #1877f2 !important;
}

.soc-instagram {
    color: #c13584 !important;
}

.soc-twitter {
    color: #0f172a !important;
}

.soc-youtube {
    color: #ff0000 !important;
}

.soc-whatsapp {
    color: #128c7e !important;
}

.soc-github {
    color: #24292f !important;
}

.soc-telegram {
    color: #229ed9 !important;
}

.rel-biz {
    align-items: stretch;
}

@media (max-width: 560px) {
    .rel-biz {
        grid-template-columns: 1fr;
    }
}

/* v1.4: tall hero ads + in-list ads */

.ad-hero_left .ad-slide img,
.ad-hero_right .ad-slide img {
    aspect-ratio: 1 / 2;
    max-height: none;
    object-fit: cover;
}

.ad-hero_left .ad-slider,
.ad-hero_right .ad-slider {
    margin: 0;
}

.ad-in_list {
    grid-column: 1 / -1;
}

/* ==========================================================================
   v1.4: top bar socials, ticker, theme switch, footer, dark theme
   ========================================================================== */

.tb-soc {
    display: inline-flex;
    gap: 10px;
    padding-left: 12px;
    margin-left: 4px;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.tb-soc a {
    opacity: .85;
}

.tb-soc a:hover {
    opacity: 1;
}

.theme-toggle .t-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .t-sun {
    display: inline-flex;
}

[data-theme="dark"] .theme-toggle .t-moon {
    display: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.drawer-grp {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 700;
    padding: 12px 12px 4px;
}

/* ticker */

.ticker {
    background: linear-gradient(90deg, #0b1f4d, #12317a);
    color: #fff;
    font-size: 13px;
    overflow: hidden;
}

.ticker-in {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 38px;
}

.ticker-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ticker-track {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ticker-move {
    display: inline-flex;
    gap: 34px;
    white-space: nowrap;
    animation: tick 60s linear infinite;
    padding-left: 10px;
}

.ticker:hover .ticker-move {
    animation-play-state: paused;
}

.ticker-move a {
    color: rgba(255, 255, 255, .92);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-move a:hover {
    color: #fde68a;
}

.ticker-move a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fbbf24;
}

.ticker-move em {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .14);
    padding: 1px 7px;
    border-radius: 99px;
}

@keyframes tick {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-move {
        animation: none;
    }
    .ticker-track {
        overflow-x: auto;
    }
}

/* footer */

.footer-grid2 {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .footer-grid2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid2 {
        grid-template-columns: 1.6fr repeat(4, 1fr) 1.5fr;
    }
}

.footer-brand p {
    color: #94a3b8;
    font-size: 14px;
    max-width: 340px;
    margin: 12px 0;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.footer-contact li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #cbd5e1;
}

.footer-contact a {
    color: #cbd5e1;
}

.footer-contact .ico {
    color: #64748b;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-news p {
    color: #94a3b8;
}

.footer-news .nl-form input[type=email] {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.footer-news .nl-note,
.footer-news .nl-lists {
    color: #94a3b8;
}

.footer-seo {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-seo h4 {
    margin-bottom: 10px;
}

.footer-seo div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 4px;
}

.footer-seo a {
    color: #94a3b8;
    font-size: 12.5px;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 99px;
}

.footer-seo a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
}

.footer-disclaimer {
    color: #64748b;
    font-size: 12px;
    margin: 20px 0 0;
    line-height: 1.6;
}

.footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.footer-mini a {
    color: #94a3b8;
}

.site-footer .logo span,
.site-footer .logo small {
    color: #fff;
}

/* dark theme */

[data-theme="dark"] {
    --ink: #e2e8f0;
    --ink-2: #cbd5e1;
    --muted: #94a3b8;
    --line: #1f2a3d;
    --line-2: #162032;
    --bg: #0b1220;
    --bg-soft: #0f1829;
    --brand-50: #13213f;
    --brand-100: #1e3366;
    --accent-50: #2a1a0e;
    --green-50: #0d2a1c;
    --amber-50: #2a210c;
    --red-50: #2c1215;
    --violet-50: #1f1638;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 4px 16px rgba(0, 0, 0, .35);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

[data-theme="dark"] body {
    background: var(--bg);
    color: var(--ink);
}

[data-theme="dark"] .card,
[data-theme="dark"] .site-header,
[data-theme="dark"] .nav-dd-menu,
[data-theme="dark"] .drawer-panel,
[data-theme="dark"] .modal-box,
[data-theme="dark"] .fcard,
[data-theme="dark"] .svc-card,
[data-theme="dark"] .biz-hl-item,
[data-theme="dark"] .rv-help,
[data-theme="dark"] .rv-chips button,
[data-theme="dark"] .gs-cats a,
[data-theme="dark"] .gs-facts>div,
[data-theme="dark"] .gs-opts .opt span,
[data-theme="dark"] .dr-right>span,
[data-theme="dark"] .cycle-tabs,
[data-theme="dark"] .social-links .soc,
[data-theme="dark"] .amen span,
[data-theme="dark"] .gov-toc a,
[data-theme="dark"] .bottom-nav,
[data-theme="dark"] .sec-nav,
[data-theme="dark"] .toast,
[data-theme="dark"] .cookie-bar,
[data-theme="dark"] .hp-card,
[data-theme="dark"] .hm-side-card {
    background: #111a2b;
    color: var(--ink);
    border-color: var(--line);
}

[data-theme="dark"] .site-header {
    background: rgba(11, 18, 32, .92);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: #0f1829;
    color: var(--ink);
    border-color: #263449;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #64748b;
}

[data-theme="dark"] .btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: #334155;
}

[data-theme="dark"] .btn-ghost {
    color: var(--ink);
}

[data-theme="dark"] .btn-light {
    background: #1e2a44;
    color: #93c5fd;
}

[data-theme="dark"] .section-soft,
[data-theme="dark"] .bg-soft,
[data-theme="dark"] .page-hero,
[data-theme="dark"] .gs-detail-hero,
[data-theme="dark"] .dr-hero,
[data-theme="dark"] .gov-hero,
[data-theme="dark"] .legal-hero {
    background: #0f1829;
}

[data-theme="dark"] .badge-gray,
[data-theme="dark"] .chip {
    background: #1e293b;
    color: #cbd5e1;
}

[data-theme="dark"] .table th {
    background: #0f1829;
    color: var(--muted);
}

[data-theme="dark"] .table td {
    border-color: var(--line);
}

[data-theme="dark"] .prose,
[data-theme="dark"] .prose p,
[data-theme="dark"] .prose li {
    color: var(--ink-2);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
    color: #f1f5f9;
}

[data-theme="dark"] .faq details {
    background: #111a2b;
    border-color: var(--line);
}

[data-theme="dark"] .disclaimer,
[data-theme="dark"] .answer-box,
[data-theme="dark"] .in-short {
    background: #13213f;
    color: var(--ink-2);
    border-color: #1e3366;
}

[data-theme="dark"] .alert {
    filter: brightness(.9);
}

[data-theme="dark"] img.lcard-logo,
[data-theme="dark"] .profile-logo {
    background: #fff;
}

[data-theme="dark"] .rv-reply {
    background: #13213f;
}

[data-theme="dark"] .amen,
[data-theme="dark"] .gs-benefits>div {
    background: #0f1829;
}

[data-theme="dark"] .scard-why {
    background: #0d2a1c;
    color: #6ee7b7;
}

/* ==========================================================================
   v1.4: community homepage
   ========================================================================== */

.btn-dark {
    background: #0f172a;
    color: #fff;
}

.btn-dark:hover {
    background: #1e293b;
    color: #fff;
}

.hm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-50);
    padding: 5px 12px;
    border-radius: 99px;
    margin-bottom: 10px;
}

.hm-eyebrow.light {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.hm-head.center {
    justify-content: center;
    text-align: center;
}

.hm-head.center p {
    margin-inline: auto;
}

.hm-head.light h2,
.hm-head.light p {
    color: #fff;
}

.hm-head.light .hm-eyebrow {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.hm-band {
    padding: 64px 0;
    color: #fff;
    background: radial-gradient(900px 340px at 85% -10%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, #0b1f4d, #026faa);
}

.hm-band h2,
.hm-band h3 {
    color: #fff;
}

.hm-band p {
    color: rgba(255, 255, 255, .84);
}

/* hero */

.hm-hero {
    padding: 26px 0 40px;
    background: radial-gradient(700px 320px at 50% 0, var(--brand-50), transparent 70%), linear-gradient(180deg, #fff, var(--bg-soft));
}

.hm-hero-grid {
    display: grid;
    gap: 22px;
    align-items: start;
}

@media (min-width: 1100px) {
    .hm-hero-grid {
        grid-template-columns: 250px minmax(0, 1fr) 250px;
    }
}

.hm-center {
    text-align: center;
    padding: 0px 6px 0;
}

.hm-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 99px;
    box-shadow: 0 8px 20px rgba(29, 78, 216, .25);
}

.hm-center h1 {
    font-size: clamp(2rem, 4.6vw, 3.3rem);
    line-height: 1.1;
    margin: 16px auto 12px;
    max-width: 760px;
    letter-spacing: -.02em;
}

.hm-center .lead {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
}

.hm-stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 22px;
    flex-wrap: wrap;
}

.hm-stats>div {
    min-width: 132px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
}

.hm-stats b {
    font-size: 1.5rem;
    font-family: var(--font-head);
    color: var(--brand);
    line-height: 1.1;
}

.hm-stats span {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
    line-height: 16px;
    margin-left: 10px;
    text-align: left;
}

.hm-cta {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hm-joined {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 14px;
    color: var(--muted);
}

.hm-joined b {
    color: var(--ink);
}

.hm-avs {
    display: inline-flex;
}

.hm-avs img,
.hm-avs i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -9px;
    object-fit: cover;
    display: inline-grid;
    place-items: center;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, hsl(var(--h, 220) 65% 52%), hsl(calc(var(--h, 220) + 40) 70% 45%));
}

.hm-avs> :first-child {
    margin-left: 0;
}

.hm-search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    margin: 22px auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 6px 6px 6px 14px;
    box-shadow: var(--shadow);
    color: var(--muted);
}

.hm-search input {
    border: 0;
    box-shadow: none;
    padding: 0;
    min-height: 44px;
    min-width: 0;
    flex: 1;
    background: transparent;
}

.hm-side {
    display: grid;
    gap: 12px;
    align-content: start;
}

@media (max-width: 1099px) {
    .hm-side {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .hm-side .ad-slot {
        display: none;
    }
    .hm-left {
        order: 2;
    }
    .hm-right {
        order: 3;
    }
}

.hm-side .ad-slider {
    margin: 0;
    border-radius: 16px;
}

.hm-spot,
.hm-quick {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: .15s;
}

.hm-spot:hover,
.hm-quick:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.hm-spot img,
.hm-spot-ph {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--brand-50);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--brand);
}

.hm-spot>span,
.hm-quick>span:nth-child(2) {
    display: grid;
    min-width: 0;
    flex: 1;
    line-height: 1.3;
}

.hm-spot small {
    color: var(--accent);
    font-weight: 700;
    font-size: 11px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hm-spot b {
    font-size: 14px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.hm-spot b .ico {
    color: var(--green);
}

.hm-spot em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}

.hm-quick b {
    font-size: 14px;
}

.hm-quick small {
    font-size: 12px;
    color: var(--muted);
}

.hm-quick>.ico {
    color: var(--muted);
}

.hq-ic {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.hq-ic.green {
    background: #ecfdf5;
    color: #059669;
}

.hq-ic.blue {
    background: #eff6ff;
    color: #2563eb;
}

.hq-ic.orange {
    background: #fff7ed;
    color: #ea580c;
}

/* why */

.hm-why-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 980px) {
    .hm-why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hm-why h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.2;
}

.hm-feats {
    list-style: none;
    padding: 0;
    margin: 22px 0;
    display: grid;
    gap: 16px;
}

.hm-feats li {
    display: flex;
    gap: 14px;
}

.hm-feats li>span {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand-50);
    color: var(--brand);
}

.hm-feats li:nth-child(2)>span {
    background: #ecfdf5;
    color: #059669;
}

.hm-feats li:nth-child(3)>span {
    background: #fff7ed;
    color: #ea580c;
}

.hm-feats li:nth-child(4)>span {
    background: #f5f3ff;
    color: #7c3aed;
}

.hm-feats b {
    display: block;
}

.hm-feats p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.hm-follow {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hm-follow a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 13.5px;
}

.hm-follow a span {
    display: grid;
    line-height: 1.15;
}

.hm-follow small {
    font-size: 10.5px;
    opacity: .85;
    font-weight: 500;
}

.hf-youtube {
    background: #dc2626;
}

.hf-linkedin {
    background: #0a66c2;
}

.hf-instagram {
    background: linear-gradient(45deg, #f59e0b, #db2777, #7c3aed);
}

.hm-collage {
    position: relative;
    min-height: 420px;
}

.hm-collage img {
    position: absolute;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.hm-collage .c1 {
    width: 78%;
    aspect-ratio: 4 / 3;
    top: 0;
    left: 0;
}

.hm-collage .c2 {
    width: 46%;
    aspect-ratio: 1;
    bottom: 0;
    right: 0;
    border: 6px solid #fff;
}

.hm-float {
    position: absolute;
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    max-width: 240px;
    color: var(--ink);
}

.hm-float .ico {
    color: var(--brand);
    flex-shrink: 0;
}

.hm-float span {
    display: grid;
    line-height: 1.3;
}

.hm-float small {
    color: var(--muted);
    font-size: 11.5px;
}

.hm-float.f1 {
    right: 0;
    top: 18%;
}

.hm-float.f2 {
    left: 6%;
    bottom: 6%;
}

.hm-float.f3 {
    left: -10px;
    bottom: 24px;
}

@media (max-width: 600px) {
    .hm-collage {
        min-height: 300px;
    }
    .hm-float.f1 {
        top: 4%;
    }
}

/* resources band */

.hm-res {
    padding: 48px 0;
}

.hm-res-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hm-res-card {
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    padding: 22px;
    display: grid;
    gap: 8px;
    align-content: start;
    box-shadow: 0 20px 40px -18px rgba(2, 6, 23, .5);
}

.hm-res-card h3 {
    color: var(--ink);
    font-size: 1.05rem;
    margin: 4px 0 0;
}

.hm-res-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 8px;
}

.hm-res-ic {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--brand-50);
    color: var(--brand);
}

/* directory */

.hm-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.hm-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink-2);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    transition: .15s;
}

.hm-chips a span {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--brand-50);
    color: var(--brand);
}

.hm-chips a:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

/* stories band */

.hm-stories {
    padding: 60px 0;
}

.hm-stories .card {
    color: var(--ink);
}

.hm-stories .card h3 a,
.hm-stories .card h3 {
    color: var(--ink);
}

.hm-stories .card p {
    color: var(--muted);
}

/* case studies */

.hm-case {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 4px solid var(--brand);
}

.hm-case:nth-child(2) {
    border-top-color: var(--accent);
}

.hm-case:nth-child(3) {
    border-top-color: #059669;
}

.hm-case-tag {
    align-self: flex-start;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-50);
    padding: 4px 10px;
    border-radius: 99px;
}

.hm-case h3 {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.35;
}

.hm-case h3 a {
    color: var(--ink);
}

.hm-case p {
    margin: 0;
    flex: 1;
}

.hm-case-link {
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

/* schemes band */

.hm-gov-grid {
    display: grid;
    gap: 30px;
    align-items: center;
}

@media (min-width: 980px) {
    .hm-gov-grid {
        grid-template-columns: 1fr 1.25fr;
    }
}

.hm-gov h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.hm-gov-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}

.hm-gov-chips a {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    transition: .15s;
}

.hm-gov-chips a:hover {
    background: #fff;
    color: var(--ink);
}

.hm-gov-chips a span {
    grid-row: span 2;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .16);
}

.hm-gov-chips a:hover span {
    background: var(--brand-50);
    color: var(--brand);
}

.hm-gov-chips b {
    font-size: 14px;
}

.hm-gov-chips small {
    font-size: 11.5px;
    opacity: .8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hm-ghost-light {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .45);
    background: transparent;
}

.hm-ghost-light:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* events list */

.hm-events {
    display: grid;
    gap: 12px;
}

.hm-ev {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    color: var(--ink);
}

.hm-ev:hover {
    color: var(--ink);
}

.hm-ev-date {
    width: 64px;
    text-align: center;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    padding: 8px 0;
    display: grid;
    line-height: 1.1;
}

.hm-ev-date b {
    font-size: 1.5rem;
}

.hm-ev-date small {
    font-size: 11px;
    text-transform: uppercase;
    opacity: .9;
}

.hm-ev img {
    width: 120px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
}

.hm-ev-body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.hm-ev-body b {
    font-size: 1.02rem;
    line-height: 1.35;
}

@media (max-width: 700px) {
    .hm-ev {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .hm-ev img,
    .hm-ev-cta {
        display: none;
    }
}

/* magazine band */

.hm-mag {
    background: radial-gradient(800px 300px at 90% 10%, rgba(249, 115, 22, .25), transparent 60%), linear-gradient(135deg, #0f172a, #1e1b4b);
}

.hm-mag-grid {
    display: grid;
    gap: 34px;
    align-items: center;
}

@media (min-width: 980px) {
    .hm-mag-grid {
        grid-template-columns: 1fr 1.1fr;
    }
}

.hm-mag h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.hm-mag-form {
    max-width: 460px;
    margin: 18px 0 12px;
}

.hm-mag-form .nl-note,
.hm-mag-form .nl-chip span {
    color: #cbd5e1;
}

.hm-mag-form input[type=email] {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
}

.hm-link-light {
    color: #fdba74;
    font-weight: 600;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.hm-covers {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    min-height: 300px;
}

.hm-cover {
    width: 34%;
    max-width: 210px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
    background: #1e293b;
    aspect-ratio: 3 / 4;
    transition: .25s;
}

.hm-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-cover span {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    color: #fff;
}

.hm-cover.cv0 {
    z-index: 3;
    transform: scale(1.08);
}

.hm-cover.cv1 {
    transform: translateX(16px) rotate(-6deg);
    order: -1;
}

.hm-cover.cv2 {
    transform: translateX(-16px) rotate(6deg);
}

.hm-cover:hover {
    transform: translateY(-8px) scale(1.1);
    z-index: 4;
}

/* faq + blogs + CTA */

.hm-faq-grid {
    display: grid;
    gap: 34px;
    align-items: center;
}

@media (min-width: 980px) {
    .hm-faq-grid {
        grid-template-columns: 1.5fr 1fr;
    }
    .hm-faq-grid .section-head,
    .faq-row .pf-head {
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
    }
}

.hm-faq-img {
    position: relative;
}

.hm-faq-img img {
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 7 / 8;
    object-fit: cover;
}

@media (max-width: 979px) {
    .hm-faq-img {
        display: none;
    }
}

.hm-blogs {
    align-items: stretch;
}

@media (max-width: 560px) {
    .hm-blogs {
        grid-template-columns: 1fr;
    }
}

.hm-cta-band {
    display: grid;
    gap: 22px;
    align-items: center;
    padding: 36px;
    border-radius: 24px;
    color: #fff;
    background: radial-gradient(600px 240px at 0 0, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(120deg, var(--brand), var(--violet));
}

@media (min-width: 900px) {
    .hm-cta-band {
        grid-template-columns: 1fr 1fr;
        padding: 44px 48px;
    }
}

.hm-cta-band h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 6px;
}

.hm-cta-band p {
    color: rgba(255, 255, 255, .85);
    margin: 0;
}

.hm-cta-band .nl-note,
.hm-cta-band .nl-chip span {
    color: rgba(255, 255, 255, .85);
}

[data-theme="dark"] .hm-hero {
    background: radial-gradient(700px 320px at 50% 0, #13213f, transparent 70%), var(--bg);
}

[data-theme="dark"] .hm-stats>div,
[data-theme="dark"] .hm-search,
[data-theme="dark"] .hm-spot,
[data-theme="dark"] .hm-quick,
[data-theme="dark"] .hm-chips a,
[data-theme="dark"] .hm-float,
[data-theme="dark"] .hm-res-card {
    background: #111a2b;
    border-color: var(--line);
    color: var(--ink);
}

[data-theme="dark"] .hm-res-card h3 {
    color: var(--ink);
}

[data-theme="dark"] .hm-collage .c2 {
    border-color: #0b1220;
}

.hm-ev-body small {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* v1.4: header fits longer admin-managed menus */

.main-nav>a,
.main-nav .nav-dd>button {
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .menu-many .main-nav {
        margin-left: 8px;
        gap: 0;
    }
    .menu-many .main-nav>a,
    .menu-many .main-nav .nav-dd>button {
        padding: 8px 8px;
        font-size: 14px;
    }
    .menu-many .logo small {
        display: none;
    }
}

@media (max-width: 1499px) {
    .menu-many .header-search {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1239px) {
    .menu-many .main-nav>a,
    .menu-many .main-nav .nav-dd>button {
        padding: 6px 6px;
        font-size: 13.5px;
    }
    .menu-many .header-actions .btn-ghost.hide-mobile {
        display: none;
    }
}

.hm-ev .ev-phase {
    position: static;
    transform: none;
    box-shadow: none;
}

.hm-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 540px;
    margin-inline: auto;
}

.hm-stats>div {
    min-width: 0;
}

@media (max-width: 480px) {
    .hm-stats b {
        font-size: 1rem;
    }
    .hm-stats>div {
        padding: 8px;
    }
    .hm-stats span {
        font-size: 11.5px;
        line-height: 1.3;
    }
}

.hm-cta-band .nl-chip span,
.hm-mag .nl-chip span,
.site-footer .nl-chip span {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
}

.hm-cta-band .nl-chip input:checked+span,
.hm-mag .nl-chip input:checked+span,
.site-footer .nl-chip input:checked+span {
    background: #fff;
    color: var(--brand);
    border-color: #fff;
}

.hm-float.f3 {
    top: 22px;
    bottom: auto;
    left: 22px;
}

.list-rows>a,
.list-rows>div {
    min-width: 0;
}

/* v1.4.1 logos: light / dark / footer variants */

.logo.has-img .logo-dark {
    display: none;
}

[data-theme="dark"] .logo.has-img:not(.logo-on-dark) .logo-light {
    display: none;
}

[data-theme="dark"] .logo.has-img:not(.logo-on-dark) .logo-dark {
    display: block;
}

.logo-on-dark .logo-img[data-invert],
[data-theme="dark"] .logo-img.logo-dark[data-invert] {
    filter: brightness(0) invert(1);
}

.logo-img.logo-light[data-invert-light] {
    filter: brightness(0);
}

.logo .logo-img {
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

.logo-on-dark,
.logo-on-dark:hover {
    color: #fff;
}

.logo-on-dark small {
    color: #94a3b8 !important;
}

.site-footer .logo.has-img {
    display: inline-flex;
}

.brand-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bp-cell {
    border-radius: 12px;
    padding: 14px 16px 18px;
    border: 1px solid var(--line);
    min-height: 96px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bp-cell .xs {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
}

.bp-light {
    background: #fff;
}

.bp-light .xs {
    color: #64748b;
}

.bp-light .logo {
    color: #0f172a;
}

.bp-dark {
    background: #0b1220;
    border-color: #0b1220;
}

.bp-dark .xs {
    color: #94a3b8;
}

.bp-cell .logo {
    pointer-events: none;
}

@media (max-width: 599px) {
    .brand-preview {
        grid-template-columns: 1fr;
    }
}

/* dark theme: surfaces that used --ink as a background (it turns light in dark mode) */

[data-theme="dark"] .topbar {
    background: #050a14;
    border-bottom: 1px solid #1e293b;
}

[data-theme="dark"] .skip-link,
[data-theme="dark"] .toast,
[data-theme="dark"] .install-bar {
    background: #1e293b;
    color: #f1f5f9;
}

[data-theme="dark"] .cat-rail a.active,
[data-theme="dark"] .rv-chips button.on {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.hm-ad-mid {
    padding-top: 8px;
    padding-bottom: 8px;
}

.contact-lock.is-gate {
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
    border-color: #fde68a;
}

.contact-lock.is-gate>.ico {
    color: #d97706;
}

[data-theme="dark"] .contact-lock.is-gate {
    background: #2a2210;
    border-color: #78591c;
}

.unlock-note {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 20px auto 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
    border: 1px solid #fde68a;
    color: #92400e;
}

.unlock-note b {
    display: block;
    color: #78350f;
}

.unlock-note span {
    font-size: 14px;
}

[data-theme="dark"] .unlock-note {
    background: #2a2210;
    border-color: #78591c;
    color: #fcd34d;
}

[data-theme="dark"] .unlock-note b {
    color: #fde68a;
}

.plan.rec {
    overflow: visible;
}

.plans {
    padding-top: 12px;
}

.media-alt {
    margin-top: 8px;
    display: grid;
    gap: 4px;
}

.media-alt label {
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.media-alt input {
    font-size: 13.5px;
}

.media-alt .hint .ico {
    color: #16a34a;
    vertical-align: -2px;
}

.sc-image {
    margin: 1.6em 0;
}

.sc-image img {
    border-radius: 12px;
    width: 100%;
}

.sc-image figcaption {
    font-size: 13.5px;
    color: var(--muted);
    text-align: center;
    margin-top: 8px;
}

.prose picture img,
.prose img {
    border-radius: 10px;
}

/* v1.6: wide artwork (banners with text) keeps its shape instead of being cropped */

@media (min-width: 768px) {
    .bcard.wide {
        align-items: center;
    }
    .bcard.wide .bcard-img {
        aspect-ratio: 1200 / 400;
        min-height: 0;
        margin: 16px;
        border-radius: 14px;
    }
    .bcard.wide .bcard-cats, .bcard.wide p{
        display: none;
    } 
}

.hero-visual .hero-img {
    aspect-ratio: auto;
    height: auto;
}

.ne-img {
    height: auto;
    min-height: 0;
    padding: 14px;
    background: transparent;
}

.ne-img img {
    aspect-ratio: 1200 / 630;
    height: auto;
    border-radius: 14px;
}

@media (min-width: 768px) {
    .next-event {
        grid-template-columns: 340px 1fr auto;
    }
}

/* sidebar / tall ads carry text — never crop them, whatever the column width */

.ad-slot.ad-sidebar .ad-slide img,
.ad-slot.ad-hero_left .ad-slide img,
.ad-slot.ad-hero_right .ad-slide img {
    max-height: 340px;
    object-fit: contain;
}

@media (max-width: 1099px) {
    .ad-slot.ad-sidebar {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ───────── AI chat assistant widget ───────── */

.dchat {
    --dc-brand: var(--brand);
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 60;
    font-size: 14.5px;
}

@media (min-width: 768px) {
    .dchat {
        right: 24px;
        bottom: 24px;
    }
}

.dchat-launch {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    color: #fff;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--violet, #7c3aed));
    box-shadow: 0 10px 28px rgba(29, 78, 216, .38);
    transition: transform .2s, box-shadow .2s;
    position: relative;
}

.dchat-launch:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 34px rgba(29, 78, 216, .45);
}

.dchat-launch:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

.dchat-launch-x {
    display: none;
}

.dchat.open .dchat-launch-x {
    display: grid;
}

.dchat.open .dchat-launch-ic {
    display: none;
}

.dchat-launch::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, .35);
    animation: dcPulse 2.4s ease-out infinite;
}

.dchat.open .dchat-launch::after {
    display: none;
}

@keyframes dcPulse {
    0% {
        transform: scale(.9);
        opacity: 1;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.dchat-tip {
    position: absolute;
    right: 70px;
    bottom: 6px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 14px 14px 4px 14px;
    padding: 10px 30px 10px 14px;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    display: grid;
    gap: 1px;
    animation: fadeIn .4s;
}

.dchat-tip b {
    font-size: 14px;
}

.dchat-tip span {
    font-size: 12px;
    color: var(--muted);
}

.dchat-tip-x {
    position: absolute;
    top: 6px;
    right: 6px;
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    padding: 2px;
}

.dchat-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 384px;
    height: min(620px, calc(100vh - 120px));
    background: var(--card, #fff);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: dcIn .22s ease-out;
}

@keyframes dcIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.dchat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px 14px 16px;
    color: #fff;
    background: linear-gradient(135deg, #0b1f5e, var(--brand) 55%, var(--violet, #7c3aed));
}

.dchat-av {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: var(--font-head);
    letter-spacing: .02em;
    flex-shrink: 0;
}

.dchat-av i {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #1d4ed8;
}

.dchat-title {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.dchat-title b {
    display: block;
    font-size: 15.5px;
}

.dchat-title small {
    font-size: 12px;
    opacity: .85;
}

.dchat-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    margin-right: 2px;
    vertical-align: 1px;
}

.dchat-hbtn {
    border: 0;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.dchat-hbtn:hover {
    background: rgba(255, 255, 255, .24);
}

.dchat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-soft, #f8fafc);
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

.dchat-msg {
    display: flex;
    flex-direction: column;
    max-width: 88%;
}

.dchat-msg.me {
    align-self: flex-end;
    align-items: flex-end;
}

.dchat-msg.bot {
    align-self: flex-start;
}

.dchat-bubble {
    padding: 10px 13px;
    border-radius: 16px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.dchat-msg.me .dchat-bubble {
    background: var(--brand);
    color: #fff;
    border-bottom-right-radius: 5px;
    white-space: pre-wrap;
}

.dchat-msg.bot .dchat-bubble {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-bottom-left-radius: 5px;
}

.dchat-bubble p {
    margin: 0 0 4px;
}

.dchat-bubble p:last-child {
    margin-bottom: 0;
}

.dchat-bubble ul {
    margin: 4px 0 6px;
    padding-left: 18px;
}

.dchat-bubble li {
    margin: 2px 0;
}

.dchat-bubble a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dchat-src {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 6px;
    width: 100%;
}

.dchat-src a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    transition: .15s;
}

.dchat-src a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dchat-src a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.dchat-fb {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--muted);
}

.dchat-fb button {
    border: 0;
    background: none;
    color: var(--muted);
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.dchat-fb button:hover,
.dchat-fb button.on {
    color: var(--brand);
    background: var(--brand-50, #eff6ff);
}

.dchat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dchat-chips button {
    border: 1px solid var(--brand-100, #dbeafe);
    background: #fff;
    color: var(--brand);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: .15s;
}

.dchat-chips button:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.dchat-typing .dchat-bubble {
    display: flex;
    gap: 4px;
    padding: 13px 14px;
}

.dchat-typing i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    animation: dcDot 1.2s infinite;
}

.dchat-typing i:nth-child(2) {
    animation-delay: .15s;
}

.dchat-typing i:nth-child(3) {
    animation-delay: .3s;
}

@keyframes dcDot {
    0%,
    60%,
    100% {
        transform: none;
        opacity: .5;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.dchat-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    background: var(--card, #fff);
}

.dchat-form textarea {
    flex: 1;
    resize: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 12px;
    font: inherit;
    line-height: 1.4;
    max-height: 120px;
    min-height: 42px;
    background: var(--bg-soft, #f8fafc);
    color: var(--ink);
}

.dchat-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px var(--brand-50, #eff6ff);
}

.dchat-send {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 0;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.dchat-send:hover {
    filter: brightness(1.08);
}

.dchat-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px 10px;
    background: var(--card, #fff);
    font-size: 11px;
    color: var(--muted);
}

.dchat-foot a {
    color: var(--muted);
    text-decoration: underline;
}

.dchat-human {
    border: 0;
    background: none;
    color: var(--brand);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    white-space: nowrap;
}

.dchat-lead {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    display: grid;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.dchat-lead b {
    font-size: 15px;
}

.dchat-lead p {
    margin: -4px 0 2px;
    font-size: 12.5px;
    color: var(--muted);
}

.dchat-lead input:not([type=checkbox]),
.dchat-lead textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
    font: inherit;
    font-size: 14px;
    background: var(--bg-soft, #f8fafc);
    color: var(--ink);
}

.dchat-lead input:focus,
.dchat-lead textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
}

.dchat-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--muted);
}

.dchat-consent input {
    margin-top: 2px;
}

.dchat-err {
    color: var(--danger, #dc2626);
    font-size: 12.5px;
    margin: 0 !important;
}

.dchat-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.dchat-done {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #15803d;
    font-weight: 600;
    font-size: 13.5px;
}

.dchat-done .ico {
    flex-shrink: 0;
    margin-top: 2px;
}

/* keep WhatsApp + back-to-top clear of the chat launcher */

body.has-chat .fab-wa {
    bottom: 150px;
}

body.has-chat .to-top {
    bottom: 212px;
}

@media (min-width: 768px) {
    body.has-chat .fab-wa {
        bottom: 96px;
        right: 26px;
    }
    body.has-chat .to-top {
        bottom: 160px;
        right: 30px;
    }
}

body.has-chat .cookie-bar {
    margin-right: 0;
}

@media (max-width: 600px) {
    .dchat-panel {
        position: fixed;
        inset: 0;
        width: auto;
        height: 100%;
        height: 100dvh;
        border-radius: 0;
        border: 0;
        bottom: 0;
    }
    body.dchat-open {
        overflow: hidden;
    }
    body.dchat-open .dchat-launch,
    body.dchat-open .dchat-tip {
        display: none;
    }
    .dchat-tip {
        right: 60px;
        bottom: 12px;
    }
}

[data-theme="dark"] .dchat-panel {
    background: #0f172a;
    border-color: #1e293b;
}

[data-theme="dark"] .dchat-body {
    background: #0b1220;
}

[data-theme="dark"] .dchat-msg.bot .dchat-bubble,
[data-theme="dark"] .dchat-src a,
[data-theme="dark"] .dchat-chips button,
[data-theme="dark"] .dchat-lead,
[data-theme="dark"] .dchat-tip {
    background: #111c33;
    border-color: #1e293b;
    color: #e2e8f0;
}

[data-theme="dark"] .dchat-chips button {
    color: #93c5fd;
}

[data-theme="dark"] .dchat-form,
[data-theme="dark"] .dchat-foot {
    background: #0f172a;
    border-color: #1e293b;
}

[data-theme="dark"] .dchat-form textarea,
[data-theme="dark"] .dchat-lead input:not([type=checkbox]),
[data-theme="dark"] .dchat-lead textarea {
    background: #0b1220;
    border-color: #1e293b;
    color: #e2e8f0;
}

@media (prefers-reduced-motion: reduce) {
    .dchat-launch::after,
    .dchat-panel,
    .dchat-typing i {
        animation: none;
    }
}

@media print {
    .dchat {
        display: none !important;
    }
}

.h5 {
    font-size: 1.12rem;
    line-height: 1.3;
}

.h6 {
    font-size: 1rem;
    line-height: 1.3;
}

.h5 .ico,
.h6 .ico {
    display: inline-block;
    vertical-align: -2px;
    margin-right: 4px;
}

[data-theme="dark"] .to-top {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

/* ═══════════════ v1.7 ═══════════════ */

/* Event registration state */

.reg-badge {
    gap: 6px;
}

.reg-badge .reg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
    animation: regPulse 1.8s ease-in-out infinite;
}

@keyframes regPulse {
    50% {
        box-shadow: 0 0 0 6px transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reg-badge .reg-dot {
        animation: none;
    }
}

.reg-state-row {
    margin: -2px 0 12px;
}

.reg-state-row .reg-badge {
    font-size: 12px;
    padding: 5px;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
}

.reg-form-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 -2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    grid-column: 1 / -1;
}

#register .form-grid {
    grid-template-columns: 1fr;
}

.qa-row {
    display: grid;
    gap: 1px;
    padding: 4px 0;
    border-bottom: 1px dashed var(--line);
}

.qa-row:last-child {
    border-bottom: 0;
}

.qa-row .muted {
    font-size: 11.5px;
}

.qa-list {
    margin: 0;
    display: grid;
    gap: 8px;
}

.qa-list dt {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.qa-list dd {
    margin: 2px 0 0;
}

.qa-mini {
    font-size: 12px;
    line-height: 1.45;
    max-width: 260px;
}

.ecard-foot .reg-badge {
    font-size: 11.5px;
}

/* Lightbox (gallery.js) */

html.lbx-lock,
html.lbx-lock body {
    overflow: hidden;
}

.lbx {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgb(8, 10, 18);
    display: none;
    grid-template-rows: auto 1fr auto auto;
    color: #fff;
    -webkit-user-select: none;
    user-select: none;
}

.lbx.open {
    display: grid;
    animation: fadeIn .2s;
}

.lbx-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}

.lbx-count {
    font-size: 14px;
    font-weight: 600;
    opacity: .85;
    font-variant-numeric: tabular-nums;
}

.lbx-tools {
    display: flex;
    gap: 8px;
}

.lbx-btn,
.lbx-nav {
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s;
}

.lbx-btn {
    width: 44px;
    height: 44px;
}

.lbx-btn:hover,
.lbx-nav:hover {
    background: rgba(255, 255, 255, .24);
}

.lbx-btn:focus-visible,
.lbx-nav:focus-visible,
.lbx-thumbs button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.lbx-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0 64px;
}

.lbx-frame {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    touch-action: none;
}

.lbx-frame img {
    max-width: 100%;
    max-height: calc(100vh - 210px);
    object-fit: contain;
    border-radius: 6px;
    transition: transform .18s ease-out, opacity .25s;
    opacity: 0;
    cursor: zoom-in;
    will-change: transform;
}

.lbx-frame img.in {
    opacity: 1;
}

.lbx.zoomed .lbx-frame img {
    cursor: grab;
    transition: opacity .25s;
}

.lbx.zoomed .lbx-frame img:active {
    cursor: grabbing;
}

.lbx-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    z-index: 2;
}

.lbx-nav.prev {
    left: 10px;
}

.lbx-nav.next {
    right: 10px;
}

.lbx.single .lbx-nav,
.lbx.single .lbx-thumbs {
    display: none;
}

.lbx-cap {
    text-align: center;
    padding: 10px 20px 4px;
    font-size: 14px;
    opacity: .9;
    max-width: 900px;
    margin: 0 auto;
}

.lbx-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 10px 14px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.lbx-thumbs::-webkit-scrollbar {
    display: none;
}

.lbx-thumbs button {
    flex: 0 0 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #222;
    cursor: pointer;
    opacity: .55;
    transition: .15s;
}

.lbx-thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lbx-thumbs button.on {
    border-color: #fff;
    opacity: 1;
}

@media (max-width: 640px) {
    .lbx-stage {
        padding: 0 6px;
    }
    .lbx-nav {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, .45);
    }
    .lbx-frame img {
        max-height: calc(100vh - 190px);
    }
    .lbx-thumbs {
        justify-content: flex-start;
    }
}

/* Business photo gallery (max 6) */

.biz-gallery {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 130px;
}

.biz-gallery .bg-tile {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: var(--line-2);
}

.biz-gallery .bg-tile img,
.biz-gallery .bg-tile picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.biz-gallery .bg-tile:hover img {
    transform: scale(1.05);
}

.biz-gallery .bg-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .25));
    opacity: 0;
    transition: opacity .2s;
}

.biz-gallery .bg-tile:hover::after {
    opacity: 1;
}

.biz-gallery .bg-lead {
    grid-column: span 2;
    grid-row: span 2;
}

.biz-gallery .bg-all {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.biz-gallery.n1 {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
}

.biz-gallery.n1 .bg-lead {
    grid-column: auto;
    grid-row: auto;
}

.biz-gallery.n2 {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
}

.biz-gallery.n2 .bg-lead {
    grid-column: auto;
    grid-row: auto;
}

.biz-gallery.n3 {
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: 140px;
}

.biz-gallery.n3 .bg-lead {
    grid-column: 1;
    grid-row: span 2;
}

.biz-gallery.n4 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 140px;
}

.biz-gallery.n4 .bg-lead {
    grid-column: 1;
    grid-row: span 2;
}

.biz-gallery.n4 .bg-tile:last-child {
    grid-column: span 2;
}

.biz-gallery.n5 .bg-tile:not(.bg-lead) {
    grid-column: auto;
}

.biz-gallery.n6 {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
}

@media (max-width: 640px) {
    .biz-gallery,
    .biz-gallery.n3,
    .biz-gallery.n4,
    .biz-gallery.n5,
    .biz-gallery.n6 {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 110px;
    }
    .biz-gallery .bg-lead {
        grid-column: span 2;
        grid-row: span 2;
    }
    .biz-gallery.n4 .bg-tile:last-child {
        grid-column: auto;
    }
    .biz-gallery.n4 .bg-tile:last-child,
    .biz-gallery.n6 .bg-tile:last-child {
        grid-column: span 2;
    }
    .biz-gallery.n5 .bg-tile:last-child {
        grid-column: auto;
    }
    .biz-gallery.n1,
    .biz-gallery.n2 {
        grid-auto-rows: 150px;
    }
}

/* Product gallery: thumbnail rail + zoom */

.pg {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    align-self: start;
}

.pg.pg-multi {
    position: relative;
    padding-left: 96px;
}

.pg-rail {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pg-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    scrollbar-width: none;
    scroll-snap-type: y proximity;
    padding: 2px;
}

.pg-thumbs::-webkit-scrollbar {
    display: none;
}

.pg-thumbs button {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--line);
    padding: 0;
    background: #fff;
    cursor: pointer;
    opacity: .8;
    transition: border-color .15s, opacity .15s;
    scroll-snap-align: start;
}

.pg-thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg-thumbs button.on,
.pg-thumbs button:hover {
    border-color: var(--brand);
    opacity: 1;
}

.pg-thumbs button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.pg-tbtn {
    width: 32px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--bg, #fff);
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink-2);
    transition: opacity .15s;
}

.pg.pg-t-start .pg-tup,
.pg.pg-t-end .pg-tdown {
    opacity: .3;
    pointer-events: none;
}

.pg-stage {
    cursor: zoom-in;
    touch-action: pan-y;
}

.pg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.pg-slide.on {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    height: 100%;
}

.pg-slide picture,
.pg-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    display: block;
}

.pg-zoom {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 220%;
    background-color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
    z-index: 2;
}

.pg-zooming .pg-zoom {
    opacity: 1;
}

.pg-zooming .mcard-badges,
.pg-zooming .pg-arrow,
.pg-zooming .pg-count,
.pg-zooming .pg-hint {
    opacity: 0;
}

.pg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .92);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    opacity: 0;
    transition: opacity .2s;
}

.pg-prev {
    left: 12px;
}

.pg-next {
    right: 12px;
}

.pg-stage:hover .pg-arrow,
.pg-arrow:focus-visible {
    opacity: 1;
}

.pg-expand {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .92);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink);
}

.pg-count {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

.pg-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--muted);
    background: rgba(255, 255, 255, .9);
    padding: 3px 9px;
    border-radius: 999px;
}

@media (max-width: 860px) {
    .pg.pg-multi {
        padding-left: 0;
    }
    .pg-rail {
        position: static;
        width: auto;
        order: 2;
        flex-direction: row;
    }
    .pg-thumbs {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        scroll-snap-type: x proximity;
        flex: 1;
    }
    .pg-thumbs button {
        width: 64px;
        height: 64px;
    }
    .pg-tbtn {
        display: none;
    }
    .pg-arrow {
        opacity: 1;
        width: 34px;
        height: 34px;
    }
    .pg-stage {
        cursor: pointer;
    }
}

/* Gallery manager (upload forms) */

.gal-manager {
    display: grid;
    gap: 10px;
}

.gm-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.gm-count {
    font-weight: 700;
    font-size: 13.5px;
}

.gal-manager.gm-full .gm-count {
    color: var(--green);
}

.gm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
}

.gm-item {
    position: relative;
    display: grid;
    gap: 6px;
    align-content: start;
    border-radius: 12px;
    cursor: grab;
}

.gm-item>img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--line-2);
}

.gm-item.gm-drag {
    opacity: .45;
}

.gm-item.gm-removed>img {
    filter: grayscale(1);
    opacity: .35;
}

.gm-item.gm-removed .gm-alt,
.gm-item.gm-removed .gm-move {
    visibility: hidden;
}

.gm-item.gm-removed::after {
    content: "Will be removed";
    position: absolute;
    top: 34%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
}

.gm-pos,
.gm-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(15, 23, 42, .75);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.gm-badge {
    background: var(--green);
}

.gm-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: rgba(220, 38, 38, .92);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.gm-item.gm-removed .gm-remove {
    background: var(--ink);
}

.gm-item.gm-removed .gm-remove::before {
    content: "↺";
    font-size: 15px;
}

.gm-item.gm-removed .gm-remove {
    font-size: 0;
}

.gm-move {
    position: absolute;
    bottom: 6px;
    right: 6px;
    display: flex;
    gap: 4px;
}

.gm-item:has(.gm-alt) .gm-move {
    bottom: 42px;
}

.gm-move button {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 0;
    background: rgba(255, 255, 255, .92);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    box-shadow: var(--shadow-sm);
}

.gm-alt {
    font-size: 12px !important;
    padding: 5px 8px !important;
    min-height: 30px !important;
}

.gm-add {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    aspect-ratio: 4/3;
    border: 2px dashed var(--line);
    border-radius: 12px;
    cursor: pointer;
    color: var(--brand);
    text-align: center;
    padding: 8px;
    transition: border-color .15s, background .15s;
}

.gm-add:hover,
.gm-add:focus-within {
    border-color: var(--brand);
    background: var(--brand-50);
}

.gm-add span {
    font-weight: 700;
    font-size: 13px;
}

.gm-add small {
    font-size: 11px;
    color: var(--muted);
}

.gm-add input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.gm-new {
    cursor: default;
}

/* Blog: guides, category sections, pillar & cluster */

.bsec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.bsec-head h2 {
    margin: 4px 0 0;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.bsec-head p {
    max-width: 640px;
    margin-top: 6px;
    font-size: 14.5px;
}

.blog-catsec,
.blog-guides {
    padding: 36px 0;
}

.blog-catsec.alt,
.blog-guides.alt {
    background: var(--bg-soft);
}

.blog-catsec+.blog-catsec {
    border-top: 1px solid var(--line);
}

.blog-catsec.alt+.blog-catsec,
.blog-catsec+.blog-catsec.alt {
    border-top: 0;
}

@media (min-width: 1100px) {
    .bsec-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .bsec-grid .bcard p {
        display: none;
    }
}

@media (max-width: 700px) {
    .bsec-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        margin: 0 -16px;
        padding: 2px 16px 10px;
        scrollbar-width: none;
    }
    .bsec-grid::-webkit-scrollbar {
        display: none;
    }
    .bsec-grid>.bcard {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }
}

.bcard-guide {
    background: var(--ink);
    color: #fff;
}

.series-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px auto 18px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(90deg, var(--brand-50), transparent);
    color: var(--ink);
    text-decoration: none;
}

.series-banner:hover {
    border-color: var(--brand);
}

.series-banner .sb-ic {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
}

.series-banner small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.series-banner b {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.series-banner .sb-cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--brand);
    white-space: nowrap;
}

@media (max-width: 560px) {
    .series-banner .sb-cta {
        display: none;
    }
}

.pillar-index {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    margin: 0 0 28px;
    background: var(--bg, #fff);
    box-shadow: var(--shadow-sm);
}

.pillar-index h2 {
    margin: 6px 0 4px;
    font-size: 1.35rem;
}

.pi-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
    counter-reset: none;
}

.pi-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s, transform .15s, background .15s;
}

.pi-list a:hover {
    border-color: var(--brand);
    background: var(--brand-50);
    transform: translateX(2px);
}

.pi-n {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    color: var(--brand);
    min-width: 30px;
    align-self: center;
}

.pi-t {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}

.pi-t b {
    font-size: 15px;
}

.pi-t small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.pi-m {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
}

.series-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.series-foot small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.series-foot b a {
    color: var(--ink);
}

.sf-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.series-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
    background: var(--bg, #fff);
}

.series-card h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
}

.series-card .sc-hub {
    display: block;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.series-card ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
}

.series-card li a {
    display: flex;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 13.5px;
    color: var(--ink-2);
    text-decoration: none;
    line-height: 1.4;
}

.series-card li a span {
    flex: 0 0 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11.5px;
    font-weight: 700;
    background: var(--line-2);
    color: var(--muted);
}

.series-card li a:hover {
    background: var(--bg-soft);
}

.series-card li.cur a {
    background: var(--brand-50);
    color: var(--brand);
    font-weight: 600;
}

.series-card li.cur a span {
    background: var(--brand);
    color: #fff;
}

.sc-progress {
    height: 5px;
    border-radius: 9px;
    background: var(--line-2);
    margin-top: 12px;
    overflow: hidden;
}

.sc-progress i {
    display: block;
    height: 100%;
    background: var(--brand);
    border-radius: 9px;
}

/* FAQ help centre */

.faq-hero {
    padding: 36px 0 34px;
    background: radial-gradient(1200px 300px at 10% -10%, var(--brand-50), transparent), radial-gradient(900px 260px at 100% 0%, var(--accent-50), transparent);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.faq-hero .breadcrumbs {
    justify-content: center;
}

.faq-hero h1 {
    font-size: clamp(1.8rem, 4.2vw, 2.8rem);
    margin: 8px 0 6px;
}

.faq-hero .lead {
    margin: 0 auto 20px;
    max-width: 620px;
}

.faq-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 680px;
    margin: 0 auto;
    padding: 8px 8px 8px 18px;
    background: var(--bg, #fff);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.faq-search>svg {
    color: var(--muted);
    flex: 0 0 auto;
}

.faq-search input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent;
    font-size: 16px;
    padding: 10px 4px;
    outline: 0;
}

.faq-popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px auto 0;
    max-width: 860px;
    align-items: center;
}

.faq-popular a {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg, #fff);
    border: 1px solid var(--line);
    color: var(--ink-2);
    text-decoration: none;
}

.faq-popular a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.faq-topics-sec {
    padding: 36px 0 12px;
}

.faq-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

@media (min-width: 1000px) {
    .faq-topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.faq-topic {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 4px 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--bg, #fff);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.faq-topic:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.ft-ic {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-50);
    color: var(--brand);
}

.ft-ic.sm {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.ft-body {
    display: grid;
    gap: 3px;
}

.ft-body b {
    font-size: 15.5px;
}

.ft-body small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.ft-count {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    margin-top: 4px;
}

.faq-body-sec {
    padding-top: 28px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.faq-nav {
    position: sticky;
    top: calc(var(--header-h, 70px) + 16px);
}

.faq-nav-inner {
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg, #fff);
}

.faq-nav-h {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    padding: 6px 10px;
}

.faq-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 12px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.faq-nav a span {
    flex: 1;
    min-width: 0;
}

.faq-nav a small {
    font-size: 12px;
    color: var(--muted);
    background: var(--line-2);
    border-radius: 999px;
    padding: 1px 8px;
}

.faq-nav a:hover {
    background: var(--bg-soft);
}

.faq-nav a.on {
    background: var(--brand-50);
    color: var(--brand);
    font-weight: 700;
}

.faq-groups {
    display: grid;
    gap: 36px;
}

.faq-group {
    scroll-margin-top: calc(var(--header-h, 70px) + 20px);
}

.faq-group>header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.faq-group>header h2 {
    font-size: 1.3rem;
    margin: 0;
}

.faq-group details {
    scroll-margin-top: calc(var(--header-h, 70px) + 30px);
}

.faq-group details summary>span {
    flex: 1;
}

.faq-a {
    padding: 0 20px 16px;
    color: var(--ink-2);
    line-height: 1.7;
}

.faq-tools {
    margin-top: 10px;
}

.faq-copy {
    border: 0;
    background: none;
    padding: 0;
    font-size: 12.5px;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.faq-copy:hover {
    color: var(--brand);
}

.faq-flash {
    animation: faqFlash 1.6s ease;
}

@keyframes faqFlash {
    0%,
    40% {
        box-shadow: 0 0 0 4px var(--brand-100);
    }
    100% {
        box-shadow: none;
    }
}

.faq-noresult {
    text-align: center;
    padding: 30px;
    border: 1px dashed var(--line);
    border-radius: 18px;
}

.faq-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.faq-help h2 {
    margin: 6px 0 4px;
}

.faq-help-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .faq-nav {
        top: var(--header-h, 64px);
        z-index: 5;
        margin: 0 -16px;
        background: color-mix(in srgb, var(--bg, #fff) 92%, transparent);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--line);
    }
    .faq-nav-inner {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        padding: 10px 16px;
        border: 0;
        border-radius: 0;
        background: none;
        scrollbar-width: none;
    }
    .faq-nav-inner::-webkit-scrollbar {
        display: none;
    }
    .faq-nav-h {
        display: none;
    }
    .faq-group {
        scroll-margin-top: calc(var(--header-h, 64px) + 70px);
    }
    .faq-group details {
        scroll-margin-top: calc(var(--header-h, 64px) + 80px);
    }
    .faq-nav a {
        flex: 0 0 auto;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 7px 12px;
        background: var(--bg, #fff);
    }
    .faq-nav a svg {
        display: none;
    }
    .faq-topic-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .faq-topic {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .ft-ic {
        grid-row: auto;
        width: 40px;
        height: 40px;
    }
    .ft-body small {
        display: none;
    }
    .ft-count {
        grid-column: 1;
    }
    .faq-search {
        padding-left: 12px;
    }
    .faq-search .btn {
        display: none;
    }
}

/* Site social links */

.social {
    flex-wrap: wrap;
}

.social a[data-net="linkedin"]:hover {
    background: #0a66c2;
}

.social a[data-net="facebook"]:hover {
    background: #1877f2;
}

.social a[data-net="instagram"]:hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social a[data-net="youtube"]:hover {
    background: #ff0000;
}

.social a[data-net="whatsapp"]:hover {
    background: #25d366;
}

.social a[data-net="telegram"]:hover {
    background: #229ed9;
}

.social a[data-net="twitter"]:hover,
.social a[data-net="threads"]:hover {
    background: #000;
}

.contact-social {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
}

.soc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.soc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: var(--bg, #fff);
    transition: transform .15s, border-color .15s;
}

.soc-pill:hover {
    border-color: currentColor;
    transform: translateY(-1px);
}

.soc-editor {
    display: grid;
    gap: 10px;
}

.soc-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.soc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg, #fff);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    color: var(--ink-2);
    transition: border-color .15s, background .15s;
}

.soc-chip:hover {
    border-color: currentColor;
    background: var(--bg-soft);
}

.soc-chip svg {
    flex: 0 0 auto;
}

/* Banner ads (top / bottom / mid) — v1.7 refresh */

.ad-slot {
    --ad-r: 18px;
}

.ad-slot .ad-slider {
    border-radius: var(--ad-r);
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .18);
    background: var(--bg-soft);
    isolation: isolate;
}

.ad-top,
.ad-bottom,
.ad-mid {
    position: relative;
}

.ad-top::before,
.ad-bottom::before,
.ad-mid::before {
    content: "Sponsored";
    display: block;
    max-width: 970px;
    margin: 0 auto 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .8;
}

.ad-slot .ad-label {
    display: none;
}

.ad-sidebar .ad-label,
.ad-hero_left .ad-label,
.ad-hero_right .ad-label {
    display: block;
}

.ad-slot .ad-slide img {
    border-radius: 0;
    transition: transform .6s ease;
}

.ad-slot .ad-slide a:hover img {
    transform: scale(1.015);
}

.ad-slot .ad-slide.active {
    animation: adFade .5s ease;
}

@keyframes adFade {
    from {
        opacity: .2;
    }
    to {
        opacity: 1;
    }
}

.ad-slot .slider-dots {
    bottom: 10px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .35);
    backdrop-filter: blur(4px);
}

.ad-slot .slider-dots button {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: width .25s, background .25s;
}

.ad-slot .slider-dots button.active {
    width: 18px;
    background: #fff;
}

.ad-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: opacity .2s;
}

.ad-nav.ad-prev {
    left: 10px;
}

.ad-nav.ad-next {
    right: 10px;
}

.ad-slider:hover .ad-nav,
.ad-nav:focus-visible {
    opacity: 1;
}

.ad-wrap {
    margin-top: 22px;
    margin-bottom: 6px;
}

.ad-bottom {
    margin: 12px 0 36px;
}

@media (max-width: 767px) {
    .ad-slot {
        --ad-r: 14px;
    }
    .ad-nav {
        display: none;
    }
    .ad-top::before,
    .ad-bottom::before,
    .ad-mid::before {
        margin-bottom: 4px;
    }
    .ad-wrap {
        margin-top: 14px;
    }
}

/* Sponsored cards between listing cards */

.ad-card {
    position: relative;
    border-radius: var(--radius-lg, 18px);
    border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line));
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent-50) 70%, transparent), var(--bg, #fff) 60%);
    overflow: hidden;
    min-width: 0;
}

.ad-card .adc-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--ink);
    text-decoration: none;
}

.ad-card .adc-img {
    display: block;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: var(--line-2);
}

.ad-card .adc-img img,
.ad-card .adc-img picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.ad-card:hover .adc-img img {
    transform: scale(1.03);
}

.ad-card .adc-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
    flex: 1;
}

.adc-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--accent);
}

.adc-title {
    font-size: 15.5px;
    line-height: 1.4;
    font-family: var(--font-head);
}

.adc-cta {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    padding: 8px 14px;
    border-radius: 999px;
}

.ad-card-row .adc-link {
    flex-direction: row;
    align-items: stretch;
}

.ad-card-row .adc-img {
    flex: 0 0 200px;
    aspect-ratio: auto;
}

.ad-card-row .adc-body {
    justify-content: center;
}

@media (max-width: 560px) {
    .ad-card-row .adc-link {
        flex-direction: column;
    }
    .ad-card-row .adc-img {
        flex: none;
        aspect-ratio: 2 / 1;
    }
}

.mk-grid .ad-card,
.blog-grid .ad-card {
    height: 100%;
}

.ad-mid::before {
    max-width: none;
}

/* Success story page */

.pcard-img {
    display: block;
}

.pcard-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .92);
    color: var(--accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    transition: transform .2s;
}

.pcard-play svg {
    margin-left: 3px;
    fill: currentColor;
}

.pcard:hover .pcard-play {
    transform: scale(1.08);
}

.story-hero {
    padding: 26px 0 40px;
    background: radial-gradient(900px 320px at 0% 0%, var(--brand-50), transparent), radial-gradient(700px 280px at 100% 10%, var(--accent-50), transparent);
    border-bottom: 1px solid var(--line);
}

.story-hero.story-video,
.story-hero.story-podcast {
    background: radial-gradient(800px 320px at 85% 20%, rgba(124, 58, 237, .35), transparent 60%), linear-gradient(160deg, #0f172a, #1e1b4b);
    color: #e2e8f0;
    border-bottom: 0;
}

.story-video .breadcrumbs a,
.story-podcast .breadcrumbs a {
    color: #cbd5e1;
}

.sh-grid {
    display: grid;
    gap: 28px;
    align-items: center;
    margin-top: 10px;
}

@media (min-width: 960px) {
    .sh-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 48px;
    }
    .story-article .sh-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    }
}

.sh-format {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-50);
    color: var(--accent);
}

.story-video .sh-format,
.story-podcast .sh-format {
    background: rgba(255, 255, 255, .12);
    color: #fde68a;
}

.story-hero h1 {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    margin: 14px 0 10px;
    line-height: 1.18;
}

.story-video h1,
.story-podcast h1 {
    color: #fff;
}

.sh-dek {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-2);
    margin: 0 0 18px;
}

.story-video .sh-dek,
.story-podcast .sh-dek {
    color: #cbd5e1;
}

.sh-founder {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.sh-founder img,
.sh-founder i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 800;
    background: var(--brand);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
}

.sh-founder b {
    display: block;
    font-size: 16px;
}

.sh-founder small {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.story-video .sh-founder small,
.story-podcast .sh-founder small {
    color: #94a3b8;
}

.story-video .sh-founder small a,
.story-podcast .sh-founder small a {
    color: #c4b5fd;
}

.sh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: var(--muted);
}

.sh-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.story-video .sh-meta,
.story-podcast .sh-meta {
    color: #94a3b8;
}

.vplayer {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
    cursor: pointer;
}

.vplayer>picture,
.vplayer>img,
.vplayer picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s, filter .3s;
}

.vplayer:hover picture img,
.vplayer:hover>img {
    transform: scale(1.03);
    filter: brightness(.85);
}

.vplayer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vp-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.vp-play span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .18), 0 10px 30px rgba(0, 0, 0, .4);
    transition: transform .2s;
}

.vp-play svg {
    margin-left: 5px;
    fill: currentColor;
}

.vplayer:hover .vp-play span,
.vp-play:focus-visible span {
    transform: scale(1.08);
}

.vp-dur {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
}

.vp-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
}

.pplayer {
    display: grid;
    gap: 12px;
}

.pp-art {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}

.pp-art picture,
.pp-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pp-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
}

.pp-embed {
    width: 100%;
    height: 152px;
    border: 0;
    border-radius: 14px;
}

.pp-audio {
    background: rgba(255, 255, 255, .08);
    padding: 10px;
    border-radius: 14px;
}

.pp-audio audio {
    width: 100%;
}

.sh-cover {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 10;
}

.sh-cover picture,
.sh-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-body-sec {
    padding-top: 34px;
}

.story-prose {
    font-size: 17px;
}

.story-company {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--bg, #fff);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}

.story-company:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.story-company img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 56px;
}

.story-company>span:nth-child(2) {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.story-company small {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.story-company b {
    font-size: 16px;
}

.story-company em {
    font-style: normal;
    font-size: 13.5px;
    color: var(--ink-2);
}

.story-company .sc-go {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--brand);
    white-space: nowrap;
}

@media (max-width: 560px) {
    .story-company .sc-go {
        display: none;
    }
}

.story-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding: 28px;
    border-radius: 22px;
    color: #fff;
    background: radial-gradient(500px 200px at 90% 0%, rgba(249, 115, 22, .45), transparent 60%), linear-gradient(120deg, var(--brand), var(--violet));
}

.story-cta h2 {
    color: #fff;
    margin: 6px 0 4px;
    font-size: 1.4rem;
}

.story-cta p {
    margin: 0;
    opacity: .9;
}

.story-aside {
    display: grid;
    gap: 18px;
    align-content: start;
}

.story-enquiry .form-grid {
    grid-template-columns: 1fr;
}

.sf-list {
    display: grid;
    gap: 12px;
}

.sf-item {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.sf-img {
    position: relative;
    flex: 0 0 92px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--line-2);
}

.sf-img picture,
.sf-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sf-img i {
    position: absolute;
    left: 6px;
    bottom: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .7);
    color: #fff;
}

.sf-t {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.sf-t b {
    font-size: 14px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-t small {
    font-size: 12.5px;
    color: var(--muted);
}

.sf-item:hover b {
    color: var(--brand);
}

/* Radius filter */

.radius-filter .rf-row {
    display: flex;
    gap: 8px;
}

.radius-filter .rf-row select {
    flex: 1;
    min-width: 0;
}

.rf-near {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.rf-near.on {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.rf-near.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.radius-filter.compact {
    display: inline-flex;
}

.radius-filter.compact .rf-row {
    gap: 6px;
}

.dist-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    background: color-mix(in srgb, var(--green) 10%, transparent);
    padding: 2px 8px;
    border-radius: 999px;
}

/* Shortcodes: every block adapts to the column it is placed in (container queries) */

.sc {
    container-type: inline-size;
    margin: 28px 0;
}

.sc:first-child {
    margin-top: 0;
}

.sc-grid {
    display: grid;
    gap: 18px;
}

.sc-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sc-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@container (max-width: 1000px) {
    .sc-grid.cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@container (max-width: 780px) {
    .sc-grid.cols-3,
    .sc-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container (max-width: 520px) {
    .sc-grid.cols-2,
    .sc-grid.cols-3,
    .sc-grid.cols-4 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container (max-width: 860px) {
    .faq-split {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
    }
    .faq-aside {
        position: static !important;
    }
}

.sc-news {
    display: grid;
    gap: 16px;
    align-items: center;
}

@container (min-width: 760px) {
    .sc-news {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 28px;
    }
}

.scw-testimonials {
    overflow: hidden;
    padding: 0 2px;
}

.scw-testimonials .tst-head {
    flex-wrap: wrap;
}

@container (max-width: 640px) {
    .sc-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .sc-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* article typography must not leak into components */

.prose .sc :is(ul,
ol) {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prose .sc a:not(.btn) {
    text-decoration: none;
}

.prose .sc :is(h2,
h3,
h4) {
    scroll-margin-top: 0;
}

.prose .sc h3,
.prose .sc h4 {
    margin: 0;
    font-size: inherit;
}

.prose .sc .bcard h3,
.prose .sc .pcard h3,
.prose .sc .ecard h3 {
    font-size: 1.02rem;
    line-height: 1.35;
}

.prose .sc p {
    margin: 0;
}

.prose .sc img,
.prose .sc picture img {
    margin: 0;
    border-radius: 0;
}

.prose .scw-image img,
.prose .scw-image picture img {
    border-radius: 12px;
}

.prose .sc .faq summary,
.prose .sc .faq div {
    line-height: 1.6;
}

.prose .sc-contact a {
    text-decoration: none;
    color: var(--ink);
}

.prose a.btn {
    text-decoration: none;
}

.prose p>a.btn+a.btn {
    margin-left: 8px;
}

.prose .btn-primary,
.prose .btn-accent {
    color: #fff;
}

/* Full-width page layout for pages built with shortcodes */

.flow-hero {
    padding: 30px 0 34px;
    background: radial-gradient(900px 300px at 0% 0%, var(--brand-50), transparent), radial-gradient(700px 260px at 100% 0%, var(--accent-50), transparent);
    border-bottom: 1px solid var(--line);
}

.flow-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin: 10px 0 8px;
}

.flow-hero .lead {
    max-width: 680px;
    margin: 0;
}

.fh-grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

@media (min-width: 900px) {
    .flow-hero.has-img .fh-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
        gap: 40px;
    }
}

.fh-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 10;
}

.fh-img picture,
.fh-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-flow> :not(.sc-wide) {
    /* max-width: 820px; */
}

.page-flow>.sc-wide {
    margin: 40px 0;
}

.page-flow>h2 {
    margin-top: 2em;
}

.page-flow>h2+.sc-wide {
    margin-top: 18px;
}

.page-flow>.sc-wide:first-child {
    margin-top: 0;
}

/* phones: shortcode card grids become swipeable rows, like an app */

@container (max-width: 520px) {
    .sc-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding: 2px 2px 10px;
        scrollbar-width: none;
    }
    .sc-grid::-webkit-scrollbar {
        display: none;
    }
    .sc-grid>* {
        flex: 0 0 84%;
        scroll-snap-align: start;
    }
}

/* ═════ App-like mobile polish (v1.7) ═════ */

.cookie-bar .cb-text {
    flex: 1 1 260px;
    min-width: 0;
}

/* body:has(#cookie-bar:not([hidden])) :is(.dchat:not(.open),
.fab-wa,
.to-top) {
    opacity: 0;
    pointer-events: none;
} */

@media (max-width: 767px) {
    .cookie-bar {
        left: 10px;
        right: 10px;
        max-width: none;
        padding: 12px 14px;
        font-size: 13px;
        z-index: 400;
    }
    .cookie-bar> :not(.cb-text) {
        flex: 1 1 0;
        justify-content: center;
    }
    /* tap targets & spacing */
    .btn {
        min-height: 42px;
    }
    .btn-sm {
        min-height: 36px;
    }
    .section {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .page-hero {
        padding-top: 20px !important;
        padding-bottom: 22px !important;
    }
    .page-hero h1,
    .blog-hero h1 {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }
    .ad-slot .ad-slide img {
        max-height: 160px;
    }
    /* sticky results bar like an app toolbar */
    .results-bar,
    .list-bar {
        position: sticky;
        top: var(--header-h, 64px);
        z-index: 20;
        background: color-mix(in srgb, var(--bg, #fff) 94%, transparent);
        backdrop-filter: blur(10px);
        margin-left: -16px;
        margin-right: -16px;
        padding: 8px 16px;
        border-bottom: 1px solid var(--line);
    }
    /* horizontal, swipeable chip rails */
    .pill-tabs,
    .cat-rail,
    .sub-rail {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .pill-tabs::-webkit-scrollbar,
    .cat-rail::-webkit-scrollbar,
    .sub-rail::-webkit-scrollbar {
        display: none;
    }
    .pill-tabs>*,
    .cat-rail>*,
    .sub-rail>* {
        flex: 0 0 auto;
    }
    /* cards feel native */
    .card,
    .bcard,
    .ecard,
    .pcard {
        border-radius: 16px;
    }
    .card-hover:hover,
    .bcard:hover {
        transform: none;
    }
    .card:active,
    .bcard:active,
    .ad-card:active {
        transform: scale(.99);
    }
    /* blog & story listings: tighter vertical rhythm */
    .blog-grid {
        gap: 14px;
    }
    .events-toolbar form,
    .flex.between.flex-wrap.mb-4>form {
        width: 100%;
    }
}

/* smooth momentum + no grey tap flash on touch devices */

@media (hover: none) {
    a,
    button {
        -webkit-tap-highlight-color: transparent;
    }
}

html {
    -webkit-text-size-adjust: 100%;
}

@media (max-width: 767px) {
    .results-bar {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }
    .results-bar> :first-child {
        flex: 1 1 auto;
        min-width: 0;
    }
    .results-bar form,
    .list-bar form {
        flex: 0 0 auto;
        margin-left: auto;
    }
    .results-bar select,
    .list-bar select {
        width: auto;
        min-height: 36px;
        max-width: 150px;
        font-size: 13.5px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .results-bar .muted.small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .flex.between.flex-wrap.mb-4>form[data-autosubmit] {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 -16px;
        padding: 2px 16px 6px;
        width: calc(100% + 32px);
    }
    .flex.between.flex-wrap.mb-4>form[data-autosubmit]::-webkit-scrollbar {
        display: none;
    }
    .flex.between.flex-wrap.mb-4>form[data-autosubmit]>* {
        flex: 0 0 auto;
    }
    .flex.between.flex-wrap.mb-4>form[data-autosubmit] input[type=search] {
        width: 160px !important;
    }
}

@media (max-width: 600px) {
    .lcard-cover {
        aspect-ratio: 16 / 5;
    }
    .lcard-body {
        padding-top: 0;
    }
    .lcard .lcard-logo {
        width: 52px !important;
        height: 52px !important;
    }
}

/* ==========================================================================
   v1.8 — promotions: popup, announcement bar, disclaimer, install close
   ========================================================================== */

.announce-bar {
    background: linear-gradient(90deg, var(--brand), var(--brand-600));
    color: #fff;
    font-size: 14px;
    position: relative;
    z-index: 41;
}

.announce-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.announce-bar p {
    margin: 0;
    flex: 1;
    min-width: 0;
    line-height: 1.4;
}

.announce-bar .ab-body {
    opacity: .9;
}

.announce-bar .ab-ic {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
    flex: none;
}

.announce-bar .ab-cta {
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .16);
}

.announce-bar .ab-cta:hover {
    background: rgba(255, 255, 255, .26);
}

.announce-bar .ab-x {
    background: none;
    border: 0;
    color: #fff;
    opacity: .8;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.announce-bar .ab-x:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .14);
}

@media (max-width: 640px) {
    .announce-bar .ab-body {
        display: none;
    }
    .announce-bar {
        font-size: 13px;
    }
    .announce-bar .ab-ic {
        display: none;
    }
}

.site-disclaimer {
    background: var(--amber-50);
    border-top: 1px solid #fde68a;
    color: #78350f;
    font-size: 13px;
    line-height: 1.55;
}

.site-disclaimer .container {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-disclaimer p {
    margin: 0;
}

.site-disclaimer .sd-ic {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #fef3c7;
    color: var(--amber);
    display: grid;
    place-items: center;
}

[data-theme="dark"] .site-disclaimer {
    background: #2a2210;
    border-color: #78591c;
    color: #fde68a;
}

[data-theme="dark"] .site-disclaimer .sd-ic {
    background: #3d3114;
}

.install-bar .install-x {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.install-bar .install-x:hover {
    background: rgba(255, 255, 255, .2);
}

.pp-lock,
.pp-lock body {
    overflow: hidden;
}

.promo-pop {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 16px;
}

.promo-pop[hidden] {
    display: none;
}

.promo-pop .pp-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .22s;
}

.promo-pop .pp-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .45);
    transform: translateY(18px) scale(.97);
    opacity: 0;
    transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), opacity .22s;
}

.promo-pop.show .pp-backdrop {
    opacity: 1;
}

.promo-pop.show .pp-card {
    transform: none;
    opacity: 1;
}

.promo-pop.has-img:not(.pp-image) .pp-card {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 720px;
}

@media (min-width: 680px) {
    .promo-pop.has-img:not(.pp-image) .pp-card {
        grid-template-columns: 42% 1fr;
    }
}

.promo-pop .pp-media {
    background: var(--brand-50);
    min-height: 160px;
}

.promo-pop .pp-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 260px;
}

@media (min-width: 680px) {
    .promo-pop .pp-media img {
        max-height: none;
    }
}

.promo-pop .pp-body {
    padding: 30px 28px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.promo-pop .pp-body-sm {
    padding: 18px 22px 20px;
}

.promo-pop .pp-body h2 {
    font-size: 1.45rem;
    line-height: 1.25;
    margin: 0;
}

.promo-pop .pp-text {
    color: var(--ink-2);
    margin: 0;
    font-size: 15px;
}

.promo-pop .pp-eyebrow {
    align-self: center;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--brand);
    background: var(--brand-50);
    padding: 5px 12px;
    border-radius: 99px;
}

.promo-pop.pp-discount .pp-eyebrow,
.promo-pop.pp-offer .pp-eyebrow {
    color: #c2410c;
    background: var(--accent-50);
}

.promo-pop .pp-discount {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -.02em;
}

.promo-pop .pp-coupon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    border: 2px dashed #fdba74;
    background: var(--accent-50);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--muted);
}

.promo-pop .pp-coupon code {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: .08em;
    background: none;
}

.promo-pop .pp-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.promo-pop .pp-form input {
    flex: 1 1 200px;
    min-width: 0;
}

.promo-pop .pp-form .btn {
    flex: 0 0 auto;
}

@media (max-width: 480px) {
    .promo-pop .pp-form .btn {
        flex: 1 1 100%;
    }
}

.promo-pop .pp-fine {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.promo-pop .pp-later {
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 4px;
    align-self: center;
}

.promo-pop .pp-x {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .18);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .15s;
}

.promo-pop .pp-x:hover {
    transform: rotate(90deg);
}

.promo-pop .pp-banner-link,
.promo-pop .pp-banner {
    display: block;
    width: 100%;
    height: auto;
}

.promo-pop.pp-image .pp-card {
    overflow: hidden;
}

@media (max-width: 600px) {
    .promo-pop {
        align-items: end;
        padding: 0;
    }
    .promo-pop .pp-card {
        border-radius: 22px 22px 0 0;
        max-height: 88vh;
        transform: translateY(40px);
    }
    .promo-pop .pp-body {
        padding: 26px 20px calc(18px + env(safe-area-inset-bottom));
    }
}

[data-theme="dark"] .promo-pop .pp-card {
    background: #0f172a;
    color: #e2e8f0;
}

[data-theme="dark"] .promo-pop .pp-text {
    color: #cbd5e1;
}

[data-copy].copied {
    background: var(--green-50) !important;
    color: var(--green) !important;
    border-color: #bbf7d0 !important;
}

/* ==========================================================================
   v1.8 — FAQ vertical tabs, ask box, compact page FAQs
   ========================================================================== */

.faq-tabs-sec {
    padding-top: 32px;
}

.faq-tabs {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.faq-tablist-wrap {
    position: sticky;
    top: calc(var(--header-h, 70px) + 16px);
    display: grid;
    gap: 12px;
}

.faq-tablist {
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.faq-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s;
}

.faq-tab:hover {
    background: var(--bg-soft);
    color: var(--ink);
}

.faq-tab.on {
    background: var(--brand-50);
    color: var(--brand);
    border-left-color: var(--brand);
}

.faq-tab .ft-name {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.faq-tab small {
    font-size: 12px;
    color: var(--muted);
    background: var(--line-2);
    border-radius: 99px;
    padding: 1px 8px;
    font-weight: 700;
}

.faq-tab.on small {
    background: #fff;
    color: var(--brand);
}

.faq-tab .ft-ic.sm {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    flex: none;
}

.faq-tab.on .ft-ic.sm {
    background: #fff;
}

.faq-ask-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--accent-50);
    color: #c2410c;
    font-weight: 600;
    font-size: 14px;
}

.faq-panel {
    min-width: 0;
    outline: none;
}

.faq-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.faq-panel-head h2 {
    font-size: 1.35rem;
    margin: 0;
}

.faq-list details[hidden] {
    display: none;
}

.faq-list summary {
    padding: 15px 18px;
}

.faq-list .faq-a {
    padding: 0 18px 16px;
}

.faq-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
    background: var(--bg-soft);
    border-radius: 99px;
    padding: 2px 10px;
    margin-right: 10px;
}

.faq-ask {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-50), #fff 60%);
}

.faq-ask-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.faq-ask-head h3 {
    margin: 0 0 2px;
    font-size: 1.15rem;
}

.fa-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    flex: none;
}

@media (max-width: 899px) {
    .faq-tabs {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .faq-tablist-wrap {
        top: var(--header-h, 64px);
        z-index: 6;
        margin: 0 -16px;
        padding: 0;
        background: color-mix(in srgb, var(--bg, #fff) 94%, transparent);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--line);
    }
    .faq-tablist-wrap{
        top: 55px;
    }
    .faq-tablist {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        padding: 10px 16px;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        scrollbar-width: none;
    }
    .faq-tablist::-webkit-scrollbar {
        display: none;
    }
    .faq-tablist .faq-nav-h {
        display: none;
    }
    .faq-tab {
        flex: none;
        border-left: 0;
        border: 1px solid var(--line);
        border-radius: 99px;
        padding: 6px 12px;
        font-size: 13px;
        background: #fff;
    }
    .faq-tab.on {
        border-color: var(--brand);
    }
    .faq-tab .ft-ic.sm {
        display: none;
    }
    .faq-ask {
        padding: 16px;
    }
    .faq-panel-head h2{
        font-size: 1rem;
    }
}

.pf-compact {
    padding: 40px 0;
}

.pf-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pf-head h2 {
    margin: 4px 0 0;
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}

.pf-grid {
    display: grid;
    gap: 10px;
    align-items: start;
}

@media (min-width: 900px) {
    .pf-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pf-grid summary {
    padding: 13px 16px;
    font-size: 15px;
}

.pf-grid .faq-a {
    padding: 0 16px 14px;
    font-size: 14.5px;
    max-height: 260px;
    overflow: auto;
}

[data-theme="dark"] .faq-tablist,
[data-theme="dark"] .faq-tab {
    background: #111a2b;
}

[data-theme="dark"] .faq-ask {
    background: #111a2b;
}

/* v1.8 — categories page: one clear section per content type */

.cat-jump {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.cat-jump-track {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.cat-jump a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 99px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.cat-jump a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.cat-jump small {
    font-size: 12px;
    color: var(--muted);
    background: var(--bg-soft);
    border-radius: 99px;
    padding: 0 7px;
}

@media (max-width: 767px) {
    .cat-jump-track {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 -16px;
        padding: 10px 16px;
    }
    .cat-jump-track::-webkit-scrollbar {
        display: none;
    }
}

.cat-sec {
    scroll-margin-top: calc(var(--header-h) + 60px);
}

.cat-sec-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cat-sec-head>div {
    flex: 1;
    min-width: 200px;
}

.cat-sec-head h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
}

.cs-ic {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-50);
    color: var(--brand);
    flex: none;
}

.cs-blog .cs-ic,
.cs-knowledge .cs-ic {
    background: var(--violet-50);
    color: var(--violet);
}

.cs-job .cs-ic,
.cs-marketplace .cs-ic {
    background: var(--green-50);
    color: var(--green);
}

.cs-event .cs-ic,
.cs-story .cs-ic {
    background: var(--accent-50);
    color: #c2410c;
}

.cs-scheme .cs-ic {
    background: var(--amber-50);
    color: var(--amber);
}

.cat-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.cat-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.cat-tile:hover {
    border-color: var(--brand-100);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.cat-tile>.ico:last-child {
    color: var(--muted);
    margin-left: auto;
    flex: none;
}

.ct-ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    color: var(--ink-2);
    flex: none;
}

.ct-t {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ct-t b {
    font-size: 14.5px;
    line-height: 1.3;
}

.ct-t small {
    color: var(--muted);
    font-size: 12.5px;
}

.cat-card {
    position: relative;
}

.cat-card .stretched {
    color: var(--ink);
}

.cat-card .cat-subs {
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .cat-tile,
[data-theme="dark"] .cat-jump a {
    background: #111a2b;
}

/* ==========================================================================
   v1.8 — blog sidebar, numbered TOC, internal links grid, helpful vote
   ========================================================================== */

.blog-with-side {
    display: grid;
    gap: 28px;
}

@media (min-width: 1100px) {
    .blog-with-side:not(.no-side) {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }
    .blog-with-side:not(.no-side) .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bws-main {
    min-width: 0;
}

.bws-side {
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.bside {
    display: grid;
    gap: 16px;
}

.bside-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.bside-h {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-50);
}

.bside-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 14px;
}

.bside-search>.ico {
    color: var(--muted);
    flex: none;
}

.bside-search input {
    border: 0 !important;
    box-shadow: none !important;
    padding: 6px 0 !important;
    min-height: 36px;
    flex: 1;
    min-width: 0;
    background: transparent;
}

.bside-ad {
    position: relative;
}

.bside-label {
    display: block;
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.bside-ad .ad-slot {
    margin: 0;
    padding: 0;
}

.bside-cats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
}

.bside-cats a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--ink-2);
    font-size: 14px;
}

.bside-cats a:hover,
.bside-cats a.on {
    background: var(--brand-50);
    color: var(--brand);
}

.bside-cats small {
    color: var(--muted);
    background: var(--bg-soft);
    border-radius: 99px;
    padding: 0 8px;
    font-weight: 700;
}

.bside-pop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.bside-pop a {
    display: flex;
    gap: 12px;
    color: var(--ink);
    align-items: flex-start;
}

.bside-pop a:hover b {
    color: var(--brand);
}

.bp-img {
    position: relative;
    width: 72px;
    height: 56px;
    flex: none;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-soft);
}

.bp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-img i {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--brand);
    color: #fff;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.bside-pop b {
    font-size: 13.5px;
    line-height: 1.35;
    display: block;
}

.bside-pop small {
    font-size: 12px;
    color: var(--muted);
}

.bside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bside-tags a {
    font-size: 12.5px;
    padding: 4px 10px;
    border-radius: 99px;
    background: var(--bg-soft);
    color: var(--ink-2);
    border: 1px solid var(--line);
}

.bside-tags a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.bside-nl {
    background: linear-gradient(160deg, var(--brand), #4338ca);
    color: #fff;
    border: 0;
}

.bside-nl h3 {
    margin: 8px 0 4px;
    font-size: 1.05rem;
    color: #fff;
}

.bside-nl p {
    color: rgba(255, 255, 255, .85);
}

.bnl-ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .15);
}

.bside-nl .nl-form {
    gap: 8px;
}

.bside-nl .nl-form label,
.bside-nl .nl-form .small,
.bside-nl .nl-form .hint {
    color: rgba(255, 255, 255, .85);
}

.bside-nl .nl-form .btn-primary {
    background: #fff;
    color: var(--brand);
}

.bside-rel {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.bside-rel a {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.35;
}

.bside-rel a:hover {
    color: var(--brand);
}

.bside-rel small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.toc-tree ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
}

.toc-tree a {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--ink-2);
}

.toc-tree a:hover,
.toc-tree a.on {
    background: var(--brand-50);
    color: var(--brand);
}

.toc-tree .tn {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--brand);
    min-width: 22px;
}

.toc-tree .toc-sub {
    padding-left: 16px !important;
    border-left: 2px solid var(--line-2);
    margin-left: 12px !important;
}

.toc-tree .toc-sub a {
    font-size: 13px;
}

.toc-tree .toc-sub .tn {
    font-weight: 700;
    color: var(--muted);
}

/* .toc-card .toc-tree { max-height: 60vh; overflow: auto; } */

.post-aside .bside {
    margin-top: 16px;
}

.ilinks {
    margin: 32px 0 8px;
}

.ilinks h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    margin: 0 0 14px;
}

.ilinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.ilink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.ilink:hover {
    border-color: var(--brand-100);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.ilink>.ico:last-child {
    margin-left: auto;
    color: var(--muted);
    flex: none;
}

.il-ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--brand-50);
    color: var(--brand);
    flex: none;
}

.il-img {
    width: 56px;
    height: 44px;
    border-radius: 9px;
    overflow: hidden;
    flex: none;
}

.il-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.il-t {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.il-t b {
    font-size: 14.5px;
    line-height: 1.35;
}

.il-t small {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.helpful {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 26px 0 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-soft);
}

.helpful>span {
    font-weight: 700;
    margin-right: 4px;
}

.helpful .btn.on {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.helpful button:disabled:not(.on) {
    opacity: .5;
}

[data-theme="dark"] .bside-card:not(.bside-nl),
[data-theme="dark"] .ilink {
    background: #111a2b;
}

.bnl-form {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.bnl-form input {
    background: #fff;
    border-color: transparent;
}

.bnl-fine {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
}

.toc-tree .tn {
    flex: none;
}

/* v1.8 — magazine detail */

.mag-detail {
    display: grid;
    gap: 32px;
    align-items: start;
}

@media (min-width: 860px) {
    .mag-detail {
        grid-template-columns: 340px minmax(0, 1fr);
    }
}

.md-cover .mag-cover {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .45);
    aspect-ratio: 3 / 4;
    background: var(--bg-soft);
}

.md-cover .mag-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 859px) {
    .md-cover {
        max-width: 280px;
        margin: 0 auto;
    }
}

.md-info h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    margin: 8px 0 10px;
}

.md-lead {
    color: var(--ink-2);
    font-size: 16.5px;
    line-height: 1.7;
}

.md-hl {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0 24px;
}

.md-hl div {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-soft);
}

.md-hl dt {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}

.md-hl dd {
    margin: 4px 0 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
}

.md-about {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

@media (min-width: 900px) {
    .md-about {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }
}

.md-h {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    margin: 0 0 12px;
}

.md-inside {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.md-inside li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
    line-height: 1.45;
}

.md-inside li:last-child {
    border-bottom: 0;
}

.md-inside span {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--brand);
    font-size: 14px;
    flex: none;
}

.md-cta {
    display: grid;
    gap: 20px;
    margin-top: 32px;
    padding: 28px;
    border-radius: 20px;
    color: #fff;
    background: radial-gradient(600px 200px at 90% 0%, rgba(249, 115, 22, .35), transparent), linear-gradient(135deg, #0f172a, var(--brand-600));
}

@media (min-width: 860px) {
    .md-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 36px;
    }
}

.md-cta h2 {
    color: #fff;
    margin: 8px 0;
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
}

.md-cta p {
    color: rgba(255, 255, 255, .85);
    margin: 0 0 12px;
}

.md-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, .92);
}

.md-perks li {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.md-cta-a {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.md-cta-link {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    text-decoration: underline;
}

/* v1.8 — success story founder card, sources & disclaimer */

.founder-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin: 28px 0 0;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, var(--brand-50), #fff 70%);
}

.fc-person {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fc-person img,
.fc-person>i {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--shadow);
    flex: none;
}

.fc-person>i {
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-style: normal;
    font-size: 28px;
    font-weight: 800;
}

.fc-person small {
    color: var(--brand);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 11.5px;
}

.fc-person h3 {
    margin: 2px 0;
    font-size: 1.2rem;
}

.fc-person p {
    margin: 0;
    color: var(--ink-2);
    font-size: 14px;
}

.fc-company {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.fc-logo {
    display: grid;
    place-items: center;
    width: 120px;
    height: 64px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.fc-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.story-sources {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.story-sources h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin: 0 0 8px;
}

.story-sources ol {
    margin: 0 0 12px;
    padding-left: 20px;
    display: grid;
    gap: 4px;
    font-size: 14px;
}

.story-sources a {
    color: var(--brand);
    word-break: break-word;
}

.sd-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0;
    font-size: 13px;
    color: #78350f;
    background: var(--amber-50);
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 10px 12px;
}

.sd-note .ico {
    flex: none;
    margin-top: 2px;
    color: var(--amber);
}

[data-theme="dark"] .founder-card {
    background: #111a2b;
}

/* v1.8 — schemes: updated date, who should apply, checklist, mistakes, PDF */

.gs-updated {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--muted);
    margin: 6px 0 10px;
}

.gs-updated span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gs-notgov {
    color: #92400e;
    background: var(--amber-50);
    border: 1px solid #fde68a;
    border-radius: 99px;
    padding: 2px 10px;
}

.gs-who,
.gs-mistakes ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.gs-who li,
.gs-mistakes li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.gs-who .ico {
    color: var(--green);
    flex: none;
    margin-top: 3px;
}

.gs-mistakes {
    border-color: #fecaca;
    background: linear-gradient(180deg, var(--red-50), #fff 60%);
}

.gs-mistakes .ico {
    color: var(--red);
    flex: none;
    margin-top: 3px;
}

.gs-check {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.gs-check label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.gs-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--green);
    flex: none;
}

.gs-check label:has(input:checked) {
    background: var(--green-50);
    border-color: #bbf7d0;
}

.gs-check label:has(input:checked) span {
    text-decoration: line-through;
    color: var(--muted);
}

[data-doc-count].done {
    color: var(--green);
    font-weight: 700;
}

.gs-pdf {
    margin-top: 12px;
    text-align: center;
}

.gs-pdf small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.gs-disclaimer {
    border-color: #fde68a;
}

/* v1.8 — category chips: everything visible on desktop (wrapping rows), swipe row only on phones/tablets */

@media (min-width: 768px) {
    .cat-rail,
    .gs-cats,
    .sub-rail {
        flex-wrap: wrap;
        overflow: visible;
    }
    .cat-rail a,
    .gs-cats a {
        white-space: nowrap;
    }
}

/* v1.8 — event detail */

.ev-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.ev-facts>div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.evf-ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--brand-50);
    color: var(--brand);
    flex: none;
}

.ev-facts small {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    font-weight: 700;
}

.ev-facts b {
    font-size: 14.5px;
    line-height: 1.3;
}

.ev-cal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px dashed var(--line);
    font-size: 14px;
    font-weight: 600;
}

.ev-cal>span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.ev-venue {
    overflow: hidden;
}

.ev-venue iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.ev-online {
    display: flex;
    gap: 14px;
    align-items: center;
}

.ev-host {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ev-host>div {
    flex: 1;
    min-width: 160px;
}

.ev-host small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.ev-host-logo img,
.ev-host-logo i {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 800;
    color: var(--brand);
}

[data-theme="dark"] .ev-facts>div {
    background: #111a2b;
}

/* v1.8 — contact page */

.ct-hero {
    padding: 36px 0 28px;
    text-align: center;
    background: radial-gradient(900px 260px at 15% -20%, var(--brand-50), transparent), radial-gradient(700px 240px at 90% 0%, var(--accent-50), transparent);
}

.ct-hero .breadcrumbs {
    justify-content: center;
}

.ct-hero h1 {
    font-size: clamp(1.9rem, 4.2vw, 2.8rem);
    margin: 8px 0 6px;
}

.ct-hero .lead {
    max-width: 640px;
    margin: 0 auto 22px;
}

.ct-quick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

.ct-q {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}

.ct-q:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--brand-100);
}

.ct-q b {
    display: block;
    font-size: 15px;
}

.ct-q small {
    color: var(--muted);
    font-size: 13px;
    word-break: break-all;
}

.ct-qi {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--brand-50);
    color: var(--brand);
}

.ch-wa .ct-qi {
    background: #dcfce7;
    color: #15803d;
}

.ch-mail .ct-qi {
    background: var(--accent-50);
    color: #c2410c;
}

.ch-ai .ct-qi {
    background: var(--violet-50);
    color: var(--violet);
}

.ct-main {
    padding-top: 12px;
}

.ct-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

@media (min-width: 992px) {
    .ct-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
    .ct-aside {
        position: sticky;
        top: calc(var(--header-h) + 16px);
    }
}

.ct-form-card {
    overflow: hidden;
}

.ct-form-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.ct-form-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    margin: 0 0 2px;
}

.ct-form-card form {
    padding: 22px 24px 24px;
}

.ct-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.ct-topic input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ct-topic span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: .15s;
}

.ct-topic:hover span {
    border-color: var(--brand-100);
    color: var(--brand);
}

.ct-topic input:checked+span {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.ct-topic input:focus-visible+span {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.ct-more summary {
    cursor: pointer;
    color: var(--brand);
    font-weight: 600;
    font-size: 14px;
}

.ct-more[open] summary {
    margin-bottom: 10px;
}

.ct-submit {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ct-map {
    width: 100%;
    height: 240px;
    border: 0;
    border-radius: 16px;
    display: block;
}

@media (max-width: 600px) {
    .ct-form-card form,
    .ct-form-head {
        padding-left: 16px;
        padding-right: 16px;
    }
    .ct-submit .btn {
        width: 100%;
    }
}

[data-theme="dark"] .ct-q,
[data-theme="dark"] .ct-topic span {
    background: #111a2b;
}

/* ==========================================================================
   v1.8 — app-like mobile (phones only; desktop untouched)
   ========================================================================== */

@media (max-width: 767px) {
    html {
        -webkit-tap-highlight-color: transparent;
    }
    body {
        overscroll-behavior-y: none;
    }
    .announce-bar .container {
        min-height: 38px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .announce-bar p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .announce-bar .ab-cta {
        padding: 3px 10px;
        font-size: 12.5px;
    }
    .page-hero {
        padding: 18px 0 16px !important;
    }
    .page-hero h1 {
        font-size: 1.55rem !important;
        margin-bottom: 4px;
    }
    .page-hero p {
        font-size: 14.5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .page-hero .btn {
        padding: 9px 16px;
        font-size: 14px;
    }
    .section {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .card,
    .bcard,
    .biz-card,
    .ilink,
    .cat-tile {
        border-radius: 16px;
    }
    a.card:active,
    .cat-tile:active,
    .ilink:active,
    .ct-q:active,
    .bottom-nav a:active,
    .btn:active {
        transform: scale(.97);
        transition: transform .08s;
    }
    .bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -6px 24px rgba(15, 23, 42, .08);
    }
    .bottom-nav a.active {
        position: relative;
    }
    .bottom-nav a.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 30%;
        right: 30%;
        height: 3px;
        border-radius: 0 0 4px 4px;
        background: var(--brand);
    }
    .grid-ad {
        margin: 0 -4px 14px;
    }
    .grid-ad-bottom {
        margin-top: 18px;
    }
    .ad-slot .label,
    .ad-slot>small {
        font-size: 10px;
    }
    .install-bar {
        border-radius: 18px;
    }
    .site-disclaimer {
        font-size: 12.5px;
    }
    .site-disclaimer .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .faq-help {
        text-align: center;
        justify-content: center;
    }
    .ct-hero {
        padding: 22px 0 18px;
    }
    .ct-hero .lead {
        font-size: 14.5px;
    }
    .ct-quick {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .ct-q {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }
    .ct-q small {
        font-size: 12px;
    }
}

@media (display-mode: standalone) and (max-width: 767px) {
    .site-header {
        padding-top: env(safe-area-inset-top);
    }
    .topbar,
    .install-bar {
        display: none !important;
    }
}

/* ── v1.8.1 mobile polish ── */

.kv>dt,
.kv>dd {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
    word-break: break-word;
}

.kv>dt {
    color: var(--muted);
    font-weight: 500;
    padding-right: 12px;
}

@media (max-width: 600px) {
    .kv {
        grid-template-columns: minmax(96px, 38%) 1fr;
    }
    .gs-dh {
        grid-template-columns: 1fr !important;
        display: grid;
        gap: 12px;
    }
    .gs-dh .gs-dh-ic {
        width: 52px;
        height: 52px;
    }
}

.profile-head .breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 99px;
    box-shadow: var(--shadow-sm);
}

.profile-head .breadcrumbs a,
.profile-head .breadcrumbs li {
    color: var(--ink-2);
}

[data-theme="dark"] .profile-head .breadcrumbs {
    background: rgba(15, 23, 42, .85);
}

[data-theme="dark"] .profile-head .breadcrumbs a,
[data-theme="dark"] .profile-head .breadcrumbs li {
    color: #e2e8f0;
}

.mz-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mz-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mz-stats .ico {
    display: inline-block;
}

/* new css */

.dis-box {
    border-top: 1px solid #6c757d6e;
    padding-top: 1.5rem;
    margin-top: 40px;
}

.dis-box p strong {
    color: yellow;
}

.eyebrow svg {
    display: none;
}

.sec-nav .container,
.hm-why-grid .btn-dark {
    max-width: 100%;
    width: 100%;
}

.sec-nav.products-nav .container {
    width: 100%;
    max-width: var(--container);
}

.sec-nav-track {
    justify-content: center;
}

.hm-follow a {
    flex: 1;
}

.car-track {
    align-items: stretch;
}

.car-track .tcard2 {
    height: auto;
}

/* ---------- Sticky CTA ---------- */

.sticky-cta {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 399;
    display: none;
}

.sticky-cta.show {
    display: block;
    animation: slideUp 0.4s ease;
}

.sticky-cta.show .btn-gradient,
.sticky-cta.show .spl-fix {
    background: #FF5722;
    color: #fff;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 30px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.bcard h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bcard p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sec-nav.about a {
    padding: 6px 8px;
}

.sec-nav.about .container {
    padding: 0 12px;
}

@media(min-width: 992px) and (max-width:1400px) {
    .sec-nav a,
    .sec-nav.about a {
        font-size: 10.8px;
        padding: 5px;
    }
}

.faq-row {
    display: grid;
    gap: 34px;
    align-items: center;
    grid-template-columns: 1fr 1.5fr;
}

.faq-row .faq-a {
    min-height: 95px;
}

.site-footer {
    margin-top: 0;
}

.profile-cover {
    border-radius: 14px;
}

.dark_blue.bread-crumb {
    background: linear-gradient(90deg, #0b1f4d, #12317a);
    color: #fff;
    padding: 25px 0;
    margin-bottom: 16px;
}

.dark_blue.bread-crumb .breadcrumbs {
    margin: 0 !important;
}

.dark_blue .breadcrumbs a,
.dark_blue .breadcrumbs li {
    color: #fff;
}

.biz-sec.card-pad .h-sm + .h-sm {
    margin: 30px 0 6px;
}

.grid-ad-top .container.ad-wrap,
.grid-ad-bottom .container.ad-wrap {
    margin-top: 0px;
    margin-bottom: 25px;
    padding: 0;
}

.story-sources a {
    display: inline-flex;
    align-items: baseline;
}

.story-sources a .ico {
    margin-left: 5px;
}

.founder-card .fc-logo {
    display: block;
}

.layout-sidebar.right .sec-nav-track {
    justify-content: start;
}

.business-lay .layout-sidebar,
.professional-lay .layout-sidebar {
    gap: 16px
}

.sec-nav a small,
.ct-topic svg,
.gs-cats a svg {
    display: none;
}

.post-narrow {
    max-width: var(--container);
}

.post-aside> :first-child {
    /* position: static; */
}

#filters .fgroup svg.ico {
    display: inline;
}

.nl-chip span {
    font-size: 12px;
}

.ad-top .ad-slider,
.ad-bottom .ad-slider,
.ad-top::before,
.ad-bottom::before,
.ad-mid::before {
    max-width: var(--container);
}

.faq-modern summary {
    justify-content: space-between;
}

.faq-row .faq-modern details>div {
    padding-left: 20px;
}

@media(min-width: 1181px) {
    .cat-jump a small,
    .cat-jump a svg,
    .cat-rail a small,
    .gs-cats a small {
        display: none;
    }
}

@media (max-width: 767px) {
    .hm-stats span {
        font-size: 9.5px;
        line-height: 1.2;
        margin-left: 0;
        text-align: center;
        margin-top: 5px;
    }
    .hm-stats>div {
        flex-direction: column
    }
    .hm-center .lead {
        font-size: 12px;
    }
    .hm-center h1 {
        font-size: clamp(1.1rem, 4.6vw, 3.3rem);
        max-width: 100%;
    }
    .hm-pill {
        font-size: 11px;
        padding: 3px 12px;
    }
    .hm-stats {
        margin: 15px 0 18px;
    }
    .btn {
        min-height: 34px;
    }
    .btn-lg {
        padding: 6px 12px;
        font-size: 13px;
    }
    .hm-joined {
        gap: 6px;
        font-size: 12px;
    }
    .sec-nav-track {
        justify-content: flex-start;
    }
    .hm-hero-grid {
        padding: 0 8px;
    }
    .hm-search {
        padding: 6px 6px 6px 10px;
        margin-top: 15px;
    }
    .hm-search input {
        min-height: 35px;
        font-size: 12px;
    }
    .sec-nav a{
        padding: 6px 8px;
    }
    .dchat-launch {
        width: 42px;
        height: 42px;
    }
    .fab-wa {
        z-index: 45;
        width: 36px;
        height: 36px;
    }
    .fab-wa svg{
        width: 22px;
    height: 22px;
    }
    body.has-chat .fab-wa {
        bottom: 118px;
        right: 6px;
    }
    .pi-t small{
        display: none;
    }
    .pi-t b {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.5;
    }
    .pi-list a{
        gap: 10px;
    }
    .pi-m{
        font-size: 10.5px;
    }
    .pillar-index h2 {
        margin: 0px 0 4px;
        font-size: 1.15rem;
        font-weight: 700;
    }
    .pillar-index{
        padding: 15px 15px;
        margin: 0 0 20px;
    }
    .dchat {
        right: 6px;
        bottom: 65px;
    }
    body.has-chat .to-top {
        bottom: 165px;
        right: 6px;
        width: 32px;
        height: 32px;
    }
    body.has-chat .to-top svg{
        width: 16px;
        height: 16px;
    }
    .hm-follow a {
        flex: auto;
    }
    .hm-follow a span small {
        display: none;
    }
    p {
        font-size: 13px;
    }
    .hm-search .btn {
        padding: 2px 18px;
    }
    .hm-hero {
        padding: 15px 0 25px;
    }
    .sec-nav a,
    .hm-follow a span,
    .hm-why-grid .btn-dark {
        font-size: 12.5px;
    }
    .hm-why-grid .btn-dark{
        height: 32px;
    }
    .hm-why h2 {
        font-size: clamp(1.2rem, 3vw, 2.3rem);
    }
    .hm-eyebrow {
        font-size: 10.5px;
        padding: 4px 8px;
    }
}

.topbar.hide-mobile .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.toc-tree .tn {
    margin-right: 5px;
}

.profile-actions {
    min-width: 315px;
}
.profile-actions .btn-icon{
    padding: 2px;
}
@media (max-width: 1180px) {
    .toc-card {
        display: none;
    }
    .sticky-cta {
        position: fixed;
        /* bottom: 9.2rem;
        left: -20%;
        transform: rotate(-90deg); */
        bottom: 3.8rem;
    }
    .sticky-cta.show .btn-gradient,
    .sticky-cta.show .spl-fix {
        font-size: 12px;
        display: none;
    }
    .sticky-cta a.btn{
        padding: 5px;
    }
}

.post-body summary svg {
    display: none
}

.post-body summary {
    font-weight: 800;
}

.post-body summary+p {
    padding-left: 5px;
}

.post-body h2 {
    margin-top: 1em;
}

.post-body h3 {
    margin-top: 0.7em;
}

.toc-card h4 {
    display: inline-flex;
    gap: 5px;
}
.modal{
    z-index: 401;
}

/* responsive homepage */

@media (max-width:767px) {
    #featured .grid-3,
    #popular .grid-3,
    #professional .grid-3,
    #stories .grid-3,
    #openings .grid-2,
    #case-studies .grid-3,
    .grid-4.hm-blogs,
    #events .hm-events,
    .mk-grid.four {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        padding: 0 0 26px;
        margin-bottom: -26px;
        display: flex;
    }
    #featured .grid-3>*,
    #popular .grid-3>*,
    #professional .grid-3>*,
    #stories .grid-3>*,
    #openings .grid-2>*,
    #case-studies .grid-3>*,
    .grid-4.hm-blogs>*,
    #events .hm-events>*,
    .mk-grid.four>* {
        flex-shrink: 0;
        margin: 0;
        opacity: 1;
        height: stretch;
        flex: 0 0 calc((100% - 10px) / 1.2);
    }
    #featured .grid-3::-webkit-scrollbar,
    #popular .grid-3::-webkit-scrollbar,
    #professional .grid-3::-webkit-scrollbar,
    #stories .grid-3::-webkit-scrollbar,
    #openings .grid-2::-webkit-scrollbar,
    #case-studies .grid-3::-webkit-scrollbar,
    .grid-4.hm-blogs::-webkit-scrollbar,
    #events .hm-events::-webkit-scrollbar,
    .mk-grid.four::-webkit-scrollbar {
        display: none;
    }
    .lcard-body {
        height: 100%;
    }
    .lcard p,
    .bcard p {
        font-size: 12px;
    }
    .ev-phase {
        font-size: 10.5px;
        padding: 4px 6px;
    }
    .badge {
        padding: 2px 6px;
        font-size: 10px;
    }
    .hm-ev-body small {
        font-size: 10px;
    }
    .small {
        font-size: 12px;
    }

    /* faqs sec */
    .faq-row {
        gap: 5px;
        grid-template-columns: auto;
    }
    .site-header .container {
        height: 55px;
    }
    .sec-nav, .results-bar, .list-bar, .sec-nav.in-page, .cat-jump {
        top: 55px;
    }
    /* auth card */
    .auth-card h1 {
        font-size: 1.1rem;  
    }
    .hint{
        font-size: 10.5px;
    }
    .auth-card .form-section h3 {
        font-size: 13.5px;
        margin-bottom: 10px;
    }
    .auth-card .form-grid{
        gap: 8px;
    }
    /* about page */
    .about-hero h1{
        font-size: clamp(1.3rem, 5vw, 3.3rem);
        margin-top: 3px;
        font-weight: 700;
    }
    .ah-stats b{
        font-size: clamp(0.8rem, 3.5vw, 2.2rem);
    }
    .ah-stats span {
        font-size: 10.5px;
    }
    .ah-stats>div {
        padding: 6px 15px;
        border-radius: 8px;
        line-height: normal;
    }
    .eyebrow.light {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 2px;
    }
    .about-hero{
        padding: 30px 0;
    }
    .about-hero .btn-lg {
        min-height: 28px;
        padding: 5px 12px;
        font-size: 12px;
    }
    .ah-grid{
        gap: 20px;
        margin-top: 8px;
    }
    .psec {
        padding: 30px 0;
    }
    .sec-head h2, .statement blockquote, .stat-cell b, .cta-band h2{
        font-size: clamp(1.2rem, 3.2vw, 2.4rem);
    }
    #benefits .prose.center-narrow p{
        text-align: center;
        font-size: 12px;
    }
    #benefits .feature-card p {
        font-size: 11px;
    }
    .cta-band{
        padding: 25px;
    }
    .sec-head{
        margin-bottom: 10px;
    }
    .lead{
        font-size: 15px;
    }
    .tick-list li{
        font-size: 13px;
        gap: 7px
    }
    .tst-score>b {
        font-size: 22px;
    }
    .tst-score small{
        font-size: 10px;
    }
    .faq-row .faq-a, .cta-points li{
        font-size: 12px;
    }
    .psec-split{
        gap: 20px;
    }
    .tick-list {
        margin: 12px 0 0;
        gap: 3px;
    }
    .cta-points{
        gap: 3px 18px;
    }
    .feature-card{
        padding: 15px;
    }
    .fc-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }
    .fc-icon svg{
        width: 20px;
        height: 20px;
    } 
    .feature-card h3, .tile h3 {
        font-size: 14px;
    }
    .feature-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .btn{
        padding: 6px 14px;
        min-height: 30px;
        font-size: 12.5px;
    }
    .feature-card p, .tile p, .check-card p, .steps-flow p, .stat-cell>span:last-child, .tl-card p{
        font-size: 12px;
    }
    .steps-flow li{
        padding: 16px 20px;
    }
    .tl-card, .faq summary{
        padding: 8px 20px;
    }
    .fa-ic{
        display: none;
    }
     .sf-num, .tl-dot {
        width: 38px;
        height: 38px;
    }
    .ticker-label, .footer-seo a {
        font-size: 11px;
    }
    .faq-tabs-sec{
        padding-top: 0;
    }
    .faq-tablist-wrap{
        border-bottom: none;
    }
    /* footer */
    .footer-grid2{
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-brand, .footer-news {
        grid-column: 1 / -1;
    }
    .footer-links{
        gap: 5px;
        font-size: 12px;
    }
    body.has-bottom-nav {
        padding-bottom: 56px;
    }
    /* breadcrumb */
    .page-hero h1 {
        font-size: 1.35rem !important;
        margin-bottom: 4px;
    }
    .page-hero p {
        font-size: 13px;
        line-height: 1.5;
    }
    .page-hero .btn{
        padding: 6px 12px;
        font-size: 13px;
    }
    .breadcrumbs{
        margin-bottom: 6px;
    }
    /* business card */
    .lcard h3 {
        font-size: 13.5px;
    }
    .lcard .meta {
        gap: 1px 5px;
        font-size: 12px;
        margin: 4px 0 5px;
    }
    .lcard-foot {
        gap: 5px;
        padding-top: 12px;
        margin-top: 0;
    }
    .lcard-foot span{
        font-size: 12px !important;
    }
    .lcard-body {
        padding: 0 18px 12px;
    }
    .pagination a, .pagination span {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
    }
    .ad-bottom {
        margin: 12px 0 12px;
    }
    /* business detail */
    .profile-head h1{
        font-size: clamp(1.2rem, 3vw, 2.1rem);
    }
    .profile-logo {
        width: 85px;
        height: 85px;
        border-radius: 12px;
    }
    .profile-actions{
        margin-left: 0;
    }
    .profile-head .meta {
        gap: 2px 16px;
        font-size: 13px;
        margin-top: 11px;
    }
    .key-facts b {
        font-size: 12.5px;
        line-height: 1.5;
        display: inline-block;
    }
    #enquiry .card-title {
        font-size: 15px;
    }
    .input, .select, .textarea, input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=date], input[type=datetime-local], input[type=month], input[type=search], select, textarea{
        font-size: 13px;
    }
    .phone-field .cc {
        max-width: 100px;
        padding-left: 10px;
        font-size: 12px;
    }
    .check, .breadcrumbs {
        font-size: 12px;
    }
    .site-footer{
        padding-top: 35px;
    }
    .hours td{
        font-size: 13px;
    }
    .dark_blue.bread-crumb{
        padding: 20px 0;
    }
    #enquiry .captcha{
        margin-top: 15px !important;
    }
    /* professionals */
    .profile-head p{
        font-size: 13px !important;
    }
    .professional-lay .card-pad p{
        font-size: 14px !important;
    }
    .professional-lay .card-pad .prose p{
        font-size: 13px !important;
        margin: revert;
    }
    .professional-lay .card-title{
        font-size: 16px !important;
    }
    .pill-list li {
        padding: 4px 10px;
        font-size: 11.5px;
    }
    .related-jobs h2 {
        gap: 5px;
        font-size: 1.1rem;
    }
    /* categories */
    .cat-sec-head h2 {
        font-size: clamp(1.1rem, 2.6vw, 1.7rem);
    }
    .cat-jump a {
        gap: 4px;
        padding: 5px 12px;
        font-size: 12px;
    }
    .cat-card h3{
        font-size: 1rem;
    }
    .chip {
        padding: 4px 8px;
        font-size: 11px;
    }
    .cat-icon {
        width: 38px;
        height: 38px;
    }
    .cat-icon svg{
        width: 18px;
        height: 18px;
    }
    .cat-tiles {
        grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    }
    .pd-quick span{
        font-size: 10.5px;
    }
    .pd-quick b, .pd-sec .prose li {
        font-size: 13px;
    }
    .pd-sec>h2 {
        font-size: 1.15rem;
        margin: 0 0 12px;
    }
    .pd-sec .prose h2 {
        font-size: 1.11rem;
        margin: 1em 0 .6em;
    }
    .pd-sec .h-sm {
        font-size: 13px;
        letter-spacing: .03em;
        margin: 20px 3px 3px;
    }
    .sc-head>img, .sc-head>picture>img, .sc-head>i {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 16px;
    }
    .seller-card {
        padding: 12px 20px;
        gap: 8px;
    }
    .pd-avail{
        font-size: 11.5px;
    }
    .ct-t b, .sc-facts {
        font-size: 12.5px;
    }
    .cat-tile>.ico:last-child{
        display: none;
    }

    /* marketplace */
    .mk-hero h1, .gs-hero h1, .gs-dh h1 {
        font-size: clamp(1.3rem, 4vw, 2.7rem);
        margin: 0px 0 8px;
        font-weight: 700;
    }
    .gs-search input{
        min-height: 32px;
    }
    .gs-stats {
        gap: 8px 20px;
        font-size: 12px;
    }
    .mk-hero .lead, .gs-dh .lead, .gs-benefits p, .gs-who, .gs-check label, .gs-who li, .gs-mistakes li {
        font-size: 13px;
    }
    .gs-big{
        font-size: 1.1rem;
    }
    .share {
        margin: 9px 0 0;
    }
    .sec-nav{
        padding: 0 6px;
    }
    .gs-steps span {
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        font-weight: 600;
        font-size: 13px;
    }
    .gs-steps li:not(:last-child)::before{
        left: 12px;
    }
    div#who{
        margin-top: 12px;
    }
    .gs-finder-ic {
        display: none;
    }
    .gs-finder>span:not(.btn):not(.gs-finder-ic) {
        font-size: 12px;
    }
    .type-card small{
        font-size: 10px;
    }
    .auth-card p{
        font-size: 11px;
        margin-bottom: 0;
    }
    .type-card{
        padding: 10px 16px;
        border: 1px solid var(--line);
    }
    .auth-card .field>label, .label {
        font-size: 11.5px;
    }
    .type-card b{
        font-size: 13px;
    }
    .auth-card .mb-4{
        margin-bottom: 12px !important;
    }

    /* event */
    .hero h1{
        font-size: clamp(1.3rem, 3.6vw, 2.6rem) !important;
    }
    .hero p.lead, .info-list li{
        font-size: 13px;
    }
    .ev-facts b {
        font-size: 12.5px;
    }
    .reg-state-row .reg-badge{
        font-size: 12px;
    }
    .ev-venue iframe {
        height: 150px;
    }
    .hm-gov-chips {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    /* magazine */
    .hm-covers {
        min-height: auto;
    }
    /* marketplace */
    .mcard-hl span {
        font-size: 10px;
        padding: 3px 4px;
        line-height: 1.3;
    }
    /* jobs */
    #openings article.card.card-hover.rcard {
        flex-direction: column;
    }
    #openings .rcard-side {
        margin-left: 0;
        text-align: left;
        flex-direction: row;
    }
    .mcard h3 a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .mcard-price b,
    .tcard2 blockquote {
        font-size: 12.5px;
    }
    .mcard h3, .tl-card h3, .steps-flow h3 {
        font-size: 14px;
    }
    .mcard-price {
        display: flex;
        gap: 6px;
    }
    .mcard-act {
        justify-content: space-between;
        width: 100%;
        margin-left: 0;
    }
    .mcard-act>* {
        min-height: 28px;
    }
    .mcard-act .btn-sm {
        padding: 4px 12px;
        font-size: 12px;
    }
    .mb,
    .mcard-kind {
        font-size: 9.5px;
    }
    .results-bar select, .list-bar select {
        min-height: 30px;
        font-size: 11.5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .section-head h2{
        font-size: clamp(1rem, 2.5vw, 1.9rem);
    }
    .section-head .btn{
        padding: 4px 8px;
        min-height: 30px;
        font-size: 11.5px;
    }
    /* blog */
    .blog-hero h1 {
        font-size: clamp(1rem, 7vw, 2rem) !important;
        margin-top: 2px;
    }
    .blog-hero .eyebrow{
        margin-bottom: 3px;
    }
    .nl-band h2 {
        margin: 0 0 6px;
    }
    .bside-pop b{
        font-size: 12px;
    }
    .bside-cats a {
        padding: 4px 10px;
        font-size: 12px;
    }
    .bf-mini b, .blog-hero .lead{
        font-size: 13.5px;
    }
    .bh-search input[type]{
        padding: 5px;
    }
    .bcard h3 {
        font-size: 15.5px;
    }
    .blog-hero{
        padding: 25px 0;
    }
    .bcard-cat, .bf-mini small{
        font-size: 9px;
    }
    .cat-rail a {
        padding: 5px 10px;
        font-size: 12px;
    }
    .h-sm {
        font-size: 13px;
        letter-spacing: .03em;
        margin: 0 0 3px;
    }
    .bcard-author time {
        font-size: 10px;
    }
    .bcard-author b, .post-meta {
        font-size: 12px;
    }
    /* blog detail */
    .post-hero h1 {
        font-size: clamp(1.3rem, 4.4vw, 3rem);
        line-height: 1.38;
    }
    .post-dek {
        font-size: 13.5px;
        margin: 0 0 12px;
    }
    .post-layout {
        padding-top: 20px;
        padding-bottom: 25px;
    }
    .post-hero {
        padding: 26px 0 20px
    }
    .post-body h2 {
        margin-top: 13px;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.3;
    }
    .cta-band h2{
        font-weight: 700;
    }
    .ilinks h2{
        font-size: 1.1rem;
    }
    .il-ic {
        width: 32px;
        height: 32px;
    }
    .post-body li, .il-t b, .pn b{
        font-size: 13px;
    }
    .post-tags{
        margin-top: 10px;
    }
    .post-tags a {
    padding: 4px 8px;
    font-size: 11px;
    }
    .post-faqs h2{
        font-size: 1.2rem;
    }
    .post-faqs {
        margin-top: 30px;
    }
    .author-box{
        padding: 10px;
        align-items: center;
    }
    .author-box>i{
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .author-box small {
        font-size: 10px;
    }
    .author-box h3{
        font-size: 16px;
    }
    /* requirements */
    .card.card-pad h1, .legal-hero h1, .pd-info h1{
        font-size: 1.3rem !important;
    }
    .pd-info p, .pd-info li{
        font-size: 13px;
    }
    .card.card-pad dl dt, .pd-seller-line{
       font-size: 13px; 
    }
    .card.card-pad .prose, .checklist li{
        font-size: 13px;
    }
    .pd-price {
        padding: 10px 18px;
        gap: 2px;
        box-shadow: var(--shadow-sm);
    }
    .pd-price b {
        font-size: 19px;
    }
    /* jobs */
    .layout-sidebar .rcard, .related-jobs .rcard{
        flex-direction: column;
    }
    .layout-sidebar .rcard .meta, .faq-modern details > div, .lh-meta{
        font-size: 12px;
    }
    .lh-ic {
        width: 56px;
        height: 56px;
    }
    .mk-kinds a {
        gap: 6px;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 13px;
    }
    #products .list-bar p{
        width: 44%;
        display: inline-flex;
        gap: 8px;
        align-items: center;
    }
    .profile-cover{
        height: 145px;
    }
    .layout-sidebar h3.h-sm{
        font-size: 13px !important;
        letter-spacing: .03em;
        margin: 15px 3px 5px;
    }
    .layout-sidebar h2, .layout-sidebar h3{
        font-size: 1rem !important;
    }
    .key-facts div{
        padding: 7px 14px;
    }
    .rcard-side{
        margin-left: 0;
        flex-direction: row;
        justify-content: space-between;
    }
}
/* tablet */
@media (min-width: 768px) and (max-width: 1180px){
    .profile-head h1{
        font-size: clamp(1.1rem, 3vw, 2.1rem);
    }
    .profile-actions .btn {
        gap: 5px;
        padding: 10px 12px;
        font-size: 12.5px;
    }
    .profile-actions {
        min-width: 210px;
    }
}
#register p.small.muted{
    display: inline-flex;
    gap: 5px;
    align-items: center;
}
.hm-pill svg, .ticker-label svg, .hm-eyebrow svg, .hm-link-light svg, 
.mcard-kind svg, .hm-case-tag svg, .card h2 svg, .gs-benefits svg, .gs-h svg, .scard-benefit svg, 
.scard-min svg, .cat-sec-head .cs-ic, .bside-h svg, .h-sm svg, .hm-spot small svg{
  display: none;
}
.cat-sec{
  padding: 40px 0;
}
.cat-sec .ad-wrap{
  padding: 0;
}
.cat-sec .ad-wrap + .grid.grid-3{
  margin-top: 30px;
}
.cat-sec .ad-bottom{
  margin: 0;
}
.about-hero .btn-ghost-light:hover{
  color: #fff;
}
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
.btn:focus,
.btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
#what-we-do, #ecosystem, #building{
  background: radial-gradient(1200px 400px at 10% 0%, var(--brand-50), transparent 60%), radial-gradient(900px 300px at 100% 100%, var(--accent-50), transparent 60%);
}
.full.field{
  grid-column: 1 / -1;
}
#products {
  padding: 15px 0;
}
.form-flex{
  gap: 15px;
  display: flex;
  flex-direction: column;
}
#enquiry .form-grid{
  display: block;
}
.captcha > *{
  max-width: 280px;
}
#register p .small.muted.mb-2{
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hm-ev img{
    object-position: left;
}
#enquiry .field{
    margin: 0 0 7px;
}
#enquiry .captcha{
    transform: scale(0.95);
    transform-origin: left top;
}
#enquiry .captcha div{
    width: 280px !important;
}
.type-seg label{
    justify-content: center;
}
.captcha {
    margin: 10px 0 0;
}
.hm-hero{
    background: none;
}
.hm-top-ad .grid-ad-top .container.ad-wrap{
    padding: 26px 24px 0;
    margin: 0 auto;
}
.hm-top-ad .ad-slide img{
    aspect-ratio: 8 / 1;
}
.hm-top-ad .ad-top::before, .theme-toggle{
    display: none;
}
@media (max-width: 767px){
    .hm-top-ad .ad-slide img {
        aspect-ratio: 4 / 1;
    }
    .hm-top-ad .grid-ad-top .container.ad-wrap{
        padding: 15px 12px 0;
        margin: 0;
    }
    .hm-top-ad .grid-ad {
        margin: 0;
    }
    /* two column add */
    .hm-hero-grid {
        padding: 0 8px;
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        margin: 0;
        gap: 22px 10px;
    }
    .hm-center{
        grid-column: 1 / -1;
        padding: 0;
    }
    .hm-side {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .hm-side .ad-slot{
        display: block;
    }
    .ad-slot.ad-hero_left .ad-slide img, .ad-slot.ad-hero_right .ad-slide img {
        max-height: 240px;
        object-fit: contain;
    }
    .hm-side .hm-spot picture, .hm-side .hm-quick .hq-ic, .hm-spot small, .steps-flow h3 svg{
        display: none;
    }
    .hm-quick small, .hm-spot em {
        font-size: 11px;
    }
    .hm-quick b, .hm-spot b {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .hm-spot, .hm-quick{
        height: 100%;
        min-height: 90px;
        box-sizing: border-box;
        min-width: 0;
    }
    .menu-toggle {
        padding: 0;
    }
    .hm-gov h2, .hm-mag h2, .tst-head h2, .hm-cta-band h2, .lp-hero h1, .md-info h2{
        font-size: clamp(1rem, 2.5vw, 1.9rem)
    }
    .city-tile b {
        font-size: 14px;
        line-height: 1;
    }
    .lp-hero h1{
        font-weight: 700;
    }
    .city-tile small {
        font-size: 11px;
    }
    .hm-case h3 {
        font-size: 0.98rem;
    }
    .ad-slot.ad-hero_left .ad-slide,
.ad-slot.ad-hero_right .ad-slide {
    width: 100%;
}

.ad-slot.ad-hero_left .ad-slide a,
.ad-slot.ad-hero_right .ad-slide a {
    display: block;
    width: 100%;
}

.ad-slot.ad-hero_left .ad-slide picture,
.ad-slot.ad-hero_right .ad-slide picture {
    display: block;
    width: 100%;
}

.ad-slot.ad-hero_left .ad-slide img,
.ad-slot.ad-hero_right .ad-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
}
.ad-hero_left .ad-slide img, .ad-hero_right .ad-slide img {
    aspect-ratio: 2 / 3;
}
.hm-case-link, .faq details>div, .lp-hero .lead{
    font-size: 12px;
}
.lp-hero{
    padding: 45px 0;
}
.rv.in .fc-icon{
    margin-bottom: 10px;
}
.page-flow>.sc-wide{
    margin: 0;
}
.scw-events .ecard{
    height: auto;
}
#lp-body .page-flow>h2 {
    margin: 18px 0 10px;
    font-size: 1.3rem;
}
.hm-cta-band .nl-chip span{
    font-size: 10px;
}
.faq summary{
    font-size: 14px;
}
.tcard2 figcaption b, .md-lead{    
    font-size: 13.5px;
}
.md-hl div {
    padding: 8px 14px;
}
.md-hl dt {
    font-size: 10px;
}
.md-hl dd {
    margin: 2px 0 0;
    font-size: 13px;
}
.md-info .btn-ghost{
    padding: 6px 4px;
}
.md-cta h2 {
    font-size: clamp(1.2rem, 2.8vw, 1.8rem);
    font-weight: 700;
}
.faq-row .faq-a {
    min-height: auto;
}
.tcard2 figcaption small {
    font-size: 11.5px;
}
.psec .prose li, .md-inside li, .md-perks li{
    font-size: 13px;
}
.timeline::before {
    left: 14px;
    top: 8px;
    bottom: 8px;
    width: 1px;
}
.tl-dot {
        width: 32px;
        height: 32px;
    }
    .drawer-body a{
        font-size: 12px;
    }
    .profile-head .meta span{
        flex-wrap: wrap;
    }
    .blog-hero h1{
        font-size: 1.4rem !important;
    }
.svc-orbit span{
    width: 45px;
    height: 45px;
}
/* pricing page */
.cycle-tabs button{
    padding: 8px 10px;
    flex-shrink: 0;
    font-size: 13px;
}
.cycle-tabs, .faq-popular {
    flex-wrap: nowrap;
    justify-content: start;
    overflow-x: auto;
    width: 100%;
}
.cycle-tabs::-webkit-scrollbar, .faq-popular::-webkit-scrollbar{
    display: none;
}
.plan .price{
    font-size: 22px;
}
.plan h3{
    font-size: 1rem;
}
.plan ul{
    font-size: 13px;
    gap: 5px;
}
.ct-hero .lead, .ct-more summary, .faq-hero .lead, .promo-pop .pp-text{
    font-size: 13px;
}
.section-head{
    margin-bottom: 20px;
    flex-wrap: nowrap;
    align-items: center;
}
h2.center, .ct-form-head h2{
    font-size: 1.2rem;
}
#eligibility .prose h3 {
    font-size: 0.98rem;
}
.ct-hero h1, .faq-hero h1, .faq-help h2{
    font-size: 1.5rem;
    margin: 0 0 6px;
    font-weight: 700;
}
.faq-search input{
    padding: 0;
}
.faq-search input[type=search]{
    min-height: 32px;
}
.faq-help-actions{
    gap: 8px;
}
.faq-help-actions .btn {
    padding: 6px 6px;
    min-height: 30px;
    font-size: 12px;
    gap: 4px;
}
.promo-pop .pp-body h2, .nl-band h2 {
    font-size: 1.25rem;
}
.faq-popular a {
    font-size: 11px;
    padding: 4px 8px;
    flex-shrink: 0;
}
.pm-author img, .pm-author i {
    width: 35px;
    height: 35px;
}
.ct-submit .xs, .promo-pop .pp-eyebrow {
    font-size: 11px;
}
.ct-q b{
    font-size: 14px;
}
.ct-topic span{
    padding: 5px 8px;
    font-size: 12px;
}
.dis-box, .footer-bottom{
    margin-top: 25px;
}
.hm-spot img{
    display: none;
}
.story-hero h1{
    font-size: clamp(1.2rem, 3.6vw, 2.6rem);
    font-weight: 600;
    margin-top: 8px;
}
.sh-dek {
    font-size: 13px;
}
.sh-meta{
    font-size: 12px;
}
.story-hero{
    padding-bottom: 0;
    border-bottom: none;
}
.sh-cover{
    aspect-ratio: auto;
}
.sh-format{
    padding-left: 0;
}
.sh-founder b{
    font-size: 14px;
}
}
.steps-flow h3 svg{
    display: none;
}
@media (min-width: 1181px){
    .psec-media.rv.in {
        position: sticky;
        top: 87px;
        padding-top: 50px;
    }
    .psec-split{
        align-items: flex-start;
    }
    .pd-gallery{
        position: sticky !important;
        top: 90px;
    }
}
.btn-center{
    text-align: center;
}